D4THYL3\long vor 3 Jahren
Ursprung
Commit
5c668c8c66

+ 9 - 4
smart/src/views/channelManagement/index.vue

@@ -144,8 +144,10 @@ export default {
         // console.log('status', status);
         if (status == 0) {
           this.$message.success('开闸成功');
+        } else {
+          this.$message.error('开闸失败');
         }
-        this.$message.error('开闸失败');
+
       })
     },
     // 关闸
@@ -154,8 +156,9 @@ export default {
         // console.log('status', status);
         if (status == 0) {
           this.$message.success('关闸成功');
+        } else {
+          this.$message.error('关闸失败');
         }
-        this.$message.error('关闸失败');
       })
     },
     // 强制常开
@@ -164,8 +167,9 @@ export default {
         // console.log('status', status);
         if (status == 0) {
           this.$message.success('强制常开成功');
+        } else {
+          this.$message.error('强制常开失败');
         }
-        this.$message.error('强制常开失败');
       })
     },
     // 结束常开
@@ -174,8 +178,9 @@ export default {
         // console.log('status', status);
         if (status == 0) {
           this.$message.success('强制常开成功');
+        } else {
+          this.$message.error('强制常开失败');
         }
-        this.$message.error('强制常开失败');
       })
     }
   },

+ 2 - 2
smart/src/views/parkingSpaceManagement/parkingSpaceList.vue

@@ -50,7 +50,7 @@
             @click="addOrEdit('add')"
           ></i>
         </el-tooltip>
-        <el-tooltip
+        <!-- <el-tooltip
           class="item"
           effect="light"
           placement="bottom"
@@ -60,7 +60,7 @@
             class="zoniot_font zoniot-icon-shanchu2"
             @click="deleteRow"
           ></i>
-        </el-tooltip>
+        </el-tooltip> -->
       </div>
     </div>
     <div>

+ 3 - 0
smart/src/views/rechargeRecord/index.vue

@@ -93,6 +93,9 @@ export default {
     }
   },
   methods: {
+    exportExcel () {
+      this.__exportExcel('/sc-community-web/parkingCar/getChargeInfoExcel');
+    },
     timeToggle (e) {
       console.log(e);
       let start = '00:00:00',

+ 4 - 0
smart/src/views/vehicleInformation/index.vue

@@ -167,9 +167,13 @@ export default {
       }
       if (command === 'template') {
         // this.__exportExcel('/sc-community/excel/download/template', { importType: 'FACILITY' });
+        this.__exportExcel('/sc-community-web/parkingCar/getCarInfoExcel');
         return;
       }
     },
+    exportExcel () {
+      this.__exportExcel('/sc-community-web/parkingCar/getCarInfoExcel');
+    },
     details (row) {
       // 添加
       new Promise((resolve) => {

+ 14 - 0
smart/src/views/vehicleInformation/setpPage/configure.vue

@@ -77,6 +77,18 @@ export default {
 
       this.$emit('close');
     },
+    // 车牌颜色
+    vehiColor () {
+      debugger
+      this.$http
+        .get('/sc-user-center/dict/selectListByPCodes', { parentDictCodes: 'CAR_NO_COLOR' })
+        .then(({ data, msg, status }) => {
+          console.log('data', data);
+        })
+        .catch(() => { });
+    },
+    // 车身颜色
+    // LICENSE_PLATE
   },
   created () {
     this.form.vehicleType = this.params.form[this.params.id].vehicleType;
@@ -84,6 +96,8 @@ export default {
     this.form.vehicleColors = this.params.form[this.params.id].vehicleColors;
     this.form.vehicleBrand = this.params.form[this.params.id].vehicleBrand;
     this.form.id = this.params.id;
+
+    this.vehiColor();
   }
 }
 </script>