|
@ -384,6 +384,11 @@ const props = defineProps({ |
|
|
required: false, |
|
|
required: false, |
|
|
default: false |
|
|
default: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
fieldTableColumn:{ |
|
|
|
|
|
type: String, |
|
|
|
|
|
required: false, |
|
|
|
|
|
default: '' |
|
|
|
|
|
}, |
|
|
//扩展其他按钮 |
|
|
//扩展其他按钮 |
|
|
otherHeadButttonData:{ |
|
|
otherHeadButttonData:{ |
|
|
type:Array, |
|
|
type:Array, |
|
@ -728,16 +733,19 @@ const buttonBaseClick = (val, item) => { |
|
|
masterId: masterParmas.value.masterId, |
|
|
masterId: masterParmas.value.masterId, |
|
|
number: masterParmas.value.number |
|
|
number: masterParmas.value.number |
|
|
}) |
|
|
}) |
|
|
const item = props.detailAllSchemas.formSchema[0] |
|
|
if(props.fieldTableColumn!=''){ |
|
|
opensearchTable( |
|
|
const item = props.detailAllSchemas.formSchema.find(item=>item.field == props.fieldTableColumn) |
|
|
item.field, item?.componentProps?.searchField, |
|
|
opensearchTable( |
|
|
item?.componentProps?.searchTitle, |
|
|
item.field, item?.componentProps?.searchField, |
|
|
item?.componentProps?.searchAllSchemas, |
|
|
item?.componentProps?.searchTitle, |
|
|
item?.componentProps?.searchPage, |
|
|
item?.componentProps?.searchAllSchemas, |
|
|
item?.componentProps?.searchCondition, |
|
|
item?.componentProps?.searchPage, |
|
|
item?.componentProps?.multiple, |
|
|
item?.componentProps?.searchCondition, |
|
|
undefined,undefined |
|
|
item?.componentProps?.multiple, |
|
|
) |
|
|
undefined,undefined |
|
|
|
|
|
) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
openForm('create') |
|
|
openForm('create') |
|
|
} |
|
|
} |
|
|