Hwt 2 years ago
parent
commit
358d786c29

+ 1 - 1
operationSupport/src/views/communityManagement/pageJump/AddOrEdit.vue

@@ -76,7 +76,7 @@
         <el-form-item label="住宅面积(㎡)">
           <el-input v-model="ruleForm.dwellingArea"></el-input>
         </el-form-item>
-        <el-form-item label="绿化面积(㎡)">
+        <el-form-item label="公共面积(㎡)">
           <el-input v-model="ruleForm.greenArea"></el-input>
         </el-form-item>
         <el-form-item label="车位面积(㎡)">

+ 5 - 1
operationSupport/src/views/patrolManagement/popups/patrolDetails.vue

@@ -81,6 +81,7 @@
             <el-table-column
               prop="patrolDate"
               label="巡更日期"
+              width="110"
             >
             </el-table-column>
             <el-table-column
@@ -276,7 +277,7 @@ export default {
 
     standard () {
       this.$http.get('/czc-community/patrol/record/standard/detail', { recordId: this.thisObj.id }).then(({ data, status, msg }) => {
-        if (status == 0) {
+        if (status == 0 && data != null) {
 
           this.tableData.communityName = data.communityName;
           this.tableData.routeName = data.routeName;
@@ -301,6 +302,8 @@ export default {
             }
           }
 
+        } else {
+          this.tableData = [];
         }
       });
     },
@@ -379,6 +382,7 @@ export default {
 
       this.standard();
     } else {
+      this.thisObj.patrolDate = (this.thisObj.patrolDate).substr(0, 10);
       this.tableData.push(this.thisObj);
       this.getDetail(this.thisObj.id);
       this.getTrack(this.thisObj.id);