公众号表格

main
严飞永 1 day ago
parent 4eeba83e49
commit 6b2fd3520f

@ -203,7 +203,7 @@
> >
<template #default="scope"> <template #default="scope">
<dict-tag <dict-tag
:options="dict.type.sys_ptlx_type" :options="sys_ptlx_type"
:value="scope.row.ptlx" :value="scope.row.ptlx"
/> />
</template> </template>
@ -409,11 +409,13 @@ import {
schema, schema,
} from "@/api/auditPagesApi/index"; } from "@/api/auditPagesApi/index";
import myPagination from "@/views/components/Pagination/index.vue"; import myPagination from "@/views/components/Pagination/index.vue";
import DictTag from "@/components/DictTag/index.vue";
const router = useRouter(); const router = useRouter();
const route = useRoute(); const route = useRoute();
const { proxy } = getCurrentInstance();
const { sys_ptlx_type } = proxy.useDict("sys_ptlx_type");
// //
const deptOptions = ref(undefined); const deptOptions = ref(undefined);
const defaultProps = reactive({ const defaultProps = reactive({
@ -456,9 +458,10 @@ const upload = reactive({
// //
const dict = reactive({ const dict = reactive({
sys_ptlx_type: [], type: {
sys_ptlx_type: [],
},
}); });
// //
onMounted(() => { onMounted(() => {
if (Object.keys(route.params).length !== 0) { if (Object.keys(route.params).length !== 0) {
@ -471,6 +474,7 @@ onMounted(() => {
getDeptTree(); getDeptTree();
cancalDebounce(); cancalDebounce();
window.addEventListener("resize", cancalDebounce); window.addEventListener("resize", cancalDebounce);
}); });
onUnmounted(() => { onUnmounted(() => {
@ -652,7 +656,3 @@ const cancalDebounce = () => {
tabHeader.value = elementHeight - headerHeight - paginationtHeight - 110; tabHeader.value = elementHeight - headerHeight - paginationtHeight - 110;
}; };
</script> </script>
<style scoped>
/* 添加你的样式 */
</style>

Loading…
Cancel
Save