From 16696b259e984e86d07ae981d031d0c54bdc7089 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 08 三月 2024 10:05:39 +0800
Subject: [PATCH] 1、消息确认页面完成所有布局及功能 2、通过调整刷新页面的登出账号方式为路由跳转至登录页面,以试图解决token过期后无法正常跳转的问题(未在现场调试)

---
 src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue b/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
index 3064b2e..fa9fee4 100644
--- a/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
+++ b/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
@@ -88,7 +88,6 @@
   },
   data() {
     return {
-      isAchievement:false,
       labelCol: {
         xs: { span: 24 },
         sm: { span: 5 }
@@ -232,7 +231,7 @@
       default: false,
       required: false
     },
-    isAchievement: {
+    achievement: {
       type: Boolean,
       default: false,
       required: false
@@ -243,7 +242,7 @@
       return this.disabled
     },
     achievementDisabled() {
-      return this.isAchievement
+      return this.achievement
     }
   },
   created() {
@@ -309,13 +308,15 @@
       console.log("formData===>",formData);
       httpAction(url, formData, method).then((res) => {
         if (res.success) {
-          httpAction(this.url.addOperationCertificate, formData.operationCertificateApplyDetailList, 'post').then((res) => {
-            if (res.success) {
-              this.$message.success(res.message)
-            }else {
-              this.$message.warning(res.message)
-            }
-          })
+          if(this.achievementDisabled){
+            httpAction(this.url.addOperationCertificate, formData.operationCertificateApplyDetailList, 'post').then((res) => {
+              if (res.success) {
+                this.$message.success(res.message)
+              }else {
+                this.$message.warning(res.message)
+              }
+            })
+          }
           this.$message.success(res.message)
           this.$emit('ok')
           this.close()

--
Gitblit v1.9.3