|
|
@ -64,6 +64,11 @@ const props = defineProps({ |
|
|
|
routeName: { |
|
|
|
type: String, |
|
|
|
default: '' |
|
|
|
}, |
|
|
|
// 从子表进行高级搜索 |
|
|
|
masterId: { |
|
|
|
type: String, |
|
|
|
default: '' |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
@ -127,7 +132,7 @@ const moreListOptions = ref({ |
|
|
|
|
|
|
|
const type = searchOption_high.value.find(item => (item.field == val)) |
|
|
|
let data = 'input' |
|
|
|
if (type?.dictClass) { |
|
|
|
if (type?.dictType) { |
|
|
|
data = 'select' |
|
|
|
} else if (type?.form?.component == 'InputNumber') { |
|
|
|
data = 'inputNumber' |
|
|
@ -208,6 +213,13 @@ const buttonBaseClick = (val) => { |
|
|
|
} |
|
|
|
data.push(obj) |
|
|
|
}) |
|
|
|
if (props.masterId){ |
|
|
|
data.push({ |
|
|
|
column: 'masterId', |
|
|
|
action: "==", |
|
|
|
value: props.masterId, |
|
|
|
}) |
|
|
|
} |
|
|
|
emit('searchFormClick', { |
|
|
|
filters:data |
|
|
|
}) |
|
|
|