|
@ -24,6 +24,7 @@ |
|
|
v-model:sort="tableObjectRef.sort" |
|
|
v-model:sort="tableObjectRef.sort" |
|
|
:selection="true" |
|
|
:selection="true" |
|
|
:reserveSelection="true" |
|
|
:reserveSelection="true" |
|
|
|
|
|
:searchTableSelectionsList="searchTableSelectionsList" |
|
|
row-key="id" |
|
|
row-key="id" |
|
|
@register="onMountedCallBack" |
|
|
@register="onMountedCallBack" |
|
|
/> |
|
|
/> |
|
@ -69,7 +70,8 @@ const rowRef = ref() |
|
|
const allSchemasRef = ref() |
|
|
const allSchemasRef = ref() |
|
|
const multipleBol = ref(false) |
|
|
const multipleBol = ref(false) |
|
|
const searchConditionRef = ref() |
|
|
const searchConditionRef = ref() |
|
|
const open = (titleName: any, allSchemas: any,getApiPage: any, formField: any, searchField: any,multiple: any, type: any, row: any, searchCondition:any , isCountRequestRe:any ) => { |
|
|
const searchTableSelectionsList = ref()//表格弹窗回显的列表 |
|
|
|
|
|
const open = (titleName: any, allSchemas: any,getApiPage: any, formField: any, searchField: any,multiple: any, type: any, row: any, searchCondition:any , isCountRequestRe:any, searchTableSelections:any) => { |
|
|
searchDialogVisible.value = true |
|
|
searchDialogVisible.value = true |
|
|
formFieldRef.value = formField |
|
|
formFieldRef.value = formField |
|
|
searchFieldRef.value = searchField |
|
|
searchFieldRef.value = searchField |
|
@ -82,6 +84,7 @@ const open = (titleName: any, allSchemas: any,getApiPage: any, formField: any, s |
|
|
multipleBol.value = multiple |
|
|
multipleBol.value = multiple |
|
|
// dialogTitle.value = t('action.' + type) |
|
|
// dialogTitle.value = t('action.' + type) |
|
|
dialogTitle.value = titleName |
|
|
dialogTitle.value = titleName |
|
|
|
|
|
searchTableSelectionsList.value = searchTableSelections |
|
|
const {tableObject, tableMethods } = useTable({ |
|
|
const {tableObject, tableMethods } = useTable({ |
|
|
getListApi: getPage.value // 分页接口 |
|
|
getListApi: getPage.value // 分页接口 |
|
|
}) |
|
|
}) |
|
|