From d30089f9dd63f5f844433c5414b471f2676eec3a Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 02 八月 2023 16:05:56 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) 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