From 8c18e34f84b136a5075edd4d934eb9daa2e24655 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080> Date: Tue, 15 Nov 2022 11:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A1=E6=A0=B8=E4=BA=BA?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=97=AE=E9=A2=98=E6=98=BE=E7=A4=BA=E9=83=A8?= =?UTF-8?q?=E9=97=A81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activiti/PSelectBizComponentModal.vue | 6 +++--- src/views/activiti/ProcessModelList.vue | 20 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/activiti/PSelectBizComponentModal.vue b/src/views/activiti/PSelectBizComponentModal.vue index 15e86e4..44cac95 100644 --- a/src/views/activiti/PSelectBizComponentModal.vue +++ b/src/views/activiti/PSelectBizComponentModal.vue @@ -272,7 +272,7 @@ export default { }, // 根据选择的id来查询用户信息 initQueryUserByDepId(selectedDepIds) { - // this.loading = true + this.loading = true return queryUserByDepId({id: selectedDepIds.toString()}).then((res) => { // console.log("initQueryUserByDepId",res) if (res.success) { @@ -280,13 +280,13 @@ export default { this.ipagination.total = res.result.length; } }).finally(() => { - // this.loading = false + this.loading = false }) }, queryDepartTree() { queryDepartTreeList().then((res) => { - console.log("234q32423",res) + // console.log("234q32423",res) if (res.success) { this.departTree = res.result; // 默认展开父节点 diff --git a/src/views/activiti/ProcessModelList.vue b/src/views/activiti/ProcessModelList.vue index 39e8924..745275a 100644 --- a/src/views/activiti/ProcessModelList.vue +++ b/src/views/activiti/ProcessModelList.vue @@ -629,16 +629,16 @@ if (!err) { let formData = Object.assign(this.editObj, values) console.log("formData",formData) - // this.confirmLoading = true; - // this.postFormAction(this.url.updateInfo,formData).then(res => { - // if (res.success) { - // _this.$message.success("操作成功"); - // _this.loadData(); - // _this.editObj.visible = false; - // }else { - // _this.$message.error(res.message); - // } - // }).finally(() => _this.confirmLoading = false);; + this.confirmLoading = true; + this.postFormAction(this.url.updateInfo,formData).then(res => { + if (res.success) { + _this.$message.success("操作成功"); + _this.loadData(); + _this.editObj.visible = false; + }else { + _this.$message.error(res.message); + } + }).finally(() => _this.confirmLoading = false);; } }) },