Commit 9df5854f by lihu541

页面数据核对,样式修改

parent f8ba08c7
...@@ -14,7 +14,7 @@ module.exports = { ...@@ -14,7 +14,7 @@ module.exports = {
// Various Dev Server settings // Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined port: 8888, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false, autoOpenBrowser: false,
errorOverlay: true, errorOverlay: true,
notifyOnErrors: true, notifyOnErrors: true,
......
...@@ -5250,6 +5250,11 @@ ...@@ -5250,6 +5250,11 @@
"integrity": "sha512-Vg8czh0Q7sFBSUMWWArX/miJeBWYBPpdU/3M/DKSaekLMqrqVPaedp+5mZhie/r0lgrcaYBfwXatEew6gwgiQQ==", "integrity": "sha512-Vg8czh0Q7sFBSUMWWArX/miJeBWYBPpdU/3M/DKSaekLMqrqVPaedp+5mZhie/r0lgrcaYBfwXatEew6gwgiQQ==",
"dev": true "dev": true
}, },
"js-md5": {
"version": "0.7.3",
"resolved": "https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz",
"integrity": "sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ=="
},
"js-tokens": { "js-tokens": {
"version": "3.0.2", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
}, },
"dependencies": { "dependencies": {
"axios": "^0.19.2", "axios": "^0.19.2",
"js-md5": "^0.7.3",
"stylus-loader": "^3.0.2", "stylus-loader": "^3.0.2",
"swiper": "^5.3.8", "swiper": "^5.3.8",
"vue": "^2.5.2", "vue": "^2.5.2",
......
...@@ -2,7 +2,7 @@ import request from '@/utils/request' ...@@ -2,7 +2,7 @@ import request from '@/utils/request'
/**** /****
*首页接口 *首页接口
******/ ******/
const webUrl = 'http://192.168.3.4:168/fyglAPP/'; const webUrl = 'http://localhost:168/fyglAPP/';
// const webUrl = 'http://192.168.3.110:8999/diseaseControlManage/'; // const webUrl = 'http://192.168.3.110:8999/diseaseControlManage/';
// const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/'; // const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/';
......
import request from '@/utils/request' import request from '@/utils/request'
//登录、修改密码 //登录、修改密码
const webUrl = 'http://192.168.3.4:168/fyglAPP/'; const webUrl = 'http://localhost:168/fyglAPP/';
// const webUrl = 'http://192.168.3.110:8999/diseaseControlManage/'; // const webUrl = 'http://192.168.3.110:8999/diseaseControlManage/';
// const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/'; // const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/';
export function login(loginID, loginPas) { export function login(loginID, loginPas) {
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
.card1-mod .cmtitle span.tag-huan { background: #095661; border: 1px #2698A8 solid; color: #78BDDE; border-radius: 50%; padding: 0 3px;font-size: 12px;} .card1-mod .cmtitle span.tag-huan { background: #095661; border: 1px #2698A8 solid; color: #78BDDE; border-radius: 50%; padding: 0 3px;font-size: 12px;}
.cmtline{ clear: both; height: 70px; padding-top: 10px;} .cmtline{ clear: both; height: 70px; padding-top: 10px;}
.cmtline p{color: #B3BFD2;} .cmtline p{color: #B3BFD2;}
.cmtline p span{color: #B3BFD2; float: right; width: 80px;} .cmtline p span{color: #B3BFD2; float: right; width: 105px;}
.cmtline p span em{background: #095661; border: 1px #2698A8 solid; color: #78BDDE; border-radius: 50%; padding: 0 3px;font-size: 12px;} .cmtline p span em{background: #095661; border: 1px #2698A8 solid; color: #78BDDE; border-radius: 50%; padding: 0 3px;font-size: 12px;}
.cmtline2{ clear: both; height: 70px; padding-top: 10px;} .cmtline2{ clear: both; height: 70px; padding-top: 10px;}
......
...@@ -132,13 +132,13 @@ ...@@ -132,13 +132,13 @@
<div class="toptwo"> <div class="toptwo">
<div class="toptitle">重点监管指标</div> <div class="toptitle">重点监管指标</div>
<div class="toplinem"> <div class="toplinem">
<div class="topline"><span>{{supervisionlist1}}%</span><i class="i1"></i>高血压患者累计死后随访比</div> <div class="topline"><span>{{supervisionlist1.value}}%</span><i class="i1"></i>高血压患者累计死后随访比</div>
<div class="topline"><span>{{supervisionlist2}}%</span><i class="i2"></i>糖尿病患者累计死后随访比</div> <div class="topline"><span>{{supervisionlist2.value}}%</span><i class="i2"></i>糖尿病患者累计死后随访比</div>
<div class="topline"><span>{{supervisionlist3}}%</span><i class="i3"></i>糖尿病患者糖化血红蛋白自动上传比例</div> <div class="topline"><span>{{supervisionlist3.value}}%</span><i class="i3"></i>糖尿病患者糖化血红蛋白自动上传比例</div>
<div class="topline"><span>{{supervisionlist4}}%</span><i class="i4"></i>高血压患者血压记录自动上传比例</div> <div class="topline"><span>{{supervisionlist4.value}}%</span><i class="i4"></i>高血压患者血压记录自动上传比例</div>
<div class="topline"><span>{{supervisionlist5}}%</span><i class="i5"></i>年内按计划随访高血压患者完成比例</div> <div class="topline"><span>{{supervisionlist5.value}}%</span><i class="i5"></i>年内按计划随访高血压患者完成比例</div>
<div class="topline"><span>{{supervisionlist6}}%</span><i class="i6"></i>年内按计划随访糖尿病患者完成比例</div> <div class="topline"><span>{{supervisionlist6.value}}%</span><i class="i6"></i>年内按计划随访糖尿病患者完成比例</div>
<div class="topline"><span>{{supervisionlist7}}%</span><i class="i7"></i>首诊测压血压异常率</div> <div class="topline"><span>{{supervisionlist7.value}}%</span><i class="i7"></i>首诊测压血压异常率</div>
</div> </div>
</div> </div>
<div class="topthr"> <div class="topthr">
...@@ -233,13 +233,13 @@ ...@@ -233,13 +233,13 @@
sweetAutoplacetemp: [], sweetAutoplacetemp: [],
sweetAutoplacevalue: [], sweetAutoplacevalue: [],
// 右侧重点监管指标列表变量 顺序依次对应 // 右侧重点监管指标列表变量 顺序依次对应
supervisionlist1: 0, supervisionlist1: {},
supervisionlist2: 0, supervisionlist2: {},
supervisionlist3: 0, supervisionlist3: {},
supervisionlist4: 0, supervisionlist4: {},
supervisionlist5: 0, supervisionlist5: {},
supervisionlist6: 0, supervisionlist6: {},
supervisionlist7: 0, supervisionlist7: {},
supervisionall: [], supervisionall: [],
// 请求数据变量 ↑ // 请求数据变量 ↑
threeCode: 1, // 控制左下角的显示状态 threeCode: 1, // 控制左下角的显示状态
...@@ -263,21 +263,6 @@ ...@@ -263,21 +263,6 @@
bottom: 50, bottom: 50,
top: 30, top: 30,
}, },
dataZoom: {
start: 0, //默认为0
end: 50, //默认为100
type: 'slider',
show: true,
xAxisIndex: [0],
handleSize: 0, //滑动条的 左右2个滑动条的大小
height: 8, //组件高度
left: 20, //左边的距离
right: 20, //右边的距离
bottom: 70, //右边的距离
backgroundColor: '#ccc', //两边未选中的滑动条区域的颜色
showDataShadow: true, //是否显示数据阴影 默认auto
filterMode: 'filter',
},
xAxis: { xAxis: {
name: "(月)", name: "(月)",
nameLocation: 'center', nameLocation: 'center',
...@@ -658,6 +643,17 @@ ...@@ -658,6 +643,17 @@
res.data.content.forEach(item => { res.data.content.forEach(item => {
item.zbxx.forEach(item2 => { item.zbxx.forEach(item2 => {
// 1110 高血压患者年内累计死亡后随访比例 FWZL_010
// 1113 糖尿病患者年内累计死亡后随访比例 FWZL_013
// 1069 糖尿病患者糖化血红蛋白自动上传比例 MBGL_033
// 1063 高血压患者血压记录自动上传比例 MBGL_027
// 1057 年内按计划随访高血压患者完成比例 MBGL_021
// 1060 年内按计划随访糖尿病患者完成比例 MBGL_024
// 1017 首诊测压血压异常率 MBZFX_005
// ['高血压患者累计死后随访比', '糖尿病患者累计死后随访比', '糖尿病患者糖化血红蛋白自动上传比例',
// '高血压患者血压记录自动上传比例', '年内按计划随访高血压患者完成比例', '年内按计划随访糖尿病患者完成比例', '首诊测压血压异常率'],
if (item2.ZBID == "1116") { if (item2.ZBID == "1116") {
this.left1 = item2.ZXZ this.left1 = item2.ZXZ
} }
...@@ -665,35 +661,42 @@ ...@@ -665,35 +661,42 @@
this.left2 = item2.ZXZ this.left2 = item2.ZXZ
} }
if (item2.ZBID == "1110") { if (item2.ZBID == "1110") {
this.supervisionlist1 = parseFloat(item2.ZXZ).toFixed(1) this.supervisionlist1.name = '高血压患者累计死后随访比'
this.supervisionlist1.value = parseFloat(item2.ZXZ).toFixed(1)
} }
if (item2.ZBID == "1113") { if (item2.ZBID == "1113") {
this.supervisionlist2 = parseFloat(item2.ZXZ).toFixed(1) this.supervisionlist2.name = '糖尿病患者累计死后随访比'
this.supervisionlist2.value = parseFloat(item2.ZXZ).toFixed(1)
} }
if (item2.ZBID == "1069") { if (item2.ZBID == "1069") {
this.supervisionlist3 = parseFloat(item2.ZXZ).toFixed(1) this.supervisionlist3.name = '糖尿病患者糖化血红蛋白自动上传比例'
this.supervisionlist3.value = parseFloat(item2.ZXZ).toFixed(1)
} }
if (item2.ZBID == "1063") { if (item2.ZBID == "1063") {
this.supervisionlist4 = parseFloat(item2.ZXZ).toFixed(1) this.supervisionlist4.name = '高血压患者血压记录自动上传比例'
this.supervisionlist4.value = parseFloat(item2.ZXZ).toFixed(1)
} }
if (item2.ZBID == "1057") { if (item2.ZBID == "1057") {
this.supervisionlist5 = parseFloat(item2.ZXZ).toFixed(1) this.supervisionlist5.name = '年内按计划随访高血压患者完成比例'
this.supervisionlist5.value = parseFloat(item2.ZXZ).toFixed(1)
} }
if (item2.ZBID == "1060") { if (item2.ZBID == "1060") {
this.supervisionlist6 = parseFloat(item2.ZXZ).toFixed(1) this.supervisionlist6.name = '年内按计划随访糖尿病患者完成比例'
this.supervisionlist6.value = parseFloat(item2.ZXZ).toFixed(1)
} }
if (item2.ZBID == "1017") { if (item2.ZBID == "1017") {
this.supervisionlist7 = parseFloat(item2.ZXZ).toFixed(1) this.supervisionlist7.name = '首诊测压血压异常率'
this.supervisionlist7.value = parseFloat(item2.ZXZ).toFixed(1)
} }
}) })
}) })
this.supervisionall.push(parseFloat(this.supervisionlist1)) this.supervisionall.push(this.supervisionlist1)
this.supervisionall.push(parseFloat(this.supervisionlist2)) this.supervisionall.push(this.supervisionlist2)
this.supervisionall.push(parseFloat(this.supervisionlist3)) this.supervisionall.push(this.supervisionlist3)
this.supervisionall.push(parseFloat(this.supervisionlist4)) this.supervisionall.push(this.supervisionlist4)
this.supervisionall.push(parseFloat(this.supervisionlist5)) this.supervisionall.push(this.supervisionlist5)
this.supervisionall.push(parseFloat(this.supervisionlist6)) this.supervisionall.push(this.supervisionlist6)
this.supervisionall.push(parseFloat(this.supervisionlist7)) this.supervisionall.push(this.supervisionlist7)
}) })
// 右上角 医疗机构等记 报告(肿癌、心脑) 人数获取 以及 echarts图表传值 // 右上角 医疗机构等记 报告(肿癌、心脑) 人数获取 以及 echarts图表传值
......
...@@ -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-5 市疾控,截止:2020-08
<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>
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
this.ispopu = !this.ispopu this.ispopu = !this.ispopu
}, },
toMygh(){ toMygh(){
location.href = '/manage-platform/index?token=' + sessionStorage.getItem('token') window.location.href = 'http://195.1.3.38:9001/#/manage-platform/index?token=TK_' + sessionStorage.getItem('token')
}, },
exitFn() { exitFn() {
this.$router.push({ this.$router.push({
......
...@@ -12,24 +12,20 @@ ...@@ -12,24 +12,20 @@
data() { data() {
return { return {
msg: '', msg: '',
MyList: ['高血压患者累计死后随访比', '糖尿病患者累计死后随访比', '糖尿病患者糖化血红蛋白自动上传比例', '高血压患者血压记录自动上传比例', '年内按计划随访高血压患者完成比例'], MyList: ['高血压患者累计死后随访比', '糖尿病患者累计死后随访比', '糖尿病患者糖化血红蛋白自动上传比例',
'高血压患者血压记录自动上传比例', '年内按计划随访高血压患者完成比例', '年内按计划随访糖尿病患者完成比例', '首诊测压血压异常率'],
option: { option: {
title: {
// text: '重点监管指标', // .toplinem .topline i.i1{ background:#3FDCB7}
left: 'center' // .toplinem .topline i.i2{ background:#37C6D0}
}, // .toplinem .topline i.i3{ background:#61A5F5}
tooltip: { // .toplinem .topline i.i4{ background:#F3D7BC}
trigger: 'item' // .toplinem .topline i.i5{ background:#FBF7AB}
}, // .toplinem .topline i.i6{ background:#BCF8C6}
color: ["#37C6D0", "#3FDCB7", "#8DEDA2", "#BCF8C6", "#FBF7AB", "#F3D7BC", "#61A5F5"], // .toplinem .topline i.i7{ background:#8DEDA2}
legend: { color: ["#3FDCB7", "#37C6D0", "#61A5F5", "#F3D7BC", "#FBF7AB", "#BCF8C6", "#8DEDA2"],
orient: 'vertical',
left: 'left',
data: ['高血压患者', '糖尿病患者累计死后随访比', '糖尿病患者糖化血红蛋白自动上传比例', '高血压患者血压记录自动上传比例', '年内按计划随访高血压患者完成比例'],
textStyle: {
color: '#FFF' // 图例文字颜色
}
},
series: [{ series: [{
name: '份额', name: '份额',
type: 'pie', type: 'pie',
...@@ -38,8 +34,20 @@ ...@@ -38,8 +34,20 @@
radius: [30, 80], radius: [30, 80],
roseType: 'area', roseType: 'area',
label: { label: {
normal: { show: true,
show: true position: 'outside',
formatter: '{c}%',
rich: {
hr: {
backgroundColor: 't',
borderRadius: 3,
width: 3,
height: 3,
padding: [3, 3, 0, -12]
},
a: {
padding: [-30, 15, -20, 15]
}
} }
}, },
labelLine: { labelLine: {
...@@ -49,26 +57,8 @@ ...@@ -49,26 +57,8 @@
length2: 10, length2: 10,
} }
}, },
data: [{ data: [
value: 33.5,
name: '33.5%', //高血压患者累计死后随访比
},
{
value: 10,
name: '10%', //高血压患者累计死后随访比
},
{
value: 23.4,
name: '23.4%' //糖尿病患者糖化血红蛋白自动上传比例
},
{
value: 13.5,
name: '13.5%' //高血压患者血压记录自动上传比例
},
{
value: 15.8,
name: '15.4%' //年内按计划随访高血压患者完成比例
}
], ],
emphasis: { emphasis: {
itemStyle: { itemStyle: {
...@@ -91,8 +81,8 @@ ...@@ -91,8 +81,8 @@
'value': 0, 'value': 0,
'name': '' 'name': ''
} }
objdata.value = this.supervisionall[i] objdata.value = this.supervisionall[i].value
objdata.name = this.supervisionall[i] + '%' objdata.name = this.supervisionall[i].name
// 释放后 则显示legend // 释放后 则显示legend
// objdata.name = this.MyList[i] // objdata.name = this.MyList[i]
objArr.push(objdata) objArr.push(objdata)
......
...@@ -58,9 +58,9 @@ ...@@ -58,9 +58,9 @@
<div class="card1-mod" v-show="mbType === 'zl'"> <div class="card1-mod" v-show="mbType === 'zl'">
<h2>初访完成数(实/同)</h2> <h2>初访完成数(实/同)</h2>
<div class="cmtitle"> <div class="cmtitle">
<span>{{wcdata.ZXZ}}</span> <span>{{parseFloat(wcdata.ZXZ / 10000).toFixed(1)}}</span>
<span class="span1">/</span> <span class="span1">/</span>
<span>{{wcdata.TBZ}}</span> <span>{{parseFloat(wcdata.TBZ / 10000).toFixed(1)}}</span>
<span class="span2"></span> <span class="span2"></span>
<span class="tag-blue"></span> <span class="tag-blue"></span>
<span class="span2">{{wcdata.TBL}}</span> <span class="span2">{{wcdata.TBL}}</span>
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</div> </div>
<div class="overl">初访完成率 {{wclv}}%</div> <div class="overl">初访完成率 {{wclv}}%</div>
</div> </div>
<div class="card1-mod" v-show="mbType == 3"> <div class="card1-mod" v-show="mbType === 'zl'">
<div id="pag1canser"></div> <div id="pag1canser"></div>
</div> </div>
</div> </div>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<div id="chartsright"></div> <div id="chartsright"></div>
<div id="chartstxt"> <div id="chartstxt">
<p>初访完成比:{{parseFloat(wclv).toFixed(1)}}%</p> <p>初访完成比:{{parseFloat(wclv).toFixed(1)}}%</p>
<p>知情同意接受随访服务比:{{parseFloat(zqlv).toFixed(1)}}%</p> <p>知情同意随访比:{{parseFloat(zqlv).toFixed(1)}}%</p>
<p>规范管理率:{{parseFloat(gflv).toFixed(1)}}%</p> <p>规范管理率:{{parseFloat(gflv).toFixed(1)}}%</p>
</div> </div>
</div> </div>
...@@ -140,22 +140,22 @@ ...@@ -140,22 +140,22 @@
</tr> </tr>
<tr> <tr>
<td width="30%">完成初访</td> <td width="30%">完成初访</td>
<td width="45%"><span class="span11">{{wcdata.ZXZ?parseFloat(wcdata.ZXZ).toFixed(1):0}} / <td width="45%"><span class="span11">{{parseFloat(wcdata.ZXZ / 10000).toFixed(1)}} /
{{wclvdata.TBZ?wclvdata.TBZ:0}}</span></td> {{parseFloat(wcdata.TBZ / 10000).toFixed(1)}}</span></td>
<td width="25%%">{{wclvdata.TBL?parseFloat(wclvdata.TBL).toFixed(1):0}} <i class="el-icon-bottom color3">&nbsp;</i> <td width="25%%">{{wclvdata.TBL?parseFloat(wclvdata.TBL).toFixed(1):0}} <i class="el-icon-bottom color3">&nbsp;</i>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="30%">知情同意</td> <td width="30%">知情同意</td>
<td width="45%"><span class="span22">{{zqlvdata.ZXZ?parseFloat(zqlvdata.ZXZ).toFixed(1):0}} / <td width="45%"><span class="span22">{{parseFloat(zqsdata.ZXZ / 10000).toFixed(1)}} /
{{zqlvdata.TBZ?zqlvdata.TBZ:0}}</span></td> {{parseFloat(zqsdata.TBZ / 10000).toFixed(1)}}</span></td>
<td width="25%">{{zqlvdata.TBL?parseFloat(zqlvdata.TBL).toFixed(1):0}} <i class="el-icon-bottom color3">&nbsp;</i> <td width="25%">{{zqsdata.TBL?parseFloat(zqsdata.TBL).toFixed(1):0}} <i class="el-icon-bottom color3">&nbsp;</i>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="30%">随访存活</td> <td width="30%">随访存活</td>
<td width="45%"><span class="span33">{{chdata.ZXZ?parseFloat(chdata.ZXZ).toFixed(1):0}} / <td width="45%"><span class="span33">{{chdata.ZXZ?parseFloat(chdata.ZXZ / 10000).toFixed(1):0}} /
{{chdata.TBZ?chdata.TBZ:0}}</span></td> {{chdata.TBZ?parseFloat(chdata.TBZ / 10000).toFixed(1):0}}</span></td>
<td width="25%">{{chdata.TBL?parseFloat(chdata.TBL).toFixed(1):0}} <i <td width="25%">{{chdata.TBL?parseFloat(chdata.TBL).toFixed(1):0}} <i
class="el-icon-bottom color3">&nbsp;</i></td> class="el-icon-bottom color3">&nbsp;</i></td>
</tr> </tr>
...@@ -199,22 +199,13 @@ ...@@ -199,22 +199,13 @@
<tr> <tr>
<th></th> <th></th>
<th>{{thname}}</th> <th>{{thname}}</th>
<th @click.stop="showtab(1)">管/签<br/>{{rightlist1}}·%</th> <th @click.stop="showtab(1)"><span v-html="rightlist1"></span></th>
<th @click.stop="showtab(2)">管/签<br/>{{rightlist2}}·%</th> <th @click.stop="showtab(2)"><span v-html="rightlist2"></span></th>
<th v-if="rightlist3" @click.stop="showtab(3)">管/签<br/>{{rightlist3}}·%</th> <th v-if="rightlist3" @click.stop="showtab(3)"><span v-html="rightlist3"></span></th>
</tr> </tr>
</thead> </thead>
<div class="uplib" v-if="showtabnum == 1"> <div class="uplib" v-if="showtabnum == 4">
指标名称:<br>{{pagedisname}}患者{{rightlist1}}<br> <span v-html="explanation"></span>
计算公式:<br>年内正常随访过一次的高血压患者人数/年内应管理高血压患者人数
</div>
<div class="uplib" v-if="showtabnum == 2">
指标名称:<br>{{pagedisname}}患者{{rightlist2}}<br>
计算公式:<br>年内按照要求进行高血压患者健康管理的人数/年内管理高血压患者人数×100%
</div>
<div class="uplib" v-if="showtabnum == 3">
指标名称:<br>{{pagedisname}}患者{{rightlist3}}<br>
计算公式:<br>目前已随访人次数/在管高血压患者年内应随访次数
</div> </div>
<tbody class="scrollTbody"> <tbody class="scrollTbody">
<tr v-for="(item, index) in tableAll" :key="index"> <tr v-for="(item, index) in tableAll" :key="index">
...@@ -263,27 +254,13 @@ ...@@ -263,27 +254,13 @@
hospitalname: '', hospitalname: '',
sel: '筛选', sel: '筛选',
option: { option: {
tooltip: {
show: false,
formatter: "{a} <br/>{b} : {c} ({d}%)"
},
legend: {
orient: 'vertical',
x: 130,
y: 10,
itemGap: 10,
data: ['三级占比', '二级占比'],
textStyle: {
color: '#fff',
fontSize: 12
}
},
series: [{ series: [{
name: '1', name: '1',
type: 'pie', type: 'pie',
clockWise: false, clockWise: false,
radius: [45, 37], radius: [42, 54],
center: ['88%', '55%'],
hoverAnimation: false, hoverAnimation: false,
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -296,7 +273,7 @@ ...@@ -296,7 +273,7 @@
} }
}, },
data: [{ data: [{
value: 44, value: null,
name: '三级占比', name: '三级占比',
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -305,7 +282,7 @@ ...@@ -305,7 +282,7 @@
} }
}, },
{ {
value: 55, value: null,
name: 'invisible', name: 'invisible',
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -328,7 +305,8 @@ ...@@ -328,7 +305,8 @@
name: '2', name: '2',
type: 'pie', type: 'pie',
clockWise: false, clockWise: false,
radius: [36, 28], radius: [30, 42],
center: ['88%', '55%'],
hoverAnimation: false, hoverAnimation: false,
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -341,7 +319,7 @@ ...@@ -341,7 +319,7 @@
} }
}, },
data: [{ data: [{
value: 42.5, value: null,
name: '二级占比', name: '二级占比',
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -350,7 +328,7 @@ ...@@ -350,7 +328,7 @@
} }
}, },
{ {
value: 100 - 43.7, value: null,
name: 'invisible', name: 'invisible',
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -373,7 +351,8 @@ ...@@ -373,7 +351,8 @@
name: '2', name: '2',
type: 'pie', type: 'pie',
clockWise: false, clockWise: false,
radius: [27, 19], radius: [18, 30],
center: ['88%', '55%'],
hoverAnimation: false, hoverAnimation: false,
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -386,7 +365,7 @@ ...@@ -386,7 +365,7 @@
} }
}, },
data: [{ data: [{
value: 42.5, value: null,
name: '二级占比', name: '二级占比',
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -395,7 +374,7 @@ ...@@ -395,7 +374,7 @@
} }
}, },
{ {
value: 100 - 43.7, value: null,
name: 'invisible', name: 'invisible',
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -419,19 +398,10 @@ ...@@ -419,19 +398,10 @@
option2: { option2: {
color: ['#42ccff', '#3F81BB'], color: ['#42ccff', '#3F81BB'],
series: [{ series: [{
itemStyle: {
normal: {
label: {
show: true,
formatter: '{b} : {c} ({d}%)'
},
labelLine: {
show: true
}
}
},
name: '', name: '',
type: 'pie', type: 'pie',
hoverAnimation:false,
radius: '75%', radius: '75%',
center: ['50%', '50%'], center: ['50%', '50%'],
label: { label: {
...@@ -440,34 +410,11 @@ ...@@ -440,34 +410,11 @@
show: false, show: false,
}, },
}, },
data: [{ data: [
value: 10, {value: 0, name: ''},
name: '已处理', {value: 0, name: ''},
color: "red", ]
areaStyle: {
normal: {
backgroundColor: '#42ccff'
}
}
},
{
value: 90,
name: '待处理',
color: "red",
areaStyle: {
normal: {
backgroundColor: '#3F81BB'
}
}
},
],
itemStyle: {
emphasis: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
}
}] }]
}, },
option3: { option3: {
...@@ -581,21 +528,21 @@ ...@@ -581,21 +528,21 @@
res += '<li>签.高血压患者血压记录自动上传比例/去年:' + params[0].data.num7 + '/' + params[0].data.num8 + '%</li>'; res += '<li>签.高血压患者血压记录自动上传比例/去年:' + params[0].data.num7 + '/' + params[0].data.num8 + '%</li>';
res += '</ul>'; res += '</ul>';
} else if (params[0].seriesName == '管理/签约人群药物治疗人数') { } else if (params[0].seriesName == '管理/签约人群药物治疗人数') {
res += '<ul class="f12 pl10 pr15">'; // res += '<ul class="f12 pl10 pr15">';
res += '<li class="f13"> ' + params[0].axisValue + '</li>'; // res += '<li class="f13"> ' + params[0].axisValue + '</li>';
res += '<li>管理/签约人群年内已管理的高血压患者中接受药物治疗的人数:' + params[0].data.num1 + '/' + params[0].data.num2 + '万</li>'; // res += '<li>管理/签约人群年内已管理的高血压患者中接受药物治疗的人数:' + params[0].data.num1 + '/' + params[0].data.num2 + '</li>';
res += '<li>去年管理/签约人群年内已管理的高血压患者中接受药物治疗的人数:' + params[0].data.num3 + '/' + params[0].data.num4 + '万</li>'; // res += '<li>去年管理/签约人群年内已管理的高血压患者中接受药物治疗的人数:' + params[0].data.num3 + '/' + params[0].data.num4 + '</li>';
res += '<li>管.高血压患者药物治疗率/去年:' + params[0].data.num5 + '/' + params[0].data.num6 + '%</li>'; // res += '<li>.高血压患者药物治疗率/去年:' + params[0].data.num5 + '/' + params[0].data.num6 + '%</li>';
res += '<li>签.高血压患者药物治疗率/去年:' + params[0].data.num7 + '/' + params[0].data.num8 + '%</li>'; // res += '<li>.高血压患者药物治疗率/去年:' + params[0].data.num7 + '/' + params[0].data.num8 + '%</li>';
res += '</ul>'; // res += '</ul>';
} else { } else if (params[0].seriesName == '管理/签约人群就诊人次数') {
res += '<ul class="f12 pl10 pr15">'; // res += '<ul class="f12 pl10 pr15">';
res += '<li class="f13"> ' + params[0].axisValue + '</li>'; // res += '<li class="f13"> ' + params[0].axisValue + '</li>';
res += '<li>管理/签约人群年内已管理的高血压患者中就诊人数:' + params[0].data.num1 + '/' + params[0].data.num2 + '万</li>'; // res += '<li>管理/签约人群年内已管理的高血压患者中就诊人数:' + params[0].data.num1 + '/' + params[0].data.num2 + '</li>';
res += '<li>去年管理/签约人群年内已管理的高血压患者中就诊人数:' + params[0].data.num3 + '/' + params[0].data.num4 + '万</li>'; // res += '<li>去年管理/签约人群年内已管理的高血压患者中就诊人数:' + params[0].data.num3 + '/' + params[0].data.num4 + '</li>';
res += '<li>管.高血压患者就诊率/去年:' + params[0].data.num5 + '/' + params[0].data.num6 + '%</li>'; // res += '<li>.高血压患者就诊率/去年:' + params[0].data.num5 + '/' + params[0].data.num6 + '%</li>';
res += '<li>签.高血压患者就诊率/去年:' + params[0].data.num7 + '/' + params[0].data.num8 + '%</li>'; // res += '<li>.高血压患者就诊率/去年:' + params[0].data.num7 + '/' + params[0].data.num8 + '%</li>';
res += '</ul>'; // res += '</ul>';
} }
return res return res
} }
...@@ -942,18 +889,20 @@ ...@@ -942,18 +889,20 @@
wczbz: 0, wczbz: 0,
wwczbz: 0, wwczbz: 0,
zqlv: 0, zqlv: 0,
zqs:0,
gflv: 0, gflv: 0,
wclvdata: [], wclvdata: [],
zqsdata: [],
zqlvdata: [], zqlvdata: [],
gflvdata: [], gflvdata: [],
chdata: [], chdata: [],
dieaName: '血压', dieaName: '血压',
rightlist1: '规范管理率', rightlist1: '',
rightlist2: '随访率', rightlist2: '',
rightlist3: '随访比', rightlist3: '',
areaclick: true, areaclick: true,
showtabnum: 0, showtabnum: 0,
pagedisname: '高血压', explanation: '',
isShowBack: false, isShowBack: false,
userinfo: {}, userinfo: {},
...@@ -1582,7 +1531,81 @@ ...@@ -1582,7 +1531,81 @@
}) })
}, },
showtab(num) { showtab(num) {
this.showtabnum = num if(num < 4){
this.showtabnum = 4
}else{
this.showtabnum = num
return
}
if('gxy'=== this.mbType && 'sf' === this.fxType && num === 2){ //高血压患者规范管理率
this.explanation = "指标名称:<br/>高血压患者规范管理率<br/>计算公式:<br/>年内按照要求进行高血压患者健康管理的人数/年内管理高血压患者人数×100%";
}else if('gxy'=== this.mbType && 'sf' === this.fxType && num === 1){ //高血压患者随访率
this.explanation = "指标名称:<br/>高血压患者随访率<br/>计算公式:<br/>年内正常随访过一次的高血压患者人数/年内应管理高血压患者人数";
}else if('gxy'=== this.mbType && 'sf' === this.fxType && num === 3){ //高血压患者随访比
this.explanation = "指标名称:<br/>年内按计划随访高血压患者(人次数)完成比例<br/>计算公式:<br/>目前已随访人次数/在管高血压患者年内应随访次数";
}else if('gxy'=== this.mbType && 'jc' === this.fxType && num === 1){ //高血压监测血压自动上传比
this.explanation = "指标名称:<br/>高血压患者血压记录自动上传比例<br/>计算公式:<br/>年内高血压患者血压自动上传记录数/高血压血压总记录数×100%";
}else if('gxy'=== this.mbType && 'jc' === this.fxType && num === 2){ //高血压监测血压自动上传比
this.explanation = "指标名称:<br/>高血压患者血同型半胱氨酸检测率<br/>计算公式:<br/>年内接受过同型半胱氨酸检查的高血压患者数/年内管理的高血压患者人数×100%"
}else if('gxy'=== this.mbType && 'fy' === this.fxType && num === 2){ //高血压服药治疗率
this.explanation = "指标名称:<br/>高血压患者药物治疗率<br/>计算公式:<br/>年内已管理的高血压患者中接受药物治疗的人数/年内管理的高血压患者人数×100%";
}else if('gxy'=== this.mbType && 'jz' === this.fxType && num === 1){ //高血压患者就诊率
this.explanation = "指标名称:<br/>高血压患者就诊率<br/>计算公式:<br/>年内已管理的高血压患者中就诊人数/年内管理的高血压患者人数×100%";
}else if('gxy'=== this.mbType && 'jz' === this.fxType && num === 2){ //高血压患者住院率
this.explanation = "指标名称:<br/>高血压患者住院率<br/>计算公式:<br/>年内已管理的高血压患者中住院人数/年内管理的高血压患者人数×100%";
// }else if('gxy'=== this.mbType && 'sf' === this.fxType && num === 2){ //高血压干预接种率
// this.explanation = "指标名称:<br/>肺炎疫苗干预目标人群接种率<br/>计算公式:<br/>高血压患者肺炎疫苗干预目标人群中已接种疫苗人数/高血压患者肺炎疫苗干预目标人数×100";
//
// }else if('gxy'=== this.mbType && 'sf' === this.fxType && num === 2){ //高血压干预告知率
// this.explanation = "指标名称:<br/>患者肺炎疫苗干预目标人群告知率<br/>计算公式:<br/>高血压患者肺炎疫苗干预目标人群中已完成告知疫苗接种的人数/高血压患者肺炎疫苗干预目标人数×100";
}else if('tnb'=== this.mbType && 'sf' === this.fxType && num === 1){ //糖尿病患者规范管理率
this.explanation = "指标名称:<br/>糖尿病患者规范管理率<br/>计算公式:<br/>年内按照要求进行糖尿病患者健康管理的人数/年内管理糖尿病患者人数×100";
}else if('tnb'=== this.mbType && 'sf' === this.fxType && num === 2){ //糖尿病患者随访率
this.explanation = "指标名称:<br/>糖尿病患者随访率<br/>计算公式:<br/>年内正常随访过一次的糖尿病患者人数/年内应管理糖尿病患者人数";
}else if('tnb'=== this.mbType && 'sf' === this.fxType && num === 3){ //糖尿病患者随访比
this.explanation = "指标名称:<br/>年内按计划随访糖尿病患者(人次数)完成比例<br/>计算公式:<br/>目前已随访人次数/在管糖尿病患者年内应随访次数";
}else if('tnb'=== this.mbType && 'jc' === this.fxType && num === 1){ //糖尿病监测血糖自动上传比
this.explanation = "指标名称:<br/>糖尿病患者空腹血糖自动上传比例<br/>计算公式:<br/>年内糖尿病患者自动上传空腹血糖记录数/空腹血糖总记录数";
}else if('tnb'=== this.mbType && 'jc' === this.fxType && num === 2){ //糖尿病监测糖化自动上传比
this.explanation = "指标名称:<br/>糖尿病患者糖化血红蛋白自动上传比例<br/>计算公式:<br/>年内糖尿病患者自动上传糖化血红蛋白/糖化血红蛋白总记录数";
}else if('tnb'=== this.mbType && 'fy' === this.fxType && num === 2){ //糖尿病服药治疗率
this.explanation = "指标名称:<br/>糖尿病患者药物治疗率<br/>计算公式:<br/>年内已管理的糖尿病患者中接受药物治疗的人数/年内管理的糖尿病患者人数×100%";
// }else if('tnb'=== this.mbType && 'sf' === this.fxType && num === 3){ //糖尿病干预接种率
// this.explanation = "指标名称:<br/>肺炎疫苗干预目标人群接种率<br/>计算公式:<br/>糖尿病患者肺炎疫苗干预目标人群中已接种疫苗人数/糖尿病患者肺炎疫苗干预目标人数×100";
//
// }else if('tnb'=== this.mbType && 'sf' === this.fxType && num === 3){ //糖尿病干预告知率
// this.explanation = "指标名称:<br/>患者肺炎疫苗干预目标人群告知率<br/>计算公式:<br/>糖尿病患者肺炎疫苗干预目标人群中已完成告知疫苗接种的人数/糖尿病患者肺炎疫苗干预目标人数×100";
}else if('tnb'=== this.mbType && 'jz' === this.fxType && num === 1){ //糖尿病就诊率
this.explanation = "指标名称:<br/>糖尿病患者就诊率<br/>计算公式:<br/>年内已管理的糖尿病患者中就诊人数/年内管理的糖尿病患者人数×100%";
}else if('tnb'=== this.mbType && 'jz' === this.fxType && num === 2){ //糖尿病住院率
this.explanation = "指标名称:<br/>糖尿病患者住院率<br/>计算公式:<br/>年内已管理的糖尿病患者中住院人数/年内管理的糖尿病患者人数×100%";
}else if('zl'=== this.mbType && 'sf' === this.fxType && num === 1){ //肿瘤初访完成比例
this.explanation = "指标名称:<br/>肿瘤患者初访完成比例<br/>计算公式:<br/>完成初访病例数/社区卫生服务中心应初访病例数(即去除死亡与联系方式有误的病例)×100%";
}else if('zl'=== this.mbType && 'sf' === this.fxType && num === 1){ //肿瘤知情随访服务比
this.explanation = "指标名称:<br/>肿瘤患者知情同意接受随访服务比例<br/>计算公式:<br/>知情同意接受随访服务的病例数/社区卫生服务中心完成初访病例数×100%";
}else if('zl'=== this.mbType && 'sf' === this.fxType && num === 1){ //肿瘤规范管理率
this.explanation = "指标名称:<br/>肿瘤患者规范管理率<br/>计算公式:<br/>开展随访服务的存活病例数/社区卫生服务中心知情同意接受随访服务的存活病例数×100%";
}else{
this.showtabnum = num
}
}, },
CityGetBack() { CityGetBack() {
...@@ -1722,19 +1745,12 @@ ...@@ -1722,19 +1745,12 @@
}, },
exitFn() { exitFn() {
this.$router.push({ this.$router.push({
path: '/' path: '/Index'
}); });
}, },
mbTabChange(mbType) { mbTabChange(mbType) {
let _this = this let _this = this
_this.mbType = mbType _this.mbType = mbType
if (mbType === 'gxy') {
this.pagedisname = '高血压'
} else if (mbType === 'tnb') {
this.pagedisname = '糖尿病'
} else {
this.pagedisname = '肿瘤'
}
_this.agedatayq = [] _this.agedatayq = []
_this.agedatayg = [] _this.agedatayg = []
...@@ -1831,9 +1847,7 @@ ...@@ -1831,9 +1847,7 @@
zhongliu() { zhongliu() {
console.log("肿瘤的上方圆形图表输出"); console.log("肿瘤的上方圆形图表输出");
let _this = this let _this = this
this.rightlist1 = '初访完成比/同·%'
this.rightlist2 = '知情同意接受随访比/偏·%'
this.rightlist3 = '规范管理率/同·%'
let wd = [{ let wd = [{
"name": "YWSJ", "name": "YWSJ",
"type": "2", "type": "2",
...@@ -1864,14 +1878,18 @@ ...@@ -1864,14 +1878,18 @@
if (item.ZBID == 1037) { if (item.ZBID == 1037) {
_this.wclv = item.ZXZ ? item.ZXZ : 0 _this.wclv = item.ZXZ ? item.ZXZ : 0
_this.wczbz = item.ZXZ ? item.ZXZ : 0 _this.wczbz = item.ZXZ ? item.ZXZ : 0
_this.wwczbz = 100 - item.ZXZ ? item.ZXZ : 0 _this.wwczbz = item.ZXZ ? 100 - item.ZXZ : 0
_this.wclvdata = item _this.wclvdata = item
} }
if (item.ZBID == 1041) { if (item.ZBID == 1040) {
_this.zqlv = item.ZXZ ? item.ZXZ : 0 _this.zqlv = item.ZXZ ? item.ZXZ : 0
_this.zqlvdata = item _this.zqlvdata = item
} }
if (item.ZBID == 1041) {
_this.zqs = item.ZXZ ? item.ZXZ : 0
_this.zqsdata = item
}
if (item.ZBID == 1042) { if (item.ZBID == 1042) {
_this.gflv = item.ZXZ ? item.ZXZ : 0 _this.gflv = item.ZXZ ? item.ZXZ : 0
_this.gflvdata = item _this.gflvdata = item
...@@ -1882,20 +1900,179 @@ ...@@ -1882,20 +1900,179 @@
}) })
// tableAll // tableAll
_this.option2.series[0].data[0].value = _this.wczbz _this.option2.series[0].data[0].value = _this.wczbz
_this.option2.series[0].data[0].name = '完成率'
_this.option2.series[0].data[1].value = _this.wwczbz _this.option2.series[0].data[1].value = _this.wwczbz
_this.option2.series[0].data[1].name = '未完成'
_this.$echarts.init(document.getElementById("pag1canser")).setOption(_this.option2, true) _this.$echarts.init(document.getElementById("pag1canser")).setOption(_this.option2, true)
_this.option.series[0].data[0].value = _this.wclv _this.option.series[0].data[0].value = _this.wclv / 2
_this.option.series[0].data[1].value = 100 - _this.wclv _this.option.series[0].data[1].value = 100 - _this.wclv / 2
_this.option.series[1].data[0].value = _this.zqlv _this.option.series[1].data[0].value = _this.zqlv / 2
_this.option.series[1].data[1].value = 100 - _this.zqlv _this.option.series[1].data[1].value = 100 - _this.zqlv / 2
_this.option.series[2].data[0].value = _this.gflv _this.option.series[2].data[0].value = _this.gflv / 2
_this.option.series[2].data[1].value = 100 - _this.gflv _this.option.series[2].data[1].value = 100 - _this.gflv / 2
_this.$echarts.init(document.getElementById("chartsright")).setOption(_this.option, true) _this.$echarts.init(document.getElementById("chartsright")).setOption(_this.option, true)
}).catch(err => { }).catch(err => {
console.log("--慢病管理肿瘤报错--"); console.log("--慢病管理肿瘤报错--");
}) })
}, },
initZlBottomData(){
let wd = [{
"name": "YWSJ",
"type": "2",
"startTime": '',
"endTime": this.cxsj,
"compare": "between",
}, {
"name": "XZQH",
"value": this._xzqh,
"type": "1"
}, {
"name": "YLJGDM",
"value": this._yljgdm,
"type": "1"
}]
let param = {
"themeId": 12,
"wd": JSON.stringify(wd),
"group": this._group,
}
let _this = this
_this.zl_x = []
_this.zl_code = []
_this.tableAll = []
_this.zlseriesA = []
_this.zlseriesB = []
_this.zlseriesC = []
_this.zlseriesD = []
_this.zlseriesE = []
_this.zlseriesF = []
_this.zlseriesG = []
_this.zlseriesH = []
let zlData = []
commonMethod(param).then(res => {
zlData = res.data.content
if('XZQH' === this._group){
zlData.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}else if('YLJGDM' === this._group){
zlData.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}
zlData.forEach((item, index) => {
let obj = {}
if (item.YWSJ) {
obj.name = item.YWSJ.substring(5, 7) + '月'
} else {
if (item.XZQH_TEXT) {
obj.name = item.XZQH_TEXT
obj.code = item.XZQH
} else if (item.YLJGDM_EX2) {
obj.name = item.YLJGDM_EX2
obj.code = item.YLJGDM
} else {
obj.name = ''
return false
}
}
if (_this.groupNo === 'org') {
_this.zl_x.push(obj.name)
_this.zl_code.push(obj.code)
}else{
let NameTemp
NameTemp = item.YWSJ.substring(6, 7) + '月' ?
item.YWSJ.substring(6, 7) + '月' : item.YLJGDM_EX2.substring(6, 7) + '月'
_this.zl_x.push(NameTemp)
}
item.zbxx.forEach((item2, index) => {
if (item2.ZBID == '1038') {//肿瘤患者完成初访病例数
_this.zlseriesA.push(getActiveNum(item2.ZXZ / 10000))
_this.zlseriesB.push(getActiveNum(item2.TBZ / 10000))
}
if (item2.ZBID == '1037') {//肿瘤患者初访完成比例
_this.zlseriesC.push(getActiveNum(item2.ZXZ))
_this.zlseriesD.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == '1040') {//肿瘤患者知情同意接受随访服务比例
_this.zlseriesE.push(getActiveNum(item2.ZXZ))
_this.zlseriesF.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == '1042') {//肿瘤患者规范管理率
_this.zlseriesG.push(getActiveNum(item2.ZXZ))
_this.zlseriesH.push(getActiveNum(item2.TBZ))
}
})
})
_this.zlseriesA.forEach((item, index) => {
let obj = {}
obj.name = _this.zl_x[index]
obj.code = _this.zl_code[index]
obj.tag1 = getActiveNum(_this.zlseriesC[index])
obj.tag2 = getActiveNum(_this.zlseriesD[index])
obj.tag3 = getActiveNum(_this.zlseriesE[index])
obj.tag4 = getActiveNum(_this.zlseriesF[index])
obj.tag5 = getActiveNum(_this.zlseriesG[index])
obj.tag6 = getActiveNum(_this.zlseriesH[index])
_this.tableAll.push(obj)
let tooltip = {}
tooltip.num1 = _this.zlseriesA[index]
tooltip.num2 = _this.zlseriesB[index]
tooltip.num3 = _this.zlseriesC[index]
tooltip.num4 = _this.zlseriesD[index]
tooltip.num5 = _this.zlseriesE[index]
tooltip.num6 = _this.zlseriesF[index]
tooltip.num7 = _this.zlseriesG[index]
tooltip.num8 = _this.zlseriesH[index]
_this.zlseriesA[index] = Object.assign({value:_this.zlseriesA[index]}, tooltip)
_this.zlseriesB[index] = Object.assign({value:_this.zlseriesB[index]}, tooltip)
_this.zlseriesC[index] = Object.assign({value:_this.zlseriesC[index]}, tooltip)
_this.zlseriesD[index] = Object.assign({value:_this.zlseriesD[index]}, tooltip)
})
let zlLegend = [`完成初访病例数/去年`, `初访完成比/去年`, `知情同意接受随访比/去年`, `规范管理率/去年`]
_this.option4.legend.data = zlLegend
_this.option4.series[0].data = []
_this.option4.series[1].data = []
_this.option4.series[2].data = _this.zlseriesA
_this.option4.series[3].data = []
_this.option4.series[4].data = []
_this.option4.series[5].data = _this.zlseriesB
_this.option4.series[6].data = _this.zlseriesC
_this.option4.series[7].data = _this.zlseriesD
_this.option4.series[8].data = _this.zlseriesG
_this.option4.series[9].data = []
_this.option4.series[10].data = []
_this.option4.series[11].data = []
_this.option4.series[0].name = zlLegend[0]
_this.option4.series[1].name = zlLegend[0]
_this.option4.series[2].name = zlLegend[0]
_this.option4.series[3].name = zlLegend[0]
_this.option4.series[4].name = zlLegend[0]
_this.option4.series[5].name = zlLegend[0]
_this.option4.series[6].name = zlLegend[1]
_this.option4.series[7].name = zlLegend[2]
_this.option4.series[8].name = zlLegend[3]
_this.option4.xAxis[0].data = _this.zl_x
_this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true)
this.rightlist1 = '初访完成<br/>比/同·%'
this.rightlist2 = '知情同意<br/>接受随访比/偏·%'
this.rightlist3 = '规范管理<br/>率/同·%'
})
},
toNextOrg(code, name) { toNextOrg(code, name) {
if (this.pageLevel === 'sj') { if (this.pageLevel === 'sj') {
...@@ -1933,6 +2110,10 @@ ...@@ -1933,6 +2110,10 @@
this.bottominit() this.bottominit()
}, },
bottominit() { bottominit() {
if(this.mbType === 'zl'){
this.initZlBottomData()
return false
}
let _this = this let _this = this
let wd, param, wdq, paramq let wd, param, wdq, paramq
...@@ -1983,8 +2164,10 @@ ...@@ -1983,8 +2164,10 @@
_this.data_x = [] _this.data_x = []
_this.data_code = [] _this.data_code = []
_this.tableAll = [] _this.tableAll = []
_this.gxyseriesA = []
_this.gxyseriesA_g = [] _this.gxyseriesA_g = []
_this.gxyseriesA_q = [] _this.gxyseriesA_q = []
_this.gxyseriesB = []
_this.gxyseriesB_g = [] _this.gxyseriesB_g = []
_this.gxyseriesB_q = [] _this.gxyseriesB_q = []
_this.gxyseriesC = [] _this.gxyseriesC = []
...@@ -2001,6 +2184,14 @@ ...@@ -2001,6 +2184,14 @@
temptableAllQ.sort((prev, next) => { temptableAllQ.sort((prev, next) => {
return parseInt(prev.YWSJ.substring(5, 7)) - parseInt(next.YWSJ.substring(5, 7)) return parseInt(prev.YWSJ.substring(5, 7)) - parseInt(next.YWSJ.substring(5, 7))
}) })
}else if('XZQH' === this._group){
temptableAllQ.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}else if('YLJGDM' === this._group){
temptableAllQ.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
} }
commonMethod(param).then(res => { commonMethod(param).then(res => {
let temptableAll = res.data.content let temptableAll = res.data.content
...@@ -2008,6 +2199,14 @@ ...@@ -2008,6 +2199,14 @@
temptableAll.sort((prev, next) => { temptableAll.sort((prev, next) => {
return parseInt(prev.YWSJ.substring(5, 7)) - parseInt(next.YWSJ.substring(5, 7)) return parseInt(prev.YWSJ.substring(5, 7)) - parseInt(next.YWSJ.substring(5, 7))
}) })
}else if('XZQH' === this._group){
temptableAll.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}else if('YLJGDM' === this._group){
temptableAll.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
} }
// if (_this.groupNo === 'time') { // if (_this.groupNo === 'time') {
// _this.data_x = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"] // _this.data_x = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"]
...@@ -2015,7 +2214,7 @@ ...@@ -2015,7 +2214,7 @@
if (this.fxType === 'sf') { if (this.fxType === 'sf') {
// 随访 - 标签数据获取 // 随访 - 标签数据获取
res.data.content.forEach((item, index) => { temptableAll.forEach((item, index) => {
let obj = {} let obj = {}
if (item.YWSJ) { if (item.YWSJ) {
obj.name = item.YWSJ.substring(5, 7) + '月' obj.name = item.YWSJ.substring(5, 7) + '月'
...@@ -2077,18 +2276,6 @@ ...@@ -2077,18 +2276,6 @@
}) })
temptableAllQ.forEach((item, index) => { temptableAllQ.forEach((item, index) => {
if (item.YWSJ) {
} else {
if (item.XZQH_TEXT) {
} else if (item.YLJGDM_EX2) {
} else {
return false
}
}
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
if (_this.mbType === 'gxy') { if (_this.mbType === 'gxy') {
...@@ -2219,12 +2406,13 @@ ...@@ -2219,12 +2406,13 @@
console.log(_this.option4) console.log(_this.option4)
_this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true) _this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true)
this.rightlist1 = '规范管理率' this.rightlist1 = '管/签<br/>随访率·%'
this.rightlist2 = '随访率' this.rightlist2 = '管/签<br/>规范管理率·%'
this.rightlist3 = '随访比' this.rightlist3 = '管/签<br/>随访比·%'
} else if (this.fxType === 'jc') { }
else if (this.fxType === 'jc') {
// 监测 - 标签数据获取 // 监测 - 标签数据获取
res.data.content.forEach((item, index) => { temptableAll.forEach((item, index) => {
let obj = {} let obj = {}
if (item.YWSJ) { if (item.YWSJ) {
obj.name = item.YWSJ.substring(5, 7) + '月' obj.name = item.YWSJ.substring(5, 7) + '月'
...@@ -2249,6 +2437,9 @@ ...@@ -2249,6 +2437,9 @@
} }
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
if (_this.mbType === 'gxy') { if (_this.mbType === 'gxy') {
this.rightlist1 = '管/签血压<br/>自动上传比·%'
this.rightlist2 = '管/签同型<br/>半胱氨酸比·%'
this.rightlist3 = ''
if (item2.ZBID == '1064') { if (item2.ZBID == '1064') {
_this.gxyseriesA_g.push(getActiveNum(item2.ZXZ / 10000)) _this.gxyseriesA_g.push(getActiveNum(item2.ZXZ / 10000))
_this.gxyseriesB_g.push(getActiveNum(item2.TBZ / 10000)) _this.gxyseriesB_g.push(getActiveNum(item2.TBZ / 10000))
...@@ -2260,9 +2451,23 @@ ...@@ -2260,9 +2451,23 @@
_this.gxyseriesE.push(item2.ZXZ) _this.gxyseriesE.push(item2.ZXZ)
} }
}else if (_this.mbType === 'tnb') { }else if (_this.mbType === 'tnb') {
this.rightlist1 = '管/签血糖<br/>自动上传比·%'
this.rightlist2 = '管/签糖化<br/>自动上传比·%'
this.rightlist3 = ''
if (item2.ZBID == '1061') {
_this.gxyseriesA_g.push(getActiveNum(item2.ZXZ / 10000))
_this.gxyseriesB_g.push(getActiveNum(item2.TBZ / 10000))
}
if (item2.ZBID == '1050') {
_this.gxyseriesC.push(item2.ZXZ)
}
if (item2.ZBID == '1055') {
_this.gxyseriesE.push(item2.ZXZ)
}
if (item2.ZBID == '1060') {
_this.gxyseriesG.push(item2.ZXZ)
}
} }
}) })
...@@ -2270,23 +2475,42 @@ ...@@ -2270,23 +2475,42 @@
temptableAllQ.forEach((item, index) => { temptableAllQ.forEach((item, index) => {
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
if (_this.mbType === 'gxy') {
if (item2.ZBID == '1064') {
_this.gxyseriesA_q.push(getActiveNum(item2.ZXZ / 10000))
_this.gxyseriesB_q.push(getActiveNum(item2.TBZ / 10000))
}
if (item2.ZBID == '1063') {
_this.gxyseriesD.push(getActiveNum(item2.ZXZ))
}
if (item2.ZBID == '1093') {
_this.gxyseriesF.push(item2.ZXZ)
}
}else if (_this.mbType === 'tnb') {
this.rightlist1 = '管/签血糖<br/>自动上传比·%'
this.rightlist2 = '管/签糖化<br/>自动上传比·%'
this.rightlist3 = ''
if (item2.ZBID == '1064') { if (item2.ZBID == '1061') {
_this.gxyseriesA_q.push(getActiveNum(item2.ZXZ / 10000)) _this.gxyseriesA_q.push(getActiveNum(item2.ZXZ / 10000))
_this.gxyseriesB_q.push(getActiveNum(item2.TBZ / 10000)) _this.gxyseriesB_q.push(getActiveNum(item2.TBZ / 10000))
} }
if (item2.ZBID == '1063') { if (item2.ZBID == '1050') {
_this.gxyseriesD.push(getActiveNum(item2.ZXZ)) _this.gxyseriesD.push(item2.ZXZ)
} }
if (item2.ZBID == '1093') { if (item2.ZBID == '1055') {
_this.gxyseriesF.push(item2.ZXZ) _this.gxyseriesF.push(item2.ZXZ)
}
if (item2.ZBID == '1060') {
_this.gxyseriesH.push(item2.ZXZ)
}
} }
}) })
}) })
_this.gxyseriesA_g.forEach((item, index) => { _this.gxyseriesA_g.forEach((item, index) => {
let obj = {} let obj = {}
_this.gxyseriesA[index] = getActiveNum(_this.gxyseriesA_g[index] - _this.gxyseriesA_q[index]) let a = getActiveNum(_this.gxyseriesA_g[index] - _this.gxyseriesA_q[index])
_this.gxyseriesB[index] = getActiveNum(_this.gxyseriesB_g[index] - _this.gxyseriesB_q[index]) let b = getActiveNum(_this.gxyseriesB_g[index] - _this.gxyseriesB_q[index])
obj.name = _this.data_x[index] obj.name = _this.data_x[index]
obj.code = _this.data_code[index] obj.code = _this.data_code[index]
obj.tag1 = getActiveNum(_this.gxyseriesC[index]) obj.tag1 = getActiveNum(_this.gxyseriesC[index])
...@@ -2295,7 +2519,23 @@ ...@@ -2295,7 +2519,23 @@
obj.tag4 = getActiveNum(_this.gxyseriesF[index]) obj.tag4 = getActiveNum(_this.gxyseriesF[index])
_this.tableAll.push(obj) _this.tableAll.push(obj)
let tooltip = {}
tooltip.num1 = _this.gxyseriesA_g[index]
tooltip.num2 = _this.gxyseriesA_q[index]
tooltip.num3 = _this.gxyseriesB_g[index]
tooltip.num4 = _this.gxyseriesB_q[index]
tooltip.num5 = _this.gxyseriesC[index]
tooltip.num6 = 0
tooltip.num7 = _this.gxyseriesD[index]
tooltip.num8 = 0
_this.gxyseriesA_q[index] = Object.assign({value:_this.gxyseriesA_q[index]}, tooltip)
_this.gxyseriesA[index] = Object.assign({value:a}, tooltip)
_this.gxyseriesB_q[index] = Object.assign({value:_this.gxyseriesB_q[index]}, tooltip)
_this.gxyseriesB[index] = Object.assign({value:b}, tooltip)
}) })
// _this.option4.series[0].name ="6666" // _this.option4.series[0].name ="6666"
let jcLegend = [`管理/签约人群${this.dieaName}自动上传记录数`, `去年管理/签约人群${this.dieaName}自动上传记录数`, let jcLegend = [`管理/签约人群${this.dieaName}自动上传记录数`, `去年管理/签约人群${this.dieaName}自动上传记录数`,
`管·${this.dieaName}自动上传比/去年`, `签·${this.dieaName}自动上传比/去年`, `管·同型半胱氨酸检测率/去年`, `签·同型半胱氨酸检测率/去年` `管·${this.dieaName}自动上传比/去年`, `签·${this.dieaName}自动上传比/去年`, `管·同型半胱氨酸检测率/去年`, `签·同型半胱氨酸检测率/去年`
...@@ -2328,21 +2568,12 @@ ...@@ -2328,21 +2568,12 @@
_this.option4.xAxis[0].data = _this.data_x _this.option4.xAxis[0].data = _this.data_x
_this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true) _this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true)
this.rightlist1 = '血压自动上传比'
this.rightlist2 = '同型半胱氨酸比' }
this.rightlist3 = '' else if (this.fxType === 'fy') {
} else if (this.fxType === 'fy') {
// 服药 - 标签数据获取 // 服药 - 标签数据获取
res.data.content.forEach((item, index) => { temptableAll.forEach((item, index) => {
let obj = { let obj = {}
name: '',
tag1: '',
tag2: '',
tag3: '',
tag4: '',
tag5: '',
tag6: ''
}
if (item.YWSJ) { if (item.YWSJ) {
obj.name = item.YWSJ.substring(5, 7) + '月' obj.name = item.YWSJ.substring(5, 7) + '月'
} else { } else {
...@@ -2362,14 +2593,14 @@ ...@@ -2362,14 +2593,14 @@
} }
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
if (item2.ZBID == '1072' || item2.ZBID == '1074') { if (item2.ZBID == '1072' || item2.ZBID == '1074') {
_this.gxyseriesA.push(parseFloat(item2.ZXZ / 10000)) _this.gxyseriesA.push(getActiveNum(item2.ZXZ / 10000))
_this.gxyseriesB.push(item2.TBZ) _this.gxyseriesB.push(getActiveNum(item2.TBZ))
obj.tag1 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 obj.tag1 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
obj.tag2 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 obj.tag2 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
} }
if (item2.ZBID == '1073' || item2.ZBID == '1075') { if (item2.ZBID == '1073' || item2.ZBID == '1075') {
_this.gxyseriesC.push(item2.ZXZ) _this.gxyseriesC.push(getActiveNum(item2.ZXZ))
_this.gxyseriesD.push(item2.ZXZ) _this.gxyseriesD.push(getActiveNum(item2.ZXZ))
obj.tag3 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 obj.tag3 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
obj.tag4 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0 obj.tag4 = item2.ZXZ ? parseFloat(item2.ZXZ).toFixed(1) : 0
} }
...@@ -2402,12 +2633,12 @@ ...@@ -2402,12 +2633,12 @@
_this.option4.series[7].name = fyLegend[3] _this.option4.series[7].name = fyLegend[3]
_this.option4.xAxis[0].data = _this.data_x _this.option4.xAxis[0].data = _this.data_x
_this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true) _this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true)
this.rightlist1 = '药物治疗人数·万' this.rightlist1 = '管/签<br/>药物治疗人数·万'
this.rightlist2 = '药物治疗率·%' this.rightlist2 = '管/签<br/>药物治疗率·%'
this.rightlist3 = '' this.rightlist3 = ''
} else if (this.fxType === 'jz') { } else if (this.fxType === 'jz') {
// 就诊 - 标签数据获取 // 就诊 - 标签数据获取
res.data.content.forEach((item, index) => { temptableAll.forEach((item, index) => {
let obj = {} let obj = {}
if (item.YWSJ) { if (item.YWSJ) {
obj.name = item.YWSJ.substring(5, 7) + '月' obj.name = item.YWSJ.substring(5, 7) + '月'
...@@ -2460,8 +2691,8 @@ ...@@ -2460,8 +2691,8 @@
_this.option4.series[5].data = _this.gxyseriesD _this.option4.series[5].data = _this.gxyseriesD
_this.option4.series[6].data = _this.gxyseriesE _this.option4.series[6].data = _this.gxyseriesE
_this.option4.series[7].data = _this.gxyseriesF _this.option4.series[7].data = _this.gxyseriesF
_this.option4.series[8].data = _this.gxyseriesF _this.option4.series[8].data = []
_this.option4.series[9].data = _this.gxyseriesF _this.option4.series[9].data = []
_this.option4.series[10].data = [] _this.option4.series[10].data = []
_this.option4.series[11].data = [] _this.option4.series[11].data = []
...@@ -2479,8 +2710,8 @@ ...@@ -2479,8 +2710,8 @@
_this.option4.series[9].name = jzLegend[5] _this.option4.series[9].name = jzLegend[5]
_this.option4.xAxis[0].data = _this.data_x _this.option4.xAxis[0].data = _this.data_x
_this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true) _this.$echarts.init(document.getElementById("middlebarbox1")).setOption(_this.option4, true)
this.rightlist1 = '就诊率' this.rightlist1 = '管/签<br/>就诊率·%'
this.rightlist2 = '住院率' this.rightlist2 = '管/签<br/>住院率·%'
this.rightlist3 = '' this.rightlist3 = ''
} }
...@@ -2553,21 +2784,21 @@ ...@@ -2553,21 +2784,21 @@
} }
#chartsright { #chartsright {
width: 100px; width: 70px;
height: 120px; height: 120px;
float: left; float: left;
} }
#chartstxt { #chartstxt {
width: 120px; width: 152px;
height: 100px; height: 100px;
float: left; float: left;
padding-top: 15px; padding-top: 6px;
} }
#chartstxt p { #chartstxt p {
clear: both; clear: both;
line-height: 22px; line-height: 16px;
color: #B3BFD2; color: #B3BFD2;
padding-right: 6px; padding-right: 6px;
} }
...@@ -2615,13 +2846,14 @@ ...@@ -2615,13 +2846,14 @@
.uplib { .uplib {
width: 100%; width: 100%;
height: 80px; height: 98px;
position: absolute; position: absolute;
top: 76px; top: 76px;
right: 0; right: 0;
left: 0; left: 0;
background: rgba(51, 51, 51, 0.9); background: rgba(51, 51, 51, 0.9);
padding: 10px padding: 10px;
text-align: left;
} }
</style> </style>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-button size="mini" type="primary" @click="CityGetBack()" v-if="this.pageLevel != 'sj'">返回</el-button> <el-button size="mini" type="primary" @click="CityGetBack()" v-if="this.pageLevel != 'sj'">返回</el-button>
<el-button size="mini" @click="changeReplay()" type="primary">重置</el-button> <el-button size="mini" @click="changeReplay()" type="primary">重置</el-button>
<el-date-picker v-model="cxsj" type="month" @change="dataSearch" align="left" size='mini' format="yyyy-MM" <el-date-picker v-model="cxsj" type="month" @change="dataSearch" align="left" size='mini' format="yyyy-MM"
cxsj-format="yyyy-MM" :placeholder="sel"></el-date-picker> value-format="yyyy-MM" :placeholder="sel"></el-date-picker>
<div class="name"><i class="el-icon-s-custom el-icon--left"></i>{{userinfo.userName}} 截止:{{cxsj}}</div> <div class="name"><i class="el-icon-s-custom el-icon--left"></i>{{userinfo.userName}} 截止:{{cxsj}}</div>
</div> </div>
</div> </div>
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
<span class="el-icon-bottom">&nbsp;</span> <span class="el-icon-bottom">&nbsp;</span>
</div> </div>
<div class="cmtline2"> <div class="cmtline2">
<p><span>{{parseFloat(autoUpControPre_g).toFixed(1)}}% <em></em>{{formatparam(autoUpControPre_gTbl)}}% <i <p><span>{{parseFloat(autoUpControPre_g).toFixed(1)}}% <em></em>{{(autoUpControPre_gHBL)}}% <i
class="el-icon-bottom color3">&nbsp;</i></span>自动上传血压控制率</p> class="el-icon-bottom color3">&nbsp;</i></span>自动上传血压控制率</p>
<p><span>{{parseFloat(ReportPre_g).toFixed(1)}}% <em></em>{{formatparam(ReportPre_gTbl)}}% <i <p><span>{{parseFloat(ReportPre_g).toFixed(1)}}% <em></em>{{(ReportPre_gHBL)}}% <i
class="el-icon-bottom color3">&nbsp;</i></span>报告血压控制率</p> class="el-icon-bottom color3">&nbsp;</i></span>报告血压控制率</p>
<p><span>{{parseFloat(hospital_g).toFixed(1)}}<em></em>{{formatparam(hospital_gTbl)}}% <i <p><span>{{parseFloat(hospital_g).toFixed(1)}}<em></em>{{(hospital_gHBL)}}% <i
class="el-icon-bottom color3">&nbsp;</i></span>住院人数</p> class="el-icon-bottom color3">&nbsp;</i></span>住院人数</p>
<p><span>{{formatnum(deadNum_g)}}<em></em>{{formatparam(deadNum_gTbl)}}% <i class="el-icon-bottom color3">&nbsp;</i></span>死亡人数 <p><span>{{formatnum(deadNum_g)}}<em></em>{{(deadNum_gHBL)}}% <i class="el-icon-bottom color3">&nbsp;</i></span>死亡人数
</p> </p>
</div> </div>
</div> </div>
...@@ -46,13 +46,13 @@ ...@@ -46,13 +46,13 @@
<span class="el-icon-bottom">&nbsp;</span> <span class="el-icon-bottom">&nbsp;</span>
</div> </div>
<div class="cmtline2"> <div class="cmtline2">
<p><span>{{parseFloat(autoUpControPre_q).toFixed(1)}}% <em></em>{{formatparam(autoUpControPre_qTbl)}}% <i <p><span>{{parseFloat(autoUpControPre_q).toFixed(1)}}% <em></em>{{(autoUpControPre_qHBL)}}% <i
class="el-icon-bottom color3">&nbsp;</i></span>自动上传血压控制率</p> class="el-icon-bottom color3">&nbsp;</i></span>自动上传血压控制率</p>
<p><span>{{parseFloat(ReportPre_q).toFixed(1)}}% <em></em>{{formatparam(ReportPre_qTbl)}}% <i <p><span>{{parseFloat(ReportPre_q).toFixed(1)}}% <em></em>{{(ReportPre_qHBL)}}% <i
class="el-icon-bottom color3">&nbsp;</i></span>报告血压控制率</p> class="el-icon-bottom color3">&nbsp;</i></span>报告血压控制率</p>
<p><span>{{parseFloat(hospital_q).toFixed(1)}}<em></em>{{formatparam(hospital_qTbl)}}% <i <p><span>{{parseFloat(hospital_q).toFixed(1)}}<em></em>{{(hospital_qHBL)}}% <i
class="el-icon-bottom color3">&nbsp;</i></span>住院人数</p> class="el-icon-bottom color3">&nbsp;</i></span>住院人数</p>
<p><span>{{formatnum(deadNum_q)}}<em></em>{{formatparam(deadNum_qTbl)}}% <i class="el-icon-bottom color3">&nbsp;</i></span>死亡人数 <p><span>{{formatnum(deadNum_q)}}<em></em>{{(deadNum_qHBL)}}% <i class="el-icon-bottom color3">&nbsp;</i></span>死亡人数
</p> </p>
</div> </div>
</div> </div>
...@@ -68,13 +68,13 @@ ...@@ -68,13 +68,13 @@
<span class="el-icon-bottom">&nbsp;</span> <span class="el-icon-bottom">&nbsp;</span>
</div> </div>
<div class="cmtline2"> <div class="cmtline2">
<p><span>{{parseFloat(autoUpControPre_g).toFixed(1)}}% <em></em>{{parseFloat(autoUpControPre_gTbl).toFixed(1)}}%</span>自动上传血糖控制率 <p><span>{{parseFloat(autoUpControPre_g).toFixed(1)}}% <em></em>{{autoUpControPre_gHBL}}%</span>自动上传血糖控制率
</p> </p>
<p><span>{{parseFloat(ReportPre_g).toFixed(1)}}% <em></em>{{parseFloat(ReportPre_gTbl).toFixed(1)}}%</span>报告血糖控制率 <p><span>{{parseFloat(ReportPre_g).toFixed(1)}}% <em></em>{{ReportPre_gHBL}}%</span>报告血糖控制率
</p> </p>
<p><span>{{parseFloat(hospital_g).toFixed(1)}}<em></em>{{parseFloat(hospital_gTbl).toFixed(1)}}%</span>住院人数 <p><span>{{parseFloat(hospital_g).toFixed(1)}}<em></em>{{hospital_gHBL}}%</span>住院人数
</p> </p>
<p><span>{{parseFloat(deadNum_g).toFixed(1)}}<em></em>{{parseFloat(deadNum_gTbl).toFixed(1)}}%</span>死亡人数 <p><span>{{formatnum(deadNum_g)}}<em></em>{{deadNum_gHBL}}%</span>死亡人数
</p> </p>
</div> </div>
</div> </div>
...@@ -88,13 +88,13 @@ ...@@ -88,13 +88,13 @@
<span class="el-icon-bottom">&nbsp;</span> <span class="el-icon-bottom">&nbsp;</span>
</div> </div>
<div class="cmtline2"> <div class="cmtline2">
<p><span>{{parseFloat(autoUpControPre_q).toFixed(1)}}% <em></em>{{parseFloat(autoUpControPre_qTbl).toFixed(1)}}%</span>自动上传血糖控制率 <p><span>{{parseFloat(autoUpControPre_q).toFixed(1)}}% <em></em>{{autoUpControPre_qHBL}}%</span>自动上传血糖控制率
</p> </p>
<p><span>{{parseFloat(ReportPre_q).toFixed(1)}}% <em></em>{{parseFloat(ReportPre_qTbl).toFixed(1)}}%</span>报告血糖控制率 <p><span>{{parseFloat(ReportPre_q).toFixed(1)}}% <em></em>{{ReportPre_qHBL}}%</span>报告血糖控制率
</p> </p>
<p><span>{{parseFloat(hospital_q).toFixed(1)}}<em></em>{{parseFloat(hospital_qTbl).toFixed(1)}}%</span>住院人数 <p><span>{{parseFloat(hospital_q).toFixed(1)}}<em></em>{{hospital_qHBL}}%</span>住院人数
</p> </p>
<p><span>{{parseFloat(deadNum_q).toFixed(1)}} <em></em>{{parseFloat(deadNum_qTbl).toFixed(1)}}%</span>死亡人数 <p><span>{{formatnum(deadNum_q)}}<em></em>{{deadNum_qHBL}}%</span>死亡人数
</p> </p>
</div> </div>
</div> </div>
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<!-- @click="change_age(1)" --> <!-- @click="change_age(1)" -->
<tr v-if="mbType === 'gxy'" @click="change_age(1)" :class="age_index==1?'myclk':''"> <tr v-if="mbType === 'gxy'" @click="change_age(1)" :class="age_index==1?'myclk':''">
<td width="55%" class="tdleft">脑卒中粗发病率</td> <td width="55%" class="tdleft">脑卒中粗发病率</td>
<td width="40%"><span class="sp01">{{parseFloat(hyper1_g).toFixed(2)}}%/{{parseFloat(hyper1_q).toFixed(2)}}%</span> <td width="40%"><span class="sp01">{{parseFloat(hyper1_g).toFixed(2)}}/{{parseFloat(hyper1_q).toFixed(2)}}%</span>
</td> </td>
<td width="5%">&nbsp;</td> <td width="5%">&nbsp;</td>
</tr> </tr>
...@@ -239,9 +239,9 @@ ...@@ -239,9 +239,9 @@
mbType: 'gxy', mbType: 'gxy',
value2: '', value2: '',
g_personAutoNum: [], // 在管数据 --今年 签约人群自动上传血压/血糖合格人数 g_personAutoNum: [], // 在管数据 --今年 签约人群自动上传血压/血糖合格人数
g_personAutoNumTbl: [], //在管数据 -- 去年 人群自动上传血压血糖合格人数 g_personAutoNumHBL: [], //在管数据 -- 去年 人群自动上传血压血糖合格人数
q_personAutoNum: [], // 签 数据 -- 今年 签约 同上 q_personAutoNum: [], // 签 数据 -- 今年 签约 同上
q_personAutoNumTbl: [], // 签数据 -- 去年 同上 q_personAutoNumHBL: [], // 签数据 -- 去年 同上
themeId: 28, themeId: 28,
bleedtype: '血压', bleedtype: '血压',
// 管 左侧变量 // 管 左侧变量
...@@ -251,10 +251,10 @@ ...@@ -251,10 +251,10 @@
ReportPre_g: 0, //报告血压控制率 ReportPre_g: 0, //报告血压控制率
hospital_g: 0, hospital_g: 0,
deadNum_g: 0, deadNum_g: 0,
autoUpControPre_gTbl: 20, // 自动上传血压右侧同比率 autoUpControPre_gHBL: 20, // 自动上传血压右侧同比率
ReportPre_gTbl: 20, //报告血压同比率 ReportPre_gHBL: 20, //报告血压同比率
hospital_gTbl: 20, hospital_gHBL: 20,
deadNum_gTbl: 20, deadNum_gHBL: 20,
// 签 左侧变量 // 签 左侧变量
aualperNum_q: 0, aualperNum_q: 0,
aualperNum_qNum: 11, aualperNum_qNum: 11,
...@@ -262,10 +262,10 @@ ...@@ -262,10 +262,10 @@
ReportPre_q: 0, ReportPre_q: 0,
hospital_q: 0, hospital_q: 0,
deadNum_q: 0, deadNum_q: 0,
autoUpControPre_qTbl: 20, // 右侧同比率 autoUpControPre_qHBL: 20, // 右侧同比率
ReportPre_qTbl: 20, ReportPre_qHBL: 20,
hospital_qTbl: 20, hospital_qHBL: 20,
deadNum_qTbl: 20, deadNum_qHBL: 20,
// 高血压病种疾病字段 左上角顺序依次从上到下 // 高血压病种疾病字段 左上角顺序依次从上到下
// 管 // 管
hyper1_g: 0, hyper1_g: 0,
...@@ -775,11 +775,12 @@ ...@@ -775,11 +775,12 @@
}, },
exitFn() { exitFn() {
this.$router.push({ this.$router.push({
path: '/' path: '/Index'
}); });
}, },
changeReplay() { changeReplay() {
this.mbType = 'gxy'
this.rqType = 'gfgl'
if ('city' === this.userRole) {//市角色 if ('city' === this.userRole) {//市角色
this._xzqh = "" this._xzqh = ""
this._yljgdm = '' this._yljgdm = ''
...@@ -878,7 +879,6 @@ ...@@ -878,7 +879,6 @@
this.pageHeadData() this.pageHeadData()
this.pageBottomData() this.pageBottomData()
}, },
pageHeadData() { pageHeadData() {
let _this = this let _this = this
...@@ -942,23 +942,23 @@ ...@@ -942,23 +942,23 @@
this.aualperNum_g = 0 this.aualperNum_g = 0
this.aualperNum_gNum = 0 this.aualperNum_gNum = 0
this.autoUpControPre_g = 0 this.autoUpControPre_g = 0
this.autoUpControPre_gTbl = 0 this.autoUpControPre_gHBL = 0
this.ReportPre_g = 0 this.ReportPre_g = 0
this.ReportPre_gTbl = 0 this.ReportPre_gHBL = 0
this.hyper5_g = 0 this.hyper5_g = 0
this.hyper5_gTbl = 0 this.hyper5_gHBL = 0
this.hyper5_g = 0 this.hyper5_g = 0
this.hyper5_gTbl = 0 this.hyper5_gHBL = 0
this.deadNum_g = 0 this.deadNum_g = 0
this.deadNum_gTbl = 0 this.deadNum_gHBL = 0
this.ReportPre_q = 0 this.ReportPre_q = 0
this.ReportPre_qTbl = 0 this.ReportPre_qHBL = 0
this.aualperNum_q = 0 this.aualperNum_q = 0
this.aualperNum_qNum = 0 this.aualperNum_qNum = 0
this.autoUpControPre_q = 0 this.autoUpControPre_q = 0
this.autoUpControPre_qTbl = 0 this.autoUpControPre_qHBL = 0
this.hyper5_q = 0 this.hyper5_q = 0
this.hyper5_qTbl = 0 this.hyper5_qHBL = 0
this.hospital_q = 0 this.hospital_q = 0
this.deadNum_q = 0 this.deadNum_q = 0
this.hyper1_g = 0 this.hyper1_g = 0
...@@ -977,35 +977,35 @@ ...@@ -977,35 +977,35 @@
// 本季血压合格 // 本季血压合格
this.aualperNum_g = item.ZXZ this.aualperNum_g = item.ZXZ
this.aualperNum_gNum = item.TBL ? item.TBL : 0 this.aualperNum_gNum = item.HBL ? item.HBL : 0
} }
if ((item.ZBID == 1169 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1175 && this.rqType === 'glrq' && this.mbType === 'gxy') if ((item.ZBID == 1169 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1175 && this.rqType === 'glrq' && this.mbType === 'gxy')
|| (item.ZBID == 1145 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1151 && this.rqType === 'glrq' && this.mbType === 'tnb')) { || (item.ZBID == 1145 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1151 && this.rqType === 'glrq' && this.mbType === 'tnb')) {
// 报告血压控制率 // 自动上传血压控制率
this.autoUpControPre_g = item.ZXZ this.autoUpControPre_g = item.ZXZ
this.autoUpControPre_gTbl = item.TBL this.autoUpControPre_gHBL = item.HBL ? item.HBL : 0
} }
if ((item.ZBID == 1166 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1172 && this.rqType === 'glrq' && this.mbType === 'gxy') if ((item.ZBID == 1166 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1172 && this.rqType === 'glrq' && this.mbType === 'gxy')
|| (item.ZBID == 1142 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1148 && this.rqType === 'glrq' && this.mbType === 'tnb')) { || (item.ZBID == 1142 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1148 && this.rqType === 'glrq' && this.mbType === 'tnb')) {
// 自动上传血压控制率 // 报告血压控制率
this.ReportPre_g = item.ZXZ this.ReportPre_g = item.ZXZ
this.ReportPre_gTbl = item.TBL this.ReportPre_gHBL = item.HBL ? item.HBL : 0
} }
if ((item.ZBID == 1184 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1096 && this.rqType === 'glrq' && this.mbType === 'gxy') if ((item.ZBID == 1184 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1096 && this.rqType === 'glrq' && this.mbType === 'gxy')
|| (item.ZBID == 1099 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1099 && this.rqType === 'glrq' && this.mbType === 'tnb')) { || (item.ZBID == 1099 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1099 && this.rqType === 'glrq' && this.mbType === 'tnb')) {
// 并发症发生率--管 // 并发症发生率--管
this.hyper5_g = item.ZXZ this.hyper5_g = item.ZXZ
this.hyper5_gTbl = item.TBL this.hyper5_gHBL = item.HBL ? item.HBL : 0
} }
// 1180 // 1180
if ((item.ZBID == 1180 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1196 && this.rqType === 'glrq' && this.mbType === 'gxy') if ((item.ZBID == 1180 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1196 && this.rqType === 'glrq' && this.mbType === 'gxy')
|| (item.ZBID == 1198 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1198 && this.rqType === 'glrq' && this.mbType === 'tnb')) { || (item.ZBID == 1198 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1198 && this.rqType === 'glrq' && this.mbType === 'tnb')) {
// 并发症发生率--管 // 并发症发生率--管
this.hyper5_g = item.ZXZ this.hyper5_g = item.ZXZ
this.hyper5_gTbl = item.TBL this.hyper5_gHBL = item.HBL ? item.HBL : 0
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1023,7 +1023,7 @@ ...@@ -1023,7 +1023,7 @@
if (item.CODE == "MBGL_060") { if (item.CODE == "MBGL_060") {
// 住院人数 // 住院人数
this.hospital_g = res.data.content[0].zbxx[index].ZXZ this.hospital_g = res.data.content[0].zbxx[index].ZXZ
this.hospital_gTbl = res.data.content[0].zbxx[index].TBL ? res.data.content[0].zbxx[index].TBL : 0 this.hospital_gHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : 0
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1037,10 +1037,15 @@ ...@@ -1037,10 +1037,15 @@
}).then(res => { }).then(res => {
res.data.content[0].zbxx.forEach((item, index) => { res.data.content[0].zbxx.forEach((item, index) => {
if (item.ZBID == "1196") { if (item.ZBID == "1196" && this.mbType === 'gxy') {
// 住院人数
this.deadNum_g = res.data.content[0].zbxx[index].ZXZ
this.deadNum_gHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : '-'
} else
if (item.ZBID == "1198" && this.mbType === 'tnb') {
// 住院人数 // 住院人数
this.deadNum_g = res.data.content[0].zbxx[index].ZXZ this.deadNum_g = res.data.content[0].zbxx[index].ZXZ
this.deadNum_gTbl = res.data.content[0].zbxx[index].TBL ? res.data.content[0].zbxx[index].TBL : 0 this.deadNum_gHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : '-'
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1052,13 +1057,6 @@ ...@@ -1052,13 +1057,6 @@
commonMethod(param2).then(res => { commonMethod(param2).then(res => {
res.data.content[0].zbxx.forEach((item, index) => { res.data.content[0].zbxx.forEach((item, index) => {
// 高糖 --- 并用 签 左上角数据
if (item.ZBID == 1166 || item.ZBID == 1142) {
// 自动上传血糖控制率
this.ReportPre_q = item.ZXZ ? parseFloat(item.ZXZ).toFixed(1) : 0
this.ReportPre_qTbl = item.TBL ? parseFloat(item.TBL).toFixed(1) : 0
}
// Tbl
if ((item.ZBID == 1205 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1204 && this.rqType === 'glrq' && this.mbType === 'gxy') if ((item.ZBID == 1205 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1204 && this.rqType === 'glrq' && this.mbType === 'gxy')
|| (item.ZBID == 1207 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1206 && this.rqType === 'glrq' && this.mbType === 'tnb')) { || (item.ZBID == 1207 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1206 && this.rqType === 'glrq' && this.mbType === 'tnb')) {
...@@ -1067,18 +1065,24 @@ ...@@ -1067,18 +1065,24 @@
this.aualperNum_q = item.ZXZ ? parseFloat(item.ZXZ).toFixed(1) : 0 this.aualperNum_q = item.ZXZ ? parseFloat(item.ZXZ).toFixed(1) : 0
this.aualperNum_qNum = item.TBL ? parseFloat(item.TBL).toFixed(1) : 0 this.aualperNum_qNum = item.TBL ? parseFloat(item.TBL).toFixed(1) : 0
} }
// 1145
if ((item.ZBID == 1169 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1175 && this.rqType === 'glrq' && this.mbType === 'gxy') if ((item.ZBID == 1169 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1175 && this.rqType === 'glrq' && this.mbType === 'gxy')
|| (item.ZBID == 1145 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1151 && this.rqType === 'glrq' && this.mbType === 'tnb')) { || (item.ZBID == 1145 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1151 && this.rqType === 'glrq' && this.mbType === 'tnb')) {
// 报告血糖控制率 // 自动上传血糖控制率
this.autoUpControPre_q = item.ZXZ ? parseFloat(item.ZXZ).toFixed(1) : 0 this.autoUpControPre_q = item.ZXZ ? parseFloat(item.ZXZ).toFixed(1) : 0
this.autoUpControPre_qTbl = item.TBL ? parseFloat(item.TBL).toFixed(1) : 0 this.autoUpControPre_qHBL = item.HBL ? item.HBL : 0
}
if ((item.ZBID == 1166 && this.rqType === 'gfgl' && this.mbType === 'gxy') || (item.ZBID == 1172 && this.rqType === 'glrq' && this.mbType === 'gxy')
|| (item.ZBID == 1142 && this.rqType === 'gfgl' && this.mbType === 'tnb') || (item.ZBID == 1148 && this.rqType === 'glrq' && this.mbType === 'tnb')) {
// 报告血糖控制率
this.ReportPre_q = item.ZXZ
this.ReportPre_qHBL = item.HBL
} }
if (item.ZBID == 1184 || item.ZBID == 1186) { if (item.ZBID == 1184 || item.ZBID == 1186) {
// 并发症发生率--签 // 并发症发生率--签
this.hyper5_q = item.ZXZ ? parseFloat(item.ZXZ).toFixed(1) : 0 this.hyper5_q = item.ZXZ ? parseFloat(item.ZXZ).toFixed(1) : 0
this.hyper5_qTbl = item.TBL ? parseFloat(item.TBL).toFixed(1) : 0 this.hyper5_qHBL = item.TBL ? parseFloat(item.HBL).toFixed(1) : 0
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1095,7 +1099,7 @@ ...@@ -1095,7 +1099,7 @@
if (item.CODE == "MBGL_060") { if (item.CODE == "MBGL_060") {
// 住院人数 // 住院人数
this.hospital_q = res.data.content[0].zbxx[index].ZXZ ? res.data.content[0].zbxx[index].ZXZ : 0 this.hospital_q = res.data.content[0].zbxx[index].ZXZ ? res.data.content[0].zbxx[index].ZXZ : 0
this.hospital_qTbl = res.data.content[0].zbxx[index].TBL ? res.data.content[0].zbxx[index].TBL : this.hospital_qHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL :
0 0
} }
}) })
...@@ -1109,10 +1113,15 @@ ...@@ -1109,10 +1113,15 @@
"wd": JSON.stringify(wd2) "wd": JSON.stringify(wd2)
}).then(res => { }).then(res => {
res.data.content[0].zbxx.forEach((item, index) => { res.data.content[0].zbxx.forEach((item, index) => {
if (item.ZBID == "1196") { if (item.ZBID == "1196" && this.mbType === 'gxy') {
// 住院人数
this.deadNum_q = res.data.content[0].zbxx[index].ZXZ
this.deadNum_qHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : '-'
} else
if (item.ZBID == "1198" && this.mbType === 'tnb') {
// 住院人数 // 住院人数
this.deadNum_q = res.data.content[0].zbxx[index].ZXZ this.deadNum_q = res.data.content[0].zbxx[index].ZXZ
this.deadNum_qTbl = res.data.content[0].zbxx[index].TBL ? res.data.content[0].zbxx[index].TBL : 0 this.deadNum_qHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : '-'
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1267,18 +1276,38 @@ ...@@ -1267,18 +1276,38 @@
// XZQH --- YLJGDM // XZQH --- YLJGDM
commonMethod(placeparam).then(res => { commonMethod(placeparam).then(res => {
let bottomData_g = res.data.content let bottomData_g = res.data.content
if ('YWSJ' === this._group) {
bottomData_g.sort((prev, next) => {
return parseInt(prev.YWSJ.substring(5, 7)) - parseInt(next.YWSJ.substring(5, 7))
})
}else if('XZQH' === this._group){
bottomData_g.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}else if('YLJGDM' === this._group){
bottomData_g.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}
// 签数据请求--- 右下角列表 + 图表 (数据共用) // 签数据请求--- 右下角列表 + 图表 (数据共用)
commonMethod(placeparam2).then(res => { commonMethod(placeparam2).then(res => {
let bottomData_q = res.data.content let bottomData_q = res.data.content
if ('YWSJ' === this._group) {
bottomData_q.sort((prev, next) => {
return parseInt(prev.YWSJ.substring(5, 7)) - parseInt(next.YWSJ.substring(5, 7))
})
}else if('XZQH' === this._group){
bottomData_q.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}else if('YLJGDM' === this._group){
bottomData_q.sort((prev, next) => {
return parseInt(prev.XZQH) - parseInt(next.XZQH)
})
}
bottomData_g.forEach((item, index) => { bottomData_g.forEach((item, index) => {
let obj = { let obj = {}
name: 'v',
g0: '0',
g1: '0',
g2: '0',
AreaCode: '0'
}
if (item.YWSJ) { if (item.YWSJ) {
obj.name = parseInt(item.YWSJ.substring(6, 7)) obj.name = parseInt(item.YWSJ.substring(6, 7))
} else { } else {
...@@ -1299,46 +1328,97 @@ ...@@ -1299,46 +1328,97 @@
} }
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
if (this.rqType === 'gfgl') {
if (item2.ZBID == "1170") { if(this.mbType === 'gxy'){
// 管理/签约人群自动上传血压合格人数 if (this.rqType === 'gfgl') {
bar1_g.push(getActiveNum(item2.ZXZ / 10000))
bar1_g_qn.push(getActiveNum(item2.TBZ / 10000)) if (item2.ZBID == "1170") {
} // 管理/签约人群自动上传血压合格人数
if (item2.ZBID == "1169" ) { bar1_g.push(getActiveNum(item2.ZXZ / 10000))
// 管·自动上传血压控制率/去年 bar1_g_qn.push(getActiveNum(item2.TBZ / 10000))
line1.push(getActiveNum(item2.ZXZ)) }
line1_qn.push(getActiveNum(item2.TBZ)) if (item2.ZBID == "1169" ) {
} // 管·自动上传血压控制率/去年
if (item2.ZBID == "1166" ) { line1.push(getActiveNum(item2.ZXZ))
// 管·报告血压控制率/去年 line1_qn.push(getActiveNum(item2.TBZ))
line3.push(getActiveNum(item2.ZXZ)) }
line3_qn.push(getActiveNum(item2.TBZ)) if (item2.ZBID == "1166" ) {
} // 管·报告血压控制率/去年
} else { line3.push(getActiveNum(item2.ZXZ))
line3_qn.push(getActiveNum(item2.TBZ))
if (item2.ZBID == "1176") { }
// 管理/签约人群自动上传血压合格人数 } else {
bar1_g.push(getActiveNum(item2.ZXZ / 10000))
bar1_g_qn.push(getActiveNum(item2.TBZ / 10000)) if (item2.ZBID == "1176") {
} // 管理/签约人群自动上传血压合格人数
if (item2.ZBID == "1175" ) { bar1_g.push(getActiveNum(item2.ZXZ / 10000))
// 管·自动上传血压控制率/去年 bar1_g_qn.push(getActiveNum(item2.TBZ / 10000))
line1.push(getActiveNum(item2.ZXZ)) }
line1_qn.push(getActiveNum(item2.TBZ)) if (item2.ZBID == "1175" ) {
} // 管·自动上传血压控制率/去年
if (item2.ZBID == "1172" ) { line1.push(getActiveNum(item2.ZXZ))
// 管·报告血压控制率/去年 line1_qn.push(getActiveNum(item2.TBZ))
line3.push(getActiveNum(item2.ZXZ)) }
line3_qn.push(getActiveNum(item2.TBZ)) if (item2.ZBID == "1172" ) {
// 管·报告血压控制率/去年
line3.push(getActiveNum(item2.ZXZ))
line3_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1180" ) {
// 管·报告血压控制率/去年
line5.push(getActiveNum(item2.ZXZ))
line5_qn.push(getActiveNum(item2.TBZ))
}
} }
if (item2.ZBID == "1180" ) { }else if(this.mbType === 'tnb'){
// 管·报告血压控制率/去年
line5.push(getActiveNum(item2.ZXZ)) if (this.rqType === 'gfgl') {
line5_qn.push(getActiveNum(item2.TBZ))
if (item2.ZBID == "1146") {
// 管理/签约人群自动上传血压合格人数
bar1_g.push(getActiveNum(item2.ZXZ / 10000))
bar1_g_qn.push(getActiveNum(item2.TBZ / 10000))
}
if (item2.ZBID == "1145" ) {
// 管·自动上传血压控制率/去年
line1.push(getActiveNum(item2.ZXZ))
line1_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1142" ) {
// 管·报告血压控制率/去年
line3.push(getActiveNum(item2.ZXZ))
line3_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1182" ) {
// 管·报告血压控制率/去年
line5.push(getActiveNum(item2.ZXZ))
line5_qn.push(getActiveNum(item2.TBZ))
}
} else {
if (item2.ZBID == "1152") {
// 管理/签约人群自动上传血压合格人数
bar1_g.push(getActiveNum(item2.ZXZ / 10000))
bar1_g_qn.push(getActiveNum(item2.TBZ / 10000))
}
if (item2.ZBID == "1151" ) {
// 管·自动上传血压控制率/去年
line1.push(getActiveNum(item2.ZXZ))
line1_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1148" ) {
// 管·报告血压控制率/去年
line3.push(getActiveNum(item2.ZXZ))
line3_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1182" ) {
// 管·报告血压控制率/去年
line5.push(getActiveNum(item2.ZXZ))
line5_qn.push(getActiveNum(item2.TBZ))
}
} }
} }
}) })
}) })
...@@ -1346,49 +1426,92 @@ ...@@ -1346,49 +1426,92 @@
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
// IBM 数据赋值 // IBM 数据赋值
if (this.rqType === 'gfgl') { if(this.mbType === 'gxy'){
if (this.rqType === 'gfgl') {
if (item2.ZBID == "1170") {
// 管理/签约人群自动上传血压合格人数 if (item2.ZBID == "1170") {
bar1_q.push(getActiveNum(item2.ZXZ / 10000)) // 管理/签约人群自动上传血压合格人数
bar1_q_qn.push(getActiveNum(item2.TBZ / 10000)) bar1_q.push(getActiveNum(item2.ZXZ / 10000))
} bar1_q_qn.push(getActiveNum(item2.TBZ / 10000))
if (item2.ZBID == "1169" ) { }
// 管·自动上传血压控制率/去年 if (item2.ZBID == "1169" ) {
line2.push(getActiveNum(item2.ZXZ)) // 管·自动上传血压控制率/去年
line2_qn.push(getActiveNum(item2.TBZ)) line2.push(getActiveNum(item2.ZXZ))
} line2_qn.push(getActiveNum(item2.TBZ))
if (item2.ZBID == "1166" ) { }
// 管·报告血压控制率/去年 if (item2.ZBID == "1166" ) {
line4.push(getActiveNum(item2.ZXZ)) // 管·报告血压控制率/去年
line4_qn.push(getActiveNum(item2.TBZ)) line4.push(getActiveNum(item2.ZXZ))
} line4_qn.push(getActiveNum(item2.TBZ))
}else{ }
if (item2.ZBID == "1176") { }else{
// 管理/签约人群自动上传血压合格人数 if (item2.ZBID == "1176") {
bar1_q.push(getActiveNum(item2.ZXZ / 10000)) // 管理/签约人群自动上传血压合格人数
bar1_q_qn.push(getActiveNum(item2.TBZ / 10000)) bar1_q.push(getActiveNum(item2.ZXZ / 10000))
bar1_q_qn.push(getActiveNum(item2.TBZ / 10000))
}
if (item2.ZBID == "1175" ) {
// 管·自动上传血压控制率/去年
line2.push(getActiveNum(item2.ZXZ))
line2_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1172" ) {
// 管·报告血压控制率/去年
line4.push(getActiveNum(item2.ZXZ))
line4_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1180" ) {
// 管·报告血压控制率/去年
line6.push(getActiveNum(item2.ZXZ))
line6_qn.push(getActiveNum(item2.TBZ))
}
} }
if (item2.ZBID == "1175" ) { }else if(this.mbType === 'tnb'){
// 管·自动上传血压控制率/去年 if (this.rqType === 'gfgl') {
line2.push(getActiveNum(item2.ZXZ))
line2_qn.push(getActiveNum(item2.TBZ)) if (item2.ZBID == "1146") {
} // 管理/签约人群自动上传血压合格人数
if (item2.ZBID == "1172" ) { bar1_q.push(getActiveNum(item2.ZXZ / 10000))
// 管·报告血压控制率/去年 bar1_q_qn.push(getActiveNum(item2.TBZ / 10000))
line4.push(getActiveNum(item2.ZXZ)) } else
line4_qn.push(getActiveNum(item2.TBZ)) if (item2.ZBID == "1145" ) {
} // 管·自动上传血压控制率/去年
if (item2.ZBID == "1180" ) { line2.push(getActiveNum(item2.ZXZ))
// 管·报告血压控制率/去年 line2_qn.push(getActiveNum(item2.TBZ))
line6.push(getActiveNum(item2.ZXZ)) } else
line6_qn.push(getActiveNum(item2.TBZ)) if (item2.ZBID == "1142" ) {
// 管·报告血压控制率/去年
line4.push(getActiveNum(item2.ZXZ))
line4_qn.push(getActiveNum(item2.TBZ))
}
}else{
if (item2.ZBID == "1152") {
// 管理/签约人群自动上传血压合格人数
bar1_q.push(getActiveNum(item2.ZXZ / 10000))
bar1_q_qn.push(getActiveNum(item2.TBZ / 10000))
}
if (item2.ZBID == "1151" ) {
// 管·自动上传血压控制率/去年
line2.push(getActiveNum(item2.ZXZ))
line2_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1148" ) {
// 管·报告血压控制率/去年
line4.push(getActiveNum(item2.ZXZ))
line4_qn.push(getActiveNum(item2.TBZ))
}
if (item2.ZBID == "1182" ) {
// 管·报告血压控制率/去年
line6.push(getActiveNum(item2.ZXZ))
line6_qn.push(getActiveNum(item2.TBZ))
}
} }
} }
}) })
}) })
this.topListData = []
bar1_g.forEach((item, index) => { bar1_g.forEach((item, index) => {
let obj = {} let obj = {}
let a = getActiveNum(bar1_g[index] - bar1_q[index]) let a = getActiveNum(bar1_g[index] - bar1_q[index])
...@@ -1465,18 +1588,42 @@ ...@@ -1465,18 +1588,42 @@
} }
} else { } else if (this.mbType === 'tnb') {
if (this.groupType === 'org' && this.rqType === 'glrq') { if (this.groupType === 'org' && this.rqType === 'glrq') {
legendMy = ['管理/签约人群自动上传血压合格人数', '去年管理/签约人群自动上传血压合格人数', '管·自动上传血压控制率/去年', '签·自动上传血压控制率/去年', legendMy = ['管理/签约人群自动上传血压合格人数', '去年管理/签约人群自动上传血压合格人数', '管·自动上传血压控制率/去年', '签·自动上传血压控制率/去年',
'管·报告血压控制率/去年', '签·报告血压控制率/去年', '管·BMI异常比/去年', '签·BMI异常比/去年' '管·报告血压控制率/去年', '签·报告血压控制率/去年', '管·BMI异常比/去年', '签·BMI异常比/去年'
] ]
this.option2.legend.data = legendMy this.option2.legend.data = legendMy
this.option2.xAxis[0].data = dataX
this.option2.series[1].data = bar1_q
this.option2.series[2].data = bar1
this.option2.series[4].data = bar1_q_qn
this.option2.series[5].data = bar1_g_qn
this.option2.series[6].data = line1
this.option2.series[7].data = line2
this.option2.series[8].data = line3
this.option2.series[9].data = line4
this.option2.series[10].data = line5
this.option2.series[11].data = line6
} else { } else {
legendMy = ['管理/签约人群自动上传血压合格人数', '去年管理/签约人群自动上传血压合格人数', '管·自动上传血压控制率/去年', '签·自动上传血压控制率/去年', legendMy = ['管理/签约人群自动上传血压合格人数', '去年管理/签约人群自动上传血压合格人数', '管·自动上传血压控制率/去年', '签·自动上传血压控制率/去年',
'管·报告血压控制率/去年', '签·报告血压控制率/去年' '管·报告血压控制率/去年', '签·报告血压控制率/去年'
] ]
this.option2.legend.data = legendMy this.option2.legend.data = legendMy
this.option2.xAxis[0].data = dataX
this.option2.series[1].data = bar1_q
this.option2.series[2].data = bar1
this.option2.series[4].data = bar1_q_qn
this.option2.series[5].data = bar1_g_qn
this.option2.series[6].data = line1
this.option2.series[7].data = line2
this.option2.series[8].data = line3
this.option2.series[9].data = line4
this.option2.series[10].data = line5
this.option2.series[11].data = line6
} }
} }
...@@ -1500,7 +1647,7 @@ ...@@ -1500,7 +1647,7 @@
this.bleedtype = "血压" this.bleedtype = "血压"
this.pagedisname = '高血压' this.pagedisname = '高血压'
} else { } else {
this.themeId = 33 this.themeId = 28
this.homeinit() this.homeinit()
this.bleedtype = "血糖" this.bleedtype = "血糖"
this.pagedisname = '糖尿病' this.pagedisname = '糖尿病'
...@@ -1530,7 +1677,7 @@ ...@@ -1530,7 +1677,7 @@
}else if(num === 5){ }else if(num === 5){
zbcode = 'GLXG_048' zbcode = 'GLXG_048'
}else if(num === 6){ }else if(num === 6){
zbcode = 'GLXG_057' zbcode = 'GLXG_048'
} }
// 右上柱状图 年龄结构 -themeId: 34 全市 35 区 36 社区 // 右上柱状图 年龄结构 -themeId: 34 全市 35 区 36 社区
let wdnl = [{ let wdnl = [{
...@@ -1762,12 +1909,13 @@ ...@@ -1762,12 +1909,13 @@
.uplib { .uplib {
width: 100%; width: 100%;
height: 80px; height: 98px;
position: absolute; position: absolute;
top: 76px; top: 76px;
right: 0; right: 0;
left: 0; left: 0;
background: rgba(51, 51, 51, 0.9); background: rgba(51, 51, 51, 0.9);
padding: 10px padding: 10px;
text-align: left;
} }
</style> </style>
...@@ -755,7 +755,7 @@ ...@@ -755,7 +755,7 @@
}, },
exitFn() { exitFn() {
this.$router.push({ this.$router.push({
path: '/' path: '/Index'
}); });
}, },
homeinit() { homeinit() {
......
...@@ -732,7 +732,7 @@ ...@@ -732,7 +732,7 @@
}, },
exitFn() { exitFn() {
this.$router.push({ this.$router.push({
path: '/' path: '/Index'
}); });
}, },
changeReplay() { changeReplay() {
......
...@@ -926,7 +926,7 @@ ...@@ -926,7 +926,7 @@
}, },
exitFn() { exitFn() {
this.$router.push({ this.$router.push({
path: '/' path: '/Index'
}); });
}, },
DieaChange(num) { DieaChange(num) {
......
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