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