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/outDocumenRecordt.vue | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
index f93317f..5a74e71 100644
--- a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
@@ -5,10 +5,7 @@
<el-tab-pane label="濉啓" name="濉啓" style="height: 100%;">
<div style="display: flex;align-items: center;justify-content: flex-end;margin-bottom: 10px">
<el-button size="small" type="primary" @click="openAdd('鏂板')" style="margin-left: 20px;">鏂板</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'
- :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;">
- <el-button size="small" type="primary" :loading="upLoading">瀵煎叆</el-button></el-upload>
+ <el-button size="small" type="primary" style="margin-left: 20px" @click="$refs.importDialog.open()">瀵煎叆</el-button>
</div>
<lims-table :tableData="tableData0" :column="column0" :page="page0" :tableLoading="tableLoading0"
:height="'calc(100vh - 290px)'" @pagination="pagination0"></lims-table>
@@ -79,12 +76,23 @@
<el-button :loading="uploading" type="primary" @click="submitProduct('addForm')">纭� 璁�</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 琛屽紑濮嬪~鍐�', '鐢熸晥鏃ユ湡銆佷綔搴熸棩鏈熸牸寮忥細YYYY-MM-DD']"
+ @success="getList0"
+ />
</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 {
addManageRecordVerify,
pageManageRecordVerify,
@@ -99,6 +107,7 @@
components: {
filePreview,
limsTable,
+ ImportDialog,
},
data() {
return {
@@ -175,7 +184,7 @@
page: {
total: 0,
size: 10,
- current: 0,
+ current: 1,
},
tableLoading: false,
tableData0: [],
@@ -215,7 +224,7 @@
page0: {
total: 0,
size: 10,
- current: 0,
+ current: 1,
},
tableLoading0: false,
title: '鏂板',
--
Gitblit v1.9.3