From 3342e77756618c7b6ee47dbb309401696d4d72d1 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期一, 05 六月 2023 18:07:53 +0800 Subject: [PATCH] 修改前端页面 --- src/components/page/costRule/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/page/costRule/index.vue b/src/components/page/costRule/index.vue index 4dce309..16a8784 100644 --- a/src/components/page/costRule/index.vue +++ b/src/components/page/costRule/index.vue @@ -12,7 +12,7 @@ </el-form> </div> - <el-table :data="pageData.rows" v-loading="pageData.isLoading" border style="width:100%;border:1px solid #bcbec2;"> + <el-table :data="pageData.rows" :height="tableHeight" v-loading="pageData.isLoading" border style="width:100%;border:1px solid #bcbec2;"> <el-table-column type="index" width="50" label="搴忓彿" align="center"> </el-table-column> <el-table-column prop="parkName" label="鍋滆溅鍦�" align="center" width="150"></el-table-column> <el-table-column prop="armyCar" label="鍐涜溅鏄惁鍏嶈垂" align="center" width="100"> @@ -173,15 +173,17 @@ freeTime:0, parkId:null }, - urlPath:this.$systemconfig.basePath + '/rule/', + urlPath:this.$systemconfig.basePath + '/ffzf/rule/', table1:[], + tableHeight:500, } }, mounted() { this.loadData(); - this.$byutil.postData(this, this.$systemconfig.basePath+'/park/findAll', this.formData, res => { + this.$byutil.postData(this, this.$systemconfig.basePath+'/ffzf/park/findAll', this.formData, res => { this.table1 = res.data; }) + this.tableHeight = window.innerHeight - 260 }, methods: { onSave(){ -- Gitblit v1.9.1