From ba83668ef65b5ff56e28a56fdaeca54e8ec1ba0b Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Sat, 13 Sep 2025 09:53:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hr/archives/index.vue | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/src/views/hr/archives/index.vue b/src/views/hr/archives/index.vue index 47a6171..3cafdfc 100644 --- a/src/views/hr/archives/index.vue +++ b/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(); //行政组织树数据 + +const orgTreeListNew = ref([]); //行政组织树数据 + 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" +}