瀏覽代碼

技能博物馆-报废

jbb 2 年之前
父節點
當前提交
8b70d3c82e
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      src/views/activiti/form/demoForm2.vue

+ 13 - 0
src/views/activiti/form/demoForm2.vue

@@ -620,6 +620,10 @@ export default {
                                 //技能博物馆-任务--默认当前登陆人部门
                                if(that.processData.businessTable == 'task_management'){
                                        that.$refs.KFB.setData({initiate_department:jnDeparment}) 
+                                }
+                                 //技能博物馆-固定资产-报废
+                               if(that.processData.businessTable == 'scrap_apply'){
+                                       that.$refs.KFB.setData({apply_personnel_department:jnDeparment}) 
                                 }
                                   },0)
                                   annualLeave({username:that.$store.getters.userInfo.username}).then(res => {
@@ -843,6 +847,15 @@ export default {
               })
         }
 
+          //技能博物馆-固定资产-报废
+        if(key == 'apply_personnel' &&this.processData.businessTable == 'scrap_apply'){
+             this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({apply_personnel_department:item.departIds_dictText}) 
+                  }
+              })
+        }
+
         //技能博物馆 ----资金审批    
         if(key == 'project_name' && this.processData.businessTable == 'bwg_capital_approval'){
             this.dynamicData.fundApproval.map(item =>{