From 66b3c4c129b05b634d37ac7eac63eff0f0b9f426 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 27 二月 2025 10:11:52 +0800
Subject: [PATCH] 修改体系管理要求bug

---
 src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue |   29 ++++++++++++++++++-----------
 1 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue b/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue
index 81b5f6a..1a25201 100644
--- a/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue
+++ b/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue
@@ -470,18 +470,25 @@
       formData.append('state', this.type); // 鏂囦欢鍚嶅瓧娈�
       formData.append('writer', this.currentInfo.writer); // 鏂囦欢鍚嶅瓧娈�
 
-      let res = await checkManageDocumentControlled(formData)
-      this.checkLoading = false
-      this.noCheckLoading = false
-      if (res.code == 200) {
-        this.$message({ message: '鎿嶄綔鎴愬姛', type: 'success' });
-        this.checkDialogVisible = false;
-        this.refreshTable()
-        return true
-      } else {
-        this.$message({ message: '鎿嶄綔澶辫触', type: 'error' });
-        return false
+      try {
+        let res = await checkManageDocumentControlled(formData)
+        this.checkLoading = false
+        this.noCheckLoading = false
+        if (res.code == 200) {
+          this.$message({ message: '鎿嶄綔鎴愬姛', type: 'success' });
+          this.checkDialogVisible = false;
+          this.refreshTable()
+          return true
+        } else {
+          this.$message({ message: '鎿嶄綔澶辫触', type: 'error' });
+          return false
+        }
+      } catch (e) {
+        this.checkLoading = false
+        this.noCheckLoading = false
       }
+
+
     },
     handleCheckSub(type) {
       this.type = type

--
Gitblit v1.9.3