Browse Source

技能博物馆-报废

jbb 2 years ago
parent
commit
8b70d3c82e
1 changed files with 13 additions and 0 deletions
  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 =>{