From be595c76456a9e31da93b964f0a3602bc7421258 Mon Sep 17 00:00:00 2001 From: zyn Date: Tue, 7 Nov 2023 11:17:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AEloading-=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF-=E4=BC=81=E6=A0=87=E5=88=B6=E4=BF=AE=E8=AE=A2?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=8F=8A=E4=BC=81=E4=B8=9A=E6=A0=87=E5=87=86?= =?UTF-8?q?=E5=BA=93=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/phone/qbrk-product/step10.vue | 4 +++- src/pages/processCenter/pages/phone/qbrk-product/step12.vue | 4 +++- src/pages/processCenter/pages/phone/qbrk-product/step4.vue | 4 +++- src/pages/processCenter/pages/phone/qbrk-product/step7.vue | 4 ++-- src/pages/processCenter/pages/phone/qbrk-product/step8.vue | 4 +++- src/pages/processCenter/pages/phone/qbrk/step10.vue | 4 +++- src/pages/processCenter/pages/phone/qbrk/step11.vue | 4 +++- src/pages/processCenter/pages/phone/qbrk/step4.vue | 4 +++- src/pages/processCenter/pages/phone/qbrk/step8.vue | 4 ++-- 9 files changed, 25 insertions(+), 11 deletions(-) diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step10.vue b/src/pages/processCenter/pages/phone/qbrk-product/step10.vue index 895f2f6a6..d18a4faa4 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step10.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step10.vue @@ -1916,6 +1916,7 @@ export default { this.$refs['formTongGuo'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); @@ -1934,7 +1935,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -1942,6 +1942,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) }, diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step12.vue b/src/pages/processCenter/pages/phone/qbrk-product/step12.vue index c5589eef6..33c2550ce 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step12.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step12.vue @@ -1916,6 +1916,7 @@ export default { this.$refs['formTongGuo'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); @@ -1934,7 +1935,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -1942,6 +1942,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) }, diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step4.vue b/src/pages/processCenter/pages/phone/qbrk-product/step4.vue index 4b6506d62..8f3f9490e 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step4.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step4.vue @@ -1914,6 +1914,7 @@ export default { this.$refs['formTongGuo'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); @@ -1932,7 +1933,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -1940,6 +1940,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) }, diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step7.vue b/src/pages/processCenter/pages/phone/qbrk-product/step7.vue index bb043f408..e4bee7381 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step7.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step7.vue @@ -2024,8 +2024,6 @@ export default { if (res.success) { this.$message.success(res.message) // 流程提交之后,应该流转至待办任务页面 - this.isSubmit = false - this.saveLoading = false // hwh5.close() this.$router.go(-2) // this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) @@ -2040,6 +2038,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) } diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step8.vue b/src/pages/processCenter/pages/phone/qbrk-product/step8.vue index c0722663f..d6cfee5d4 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step8.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step8.vue @@ -1916,6 +1916,7 @@ export default { this.$refs['formTongGuo'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); @@ -1934,7 +1935,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -1942,6 +1942,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) }, diff --git a/src/pages/processCenter/pages/phone/qbrk/step10.vue b/src/pages/processCenter/pages/phone/qbrk/step10.vue index 7fa1f61ab..afc38827d 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step10.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step10.vue @@ -1915,6 +1915,7 @@ export default { this.$refs['formTongGuo'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); @@ -1932,7 +1933,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -1940,6 +1940,8 @@ export default { }else { this.$message.success(res.message) } + this.saveLoading = false + this.isSubmit = false }) }}) }, diff --git a/src/pages/processCenter/pages/phone/qbrk/step11.vue b/src/pages/processCenter/pages/phone/qbrk/step11.vue index 99e07308c..a7e02c8ad 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step11.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step11.vue @@ -1914,6 +1914,7 @@ export default { this.$refs['formTongGuo'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); @@ -1931,7 +1932,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -1939,6 +1939,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) }, diff --git a/src/pages/processCenter/pages/phone/qbrk/step4.vue b/src/pages/processCenter/pages/phone/qbrk/step4.vue index 2bdc8f54e..ae823c05d 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step4.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step4.vue @@ -2260,6 +2260,7 @@ export default { this.$refs['formTongGuo'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); @@ -2278,7 +2279,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -2286,6 +2286,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) }, diff --git a/src/pages/processCenter/pages/phone/qbrk/step8.vue b/src/pages/processCenter/pages/phone/qbrk/step8.vue index 61547c122..d101fae88 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step8.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step8.vue @@ -1970,8 +1970,6 @@ export default { this.$message.success(res.message) // this.processCreateLaws(json) } - this.isSubmit = false - this.saveLoading = false // hwh5.close() this.$router.go(-2) // 流程提交之后,应该流转至待办任务页面 @@ -1979,6 +1977,8 @@ export default { }else { this.$message.success(res.message) } + this.isSubmit = false + this.saveLoading = false }) }}) },