Commit 137c72a2 by lihu541

页面数据核对,样式修改

parent 9df5854f
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<p>{{areaname + hospitalname}}</p> <p>{{areaname + hospitalname}}</p>
</div> </div>
<div class="area"> <div class="area">
<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="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>
...@@ -188,10 +188,11 @@ ...@@ -188,10 +188,11 @@
<table class="table01 table" width="100%" border="0"> <table class="table01 table" width="100%" border="0">
<thead class="fixedThead"> <thead class="fixedThead">
<tr> <tr>
<th width="38"></th> <th></th>
<th width="48">{{thname}}</th> <th>{{thname}}</th>
<th width="100" @click.stop="showtab(1)">管/签自动上传<br/>{{bleedtype}}控制率·%</th> <th @click.stop="showtab(1)">管/签自动上传<br/>{{bleedtype}}控制率·%</th>
<th width="100" @click.stop="showtab(2)">管/签报告<br/>{{bleedtype}}控制率·%</th> <th @click.stop="showtab(2)">管/签报告<br/>{{bleedtype}}控制率·%</th>
<th v-if="rqType === 'glrq'" @click.stop="showtab(3)">管/签BMI<br/>异常比·%</th>
</tr> </tr>
</thead> </thead>
<div class="uplib" v-if="showtabnum == 1"> <div class="uplib" v-if="showtabnum == 1">
...@@ -204,10 +205,11 @@ ...@@ -204,10 +205,11 @@
</div> </div>
<tbody class="scrollTbody"> <tbody class="scrollTbody">
<tr v-for="(item, index) in topListData" :key="index"> <tr v-for="(item, index) in topListData" :key="index">
<td width="38"><span>{{index+1}}</span></td> <td><span>{{index+1}}</span></td>
<td width="48" @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td> <td @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td>
<td width="100">{{item.tag1}}/{{item.tag2}}</td> <td>{{item.tag1}}/{{item.tag2}}</td>
<td width="100">{{item.tag3}}/{{item.tag4}}</td> <td>{{item.tag3}}/{{item.tag4}}</td>
<td v-if="rqType === 'glrq'">{{item.tag5}}/{{item.tag6}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -711,7 +713,7 @@ ...@@ -711,7 +713,7 @@
showtabnum: 0, showtabnum: 0,
pagedisname: '高血压', pagedisname: '高血压',
middlename: "规范管理人群", middlename: "规范管理人群",
isShowBack: false,
userinfo: {}, userinfo: {},
userRole: '', userRole: '',
cxsj: '', cxsj: '',
...@@ -751,6 +753,7 @@ ...@@ -751,6 +753,7 @@
if (this.pageLevel === 'qj') { if (this.pageLevel === 'qj') {
this.pageLevel = 'sj' this.pageLevel = 'sj'
this.isShowBack = false
// 此时 处于第一次点击下的状态 // 此时 处于第一次点击下的状态
this._xzqh = '' this._xzqh = ''
this._yljgdm = '' this._yljgdm = ''
...@@ -769,6 +772,9 @@ ...@@ -769,6 +772,9 @@
this.thname = "医院" this.thname = "医院"
this.arname = '社区' this.arname = '社区'
this.hospitalname = '' this.hospitalname = ''
if (this.userRole === 'area') {
this.isShowBack = false
}
} }
this.homeinit() this.homeinit()
this.change_age(1) this.change_age(1)
...@@ -811,7 +817,7 @@ ...@@ -811,7 +817,7 @@
this.pageLevel = 'sq' this.pageLevel = 'sq'
this.communshow = false this.communshow = false
this.tablename = "社区" this.tablename = "社区"
this.thname = "医院" this.thname = "季度"
this.arname = '社区' this.arname = '社区'
this.areaname = '' this.areaname = ''
this.hospitalname = sessionStorage.getItem("organizcodeName") this.hospitalname = sessionStorage.getItem("organizcodeName")
...@@ -828,6 +834,7 @@ ...@@ -828,6 +834,7 @@
if (this.pageLevel === 'sj') { if (this.pageLevel === 'sj') {
// 点击区 -- 展示城镇信息 // 点击区 -- 展示城镇信息
this.pageLevel = 'qj' this.pageLevel = 'qj'
this.isShowBack = true
this._group = 'YLJGDM' this._group = 'YLJGDM'
this._xzqh = code this._xzqh = code
this.communshow = true this.communshow = true
...@@ -838,6 +845,7 @@ ...@@ -838,6 +845,7 @@
} else if (this.pageLevel === 'qj') { } else if (this.pageLevel === 'qj') {
// 点击区 -- 展示城镇信息 // 点击区 -- 展示城镇信息
this.pageLevel = 'sq' this.pageLevel = 'sq'
this.isShowBack = true
this._group = 'YWSJ' this._group = 'YWSJ'
this._yljgdm = code this._yljgdm = code
this.communshow = true this.communshow = true
...@@ -856,13 +864,19 @@ ...@@ -856,13 +864,19 @@
}, },
groupChange(grouplx) { groupChange(grouplx) {
this.groupType = grouplx this.groupType = grouplx
if (grouplx === 'org') {
if (grouplx === 'org' && this.pageLevel === 'sj') {
this._group = "XZQH" this._group = "XZQH"
this.homeinit() this.thname = "各区"
} else if (grouplx === 'org' && this.pageLevel === 'qj') {
this._group = "YLJGDM"
this.thname = "医院"
} else { } else {
this._group = "YWSJ" this._group = "YWSJ"
this.homeinit() this.thname = "季度"
} }
this.homeinit()
}, },
rqlxChange(rqlx) { rqlxChange(rqlx) {
this.rqType = rqlx this.rqType = rqlx
...@@ -1365,12 +1379,13 @@ ...@@ -1365,12 +1379,13 @@
line3_qn.push(getActiveNum(item2.TBZ)) line3_qn.push(getActiveNum(item2.TBZ))
} }
if (item2.ZBID == "1180" ) { if (item2.ZBID == "1180" ) {
// 管·报告血压控制率/去年 // 高血压患者BMI异常比例
line5.push(getActiveNum(item2.ZXZ)) line5.push(getActiveNum(item2.ZXZ))
line5_qn.push(getActiveNum(item2.TBZ)) line5_qn.push(getActiveNum(item2.TBZ))
} }
} }
}else if(this.mbType === 'tnb'){ }
else if(this.mbType === 'tnb'){
if (this.rqType === 'gfgl') { if (this.rqType === 'gfgl') {
...@@ -1522,6 +1537,8 @@ ...@@ -1522,6 +1537,8 @@
obj.tag2 = getActiveNum(line2[index]) obj.tag2 = getActiveNum(line2[index])
obj.tag3 = getActiveNum(line3[index]) obj.tag3 = getActiveNum(line3[index])
obj.tag4 = getActiveNum(line4[index]) obj.tag4 = getActiveNum(line4[index])
obj.tag5 = getActiveNum(line5[index])
obj.tag6 = getActiveNum(line6[index])
this.topListData.push(obj) this.topListData.push(obj)
...@@ -1541,7 +1558,6 @@ ...@@ -1541,7 +1558,6 @@
bar1_g_qn[index] = Object.assign({value:b}, tooltip) bar1_g_qn[index] = Object.assign({value:b}, tooltip)
}) })
let legendMy = [] let legendMy = []
if (this.mbType === 'gxy') { if (this.mbType === 'gxy') {
...@@ -1821,7 +1837,7 @@ ...@@ -1821,7 +1837,7 @@
this.pageLevel = 'sq' this.pageLevel = 'sq'
this.communshow = false this.communshow = false
this.tablename = "社区" this.tablename = "社区"
this.thname = "医院" this.thname = "季度"
this.arname = '社区' this.arname = '社区'
this.hospitalname = sessionStorage.getItem("organizcodeName") this.hospitalname = sessionStorage.getItem("organizcodeName")
} }
......
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