|
@ -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,7 +733,8 @@ 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!=''){ |
|
|
|
|
|
const item = props.detailAllSchemas.formSchema.find(item=>item.field == props.fieldTableColumn) |
|
|
opensearchTable( |
|
|
opensearchTable( |
|
|
item.field, item?.componentProps?.searchField, |
|
|
item.field, item?.componentProps?.searchField, |
|
|
item?.componentProps?.searchTitle, |
|
|
item?.componentProps?.searchTitle, |
|
@ -738,6 +744,8 @@ const buttonBaseClick = (val, item) => { |
|
|
item?.componentProps?.multiple, |
|
|
item?.componentProps?.multiple, |
|
|
undefined,undefined |
|
|
undefined,undefined |
|
|
) |
|
|
) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
openForm('create') |
|
|
openForm('create') |
|
|
} |
|
|
} |
|
|