This commit is contained in:
parent
950d150680
commit
da0340403b
|
|
@ -138,7 +138,7 @@ const upload = reactive({
|
|||
// 设置上传的请求头部
|
||||
headers: { Authorization: 'Bearer ' + getToken() },
|
||||
// 上传的地址(接口稍后提供)
|
||||
url: import.meta.env.VITE_APP_BASE_API + '/personnel/importPersonnel',
|
||||
url: import.meta.env.VITE_APP_BASE_API + '/worker/importWorker',
|
||||
selectedFile: null,
|
||||
})
|
||||
|
||||
|
|
@ -331,6 +331,6 @@ const submitFileForm = () => {
|
|||
|
||||
// 模板下载
|
||||
const onHandleDownloadTemplate = () => {
|
||||
proxy.download('/personnel/downloadPersonnelExcel', {}, `人员模板.xlsx`)
|
||||
proxy.download('/worker/downloadWorkerExcel', {}, `人员模板.xlsx`)
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<el-row :gutter="20">
|
||||
<splitpanes :horizontal="appStore.device === 'mobile'" class="default-theme">
|
||||
<!--部门数据-->
|
||||
<!-- <pane size="16">
|
||||
<pane size="16">
|
||||
<el-col>
|
||||
<div class="head-container">
|
||||
<el-input
|
||||
|
|
@ -28,9 +28,9 @@
|
|||
/>
|
||||
</div>
|
||||
</el-col>
|
||||
</pane> -->
|
||||
</pane>
|
||||
<!--用户数据-->
|
||||
<pane size="100">
|
||||
<pane size="84">
|
||||
<el-col>
|
||||
<el-form
|
||||
:model="queryParams"
|
||||
|
|
@ -317,7 +317,7 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="归属部门" prop="deptId">
|
||||
<!-- <el-tree-select
|
||||
<el-tree-select
|
||||
v-model="form.deptId"
|
||||
:data="enabledDeptOptions"
|
||||
:props="{ value: 'id', label: 'label', children: 'children' }"
|
||||
|
|
@ -325,8 +325,8 @@
|
|||
placeholder="请选择归属部门"
|
||||
clearable
|
||||
check-strictly
|
||||
/> -->
|
||||
<el-select
|
||||
/>
|
||||
<!-- <el-select
|
||||
v-model="form.deptId"
|
||||
placeholder="请选择归属部门"
|
||||
clearable
|
||||
|
|
@ -337,7 +337,7 @@
|
|||
:label="item.value"
|
||||
v-for="item in allPositionAndInspectionStationOptions"
|
||||
/>
|
||||
</el-select>
|
||||
</el-select> -->
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -622,7 +622,7 @@ const data = reactive({
|
|||
{ min: 5, max: 20, message: '用户密码长度必须介于 5 和 20 之间', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^[^<>"'|\\]+$/,
|
||||
message: '不能包含非法字符:< > " \' \\\ |',
|
||||
message: '不能包含非法字符:< > " \' \\ |',
|
||||
trigger: 'blur',
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue