浏览代码

收储进度

zpf 1 年之前
父节点
当前提交
ae15cd7e98
共有 2 个文件被更改,包括 4 次插入15 次删除
  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) {
     setCockpitHysyText(newValue) {
         this.state.cockpit_hysy.text = newValue;
         this.state.cockpit_hysy.text = newValue;
     },
     },
-    setCockpitTdsc(newValue) {
-        this.state.cockpit_tdsc.flag = newValue;
-    }, setCockpitDate(newValue) {
+    setCockpitDate(newValue) {
         this.state.cockpit_date = newValue;
         this.state.cockpit_date = newValue;
     }, setCockpitGkzb(newValue) {
     }, setCockpitGkzb(newValue) {
         this.state.cockpit_gkzb = 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.gdbh_ref.setData({ id: this.params.id });
             // this.$refs.stxf_ref.setData({ id: this.params.id });
             // this.$refs.stxf_ref.setData({ id: this.params.id });
             this.$refs.wpjg_ref.setData(this.params);
             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) {
         dateChange(date) {
@@ -232,8 +232,6 @@ export default {
                         that.setDatas()
                         that.setDatas()
                         // 驾驶舱海域使用权
                         // 驾驶舱海域使用权
                         that.hysyq(adcode);
                         that.hysyq(adcode);
-                        // 驾驶舱土地收储
-                        that.tdsc_xzqh(adcode);
                         // 管控指标
                         // 管控指标
                         that.gkzb_xzqh(adcode);
                         that.gkzb_xzqh(adcode);
                         viewer.entities.values.forEach((res) => {
                         viewer.entities.values.forEach((res) => {
@@ -267,20 +265,13 @@ export default {
                     // 管控指标
                     // 管控指标
                     that.gkzb();
                     that.gkzb();
 
 
+                    that.params.id = '4602'
+                    that.setDatas()
 
 
                 }
                 }
 
 
             }, Cesium.ScreenSpaceEventType.LEFT_CLICK);
             }, Cesium.ScreenSpaceEventType.LEFT_CLICK);
         },
         },
-        tdsc() {
-            const that = this;
-            that.store.setCockpitTdsc(true);
-
-        },
-        tdsc_xzqh() {
-            const that = this;
-            that.store.setCockpitTdsc(false);
-        },
         colorFun(color) {
         colorFun(color) {