Commit 715654fa by lihu541

中间echarts图数据bug修改

parent 95a221ba
......@@ -372,7 +372,6 @@
_yljgdm: '',
_group: '',
pageLevel: '',
PlaceLevel: 'XZQH',
cityArea: 1
}
},
......@@ -400,12 +399,16 @@
"name": "XZQH",
"value": this.PlaceCode,
"type": "1"
},
}, {
"name": "YLJGDM",
"value": this._yljgdm,
"type": "1"
}
]
let param = {
"themeId": _this.themeID,
"wd": JSON.stringify(wd),
"group": this.PlaceLevel
"group": this._group
}
//高血压 以及 糖尿病死亡随访人数获取 以及 echarts图表传值
......@@ -638,11 +641,9 @@
commonMethod({
"themeId": _this.themeID,
"wd": JSON.stringify(wd),
"group": this.PlaceLevel
}).then(res => {
res.data.content.forEach(item => {
item.zbxx.forEach(item2 => {
res.data.content[0].zbxx.forEach(item2 => {
// 1110 高血压患者年内累计死亡后随访比例 FWZL_010
// 1113 糖尿病患者年内累计死亡后随访比例 FWZL_013
......@@ -688,7 +689,7 @@
this.supervisionlist7.name = '首诊测压血压异常率'
this.supervisionlist7.value = parseFloat(item2.ZXZ).toFixed(1)
}
})
})
this.supervisionall.push(this.supervisionlist1)
this.supervisionall.push(this.supervisionlist2)
......@@ -717,7 +718,7 @@
let param41 = {
"themeId": 41,
"wd": JSON.stringify(wd41),
"group": this.PlaceLevel
"group": this._group
}
// commonMethod(param41).then(res => {
// res.data.content[0].zbxx.forEach(item => {
......@@ -741,7 +742,7 @@
this.hereshow = false
// 切换右上角选择器后,左下角的状态显示
this.threeCode = 1
this.PlaceLevel = 'XZQH'
this._group = 'XZQH'
this.cityArea = 1
this.themeID = 44
......@@ -756,7 +757,7 @@
this.cityArea = 2
//点击得到 "区分级"
this.PlaceLevel = 'YLJGDM'
this._group = 'YLJGDM'
this.themeID = 45
this.isShow = false
......@@ -766,7 +767,7 @@
this.threeCode = 3
this.cityArea = 3
this.PlaceLevel = 'YWSJ'
this._group = 'YWSJ'
this.themeID = 44
this.isShow = true
......@@ -922,7 +923,7 @@
this.cityArea = 2
//点击得到 "区分级"
this.PlaceLevel = 'YLJGDM'
this._group = 'YLJGDM'
this.themeID = 45
......@@ -943,7 +944,7 @@
let param = {
"dataDetailId": 2,
"wd": JSON.stringify(wd),
"group": this.PlaceLevel
"group": this._group
}
otherMethod(param).then(res => {
......@@ -978,7 +979,7 @@
this.cityArea = 2
//点击得到 "区分级"
this.PlaceLevel = 'YWSJ'
this._group = 'YWSJ'
this.themeID = 45
......@@ -991,7 +992,7 @@
this.hereshow = false
// 切换右上角选择器后,左下角的状态显示
this.threeCode = 1
this.PlaceLevel = 'XZQH'
this._group = 'XZQH'
this.cityArea = 1
this.themeID = 44
......@@ -1040,7 +1041,7 @@
this.cityArea = 2
//点击得到 "区分级"
this.PlaceLevel = 'YWSJ'
this._group = 'YWSJ'
this.themeID = 45
......@@ -1051,7 +1052,7 @@
this.cityArea = 2
//点击得到 "区分级"
this.PlaceLevel = 'YLJGDM'
this._group = 'YLJGDM'
this.themeID = 45
......@@ -1099,7 +1100,7 @@
this.cityArea = 2
//点击得到 "区分级"
this.PlaceLevel = 'YWSJ'
this._group = 'YWSJ'
this.themeID = 45
......
......@@ -85,7 +85,8 @@
objdata.name = this.supervisionall[i].name
// 释放后 则显示legend
// objdata.name = this.MyList[i]
objArr.push(objdata)
// objArr.push(objdata)
objArr.push(this.supervisionall[i])
}
console.log(JSON.stringify(objArr));
console.log(this.supervisionall);
......@@ -116,7 +117,7 @@
objdata.name = this.supervisionall[i] + '%'
// 释放后 则显示legend
// objdata.name = this.MyList[i]
objArr.push(objdata)
objArr.push(this.supervisionall[i])
}
console.log(JSON.stringify(objArr));
console.log(this.supervisionall);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment