| | |
| | | this.formData = row; |
| | | }, |
| | | onDelete(index, row) { |
| | | this.$byutil.deleteData(this,this.urlPath+"delete",{id:row.id}, res => { |
| | | this.$confirm('是否确定删除?','提示',{ |
| | | confirmButtonText:'确定', |
| | | cancelButtonText:'取消', |
| | | type:'warning' |
| | | }).then(() => { |
| | | this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/ticketblack/delete', {id:row.id}, res => { |
| | | if(res.code===0){ |
| | | this.$message({message: '删除成功', type: 'success'}); |
| | | this.loadData(); |
| | | }else { |
| | | this.$message({message: res.message, type: 'error'}); |
| | | } |
| | | }) |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type:'info', |
| | | message:"已取消" |
| | | }) |
| | | }) |
| | | |
| | | }, |
| | | onPageSizeChange(val) { |
| | | this.pageData.pageSize = val; |
| | |
| | | <el-select v-model="formData.type"> |
| | | <el-option label="停车场管理员" :value=0></el-option> |
| | | <el-option label="执法人员" :value=1></el-option> |
| | | <el-option label="系统管理员" :value=2></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="管理停车场" prop="parkIds"> |