|
|
@ -59,10 +59,18 @@ import * as tableColumnsFun from '@/utils/disposition/tableColumns' |
|
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict' |
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
// 主组件name值 |
|
|
|
routeName: { |
|
|
|
type: String, |
|
|
|
default: '' |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
|
const route = useRoute() // 路由信息 |
|
|
|
const popoverVisible = ref(false) |
|
|
|
const searchOption_high = ref(tableColumnsFun[route.name]?.allSchemas.tableColumns.filter(item => (item.field != "action"))) |
|
|
|
const searchOption_high = ref(tableColumnsFun[props.routeName?props.routeName:route.name]?.allSchemas.tableColumns.filter(item => (item.field != "action"))) |
|
|
|
const moreListData = ref({ |
|
|
|
filters:[] |
|
|
|
}) |
|
|
|