Преглед на файлове

技能博物馆------离职录入

jbb преди 2 години
родител
ревизия
102f5411c2
променени са 1 файла, в които са добавени 12 реда и са изтрити 1 реда
  1. 12 1
      src/views/activiti/form/demoForm2.vue

+ 12 - 1
src/views/activiti/form/demoForm2.vue

@@ -733,6 +733,17 @@ export default {
               })
             // this.$refs.KFB.setData({employee_number:this.postInfo[value]})   
           }
+          //技能博物馆-----离职录入
+          if(key == 'name' && this.processData.businessTable == 'bwg_quit_input'){//技能博物馆 ---- 退休录入
+              this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({employee_number:item.workNo}) 
+                      this.$refs.KFB.setData({post:item.post}) 
+                      this.$refs.KFB.setData({rz_date:item.nInductionTim}) 
+                  }
+              }) 
+          }
+          
          //技能博物馆 ---- 全馆值班 (根据登录姓名带出其他字段的值)
          if(this.processData.businessTable == 'bwg_house_duty'){
                 var that = this
@@ -745,7 +756,7 @@ export default {
                       that.$refs.KFB.setData({mobile_telephone:item.phone}) 
                      }
                    })
-                 },200)
+                 },500)
          }
 
          //技能博物馆 ----- 费用报销