Commit 715654fa by lihu541

中间echarts图数据bug修改

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