|
@@ -221,35 +221,36 @@
|
|
append-to-body
|
|
append-to-body
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
>
|
|
>
|
|
- <el-upload
|
|
|
|
- ref="uploadRef"
|
|
|
|
- :limit="1"
|
|
|
|
- accept=".xlsx, .xls"
|
|
|
|
- :headers="upload.headers"
|
|
|
|
- :action="upload.url"
|
|
|
|
- :disabled="upload.isUploading"
|
|
|
|
- :on-progress="handleFileUploadProgress"
|
|
|
|
- :on-success="handleFileSuccess"
|
|
|
|
- :auto-upload="false"
|
|
|
|
- drag
|
|
|
|
- >
|
|
|
|
- <el-icon class="el-icon--upload"><upload-filled /></el-icon>
|
|
|
|
- <div class="el-upload__text">
|
|
|
|
- 将文件拖到此处,或
|
|
|
|
- <em>点击上传</em>
|
|
|
|
- </div>
|
|
|
|
- <div class="el-upload__tip" slot="tip">
|
|
|
|
- <el-link
|
|
|
|
- type="warning"
|
|
|
|
- style="font-size: 13px; margin: 10px"
|
|
|
|
- @click="importTemplate"
|
|
|
|
- >下载模板</el-link
|
|
|
|
- >
|
|
|
|
- </div>
|
|
|
|
- <div class="el-upload__tip" style="color: red" slot="tip">
|
|
|
|
- 提示:仅允许导入“xls”或“xlsx”格式文件!
|
|
|
|
- </div>
|
|
|
|
- </el-upload>
|
|
|
|
|
|
+ <div class="el-upload__tip" slot="tip">
|
|
|
|
+ <el-link
|
|
|
|
+ type="warning"
|
|
|
|
+ style="font-size: 13px; margin: 10px"
|
|
|
|
+ @click="importTemplate"
|
|
|
|
+ >下载模板</el-link
|
|
|
|
+ >
|
|
|
|
+ <el-upload
|
|
|
|
+ ref="uploadRef"
|
|
|
|
+ :limit="1"
|
|
|
|
+ accept=".xlsx, .xls"
|
|
|
|
+ :headers="upload.headers"
|
|
|
|
+ :action="upload.url"
|
|
|
|
+ :disabled="upload.isUploading"
|
|
|
|
+ :on-progress="handleFileUploadProgress"
|
|
|
|
+ :on-success="handleFileSuccess"
|
|
|
|
+ :auto-upload="false"
|
|
|
|
+ drag
|
|
|
|
+ >
|
|
|
|
+ <el-icon class="el-icon--upload"><upload-filled /></el-icon>
|
|
|
|
+ <div class="el-upload__text">
|
|
|
|
+ 将文件拖到此处,或
|
|
|
|
+ <em>点击上传</em>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="el-upload__tip" style="color: red" slot="tip">
|
|
|
|
+ 提示:仅允许导入“xls”或“xlsx”格式文件!
|
|
|
|
+ </div>
|
|
|
|
+ </el-upload>
|
|
|
|
+ </div>
|
|
<template #footer>
|
|
<template #footer>
|
|
<div class="dialog-footer">
|
|
<div class="dialog-footer">
|
|
<el-button type="primary" @click="submitFileForm">确 定</el-button>
|
|
<el-button type="primary" @click="submitFileForm">确 定</el-button>
|