Commit 95a221ba by lihu541

数据字段修改

parent 31d46ccf
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
.card22-mod .cmt span.span1{ color: #eee; font-size: 10px;} .card22-mod .cmt span.span1{ color: #eee; font-size: 10px;}
.card22-mod .cmt span.tag-blue {background: #05296a; border-radius: 50%; padding: 0 3px;border: 1px #1158c3 solid; font-size: 12px; color: #4da0c7;} .card22-mod .cmt span.tag-blue {background: #05296a; border-radius: 50%; padding: 0 3px;border: 1px #1158c3 solid; font-size: 12px; color: #4da0c7;}
.card22-mod .cmt span.tag-green {background: #234631; border-radius: 50%; padding: 0 2px; border: 1px #15C436 solid; font-size: 12px;color: #15C436;} .card22-mod .cmt span.tag-green {background: #234631; border-radius: 50%; padding: 0 2px; border: 1px #15C436 solid; font-size: 12px;color: #15C436;}
.card33-mod{ float: left; width: 160px; padding: 10px; height: 165px; color: #fff;} .card33-mod{ float: left; width: 140px; padding: 10px; height: 145px; color: #fff;}
.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;}
......
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
this.ispopu = !this.ispopu this.ispopu = !this.ispopu
}, },
toMygh(){ toMygh(){
window.location.href = 'http://195.1.3.38:9001/#/manage-platform/index?token=TK_' + sessionStorage.getItem('token') window.location.href = 'https://192.168.30.51/#/manage-platform/index?token=TK_' + sessionStorage.getItem('token')
}, },
exitFn() { exitFn() {
this.$router.push({ this.$router.push({
......
...@@ -998,35 +998,35 @@ ...@@ -998,35 +998,35 @@
// 本季血压合格 // 本季血压合格
this.aualperNum_g = item.ZXZ this.aualperNum_g = item.ZXZ
this.aualperNum_gNum = item.HBL ? item.HBL : 0 this.aualperNum_gNum = getActiveNum(item.HBL)
} }
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_gHBL = item.HBL ? item.HBL : 0 this.autoUpControPre_gHBL = getActiveNum(item.HBL)
} }
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_gHBL = item.HBL ? item.HBL : 0 this.ReportPre_gHBL = getActiveNum(item.HBL)
} }
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_gHBL = item.HBL ? item.HBL : 0 this.hyper5_gHBL = getActiveNum(item.HBL)
} }
// 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_gHBL = item.HBL ? item.HBL : 0 this.hyper5_gHBL = getActiveNum(item.HBL)
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1044,7 +1044,7 @@ ...@@ -1044,7 +1044,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_gHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : 0 this.hospital_gHBL = getActiveNum(res.data.content[0].zbxx[index].HBL)
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1061,12 +1061,12 @@ ...@@ -1061,12 +1061,12 @@
if (item.ZBID == "1196" && this.mbType === 'gxy') { if (item.ZBID == "1196" && this.mbType === 'gxy') {
// 住院人数 // 住院人数
this.deadNum_g = res.data.content[0].zbxx[index].ZXZ 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 : '-' this.deadNum_gHBL = getActiveNum(res.data.content[0].zbxx[index].HBL)
} else } else
if (item.ZBID == "1198" && this.mbType === 'tnb') { 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_gHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : '-' this.deadNum_gHBL = getActiveNum(res.data.content[0].zbxx[index].HBL)
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1091,19 +1091,19 @@ ...@@ -1091,19 +1091,19 @@
|| (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_qHBL = item.HBL ? item.HBL : 0 this.autoUpControPre_qHBL = getActiveNum(item.HBL)
} }
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_q = item.ZXZ this.ReportPre_q = item.ZXZ
this.ReportPre_qHBL = item.HBL this.ReportPre_qHBL = getActiveNum(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_qHBL = item.TBL ? parseFloat(item.HBL).toFixed(1) : 0 this.hyper5_qHBL = getActiveNum(item.HBL)
} }
}) })
}).catch(err => { }).catch(err => {
...@@ -1120,7 +1120,7 @@ ...@@ -1120,7 +1120,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_qHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : this.hospital_qHBL = getActiveNum(res.data.content[0].zbxx[index].HBL)
0 0
} }
}) })
...@@ -1137,12 +1137,12 @@ ...@@ -1137,12 +1137,12 @@
if (item.ZBID == "1196" && this.mbType === 'gxy') { if (item.ZBID == "1196" && this.mbType === 'gxy') {
// 住院人数 // 住院人数
this.deadNum_q = res.data.content[0].zbxx[index].ZXZ 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 : '-' this.deadNum_qHBL = getActiveNum(res.data.content[0].zbxx[index].HBL)
} else } else
if (item.ZBID == "1198" && this.mbType === 'tnb') { 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_qHBL = res.data.content[0].zbxx[index].HBL ? res.data.content[0].zbxx[index].HBL : '-' this.deadNum_qHBL = getActiveNum(res.data.content[0].zbxx[index].HBL)
} }
}) })
}).catch(err => { }).catch(err => {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-button size="mini" type="primary" @click="CityGetBack()" v-if="isShowBack">返回</el-button> <el-button size="mini" type="primary" @click="CityGetBack()" v-if="isShowBack">返回</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"
value-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>
...@@ -20,17 +20,17 @@ ...@@ -20,17 +20,17 @@
<h2>医疗机构登记报告分析</h2> <h2>医疗机构登记报告分析</h2>
<p>信息化业务开展机构数 / 非信息化业务开展机构数</p> <p>信息化业务开展机构数 / 非信息化业务开展机构数</p>
<div class="cmt"> <div class="cmt">
<span>{{msgopendata.ZXZ?msgopendata.ZXZ:0}}</span> <span>{{formatNum(msgopendata.ZXZ)}}</span>
<span class="span1"></span> <span class="span1"></span>
<span class="tag-blue"></span> <span class="tag-blue"></span>
<span class="span1">{{msgopendata.TBL?msgopendata.TBL:0}}%</span> <span class="span1">{{getActiveNum(formatNum(msgopendata.ZXZ) / (formatNum(msgopendata.ZXZ) + formatNum(msgclosedata.ZXZ)) * 100)}}%</span>
<span class="span1">/</span> <span class="span1">/</span>
<span>{{msgclosedata.ZXZ?msgclosedata.ZXZ:0}}</span> <span>{{formatNum(msgclosedata.ZXZ)}}</span>
<span class="span1"></span> <span class="span1"></span>
<span class="tag-blue"></span> <span class="tag-blue"></span>
<span class="span1">{{msgclosedata.TBL?msgclosedata.TBL:0}}%</span> <span class="span1">{{getActiveNum(formatNum(msgclosedata.ZXZ) / (formatNum(msgopendata.ZXZ) + formatNum(msgclosedata.ZXZ)) * 100)}}%</span>
</div> </div>
<p>开展机构总数 {{opentotal?opentotal:0}}</p> <p>开展机构总数 {{formatNum(msgopendata.ZXZ) + formatNum(msgclosedata.ZXZ)}}</p>
</div> </div>
<div class="card33-mod"> <div class="card33-mod">
<div class="page5left" id="pag5-left1" v-show="ChartsNo == 1">1</div> <div class="page5left" id="pag5-left1" v-show="ChartsNo == 1">1</div>
...@@ -45,17 +45,17 @@ ...@@ -45,17 +45,17 @@
</div> </div>
<p>信息化登记报告数 / 非信息化登记报告数</p> <p>信息化登记报告数 / 非信息化登记报告数</p>
<div class="cmt "> <div class="cmt ">
<span>{{orgopendata.ZXZ?orgopendata.ZXZ:0}}</span> <span>{{getActiveNum(formatNum(orgopendata.ZXZ) / 10000)}}</span>
<span class="span1"></span> <span class="span1"></span>
<span class="tag-blue"></span> <span class="tag-blue"></span>
<span class="span1">{{orgopendata.TBL?orgopendata.TBL:0}}%</span> <span class="span1">{{getActiveNum(formatNum(orgopendata.ZXZ) / (formatNum(orgopendata.ZXZ) + formatNum(orgclosedata.ZXZ)) * 100)}}%</span>
<span class="span1">/</span> <span class="span1">/</span>
<span>{{orgclosedata.ZXZ?orgclosedata.ZXZ:0}}</span> <span>{{getActiveNum(formatNum(orgclosedata.ZXZ) / 10000)}}</span>
<span class="span1"></span> <span class="span1"></span>
<span class="tag-blue"></span> <span class="tag-blue"></span>
<span class="span1">{{orgclosedata.TBL?orgclosedata.TBL:0}}%</span> <span class="span1">{{getActiveNum(formatNum(orgclosedata.ZXZ) / (formatNum(orgopendata.ZXZ) + formatNum(orgclosedata.ZXZ)) * 100)}}%</span>
</div> </div>
<p>开展机构总数 {{orgtotal?orgtotal:0}}</p> <p>登记报告总数 {{getActiveNum((formatNum(orgopendata.ZXZ) + formatNum(orgclosedata.ZXZ)) / 10000)}}</p>
</div> </div>
<div class="card33-mod"> <div class="card33-mod">
<div class="page5left" id="pag5-right1" v-show="ChartsNo == 1"></div> <div class="page5left" id="pag5-right1" v-show="ChartsNo == 1"></div>
...@@ -95,26 +95,26 @@ ...@@ -95,26 +95,26 @@
<div class="card5main"> <div class="card5main">
<table class="table01 table" width="100%" border="0"> <table class="table01 table" width="100%" border="0">
<thead class="fixedThead"> <thead class="fixedThead">
<tr> <tr>
</tr> </tr>
<tr v-show="bingNo==1"> <tr v-show="bingNo==1">
<th width="38"></th> <th width="38"></th>
<th width="48">{{thname}}</th> <th width="48">{{thname}}</th>
<th @click.stop="showtab(1)">开展情况</th> <th @click.stop="showtab(1)">开展情况</th>
<th @click.stop="showtab(2)">登记数·万/同·%</th> <th @click.stop="showtab(2)">登记数·万/同·%</th>
</tr> </tr>
<tr v-show="bingNo==2"> <tr v-show="bingNo==2">
<th width="38"></th> <th width="38"></th>
<th width="48">{{thname}}</th> <th width="48">{{thname}}</th>
<th>明确病理比例/同·%</th> <th>明确病理比例/同·%</th>
<th>明确期别比例/同·%</th> <th>明确期别比例/同·%</th>
</tr> </tr>
<tr v-show="bingNo==3"> <tr v-show="bingNo==3">
<th width="38"></th> <th width="38"></th>
<th width="48">{{thname}}</th> <th width="48">{{thname}}</th>
<th @click.stop="showtab(3)">漏报率/同·%</th> <th @click.stop="showtab(3)">漏报率/同·%</th>
<th @click.stop="showtab(4)">报告信息错误比例/同·%</th> <th @click.stop="showtab(4)">报告信息错误比例/同·%</th>
</tr> </tr>
</thead> </thead>
<div v-if="this.ChartsNo == 2"> <div v-if="this.ChartsNo == 2">
<div class="uplib" v-if="showtabnum == 1"> <div class="uplib" v-if="showtabnum == 1">
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
1、指标名称:<br>医疗机构登记报告事件数(心脑血管)<br> 1、指标名称:<br>医疗机构登记报告事件数(心脑血管)<br>
指标定义:<br>是否登记报告心脑血管急性事件法定内容<br> 指标定义:<br>是否登记报告心脑血管急性事件法定内容<br>
2、指标名称:<br>医疗机构通过信息系统登记报告事件数(心脑血管)<br> 2、指标名称:<br>医疗机构通过信息系统登记报告事件数(心脑血管)<br>
指标定义:<br>年内通过疾病预防控制信息系统登记报告心脑血管急性事件数<br> 指标定义:<br>年内通过疾病预防控制信息系统登记报告心脑血管急性事件数<br>
</div> </div>
<div class="uplib" v-if="showtabnum == 3"> <div class="uplib" v-if="showtabnum == 3">
指标名称:<br>医疗机构心脑血管急性事件应报未报的事件数<br> 指标名称:<br>医疗机构心脑血管急性事件应报未报的事件数<br>
...@@ -138,12 +138,12 @@ ...@@ -138,12 +138,12 @@
</div> </div>
</div> </div>
<tbody class="scrollTbody"> <tbody class="scrollTbody">
<tr v-for="(item, index) in tabledata" :key="index"> <tr v-for="(item, index) in tabledata" :key="index">
<td width="38"><span>{{index+1}}</span></td> <td width="38"><span>{{index+1}}</span></td>
<td width="48" @click="changecity(item.areacode,item.name)" class="underline">{{item.name}}</td> <td width="48" @click="changecity(item.areacode,item.name)" class="underline">{{item.name}}</td>
<td>{{item.tag1}} / {{item.tag2}} <i class="el-icon-top color2"></i></td> <td>{{item.tag1}} / {{item.tag2}} <i class="el-icon-top color2"></i></td>
<td>{{item.tag3}} / {{item.tag4}} <i class="el-icon-top color2"></i></td> <td>{{item.tag3}} / {{item.tag4}} <i class="el-icon-top color2"></i></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
...@@ -157,11 +157,16 @@ ...@@ -157,11 +157,16 @@
commonMethod, commonMethod,
otherMethod otherMethod
} from '@/api/home.js' } from '@/api/home.js'
import {
getActiveNum,
checkIsNull
} from '@/utils/common.js'
export default { export default {
name: 'screenpage5', name: 'screenpage5',
data() { data() {
return { return {
showtabnum:0, showtabnum: 0,
areaname: '', areaname: '',
themeID: 3, themeID: 3,
themeID2: 18, themeID2: 18,
...@@ -176,21 +181,10 @@ ...@@ -176,21 +181,10 @@
option1: { option1: {
color: ['#42ccff', '#3F81BB'], color: ['#42ccff', '#3F81BB'],
series: [{ series: [{
itemStyle: { name: '机构登记报告分析',
normal: {
label: {
show: true,
formatter: '{b} : {c} ({d}%)'
},
labelLine: {
show: true
}
}
},
name: '访问来源',
type: 'pie', type: 'pie',
radius: '65%', //饼图大小 radius: '50%', //饼图大小
center: ['50%', '50%'], center: ['60%', '65%'],
label: { label: {
normal: { normal: {
position: 'inner', position: 'inner',
...@@ -198,19 +192,17 @@ ...@@ -198,19 +192,17 @@
}, },
}, },
data: [{ data: [{
value: 76, value: 0,
name: '已处理', name: '',
color: "red", areaStyle: {
areaStyle: { normal: {
normal: { backgroundColor: '#42ccff'
backgroundColor: '#42ccff'
}
} }
}, }
},
{ {
value: 24, value: 0,
name: '待处理', name: '',
color: "red",
areaStyle: { areaStyle: {
normal: { normal: {
backgroundColor: '#3F81BB' backgroundColor: '#3F81BB'
...@@ -230,21 +222,10 @@ ...@@ -230,21 +222,10 @@
option2: { option2: {
color: ['#42ccff', '#3F81BB'], color: ['#42ccff', '#3F81BB'],
series: [{ series: [{
itemStyle: { name: '登记报告数分析',
normal: {
label: {
show: true,
formatter: '{b} : {c} ({d}%)'
},
labelLine: {
show: true
}
}
},
name: '访问来源',
type: 'pie', type: 'pie',
radius: '65%', radius: '50%',
center: ['50%', '50%'], center: ['60%', '65%'],
label: { label: {
normal: { normal: {
position: 'inner', position: 'inner',
...@@ -252,18 +233,18 @@ ...@@ -252,18 +233,18 @@
}, },
}, },
data: [{ data: [{
value: 45, value: 0,
name: '已处理', name: '',
color: "red", color: "red",
areaStyle: { areaStyle: {
normal: { normal: {
backgroundColor: '#42ccff' backgroundColor: '#42ccff'
}
} }
}, }
},
{ {
value: 55, value: 0,
name: '待处理', name: '',
color: "red", color: "red",
areaStyle: { areaStyle: {
normal: { normal: {
...@@ -335,79 +316,79 @@ ...@@ -335,79 +316,79 @@
show: false show: false
}], }],
series: [{ series: [{
name: '信息化', name: '信息化',
type: 'pie', type: 'pie',
clockWise: false, //顺时加载 clockWise: false, //顺时加载
hoverAnimation: false, //鼠标移入变大 hoverAnimation: false, //鼠标移入变大
radius: ['25%', '45%'], radius: ['25%', '45%'],
center: ["50%", "50%"], center: ["50%", "50%"],
label: { label: {
normal: { normal: {
show: false
},
},
labelLine: {
normal: {
show: false
}
},
itemStyle: {
normal: {
label: {
show: false show: false
}, },
}, labelLine: {
labelLine: {
normal: {
show: false show: false
} }
}, }
},
data: [{
value: this.msgone,
name: '一级',
itemStyle: { itemStyle: {
normal: { normal: {
label: { color: '#FEF7AA',
show: false },
}
},
{
value: this.msgtwo,
name: '二级',
itemStyle: {
normal: {
color: '#00C6A7',
}, },
labelLine: {
show: false
}
} }
}, },
data: [{ {
value: this.msgone, value: this.msgthr,
name: '一级', name: '三级',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#FEF7AA', color: '#49A6F6',
}, },
} }
}, },
{ {
value: this.msgtwo, value: this.msgtotale * 0.5,
name: '二级', name: '',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#00C6A7', color: 'rgba(0,0,0,0)',
}, label: {
} show: false
},
{
value: this.msgthr,
name: '三级',
itemStyle: {
normal: {
color: '#49A6F6',
},
}
},
{
value: this.msgtotale * 0.5,
name: '',
itemStyle: {
normal: {
color: 'rgba(0,0,0,0)',
label: {
show: false
},
labelLine: {
show: false
}
}, },
emphasis: { labelLine: {
color: 'rgba(0,0,0,0)' show: false
} }
},
emphasis: {
color: 'rgba(0,0,0,0)'
} }
}, }
] },
}, ]
},
{ {
name: '非信息化', name: '非信息化',
type: 'pie', type: 'pie',
...@@ -436,14 +417,14 @@ ...@@ -436,14 +417,14 @@
} }
}, },
data: [{ data: [{
value: this.nmsgone, value: this.nmsgone,
name: '一级', name: '一级',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#FEF7AA', color: '#FEF7AA',
},
}, },
}, },
},
{ {
value: this.nmsgtwo, value: this.nmsgtwo,
name: '二级', name: '二级',
...@@ -538,75 +519,75 @@ ...@@ -538,75 +519,75 @@
show: false show: false
}], }],
series: [{ series: [{
name: '信息化', name: '信息化',
type: 'pie', type: 'pie',
clockWise: false, //顺时加载 clockWise: false, //顺时加载
hoverAnimation: false, //鼠标移入变大 hoverAnimation: false, //鼠标移入变大
radius: ['25%', '45%'], radius: ['25%', '45%'],
center: ["50%", "50%"], center: ["50%", "50%"],
label: { label: {
normal: { normal: {
show: false
},
},
labelLine: {
normal: {
show: false
}
},
itemStyle: {
normal: {
label: {
show: false show: false
}, },
}, labelLine: {
labelLine: {
normal: {
show: false show: false
} }
}, }
},
data: [{
value: this.orgone,
name: '一级',
itemStyle: {
normal: {
color: '#FEF7AA',
},
}
}, {
value: this.orgtwo,
name: '二级',
itemStyle: {
normal: {
color: '#00C6A7',
},
}
}, {
value: this.orgthr,
name: '三级',
itemStyle: {
normal: {
color: '#49A6F6',
},
}
}, {
value: this.orgtotale * 0.5,
name: '',
itemStyle: { itemStyle: {
normal: { normal: {
color: 'rgba(0,0,0,0)',
label: { label: {
show: false show: false
}, },
labelLine: { labelLine: {
show: false show: false
} }
},
emphasis: {
color: 'rgba(0,0,0,0)'
} }
}, }
data: [{ }]
value: this.orgone, },
name: '一级',
itemStyle: {
normal: {
color: '#FEF7AA',
},
}
}, {
value: this.orgtwo,
name: '二级',
itemStyle: {
normal: {
color: '#00C6A7',
},
}
}, {
value: this.orgthr,
name: '三级',
itemStyle: {
normal: {
color: '#49A6F6',
},
}
}, {
value: this.orgtotale * 0.5,
name: '',
itemStyle: {
normal: {
color: 'rgba(0,0,0,0)',
label: {
show: false
},
labelLine: {
show: false
}
},
emphasis: {
color: 'rgba(0,0,0,0)'
}
}
}]
},
{ {
name: '非信息化', name: '非信息化',
type: 'pie', type: 'pie',
...@@ -721,7 +702,7 @@ ...@@ -721,7 +702,7 @@
}, },
position: ['20%', '20%'], position: ['20%', '20%'],
formatter: function(params) { formatter: function (params) {
if (params.length == 6) { if (params.length == 6) {
var res = '<ul class="f12 pl10 pr15">'; var res = '<ul class="f12 pl10 pr15">';
...@@ -771,7 +752,7 @@ ...@@ -771,7 +752,7 @@
rotate: 45, rotate: 45,
textStyle: { textStyle: {
fontSize: 10, fontSize: 10,
color: function(value, index) { color: function (value, index) {
return '#8393A9'; return '#8393A9';
} }
} }
...@@ -785,35 +766,35 @@ ...@@ -785,35 +766,35 @@
} }
}], }],
yAxis: [{ yAxis: [{
type: 'value',
name: '数量(万)',
min: 0,
axisLabel: {
textStyle: {
color: '#8393A9',
fontSize: 10
}
},
axisLine: {
show: true,
lineStyle: {
color: '#8393A9',
type: 'solid'
}
},
splitLine: {
show: false
},
axisTick: {
show: false
}
},
{
type: 'value', type: 'value',
name: '数量(万)', name: '(%)',
max: 100,
min: 0, min: 0,
axisLabel: { splitNumber: 5,
textStyle: {
color: '#8393A9',
fontSize: 10
}
},
axisLine: {
show: true,
lineStyle: {
color: '#8393A9',
type: 'solid'
}
},
splitLine: {
show: false
},
axisTick: {
show: false
}
},
{
type: 'value',
name: '(%)',
max: 100,
min: 0,
splitNumber: 5,
axisLabel: { axisLabel: {
textStyle: { textStyle: {
color: '#8393A9', color: '#8393A9',
...@@ -844,18 +825,18 @@ ...@@ -844,18 +825,18 @@
series: [] series: []
}, },
isShowBack:false, isShowBack: false,
userinfo:{}, userinfo: {},
userRole:'', userRole: '',
cxsj:'', cxsj: '',
_xzqh:'', _xzqh: '',
_yljgdm:'', _yljgdm: '',
_group:'', _group: '',
pageLevel:'' pageLevel: ''
} }
}, },
methods: { methods: {
showtab(num){ showtab(num) {
this.showtabnum = num this.showtabnum = num
}, },
CityGetBack() { CityGetBack() {
...@@ -870,7 +851,7 @@ ...@@ -870,7 +851,7 @@
this.tablename = '各区' this.tablename = '各区'
this.thname = '各区' this.thname = '各区'
}else if (this.pageLevel === 'sq') { } else if (this.pageLevel === 'sq') {
// 此时 处于第二次点击下的状态 // 此时 处于第二次点击下的状态
this._group = 'YLJGDM' this._group = 'YLJGDM'
...@@ -898,7 +879,7 @@ ...@@ -898,7 +879,7 @@
this.tablename = '医院' this.tablename = '医院'
this.thname = '医院' this.thname = '医院'
}else if (this.pageLevel === 'qj') { } else if (this.pageLevel === 'qj') {
this._group = 'YWSJ' this._group = 'YWSJ'
this._yljgdm = code this._yljgdm = code
this.pageLevel = 'sq' this.pageLevel = 'sq'
...@@ -907,7 +888,7 @@ ...@@ -907,7 +888,7 @@
this.tablename = '时间' this.tablename = '时间'
this.thname = '月份' this.thname = '月份'
}else if (this.pageLevel === 'sq') { } else if (this.pageLevel === 'sq') {
return false return false
} }
this.homeinit() this.homeinit()
...@@ -915,7 +896,6 @@ ...@@ -915,7 +896,6 @@
}, },
dataSearch(cxsj) { dataSearch(cxsj) {
sessionStorage.setItem("ywsj", cxsj) sessionStorage.setItem("ywsj", cxsj)
this.homeinit() this.homeinit()
this.homebot() this.homebot()
...@@ -981,263 +961,300 @@ ...@@ -981,263 +961,300 @@
}, },
homeinit() { homeinit() {
let _this = this let _this = this
let wd = [{
"name": "YWSJ",
"endTime": this.cxsj,
"type": "2",
"startTime": this.startTime,
"compare": "between"
}, {
"name": "XZQH",
"value": this._xzqh,
"type": "1"
}]
//var zbcode="MBZFX_016";单独读取
let param = {
"themeId": _this.themeID,
"wd": JSON.stringify(wd),
}
commonMethod(param).then(res => {
if(res.data.content.length>0){
_this.msgdata = res.data.content[0].zbxx
_this.msgdata.forEach((item, index) => {
if (item.ZBID == "1001") {
_this.msgopendata = item
}
if (item.ZBID == "1002") {
_this.msgclosedata = item
}
if (item.ZBID == "1003") {
_this.orgopendata = item
}
if (item.ZBID == "1004") {
_this.orgclosedata = item
}
if (item.ZBID == "1007") {
_this.msgbfb = item.ZXZ
}
if (item.ZBID == "1104") {
_this.orgbfb = item.ZXZ
}
})
_this.option1.series[0].data[0].value = _this.msgbfb
_this.option1.series[0].data[1].value = 100 - _this.msgbfb
_this.option2.series[0].data[0].value = _this.orgbfb if (_this.ChartsNo == 1) {
_this.option2.series[0].data[1].value = 100 - _this.orgbfb
}else{ let wd = [{
_this.msgopendata = 0 "name": "YWSJ",
_this.msgclosedata = 0 "endTime": this.cxsj,
_this.orgopendata = 0 "type": "2",
_this.orgclosedata = 0 "startTime": this.startTime,
_this.msgbfb = 0 "compare": "between"
_this.orgbfb = 0 }, {
_this.option1.series[0].data[0].value = 0 "name": "XZQH",
_this.option1.series[0].data[1].value = 0 "value": this._xzqh,
_this.option2.series[0].data[0].value = 0 "type": "1"
_this.option2.series[0].data[1].value = 0 }]
let param = {
"themeId": _this.themeID,
"wd": JSON.stringify(wd),
} }
_this.$echarts.init(document.getElementById("pag5-left1")).setOption(_this.option1, true) commonMethod(param).then(res => {
_this.$echarts.init(document.getElementById("pag5-right1")).setOption(_this.option2, true)
}).catch(err => {
console.log("--慢病监测肿瘤报错--");
})
let wd3 = [{ if (res.data.content.length > 0) {
"name": "YWSJ", _this.msgdata = res.data.content[0].zbxx
"endTime": this.cxsj, _this.msgdata.forEach((item, index) => {
"type": "2", if (item.ZBID == "1002") {//肿瘤登记报告信息化情况
"startTime": this.startTime, _this.msgopendata = item
"compare": "between" }
}, { if (item.ZBID == "1000") {//肿瘤登记报告业务开展情况
"name": "XZQH", _this.msgclosedata = item
"value": this._xzqh, }
"type": "1" if (item.ZBID == "1003") {
}] _this.orgopendata = item
let param3 = { }
"themeId": _this.themeID, if (item.ZBID == "1001") {
"wd": JSON.stringify(wd3) _this.orgclosedata = item
} }
})
_this.option1.series[0].data[0].name = '信息化业务开展机构数'
_this.option1.series[0].data[0].value = _this.msgopendata.ZXZ
_this.option1.series[0].data[1].name = '非信息化业务开展机构数'
_this.option1.series[0].data[1].value = _this.msgclosedata.ZXZ
commonMethod(param3).then(res => {
let zbdata = res.data.content.length > 0 ? res.data.content[0].zbxx : [] _this.option2.series[0].data[0].name = '信息化登记报告数'
_this.msgdata.forEach((item, index) => { _this.option2.series[0].data[0].value = _this.msgopendata.ZXZ
if (item.ZBID == "1009") { _this.option2.series[0].data[1].name = '非信息化登记报告数'
_this.msgone = item.BZZ _this.option2.series[0].data[1].value = _this.msgclosedata.ZXZ
_this.msgtwo = item.ZXZ } else {
_this.msgthr = item.ZZZ _this.msgopendata = 0
_this.msgtotale = item.BZZ + item.ZXZ + item.ZZZ _this.msgclosedata = 0
} _this.orgopendata = 0
if (item.ZBID == "1010") { _this.orgclosedata = 0
_this.nmsgone = item.BZZ _this.msgbfb = 0
_this.nmsgtwo = item.ZXZ _this.orgbfb = 0
_this.nmsgthr = item.ZZZ _this.option1.series[0].data[0].value = 0
_this.nmsgtotale = item.BZZ + item.ZXZ + item.ZZZ _this.option1.series[0].data[1].value = 0
} _this.option2.series[0].data[0].value = 0
if (item.ZBID == "1011") { _this.option2.series[0].data[1].value = 0
_this.orgone = item.BZZ
_this.orgtwo = item.ZXZ
_this.orgthr = item.ZZZ
_this.orgtotale = item.BZZ + item.ZXZ + item.ZZZ
}
if (item.ZBID == "1012") {
_this.norgone = item.BZZ
_this.norgtwo = item.ZXZ
_this.norgthr = item.ZZZ
_this.norgtotale = item.BZZ + item.ZXZ + item.ZZZ
} }
_this.$echarts.init(document.getElementById("pag5-left1")).setOption(_this.option1, true)
_this.$echarts.init(document.getElementById("pag5-right1")).setOption(_this.option2, true)
}).catch(err => {
console.log("--慢病监测肿瘤报错--");
}) })
_this.msgtotale = _this.msgtotale ? _this.msgtotale : 15 let series = [{
_this.nmsgtotale = _this.nmsgtotale ? _this.nmsgtotale : 15 name: '登记数/去年',
_this.option3.series[0].data[0].value = _this.msgone ? _this.msgone : 10 type: 'bar',
_this.option3.series[0].data[1].value = _this.msgtwo ? _this.msgtwo : 10 barWidth: null,
_this.option3.series[0].data[2].value = _this.msgthr ? _this.msgthr : 10 itemStyle: {
_this.option3.series[0].data[3].value = _this.msgtotale * 0.5 normal: {
_this.option3.series[1].data[0].value = _this.nmsgone ? _this.nmsgone : 10 color: new this.$echarts.graphic.LinearGradient(
_this.option3.series[1].data[1].value = _this.nmsgtwo ? _this.nmsgtwo : 10 0, 0, 0, 1,
_this.option3.series[1].data[2].value = _this.nmsgthr ? _this.nmsgthr : 10 [{
_this.option3.series[1].data[3].value = _this.nmsgtotale * 0.5 offset: 0,
_this.$echarts.init(document.getElementById("pag5-left2")).setOption(_this.option3, true) color: '#115D5D'
},
_this.orgtotale = _this.orgtotale ? _this.orgtotale : 15 {
_this.norgtotale = _this.norgtotale ? _this.norgtotale : 15 offset: 0.5,
_this.option4.series[0].data[0].value = _this.orgone ? _this.orgone : 10 color: '#115D5D'
_this.option4.series[0].data[1].value = _this.orgtwo ? _this.orgtwo : 10 },
_this.option4.series[0].data[2].value = _this.orgthr ? _this.orgthr : 10 {
_this.option4.series[0].data[3].value = _this.orgtotale * 0.5 offset: 0.5,
_this.option4.series[1].data[0].value = _this.norgone ? _this.norgone : 10 color: '#4093E9'
_this.option4.series[1].data[1].value = _this.norgtwo ? _this.norgtwo : 10 },
_this.option4.series[1].data[2].value = _this.norgthr ? _this.norgthr : 10 {
_this.option4.series[1].data[3].value = _this.norgtotale * 0.5 offset: 1,
_this.$echarts.init(document.getElementById("pag5-right2")).setOption(_this.option4, true) color: '#4093E9'
}
if (_this.ChartsNo == 1) { ]
let series = [{ )
name: '登记数/去年', }
type: 'bar', },
barWidth: null, data: [15, 27, 24, 22, 41, 47, 24, 42, 21, 42, 47, 24, 42, 67, 24, 42]
itemStyle: { },
normal: { {
color: new this.$echarts.graphic.LinearGradient( name: '登记数/去年',
0, 0, 0, 1, type: 'bar',
[{ barWidth: 6,
offset: 0, itemStyle: {
color: '#115D5D' normal: {
}, color: '#4093E9'
{ }
offset: 0.5,
color: '#115D5D'
},
{
offset: 0.5,
color: '#4093E9'
},
{
offset: 1,
color: '#4093E9'
}
]
)
}
},
data: [15, 27, 24, 22, 41, 47, 24, 42, 21, 42, 47, 24, 42, 67, 24, 42]
}, },
{ data: [45, 67, 44, 12, 45, 67, 44, 12, 45, 67, 44, 12, 45, 67, 44, 12]
name: '登记数/去年', },
type: 'bar', {
barWidth: 6, name: '明确病理占比',
itemStyle: { type: 'line',
normal: { smooth: false,
color: '#4093E9' yAxisIndex: 1,
} symbol: 'circle',
}, symbolSize: 5,
data: [45, 67, 44, 12, 45, 67, 44, 12, 45, 67, 44, 12, 45, 67, 44, 12] lineStyle: {
normal: {
width: 2
}
}, },
{ itemStyle: {
name: '明确病理占比', normal: {
type: 'line', color: '#099023'
smooth: false, }
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 5,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#099023'
}
},
data: [45, 17, 42, 22, 34, 2, 4, 6, 22, 42, 22, 34, 2, 4, 6, 22]
}, },
{ data: [45, 17, 42, 22, 34, 2, 4, 6, 22, 42, 22, 34, 2, 4, 6, 22]
name: '明确期别占比', },
type: 'line', {
yAxisIndex: 1, name: '明确期别占比',
symbol: 'circle', type: 'line',
symbolSize: 5, yAxisIndex: 1,
smooth: false, symbol: 'circle',
lineStyle: { symbolSize: 5,
normal: { smooth: false,
width: 2 lineStyle: {
} normal: {
}, width: 2
itemStyle: { }
normal: {
color: '#FF8E00'
}
},
data: [45, 17, 42, 22, 34, 25, 17, 32, 22, 22, 34, 2, 4, 6, 22, 22]
}, },
{ itemStyle: {
name: '肿瘤登记漏报率', normal: {
type: 'line', color: '#FF8E00'
smooth: false, }
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 5,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#42CCFF'
}
},
data: [25, 61, 42, 22, 34, 25, 17, 32, 22, 22, 34, 2, 4, 6, 34, 12]
}, },
data: [45, 17, 42, 22, 34, 25, 17, 32, 22, 22, 34, 2, 4, 6, 22, 22]
},
{
name: '肿瘤登记漏报率',
type: 'line',
smooth: false,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 5,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#42CCFF'
}
},
data: [25, 61, 42, 22, 34, 25, 17, 32, 22, 22, 34, 2, 4, 6, 34, 12]
},
{
name: '肿瘤报告信息错误比例',
type: 'line',
smooth: false,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 5,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#D44E53'
}
},
data: [25, 67, 44, 42, 22, 34, 15, 17, 32, 20, 12, 34, 2, 4, 6, 22]
}
]
_this.option5.series = series
_this.$echarts.init(document.getElementById("middlebarbox5")).setOption(_this.option5, true)
} else {
let wd3 = [{
"name": "YWSJ",
"endTime": this.cxsj,
"type": "2",
"startTime": this.startTime,
"compare": "between"
}, {
"name": "XZQH",
"value": this._xzqh,
"type": "1"
}]
let param3 = {
"themeId": '18',
"wd": JSON.stringify(wd3),
"group": "JGLX"
}
commonMethod(param3).then(res => {
_this.msgdata = res.data.content
if (!checkIsNull(_this.msgdata) && _this.msgdata.length > 0) {
_this.msgdata.forEach((item, index) => {
if (item.JGLX == "1") {
item.zbxx.forEach((item2, index) => {
if (item2.ZBID == "1011") {//心脑血管登记报告信息化情况
_this.msgone = item2.ZXZ
}
if (item2.ZBID == "1009") {//心脑血管登记报告业务开展情况
_this.nmsgone = item2.ZXZ
}
if (item2.ZBID == "1012") {
_this.orgone = item2.ZXZ
}
if (item2.ZBID == "1010") {
_this.norgone = item2.ZXZ
}
})
} else if (item.JGLX == "2") {
item.zbxx.forEach((item2, index) => {
if (item2.ZBID == "1011") {//心脑血管登记报告信息化情况
_this.msgtwo = item2.ZXZ
}
if (item2.ZBID == "1009") {//心脑血管登记报告业务开展情况
_this.nmsgtwo = item2.ZXZ
}
if (item2.ZBID == "1012") {
_this.orgtwo = item2.ZXZ
}
if (item2.ZBID == "1010") {
_this.norgtwo = item2.ZXZ
}
})
} else if (item.JGLX == "3") {
item.zbxx.forEach((item2, index) => {
if (item2.ZBID == "1011") {//心脑血管登记报告信息化情况
_this.msgthr = item2.ZXZ
}
if (item2.ZBID == "1009") {//心脑血管登记报告业务开展情况
_this.nmsgthr = item2.ZXZ
}
if (item2.ZBID == "1012") {
_this.orgthr = item2.ZXZ
}
if (item2.ZBID == "1010") {
_this.norgthr = item2.ZXZ
}
})
}
})
_this.msgopendata = {}
_this.msgclosedata = {}
_this.orgopendata = {}
_this.orgclosedata = {}
_this.msgopendata.ZXZ = this.formatNum(_this.msgone) + this.formatNum(_this.msgtwo) + this.formatNum(_this.msgthr)
_this.msgclosedata.ZXZ = this.formatNum(_this.nmsgone) + this.formatNum(_this.nmsgtwo) + this.formatNum(_this.nmsgthr)
_this.orgopendata.ZXZ = this.formatNum(_this.orgone) + this.formatNum(_this.orgtwo) + this.formatNum(_this.orgthr)
_this.orgclosedata.ZXZ = this.formatNum(_this.norgone) + this.formatNum(_this.norgtwo) + this.formatNum(_this.norgthr)
_this.msgtotale = _this.msgtotale ? _this.msgtotale : 15
_this.nmsgtotale = _this.nmsgtotale ? _this.nmsgtotale : 15
_this.option3.series[0].data[0].value = _this.msgone ? _this.msgone : 10
_this.option3.series[0].data[1].value = _this.msgtwo ? _this.msgtwo : 10
_this.option3.series[0].data[2].value = _this.msgthr ? _this.msgthr : 10
_this.option3.series[0].data[3].value = _this.msgopendata.ZXZ * 0.5
_this.option3.series[1].data[0].value = _this.nmsgone ? _this.nmsgone : 10
_this.option3.series[1].data[1].value = _this.nmsgtwo ? _this.nmsgtwo : 10
_this.option3.series[1].data[2].value = _this.nmsgthr ? _this.nmsgthr : 10
_this.option3.series[1].data[3].value = _this.msgclosedata.ZXZ * 0.5
_this.$echarts.init(document.getElementById("pag5-left2")).setOption(_this.option3, true)
_this.orgtotale = _this.orgtotale ? _this.orgtotale : 15
_this.norgtotale = _this.norgtotale ? _this.norgtotale : 15
_this.option4.series[0].data[0].value = _this.orgone ? _this.orgone : 10
_this.option4.series[0].data[1].value = _this.orgtwo ? _this.orgtwo : 10
_this.option4.series[0].data[2].value = _this.orgthr ? _this.orgthr : 10
_this.option4.series[0].data[3].value = _this.orgopendata.ZXZ * 0.5
_this.option4.series[1].data[0].value = _this.norgone ? _this.norgone : 10
_this.option4.series[1].data[1].value = _this.norgtwo ? _this.norgtwo : 10
_this.option4.series[1].data[2].value = _this.norgthr ? _this.norgthr : 10
_this.option4.series[1].data[3].value = _this.orgclosedata.ZXZ * 0.5
_this.$echarts.init(document.getElementById("pag5-right2")).setOption(_this.option4, true)
}
let series = [
{ {
name: '肿瘤报告信息错误比例',
type: 'line',
smooth: false,
yAxisIndex: 1,
symbol: 'circle',
symbolSize: 5,
lineStyle: {
normal: {
width: 2
}
},
itemStyle: {
normal: {
color: '#D44E53'
}
},
data: [25, 67, 44, 42, 22, 34, 15, 17, 32, 20, 12, 34, 2, 4, 6, 22]
}
]
_this.option5.series = series
_this.$echarts.init(document.getElementById("middlebarbox5")).setOption(_this.option5, true)
} else {
let series = [{
name: '登记数/去年', name: '登记数/去年',
type: 'bar', type: 'bar',
barWidth: null, barWidth: null,
...@@ -1246,9 +1263,9 @@ ...@@ -1246,9 +1263,9 @@
color: new this.$echarts.graphic.LinearGradient( color: new this.$echarts.graphic.LinearGradient(
0, 0, 0, 1, 0, 0, 0, 1,
[{ [{
offset: 0, offset: 0,
color: '#115D5D' color: '#115D5D'
}, },
{ {
offset: 0.5, offset: 0.5,
color: '#115D5D' color: '#115D5D'
...@@ -1331,21 +1348,21 @@ ...@@ -1331,21 +1348,21 @@
} }
_this.option5.series = series _this.option5.series = series
_this.$echarts.init(document.getElementById("middlebarbox5")).setOption(_this.option5, true) _this.$echarts.init(document.getElementById("middlebarbox5")).setOption(_this.option5, true)
}
}).catch(err => { }).catch(err => {
console.log("--慢病监测心脑血管报错--"); console.log("--慢病监测心脑血管报错--");
}) })
}
}, },
homebot() { homebot() {
let _this = this let _this = this
let wd4 = [{ let wd4 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.cxsj, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": _this._xzqh, "value": _this._xzqh,
...@@ -1361,14 +1378,7 @@ ...@@ -1361,14 +1378,7 @@
_this.tabledata = [] _this.tabledata = []
commonMethod(param4).then(res => { commonMethod(param4).then(res => {
let obj = { let obj = {}
name: '',
tag1: '0.0',
tag2: '0.0',
tag3: '0.0',
tag4: '0.0',
areacode: 'v'
}
res.data.content.forEach((item, index) => { res.data.content.forEach((item, index) => {
let obj = { let obj = {
...@@ -1426,6 +1436,16 @@ ...@@ -1426,6 +1436,16 @@
}).catch(err => { }).catch(err => {
console.log("--慢病监测心脑血管报错--"); console.log("--慢病监测心脑血管报错--");
}) })
},
formatNum(str) {
if (checkIsNull(str) || str == "NaN" || str == "Infinity" || str == "-" || isNaN(str)) {
return 0;
} else {
return parseFloat(str);
}
},
getActiveNum(str) {
return getActiveNum(str)
} }
}, },
mounted() { mounted() {
...@@ -1525,14 +1545,52 @@ ...@@ -1525,14 +1545,52 @@
} }
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.card33-mod .pl10{ font-size: 12px;} .card33-mod .pl10 {
.card33-mod .pl10 td{ padding: 0 10px;} font-size: 12px;
.echarts-square{ height: 10px; width: 14px; display: inline-table;} }
.page5left{ width:150px; height:150px }
#middlebarbox5{width:455px;height:280px} .card33-mod .pl10 td {
.area >>> .el-input--mini .el-input__inner{padding:0; text-align:center; color: #FFF; border:1px solid #409EFF; background-color: #409EFF;} padding: 0 10px;
.area >>> .el-input--mini .el-input__inner::-webkit-input-placeholder {color: #FFF;} }
.area >>> .el-input--mini{ width: 60px; margin-left: 8px;}
.area >>> .el-input__icon.el-icon-date{display:none} .echarts-square {
.area >>> .el-input__icon{display:none} height: 10px;
width: 14px;
display: inline-table;
}
.page5left {
width: 150px;
height: 150px
}
#middlebarbox5 {
width: 455px;
height: 280px
}
.area >>> .el-input--mini .el-input__inner {
padding: 0;
text-align: center;
color: #FFF;
border: 1px solid #409EFF;
background-color: #409EFF;
}
.area >>> .el-input--mini .el-input__inner::-webkit-input-placeholder {
color: #FFF;
}
.area >>> .el-input--mini {
width: 60px;
margin-left: 8px;
}
.area >>> .el-input__icon.el-icon-date {
display: none
}
.area >>> .el-input__icon {
display: none
}
</style> </style>
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