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; }; - -