From 6eeb8a83dfe8501d5038371d171d28be8988cbd3 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 08 一月 2024 11:14:12 +0800 Subject: [PATCH] 上传代码 --- Source/UBCS-WEB/src/components/template/Stage.vue | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/Stage.vue b/Source/UBCS-WEB/src/components/template/Stage.vue index f2e0671..3d897db 100644 --- a/Source/UBCS-WEB/src/components/template/Stage.vue +++ b/Source/UBCS-WEB/src/components/template/Stage.vue @@ -1,14 +1,16 @@ <template> <div v-if="Formlist.length>0"> - <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :table-loading="loading" - @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage" - @row-click="handleRowClick"> - <template slot="menu" slot-scope="{type,size,row,index}"> - <el-button :size="size" :type="type" icon="el-icon-check" - @click="handleMaintenance(row, index)">缁存姢 - </el-button> - </template> - </avue-crud> + <div style="height: calc(100vh - 553px)"> + <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :table-loading="loading" + @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage" + @row-click="handleRowClick"> + <template slot="menu" slot-scope="{type,size,row,index}"> + <el-button :size="size" :type="type" icon="el-icon-check" + @click="handleMaintenance(row, index)">缁存姢 + </el-button> + </template> + </avue-crud> + </div> <el-dialog :visible.sync="dialogNode" append-to-body="true" title="妯℃澘闃舵" width="50%"> <avue-crud ref="crud" :data="stageData" :option="stageOption" :table-loading="loading" @on-load="getStagelist" @row-click="handleRowStageClick"> @@ -53,7 +55,6 @@ }, data() { const options = { - height: "auto", border: true, addBtn: false, align: 'center', @@ -109,7 +110,7 @@ ], option: { ...options, - height: 383, + height: 330, column: [ {label: '妯℃澘缂栧彿', prop: 'modelKey'}, {label: '妯℃澘鍚嶇О', prop: 'modelName'}, -- Gitblit v1.9.3