Răsfoiți Sursa

生态修复接口对接

zpf 11 luni în urmă
părinte
comite
f463b44cff
1 a modificat fișierele cu 16 adăugiri și 13 ștergeri
  1. 16 13
      src/views/cockpit/stxf.vue

+ 16 - 13
src/views/cockpit/stxf.vue

@@ -167,23 +167,26 @@ export default {
           name: res.zzlx,
           name: res.zzlx,
           value: res.xmsl
           value: res.xmsl
         });
         });
-
-        xmsl_num += Number(res.xmsl)//综合项目格数
-        xmjz_num += Number(res.xmjz) //总投资
-
+        // xmsl_num += Number(res.xmsl)//综合项目格数
+        // xmjz_num += Number(res.xmjz) //总投资
       })
       })
-      // store.state.cockpit_stxf.tdzz.list = arr;
-      // store.state.cockpit_stxf.tdzz.title = title;
+      this.$refs.stxf_echart_tdzz.setOptions(arr);
 
 
+      let res_hz = await QueryList({
+        jscType: "jsc_stxf_ztgh_tdzz",
+        id: params ? params.id : '4602'
 
 
+      });
+      
+      
+      
       this.sdata.tdzz = {
       this.sdata.tdzz = {
-        xzqhdm_number: xmsl_num,
-        // zlmj: store.state.cockpit_stxf.ssgc.title.zlmj,
-        tzje: xmjz_num.toFixed(2),
+        xzqhdm_number: res_hz.data[0].xmsl,
+        zlmj: res_hz.data[0].mj,
+        tzje: res_hz.data[0].tzje,
 
 
       }
       }
-
-      this.$refs.stxf_echart_tdzz.setOptions(arr);
+      console.log('res_hz.data: ', res_hz.data);
 
 
     },
     },
     initDiv() {
     initDiv() {
@@ -217,7 +220,7 @@ export default {
 
 
 
 
       this.getInfo();
       this.getInfo();
-      this.tdzz();
+      // this.tdzz();
       this.initDiv()
       this.initDiv()
 
 
     })
     })
@@ -307,7 +310,7 @@ export default {
       span {
       span {
         display: inline-block;
         display: inline-block;
         width: 20px;
         width: 20px;
-        height: 20px; 
+        height: 20px;
         font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
         font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
         font-weight: 600;
         font-weight: 600;
         font-size: 14px;
         font-size: 14px;