From 3572b62c00628d51db091f90287fa2f186b5d2eb Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 03 八月 2023 16:33:32 +0800
Subject: [PATCH] 修改启动流程传参
---
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 7 ++++++-
Source/UBCS-WEB/src/components/template/SetPersonnel.vue | 5 ++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index fa8e39b..0d1b640 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -192,6 +192,7 @@
//鍙戝竷
parameter: {
ids: [],
+ btmtype:'',
code: "",
type: '',
// this.visibleDeactivate ?'ENABLE':this.visibleEnable ? 'DISABLE' :this.visibleRecovery ? 'ROLLBACK' :'PUBLIC'
@@ -442,7 +443,8 @@
this.userName = localStorage.getItem("username");
this.parameter.template = this.userName + '-鐢宠[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
this.parameter.type = 'PUBLIC';
- this.parameter.code = this.templateOid
+ this.parameter.code = this.templateOid;
+ this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
this.title = '娴佺▼瀹℃壒'
this.visibleFlow = true;
} else {
@@ -493,6 +495,7 @@
this.parameter.template = this.userName + '-鍋滅敤[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
this.parameter.type = 'DISABLE';
this.parameter.code = this.templateOid
+ this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
this.title = '鍋滅敤锛堝喕缁擄級缂栫爜鏁版嵁'
this.visibleDeactivate = true;
} else {
@@ -544,6 +547,7 @@
this.parameter.template = this.userName + '-鍚敤[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
this.parameter.type = 'Released';
this.parameter.code = this.templateOid
+ this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
this.title = '鍚敤缂栫爜鏁版嵁'
this.visibleDeactivate = true;
} else {
@@ -601,6 +605,7 @@
this.parameter.template = this.userName + '-鍥炴敹[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
this.parameter.type = 'TakeBack';
this.parameter.code = this.templateOid
+ this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
this.title = '鍥炴敹缂栫爜鏁版嵁'
this.visibleDeactivate = true;
} else {
diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
index 29cec50..aa68524 100644
--- a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
+++ b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -66,7 +66,8 @@
ids: 'ids',
flowTemplate: 'flowTemplate',
code: 'code',
- type: 'type'
+ type: 'type',
+ btmtype:'btmtype'
}
}
}
@@ -127,6 +128,8 @@
processName: this.parameter[this.parameterKeys.flowTemplate],
topName: this.title,
ids: this.parameter[this.parameterKeys.ids],
+ oids: this.parameter[this.parameterKeys.ids],
+ btmtype:this.parameter[this.parameterKeys.btmtype],
vars:this.parameter['vars']
}
},
--
Gitblit v1.9.3