From 00c9c554fcfbb1755af6c41f19dc5ae6f8294075 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 18 七月 2024 18:05:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/components/view/b1-report-preparation.vue |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/src/components/view/b1-report-preparation.vue b/src/components/view/b1-report-preparation.vue
index ab65de2..ad04cde 100644
--- a/src/components/view/b1-report-preparation.vue
+++ b/src/components/view/b1-report-preparation.vue
@@ -332,8 +332,8 @@
       // }
     },
     methods: {
-      refreshTable() {
-        this.$refs['ValueTable'].selectList()
+      refreshTable(e) {
+        this.$refs['ValueTable'].selectList(e)
       },
       refresh() {
         this.componentData.entity = this.HaveJson(this.entityCopy)
@@ -438,13 +438,14 @@
         document.body.appendChild(link);
         link.click();
       },
+      // 杩樺師鎿嶄綔
       handleRestore(row) {
         this.$axios.post(this.$api.insReport.upReportUrl, {
           id: row.id
         }).then(res => {
           if (res.code === 200) {
             this.$message.success('鎿嶄綔鎴愬姛')
-            this.refreshTable()
+            this.refreshTable('page')
           }
         })
       },
@@ -466,6 +467,7 @@
           }
           this.issuedVisible = true;
       },
+      // 瀹℃牳閫氳繃
       subIssued() {
         this.loadingIssued = true;
         this.$axios.post(this.$api.insReport.examineReport, {
@@ -477,7 +479,7 @@
             return
           }
           this.$message.success('鎻愪氦鎴愬姛')
-          this.refreshTable()
+          this.refreshTable('page')
           this.currentInfo = null;
           this.issuedVisible = false;
         }).catch(e => {
@@ -503,6 +505,7 @@
           }
         this.approveVisible = true;
       },
+      // 鎵瑰噯閫氳繃
       subApprove() {
         this.loadingApprove = true;
         this.$axios.post(this.$api.insReport.ratifyReport, {
@@ -515,11 +518,12 @@
             return
           }
           this.$message.success('宸叉壒鍑�')
-          this.refreshTable()
+          this.refreshTable('page')
           this.currentInfo = null;
           this.approveVisible = false;
         })
       },
+      // 鎻愪氦鎿嶄綔
       handleSubmit(row) {
         this.$confirm('鏄惁鎻愪氦褰撳墠鎶ュ憡?', "鎻愪氦", {
           confirmButtonText: "鎻愪氦",
@@ -533,12 +537,13 @@
               return
             }
             this.$message.success('鎻愪氦鎴愬姛')
-            this.refreshTable()
+            this.refreshTable('page')
           }).catch(e => {
             this.$message.error('鎻愪氦澶辫触')
           })
         }).catch(() => {})
       },
+      // 瀹℃牳涓嶉�氳繃鍘熷洜鎻愪氦
       handleIssuedReason() {
         if (!this.reason) {
           return this.$message.error('璇疯緭鍏ュ師鍥�')
@@ -554,7 +559,7 @@
             return
           }
           this.$message.success('鎿嶄綔鎴愬姛')
-          this.refreshTable()
+          this.refreshTable('page')
           this.currentInfo = null;
           this.reason = '';
           this.issuedVisible = false;
@@ -564,6 +569,7 @@
           this.loadingIssuedReason = false;
         })
       },
+      // 涓嶆壒鍑嗗師鍥犳彁浜�
       handleApproveReason() {
         if (!this.reason) {
           return this.$message.error('璇疯緭鍏ュ師鍥�')
@@ -579,7 +585,7 @@
             return
           }
           this.$message.success('鎿嶄綔鎴愬姛')
-          this.refreshTable()
+          this.refreshTable('page')
           this.currentInfo = null;
           this.reason = '';
           this.issuedVisible = false;

--
Gitblit v1.9.3