فهرست منبع

用车申请,刻章申请,用章申请

jbb 2 سال پیش
والد
کامیت
99104c1149
2فایلهای تغییر یافته به همراه35 افزوده شده و 3 حذف شده
  1. 1 0
      src/views/activiti/form/carSqModal.vue
  2. 34 3
      src/views/activiti/form/demoForm2.vue

+ 1 - 0
src/views/activiti/form/carSqModal.vue

@@ -172,6 +172,7 @@ export default {
         }else{
             var data ={
               car_arrange : this.selectedRows[0].number,
+              car_type:this.selectedRows[0].carType
            }
           this.$emit('close',data)
           this.close()

+ 34 - 3
src/views/activiti/form/demoForm2.vue

@@ -214,6 +214,8 @@ export default {
         if (!this.processData.businessTable) {
             this.processData.businessTable = this.processData.tableName
         }
+        // console.log( this.processData.businessTable)
+        // debugger
         this.getAction('/tbTableInfo/query', {
             businessTable: this.processData.businessTable,
             taskNodeId: this.processData.key,
@@ -743,7 +745,7 @@ export default {
                                 }
                                 //技能博物馆-物料申领
                                if(that.processData.businessTable == 'application_form'){
-                                       that.$refs.KFB.setData({create_create_name:jnDeparment}) 
+                                       that.$refs.KFB.setData({create_department:jnDeparment}) 
                                 }
                                 //技能博物馆-资产处理
                                if(that.processData.businessTable == 'add_assets_a'){
@@ -753,8 +755,13 @@ export default {
                                 if(that.processData.businessTable == 'car_apply'){
                                    that.$refs.KFB.setData({create_department:jnDeparment}) 
                                     }
-                                      // 技能博物馆---章申请-创建部门
+                                      // 技能博物馆---章申请-创建部门
                                 if(that.processData.businessTable == 'bwg_seal_apply'){
+                                   that.$refs.KFB.setData({create_department:jnDeparment}) 
+                                    }
+
+                                         // 技能博物馆---刻章申请-创建部门
+                                if(that.processData.businessTable == 'bwg_engrave_apply'){
                                    that.$refs.KFB.setData({create_department:jnDeparment}) 
                                     }
                                 //技能博物馆-任务--默认当前登陆人部门
@@ -790,7 +797,7 @@ export default {
                                 //       }) 
                                 //     }
                                 //   }
-                              },200)
+                              },500)
                               
                            }
         },
@@ -1066,6 +1073,30 @@ export default {
                   }
               })
          }
+         //技能博物馆-刻制印章申请-申请部门
+         if(key == 'application' &&this.processData.businessTable == 'bwg_engrave_apply'){
+           this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({application_department:item.departIds_dictText}) 
+                  }
+              })
+         }
+         //技能博物馆-刻制印章申请-保管部门
+         if(key == 'seal_keeper' &&this.processData.businessTable == 'bwg_engrave_apply'){
+           this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({custody_department:item.departIds_dictText}) 
+                  }
+              })
+         }
+         //技能博物馆-用章申请-申请部门
+         if(key == 'applicant' &&this.processData.businessTable == 'bwg_seal_apply'){
+           this.dynamicData.personListJn.map(item =>{
+                  if(item.label == value){
+                      this.$refs.KFB.setData({department_department:item.departIds_dictText}) 
+                  }
+              })
+         }
 
          // 技能博物馆---固定资产--归还
         if(key == 'uuse_personnel' && this.processData.businessTable == 'give_back'){