From bdea6e1669fd5c1f1f78a432d4d33c4af92d7d87 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 6 Jul 2022 10:00:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8E=92=E4=BA=A7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E3=80=81=E8=B0=83=E4=BB=B7=E7=AE=A1=E7=90=86=E3=80=81?= =?UTF-8?q?=E5=86=85=E8=B4=AD=E7=AE=A1=E7=90=86=E3=80=81=E6=9C=AA=E5=94=AE?= =?UTF-8?q?=E4=B9=B0=E6=96=AD=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/supplychain/cheliangpaichan/cheliangpaichan.vue | 6 ++++-- .../cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue | 5 +++++ .../paichanguanli/cheliangpaichanDaiBanInfo.vue | 5 +++++ .../tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue | 5 +++++ .../weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue | 5 +++++ 5 files changed, 24 insertions(+), 2 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue index eca3bfbfaf..a2a30c2580 100644 --- a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue +++ b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue @@ -246,8 +246,10 @@ export default { const _this = this req.delBySids(this.sids).then(resp => { loading.close() - _this.$message({ type: 'success', message: resp.msg, showClose: true }) - _this.loadList() + if (resp.success) { + _this.$message({ type: 'success', message: resp.msg, showClose: true }) + _this.loadList() + } }).catch(e => { loading.close() }) diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue index c063e69fb7..95ab896a86 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanInfo.vue @@ -217,6 +217,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -229,6 +231,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -242,6 +246,7 @@ export default { openStop(val) { this.operation = val this.currentLink = false + this.dialogList.comment = '' this.nodeDialogVisible = true }, reject() { diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue index 11a9d87f8b..86b218f81c 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue @@ -307,6 +307,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -319,6 +321,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -331,6 +335,7 @@ export default { // 终止 openStop(val) { this.operation = val + this.dialogList.comment = '' this.currentLink = false this.nodeDialogVisible = true }, diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue index 080a2a418f..7d60df74a9 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue @@ -203,6 +203,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -215,6 +217,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -228,6 +232,7 @@ export default { openStop(val) { this.operation = val this.currentLink = false + this.dialogList.comment = '' this.nodeDialogVisible = true }, reject() { diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue index 375b259d9d..c025ea21a3 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanDaiBanInfo.vue @@ -198,6 +198,8 @@ export default { // 同意 openAgree(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -210,6 +212,8 @@ export default { // 驳回 openReject(val) { this.operation = val + this.currentLink = true + this.dialogList.comment = '' req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey }).then((resp) => { if (resp.success) { var arr = resp.data @@ -223,6 +227,7 @@ export default { openStop(val) { this.operation = val this.currentLink = false + this.dialogList.comment = '' this.nodeDialogVisible = true }, reject() {