Hwt 2 anni fa
parent
commit
68a044c2bb

+ 5 - 3
smart/src/views/parkingSpaceManagement/pageJump/parkingLotSaveEdits.vue

@@ -153,7 +153,8 @@ export default {
       codingStatus: true, //编码状态
       ruleForm: {
         communityId: '', //社区id
-        garageAreaId: '', //车库区域id
+        // garageAreaId: '', //车库区域id
+        areaCode: '',
         prefix: '', //前缀名称
         parkingBeginNumber: '', //车位起始编号
         parkingEndNumber: '', //车位结束编号
@@ -270,7 +271,7 @@ export default {
         res.data.map((res) => {
           onOption = {
             label: res.areaName,
-            id: res.id
+            id: res.areaCode
           };
           this.garageAreaList.push(onOption);
         });
@@ -278,7 +279,8 @@ export default {
     },
 
     garageAreaChoice (e) {
-      this.ruleForm.garageAreaId = e;
+      debugger
+      this.ruleForm.areaCode = e;
     }
   },
   created () {

+ 3 - 1
smart/src/views/vehicleInformation/index.vue

@@ -198,7 +198,9 @@ export default {
       }
       if (command === 'template') {
         // this.__exportExcel('/sc-community/excel/download/template', { importType: 'FACILITY' });
-        this.__exportExcel('/sc-community-web/excel/download/template', { importType: 'CAR' });
+        // this.__exportExcel('/sc-community-web/excel/download/template', { importType: 'CAR' });
+        this.__exportExcel(' /sc-community-web/excel/import/excel', { importType: 'CAR' });
+        // /sc-community-web/excel/import/excel
         return;
       }
     },

+ 5 - 1
smart/src/views/vehicleInformation/setpPage/details.vue

@@ -208,16 +208,17 @@
           style="width: 100%"
           :cell-style="{'text-align':'center'}"
         >
-
           <el-table-column
             label="可停区域"
             align="center"
           >
             <template slot-scope="scope">
+              <span style="width: 5px;color: #F56C6C;">*</span>
               <el-form-item
                 prop="parkingArea"
                 ref="againValue"
               >
+
                 <el-select
                   placeholder="请选择"
                   v-model="tableData[scope.$index].parkingArea"
@@ -302,17 +303,20 @@
           style="width: 100%"
           :cell-style="{'text-align':'center'}"
         >
+
           <el-table-column
             label="车牌号码"
             align="center"
             width="230"
           >
             <template slot-scope="scope">
+              <span style="width: 100%;color: #F56C6C;display: flex; justify-content: center;">*</span>
               <el-col :span="10">
                 <el-form-item
                   prop="againInput"
                   ref="againInput"
                 >
+
                   <el-select v-model="parkingSpaceSetting[scope.$index].licensePlate">
 
                     <el-option

+ 4 - 5
smart/src/views/vehicleInformation/setpPage/native.vue

@@ -82,7 +82,6 @@ export default {
     /** 控制树形单选 */
     checkChange (data, checked) {
       this.checkedData = {}
-      debugger
       if (checked) {
         if (!!data.children && data.children.length > 0) {
           console.log("有子节点不可选")
@@ -103,14 +102,14 @@ export default {
 
     },
     submit () {
-      debugger
+
       this.positionInformation.push({ positionInformation: this.Information, id: this.id, value: this.value });
       this.params.callback(this.positionInformation);
       this.$emit('close');
     },
 
     filterTreeData (trData) {
-      debugger
+      console.log(trData)
       trData.map((item, index) => {
         if (this.isNotEmpty(item.children)) {
           item.disabled = true;
@@ -124,9 +123,9 @@ export default {
       return arr && Array.isArray(arr) && arr.length > 0;
     },
     thisCheck (ev, node, data) {
-      debugger
+
       if (!data.disabled) {
-        node.checked = !node.checked;
+        node.checked = node.checked;
       }
     },
     garage () {