From 9862248787934f4242ac9636e0c4d5b8ee0870b8 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期二, 20 十月 2026 16:45:58 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
index d1c0df7..e1381fb 100644
--- a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
@@ -22,10 +22,7 @@
           </div>
           <div>
             <el-button size="small" type="primary" @click="openAdd" v-if="addPower">鏂板</el-button>
-            <el-upload :action="action" :multiple="false" :show-file-list="false" accept='.doc,.docx'
-                       :headers="uploadHeader" :on-change="beforeUpload" :on-error="onError" ref='upload' v-if="upPower"
-                       :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;">
-              <el-button type="primary" size="small">瀵煎叆</el-button></el-upload>
+            <el-button v-if="upPower" type="primary" size="small" style="margin-left: 20px" @click="$refs.importDialog.open()">瀵煎叆</el-button>
           </div>
         </div>
         <div class="table">
@@ -122,12 +119,23 @@
         <el-button type="primary" @click="submitCheck('閫氳繃')" :loading="checkLoading">閫� 杩�</el-button>
       </span></template>
     </el-dialog>
+    <import-dialog
+      ref="importDialog"
+      title="瀵煎叆鏂囦欢瀹氭湡瀹℃煡璁板綍"
+      :action="action"
+      accept=".doc,.docx"
+      template-url="/import-templates/鏂囦欢瀹氭湡瀹℃煡璁板綍瀵煎叆妯℃澘.docx"
+      template-name="鏂囦欢瀹氭湡瀹℃煡璁板綍瀵煎叆妯℃澘.docx"
+      :tips="['璇峰嬁鍒犻櫎琛ㄥご鎴栧鍒犲垪锛屾暟鎹粠绗� 2 琛屽紑濮嬪~鍐�', '閫傚疁鎬у~鍐欌�滈�傚疁 / 涓嶉�傚疁鈥濇垨鈥溾垰 / 脳鈥�']"
+      @success="refreshTable"
+    />
   </div>
 </template>
 
 <script>
 import limsTable from "@/components/Table/lims-table.vue";
 import filePreview from '@/components/Preview/filePreview.vue'
+import ImportDialog from '@/components/ImportDialog/index.vue'
 import {
   exportOutManageRecordIntervals,
   addManageRecordIntervals,
@@ -145,7 +153,8 @@
   name: 'RegularReviewsRecord',
   components: {
     limsTable,
-    filePreview
+    filePreview,
+    ImportDialog
   },
   data() {
     return {
@@ -203,7 +212,7 @@
       page: {
         total: 0,
         size: 10,
-        current: 0,
+        current: 1,
       },
       tableLoading: false,
       queryParams0: {},
@@ -270,7 +279,7 @@
       page0: {
         total: 0,
         size: 10,
-        current: 0,
+        current: 1,
       },
     }
   },

--
Gitblit v1.9.3