From 5f94dee5c55a03c4b9d3d6cc2f41abfd102e7303 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 02 八月 2023 15:54:48 +0800 Subject: [PATCH] 主数据无流程模板调用状态接口 --- Source/UBCS-WEB/src/components/Master/MasterTransfer.vue | 1 + Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 16 ++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue b/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue index cdb319c..b803ae6 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue @@ -78,6 +78,7 @@ key: index, }); }); + console.log(this.data) //excel琛ㄦ牸鏁版嵁杞崲 this.option.column[0].children=newval.map(obj => { return { diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue index dadf546..61fbfc8 100644 --- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue @@ -397,12 +397,16 @@ cancelButtonText: '鍙栨秷', type: 'warning' }).then(() => { - this.userName = localStorage.getItem("username"); - this.parameter.template = this.userName + "-鍙戝竷" + "[鐗╁搧]"; - this.parameter.type = 'PUBLIC' - this.title = '娴佺▼瀹℃壒' - this.visibleFlow = true; - this.onLoad() + const index = this.$route.query.id.indexOf('@'); + const result = this.$route.query.id.substring(0, index); + console.log(this.$route.query) + const oid = this.selectRow.map(obj => obj.oid).join(","); + changeStatus({ oid: oid, btmname: result, lcStatus: 'Released' }).then(res => { + if(res.data.code == 200 ){ + this.$message.success('鍙戝竷鎴愬姛') + this.onLoad() + } + }); }).catch(() => { this.$message({ type: 'info', -- Gitblit v1.9.3