|
@@ -208,6 +208,19 @@ export default {
|
|
|
{ value: "zbph", label: "占补平衡" },
|
|
|
{ value: "jcph", label: "进出平衡" },
|
|
|
],
|
|
|
+ zbpg_hz: {
|
|
|
+ zygd: {
|
|
|
+ qzst: 0,
|
|
|
+ sslscn: 0,
|
|
|
+ mj: 0,
|
|
|
+ },
|
|
|
+ bcgd: {
|
|
|
+ qzst: 0,
|
|
|
+ tslscn: 0,
|
|
|
+ mj: 0,
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
//监听属性 类似于data概念
|
|
@@ -313,7 +326,28 @@ export default {
|
|
|
store.state.cockpit_gdbh.gdxz.list.yData = yData;
|
|
|
|
|
|
this.init_gdxz_echart();
|
|
|
- }, async init_zbph(params) {
|
|
|
+ },
|
|
|
+ async init_zbph_hz(params) {
|
|
|
+ const that = this;
|
|
|
+ let obj = {
|
|
|
+ jscType: 'jsc_gdbh_zbph_hz',
|
|
|
+ id: params ? params.id : '4602',
|
|
|
+ beginTime: store.state.cockpit_date[0],
|
|
|
+ endTime: store.state.cockpit_date[1],
|
|
|
+ };
|
|
|
+ let data = await QueryOne(obj);
|
|
|
+ console.log('data: ', data);
|
|
|
+ zbpg_hz.zygd.qzst = data.data.zy_gdmj
|
|
|
+ zbpg_hz.zygd.qzst.mj = data.data.zy_gdmj
|
|
|
+ zbpg_hz.zygd.qzst.sslscn = data.data.zy_cn
|
|
|
+
|
|
|
+ zbpg_hz.zygd.bcgd.qzst = data.data.cb_st
|
|
|
+ zbpg_hz.zygd.bcgd.mj = data.data.cb_gdmj
|
|
|
+ zbpg_hz.zygd.bcgd.tslscn = data.data.cb_cn
|
|
|
+
|
|
|
+ // store.state.cockpit_gdbh.zbph.bcgd = data.data
|
|
|
+ },
|
|
|
+ async init_zbph(params) {
|
|
|
const that = this;
|
|
|
let obj = {
|
|
|
jscType: 'jsc_gdbh_zbph_gdbc',
|
|
@@ -598,7 +632,7 @@ export default {
|
|
|
this.init_gdxz_echart();
|
|
|
this.init_zbph();
|
|
|
this.init_jcpg();
|
|
|
-
|
|
|
+ this.init_zbph_hz();
|
|
|
})
|
|
|
},
|
|
|
};
|