Hwt 2 lat temu
rodzic
commit
1b4de47e7c

+ 2 - 4
operationSupport/src/views/businessManagement/InvestmentResources/stepPage/add.vue

@@ -352,7 +352,7 @@ export default {
             this.rentSaleType = data.salesType == 1 ? '可租可售' : data.salesType == 2 ? '只租' : '只售';
             this.houseType = data.buildingType == 1 ? '住宅' : '商用';
             this.floor = data.floorNumber;
-            this.orientation = data.orientationOfRoom == 1 ? '东' : data.orientationOfRoom == 2 ? '南' : data.orientationOfRoom == 3 ? '西' : data.orientationOfRoom == 4 ? '北' : data.orientationOfRoom == 5 ? '东南' : data.orientationOfRoom == 6 ? '西南' : data.orientationOfRoom == 7 ? '西北' : '东北';
+            this.orientation = data.orientationOfRoom == 1 ? '东' : data.orientationOfRoom == 2 ? '南' : data.orientationOfRoom == 3 ? '西' : data.orientationOfRoom == 4 ? '北' : data.orientationOfRoom == 5 ? '东南' : data.orientationOfRoom == 6 ? '西南' : data.orientationOfRoom == 7 ? '西北' : data.orientationOfRoom == 8 ? '东北' : '-';
             if (data.housingType != null) {
               let housingTypes = data.housingType.split(':');
               this.house = (housingTypes[0] == '' ? '-' : housingTypes[0]) + '室' + (housingTypes[1] == '' ? '-' : housingTypes[1]) + '厅' + (housingTypes[2] == '' ? '-' : housingTypes[2]) + '卫'
@@ -384,10 +384,8 @@ export default {
     houseRentFind () {
       this.$http.post(`/czc-community/house/rent/out/find/${this.params.data.rentOutId}`).then(({ status, data, msg }) => {
         if (status == 0) {
-          // debugger
           var dataHouseId = data.houseId;
           this.formData = data;
-
           this.formData.config = (data.config).split(',');
           this.formData.highLights = (data.highLights).split(',');
           this.formData.requirement = (data.requirement).split(',');
@@ -398,7 +396,7 @@ export default {
           this.formData.leaseType = this.formData.leaseType + '';
 
           this.formData.houseId = [];
-          if (data.unitName != null) {
+          if (data.unitName != null && data.unitName != '') {
             this.formData.houseId.push(data.communityId + '');
             this.formData.houseId.push(data.buildingId + '');
             this.formData.houseId.push(data.unitName);

+ 5 - 2
operationSupport/src/views/patrolManagement/PatrolStatistics.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author:韩玮涛
  * @Date: 2022-08-08 09:38:04
- * @LastEditTime: 2022-08-08 15:22:09
+ * @LastEditTime: 2022-08-08 15:50:51
  * @LastEditors: D4THYL3
  * @Description: In User Settings Edit
  * @FilePath: \operationSupport\src\views\patrolManagement\PatrolStatistics.vue
@@ -253,7 +253,10 @@ export default {
     },
     mixins_search () {
       console.log('11');
-    }
+    },
+    exportExcel () {
+      // this.__exportExcel('/czc-community/assets/building/export/excel');
+    },
   },
   created () {
     this.communityNameList();