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>
<Dialog :title="dialogTitle" v-model="searchDialogVisible" style="height: 70%;width: 80%;">
<div class="searchHeardClass">
<Dialog :title="dialogTitle" v-model="searchDialogVisible" :width="'80%'">
<!-- 搜索工作栏 -->
<Search :schema="searchSchema" @search="setSearchParamsRef" @reset="setSearchParamsRef" />
</div>
<div class="searchTableClass">
<Table
ref="searchTableRef"
:columns="tableColumns"
@ -18,7 +15,6 @@
v-model:sort="tableObjectRef.sort"
:selection="true"
/>
</div>
<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>
Loading…
Cancel
Save