|
|
|
@ -203,7 +203,7 @@
|
|
|
|
|
>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag
|
|
|
|
|
:options="dict.type.sys_ptlx_type"
|
|
|
|
|
:options="sys_ptlx_type"
|
|
|
|
|
:value="scope.row.ptlx"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
@ -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({
|
|
|
|
|
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;
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
/* 添加你的样式 */
|
|
|
|
|
</style>
|
|
|
|
|