From 3453ba7e5243022ad4388da1515dc75ad8d81f94 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期日, 17 五月 2026 15:00:23 +0800
Subject: [PATCH] 近期调试

---
 src/views/business/affirm/affirmInfo.vue |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/src/views/business/affirm/affirmInfo.vue b/src/views/business/affirm/affirmInfo.vue
index bc14269..613f64e 100644
--- a/src/views/business/affirm/affirmInfo.vue
+++ b/src/views/business/affirm/affirmInfo.vue
@@ -7,12 +7,20 @@
       <div slot="header" class="clearfix">
         <span class="detail-title">鎹愮尞纭淇℃伅</span>
         <el-button
-          type="success"
-          style="float: right;"
+          type="primary"
+          style="float: right;margin-left: 20px;"
           @click="handleSave"
           :loading="saveLoading"
         >
           淇濆瓨纭淇℃伅
+        </el-button>
+        <el-button
+          type="success"
+          style="float: right;margin-left: 20px;"
+          @click="accomplish"
+          :loading="saveLoading"
+        >
+          纭瀹屾垚
         </el-button>
       </div>
 
@@ -359,7 +367,7 @@
       // 鍔犺浇鐘舵��
       loading: false,
       saveLoading: false,
-      infoid:null,
+      infoid: null,
       // 闄勪欢鐩稿叧鏁版嵁
       activeAttachmentType: "1",
       attachmentLoading: false,
@@ -756,6 +764,19 @@
         .toString()
         .padStart(2, "0")}`;
     },
+    accomplish() {
+      this.$confirm("鏄惁瀹屾垚璇ユ渚嬫崘鐚‘璁ゆ楠わ紵", "鎻愰啋", {
+        confirmButtonText: "纭畾",
+        cancelButtonText: "鍙栨秷",
+        type: "warning"
+      })
+        .then(() => {
+          this.form.state = 3;
+          this.handleSave();
+        })
+
+        .catch(() => {});
+    },
 
     // 淇濆瓨纭淇℃伅
     async handleSave() {
@@ -773,6 +794,9 @@
           organdecisionOther: this.organdecisionOther
           // assessannex瀛楁宸插湪updateAssessannexField涓洿鏂�
         };
+        if (saveData.state == 1 || !saveData.state) {
+          saveData.state = 2;
+        }
         let response = null;
         if (saveData.id) {
           response = await relativesEdit(saveData);

--
Gitblit v1.9.3