zpf 1 tahun lalu
induk
melakukan
1cb15b5d6f
1 mengubah file dengan 9 tambahan dan 7 penghapusan
  1. 9 7
      src/views/cockpit/tdsy.vue

+ 9 - 7
src/views/cockpit/tdsy.vue

@@ -187,6 +187,12 @@ export default {
         ycr: data.data[0].sj_cr_crmj,
 
       }
+
+      this.$refs.tdgy_echart_gyjd.setOptions([
+        { name: "未供应", value: store.state.cockpit_tdgy.gy_jd_info.pieData.wgy },
+        { name: "以划拨", value: store.state.cockpit_tdgy.gy_jd_info.pieData.yhb },
+        { name: "已出让", value: store.state.cockpit_tdgy.gy_jd_info.pieData.ycr },
+      ]);
     },
     async init_tdgy_jt_jg(params) {
       const that = this;
@@ -810,11 +816,7 @@ export default {
       that.init_echart();
       that.init_dial_watch_scjg();
       that.getInfo();
-      this.$refs.tdgy_echart_gyjd.setOptions([
-        { name: "未供应", value: store.state.cockpit_tdgy.gy_jd_info.pieData.wgy },
-        { name: "以划拨", value: store.state.cockpit_tdgy.gy_jd_info.pieData.yhb },
-        { name: "已出让", value: store.state.cockpit_tdgy.gy_jd_info.pieData.ycr },
-      ]);
+
       //  store.start.cockpit_tdgy.jt_jg
       // this.$refs.tdgy_echart_sfyd.setOptions([
       //   { name: "未供应", value: 12.86 },
@@ -1192,10 +1194,10 @@ export default {
 #tdgy_echart_gyjd {
 
   width: 20rem;
-  height: 10rem;
+  height: 8rem;
   margin-bottom: 0rem;
   position: fixed;
-  top: 47rem;
+  top: 50rem;
   left: 2rem;
 }