|
@@ -4,7 +4,7 @@
|
|
|
<splitpanes class="h100" Vertical>
|
|
|
<pane min-size="16" max-size="25" size="16" class="orgTree">
|
|
|
<el-input v-model="filterText" placeholder="类型名称" clearable />
|
|
|
- <el-scrollbar style="height: calc(100% - 40px)" class="pr10 mt10">
|
|
|
+ <el-scrollbar style="height: calc(100% - 40px)" class="mt10">
|
|
|
<template v-if="state.dicTypeList.length">
|
|
|
<el-tree
|
|
|
v-loading="state.loading"
|
|
@@ -27,7 +27,6 @@
|
|
|
</el-scrollbar>
|
|
|
</pane>
|
|
|
<pane class="rightContent">
|
|
|
- <el-scrollbar class="pr10">
|
|
|
<div class="flex-column">
|
|
|
<el-row class="mb20" :gutter="10">
|
|
|
<el-col :xs="24" :sm="12" :md="18" :lg="18" :xl="18">
|
|
@@ -64,7 +63,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<!-- 表格 -->
|
|
|
- <el-auto-resizer class="table" v-loading="state.tableLoading">
|
|
|
+ <el-auto-resizer class="table" v-loading="state.tableLoading" style="height: calc(100% - 40px)">
|
|
|
<template #default="{ height, width }">
|
|
|
<el-table-v2
|
|
|
v-model:expanded-row-keys="state.expandedRowKeys"
|
|
@@ -83,7 +82,6 @@
|
|
|
</template>
|
|
|
</el-auto-resizer>
|
|
|
</div>
|
|
|
- </el-scrollbar>
|
|
|
</pane>
|
|
|
</splitpanes>
|
|
|
</div>
|
|
@@ -141,7 +139,7 @@ const state = reactive<any>({
|
|
|
key: 'sort',
|
|
|
dataKey: 'sort',
|
|
|
title: '排序',
|
|
|
- width: 150,
|
|
|
+ width: 120,
|
|
|
},
|
|
|
{
|
|
|
key: 'creationTime',
|
|
@@ -339,7 +337,6 @@ onActivated(() => {
|
|
|
}
|
|
|
.rightContent {
|
|
|
height: 100%;
|
|
|
- width: 100%;
|
|
|
.flex-column {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|