|
|
|
@ -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> |
|
|
|
|