|
@@ -180,6 +180,7 @@ export default {
|
|
|
};
|
|
|
let data = await QueryList(obj);
|
|
|
store.state.cockpit_tdgy.gy_jd_info.info = data.data[0]
|
|
|
+ that.init_dial_watch_scjg();
|
|
|
store.state.cockpit_tdgy.gy_jd_info.pieData = {
|
|
|
wgy: data.data[0].ce_crmj,
|
|
|
yhb: data.data[0].sj_hb_crmj,
|
|
@@ -270,7 +271,7 @@ export default {
|
|
|
right: '2%',
|
|
|
selectedMode: false
|
|
|
}
|
|
|
- const grid = { top: '15%', left: '12%', right: '2%', bottom: '10%' }
|
|
|
+ const grid = { top: '20%', left: '12%', right: '2%', bottom: '10%' }
|
|
|
// xAxis
|
|
|
const xAxis = {
|
|
|
axisTick: { show: false },
|
|
@@ -414,9 +415,10 @@ export default {
|
|
|
|
|
|
var dom = document.getElementById("dial_watch");
|
|
|
var myChart = window.echarts.init(dom);
|
|
|
+ let value =(store.state.cockpit_tdgy.jt_gy.wc/store.state.cockpit_tdgy.jt_gy.jh*100).toFixed(0)
|
|
|
var demoData = {
|
|
|
name: '城镇化率',
|
|
|
- value: 60,
|
|
|
+ value: value,
|
|
|
};
|
|
|
let option = {
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
@@ -609,9 +611,10 @@ export default {
|
|
|
|
|
|
var dom = document.getElementById("dial_watch_gy_jd");
|
|
|
var myChart = window.echarts.init(dom);
|
|
|
+ let value =(store.state.cockpit_tdgy.gy_jd_info.info.sj_crmj/store.state.cockpit_tdgy.gy_jd_info.info.jh_crmj*100).toFixed(0)
|
|
|
var demoData = {
|
|
|
name: '城镇化率',
|
|
|
- value: 60,
|
|
|
+ value: value,
|
|
|
};
|
|
|
let option = {
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
@@ -840,6 +843,7 @@ export default {
|
|
|
let data = await QueryOne(obj);
|
|
|
store.state.cockpit_tdgy.jt_gy.jh = data.data.jh_crmj
|
|
|
store.state.cockpit_tdgy.jt_gy.wc = data.data.sj_crmj
|
|
|
+ this.init_echart();
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -849,8 +853,8 @@ export default {
|
|
|
this.init_tdgy_jt_jg();
|
|
|
this.init_tdgy_gy_jg();
|
|
|
this.init_tdgy_gy_jd();
|
|
|
- that.init_echart();
|
|
|
- that.init_dial_watch_scjg();
|
|
|
+ // that.init_echart();
|
|
|
+ // that.init_dial_watch_scjg();
|
|
|
that.getInfo();
|
|
|
that.init_tdgy_jt_jd();
|
|
|
|