|  |  | 
 |  |  |         mounted() { | 
 |  |  |             this.loadData(); | 
 |  |  |             this.$byutil.postData(this, this.$systemconfig.basePath+'/park/findAll', this.formData, res => { | 
 |  |  |                 this.table1 = res.obj; | 
 |  |  |                 this.table1 = res.data; | 
 |  |  |             }) | 
 |  |  |         }, | 
 |  |  |         methods: { | 
 |  |  | 
 |  |  |                         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 { | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             onAdd() { | 
 |  |  |                 this.flag=true; | 
 |  |  |                 this.flag2=false; | 
 |  |  |                 this.$refs['formData'].resetFields(); | 
 |  |  |                 this.formData = { | 
 |  |  |                     carNo: '', | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             onDelete(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(); | 
 |  |  |                 }) | 
 |  |  |             }, |