upload tip user
This commit is contained in:
@ -80,7 +80,8 @@
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button icon="Search" type="primary" @click="handleQuery"
|
||||
>搜索</el-button
|
||||
>搜索
|
||||
</el-button
|
||||
>
|
||||
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
@ -464,16 +465,11 @@
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<template #tip>
|
||||
<div class="el-upload__tip text-center">
|
||||
<div class="el-upload__tip">
|
||||
<el-checkbox v-model="upload.updateSupport" />
|
||||
是否更新已经存在的用户数据
|
||||
</div>
|
||||
<div>
|
||||
1. (*)为必填项
|
||||
2. 角色,岗位请填数字编号
|
||||
3. 角色,岗位若存在多个,| 隔开即可
|
||||
</div>
|
||||
<span>仅允许导入xls、xlsx格式文件。</span>
|
||||
<ol style="text-align: start;margin-left: 20px;">
|
||||
<li>(*)为必填项</li>
|
||||
<li>角色,岗位请填数字编号</li>
|
||||
<li>角色,岗位若存在多个,| 隔开即可</li>
|
||||
<li><span>仅允许导入xls、xlsx格式文件。</span>
|
||||
<el-link
|
||||
:underline="false"
|
||||
style="font-size: 12px; vertical-align: baseline"
|
||||
@ -481,6 +477,9 @@
|
||||
@click="importTemplate"
|
||||
>下载模板
|
||||
</el-link>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
</el-upload>
|
||||
@ -688,7 +687,8 @@ function handleDelete(row) {
|
||||
getList();
|
||||
proxy.$modal.msgSuccess("删除成功");
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch(() => {
|
||||
});
|
||||
}
|
||||
|
||||
/** 导出按钮操作 */
|
||||
@ -753,7 +753,8 @@ function handleResetPwd(row) {
|
||||
proxy.$modal.msgSuccess("修改成功,新密码是:" + value);
|
||||
});
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch(() => {
|
||||
});
|
||||
}
|
||||
|
||||
/** 选择条数 */
|
||||
@ -777,6 +778,7 @@ function importTemplate() {
|
||||
`user_template_${new Date().getTime()}.xlsx`
|
||||
);
|
||||
}
|
||||
|
||||
/**文件上传中处理 */
|
||||
const handleFileUploadProgress = (event, file, fileList) => {
|
||||
upload.isUploading = true;
|
||||
|
Reference in New Issue
Block a user