Hwt 2 år sedan
förälder
incheckning
4d22d94631

+ 2 - 2
smart/src/views/onSiteVehicles/index.js

@@ -63,9 +63,9 @@ export default {
                         if (val == 0) {
                             return '小轿车';
                         } else if (val == 1) {
-                            return '大轿车';
+                            return '大车';
                         } else if (val == 2) {
-                            return '货车(中型)';
+                            return '货车';
                         } else if (val == 3) {
                             return '摩托车';
                         } else if (val == 4) {

+ 7 - 2
smart/src/views/onSiteVehicles/setpPage/details.vue

@@ -198,7 +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);
+          // console.log(data);
+          this.$message.success('成功');
         });
       }
 
@@ -208,8 +209,12 @@ 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('成功');
+      });
 
-      console.log(this.vehicleType);
     },
     // OnSiteVehicleDetails () {
     // debugger