|
@@ -198,8 +198,8 @@ export default {
|
|
|
this.$message.error('请输入车牌号')
|
|
|
} else {
|
|
|
this.$http.post('/sc-community-web/parkingCar/modifyPlateNumber', { oldplateNo: (this.params.row.plateNo == "" ? this.licensePlate : this.params.row.plateNo), plateNo: this.licensePlate, parkId: this.params.parkId }).then(({ data, status, msg }) => {
|
|
|
- // console.log(data);
|
|
|
this.$message.success('成功');
|
|
|
+ this.sumber();
|
|
|
});
|
|
|
}
|
|
|
|
|
@@ -209,12 +209,16 @@ export default {
|
|
|
},
|
|
|
vehicle () {
|
|
|
this.flags = !this.flags
|
|
|
- // console.log(this.vehicleType);
|
|
|
this.$http.post('/sc-community-web/parkingCar/modifyType', { carStyle: this.vehicleType, parkId: this.params.parkId, plateNo: this.licensePlate }).then(({ data, status, msg }) => {
|
|
|
- // console.log(data);
|
|
|
this.$message.success('成功');
|
|
|
+ this.sumber();
|
|
|
});
|
|
|
},
|
|
|
+ sumber () {
|
|
|
+ // resolve
|
|
|
+ this.params.callback();
|
|
|
+
|
|
|
+ },
|
|
|
// OnSiteVehicleDetails () {
|
|
|
// debugger
|
|
|
// this.$http.post('/sc-community-web/parkingCar/queryPresenceVehicles', { parkId: this.params.parkId, nodeId: this.params.nodeId }).then(({ data, status, msg }) => {
|
|
@@ -223,6 +227,7 @@ export default {
|
|
|
// },
|
|
|
},
|
|
|
created () {
|
|
|
+ debugger
|
|
|
console.log(this.params.row);
|
|
|
this.cols[0].label = this.params.row.parkName;
|
|
|
this.cols[1].label = this.params.row.plateNo;
|