This commit is contained in:
linfso 2024-09-18 19:02:43 +08:00
parent a1d06cba1a
commit 7abfc3ac96
2 changed files with 93 additions and 76 deletions

View File

@ -1,6 +1,7 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> <XdPageContainer>
<el-form slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
<el-form-item label="部门名称" prop="deptName"> <el-form-item label="部门名称" prop="deptName">
<el-input <el-input
v-model="queryParams.deptName" v-model="queryParams.deptName"
@ -37,6 +38,10 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="pageContent"
slot-scope="slotProps"
>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
@ -61,6 +66,8 @@
</el-row> </el-row>
<el-table <el-table
:height="(slotProps.contentHeight)+'px'"
v-if="refreshTable" v-if="refreshTable"
v-loading="loading" v-loading="loading"
:data="deptList" :data="deptList"
@ -108,6 +115,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div>
<!-- 添加或修改部门对话框 --> <!-- 添加或修改部门对话框 -->
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
@ -179,6 +187,7 @@
<el-button @click="cancel">取 消</el-button> <el-button @click="cancel">取 消</el-button>
</div> </div>
</el-dialog> </el-dialog>
</XdPageContainer>
</div> </div>
</template> </template>

View File

@ -1,6 +1,8 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<search-form :model="queryParams" ref="queryForm" size="small" :maxShow="3" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery"> <XdPageContainer>
<search-form slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :maxShow="3" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery">
<el-form-item label="" prop="content"> <el-form-item label="" prop="content">
<el-input <el-input
@ -49,7 +51,13 @@
</search-form> </search-form>
<xd-table v-loading="loading" <xd-table
slot="pageContent"
slot-scope="slotProps"
:height="(slotProps.contentHeight)+'px'"
v-loading="loading"
border border
size="small" size="small"
:data="sysTransTextList" :data="sysTransTextList"
@ -261,7 +269,7 @@
<sysTransTextView :id="id" ></SysTransTextView> <sysTransTextView :id="id" ></SysTransTextView>
</el-dialog> </el-dialog>
--> -->
</XdPageContainer>
</div> </div>
</template> </template>