From 1fdb81a91f5f4092e927d2d9a7cc9ff4d231fca4 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期二, 07 一月 2025 16:43:41 +0800
Subject: [PATCH] 月付页面细节
---
src/components/page/costRule/index.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/components/page/costRule/index.vue b/src/components/page/costRule/index.vue
index 4dce309..cc45dac 100644
--- a/src/components/page/costRule/index.vue
+++ b/src/components/page/costRule/index.vue
@@ -2,9 +2,11 @@
<div>
<div style="padding: 10px 10px 0px 10px;">
<el-form :inline="true" :model="searchForm">
- <el-select v-model="searchForm.parkId">
- <el-option v-for="item in table1" :key="item.id" :label="item.name" :value="item.id"></el-option>
- </el-select>
+ <el-form-item label="鍋滆溅鍦�">
+ <el-select v-model="searchForm.parkId" clearable>
+ <el-option v-for="item in table1" :key="item.id" :label="item.name" :value="item.id" ></el-option>
+ </el-select>
+ </el-form-item>
<el-form-item>
<el-button type="primary" size="small" @click="onSearch" icon="el-icon-search">鏌ヨ</el-button>
<el-button type="primary" size="small" @click="onAdd" icon="el-icon-plus">澧炲姞</el-button>
@@ -12,7 +14,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 +175,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