|
|
@ -1,9 +1,9 @@ |
|
|
|
<template> |
|
|
|
<Dialog :title="dialogTitle" v-model="searchDialogVisible" :width="dialogWidth" > |
|
|
|
<!-- 搜索工作栏 --> |
|
|
|
<!-- <ContentWrap> |
|
|
|
<ContentWrap v-if="searchQuery"> |
|
|
|
<Search :schema="searchSchema" @search="setSearchParamsRef" @reset="setSearchParamsRef" /> |
|
|
|
</ContentWrap> --> |
|
|
|
</ContentWrap> |
|
|
|
|
|
|
|
<!-- 列表头部 --> |
|
|
|
<TableHead |
|
|
@ -44,7 +44,13 @@ |
|
|
|
</template> |
|
|
|
<script setup lang="ts"> |
|
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
showSearchTableQueryFields:{ |
|
|
|
type: Array, |
|
|
|
required: false, |
|
|
|
default: [] |
|
|
|
} |
|
|
|
}) |
|
|
|
const { t } = useI18n() // 国际化 |
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
|
|
|
|
@ -83,7 +89,7 @@ const rowRef = ref() |
|
|
|
const allSchemasRef = ref() |
|
|
|
const searchConditionRef = ref() |
|
|
|
const searchTableSelectionsList = ref()//表格弹窗回显的列表 |
|
|
|
|
|
|
|
const searchQuery = ref(false) |
|
|
|
const openData = (titleName: any, tableObject:any ,allSchemas: any,multiple: any) => { |
|
|
|
dialogWidth.value = '80%' |
|
|
|
multipleBol.value = multiple |
|
|
@ -103,6 +109,7 @@ const openData = (titleName: any, tableObject:any ,allSchemas: any,multiple: any |
|
|
|
tableColumns.value = allSchemas.tableColumns |
|
|
|
} |
|
|
|
const open = (titleName: any, allSchemas: any,getApiPage: any, formField: any, searchField: any,multiple: any, type: any, row: any, searchCondition:any , isCountRequestRe:any,isConcatDetailSchemas=false,detailSchemas: any, searchTableSelections:any) => { |
|
|
|
searchQuery.value = props.showSearchTableQueryFields.find(item=>item==formField)?true:false |
|
|
|
dialogWidth.value = '80%' |
|
|
|
multipleBol.value = multiple |
|
|
|
HeadButttondata.value = multiple?[ |
|
|
|