|
|
@ -1,24 +1,20 @@ |
|
|
|
<template> |
|
|
|
<Dialog :title="dialogTitle" v-model="searchDialogVisible" style="height: 70%;width: 80%;"> |
|
|
|
<div class="searchHeardClass"> |
|
|
|
<!-- 搜索工作栏 --> |
|
|
|
<Search :schema="searchSchema" @search="setSearchParamsRef" @reset="setSearchParamsRef" /> |
|
|
|
</div> |
|
|
|
<div class="searchTableClass"> |
|
|
|
<Table |
|
|
|
ref="searchTableRef" |
|
|
|
:columns="tableColumns" |
|
|
|
:data="tableObjectRef.tableList" |
|
|
|
:loading="tableObjectRef.loading" |
|
|
|
:pagination="{ |
|
|
|
total: tableObjectRef.total |
|
|
|
}" |
|
|
|
v-model:pageSize="tableObjectRef.pageSize" |
|
|
|
v-model:currentPage="tableObjectRef.currentPage" |
|
|
|
v-model:sort="tableObjectRef.sort" |
|
|
|
:selection="true" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<Dialog :title="dialogTitle" v-model="searchDialogVisible" :width="'80%'"> |
|
|
|
<!-- 搜索工作栏 --> |
|
|
|
<Search :schema="searchSchema" @search="setSearchParamsRef" @reset="setSearchParamsRef" /> |
|
|
|
<Table |
|
|
|
ref="searchTableRef" |
|
|
|
:columns="tableColumns" |
|
|
|
:data="tableObjectRef.tableList" |
|
|
|
:loading="tableObjectRef.loading" |
|
|
|
:pagination="{ |
|
|
|
total: tableObjectRef.total |
|
|
|
}" |
|
|
|
v-model:pageSize="tableObjectRef.pageSize" |
|
|
|
v-model:currentPage="tableObjectRef.currentPage" |
|
|
|
v-model:sort="tableObjectRef.sort" |
|
|
|
:selection="true" |
|
|
|
/> |
|
|
|
<template #footer> |
|
|
|
<div class="flex items-center"> |
|
|
|
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button> |
|
|
@ -89,15 +85,4 @@ const submitForm = async () => { |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style scoped lang="scss"> |
|
|
|
.searchDialogClass{ |
|
|
|
height: 60% !important; |
|
|
|
width: 80% !important; |
|
|
|
} |
|
|
|
.searchHeardClass{ |
|
|
|
height: 50px; |
|
|
|
} |
|
|
|
.searchTableClass{ |
|
|
|
height: 450px; |
|
|
|
overflow-y: auto; |
|
|
|
} |
|
|
|
</style> |