| | |
| | | |
| | | <el-table :data="pageData.rows" 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="name" label="停车场名称" align="center"></el-table-column> |
| | | <el-table-column prop="name" label="停车场名称" align="center" width="350"></el-table-column> |
| | | <el-table-column prop="code" label="编号" align="center" width="80"></el-table-column> |
| | | <el-table-column prop="num" label="车位数量" align="center" width="80"></el-table-column> |
| | | <el-table-column prop="num" label="计划车位数量" align="center" width="120"></el-table-column> |
| | | <el-table-column prop="carNum" label="场内泊车数量" align="center" width="120"></el-table-column> |
| | | <el-table-column prop="content" label="描述" align="center"></el-table-column> |
| | | <el-table-column label="操作" fixed="right" width="250" align="center"> |
| | | <template slot-scope="scope"> |
| | |
| | | phone: '', |
| | | type: '', |
| | | }, |
| | | urlPath:this.$systemconfig.basePath + '/park/', |
| | | urlPath:this.$systemconfig.basePath + '/ffzf/park/', |
| | | id:null, |
| | | } |
| | | }, |
| | |
| | | this.$byutil.postData(this, this.urlPath+'save', this.formData, res => { |
| | | this.$refs['formData'].resetFields(); |
| | | this.flag=false; |
| | | this.$message({message: res.message, type: 'success'}); |
| | | this.$message({message: '保存成功', type: 'success'}); |
| | | this.loadData(); |
| | | }) |
| | | } else { |
| | |
| | | }, |
| | | onDelete(index, row) { |
| | | this.$byutil.deleteData(this,this.urlPath+"delete",{id:row.id}, res => { |
| | | this.$message({message: res.message, type: 'success'}); |
| | | this.$message({message: '删除成功', type: 'success'}); |
| | | this.loadData(); |
| | | }) |
| | | }, |
| | |
| | | |
| | | <style scoped> |
| | | |
| | | </style> |
| | | </style> |