Browse Source

搜索页面调整

master
陈薪名 1 year ago
parent
commit
7be1397310
  1. 17
      src/components/SearchTable/src/SearchTable.vue

17
src/components/SearchTable/src/SearchTable.vue

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