Commit 1112a908 by lihu541

数据bug修改

parent d79bfc05
...@@ -712,26 +712,31 @@ ...@@ -712,26 +712,31 @@
"name": "XZQH", "name": "XZQH",
"value": this.PlaceCode, "value": this.PlaceCode,
"type": "1" "type": "1"
}, },{
"name": "YLJGDM",
"value": this._yljgdm,
"type": "1"
}
] ]
//var zbcode="MBZFX_016";单独读取 //var zbcode="MBZFX_016";单独读取
let param41 = { let param41 = {
"themeId": 41, "themeId": 43,
"wd": JSON.stringify(wd41), "wd": JSON.stringify(wd41),
"group": this._group "group": this._group,
"zbcode":'MBJC_003,MBJC_012'
} }
// commonMethod(param41).then(res => { commonMethod(param41).then(res => {
// res.data.content[0].zbxx.forEach(item => { res.data.content[0].zbxx.forEach(item => {
// if (item.ZBID == "1002") { if (item.ZBID == "1002") {
// this.right1 = item.ZXZ this.right1 = item.ZXZ
// } }
// if (item.ZBID == "1011") { if (item.ZBID == "1011") {
// this.right2 = item.ZXZ this.right2 = item.ZXZ
// } }
// }) })
// }).catch(err => { }).catch(err => {
// }) })
}, },
dataInit(){ dataInit(){
// 在此通过 选中地址来对页面操作 // 在此通过 选中地址来对页面操作
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<div class="inputdiv"><input type="text"><img height="20" width="20" src="../assets/search.png"></div> <div class="inputdiv"><input type="text"><img height="20" width="20" src="../assets/search.png"></div>
<div class="imgdiv"> <div class="imgdiv">
<img height="18" width="18" src="../assets/user.png"> <img height="18" width="18" src="../assets/user.png">
市疾控,截止:2020-08 市疾控,截止:{{cxsj}}
<img height="18" width="18" src="../assets/sao.png"> <img height="18" width="18" src="../assets/sao.png">
<img height="18" width="18" src="../assets/filter.png"> <img height="18" width="18" src="../assets/filter.png">
</div> </div>
...@@ -197,28 +197,6 @@ ...@@ -197,28 +197,6 @@
padding: 10, padding: 10,
trigger: 'axis' trigger: 'axis'
}, },
dataZoom: {
start: 0, //默认为0
end: 50, //默认为100
type: 'slider',
show: true ,
xAxisIndex: [0] ,
handleSize: 20 , //滑动条的 左右2个滑动条的大小
height: 5 , //组件高度
left: 50, //左边的距离
right: 50, //右边的距离
bottom: 40, //右边的距离
backgroundColor: '#ccc', //两边未选中的滑动条区域的颜色
showDataShadow: true, //是否显示数据阴影 默认auto
handleStyle: {
borderColor: "#CBBCDB",
borderWidth: "1",
shadowBlur: 1,
background: "#000",
shadowColor: "#000",
},
filterMode: 'filter',
},
legend: { legend: {
textStyle: { textStyle: {
color: '#8393A9', color: '#8393A9',
...@@ -490,6 +468,14 @@ ...@@ -490,6 +468,14 @@
}, },
] ]
}, },
userinfo: {},
userRole: '',
cxsj: '',
_xzqh: '',
_yljgdm: '',
_group: '',
pageLevel: ''
} }
}, },
methods: { methods: {
...@@ -517,6 +503,10 @@ ...@@ -517,6 +503,10 @@
} }
}, },
mounted() { mounted() {
this.cxsj = sessionStorage.getItem("ywsj")
this.userinfo = JSON.parse(sessionStorage.getItem("userinfo"))
this.userRole = sessionStorage.getItem("userRole")
this.homeinit() this.homeinit()
const obj = setInterval(() => { const obj = setInterval(() => {
const dom = document.getElementById("echart2") const dom = document.getElementById("echart2")
......
...@@ -2062,36 +2062,36 @@ ...@@ -2062,36 +2062,36 @@
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
//管理人群累计死后随访人数 //管理人群累计死后随访人数
//去年管理人群累计死后随访人数 //去年管理人群累计死后随访人数
if (item2.ZBID == '1131') { // if (item2.ZBID == '1131') {
_this.data301.push(item2.ZXZ) // _this.data301.push(item2.ZXZ)
_this.data303.push(item2.TBZ) // _this.data303.push(item2.TBZ)
obj.tag1 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 // obj.tag1 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
} // }
//签约人群累计死后随访人数 // //签约人群累计死后随访人数
//去年签约人群累计死后随访人数 // //去年签约人群累计死后随访人数
if (_this.Qbotdata.content[index].zbxx[index2].ZBID == '1131') { // if (_this.Qbotdata.content[index].zbxx[index2].ZBID == '1131') {
_this.data302.push(item2.ZXZ) // _this.data302.push(item2.ZXZ)
_this.data304.push(item2.TBZ) // _this.data304.push(item2.TBZ)
obj.tag2 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 // obj.tag2 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
} // }
//去年管理人群累计死后随访人数 // //去年管理人群累计死后随访人数
if (item2.ZBID == '1110') { // if (item2.ZBID == '1110') {
_this.data305.push(item2.ZXZ) // _this.data305.push(item2.ZXZ)
obj.tag5 = item2.TBL ? parseFloat(item2.TBL).toFixed(1) : 0 // obj.tag5 = item2.TBL ? parseFloat(item2.TBL).toFixed(1) : 0
obj.tag3 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 // obj.tag3 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
} // }
//去年签约人群累计死后随访人数 // //去年签约人群累计死后随访人数
if (_this.Qbotdata.content[index].zbxx[index2].ZBID == '1110') { // if (_this.Qbotdata.content[index].zbxx[index2].ZBID == '1110') {
_this.data306.push(item2.TBZ) // _this.data306.push(item2.TBZ)
obj.tag6 = item2.TBL ? parseFloat(item2.TBL).toFixed(1) : 0 // obj.tag6 = item2.TBL ? parseFloat(item2.TBL).toFixed(1) : 0
obj.tag4 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 // obj.tag4 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
} // }
}) })
_this.listArrayFinal.push(obj) _this.listArrayFinal.push(obj)
}) })
let series = [{ let bfz_series = [{
name: '管理/签约人群并存临床情况未标记数', //管 name: '管理/签约人群并存临床情况未标记数', //管
type: 'bar', type: 'bar',
stack: '1', stack: '1',
...@@ -2238,7 +2238,7 @@ ...@@ -2238,7 +2238,7 @@
} }
] ]
_this.option2.xAxis[0].data = _this.data_x _this.option2.xAxis[0].data = _this.data_x
_this.option2.series = series _this.option2.series = bfz_series
_this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true) _this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true)
} }
......
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