Commit 66242b3e by lihu541

角色权限修改,请求参数修改

parent df09e670
...@@ -25,7 +25,7 @@ export function commonMethod(param) { ...@@ -25,7 +25,7 @@ export function commonMethod(param) {
} }
} }
param.wd = _wd param.wd = JSON.stringify(_wd)
} }
......
...@@ -850,10 +850,10 @@ ...@@ -850,10 +850,10 @@
] ]
}, },
themeidnow: 13, themeidnow: 13,
themeID: 7, // 慢病在管ID themeID: 9, // 慢病在管ID
themeID2: 13, // 慢病高血压 themeID2: 15, // 慢病高血压
themeID3: 19, // 慢病管理 糖尿病 themeID3: 21, // 慢病管理 糖尿病
themeID4: 10, // 慢病管理 肿瘤 themeID4: 12, // 慢病管理 肿瘤
pageNo: 1, pageNo: 1,
DieaNo: 1, DieaNo: 1,
gtopdata: [], gtopdata: [],
...@@ -1119,7 +1119,7 @@ ...@@ -1119,7 +1119,7 @@
_this.agedatayg = [] _this.agedatayg = []
if (_this.DieaNo == 1) { if (_this.DieaNo == 1) {
this.themeidnow = 13 // 柱状图请求ID this.themeidnow = 15 // 柱状图请求ID
this.bottominit() // 数据请求、柱状图图标渲染 this.bottominit() // 数据请求、柱状图图标渲染
_this.gtopdata = _this.agdata[0] _this.gtopdata = _this.agdata[0]
_this.qtopdata = _this.aqdata[0] _this.qtopdata = _this.aqdata[0]
...@@ -1160,7 +1160,7 @@ ...@@ -1160,7 +1160,7 @@
}) })
} else if (_this.DieaNo == 2) { } else if (_this.DieaNo == 2) {
console.log("糖尿病输出"); console.log("糖尿病输出");
this.themeidnow = 19 // 底部柱状图ID this.themeidnow = 21 // 底部柱状图ID
this.bottominit() // 数据请求、柱状图图标渲染 this.bottominit() // 数据请求、柱状图图标渲染
_this.gtopdata = _this.agdata[1] _this.gtopdata = _this.agdata[1]
_this.qtopdata = _this.aqdata[1] _this.qtopdata = _this.aqdata[1]
...@@ -1199,7 +1199,7 @@ ...@@ -1199,7 +1199,7 @@
_this.agedatayg.push(item.zbxx[1].ZXZ) _this.agedatayg.push(item.zbxx[1].ZXZ)
}) })
} else { } else {
this.themeidnow = 10 this.themeidnow = 12
this.bottominit() this.bottominit()
let _this = this let _this = this
setTimeout(function(){_this.zhongliu()},500) setTimeout(function(){_this.zhongliu()},500)
......
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
g_personAutoNumTbl: [], //在管数据 -- 去年 人群自动上传血压血糖合格人数 g_personAutoNumTbl: [], //在管数据 -- 去年 人群自动上传血压血糖合格人数
q_personAutoNum: [], // 签 数据 -- 今年 签约 同上 q_personAutoNum: [], // 签 数据 -- 今年 签约 同上
q_personAutoNumTbl: [], // 签数据 -- 去年 同上 q_personAutoNumTbl: [], // 签数据 -- 去年 同上
themeId: 28, themeId: 30,
agestructId: 34, agestructId: 34,
bleedtype: '血压', bleedtype: '血压',
selectID: 1, // 用于切换 规范管理 selectID: 1, // 用于切换 规范管理
...@@ -391,28 +391,7 @@ ...@@ -391,28 +391,7 @@
return res return res
} }
}, },
dataZoom: {
start: 0, //默认为0
end: 50, //默认为100
type: 'slider',
show: true ,
xAxisIndex: [0] ,
handleSize: 20 , //滑动条的 左右2个滑动条的大小
height: 5 , //组件高度
left: 50, //左边的距离
right: 45, //右边的距离
bottom: 40, //右边的距离
backgroundColor: '#ccc', //两边未选中的滑动条区域的颜色
showDataShadow: true, //是否显示数据阴影 默认auto
handleStyle: {
borderColor: "#CBBCDB",
borderWidth: "1",
shadowBlur: 1,
background: "#000",
shadowColor: "#000",
},
filterMode: 'filter',
},
legend: { legend: {
textStyle: { textStyle: {
color: '#8393A9', color: '#8393A9',
...@@ -918,17 +897,13 @@ ...@@ -918,17 +897,13 @@
console.log("现在处于一级状态"); console.log("现在处于一级状态");
} }
else if (this.pageLevel === 'sq') { else if (this.pageLevel === 'sq') {
this.pageLevel = 'qj' this.pageLevel = 'qj'
this._group = 'YLJGDM' this._group = 'YLJGDM'
this.tablename = "社区" this.tablename = "社区"
this.thname = "医院" this.thname = "医院"
this.arname = '社区' this.arname = '社区'
this.areaname = this.areaname2 this.areaname = this.areaname2
} }
this.homeinit(this.themeId) this.homeinit(this.themeId)
this.change_age(1) this.change_age(1)
...@@ -940,7 +915,6 @@ ...@@ -940,7 +915,6 @@
}, },
changeReplay() { changeReplay() {
if ('city' === this.userRole) {//市角色 if ('city' === this.userRole) {//市角色
this._xzqh = "" this._xzqh = ""
this._group = "XZQH" this._group = "XZQH"
...@@ -948,7 +922,7 @@ ...@@ -948,7 +922,7 @@
this.areaname = '' this.areaname = ''
this.tablename = '各区' this.tablename = '各区'
this.themeId = 28 this.themeId = 30
this.thname = '各区' this.thname = '各区'
this.arname = '各区' this.arname = '各区'
this.homeinit(this.themeId) this.homeinit(this.themeId)
...@@ -986,7 +960,6 @@ ...@@ -986,7 +960,6 @@
}, },
dataSearch() { dataSearch() {
this.homeinit(this.themeId) this.homeinit(this.themeId)
this.change_age(1) this.change_age(1)
...@@ -1007,7 +980,6 @@ ...@@ -1007,7 +980,6 @@
this.arname = '社区' this.arname = '社区'
this.areaname = name this.areaname = name
}else if (this.pageLevel === 'qj') { }else if (this.pageLevel === 'qj') {
// 点击区 -- 展示城镇信息 // 点击区 -- 展示城镇信息
this.pageLevel = 'sq' this.pageLevel = 'sq'
...@@ -1020,8 +992,6 @@ ...@@ -1020,8 +992,6 @@
this.thname = '医院' this.thname = '医院'
this.arname = '社区' this.arname = '社区'
this.areaname = name this.areaname = name
}else if (this.pageLevel === 'sq') { }else if (this.pageLevel === 'sq') {
return false return false
...@@ -1704,24 +1674,7 @@ ...@@ -1704,24 +1674,7 @@
Listtemp5.push(item.g0) // BMI 异常数据获取 Listtemp5.push(item.g0) // BMI 异常数据获取
Listtemp6.push(item.q0) // BMI 异常数据获取 Listtemp6.push(item.q0) // BMI 异常数据获取
}) })
// this.g_autoup_list = []
// this.q_autoup_list = []
// this.g_normal_list = []
// this.q_normal_list = []
// g_personAutoNum:[], //
// g_personAutoNumTbl:[],
// this.option2.series[0].data = this.g_autoup_list
// this.option2.series[1].data = this.q_autoup_list
// this.option2.series[2].data = this.g_normal_list
// this.option2.series[3].data = this.q_normal_list
// this.option2.series[4].data = Listtemp1 // 自动上传血压控制率 管
// this.option2.series[5].data = Listtemp3 // 自动上传血压控制率 签
// this.option2.series[6].data = Listtemp2
// this.option2.series[7].data = Listtemp4
// this.option2.series[8].data = Listtemp5
// this.option2.series[9].data = Listtemp6
this.option2.xAxis[0].data = ListPlace this.option2.xAxis[0].data = ListPlace
let legendMy = [] let legendMy = []
...@@ -1760,14 +1713,14 @@ ...@@ -1760,14 +1713,14 @@
) )
} }
}, },
barWidth: null, barWidth: 8,
data: this.g_autoup_list data: this.g_autoup_list
}, },
{ {
name: '管理/签约人群自动上传血压合格人数', name: '管理/签约人群自动上传血压合格人数',
type: 'line', type: 'bar',
stack: "1", stack: "2",
barWidth: null, barWidth: 8,
itemStyle: { itemStyle: {
normal: { normal: {
color: '#4093E9' color: '#4093E9'
...@@ -1803,12 +1756,13 @@ ...@@ -1803,12 +1756,13 @@
) )
} }
}, },
barWidth: null, barWidth: 8,
data: this.g_normal_list data: this.g_normal_list
}, },
{ {
name: '去年管理/签约人群自动上传血压合格人数', name: '去年管理/签约人群自动上传血压合格人数',
type: 'line', type: 'bar',
stack: "2",
barWidth: 8, barWidth: 8,
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -1834,7 +1788,6 @@ ...@@ -1834,7 +1788,6 @@
) )
} }
}, },
stack: "1",
data: this.q_normal_list data: this.q_normal_list
}, },
{ {
...@@ -2048,7 +2001,8 @@ ...@@ -2048,7 +2001,8 @@
data: Listtemp6 data: Listtemp6
} }
] ]
} else { }
else {
legendMy = ['管理/签约人群自动上传血压合格人数', '去年管理/签约人群自动上传血压合格人数', '管·自动上传血压控制率/去年', '签·自动上传血压控制率/去年', legendMy = ['管理/签约人群自动上传血压合格人数', '去年管理/签约人群自动上传血压合格人数', '管·自动上传血压控制率/去年', '签·自动上传血压控制率/去年',
'管·报告血压控制率/去年', '签·报告血压控制率/去年' '管·报告血压控制率/去年', '签·报告血压控制率/去年'
...@@ -2083,14 +2037,14 @@ ...@@ -2083,14 +2037,14 @@
) )
} }
}, },
barWidth: null, barWidth: 8,
data: this.g_autoup_list data: this.g_autoup_list
}, },
{ {
name: '管理/签约人群自动上传血压合格人数', name: '管理/签约人群自动上传血压合格人数',
type: 'line', type: 'bar',
stack: "1", stack: "2",
barWidth: null, barWidth: 8,
itemStyle: { itemStyle: {
normal: { normal: {
color: '#4093E9' color: '#4093E9'
...@@ -2101,7 +2055,7 @@ ...@@ -2101,7 +2055,7 @@
{ {
name: '去年管理/签约人群自动上传血压合格人数', name: '去年管理/签约人群自动上传血压合格人数',
type: 'bar', type: 'bar',
stack: '1', stack: '2',
itemStyle: { itemStyle: {
normal: { normal: {
color: new this.$echarts.graphic.LinearGradient( color: new this.$echarts.graphic.LinearGradient(
...@@ -2126,13 +2080,13 @@ ...@@ -2126,13 +2080,13 @@
) )
} }
}, },
barWidth: null, barWidth: 8,
data: this.g_normal_list data: this.g_normal_list
}, },
{ {
name: '去年管理/签约人群自动上传血压合格人数', name: '去年管理/签约人群自动上传血压合格人数',
type: 'line', type: 'bar',
barWidth: 8, stack: '1',
itemStyle: { itemStyle: {
normal: { normal: {
color: new this.$echarts.graphic.LinearGradient( color: new this.$echarts.graphic.LinearGradient(
...@@ -2157,7 +2111,6 @@ ...@@ -2157,7 +2111,6 @@
) )
} }
}, },
stack: "1",
data: this.q_normal_list data: this.q_normal_list
}, },
{ {
...@@ -2891,12 +2844,12 @@ ...@@ -2891,12 +2844,12 @@
this.DieaNo = Num this.DieaNo = Num
if (Num == 1) { if (Num == 1) {
this.themeId = 28 this.themeId = 30
this.homeinit(this.themeId) this.homeinit(this.themeId)
this.bleedtype = "血压" this.bleedtype = "血压"
this.pagedisname = '高血压' this.pagedisname = '高血压'
} else { } else {
this.themeId = 28 this.themeId = 33
this.homeinit(this.themeId) this.homeinit(this.themeId)
this.bleedtype = "血糖" this.bleedtype = "血糖"
this.pagedisname = '糖尿病' this.pagedisname = '糖尿病'
...@@ -3192,8 +3145,6 @@ ...@@ -3192,8 +3145,6 @@
this._group = "XZQH" this._group = "XZQH"
this.pageLevel = 'sj' this.pageLevel = 'sj'
this.homeinit(this.themeId)
this.change_age(1)
} else if ('area' === this.userRole) {//区角色 } else if ('area' === this.userRole) {//区角色
this._xzqh = sessionStorage.getItem("organizcode") this._xzqh = sessionStorage.getItem("organizcode")
...@@ -3206,10 +3157,6 @@ ...@@ -3206,10 +3157,6 @@
this.arname = '社区' this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName") this.areaname = sessionStorage.getItem("organizcodeName")
this.homeinit(this.themeId)
this.change_age(1)
} else if ('hospital' === this.userRole) {//社区角色 } else if ('hospital' === this.userRole) {//社区角色
this._xzqh = sessionStorage.getItem("organizcode") this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YWSJ" this._group = "YWSJ"
...@@ -3219,11 +3166,9 @@ ...@@ -3219,11 +3166,9 @@
this.thname = "医院" this.thname = "医院"
this.arname = '社区' this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName") this.areaname = sessionStorage.getItem("organizcodeName")
}
this.homeinit(this.themeId) this.homeinit(this.themeId)
this.change_age(1) this.change_age(1)
}
const obj = setInterval(() => { const obj = setInterval(() => {
......
...@@ -8,18 +8,19 @@ ...@@ -8,18 +8,19 @@
<p>{{areaname}}</p> <p>{{areaname}}</p>
</div> </div>
<div class="area"> <div class="area">
<el-button size="mini" type="primary" @click="CityGetBack()" v-if="this.BeginCode != 1">返回</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="value" 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>市疾控 截止:{{nowdate}}</div> <div class="name"><i class="el-icon-s-custom el-icon--left"></i>{{userinfo.userName}} 截止:{{cxsj}}</div>
</div> </div>
</div> </div>
<!----第一个模块----> <!----第一个模块---->
<div class="card-dark card-01"> <div class="card-dark card-01">
<div class="card1-mod"> <div class="card1-mod">
<h2>管·患者当前死亡后随访人数</h2> <h2>管·患者当前死亡后随访人数</h2>
<div class="cmtitle"><span class="center">{{topgdata.ZXZ?topgdata.ZXZ:0}}</span><span class="span2"></span></div> <div class="cmtitle"><span class="center">{{topgdata.ZXZ?topgdata.ZXZ:0}}</span><span class="span2"></span>
</div>
<div class="cmtline2"> <div class="cmtline2">
<p><span>{{topgdata.ZXZ?topgdata.ZXZ:0}}</span>本周新增死亡后随访人数</p> <p><span>{{topgdata.ZXZ?topgdata.ZXZ:0}}</span>本周新增死亡后随访人数</p>
<p><span>{{topgyeardiedata.ZXZ?topgyeardiedata.ZXZ:0}}</span>年内累计死亡后随访人数</p> <p><span>{{topgyeardiedata.ZXZ?topgyeardiedata.ZXZ:0}}</span>年内累计死亡后随访人数</p>
...@@ -28,7 +29,8 @@ ...@@ -28,7 +29,8 @@
</div> </div>
<div class="card1-mod"> <div class="card1-mod">
<h2>签·患者当前死亡后随访人数</h2> <h2>签·患者当前死亡后随访人数</h2>
<div class="cmtitle"><span class="center">{{topqdata.ZXZ?topqdata.ZXZ:0}}</span><span class="span2"></span></div> <div class="cmtitle"><span class="center">{{topqdata.ZXZ?topqdata.ZXZ:0}}</span><span class="span2"></span>
</div>
<div class="cmtline2"> <div class="cmtline2">
<p><span>{{topqdata.ZXZ?topqdata.ZXZ:0}}</span>本周新增死亡后随访人数</p> <p><span>{{topqdata.ZXZ?topqdata.ZXZ:0}}</span>本周新增死亡后随访人数</p>
<p><span>{{topqyeardiedata.ZXZ?topqyeardiedata.ZXZ:0}}</span>年内累计死亡后随访人数</p> <p><span>{{topqyeardiedata.ZXZ?topqyeardiedata.ZXZ:0}}</span>年内累计死亡后随访人数</p>
...@@ -57,23 +59,27 @@ ...@@ -57,23 +59,27 @@
<div class="card2-mod card2-mod2"> <div class="card2-mod card2-mod2">
<table class="table02" width="100%" border="0"> <table class="table02" width="100%" border="0">
<tr> <tr>
<td width="60%">累计条数/本周新增 </td> <td width="60%">累计条数/本周新增</td>
<td width="40%">同比·%</td> <td width="40%">同比·%</td>
</tr> </tr>
<tr> <tr>
<td width="60%"><span>{{(parseFloat(topgdata2.ZXZ?topgdata2.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topgdata2.ZZZ?topgdata2.ZZZ:0)/10000).toFixed(1)}}</span></td> <td width="60%"><span>{{(parseFloat(topgdata2.ZXZ?topgdata2.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topgdata2.ZZZ?topgdata2.ZZZ:0)/10000).toFixed(1)}}</span>
</td>
<td width="40%">{{topgdata2.TBL?topgdata2.TBL:0}} <i class="el-icon-top color2"></i></td> <td width="40%">{{topgdata2.TBL?topgdata2.TBL:0}} <i class="el-icon-top color2"></i></td>
</tr> </tr>
<tr> <tr>
<td width="60%"><span class="span01">{{(parseFloat(topqdata2.ZXZ?topqdata2.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topqdata2.ZZZ?topqdata2.ZZZ:0)/10000).toFixed(1)}}</span></td> <td width="60%"><span class="span01">{{(parseFloat(topqdata2.ZXZ?topqdata2.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topqdata2.ZZZ?topqdata2.ZZZ:0)/10000).toFixed(1)}}</span>
</td>
<td width="40%">{{topqdata2.TBL?topqdata2.TBL:0}} <i class="el-icon-top color2"></i></td> <td width="40%">{{topqdata2.TBL?topqdata2.TBL:0}} <i class="el-icon-top color2"></i></td>
</tr> </tr>
<tr v-show="DieaNo==2"> <tr v-show="DieaNo==2">
<td width="60%"><span>{{(parseFloat(topgdata22.ZXZ?topgdata22.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topgdata22.ZZZ?topgdata22.ZZZ:0)/10000).toFixed(1)}}</span></td> <td width="60%"><span>{{(parseFloat(topgdata22.ZXZ?topgdata22.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topgdata22.ZZZ?topgdata22.ZZZ:0)/10000).toFixed(1)}}</span>
</td>
<td width="40%">{{topgdata22.TBL?topgdata22.TBL:0}} <i class="el-icon-top color2"></i></td> <td width="40%">{{topgdata22.TBL?topgdata22.TBL:0}} <i class="el-icon-top color2"></i></td>
</tr> </tr>
<tr v-show="DieaNo==2"> <tr v-show="DieaNo==2">
<td width="60%"><span class="span01">{{(parseFloat(topqdata23.ZXZ?topqdata23.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topqdata23.ZZZ?topqdata23.ZZZ:0)/10000).toFixed(1)}}</span></td> <td width="60%"><span class="span01">{{(parseFloat(topqdata23.ZXZ?topqdata23.ZXZ:0)/10000).toFixed(1)}}万 / {{(parseFloat(topqdata23.ZZZ?topqdata23.ZZZ:0)/10000).toFixed(1)}}</span>
</td>
<td width="40%">{{topqdata23.TBL?topqdata23.TBL:0}} <i class="el-icon-top color2"></i></td> <td width="40%">{{topqdata23.TBL?topqdata23.TBL:0}} <i class="el-icon-top color2"></i></td>
</tr> </tr>
</table> </table>
...@@ -92,7 +98,8 @@ ...@@ -92,7 +98,8 @@
<div class="card-dark card-04"> <div class="card-dark card-04">
<div class="card3title1" v-show="showTab">{{arname}}</div> <div class="card3title1" v-show="showTab">{{arname}}</div>
<div class="card3title1" v-show="!showTab"> <div class="card3title1" v-show="!showTab">
<span :class="tempsf==1?'myclk':''" @click="showsuifang(1)" v-if="communshow">{{arname}}</span><a v-if="communshow">|</a> <span :class="tempsf==1?'myclk':''" @click="showsuifang(1)" v-if="communshow">{{arname}}</span><a
v-if="communshow">|</a>
<span :class="tempsf==2?'myclk':''" @click="showsuifang(2)">时间</span> <span :class="tempsf==2?'myclk':''" @click="showsuifang(2)">时间</span>
</div> </div>
<div class="card3title2" v-show="DieaNo == 1"> <div class="card3title2" v-show="DieaNo == 1">
...@@ -117,22 +124,22 @@ ...@@ -117,22 +124,22 @@
<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 width="68" @click.stop="showtabpage3(1)">管/签当前死<br />后随访数·万</th> <th width="68" @click.stop="showtabpage3(1)">管/签当前死<br/>后随访数·万</th>
<th width="68" @click.stop="showtabpage3(2)">管/签本周新<br />增死后随访数</th> <th width="68" @click.stop="showtabpage3(2)">管/签本周新<br/>增死后随访数</th>
<th width="68" @click.stop="showtabpage3(3)">管/签累计死<br />后随访比·%</th> <th width="68" @click.stop="showtabpage3(3)">管/签累计死<br/>后随访比·%</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 width="60" @click.stop="showtabpage3(1)">管/签<br />未标记率·%</th> <th width="60" @click.stop="showtabpage3(1)">管/签<br/>未标记率·%</th>
<th width="84" @click.stop="showtabpage3(2)">管/签批量<br />异常随访率·%</th> <th width="84" @click.stop="showtabpage3(2)">管/签批量<br/>异常随访率·%</th>
<th width="60" @click.stop="showtabpage3(3)">管/签指标<br />不一致率·%</th> <th width="60" @click.stop="showtabpage3(3)">管/签指标<br/>不一致率·%</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 width="100" @click.stop="showtabpage3(7)">管/签并存临床<br />情况未标记率·%</th> <th width="100" @click.stop="showtabpage3(7)">管/签并存临床<br/>情况未标记率·%</th>
<th width="100" @click.stop="showtabpage3(8)">管/签并存临床<br />情况未标记率·%</th> <th width="100" @click.stop="showtabpage3(8)">管/签并存临床<br/>情况未标记率·%</th>
</tr> </tr>
</thead> </thead>
<div class="uplib" v-if="showtabnum == 1"> <div class="uplib" v-if="showtabnum == 1">
...@@ -186,21 +193,21 @@ ...@@ -186,21 +193,21 @@
</div> </div>
</div> </div>
<tbody class="scrollTbody"> <tbody class="scrollTbody">
<tr v-show="bingNo==1" v-for="(item, index) in listArrayFinal" :key="index"> <tr v-show="bingNo==1" v-for="(item, index) in listArrayFinal" >
<td width="38"><span>{{index+1}}</span></td> <td width="38"><span>{{index+1}}</span></td>
<td width="48" @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td> <td width="48" @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td>
<td width="68">{{item.tag1 + `/` + item.tag2}}</td> <td width="68">{{item.tag1 + `/` + item.tag2}}</td>
<td width="68">{{item.tag3 + `/` + item.tag4}}</td> <td width="68">{{item.tag3 + `/` + item.tag4}}</td>
<td width="68">{{item.tag5 + `/` + item.tag6}}</td> <td width="68">{{item.tag5 + `/` + item.tag6}}</td>
</tr> </tr>
<tr v-show="bingNo==2" v-for="(item, index) in listArrayFinal" :key="index"> <tr v-show="bingNo==2" v-for="(item, index) in listArrayFinal">
<td width="38"><span>{{index+1}}</span></td> <td width="38"><span>{{index+1}}</span></td>
<td width="48" @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td> <td width="48" @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td>
<td width="68">{{item.tag1 + `/` + item.tag2}}</td> <td width="68">{{item.tag1 + `/` + item.tag2}}</td>
<td width="68">{{item.tag3 + `/` + item.tag4}}</td> <td width="68">{{item.tag3 + `/` + item.tag4}}</td>
<td width="68">{{item.tag5 + `/` + item.tag6}}</td> <td width="68">{{item.tag5 + `/` + item.tag6}}</td>
</tr> </tr>
<tr v-show="bingNo==3" v-for="(item, index) in listArrayFinal" :key="index"> <tr v-show="bingNo==3" v-for="(item, index) in listArrayFinal">
<td width="38"><span>{{index+1}}</span></td> <td width="38"><span>{{index+1}}</span></td>
<td width="48" @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td> <td width="48" @click="changecity(item.code,item.name)" class="underline">{{item.name}}</td>
<td width="100">{{item.tag1 + `/` + item.tag2}}</td> <td width="100">{{item.tag1 + `/` + item.tag2}}</td>
...@@ -218,15 +225,16 @@ ...@@ -218,15 +225,16 @@
commonMethod, commonMethod,
otherMethod otherMethod
} from '@/api/home.js' } from '@/api/home.js'
export default { export default {
name: 'screenpage3', name: 'screenpage3',
data() { data() {
return { return {
pageNo: 3, pageNo: 3,
showtabnum:0, showtabnum: 0,
pagedisname: "高血压", pagedisname: "高血压",
middlename: "死后随访", middlename: "死后随访",
themeID: '22', themeID: '24',
arname: '各区', arname: '各区',
communshow: true, communshow: true,
tablename: '各区', tablename: '各区',
...@@ -245,10 +253,7 @@ ...@@ -245,10 +253,7 @@
q_diePercent: [], q_diePercent: [],
areaname: '', areaname: '',
areaname2: '', areaname2: '',
value: '2019-09', startTime: '',
nowdate: '2019-09',
startTime: '2019-01',
selectStarttime: sessionStorage.getItem("EndTime"),
sel: '筛选', sel: '筛选',
data_x: [], data_x: [],
option: { option: {
...@@ -368,10 +373,8 @@ ...@@ -368,10 +373,8 @@
axisPointer: { axisPointer: {
type: 'none' type: 'none'
}, },
formatter: function(params) { formatter: function (params) {
// console.log(params.length)
// console.log('打印params长度')
// console.log(params)
if (params[0].seriesName == '管理/签约人群累计死后随访人数') { if (params[0].seriesName == '管理/签约人群累计死后随访人数') {
var res = '<ul class="f12 pl10 pr15">'; var res = '<ul class="f12 pl10 pr15">';
res += '<li class="f13"> ' + params[0].axisValue + '区</li>'; res += '<li class="f13"> ' + params[0].axisValue + '区</li>';
...@@ -408,10 +411,10 @@ ...@@ -408,10 +411,10 @@
start: 0, //默认为0 start: 0, //默认为0
end: 50, //默认为100 end: 50, //默认为100
type: 'slider', type: 'slider',
show: true , show: true,
xAxisIndex: [0] , xAxisIndex: [0],
handleSize: 20 , //滑动条的 左右2个滑动条的大小 handleSize: 20, //滑动条的 左右2个滑动条的大小
height: 5 , //组件高度 height: 5, //组件高度
left: 50, //左边的距离 left: 50, //左边的距离
right: 45, //右边的距离 right: 45, //右边的距离
bottom: 40, //右边的距离 bottom: 40, //右边的距离
...@@ -460,7 +463,7 @@ ...@@ -460,7 +463,7 @@
rotate: 60, rotate: 60,
textStyle: { textStyle: {
fontSize: 10, fontSize: 10,
color: function(value, index) { color: function (value, index) {
return '#8393A9'; return '#8393A9';
} }
} }
...@@ -505,7 +508,7 @@ ...@@ -505,7 +508,7 @@
splitNumber: 5, splitNumber: 5,
axisLabel: { axisLabel: {
textStyle: { textStyle: {
color: function(value, index) { color: function (value, index) {
return '#747d8d' return '#747d8d'
}, },
type: 'solid' type: 'solid'
...@@ -535,17 +538,16 @@ ...@@ -535,17 +538,16 @@
series: [] series: []
}, },
topgdata: [], //管· 患者当前死亡后随访人数 topgdata: [], //管· 患者当前死亡后随访人数
topgdata2:[], topgdata2: [],
topgdata22:[], topgdata22: [],
topqdata: [], //签· 患者当前死亡后随访人数 topqdata: [], //签· 患者当前死亡后随访人数
topqdata2:[], topqdata2: [],
topqdata23:[], topqdata23: [],
circledatag1: [], circledatag1: [],
circledataq1: [], circledataq1: [],
circledatag2: [], circledatag2: [],
circledataq2: [], circledataq2: [],
bingNo: 1, bingNo: 1,
BarType: "XZQH",
finalPerg: 0, finalPerg: 0,
finalPerq: 0, finalPerq: 0,
finalPerg2: 0, finalPerg2: 0,
...@@ -586,147 +588,133 @@ ...@@ -586,147 +588,133 @@
data304: [], data304: [],
data305: [], data305: [],
data306: [], data306: [],
BeginCode: 1,
lastStatus: {}, lastStatus: {},
PlaceCode: '' userinfo: {},
userRole: '',
cxsj: '',
_xzqh: '',
_yljgdm: '',
_group: '',
pageLevel: ''
} }
}, },
methods: { methods: {
showtabpage3(num){ showtabpage3(num) {
this.showtabnum = num this.showtabnum = num
console.log(this.showtabnum);
}, },
CityGetBack() { CityGetBack() {
console.log('执行事件前this.BeginCode: ' + this.BeginCode);
console.log("this.diastype :" + this.diastype);
this.communshow = true this.communshow = true
if (this.BeginCode == 3) { if (this.pageLevel === 'qj') {
// 使用 this.BeginCode 的值来判断现在处于的区镇状态
// 此时 处于第一次点击下的状态 // 此时 处于第一次点击下的状态
this.PlaceCode = '' this._xzqh = ''
this.BarType = 'XZQH' this._group = 'XZQH'
this.BeginCode = 1 this.pageLevel = 'sj'
this.areaname = '' this.areaname = ''
this.tablename = '各区' this.tablename = '各区'
this.thname = '各区' this.thname = '各区'
this.arname = '各区' this.arname = '各区'
// this.BeginCode = false
console.log("现在处于一级状态"); console.log("现在处于一级状态");
} }else if (this.pageLevel === 'sq') {
if (this.BeginCode == 4) {
// 使用 this.BeginCode 的值来判断现在处于的区镇状态
// 此时 处于第二次点击下的状态 // 此时 处于第二次点击下的状态
// console.log("现在处于二级状态"); this._group = 'YLJGDM'
this.PlaceCode = this.lastStatus.PlaceCode this.pageLevel = 'qj'
this.BarType = this.lastStatus.BarType
this.BeginCode = 2
this.tablename = '医院' this.tablename = '医院'
this.thname = '医院' this.thname = '医院'
this.arname = '社区' this.arname = '社区'
this.areaname = this.areaname2 this.areaname = this.areaname2
// this.BeginCode = this.lastStatus.BeginCode
// this.BackCLick = this.lastStatus.BackCLick
// this.areaclick = true
// this.BeginCode = 2
console.log(this.lastStatus);
} }
console.log('执行事件后this.BeginCode: ' + this.BeginCode);
this.homeinit() this.homeinit()
}, },
changeReplay() { changeReplay() {
var myDate = new Date();
let tempmonth = myDate.getMonth() this.themeID = 24
if(tempmonth<10){ this.cxsj = sessionStorage.getItem("ywsj")
tempmonth = '0'+tempmonth this.userinfo = JSON.parse(sessionStorage.getItem("userinfo"))
} this.userRole = sessionStorage.getItem("userRole")
// 用于 重置时间 入参 if ('city' === this.userRole) {//市角色
let DateNow = '' + myDate.getFullYear()+'-' + tempmonth + '-01' this._xzqh = ""
console.log(DateNow); this._group = "XZQH"
//this.pageChage(2) this.pageLevel = 'sj'
this.themeID = 22
this.PlaceCode = '' this.homeinit()
this.areaname = '' } else if ('area' === this.userRole) {//区角色
this.tablename = '各区'
this.thname = '各区' this._xzqh = sessionStorage.getItem("organizcode")
this.BarType = 'XZQH' this._group = "YLJGDM"
this.arname = '各区' this.pageLevel = 'qj'
this.BeginCode = 1 // 点击区 -- 展示城镇信息
this.selectStarttime = DateNow this.communshow = true
this.showTab = true this.tablename = '社区'
// this.homeinit() this.thname = '医院'
this.dataSearch(DateNow) this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
this.homeinit()
} else if ('hospital' === this.userRole) {//社区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YWSJ"
this.pageLevel = 'sq'
this.tablename = "社区"
this.thname = "医院"
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
this.homeinit()
}
}, },
pageChage(page) { pageChage(page) {
this.$emit('screenTwoPagefunc', page) this.$emit('screenTwoPagefunc', page)
}, },
dataSearch(value) { dataSearch(cxsj) {
var myDate = new Date(); sessionStorage.setItem("ywsj", cxsj)
myDate.getYear();
sessionStorage.setItem("EndTime", value)
this.startTime = value.slice(0, 4) + '-01'
if (value) {
this.nowdate = value.slice(0, 7)
this.selectStarttime = value.slice(0, 7)
console.log(this.nowdate);
console.log(this.selectStarttime);
this.homeinit() this.homeinit()
}
}, },
showsuifang(num) { showsuifang(num) {
if (num == 1) { if (num == 1) {
this.tempsf = 1 this.tempsf = 1
this.tempdie = true this.tempdie = true
this.BarType = 'XZQH' this._group = 'XZQH'
} else { } else {
this.tempsf = 2 this.tempsf = 2
this.tempdie = false this.tempdie = false
this.BarType = 'YWSJ' this._group = 'YWSJ'
} }
this.homeinit() this.homeinit()
}, },
changecity(code, name) { changecity(code, name) {
console.log("code: " + code)
console.log('执行事件前this.BeginCode: ' + this.BeginCode);
if (this.BeginCode == 4) {
return false
}
this.areaname = name this.areaname = name
//当 this.BeginCode == 4 的时候 ,证明已经到了最底层,故不再请求方法
// console.log(code); if (this.pageLevel === 'sj') {
this.PlaceCode = code
if (this.BeginCode == 1) {
// 点击区 -- 展示城镇信息 // 点击区 -- 展示城镇信息
this.BarType = 'YLJGDM' this.pageLevel = 'qj'
// 用于记录当前的 区镇的入参状态 this._xzqh = code
this.lastStatus.PlaceCode = this.PlaceCode this._group = 'YLJGDM'
this.lastStatus.BarType = this.BarType
this.lastStatus.BeginCode = this.BeginCode
this.lastStatus.areaclick = this.areaclick
this.tablename = '医院' this.tablename = '医院'
this.thname = '医院' this.thname = '医院'
this.arname = '社区' this.arname = '社区'
this.BeginCode = 2 // 当begin值为1的时候可以触发点击事件,点击事件执行后,
this.areaname2 = name this.areaname2 = name
// 我们就需要把状态码置为2 在下文的判断中以请求 乡镇 的数据信息
console.log(JSON.stringify(this.lastStatus));
console.log(this.PlaceCode);
}
//console.log('这是地区的code码:' + code); }else if (this.pageLevel === 'qj') {
this.areaname = name this._group = 'YWSJ'
this.homeinit() this._yljgdm = code
if (this.BeginCode == 4) { this.pageLevel = 'sq'
this.tablename = '时间' this.tablename = '时间'
this.thname = '月份' this.thname = '月份'
this.communshow = false this.communshow = false
this.areaname = this.areaname2 + this.areaname this.areaname = this.areaname2 + this.areaname
} else if (this.pageLevel === 'sq') {
return false
} }
if (this.BeginCode == 3) { this.areaname = name
this.areaname = this.areaname2 this.homeinit()
}
console.log('执行事件后this.BeginCode: ' + this.BeginCode);
}, },
//切换底部echarts的tab //切换底部echarts的tab
bingChange(num) { bingChange(num) {
...@@ -757,14 +745,14 @@ ...@@ -757,14 +745,14 @@
//服务质量上管-高血压 //服务质量上管-高血压
let wd = [{ let wd = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": _this.PlaceCode, "value": _this._xzqh,
"type": "1" "type": "1"
}, },
] ]
...@@ -776,7 +764,7 @@ ...@@ -776,7 +764,7 @@
//服务质量上签-高血压 //服务质量上签-高血压
let wd2 = [{ let wd2 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
...@@ -788,7 +776,7 @@ ...@@ -788,7 +776,7 @@
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": _this.PlaceCode, "value": _this._xzqh,
"type": "1" "type": "1"
} }
] ]
...@@ -799,26 +787,26 @@ ...@@ -799,26 +787,26 @@
//请求各区管 //请求各区管
let wd3 = [{ let wd3 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": _this.PlaceCode, "value": _this._xzqh,
"type": "1" "type": "1"
} }
] ]
let param3 = { let param3 = {
"themeId": _this.themeID, "themeId": _this.themeID,
"wd": JSON.stringify(wd3), "wd": JSON.stringify(wd3),
"group": _this.BarType "group": _this._group
} }
let wd4 = [{ let wd4 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
...@@ -830,28 +818,24 @@ ...@@ -830,28 +818,24 @@
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": _this.PlaceCode, "value": _this._xzqh,
"type": "1" "type": "1"
} }
] ]
let param4 = { let param4 = {
"themeId": _this.themeID, "themeId": _this.themeID,
"wd": JSON.stringify(wd4), "wd": JSON.stringify(wd4),
"group": _this.BarType "group": _this._group
} }
// console.log(this.BeginCode);
if (this.BeginCode == 2) { if (this.pageLevel === 'sq') {
this.BeginCode = 3 this._group = 'YWSJ'
this.BarType = 'YWSJ'
} else if (this.BeginCode == 3) {
this.BeginCode = 4
} }
commonMethod(param).then(res => { commonMethod(param).then(res => {
console.log('服务质量----');
console.log(res.data); if (res.data.content.length > 0) {
if(res.data.content.length>0){
res.data.zbdic.forEach((item, index) => { res.data.zbdic.forEach((item, index) => {
if(this.DieaNo==1){ if (this.DieaNo == 1) {
// 患者当前死亡后随访人数 // 患者当前死亡后随访人数
if (item.CODE == 'FWZL_016') { if (item.CODE == 'FWZL_016') {
_this.topgdata = res.data.content[0].zbxx[index] _this.topgdata = res.data.content[0].zbxx[index]
...@@ -884,7 +868,7 @@ ...@@ -884,7 +868,7 @@
if (item.CODE == 'FWZL_020') { if (item.CODE == 'FWZL_020') {
_this.circledatag2 = res.data.content[0].zbxx[index] _this.circledatag2 = res.data.content[0].zbxx[index]
} }
}else{ } else {
// 患者当前死亡后随访人数 // 患者当前死亡后随访人数
if (item.CODE == 'FWZL_017') { if (item.CODE == 'FWZL_017') {
_this.topgdata = res.data.content[0].zbxx[index] _this.topgdata = res.data.content[0].zbxx[index]
...@@ -917,14 +901,14 @@ ...@@ -917,14 +901,14 @@
} }
}) })
_this.option.series[0].data[0].value = _this.finalPerg.ZXZ?_this.finalPerg.ZXZ:0 _this.option.series[0].data[0].value = _this.finalPerg.ZXZ ? _this.finalPerg.ZXZ : 0
_this.option.series[0].data[1].value = 100 - _this.finalPerg.ZXZ?_this.finalPerg.ZXZ:0 _this.option.series[0].data[1].value = 100 - _this.finalPerg.ZXZ ? _this.finalPerg.ZXZ : 0
_this.option.series[1].data[0].value = _this.finalPerq.ZXZ?_this.finalPerq.ZXZ:0 _this.option.series[1].data[0].value = _this.finalPerq.ZXZ ? _this.finalPerq.ZXZ : 0
_this.option.series[1].data[1].value = 100 - _this.finalPerq.ZXZ?_this.finalPerq.ZXZ:0 _this.option.series[1].data[1].value = 100 - _this.finalPerq.ZXZ ? _this.finalPerq.ZXZ : 0
}else{ } else {
_this.topgdata = 0 _this.topgdata = 0
_this.topgyeardiedata = 0 _this.topgyeardiedata = 0
_this.topgyeardiepredata =0 _this.topgyeardiepredata = 0
_this.finalPerg = 0 _this.finalPerg = 0
_this.circledatag1 = 0 _this.circledatag1 = 0
_this.circledatag2 = 0 _this.circledatag2 = 0
...@@ -940,10 +924,9 @@ ...@@ -940,10 +924,9 @@
//服务质量上签-高血压 //服务质量上签-高血压
commonMethod(param2).then(res => { commonMethod(param2).then(res => {
console.log('服务质量签----');
console.log(res.data); if (res.data.content.length > 0) {
if(res.data.content.length>0){ if (this.themeID == 24) {
if (this.themeID == 22) {
res.data.zbdic.forEach((item, index) => { res.data.zbdic.forEach((item, index) => {
//首诊测压人数 //首诊测压人数
if (item.CODE == 'FWZL_016') { if (item.CODE == 'FWZL_016') {
...@@ -1003,13 +986,13 @@ ...@@ -1003,13 +986,13 @@
_this.option.series[0].data[1].value = 100 - _this.finalPerg.ZXZ _this.option.series[0].data[1].value = 100 - _this.finalPerg.ZXZ
_this.option.series[1].data[0].value = _this.finalPerq.ZXZ _this.option.series[1].data[0].value = _this.finalPerq.ZXZ
_this.option.series[1].data[1].value = 100 - _this.finalPerq.ZXZ _this.option.series[1].data[1].value = 100 - _this.finalPerq.ZXZ
}else{ } else {
_this.topqdata = 0 _this.topqdata = 0
_this.topqyeardiedata = 0 _this.topqyeardiedata = 0
_this.topqyeardiepredata = 0 _this.topqyeardiepredata = 0
_this.finalPerq = 0 _this.finalPerq = 0
_this.circledatag1 = 0 _this.circledatag1 = 0
_this.circledatag2= 0 _this.circledatag2 = 0
_this.option.series[0].data[0].value = 0 _this.option.series[0].data[0].value = 0
_this.option.series[0].data[1].value = 0 _this.option.series[0].data[1].value = 0
_this.option.series[1].data[0].value = 0 _this.option.series[1].data[0].value = 0
...@@ -1022,36 +1005,30 @@ ...@@ -1022,36 +1005,30 @@
}) })
//请求各区管 //请求各区管
console.log(861);
commonMethod(param3).then(res => { commonMethod(param3).then(res => {
console.log('各区管打印')
console.log(res.data)
_this.Gbotdata = res.data _this.Gbotdata = res.data
_this.data_x = [] _this.data_x = []
if(res.data.content.length>0){ if (res.data.content.length > 0) {
let tempList = res.data.content// 用于存储请求得到的数据, 以便按照月份排序 let tempList = res.data.content// 用于存储请求得到的数据, 以便按照月份排序
console.log(tempList);
if (tempList[0].YWSJ) { if (tempList[0].YWSJ) {
// console.log(this.BarType);
// console.log(tempList); tempList.sort(function (prev, next) {
tempList.sort(function(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))
}) })
} }
console.log(877);
tempList.forEach(item => { tempList.forEach(item => {
if (_this.tempsf == 1) { if (_this.tempsf == 1) {
if (item.XZQH_TEXT) { if (item.XZQH_TEXT) {
_this.data_x.push(item.XZQH_TEXT) _this.data_x.push(item.XZQH_TEXT)
// console.log(item.XZQH_TEXT);
} }
if (item.YLJGDM_EX2) { if (item.YLJGDM_EX2) {
_this.data_x.push(item.YLJGDM_EX2) _this.data_x.push(item.YLJGDM_EX2)
// console.log(item.YLJGDM_EX2);
} }
if (item.YWSJ) { if (item.YWSJ) {
_this.data_x.push(item.YWSJ.substring(5, 7) + "月") _this.data_x.push(item.YWSJ.substring(5, 7) + "月")
// console.log(item.YWSJ.substring(5, 7) + "月");
} }
} else { } else {
if (item.XZQH_TEXT) { if (item.XZQH_TEXT) {
...@@ -1065,34 +1042,30 @@ ...@@ -1065,34 +1042,30 @@
} }
} }
}) })
}else{ } else {
} }
// console.log("赋值完毕第一时间: " + _this.data_x);
//请求各区签
//请求各区签
commonMethod(param4).then(res => { commonMethod(param4).then(res => {
// console.log('各区签打印')
// console.log(res)
_this.Qbotdata = res.data _this.Qbotdata = res.data
_this.listArrayFinal = [] _this.listArrayFinal = []
console.log(res.data.content)
if (res.data.content.length > 0) { if (res.data.content.length > 0) {
let tempList = [] // 用于存储请求得到的数据, 以便按照月份排序 let tempList = [] // 用于存储请求得到的数据, 以便按照月份排序
tempList = res.data.content tempList = res.data.content
console.log(tempList[0]);
if (tempList[0].YWSJ) { if (tempList[0].YWSJ) {
// console.log(this.BarType);
// console.log(tempList); tempList.sort(function (prev, next) {
tempList.sort(function(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))
}) })
} }
// console.log(_this.bingNo);
if (_this.bingNo == 1) { if (_this.bingNo == 1) {
// console.log(_this.data_x);
tempList.forEach((item, index) => { tempList.forEach((item, index) => {
let obj = { let obj = {
name: '', name: '',
...@@ -1110,15 +1083,11 @@ ...@@ -1110,15 +1083,11 @@
obj.name = item.XZQH_TEXT ? item.XZQH_TEXT : item.YLJGDM_EX2 obj.name = item.XZQH_TEXT ? item.XZQH_TEXT : item.YLJGDM_EX2
} }
obj.code = item.XZQH obj.code = item.XZQH
console.log(item);
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
//管理人群累计死后随访人数 //管理人群累计死后随访人数
//去年管理人群累计死后随访人数 //去年管理人群累计死后随访人数
// console.log(item2);
// console.log(item2.TBZ);
// console.log(item2.ZXZ);
if (item2.ZBID == '1116') { if (item2.ZBID == '1116') {
// console.log(item2);
_this.data101.push(item2.ZXZ) _this.data101.push(item2.ZXZ)
_this.data103.push(item2.TBZ) _this.data103.push(item2.TBZ)
...@@ -1291,10 +1260,9 @@ ...@@ -1291,10 +1260,9 @@
data: _this.data106 data: _this.data106
} }
] ]
// console.log(" 柱状图横坐标: " + _this.data_x);
_this.option2.xAxis[0].data = _this.data_x _this.option2.xAxis[0].data = _this.data_x
_this.option2.series = series _this.option2.series = series
// console.log(_this.bingNo)
_this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true) _this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true)
} else if (_this.bingNo == 2) { } else if (_this.bingNo == 2) {
...@@ -1618,7 +1586,6 @@ ...@@ -1618,7 +1586,6 @@
] ]
_this.option2.xAxis[0].data = _this.data_x _this.option2.xAxis[0].data = _this.data_x
_this.option2.series = series _this.option2.series = series
console.log(_this.bingNo)
_this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true) _this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true)
} else { } else {
tempList.forEach((item, index) => { tempList.forEach((item, index) => {
...@@ -1819,11 +1786,10 @@ ...@@ -1819,11 +1786,10 @@
] ]
_this.option2.xAxis[0].data = _this.data_x _this.option2.xAxis[0].data = _this.data_x
_this.option2.series = series _this.option2.series = series
// console.log(_this.bingNo)
_this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true) _this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true)
} }
} else{ } else {
_this.data101 = [] _this.data101 = []
_this.data103 = [] _this.data103 = []
_this.data102 = [] _this.data102 = []
...@@ -1832,10 +1798,9 @@ ...@@ -1832,10 +1798,9 @@
_this.data106 = [] _this.data106 = []
_this.listArrayFinal = [] _this.listArrayFinal = []
_this.option2.xAxis[0].data = [] _this.option2.xAxis[0].data = []
_this.option2.series.forEach( item =>{ _this.option2.series.forEach(item => {
item.data = [] item.data = []
}) })
// console.log(_this.bingNo)
_this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true) _this.$echarts.init(document.getElementById("pag3card3main")).setOption(_this.option2, true)
} }
}).catch(err => { }).catch(err => {
...@@ -1851,12 +1816,12 @@ ...@@ -1851,12 +1816,12 @@
_this.bingChange(1) _this.bingChange(1)
if (_this.DieaNo == 1) { if (_this.DieaNo == 1) {
this.pagedisname = "高血压" // 疾病赋值 this.pagedisname = "高血压" // 疾病赋值
_this.themeID = 22 _this.themeID = 24
_this.homeinit() _this.homeinit()
_this.showDea = true _this.showDea = true
_this.bingNo = 1 _this.bingNo = 1
} else { } else {
_this.themeID = 25 _this.themeID = 27
this.pagedisname = "糖尿病" // 疾病赋值 this.pagedisname = "糖尿病" // 疾病赋值
_this.homeinit() _this.homeinit()
_this.showDea = false _this.showDea = false
...@@ -1865,7 +1830,43 @@ ...@@ -1865,7 +1830,43 @@
}, },
mounted() { mounted() {
//开始加载... //开始加载...
this.DieaChange(1)
this.cxsj = sessionStorage.getItem("ywsj")
this.userinfo = JSON.parse(sessionStorage.getItem("userinfo"))
this.userRole = sessionStorage.getItem("userRole")
if ('city' === this.userRole) {//市角色
this._xzqh = ""
this._group = "XZQH"
this.pageLevel = 'sj'
this.homeinit()
} else if ('area' === this.userRole) {//区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YLJGDM"
this.pageLevel = 'qj'
// 点击区 -- 展示城镇信息
this.communshow = true
this.tablename = '社区'
this.thname = '医院'
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
this.homeinit()
} else if ('hospital' === this.userRole) {//社区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YWSJ"
this.pageLevel = 'sq'
this.tablename = "社区"
this.thname = "医院"
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
this.homeinit()
}
const obj = setInterval(() => { const obj = setInterval(() => {
const dom = document.getElementById("pag3charts1") const dom = document.getElementById("pag3charts1")
if (dom) { if (dom) {
...@@ -1892,29 +1893,119 @@ ...@@ -1892,29 +1893,119 @@
} }
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.cmtline{ padding-top: 30px;} .cmtline {
#pag3charts1{ width:120px; height:120px; float:left; position:absolute; left: -15px;} padding-top: 30px;
#pag3card3main{ width:455px; height:320px} }
.card3title1{ color:#fff }
.myclk{ font-weight:600; color:#42ccff; pointer-events:none} #pag3charts1 {
.datalist{ position: absolute; left: 100px; top: 55px;} width: 120px;
.datalist p{ clear:both; line-height: 24px; font-size: 12px; color: #B3BFD2;} height: 120px;
.card2-mod{width: 200px;height: 160px; padding-top: 6px;} float: left;
.card2-mod1{width: 265px;} position: absolute;
.card2-mod2{ padding-top: 30px; height: 125px;} left: -15px;
.card2-modts{ padding-top:30px; width:200px} }
.card2-modtr{ width:260px}
.table02{} #pag3card3main {
.table02 td{ height:25px;} width: 455px;
.myclk{pointer-events: none;} height: 320px
.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;} .card3title1 {
.area >>> .el-input__icon.el-icon-date{display:none} color: #fff
.area >>> .el-input__icon{display:none} }
.myclk {
font-weight: 600;
color: #42ccff;
pointer-events: none
}
.datalist {
position: absolute;
left: 100px;
top: 55px;
}
.datalist p {
clear: both;
line-height: 24px;
font-size: 12px;
color: #B3BFD2;
}
.card2-mod {
width: 200px;
height: 160px;
padding-top: 6px;
}
.card2-mod1 {
width: 265px;
}
.card2-mod2 {
padding-top: 30px;
height: 125px;
}
.card2-modts {
padding-top: 30px;
width: 200px
}
.card2-modtr {
width: 260px
}
.table02 {
}
.table02 td {
height: 25px;
}
.myclk {
pointer-events: none;
}
.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
}
.table01 td.underline { .table01 td.underline {
text-decoration: underline; text-decoration: underline;
width: 50px; width: 50px;
} }
.uplib{ width:100%;overflow: hidden; position:absolute; top:76px; right:0; left:0; background:rgba(51, 51, 51, 0.9); padding:10px}
.uplib {
width: 100%;
overflow: hidden;
position: absolute;
top: 76px;
right: 0;
left: 0;
background: rgba(51, 51, 51, 0.9);
padding: 10px
}
</style> </style>
<template> <template>
<div class="pagetwo" @click="showtab(5)"> <div class="pagetwo" @click="showtab(5)">
<div class="header2"> <div class="header2">
<div class="nav" @click="exitFn"><img src="../../assets/icon_nav_cell.png"></div> <div class="nav" @click="exitFn"><img src="../../assets/icon_nav_cell.png" alt=""></div>
<div class="title"> <div class="title">
<div class="tp">上海市疾病预防控制管理服务云平台(慢性病防治)</div> <div class="tp">上海市疾病预防控制管理服务云平台(慢性病防治)</div>
<p>{{areaname}}</p> <p>{{areaname}}</p>
</div> </div>
<div class="area"> <div class="area">
<el-button size="mini" type="primary" @click="CityGetBack()" v-if="this.BeginCode != 1">返回</el-button> <el-button size="mini" type="primary" @click="CityGetBack()" v-if="this.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="value" 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>市疾控 截止:{{nowdate}}</div> <div class="name"><i class="el-icon-s-custom el-icon--left"></i>{{userinfo.userName}} 截止:{{cxsj}}</div>
</div> </div>
</div> </div>
...@@ -237,20 +237,16 @@ ...@@ -237,20 +237,16 @@
aename: '各区', aename: '各区',
tablename: '各区', tablename: '各区',
thname: '各区', thname: '各区',
BeginCode: 1, // 用于判断当前的市级 状态
groupNo: 1, groupNo: 1,
bingNo: 1, bingNo: 1,
areaname: '', areaname: '',
areaname2: '', areaname2: '',
showtime: true, showtime: true,
gxyycl: 0, gxyycl: 0,
startTime: '2019-01', startTime: '',
value: '2019-09',
nowdate: '2019-09',
sel: '筛选', sel: '筛选',
gxyyzdl: 0, gxyyzdl: 0,
qxyycl: 0, qxyycl: 0,
BarType: "XZQH",
showTab: true, // 当点击易患监测的时候,隐藏柱状图右上角两个标签 showTab: true, // 当点击易患监测的时候,隐藏柱状图右上角两个标签
value2: '', value2: '',
qxyyzdl: 0, qxyyzdl: 0,
...@@ -258,8 +254,8 @@ ...@@ -258,8 +254,8 @@
qgfl: 0, qgfl: 0,
DieaNo: 1, DieaNo: 1,
objParam: {}, objParam: {},
themeID: '4', themeID: '6',
themeID2: '5', themeID2: '6',
pageNo: 4, pageNo: 4,
topgdata: [], //管·首诊测压人数(实/同) topgdata: [], //管·首诊测压人数(实/同)
topqdata: [], //签·首诊测压人数(实/同) topqdata: [], //签·首诊测压人数(实/同)
...@@ -470,9 +466,7 @@ ...@@ -470,9 +466,7 @@
dataY06: [], dataY06: [],
dataY07: [], dataY07: [],
dataY08: [], dataY08: [],
selectStarttime: sessionStorage.getItem("EndTime"),
lastStatus: {}, lastStatus: {},
PlaceCode: '',
option2: { option2: {
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
...@@ -483,9 +477,7 @@ ...@@ -483,9 +477,7 @@
}, },
//trigger: 'item', //trigger: 'item',
formatter: function(params) { formatter: function(params) {
// console.log(params.length)
// console.log('打印params长度')
// console.log(params)
if (params[0].seriesName == '管理/签约人群首诊测压人数') { if (params[0].seriesName == '管理/签约人群首诊测压人数') {
var res = '<ul class="f12 pl10 pr15">'; var res = '<ul class="f12 pl10 pr15">';
res += '<li class="f13"> ' + params[0].axisValue + '区</li>'; res += '<li class="f13"> ' + params[0].axisValue + '区</li>';
...@@ -636,60 +628,54 @@ ...@@ -636,60 +628,54 @@
endValue: 14 endValue: 14
}], }],
series: [] series: []
} },
isShowBack:false,
userinfo:{},
userRole:'',
cxsj:'',
_xzqh:'',
_yljgdm:'',
_group:'',
pageLevel:''
} }
}, },
methods: { methods: {
showtab(num){ showtab(num){
this.showtabnum = num this.showtabnum = num
console.log(this.showtabnum)
}, },
dataSearch(value) { dataSearch(cxsj) {
console.log(value)
var myDate = new Date();
myDate.getYear();
sessionStorage.setItem("EndTime", value)
this.startTime = value.slice(0, 4) + '-01' sessionStorage.setItem("ywsj", cxsj)
//console.log(this.startTime)
if (value) {
this.nowdate = value
this.selectStarttime = value
this.homeinit() this.homeinit()
this.homebot() this.homebot()
}
}, },
pageChage(page) { pageChage(page) {
this.$emit('screenTwoPagefunc', page) this.$emit('screenTwoPagefunc', page)
}, },
CityGetBack() { CityGetBack() {
console.log("this.BeginCode :" + this.BeginCode);
console.log("this.diastype :" + this.diastype); if (this.pageLevel === 'qj') {
if (this.BeginCode == 2) { this.isShowBack = false
// 使用 this.BeginCode 的值来判断现在处于的区镇状态
// 此时 处于第一次点击下的状态 // 此时 处于第一次点击下的状态
this.PlaceCode = '' this._xzqh = ''
this.BarType = 'XZQH' this._group = 'XZQH'
this.BeginCode = 1 this.pageLevel = 'sj'
this.areaname = '' this.areaname = ''
this.tablename = '各区' this.tablename = '各区'
this.thname = '各区' this.thname = '各区'
console.log("现在处于一级状态");
}
if (this.BeginCode == 3) { }else if (this.pageLevel === 'sq') {
// 使用 this.BeginCode 的值来判断现在处于的区镇状态
// 此时 处于第二次点击下的状态 // 此时 处于第二次点击下的状态
// console.log("现在处于二级状态"); this._group = 'YLJGDM'
this.PlaceCode = this.lastStatus.PlaceCode this.pageLevel = 'qj'
this.BarType = this.lastStatus.BarType
this.BeginCode = 2
this.aename = '社区' this.aename = '社区'
this.tablename = '医院' this.tablename = '医院'
this.thname = '医院' this.thname = '医院'
this.areaname = this.areaname2 this.areaname = this.areaname2
console.log(this.lastStatus);
} }
this.homeinit() this.homeinit()
this.homebot() this.homebot()
...@@ -697,24 +683,20 @@ ...@@ -697,24 +683,20 @@
groupChange(num) { groupChange(num) {
this.groupNo = num this.groupNo = num
if (num == 1) { if (num == 1) {
this.BarType = "XZQH" this._group = "XZQH"
if (this.DieaNo == 1) { if (this.DieaNo == 1) {
this.showTab = true this.showTab = true
} }
if (this.BeginCode == 2) {
} else {
this.homebot() this.homebot()
}
} else { } else {
this.showTab = false this.showTab = false
this.BarType = "YWSJ" this._group = "YWSJ"
this.homebot() this.homebot()
} }
}, },
bingChange(num) { bingChange(num) {
this.bingNo = num this.bingNo = num
console.log(this.bingNo)
if (num == 1) { if (num == 1) {
this.showtime = true this.showtime = true
} else { } else {
...@@ -729,39 +711,48 @@ ...@@ -729,39 +711,48 @@
}); });
}, },
changeReplay() { changeReplay() {
//this.pageChage(2)
var myDate = new Date(); this.cxsj = sessionStorage.getItem("ywsj")
let tempmonth = myDate.getMonth() this.userinfo = JSON.parse(sessionStorage.getItem("userinfo"))
if (tempmonth < 10) { this.userRole = sessionStorage.getItem("userRole")
tempmonth = '0' + tempmonth if ('city' === this.userRole) {//市角色
} this._xzqh = ""
// 用于 重置时间 入参 this._group = "XZQH"
let DateNow = '' + myDate.getFullYear() + '-' + tempmonth this.pageLevel = 'sj'
console.log(DateNow);
this.themeID = 4 } else if ('area' === this.userRole) {//区角色
this.themeID2 =5
this.PlaceCode = '' this._xzqh = sessionStorage.getItem("organizcode")
this.BarType = 'XZQH' this._group = "YLJGDM"
this.BeginCode = 1 this.pageLevel = 'qj'
this.areaname = '' // 点击区 -- 展示城镇信息
this.startTime = DateNow this.communshow = true
this.value = DateNow this.tablename = '社区'
this.nowdate = DateNow this.thname = '医院'
this.value = DateNow.substr(0,7) this.arname = '社区'
this.tablename = '各区'
this.thname = '各区' this.areaname = sessionStorage.getItem("organizcodeName")
this.dataSearch(DateNow) } else if ('hospital' === this.userRole) {//社区角色
// this.homeinit() this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YWSJ"
this.pageLevel = 'sq'
this.tablename = "社区"
this.thname = "医院"
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
}
this.homeinit()
this.homebot() this.homebot()
}, },
// cansertopShow // cansertopShow
DieaChange(num) { DieaChange(num) {
let _this = this let _this = this
this.DieaNo = num?num:1 this.DieaNo = num?num:1
console.log(this.DieaNo);
if (this.DieaNo == 1) { if (this.DieaNo == 1) {
this.rightlist1 = '首诊异常率/偏' this.rightlist1 = '首诊异常率/偏'
console.log('703');
_this.option.series[0].data[0].value = parseInt(_this.topgycldata.ZXZ) _this.option.series[0].data[0].value = parseInt(_this.topgycldata.ZXZ)
_this.option.series[0].data[1].value = 100 - parseInt(_this.topgycldata.ZXZ) _this.option.series[0].data[1].value = 100 - parseInt(_this.topgycldata.ZXZ)
_this.option.series[1].data[0].value = parseInt(_this.topgzdldata.ZXZ) _this.option.series[1].data[0].value = parseInt(_this.topgzdldata.ZXZ)
...@@ -772,7 +763,6 @@ ...@@ -772,7 +763,6 @@
_this.option.series[3].data[1].value = 100 - parseInt(_this.topqzdldata.ZXZ) _this.option.series[3].data[1].value = 100 - parseInt(_this.topqzdldata.ZXZ)
this.showTab = true this.showTab = true
} else { } else {
console.log('714');
this.rightlist1 = '规范检测率/同' this.rightlist1 = '规范检测率/同'
_this.bingNo = 1 _this.bingNo = 1
_this.showtime = true _this.showtime = true
...@@ -787,48 +777,37 @@ ...@@ -787,48 +777,37 @@
_this.option.series[3].data[1].value = 100 - parseInt(_this.topqzdldata.ZXZ) _this.option.series[3].data[1].value = 100 - parseInt(_this.topqzdldata.ZXZ)
this.showTab = false this.showTab = false
} }
console.log('是否打印进来了,,,,,')
console.log(_this.option.series)
this.homebot() this.homebot()
_this.$echarts.init(document.getElementById("charts1")).setOption(this.option, true) _this.$echarts.init(document.getElementById("charts1")).setOption(this.option, true)
}, },
changecity(code, name) { changecity(code, name) {
console.log(code)
if (this.BeginCode == 3) {
return false
}
this.areaname = name
//当 this.BeginCode == 4 的时候 ,证明已经到了最底层,故不再请求方法
// console.log(code);
this.PlaceCode = code
if (this.BeginCode == 1) { this.areaname = name
if (this.pageLevel === 'sj') {
// 点击区 -- 展示城镇信息 // 点击区 -- 展示城镇信息
this.BarType = 'YLJGDM' this.pageLevel = 'qj'
// 用于记录当前的 区镇的入参状态 this._xzqh = code
this.lastStatus.PlaceCode = this.PlaceCode this._group = 'YLJGDM'
this.lastStatus.BarType = this.BarType this.isShowBack = true
this.lastStatus.BeginCode = this.BeginCode
this.lastStatus.areaclick = this.areaclick
this.areaname2 = name this.areaname2 = name
this.aename = '社区' this.aename = '社区'
this.tablename = '医院' this.tablename = '医院'
this.thname = '医院' this.thname = '医院'
this.BeginCode = 2 // 当begin值为1的时候可以触发点击事件,点击事件执行后,
// 我们就需要把状态码置为2 在下文的判断中以请求 乡镇 的数据信息 }else if (this.pageLevel === 'qj') {
console.log(JSON.stringify(this.lastStatus)); this._group = 'YWSJ'
console.log(this.PlaceCode); this._yljgdm = code
} else if (this.BeginCode == 2) { this.pageLevel = 'sq'
this.BarType = 'YWSJ' this.isShowBack = true
this.BeginCode = 3
this.tablename = '时间' this.tablename = '时间'
this.thname = '月份' this.thname = '月份'
console.log(2);
}
console.log('这是地区的code码:' + code);
this.areaname = name
this.PlaceCode = code
}else if (this.pageLevel === 'sq') {
return false
}
this.homeinit() this.homeinit()
this.homebot() this.homebot()
}, },
...@@ -838,24 +817,22 @@ ...@@ -838,24 +817,22 @@
let wd = [{ let wd = [{
"name": "YWSJ", "name": "YWSJ",
"startTime": this.startTime, "startTime": this.startTime,
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"compare": "between", "compare": "between",
}, { }, {
"name": "XZQH", "name": "XZQH",
"value": this.PlaceCode, "value": this._xzqh,
"type": "1" "type": "1"
}] }]
//var zbcode="MBZFX_016";单独读取 //var zbcode="MBZFX_016";单独读取
let param = { let param = {
"themeId": _this.themeID, "themeId": _this.themeID,
"wd": JSON.stringify(wd), "wd": JSON.stringify(wd),
// "group": this.BarType // "group": this._group
} }
console.log(JSON.stringify(param));
commonMethod(param).then(res => { commonMethod(param).then(res => {
console.log('早发现上部分管') console.log('早发现上部分管')
console.log(res.data)
if (res.data.content.length>0) { if (res.data.content.length>0) {
res.data.zbdic.forEach((item, index) => { res.data.zbdic.forEach((item, index) => {
//首诊测压人数 //首诊测压人数
...@@ -916,7 +893,7 @@ ...@@ -916,7 +893,7 @@
//{\"name\":\"QYBZ\",\"value\":\"1\",\"type\":\"1\"}加了是签 //{\"name\":\"QYBZ\",\"value\":\"1\",\"type\":\"1\"}加了是签
let wd2 = [{ let wd2 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
...@@ -928,7 +905,7 @@ ...@@ -928,7 +905,7 @@
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": this.PlaceCode, "value": this._xzqh,
"type": "1" "type": "1"
} }
] ]
...@@ -936,15 +913,13 @@ ...@@ -936,15 +913,13 @@
let param2 = { let param2 = {
"themeId": _this.themeID, "themeId": _this.themeID,
"wd": JSON.stringify(wd2), "wd": JSON.stringify(wd2),
// "group": this.BarType // "group": this._group
} }
console.log(JSON.stringify(param2));
commonMethod(param2).then(res => { commonMethod(param2).then(res => {
// console.log('早发现上部分签')
console.log(res);
if(res.data.content.length>0){ if(res.data.content.length>0){
res.data.zbdic.forEach((item, index) => { res.data.zbdic.forEach((item, index) => {
// console.log(item);
//首诊测压人数 //首诊测压人数
if (item.CODE == 'MBZFX_004') { if (item.CODE == 'MBZFX_004') {
_this.topqdata = res.data.content[0].zbxx[index]?res.data.content[0].zbxx[index]:0 _this.topqdata = res.data.content[0].zbxx[index]?res.data.content[0].zbxx[index]:0
...@@ -974,7 +949,6 @@ ...@@ -974,7 +949,6 @@
_this.topqyfdata = res.data.content[0].zbxx[index]?res.data.content[0].zbxx[index]:0 _this.topqyfdata = res.data.content[0].zbxx[index]?res.data.content[0].zbxx[index]:0
} }
}) })
console.log('913');
_this.qxyycl = _this.topqycldata.ZXZ?_this.topqycldata.ZXZ:0 _this.qxyycl = _this.topqycldata.ZXZ?_this.topqycldata.ZXZ:0
_this.qxyyzdl = _this.topqzdldata.ZXZ?_this.topqzdldata.ZXZ:0 _this.qxyyzdl = _this.topqzdldata.ZXZ?_this.topqzdldata.ZXZ:0
_this.qgfl = _this.topqgfdata.ZXZ?_this.topqgfdata.ZXZ:0 _this.qgfl = _this.topqgfdata.ZXZ?_this.topqgfdata.ZXZ:0
...@@ -989,7 +963,6 @@ ...@@ -989,7 +963,6 @@
_this.option.series[3].data[1].value = 100 - parseInt(_this.topqzdldata.ZXZ?_this.topqzdldata.ZXZ:0) _this.option.series[3].data[1].value = 100 - parseInt(_this.topqzdldata.ZXZ?_this.topqzdldata.ZXZ:0)
_this.$echarts.init(document.getElementById("charts1")).setOption(this.option, true) _this.$echarts.init(document.getElementById("charts1")).setOption(this.option, true)
}else{ }else{
console.log('925');
_this.option.series[0].data[0].value = 0 _this.option.series[0].data[0].value = 0
_this.option.series[0].data[1].value = 0 _this.option.series[0].data[1].value = 0
_this.option.series[1].data[0].value = 0 _this.option.series[1].data[0].value = 0
...@@ -1017,25 +990,29 @@ ...@@ -1017,25 +990,29 @@
/******************下半部分**管*******************/ /******************下半部分**管*******************/
let wd3 = [{ let wd3 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": this.PlaceCode, "value": this._xzqh,
"type": "1"
},
{
"name": "YLJGDM",
"value": this._yljgdm,
"type": "1" "type": "1"
} }
] ]
let param3 = { let param3 = {
"themeId": _this.themeID2, "themeId": _this.themeID2,
"wd": JSON.stringify(wd3), "wd": JSON.stringify(wd3),
"group": this.BarType "group": this._group
} }
commonMethod(param3).then(res => { commonMethod(param3).then(res => {
// console.log('早发现---底部管')
// 用于在下文 对管数据进行赋值 可搜索 tableg // 用于在下文 对管数据进行赋值 可搜索 tableg
this.tableg = res.data.content this.tableg = res.data.content
}).catch(err => { }).catch(err => {
...@@ -1045,27 +1022,32 @@ ...@@ -1045,27 +1022,32 @@
/******************下半部分**签*******************/ /******************下半部分**签*******************/
let wd4 = [{ let wd4 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, },
{ {
"name": "XZQH", "name": "XZQH",
"value": this.PlaceCode, "value": this._xzqh,
"type": "1" "type": "1"
}, },
{ {
"name": "QYBZ", "name": "QYBZ",
"value": "1", "value": "1",
"type": "1" "type": "1"
},
{
"name": "YLJGDM",
"value": this._yljgdm,
"type": "1"
} }
] ]
//var zbcode="MBZFX_016";单独读取 //var zbcode="MBZFX_016";单独读取
let param4 = { let param4 = {
"themeId": _this.themeID2, "themeId": _this.themeID2,
"wd": JSON.stringify(wd4), "wd": JSON.stringify(wd4),
"group": this.BarType "group": this._group
} }
_this.dataY01 = [] _this.dataY01 = []
...@@ -1081,17 +1063,13 @@ ...@@ -1081,17 +1063,13 @@
commonMethod(param4).then(res => { commonMethod(param4).then(res => {
// console.log('早发现---底部签') // console.log('早发现---底部签')
this.tableq = res.data.content this.tableq = res.data.content
console.log(this.tableq);
// _this.tableAll.sort(function(prev, next){ if (this._group == 'YWSJ') {
// return parseInt(prev.name.substring(0,2)) - parseInt(next.name.substring(0,2))
// })
if (this.BarType == 'YWSJ') {
this.tableq.sort(function(prev, next) { this.tableq.sort(function(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))
}) })
} }
console.log(this.tableq);
this.tableq.forEach((item, index) => { this.tableq.forEach((item, index) => {
let obj = { let obj = {
name: '', name: '',
...@@ -1111,12 +1089,11 @@ ...@@ -1111,12 +1089,11 @@
//obj.name = item.XZQH_TEXT ? item.XZQH_TEXT : item.YWSJ.substring(6, 7) + '月' //obj.name = item.XZQH_TEXT ? item.XZQH_TEXT : item.YWSJ.substring(6, 7) + '月'
obj.code = item.XZQH obj.code = item.XZQH
//绘制顶部图标x轴 //绘制顶部图标x轴
if (this.BarType != 'YWSJ') { if (this._group != 'YWSJ') {
// _this.data_x.push(obj.name) // _this.data_x.push(obj.name)
} }
_this.data_x.push(obj.name) _this.data_x.push(obj.name)
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
//console.log(item2.PZL);
if (item2.ZBID == '1016') { if (item2.ZBID == '1016') {
this.dataY01.push(this.tableg[index].zbxx[index2].ZXZ ? this.tableg[index].zbxx[index2].ZXZ : 0) this.dataY01.push(this.tableg[index].zbxx[index2].ZXZ ? this.tableg[index].zbxx[index2].ZXZ : 0)
...@@ -1812,9 +1789,36 @@ ...@@ -1812,9 +1789,36 @@
} }
}, },
mounted() { mounted() {
console.log('--------------------------'); this.cxsj = sessionStorage.getItem("ywsj")
console.log(this.PlaceCode); this.userinfo = JSON.parse(sessionStorage.getItem("userinfo"))
console.log('--------------------------'); this.userRole = sessionStorage.getItem("userRole")
if ('city' === this.userRole) {//市角色
this._xzqh = ""
this._group = "XZQH"
this.pageLevel = 'sj'
} else if ('area' === this.userRole) {//区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YLJGDM"
this.pageLevel = 'qj'
// 点击区 -- 展示城镇信息
this.communshow = true
this.tablename = '社区'
this.thname = '医院'
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
} else if ('hospital' === this.userRole) {//社区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YWSJ"
this.pageLevel = 'sq'
this.tablename = "社区"
this.thname = "医院"
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
}
this.homeinit() this.homeinit()
this.homebot() this.homebot()
const obj = setInterval(() => { const obj = setInterval(() => {
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
<p>{{areaname}}</p> <p>{{areaname}}</p>
</div> </div>
<div class="area"> <div class="area">
<el-button size="mini" type="primary" @click="CityGetBack()" v-if="this.BeginCode != 1">返回</el-button> <el-button size="mini" type="primary" @click="CityGetBack()" v-if="this.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="value" 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>市疾控 截止:{{nowdate}}</div> <div class="name"><i class="el-icon-s-custom el-icon--left"></i>{{userinfo.userName}} 截止:{{cxsj}}</div>
</div> </div>
</div> </div>
<!----第一个模块----> <!----第一个模块---->
...@@ -163,12 +163,11 @@ ...@@ -163,12 +163,11 @@
return { return {
showtabnum:0, showtabnum:0,
areaname: '', areaname: '',
themeID: 22, themeID: 3,
themeID2: 16, themeID2: 18,
DieaNo: 1, DieaNo: 1,
thname: '各区', thname: '各区',
startTime: '2019-01', startTime: '',
selectStarttime: sessionStorage.getItem("EndTime"),
djNo: 1, djNo: 1,
value2: '', value2: '',
pageNo: 5, pageNo: 5,
...@@ -713,12 +712,6 @@ ...@@ -713,12 +712,6 @@
djdata05: [15, 67, 14, 12, 22, 24, 15, 17, 32, 10, 12, 14, 2, 4, 6, 22], djdata05: [15, 67, 14, 12, 22, 24, 15, 17, 32, 10, 12, 14, 2, 4, 6, 22],
djdata06: [25, 67, 44, 42, 22, 34, 45, 17, 32, 20, 12, 34, 2, 4, 6, 22], djdata06: [25, 67, 44, 42, 22, 34, 45, 17, 32, 20, 12, 34, 2, 4, 6, 22],
norgthr: 0, norgthr: 0,
BeginCode: 1, // 用于判断当前的市级 状态
lastStatus: {},
BarType: "XZQH",
PlaceCode: '',
value: '2019-09',
nowdate: '2019-09',
sel: '筛选', sel: '筛选',
option5: { option5: {
tooltip: { tooltip: {
...@@ -729,9 +722,7 @@ ...@@ -729,9 +722,7 @@
position: ['20%', '20%'], position: ['20%', '20%'],
formatter: function(params) { formatter: function(params) {
console.log(params.length)
console.log('打印params长度')
console.log(params)
if (params.length == 6) { if (params.length == 6) {
var res = '<ul class="f12 pl10 pr15">'; var res = '<ul class="f12 pl10 pr15">';
res += '<li class="f13"> ' + params[0].axisValue + '区</li>'; res += '<li class="f13"> ' + params[0].axisValue + '区</li>';
...@@ -751,28 +742,6 @@ ...@@ -751,28 +742,6 @@
return res return res
} }
}, },
dataZoom: {
start: 0, //默认为0
end: 50, //默认为100
type: 'slider',
show: true ,
xAxisIndex: [0] ,
handleSize: 20 , //滑动条的 左右2个滑动条的大小
height: 5 , //组件高度
left: 50, //左边的距离
right: 50, //右边的距离
bottom: 240, //右边的距离
backgroundColor: '#ccc', //两边未选中的滑动条区域的颜色
showDataShadow: true, //是否显示数据阴影 默认auto
handleStyle: {
borderColor: "#CBBCDB",
borderWidth: "1",
shadowBlur: 1,
background: "#000",
shadowColor: "#000",
},
filterMode: 'filter',
},
legend: { legend: {
top: 10, top: 10,
textStyle: { textStyle: {
...@@ -873,82 +842,84 @@ ...@@ -873,82 +842,84 @@
endValue: 14 endValue: 14
}], }],
series: [] series: []
} },
isShowBack:false,
userinfo:{},
userRole:'',
cxsj:'',
_xzqh:'',
_yljgdm:'',
_group:'',
pageLevel:''
} }
}, },
methods: { methods: {
showtab(num){ showtab(num){
this.showtabnum = num this.showtabnum = num
console.log(this.showtabnum)
}, },
CityGetBack() { CityGetBack() {
console.log("this.BeginCode :" + this.BeginCode);
console.log("this.diastype :" + this.diastype); if (this.pageLevel === 'qj') {
if (this.BeginCode == 2) { this.isShowBack = false
// 使用 this.BeginCode 的值来判断现在处于的区镇状态
// 此时 处于第一次点击下的状态 // 此时 处于第一次点击下的状态
this.PlaceCode = '' this._xzqh = ''
this.BarType = 'XZQH' this._group = 'XZQH'
this.BeginCode = 1 this.pageLevel = 'sj'
this.areaname = '' this.areaname = ''
this.tablename = '各区'
this.thname = '各区' this.thname = '各区'
console.log("现在处于一级状态");
}
if (this.BeginCode == 3) { }else if (this.pageLevel === 'sq') {
// 使用 this.BeginCode 的值来判断现在处于的区镇状态
// 此时 处于第二次点击下的状态 // 此时 处于第二次点击下的状态
// console.log("现在处于二级状态"); this._group = 'YLJGDM'
this.PlaceCode = this.lastStatus.PlaceCode this.pageLevel = 'qj'
this.BarType = this.lastStatus.BarType this.aename = '社区'
this.BeginCode = 2 this.tablename = '医院'
console.log(this.lastStatus); this.thname = '医院'
this.areaname = this.areaname2
} }
this.homeinit() this.homeinit()
this.homebot() this.homebot()
}, },
changecity(code, name) { changecity(code, name) {
if (this.BeginCode == 1) { this.areaname = name
if (this.pageLevel === 'sj') {
// 点击区 -- 展示城镇信息 // 点击区 -- 展示城镇信息
this.BarType = 'YLJGDM' this.pageLevel = 'qj'
// 用于记录当前的 区镇的入参状态 this._xzqh = code
this.lastStatus.PlaceCode = this.PlaceCode this._group = 'YLJGDM'
this.lastStatus.BarType = this.BarType this.isShowBack = true
this.lastStatus.BeginCode = this.BeginCode
this.BeginCode = 2 // 当begin值为1的时候可以触发点击事件,点击事件执行后, this.areaname2 = name
// 我们就需要把状态码置为2 在下文的判断中以请求 乡镇 的数据信息 this.aename = '社区'
// console.log(JSON.stringify(this.lastStatus)); this.tablename = '医院'
// console.log(this.PlaceCode);
this.thname = '医院' this.thname = '医院'
console.log(1);
} else if (this.BeginCode == 2) { }else if (this.pageLevel === 'qj') {
//不需要下钻 this._group = 'YWSJ'
this._yljgdm = code
this.pageLevel = 'sq'
this.isShowBack = true
this.tablename = '时间'
this.thname = '月份'
}else if (this.pageLevel === 'sq') {
return false return false
this.BarType = 'YWSJ'
this.BeginCode = 3
console.log(2);
this.thname = '医院'
} }
this.homeinit() this.homeinit()
this.homebot() this.homebot()
this.PlaceCode = code
this.areaname = name
console.log(code);
console.log(this.BeginCode);
}, },
dataSearch(value) { dataSearch(cxsj) {
var myDate = new Date();
myDate.getYear();
sessionStorage.setItem("EndTime", value)
this.startTime = value.slice(0, 4) + '-01' sessionStorage.setItem("ywsj", cxsj)
if (value) {
this.nowdate = value
this.selectStarttime = value
this.homeinit() this.homeinit()
this.homebot() this.homebot()
}
}, },
pageChage(page) { pageChage(page) {
this.$emit('screenTwoPagefunc', page) this.$emit('screenTwoPagefunc', page)
...@@ -963,7 +934,6 @@ ...@@ -963,7 +934,6 @@
this.ChartsNo = num this.ChartsNo = num
this.bingNo = 1 this.bingNo = 1
this.djNo = 1 this.djNo = 1
console.log(this.ChartsNo);
_this.homeinit() _this.homeinit()
}, },
bingChange(num) { bingChange(num) {
...@@ -971,30 +941,39 @@ ...@@ -971,30 +941,39 @@
this.homebot() this.homebot()
}, },
changeReplay() { changeReplay() {
var myDate = new Date();
let tempmonth = myDate.getMonth() this.cxsj = sessionStorage.getItem("ywsj")
if (tempmonth < 10) { this.userinfo = JSON.parse(sessionStorage.getItem("userinfo"))
tempmonth = '0' + tempmonth this.userRole = sessionStorage.getItem("userRole")
} if ('city' === this.userRole) {//市角色
// 用于 重置时间 入参 this._xzqh = ""
let DateNow = '' + myDate.getFullYear() + '-' + tempmonth + '-01' this._group = "XZQH"
console.log(DateNow); this.pageLevel = 'sj'
this.themeID = 22
this.PlaceCode = '' } else if ('area' === this.userRole) {//区角色
this.BarType = 'XZQH'
this.BeginCode = 1 this._xzqh = sessionStorage.getItem("organizcode")
this.areaname = '' this._group = "YLJGDM"
this.thname = '各区' this.pageLevel = 'qj'
this.nowdate = DateNow // 点击区 -- 展示城镇信息
this.selectStarttime = DateNow this.communshow = true
this.value = DateNow.substr(0,7) this.tablename = '社区'
this.dataSearch(DateNow) this.thname = '医院'
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
} else if ('hospital' === this.userRole) {//社区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YWSJ"
this.pageLevel = 'sq'
this.tablename = "社区"
this.thname = "医院"
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
}
this.homeinit()
this.homebot() this.homebot()
this.option5.series.forEach(item=>{
item.data = []
})
console.log(this.option5.series);
this.$echarts.init(document.getElementById("middlebarbox5")).setOption(this.option5, true)
}, },
dengjiChange(num) { dengjiChange(num) {
this.djNo = num this.djNo = num
...@@ -1004,13 +983,13 @@ ...@@ -1004,13 +983,13 @@
let _this = this let _this = this
let wd = [{ let wd = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, { }, {
"name": "XZQH", "name": "XZQH",
"value": this.PlaceCode, "value": this._xzqh,
"type": "1" "type": "1"
}] }]
//var zbcode="MBZFX_016";单独读取 //var zbcode="MBZFX_016";单独读取
...@@ -1019,8 +998,7 @@ ...@@ -1019,8 +998,7 @@
"wd": JSON.stringify(wd), "wd": JSON.stringify(wd),
} }
commonMethod(param).then(res => { commonMethod(param).then(res => {
// console.log('慢病监测-肿瘤')
console.log(res)
if(res.data.content.length>0){ if(res.data.content.length>0){
_this.msgdata = res.data.content[0].zbxx _this.msgdata = res.data.content[0].zbxx
_this.msgdata.forEach((item, index) => { _this.msgdata.forEach((item, index) => {
...@@ -1068,13 +1046,13 @@ ...@@ -1068,13 +1046,13 @@
let wd3 = [{ let wd3 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, { }, {
"name": "XZQH", "name": "XZQH",
"value": this.PlaceCode, "value": this._xzqh,
"type": "1" "type": "1"
}] }]
let param3 = { let param3 = {
...@@ -1082,9 +1060,9 @@ ...@@ -1082,9 +1060,9 @@
"wd": JSON.stringify(wd3) "wd": JSON.stringify(wd3)
} }
console.log(param3);
commonMethod(param3).then(res => { commonMethod(param3).then(res => {
// console.log('慢病监测======心脑血管=========')
let zbdata = res.data.content.length > 0 ? res.data.content[0].zbxx : [] let zbdata = res.data.content.length > 0 ? res.data.content[0].zbxx : []
_this.msgdata.forEach((item, index) => { _this.msgdata.forEach((item, index) => {
if (item.ZBID == "1009") { if (item.ZBID == "1009") {
...@@ -1363,33 +1341,26 @@ ...@@ -1363,33 +1341,26 @@
let _this = this let _this = this
let wd4 = [{ let wd4 = [{
"name": "YWSJ", "name": "YWSJ",
"endTime": this.selectStarttime, "endTime": this.cxsj,
"type": "2", "type": "2",
"startTime": this.startTime, "startTime": this.startTime,
"compare": "between" "compare": "between"
}, },
{ {
"name": "QYBZ",
"value": "1",
"type": "1"
},
{
"name": "XZQH", "name": "XZQH",
"value": _this.PlaceCode, "value": _this._xzqh,
"type": "1" "type": "1"
} }
] ]
let param4 = { let param4 = {
"themeId": _this.themeID, "themeId": _this.themeID,
"wd": JSON.stringify(wd4), "wd": JSON.stringify(wd4),
"group": _this.BarType "group": _this._group
} }
console.log(_this.BarType);
console.log(_this.PlaceCode);
_this.tabledata = [] _this.tabledata = []
commonMethod(param4).then(res => { commonMethod(param4).then(res => {
// console.log('慢病管理底部----->>>>')
console.log(res)
let obj = { let obj = {
name: '', name: '',
tag1: '0.0', tag1: '0.0',
...@@ -1416,7 +1387,6 @@ ...@@ -1416,7 +1387,6 @@
} }
obj.areacode = item.XZQH obj.areacode = item.XZQH
console.log(item);
item.zbxx.forEach((item2, index2) => { item.zbxx.forEach((item2, index2) => {
//管理人群累计死后随访人数 //管理人群累计死后随访人数
//去年管理人群累计死后随访人数 //去年管理人群累计死后随访人数
...@@ -1459,6 +1429,36 @@ ...@@ -1459,6 +1429,36 @@
} }
}, },
mounted() { mounted() {
this.cxsj = sessionStorage.getItem("ywsj")
this.userinfo = JSON.parse(sessionStorage.getItem("userinfo"))
this.userRole = sessionStorage.getItem("userRole")
if ('city' === this.userRole) {//市角色
this._xzqh = ""
this._group = "XZQH"
this.pageLevel = 'sj'
} else if ('area' === this.userRole) {//区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YLJGDM"
this.pageLevel = 'qj'
// 点击区 -- 展示城镇信息
this.communshow = true
this.tablename = '社区'
this.thname = '医院'
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
} else if ('hospital' === this.userRole) {//社区角色
this._xzqh = sessionStorage.getItem("organizcode")
this._group = "YWSJ"
this.pageLevel = 'sq'
this.tablename = "社区"
this.thname = "医院"
this.arname = '社区'
this.areaname = sessionStorage.getItem("organizcodeName")
}
this.homeinit() this.homeinit()
this.homebot() this.homebot()
// 肿瘤- 左图 // 肿瘤- 左图
......
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