From 6b2fd3520f19e3a1ceb6197baf747d87788808bb Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Fri, 23 May 2025 16:26:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E4=BC=97=E5=8F=B7=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assetsManagement/officialAccount.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/auditPages/assetsManagement/officialAccount.vue b/src/views/auditPages/assetsManagement/officialAccount.vue index aa840fa..0c14470 100644 --- a/src/views/auditPages/assetsManagement/officialAccount.vue +++ b/src/views/auditPages/assetsManagement/officialAccount.vue @@ -203,7 +203,7 @@ > @@ -409,11 +409,13 @@ import { schema, } from "@/api/auditPagesApi/index"; import myPagination from "@/views/components/Pagination/index.vue"; -import DictTag from "@/components/DictTag/index.vue"; const router = useRouter(); const route = useRoute(); +const { proxy } = getCurrentInstance(); +const { sys_ptlx_type } = proxy.useDict("sys_ptlx_type"); + // 部门树选项 const deptOptions = ref(undefined); const defaultProps = reactive({ @@ -456,9 +458,10 @@ const upload = reactive({ // 字典数据 const dict = reactive({ - sys_ptlx_type: [], + type: { + sys_ptlx_type: [], + }, }); - // 生命周期钩子 onMounted(() => { if (Object.keys(route.params).length !== 0) { @@ -471,6 +474,7 @@ onMounted(() => { getDeptTree(); cancalDebounce(); window.addEventListener("resize", cancalDebounce); + }); onUnmounted(() => { @@ -652,7 +656,3 @@ const cancalDebounce = () => { tabHeader.value = elementHeight - headerHeight - paginationtHeight - 110; }; - -