Browse Source

人员上传

qin_25
herenshan112 2 months ago
parent
commit
ba83668ef6
  1. 31
      src/views/hr/archives/index.vue

31
src/views/hr/archives/index.vue

@ -29,6 +29,7 @@ import UserRole from "@/assets/icons/user.svg";
import { UploadFilled } from "@element-plus/icons-vue";
import { uploadUrl } from "@/api/DesignForm";
/**
* 引入页面
*/
@ -65,6 +66,9 @@ const searchOrgFormRef = ref(ElForm);
const orgTreeRef = ref(ElTree); //
const orgTreeLoading = ref(false); //
const orgTreeList = ref<orgInfo[]>(); //
const orgTreeListNew = ref<any[]>([]); //
const orgTreeProps = {
children: "child",
label: "name",
@ -164,6 +168,8 @@ const haveOrgList = () => {
console.log("打开批量导入面板", data);
orgListTemp.value = data.data;
});
orgTreeListNew.value
};
let jiBuQiVal = 0;
@ -339,7 +345,7 @@ const ruleForm = reactive({
fileUrl: "",
});
const tempForm = reactive({
orgId: 0,
orgId: 313,
});
const stafftempForm = reactive({
orgId: 0,
@ -510,7 +516,7 @@ const editUserTemp = (val: any) => {
@ 功能: 关闭上传弹窗
*/
const closeUploadTemp = () => {
tempForm.orgId = 0;
tempForm.orgId = 313;
progressSize.value = 0;
piLiangBox.value = false;
peopleMsg.value = [];
@ -737,6 +743,12 @@ const picksubus = () => {
}
});
};
const systemMenuTreeProps = {
children: "child",
label: "name",
value:"id"
}
</script>
<template>
<div class="app-container">
@ -1009,11 +1021,16 @@ const picksubus = () => {
<el-col :span="24">
<el-form :model="tempForm" label-width="auto" style="max-width: 100%">
<el-form-item label="请选择上传那个公司的人员信息">
<el-radio-group v-model="tempForm.orgId">
<el-radio v-for="item in orgListTemp" :value="item.id">{{
item.name
}}</el-radio>
</el-radio-group>
<el-tree-select
v-model="tempForm.orgId"
:data="orgTreeList"
check-strictly
:render-after-expand="false"
:props="systemMenuTreeProps"
style="width: 240px"
/>
</el-form-item>
</el-form>
</el-col>

Loading…
Cancel
Save