Browse Source

收储进度

zpf 1 year ago
parent
commit
ae15cd7e98
2 changed files with 4 additions and 15 deletions
  1. 1 3
      src/store/store.js
  2. 3 12
      src/views/viewer1.vue

+ 1 - 3
src/store/store.js

@@ -208,9 +208,7 @@ var store2 = {
     setCockpitHysyText(newValue) {
         this.state.cockpit_hysy.text = newValue;
     },
-    setCockpitTdsc(newValue) {
-        this.state.cockpit_tdsc.flag = newValue;
-    }, setCockpitDate(newValue) {
+    setCockpitDate(newValue) {
         this.state.cockpit_date = newValue;
     }, setCockpitGkzb(newValue) {
         this.state.cockpit_gkzb = newValue;

+ 3 - 12
src/views/viewer1.vue

@@ -95,7 +95,7 @@ export default {
             this.$refs.gdbh_ref.setData({ id: this.params.id });
             // this.$refs.stxf_ref.setData({ id: this.params.id });
             this.$refs.wpjg_ref.setData(this.params);
-            this.$refs.tdsc_ref.init_scjd (this.params);
+            this.$refs.tdsc_ref.init_scjd(this.params);
 
         },
         dateChange(date) {
@@ -232,8 +232,6 @@ export default {
                         that.setDatas()
                         // 驾驶舱海域使用权
                         that.hysyq(adcode);
-                        // 驾驶舱土地收储
-                        that.tdsc_xzqh(adcode);
                         // 管控指标
                         that.gkzb_xzqh(adcode);
                         viewer.entities.values.forEach((res) => {
@@ -267,20 +265,13 @@ export default {
                     // 管控指标
                     that.gkzb();
 
+                    that.params.id = '4602'
+                    that.setDatas()
 
                 }
 
             }, Cesium.ScreenSpaceEventType.LEFT_CLICK);
         },
-        tdsc() {
-            const that = this;
-            that.store.setCockpitTdsc(true);
-
-        },
-        tdsc_xzqh() {
-            const that = this;
-            that.store.setCockpitTdsc(false);
-        },
         colorFun(color) {