From 5c76f242b20281b51d01ce2266e8beaafe8ae5a6 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期五, 15 九月 2023 10:00:34 +0800
Subject: [PATCH] 改bug

---
 src/components/view/rawInsDetail.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/view/rawInsDetail.vue b/src/components/view/rawInsDetail.vue
index dbb323e..e9a9490 100644
--- a/src/components/view/rawInsDetail.vue
+++ b/src/components/view/rawInsDetail.vue
@@ -12,7 +12,7 @@
             >鎻� 浜�</el-button
           >
           <el-button
-            icon="el-icon-download"
+            icon="el-icon-back"
             @click="
               () => {
                 goBack();
@@ -469,6 +469,7 @@
       this.detailId = res.data;
       this.getDetailInfo();
       this.$message.success(res.message);
+      this.goBack();
     },
 
     // 淇敼椤圭洰鐨勬娴嬪�兼敼鍙樼粨璁�
@@ -487,9 +488,9 @@
       const res = await this.$axios.post(
         this.$api.url.updateRawInspectsById + `${this.detailId}`
       ).then(res=>{
-聽 聽 聽 聽 this.$parent.removeAllTab()
         this.$message.success("鎻愪氦鎴愬姛");
         this.getDetailInfo();
+        this.goBack()
 聽 聽 聽 });
     },
     // 鑾峰彇璁惧鏍戝唴瀹�

--
Gitblit v1.9.3