jbb 2 år sedan
förälder
incheckning
cbd032662d
1 ändrade filer med 13 tillägg och 0 borttagningar
  1. 13 0
      src/views/activiti/form/demoForm2.vue

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

@@ -745,6 +745,10 @@ export default {
                                if(that.processData.businessTable == 'application_form'){
                                        that.$refs.KFB.setData({create_create_name:jnDeparment}) 
                                 }
+                                //技能博物馆-资产处理
+                               if(that.processData.businessTable == 'add_assets_a'){
+                                       that.$refs.KFB.setData({create_department:jnDeparment}) 
+                                 }
                                  // 技能博物馆---用车申请-创建部门
                                 if(that.processData.businessTable == 'car_apply'){
                                    that.$refs.KFB.setData({create_department:jnDeparment}) 
@@ -1050,6 +1054,15 @@ export default {
               })
         }
 
+         //技能博物馆-资产处理
+         if(key == 'managers' &&this.processData.businessTable == 'add_assets_a'){
+           this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({managers_department:item.departIds_dictText}) 
+                  }
+              })
+         }
+
          // 技能博物馆---固定资产--归还
         if(key == 'uuse_personnel' && this.processData.businessTable == 'give_back'){
             this.dynamicData.personListJn.map(item =>{