소스 검색

修改规划选址展示单位

lkk 1 년 전
부모
커밋
4f59e432b4
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      src/views/siteselection/components/xzjg.vue

+ 6 - 6
src/views/siteselection/components/xzjg.vue

@@ -29,7 +29,7 @@
             <div class="collapseCon">
             <div class="collapseCon">
               <p class="oneItem">
               <p class="oneItem">
                 <span>{{ item1.kzxxgydmc }}</span>
                 <span>{{ item1.kzxxgydmc }}</span>
-                <span>{{ item1.area.toFixed(2) }}平方米</span>
+                <span>{{ (item1.area * 0.0015).toFixed(2) }}亩</span>
               </p>
               </p>
               <p style="color: #cddeeb">
               <p style="color: #cddeeb">
                 <img src="/static/images/ghzc/iconSun.png" />
                 <img src="/static/images/ghzc/iconSun.png" />
@@ -73,7 +73,7 @@
             <div class="collapseCon">
             <div class="collapseCon">
               <p class="oneItem">
               <p class="oneItem">
                 <span>{{ item.kzxxgydmc }}</span>
                 <span>{{ item.kzxxgydmc }}</span>
-                <span>{{ item.area.toFixed(2) }}平方米</span>
+                <span>{{ (item.area * 0.0015).toFixed(2) }}亩</span>
               </p>
               </p>
               <p style="color: #cddeeb">
               <p style="color: #cddeeb">
                 <!-- <i class="iconSun"></i> -->
                 <!-- <i class="iconSun"></i> -->
@@ -155,7 +155,7 @@ export default {
       copyData: null,
       copyData: null,
       arrww: [],
       arrww: [],
       dataSources: {},
       dataSources: {},
-      tempdataSourcesId:null,
+      tempdataSourcesId: null,
     };
     };
   },
   },
   mounted() {
   mounted() {
@@ -254,7 +254,7 @@ export default {
             offset: new Cesium.HeadingPitchRange(0, -45, 5000),
             offset: new Cesium.HeadingPitchRange(0, -45, 5000),
           });
           });
           if (id) {
           if (id) {
-            this.tempdataSourcesId = id
+            this.tempdataSourcesId = id;
             _this.dataSources[id] = dataSource;
             _this.dataSources[id] = dataSource;
           }
           }
         });
         });
@@ -334,11 +334,11 @@ export default {
       }
       }
     },
     },
     //监听区域id的变化,用于删除上一次点击生成的geojson区域面
     //监听区域id的变化,用于删除上一次点击生成的geojson区域面
-    tempdataSourcesId(newVal,oldVal){
+    tempdataSourcesId(newVal, oldVal) {
       if (oldVal) {
       if (oldVal) {
         viewer.dataSources.remove(this.dataSources[oldVal]);
         viewer.dataSources.remove(this.dataSources[oldVal]);
       }
       }
-    }
+    },
   },
   },
 
 
   beforeDestroy() {
   beforeDestroy() {