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