This commit is contained in:
BianLzhaoMin 2026-01-27 16:14:42 +08:00
parent 950d150680
commit da0340403b
2 changed files with 10 additions and 10 deletions

View File

@ -138,7 +138,7 @@ const upload = reactive({
// //
headers: { Authorization: 'Bearer ' + getToken() }, 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, selectedFile: null,
}) })
@ -331,6 +331,6 @@ const submitFileForm = () => {
// //
const onHandleDownloadTemplate = () => { const onHandleDownloadTemplate = () => {
proxy.download('/personnel/downloadPersonnelExcel', {}, `人员模板.xlsx`) proxy.download('/worker/downloadWorkerExcel', {}, `人员模板.xlsx`)
} }
</script> </script>

View File

@ -3,7 +3,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<splitpanes :horizontal="appStore.device === 'mobile'" class="default-theme"> <splitpanes :horizontal="appStore.device === 'mobile'" class="default-theme">
<!--部门数据--> <!--部门数据-->
<!-- <pane size="16"> <pane size="16">
<el-col> <el-col>
<div class="head-container"> <div class="head-container">
<el-input <el-input
@ -28,9 +28,9 @@
/> />
</div> </div>
</el-col> </el-col>
</pane> --> </pane>
<!--用户数据--> <!--用户数据-->
<pane size="100"> <pane size="84">
<el-col> <el-col>
<el-form <el-form
:model="queryParams" :model="queryParams"
@ -317,7 +317,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="归属部门" prop="deptId"> <el-form-item label="归属部门" prop="deptId">
<!-- <el-tree-select <el-tree-select
v-model="form.deptId" v-model="form.deptId"
:data="enabledDeptOptions" :data="enabledDeptOptions"
:props="{ value: 'id', label: 'label', children: 'children' }" :props="{ value: 'id', label: 'label', children: 'children' }"
@ -325,8 +325,8 @@
placeholder="请选择归属部门" placeholder="请选择归属部门"
clearable clearable
check-strictly check-strictly
/> --> />
<el-select <!-- <el-select
v-model="form.deptId" v-model="form.deptId"
placeholder="请选择归属部门" placeholder="请选择归属部门"
clearable clearable
@ -337,7 +337,7 @@
:label="item.value" :label="item.value"
v-for="item in allPositionAndInspectionStationOptions" v-for="item in allPositionAndInspectionStationOptions"
/> />
</el-select> </el-select> -->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -622,7 +622,7 @@ const data = reactive({
{ min: 5, max: 20, message: '用户密码长度必须介于 5 和 20 之间', trigger: 'blur' }, { min: 5, max: 20, message: '用户密码长度必须介于 5 和 20 之间', trigger: 'blur' },
{ {
pattern: /^[^<>"'|\\]+$/, pattern: /^[^<>"'|\\]+$/,
message: '不能包含非法字符:< > " \' \\\ |', message: '不能包含非法字符:< > " \' \\ |',
trigger: 'blur', trigger: 'blur',
}, },
], ],