From 9a9bd5273a0a5885834ee80dcb7fdd69013450b0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 01 十一月 2024 18:01:01 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index 44a9947..055b5e9 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -649,20 +649,19 @@
:limit="1"
accept=".xlsx, .xls"
:headers="upload.headers"
- :action="upload.url + '?updateSupport=' + upload.updateSupport"
+ :action="upload.url"
:disabled="upload.isUploading"
:on-progress="handleFileUploadProgress"
:on-success="handleFileSuccess"
- :auto-upload="false"
drag
>
<i class="el-icon-upload"></i>
<div class="el-upload__text">灏嗘枃浠舵嫋鍒版澶勶紝鎴�<em>鐐瑰嚮涓婁紶</em></div>
<div class="el-upload__tip text-center" slot="tip">
- <div class="el-upload__tip" slot="tip">
+ <!-- <div class="el-upload__tip" slot="tip">
<el-checkbox v-model="upload.updateSupport" />
鏄惁鏇存柊宸茬粡瀛樺湪鐨勭敤鎴锋暟鎹�
- </div>
+ </div> -->
<span>浠呭厑璁稿鍏ls銆亁lsx鏍煎紡鏂囦欢銆�</span>
<el-link
type="primary"
@@ -671,7 +670,7 @@
@click="importTemplate"
>涓嬭浇妯℃澘
</el-link>
- <el-link
+ <!-- <el-link
type="success"
:underline="false"
style="font-size: 24px; vertical-align: baseline"
@@ -679,7 +678,7 @@
target="_blank"
>
鏌ョ湅妯℃澘</el-link
- >
+ > -->
</div>
</el-upload>
</div>
@@ -950,7 +949,7 @@
// 璁剧疆涓婁紶鐨勮姹傚ご閮�
headers: { Authorization: "Bearer " + getToken() },
// 涓婁紶鐨勫湴鍧�
- url: process.env.VUE_APP_BASE_API + "/system/user/importData",
+ url: process.env.VUE_APP_BASE_API + "/smartor/import/importPatInfo",
},
// 鏌ヨ鍙傛暟
queryParams: {
@@ -1227,7 +1226,7 @@
/** 涓嬭浇妯℃澘鎿嶄綔 */
importTemplate() {
this.download(
- "system/user/importTemplate",
+ "smartor/import/getImportPatTemplate",
{},
`user_template_${new Date().getTime()}.xlsx`
);
--
Gitblit v1.9.3