浏览代码

Merge branch 'master' of http://114.244.114.158:8802/siwei/real3d-portalsite

maxiaoxiao 6 月之前
父节点
当前提交
d8a5ba8e90
共有 2 个文件被更改,包括 10 次插入10 次删除
  1. 6 6
      src/views/LandConsolidation/components/organize.vue
  2. 4 4
      src/views/LandConsolidation/components/qhdb.vue

+ 6 - 6
src/views/LandConsolidation/components/organize.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-  <div class="OrganizeCon" v-loading="loading">
+  <div class="OrganizeCon">
     <div class="tdTitle">试点目标</div>
     <div class="tdTitle">试点目标</div>
     <div class="echars">
     <div class="echars">
       <pie
       <pie
@@ -143,7 +143,7 @@ export default {
   props: {},
   props: {},
   data() {
   data() {
     return {
     return {
-      loading: false,
+      // loading: false, 
       tab: 0,
       tab: 0,
       imgs: {
       imgs: {
         loc: require("../../../../static/images/overview/icon_yrkkg.png"),
         loc: require("../../../../static/images/overview/icon_yrkkg.png"),
@@ -189,7 +189,7 @@ export default {
       this.getData();
       this.getData();
     },
     },
     getData() {
     getData() {
-      this.loading = true;
+      // this.loading = true;
       this.Getzzlx();
       this.Getzzlx();
       this.GetOverview();
       this.GetOverview();
       this.GetjxydList();
       this.GetjxydList();
@@ -218,7 +218,7 @@ export default {
         id: this.region,
         id: this.region,
       }).then((res) => {
       }).then((res) => {
         this.sdata = res.data.length ? res.data[0] : {};
         this.sdata = res.data.length ? res.data[0] : {};
-        this.loading = false;
+        // this.loading = false;
       });
       });
     },
     },
     Getjxyd() {
     Getjxyd() {
@@ -227,7 +227,7 @@ export default {
         id: this.region,
         id: this.region,
       }).then((res) => {
       }).then((res) => {
         this.jxyddata = res.data || {};
         this.jxyddata = res.data || {};
-        this.loading = false;
+        // this.loading = false;
       });
       });
     },
     },
     GetjxydList() {
     GetjxydList() {
@@ -245,7 +245,7 @@ export default {
           unit: "公顷",
           unit: "公顷",
           data: res.data,
           data: res.data,
         });
         });
-        this.loading = false;
+        // this.loading = false;
       });
       });
     },
     },
     changeCharts(e) {},
     changeCharts(e) {},

+ 4 - 4
src/views/LandConsolidation/components/qhdb.vue

@@ -47,7 +47,7 @@ export default {
   props: {},
   props: {},
   data() {
   data() {
     return {
     return {
-      loading: false,
+      // loading: false,
       jdData: {
       jdData: {
         legend_data: ["整治前", "整治后", "变化率"],
         legend_data: ["整治前", "整治后", "变化率"],
         x_data: [],
         x_data: [],
@@ -86,7 +86,7 @@ export default {
       this.getData();
       this.getData();
     },
     },
     getData() {
     getData() {
-      this.loading = true;
+      // this.loading = true;
       // this.$emit("updateParent", "loading", true);
       // this.$emit("updateParent", "loading", true);
       if (this.tab1 == 0) {
       if (this.tab1 == 0) {
         this.Getqhdb();
         this.Getqhdb();
@@ -106,7 +106,7 @@ export default {
           this.jdData.result[2].push(jdData.bhl.toFixed(2));
           this.jdData.result[2].push(jdData.bhl.toFixed(2));
         });
         });
         this.setEchart(this.jdData, 1);
         this.setEchart(this.jdData, 1);
-        this.loading = false;
+        // this.loading = false;
       });
       });
     },
     },
     Getlinks() {
     Getlinks() {
@@ -131,7 +131,7 @@ export default {
         });
         });
 
 
         this.setEchart(data, 2, links);
         this.setEchart(data, 2, links);
-        this.loading = false;
+        // this.loading = false;
       });
       });
     },
     },
     changeCharts(e) {},
     changeCharts(e) {},