From f97db6a583ef0caa5ebdcea49ffb0a0f9cca0ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Thu, 26 Oct 2023 13:09:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=B7=BB=E5=8A=A0=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=8E=A5=E5=8F=A3=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/public/version.json | 2 +- .../components/StepsCountPlanForm/index.vue | 36 +++++++++++-------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/fe/PC/public/version.json b/fe/PC/public/version.json index e04eacc4e..2c16ab837 100644 --- a/fe/PC/public/version.json +++ b/fe/PC/public/version.json @@ -1,3 +1,3 @@ { - "version": "1.0.73" + "version": "1.0.76" } \ No newline at end of file diff --git a/fe/PC/src/components/StepsCountPlanForm/index.vue b/fe/PC/src/components/StepsCountPlanForm/index.vue index 8a4e921c9..4bedca798 100644 --- a/fe/PC/src/components/StepsCountPlanForm/index.vue +++ b/fe/PC/src/components/StepsCountPlanForm/index.vue @@ -681,20 +681,28 @@ export default { this.$warningMsg("请选择状态"); return } - this.loading = true; - // this.otherFormData.requestType = 2 - this.splitFormData(this.otherFormData).then( - (resolve) => { - this.pageStatus = "success"; - this.active++; - this.loading = false; - }, - (reject) => { - this.pageStatus = "error"; - this.active++; - this.loading = false; - } - ); + this.$confirm('是否确定已关闭接口?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + this.loading = true; + // this.otherFormData.requestType = 2 + this.splitFormData(this.otherFormData).then( + (resolve) => { + this.pageStatus = "success"; + this.active++; + this.loading = false; + }, + (reject) => { + this.pageStatus = "error"; + this.active++; + this.loading = false; + } + ); + }).catch(() => { + + }); } // else if (this.active == 4) { // postCreate(this.previewFormData, 'count-plan').then(res => {