| | |
| | | <el-table-column prop="startTime" label="月票开始日期" align="center"></el-table-column> |
| | | <el-table-column prop="endTime" label="月票结束日期" align="center"></el-table-column> |
| | | <el-table-column prop="name" label="停车场" align="center"></el-table-column> |
| | | <el-table-column prop="createBy" label="操作人" align="center"></el-table-column> |
| | | <el-table-column label="操作" fixed="right" width="150" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" @click="onEdit(scope.row)">编辑</el-button> |
| | |
| | | startTime: '', |
| | | parkIds: null, |
| | | name: '', |
| | | createBy:'', |
| | | updateBy:'' |
| | | }, |
| | | ids:[], |
| | | urlPath:this.$systemconfig.basePath + '/ffzf/whiteList/', |
| | | table1:[], |
| | | userName:'', |
| | | tableHeight:500, |
| | | } |
| | | }, |
| | | mounted() { |
| | | let username = localStorage.getItem('name') |
| | | this.formData.createBy = username |
| | | this.userName = username |
| | | this.loadData(); |
| | | this.$byutil.postData(this, this.$systemconfig.basePath+'/ffzf/park/findAll', this.formData, res => { |
| | | this.table1 = res.data; |
| | |
| | | this.flag=true; |
| | | this.ids = [] |
| | | this.formData = row; |
| | | this.formData.updateBy = this.userName |
| | | if(row.type==1){ |
| | | this.ids = this.formData.parkIds.split(",") |
| | | this.ids = this.ids.map(function(data){ |