Commit 59c4d6a0 by kingboy_xin

费用管理 - 签约

parent 67dfc376
...@@ -31,6 +31,65 @@ export function dateFormat(dateValue,fmt){ ...@@ -31,6 +31,65 @@ export function dateFormat(dateValue,fmt){
return fmt; return fmt;
} }
/*测试*/
export function orderTime() {
const dateTime = new Date()
let year = dateTime.getFullYear()
let month = dateTime.getMonth() + 1
let date = dateTime.getDate()
let hour = dateTime.getHours()
let minute = dateTime.getMinutes()
let second = dateTime.getSeconds()
return year.toString() + month.toString() + date.toString()+hour.toString()+minute.toString()+second.toString()
}
/*测试*/
export function todayTime() {
const dateTime = new Date()
const year = dateTime.getFullYear()
const month = dateTime.getMonth() + 1
const date = dateTime.getDate()
return year + '-' + month + '-' + date
}
/*测试*/
export function todayTime2() {
const dateTime = new Date()
let year = dateTime.getFullYear()
let month = dateTime.getMonth() + 1
let date = dateTime.getDate()
let hour = dateTime.getHours()
let minute = dateTime.getMinutes()
let second = dateTime.getSeconds()
return year + '-' + month + '-' + date + ' '+hour+':'+minute+':'+second
}
/*测试*/
export function famartTime(value) {
const dateTime = new Date(value)
const year = dateTime.getFullYear()
let month = dateTime.getMonth() + 1
let date = dateTime.getDate()
let hour = dateTime.getHours()
let minute = dateTime.getMinutes()
let second = dateTime.getSeconds()
month = month < 10 ? '0' + month : month.toString()
date = date < 10 ? '0' + date : date.toString()
return year + '-' + month + '-' + date
}
/*测试*/
export function famartTime2(value) {
let dateTime = new Date(value)
let year = dateTime.getFullYear()
let month = dateTime.getMonth() + 1
month = month < 10 ? '0' + month : month.toString()
return year + month
}
/** /**
* 检查传来的参数是否为空 * 检查传来的参数是否为空
* @param val * @param val
...@@ -48,6 +107,7 @@ export function checkIsNull(val) { ...@@ -48,6 +107,7 @@ export function checkIsNull(val) {
* @param {string} str * @param {string} str
* @returns {string} * @returns {string}
*/ */
//小数点取值问题,返回原值
export function getActiveNum(str) { export function getActiveNum(str) {
//转化float,后面全是四舍五入 //转化float,后面全是四舍五入
...@@ -65,6 +125,28 @@ export function getActiveNum(str) { ...@@ -65,6 +125,28 @@ export function getActiveNum(str) {
} else { } else {
num = num.toPrecision(3); num = num.toPrecision(3);
} }
return Math.abs(num); return num;
}
}
//小数点取值问题,返回绝对值
export function getActiveNumer(str) {
//转化float,后面全是四舍五入
if (checkIsNull(str) || str == "NaN" || str == "Infinity" || str == "-" || isNaN(str)) {
return "-";
} else {
var num = parseFloat(str);
if (Math.abs(num) < 0.1) { //处理绝对值小于0.1的
num = num.toFixed(2);
} else if ((Math.abs(num) >= 0.1) && (Math.abs(num) <= 0.995)) { //处理绝对值大于等于0.1小于等于0.995的
num = num.toPrecision(2);
} else if (Math.abs(num) >= 999.5) { //处理绝对值大于等于999.5的
num = num.toFixed(0);
} else {
num = num.toPrecision(3);
}
return Math.abs(num);;
} }
} }
...@@ -89,14 +89,17 @@ ...@@ -89,14 +89,17 @@
text-align: center; text-align: center;
background:linear-gradient(180deg,rgba(30,36,67,1) 0%,rgba(19,24,44,1) 100%) background:linear-gradient(180deg,rgba(30,36,67,1) 0%,rgba(19,24,44,1) 100%)
} }
.feeclass{width: 70px; .feeclass {
width: 70px;
height: 39px; height: 39px;
padding-top: 0; padding-top: 0;
line-height: 39px; line-height: 39px;
border-bottom: 1px solid #242c4a; border-bottom: 1px solid #242c4a;
color: #A6AED6;} color: #A6AED6;
}
.feeactive{width: 70px; .feeactive {
width: 70px;
height: 39px; height: 39px;
padding-top: 0; padding-top: 0;
line-height: 39px; line-height: 39px;
......
...@@ -26,7 +26,11 @@ ...@@ -26,7 +26,11 @@
computed: { computed: {
isActive() { isActive() {
if(this.$route.path==='/gpHome/gpContractExpense' || this.$route.path==='/gpHome/gpVisitExpense' ){
return false
}else{
return this.$route.path.indexOf(this.link) !== -1 return this.$route.path.indexOf(this.link) !== -1
}
}, },
activeClass() { activeClass() {
if(this.$route.path==='/gpHome/gpContractExpense' || this.$route.path==='/gpHome/gpVisitExpense' ){ if(this.$route.path==='/gpHome/gpContractExpense' || this.$route.path==='/gpHome/gpVisitExpense' ){
......
...@@ -793,7 +793,7 @@ ...@@ -793,7 +793,7 @@
ydata01.push(obj2) ydata01.push(obj2)
let obj3 = {value: 0, val: 0, val2: 0} let obj3 = {value: 0, val: 0, val2: 0}
obj3.value = this.commonJs.getActiveNum(item.GXS_TBL) obj3.value = this.commonJs.getActiveNumer(item.GXS_TBL)
obj3.val = item.QYRS obj3.val = item.QYRS
obj3.val2 = item.GXS_TBL obj3.val2 = item.GXS_TBL
ydata02.push(obj3) ydata02.push(obj3)
...@@ -801,23 +801,23 @@ ...@@ -801,23 +801,23 @@
let obj4 = {value: 0, val: 0, val2: 0} let obj4 = {value: 0, val: 0, val2: 0}
obj4.value = item.QYRS_TBZ obj4.value = item.QYRS_TBZ
obj4.val2 = item.QYRS_TBZ obj4.val2 = item.QYRS_TBZ
obj4.val = this.commonJs.getActiveNum(item.QYRS_TBL) obj4.val = this.commonJs.getActiveNumer(item.QYRS_TBL)
ydata03.push(obj4) ydata03.push(obj4)
let obj5 = {value: 0, val: 0, val2: 0} let obj5 = {value: 0, val: 0, val2: 0}
obj5.value = this.commonJs.getActiveNum(item.QYL) obj5.value = this.commonJs.getActiveNumer(item.QYL)
obj5.val = this.commonJs.getActiveNum(item.GXS_TBL) obj5.val = this.commonJs.getActiveNumer(item.GXS_TBL)
obj5.val2 = item.QYL obj5.val2 = item.QYL
ydata04.push(obj5) ydata04.push(obj5)
let obj6 = {value: 0, val: 0, val2: 0} let obj6 = {value: 0, val: 0, val2: 0}
obj6.value = this.commonJs.getActiveNum(item.QYL_PLD) obj6.value = this.commonJs.getActiveNumer(item.QYL_PLD)
obj6.val = this.commonJs.getActiveNum(item.QYL) obj6.val = this.commonJs.getActiveNumer(item.QYL)
obj6.val2 = item.QYL_PLD obj6.val2 = item.QYL_PLD
ydata05.push(obj6) ydata05.push(obj6)
let obj7 = {value: 0, val: 0, val2: 0} let obj7 = {value: 0, val: 0, val2: 0}
obj7.value = this.commonJs.getActiveNum(item.QYL_PLD_TBZ) obj7.value = this.commonJs.getActiveNumer(item.QYL_PLD_TBZ)
obj7.val = 0 obj7.val = 0
obj7.val2 = item.QYL_PLD_TBZ obj7.val2 = item.QYL_PLD_TBZ
ydata06.push(obj7) ydata06.push(obj7)
...@@ -917,7 +917,6 @@ ...@@ -917,7 +917,6 @@
this.$router.push('/' + path); this.$router.push('/' + path);
}, },
dataSearch(value) { dataSearch(value) {
console.log(famartTime2(value));
let val = famartTime2(value) let val = famartTime2(value)
this.cxsj = val this.cxsj = val
this.initHome() this.initHome()
......
...@@ -40,6 +40,18 @@ ...@@ -40,6 +40,18 @@
<img @click="question()" width="16" style="vertical-align: middle;" height="16" <img @click="question()" width="16" style="vertical-align: middle;" height="16"
src="~assets/img/common/icon-mainwen.png"> src="~assets/img/common/icon-mainwen.png">
</div> </div>
<!-- 点击问号弹出层 -->
<div class="explainbox" v-if="explain">
<div class="explainboxtitle"><span>累计就诊人均门诊费用标准</span></div>
<div class="explainboxtcontent">
<div class="explainboxtcontentleft">
<i class="icls"></i>说明
</div>
<div class="explainboxtcontentright">
<span>全年人均累计就诊费用为4839元,4月份 时标为 1613元,计算公式=(4839/12)*4</span>
</div>
</div>
</div>
<div class="content"> <div class="content">
<div class="qycontent"> <div class="qycontent">
<div class="qytexttop"> <div class="qytexttop">
...@@ -102,6 +114,46 @@ ...@@ -102,6 +114,46 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 累计人均就诊·次弹出层 -->
<div class="outService1" v-show="showouser1">
<p class="pservice1">累计人均门诊</p>
<div class="rightbox rightbox2">
<div class="rbiteml rbitem2">
<div class="rbitemlinner">就诊·次</div>
<div class="rbitemlinner">累计费用·元</div>
<div class="rbitemlinner">累计药费·元</div>
</div>
<div class="rbitemr">
<div class="rrline">
<div class="rrmodel">
<p>社区</p>
<p>实值/占·%同·%</p>
</div>
<div class="rrmodel">
<p>二级</p>
<p>实值/占·%同·%</p>
</div>
<div class="rrmodel">
<p>三级</p>
<p>实值/占·%同·%</p>
</div>
</div>
<div v-for="item in cumpercapvisdatalist" :key="item.index" class="rrmodelbot">
<p>{{item.JZCS}} / {{item.JZCS_ZB}} / {{item.JZCS_TBL=='-'?"-":Math.abs(nullreturn(item.JZCS_TBL))}}
<i :class="item.JZCS_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i>
</p>
<p>{{item.JZFY}} / {{item.JZFY_ZB}} / {{item.JZFY_TBL=='-'?"-":Math.abs(nullreturn(item.JZFY_TBL))}}
<i :class="item.JZFY_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i>
</p>
<p>{{item.JZYF}} / {{item.JZYF_ZB}} / {{item.JZYF_TBL=='-'?"-":Math.abs(nullreturn(item.JZYF_TBL))}}
<i :class="item.JZYF_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i>
</p>
</div>
</div>
</div>
<div style="clear: both;"></div>
<div class="outServicewords">占比 = 当前医院级别累计人均门诊费用(次数)/累计人均门诊总费用(次数)*100%</div>
</div>
</div> </div>
<div class="div-model fr001"> <div class="div-model fr001">
<div class="title">其中累计签约人均住院费用</div> <div class="title">其中累计签约人均住院费用</div>
...@@ -158,10 +210,83 @@ ...@@ -158,10 +210,83 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 门诊费用二级指标弹出层 -->
<div class="outService2" v-show="showouser2">
<p class="pservice2">二级指数单价Top4</p>
<el-table :header-cell-style="headerStyle3" :fit="true" :cell-style="cellStyle2" height="125"
:row-class-name="tableRowClassName"
:data="twoleveldatalist">
<el-table-column fixed label="序号" width="45">
<template slot-scope="scope">
<span>{{scope.$index + 1}} </span>
</template>
</el-table-column>
<el-table-column prop="XM" label="姓名" width="70"></el-table-column>
<el-table-column prop="JZJGMC" label="住院机构" width="120"></el-table-column>
<el-table-column prop="ZSDJ_PLD" label="单·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.ZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="YPZSDJ_PLD" label="药·/偏·%">
<template slot-scope="scope">
{{scope.row.YPZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.YPZSDJ_PLD))}}
<i :class="scope.row.YPZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="HCZSDJ_PLD" label="耗·/偏·%">
<template slot-scope="scope">
{{scope.row.HCZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.HCZSDJ_PLD))}}
<i :class="scope.row.HCZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
</el-table>
</div>
<!-- 门诊费用三级指标弹出层 -->
<div class="outService3" v-show="showouser3">
<p class="pservice3">三级指数单价Top4</p>
<el-table :header-cell-style="headerStyle3" :fit="true" :cell-style="cellStyle2" height="125"
:row-class-name="tableRowClassName"
:data="threeleveldatalist">
<el-table-column fixed label="序号" width="60">
<template slot-scope="scope">
<span>{{scope.$index + 1}} </span>
</template>
</el-table-column>
<el-table-column prop="XM" label="姓名" width="70"></el-table-column>
<el-table-column prop="JZJGMC" label="住院机构" width="120"></el-table-column>
<el-table-column prop="ZSDJ_PLD" label="单·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.ZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="YPZSDJ_PLD" label="药·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.YPZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="HCZSDJ_PLD" label="耗·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.HCZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
</el-table>
</div>
</div> </div>
<!-----------底部内容----------> <!-----------底部内容---------->
<div class="div-model-b"> <div class="div-model-b">
<div class="title">门诊</div> <div class="title">门诊
<div class="tabletitle righttitle">
<span @click="changeAll(1)" :class="isall==1?'clk':''">{{TableName}}</span>
<span @click="changeAll(2)" :class="isall==2?'clk':''">缺陷</span>
</div>
</div>
<div class="div-model-echarts div-model-echarts2"> <div class="div-model-echarts div-model-echarts2">
<div class="etitle1 spanline" @click="AnalyFn()">累计费用分析</div> <div class="etitle1 spanline" @click="AnalyFn()">累计费用分析</div>
<div class="ecp01" @click="changeTabName(1)" :class="isgy==1?'clk':''">社区</div> <div class="ecp01" @click="changeTabName(1)" :class="isgy==1?'clk':''">社区</div>
...@@ -224,14 +349,10 @@ ...@@ -224,14 +349,10 @@
</el-table> </el-table>
</div> </div>
<div class="div-model-table div-model-table2"> <div class="div-model-table div-model-table2">
<div class="tabletitle">
<span @click="changeAll(1)" :class="isall==1?'clk':''">{{TableName}}</span>
<span @click="changeAll(2)" :class="isall==2?'clk':''">缺陷</span>
</div>
<el-table v-show="isall==1" :header-cell-style="headerStyle" :fit="true" :cell-style="cellStyle" <el-table v-show="isall==1" :header-cell-style="headerStyle" :fit="true" :cell-style="cellStyle"
height="230" height="249"
:row-class-name="tableRowClassName" :data="hospotallist"> :row-class-name="tableRowClassName" :data="hospotallist">
<el-table-column prop="name" width="45" label="序列"> <el-table-column prop="name" min-width="45" label="序列">
<template slot-scope="scope">{{scope.$index + 1}}</template> <template slot-scope="scope">{{scope.$index + 1}}</template>
</el-table-column> </el-table-column>
<el-table-column prop="province" :show-overflow-tooltip="true" min-width="64"> <el-table-column prop="province" :show-overflow-tooltip="true" min-width="64">
...@@ -242,7 +363,7 @@ ...@@ -242,7 +363,7 @@
<span class="spanline spanleft" @click="AnalyFn()">{{scope.row.JZJGJC}}</span> <span class="spanline spanleft" @click="AnalyFn()">{{scope.row.JZJGJC}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="pepole" width="100" label="总费用·万/同·%"> <el-table-column prop="pepole" min-width="90" label="总费用·万/同·%">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="ycqd_lf testright"> <span class="ycqd_lf testright">
{{scope.row.MZFY}}/{{scope.row.MZFY_TBL=='-'?"-":Math.abs(nullreturn(scope.row.MZFY_TBL))}} {{scope.row.MZFY}}/{{scope.row.MZFY_TBL=='-'?"-":Math.abs(nullreturn(scope.row.MZFY_TBL))}}
...@@ -250,10 +371,10 @@ ...@@ -250,10 +371,10 @@
<span class="sp13"><i :class="scope.row.MZFY_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i></span> <span class="sp13"><i :class="scope.row.MZFY_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="city" width="74" label="总费用占比·%"> <el-table-column prop="city" min-width="85" label="总费用占比·%">
<template slot-scope="scope">{{scope.row.MZFY_ZB}}</template> <template slot-scope="scope">{{scope.row.MZFY_ZB}}</template>
</el-table-column> </el-table-column>
<el-table-column prop="address" width="100" label="药费·万/同·%"> <el-table-column prop="address" min-width="90" label="药费·万/同·%">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="ycqd_lf testright"> <span class="ycqd_lf testright">
{{scope.row.MZYF}}/{{scope.row.MZYF_TBL=='-'?"-":Math.abs(nullreturn(scope.row.MZYF_TBL))}} {{scope.row.MZYF}}/{{scope.row.MZYF_TBL=='-'?"-":Math.abs(nullreturn(scope.row.MZYF_TBL))}}
...@@ -263,143 +384,23 @@ ...@@ -263,143 +384,23 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-table v-show="isall==2" :header-cell-style="headerStyle" :fit="true" :cell-style="cellStyle" <el-table v-show="isall==2" :header-cell-style="headerStyle" :fit="true" :cell-style="cellStyle"
height="230" height="249"
:row-class-name="tableRowClassName" :data="defectlist"> :row-class-name="tableRowClassName" :data="defectlist">
<el-table-column prop="name" width="45" label="序列"> <el-table-column prop="name" min-width="45" label="序列">
<template slot-scope="scope">{{scope.$index + 1}}</template> <template slot-scope="scope">{{scope.$index + 1}}</template>
</el-table-column> </el-table-column>
<el-table-column prop="XM" width="90" label="姓名" class="spanline"> <el-table-column prop="XM" min-width="88" label="姓名" class="spanline">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="spanline" @click="toMember(scope.row.SFZH)">{{scope.row.XM}}</span> <span class="spanline" @click="toMember(scope.row.SFZH)">{{scope.row.XM}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="NL" label="年龄"></el-table-column> <el-table-column prop="NL" min-width="80" label="年龄"></el-table-column>
<el-table-column prop="MZFY" :render-header="renderHeader"></el-table-column> <el-table-column prop="MZFY" min-width="80" :render-header="renderHeader"></el-table-column>
<el-table-column prop="JZCS" label="就诊·次"></el-table-column> <el-table-column prop="JZCS" min-width="80" label="就诊·次"></el-table-column>
</el-table> </el-table>
</div> </div>
</div> </div>
<!-- 累计人均就诊·次弹出层 -->
<div class="outService1" v-show="showouser1">
<p class="pservice1">累计人均门诊</p>
<div class="rightbox rightbox2">
<div class="rbiteml rbitem2">
<div class="rbitemlinner">就诊·次</div>
<div class="rbitemlinner">累计费用·元</div>
<div class="rbitemlinner">累计药费·元</div>
</div>
<div class="rbitemr">
<div class="rrline">
<div class="rrmodel">
<p>社区</p>
<p>实值/占·%同·%</p>
</div>
<div class="rrmodel">
<p>二级</p>
<p>实值/占·%同·%</p>
</div>
<div class="rrmodel">
<p>三级</p>
<p>实值/占·%同·%</p>
</div>
</div>
<div v-for="item in cumpercapvisdatalist" :key="item.index" class="rrmodelbot">
<p>{{item.JZCS}} / {{item.JZCS_ZB}} / {{item.JZCS_TBL=='-'?"-":Math.abs(nullreturn(item.JZCS_TBL))}}
<i :class="item.JZCS_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i>
</p>
<p>{{item.JZFY}} / {{item.JZFY_ZB}} / {{item.JZFY_TBL=='-'?"-":Math.abs(nullreturn(item.JZFY_TBL))}}
<i :class="item.JZFY_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i>
</p>
<p>{{item.JZYF}} / {{item.JZYF_ZB}} / {{item.JZYF_TBL=='-'?"-":Math.abs(nullreturn(item.JZYF_TBL))}}
<i :class="item.JZYF_TBL<0?'el-icon-my-down':'el-icon-my-up'"></i>
</p>
</div>
</div>
</div>
<div style="clear: both;"></div>
<div class="outServicewords">占比 = 当前医院级别累计人均门诊费用(次数)/累计人均门诊总费用(次数)*100%</div>
</div>
<!-- 门诊费用二级指标弹出层 -->
<div class="outService2" v-show="showouser2">
<p class="pservice2">二级指数单价Top4</p>
<el-table :header-cell-style="headerStyle3" :fit="true" :cell-style="cellStyle2" height="125"
:row-class-name="tableRowClassName"
:data="twoleveldatalist">
<el-table-column fixed label="序号" width="45">
<template slot-scope="scope">
<span>{{scope.$index + 1}} </span>
</template>
</el-table-column>
<el-table-column prop="XM" label="姓名" width="70"></el-table-column>
<el-table-column prop="JZJGMC" label="住院机构" width="120"></el-table-column>
<el-table-column prop="ZSDJ_PLD" label="单·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.ZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="YPZSDJ_PLD" label="药·/偏·%">
<template slot-scope="scope">
{{scope.row.YPZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.YPZSDJ_PLD))}}
<i :class="scope.row.YPZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="HCZSDJ_PLD" label="耗·/偏·%">
<template slot-scope="scope">
{{scope.row.HCZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.HCZSDJ_PLD))}}
<i :class="scope.row.HCZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
</el-table>
</div>
<div v-show="isyy" @click="yyshow" class="yydiv"></div> <div v-show="isyy" @click="yyshow" class="yydiv"></div>
<!-- 门诊费用三级指标弹出层 -->
<div class="outService3" v-show="showouser3">
<p class="pservice3">三级指数单价Top4</p>
<el-table :header-cell-style="headerStyle3" :fit="true" :cell-style="cellStyle2" height="125"
:row-class-name="tableRowClassName"
:data="threeleveldatalist">
<el-table-column fixed label="序号" width="60">
<template slot-scope="scope">
<span>{{scope.$index + 1}} </span>
</template>
</el-table-column>
<el-table-column prop="XM" label="姓名" width="70"></el-table-column>
<el-table-column prop="JZJGMC" label="住院机构" width="120"></el-table-column>
<el-table-column prop="ZSDJ_PLD" label="单·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.ZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="YPZSDJ_PLD" label="药·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.YPZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
<el-table-column prop="HCZSDJ_PLD" label="耗·/偏·%">
<template slot-scope="scope">
{{scope.row.ZSDJ_PLD=='-'?"-":Math.abs(nullreturn(scope.row.ZSDJ_PLD))}}
<i :class="scope.row.HCZSDJ_PLD<0?'el-icon-my-down':'el-icon-my-up'"></i>
</template>
</el-table-column>
</el-table>
</div>
<!-- 点击问号弹出层 -->
<div class="explainbox" v-if="explain">
<div class="explainboxtitle"><span>累计就诊人均门诊费用标准</span></div>
<div class="explainboxtcontent">
<div class="explainboxtcontentleft">
<i class="icls"></i>说明
</div>
<div class="explainboxtcontentright">
<span>全年人均累计就诊费用为4839元,4月份 时标为 1613元,计算公式=(4839/12)*4</span>
</div>
</div>
</div>
</div> </div>
</template> </template>
...@@ -1273,7 +1274,7 @@ ...@@ -1273,7 +1274,7 @@
this.$router.push('/Home'); this.$router.push('/Home');
}, },
headerStyle() { headerStyle() {
return 'background:rgba(48,56,90,1); border:0; margin:0; padding:0; line-height:29px; color:#6D779A; font-size:12px; text-align:center;font-weight:500;' return 'background:#36436f 14%; border:0; margin:0; padding:0; line-height:29px; color:#6D779A; font-size:12px; text-align:center;font-weight:500;'
}, },
cellStyle() { cellStyle() {
return 'background:none;color:#fff;border:0; margin:0; padding:0; line-height:29px; color:#AAB1D2; font-size:12px; text-align:center;font-weight:500' return 'background:none;color:#fff;border:0; margin:0; padding:0; line-height:29px; color:#AAB1D2; font-size:12px; text-align:center;font-weight:500'
...@@ -1284,20 +1285,14 @@ ...@@ -1284,20 +1285,14 @@
AnalyFn() { AnalyFn() {
this.$router.push('/AnalySign'); this.$router.push('/AnalySign');
}, },
tableRowClassName({ tableRowClassName({row,rowIndex }) {
row,
rowIndex
}) {
if (rowIndex % 2 == 1) { if (rowIndex % 2 == 1) {
return 'warning-row'; return 'warning-row';
} else { } else {
return 'success-row'; return 'success-row';
} }
}, },
tableRowClassName2({ tableRowClassName2({row,rowIndex}) {
row,
rowIndex
}) {
if (rowIndex % 2 == 1) { if (rowIndex % 2 == 1) {
return 'warning-row2'; return 'warning-row2';
} else { } else {
...@@ -1305,19 +1300,19 @@ ...@@ -1305,19 +1300,19 @@
} }
}, },
headerStyle2() { headerStyle2() {
return 'background:rgba(48,56,90,1); border:0; margin:0; padding:0; line-height:29px; color:#6D779A; font-size:12px; text-align:center;font-weight:500;' return 'background:#36436f 14%; border:0; margin:0; padding:0; line-height:29px; color:#6D779A; font-size:12px; text-align:center;font-weight:500;'
}, },
headerStyle3() { headerStyle3() {
return 'background:rgba(48,56,90,1);border:0; margin:0; padding:0; line-height:29px; color:#8891BE; font-size:12px; text-align:center;font-weight:500;' return 'background:#36436f 14%;border:0; margin:0; padding:0; line-height:29px; color:#8891BE; font-size:12px; text-align:center;font-weight:500;'
}, },
headerStyle4() { headerStyle4() {
return 'background:#35426E; border:0; margin:0; padding:0; line-height:50px; color:#6D779A; font-size:12px; text-align:center;font-weight:500;' return 'background:#36436f 14%; border:0; margin:0; padding:0; line-height:29px; color:#6D779A; font-size:12px; text-align:center;font-weight:500;'
}, },
cellStyle2() { cellStyle2() {
return 'background:none;color:#fff;border:0; margin:0; padding:0; line-height:29px; color:#AAB1D2; font-size:12px; text-align:center;font-weight:500' return 'background:none;color:#fff;border:0; margin:0; padding:0; line-height:29px; color:#AAB1D2; font-size:12px; text-align:center;font-weight:500'
}, },
cellStyle4() { cellStyle4() {
return 'background:#35426E;color:#fff;border:0; margin:0; padding:0; line-height:29px; color:#AAB1D2; font-size:12px; text-align:center;font-weight:500' return 'background:#none;color:#fff;border:0; margin:0; padding:0; line-height:29px; color:#AAB1D2; font-size:12px; text-align:center;font-weight:500'
}, },
hideLoading() { hideLoading() {
this.loading = false this.loading = false
...@@ -1510,9 +1505,9 @@ ...@@ -1510,9 +1505,9 @@
.outService1 { .outService1 {
width: 550px; width: 550px;
z-index: 99; z-index: 99;
position: fixed; position: relative;
top: 265px; top: 5px;
left: 22%; left: -15%;
border-radius: 5px; border-radius: 5px;
background: linear-gradient(180deg, rgba(53, 66, 110, 1) 0%, rgba(54, 66, 109, 1) 100%); background: linear-gradient(180deg, rgba(53, 66, 110, 1) 0%, rgba(54, 66, 109, 1) 100%);
} }
...@@ -1536,8 +1531,8 @@ ...@@ -1536,8 +1531,8 @@
} }
.rightbox2 { .rightbox2 {
width: 530px; width: 100%;
padding: 9px; padding: 0px 9px 9px 9px;
height: 150px; height: 150px;
} }
...@@ -1554,6 +1549,7 @@ ...@@ -1554,6 +1549,7 @@
height: 120px; height: 120px;
padding-top: 55px; padding-top: 55px;
width: 85px; width: 85px;
text-align: center;
} }
.rbitemlinner { .rbitemlinner {
...@@ -1582,13 +1578,14 @@ ...@@ -1582,13 +1578,14 @@
.rrline { .rrline {
height: 50px; height: 50px;
padding-top: 10px; padding-top: 10px;
text-align: center;
} }
.rrline .rrmodel { .rrline .rrmodel {
float: left; float: left;
width: 33.333%; width: 33.333%;
color: #AAB1D2; color: #AAB1D2;
line-height: 25px; line-height: 20px;
height: 50px; height: 50px;
} }
...@@ -1596,6 +1593,7 @@ ...@@ -1596,6 +1593,7 @@
height: 100px; height: 100px;
float: left; float: left;
width: 33.33%; width: 33.33%;
text-align: center;
} }
.rrmodelbot p { .rrmodelbot p {
...@@ -1618,9 +1616,9 @@ ...@@ -1618,9 +1616,9 @@
.outService2 { .outService2 {
width: 480px; width: 480px;
z-index: 99; z-index: 99;
position: fixed; position: relative;
top: 230px; top: -25px;
right: 30px; right: 70%;
border-radius: 5px; border-radius: 5px;
background: linear-gradient(180deg, rgba(53, 66, 110, 1) 0%, rgba(54, 66, 109, 1) 100%); background: linear-gradient(180deg, rgba(53, 66, 110, 1) 0%, rgba(54, 66, 109, 1) 100%);
} }
...@@ -1640,9 +1638,9 @@ ...@@ -1640,9 +1638,9 @@
.outService3 { .outService3 {
width: 480px; width: 480px;
z-index: 99; z-index: 99;
position: fixed; position: relative;
top: 260px; top: -20px;
right: 30px; right: 70%;
border-radius: 5px; border-radius: 5px;
background: linear-gradient(180deg, rgba(53, 66, 110, 1) 0%, rgba(54, 66, 109, 1) 100%); background: linear-gradient(180deg, rgba(53, 66, 110, 1) 0%, rgba(54, 66, 109, 1) 100%);
} }
...@@ -1671,9 +1669,9 @@ ...@@ -1671,9 +1669,9 @@
width: 330px; width: 330px;
border-radius: 5px; border-radius: 5px;
z-index: 99; z-index: 99;
position: fixed; position: absolute;
top: 110px; top: 110px;
left: 312px; left: 32.5%;
padding-bottom: 5px; padding-bottom: 5px;
background: rgba(1, 1, 1, 0.8); background: rgba(1, 1, 1, 0.8);
} }
...@@ -1752,6 +1750,11 @@ ...@@ -1752,6 +1750,11 @@
text-align: right; text-align: right;
} }
.righttitle{
float: right;
position: relative;
right: 32%;
}
/deep/ .el-table { /deep/ .el-table {
background: none; background: none;
} }
...@@ -1766,22 +1769,22 @@ ...@@ -1766,22 +1769,22 @@
} }
/deep/ .el-table .warning-row { /deep/ .el-table .warning-row {
background: rgba(48, 56, 90, 1); background: none;
height: 30px; height: 30px;
} }
/deep/ .el-table .success-row { /deep/ .el-table .success-row {
background: #2a3557; background: rgba(41,51,85,1);
height: 30px; height: 30px;
} }
/deep/ .el-table .warning-row2 { /deep/ .el-table .warning-row2 {
background: rgba(48, 56, 90, 1); background: none;
height: 29px; height: 29px;
} }
/deep/ .el-table .success-row2 { /deep/ .el-table .success-row2 {
background: #2a3557; background: rgba(41,51,85,1);
height: 29px; height: 29px;
} }
......
...@@ -67,6 +67,18 @@ ...@@ -67,6 +67,18 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 点击问号弹出层 -->
<div class="explainbox" v-if="explain">
<div class="explainboxtitle"><span>累计就诊人均门诊费用标准</span></div>
<div class="explainboxtcontent">
<div class="explainboxtcontentleft">
<i class="icls"></i>说明
</div>
<div class="explainboxtcontentright">
<span>全年人均累计就诊费用为4839元,4月份 时标为 1613元,计算公式=(4839/12)*4</span>
</div>
</div>
</div>
</div> </div>
<div class="div-model fr001"> <div class="div-model fr001">
<div class="title"> <div class="title">
...@@ -504,19 +516,6 @@ ...@@ -504,19 +516,6 @@
<div style="clear: both;"></div> <div style="clear: both;"></div>
<div class="outServicewords">占比 = 当前医院级别累计人均门诊费用(次数)/累计人均门诊总费用(次数)*100%</div> <div class="outServicewords">占比 = 当前医院级别累计人均门诊费用(次数)/累计人均门诊总费用(次数)*100%</div>
</div> </div>
<!-- 点击问号弹出层 -->
<div class="explainbox" v-if="explain">
<div class="explainboxtitle"><span>累计就诊人均门诊费用标准</span></div>
<div class="explainboxtcontent">
<div class="explainboxtcontentleft">
<i class="icls"></i>说明
</div>
<div class="explainboxtcontentright">
<span>全年人均累计就诊费用为4839元,4月份 时标为 1613元,计算公式=(4839/12)*4</span>
</div>
</div>
</div>
</div> </div>
</template> </template>
...@@ -1348,7 +1347,7 @@ ...@@ -1348,7 +1347,7 @@
let token = localStorage.getItem('token') let token = localStorage.getItem('token')
let param = { let param = {
"key": "fygl-jz-mzljfyfx", "key": "fygl-jz-mzljfyfx",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1381,7 +1380,7 @@ ...@@ -1381,7 +1380,7 @@
let token = localStorage.getItem('token') let token = localStorage.getItem('token')
let param = { let param = {
"key": "fygl-qy-ljrjjzfx", "key": "fygl-qy-ljrjjzfx",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1413,7 +1412,7 @@ ...@@ -1413,7 +1412,7 @@
let param = { let param = {
"key": "fygl-jz-mz-zy-ljfyfx", "key": "fygl-jz-mz-zy-ljfyfx",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1446,7 +1445,7 @@ ...@@ -1446,7 +1445,7 @@
let param = { let param = {
"key": "fygl-qy-mzfyqx", "key": "fygl-qy-mzfyqx",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1472,7 +1471,7 @@ ...@@ -1472,7 +1471,7 @@
let param = { let param = {
"key": "fygl-jz-mz-jgrj", "key": "fygl-jz-mz-jgrj",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1583,7 +1582,7 @@ ...@@ -1583,7 +1582,7 @@
let param = { let param = {
"key": "fygl-jz-mz-jgyc", "key": "fygl-jz-mz-jgyc",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1616,7 +1615,7 @@ ...@@ -1616,7 +1615,7 @@
let param = { let param = {
"key": "fygl-jz-zy-jgrj", "key": "fygl-jz-zy-jgrj",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1693,7 +1692,7 @@ ...@@ -1693,7 +1692,7 @@
let param = { let param = {
"key": "fygl-jz-zy-jgyc", "key": "fygl-jz-zy-jgyc",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1718,7 +1717,7 @@ ...@@ -1718,7 +1717,7 @@
let param = { let param = {
"key": "fygl-jz-zy-qx", "key": "fygl-jz-zy-qx",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1745,7 +1744,7 @@ ...@@ -1745,7 +1744,7 @@
let param = { let param = {
"key": "fygl-qy-ljfy-jg", "key": "fygl-qy-ljfy-jg",
// "tjsj": "201907", // "tjsj": "201907",
"tjsj": this.nowdate, "tjsj": this.cxsj,
"gpgh": this.loginMsg.gpNumber, "gpgh": this.loginMsg.gpNumber,
"yljgdm": this.loginMsg.orgCode, "yljgdm": this.loginMsg.orgCode,
"parameter": { "parameter": {
...@@ -1845,9 +1844,8 @@ ...@@ -1845,9 +1844,8 @@
this.loading = true this.loading = true
}, },
dataSearch(value) { dataSearch(value) {
console.log(famartTime2(value));
let val = famartTime2(value) let val = famartTime2(value)
this.nowdate = val this.cxsj = val
this.initHome() this.initHome()
this.initsignup() this.initsignup()
this.initsigndown() this.initsigndown()
...@@ -1972,10 +1970,9 @@ ...@@ -1972,10 +1970,9 @@
}, },
mounted: function() { mounted: function() {
this.token = localStorage.getItem('token') this.token = localStorage.getItem('token')
this.loginMsg = JSON.parse(localStorage.getItem('userinfo')) this.loginMsg = localStorage.getItem('userinfo')
if (this.loginMsg.roleCode == 'hcms.APP_SQYZ') { if (this.loginMsg.roleCode == 'hcms.APP_SQYZ') {
// console.log('家医数据信息:')
// console.log(this.loginMsg)
this.loginMsg.gpNumber = localStorage.getItem('ygh') this.loginMsg.gpNumber = localStorage.getItem('ygh')
} }
this.yname = this.loginMsg.userName this.yname = this.loginMsg.userName
...@@ -1983,7 +1980,7 @@ ...@@ -1983,7 +1980,7 @@
this.yzback = true this.yzback = true
this.yname = localStorage.getItem('yname') this.yname = localStorage.getItem('yname')
} }
this.nowdate = famartTime2(this.loginMsg.dataTime) this.cxsj = this.loginMsg.dataTime
this.bigclk = this.$route.query.jz ? true : false; this.bigclk = this.$route.query.jz ? true : false;
this.initHome() this.initHome()
this.initsignup() this.initsignup()
...@@ -2308,9 +2305,9 @@ ...@@ -2308,9 +2305,9 @@
width: 350px; width: 350px;
border-radius: 5px; border-radius: 5px;
z-index: 99; z-index: 99;
position: fixed; position: relative;
top: 110px; top: -150px;
left: 93px; left: 1%;
background: rgba(1, 1, 1, 0.8); background: rgba(1, 1, 1, 0.8);
padding-bottom: 5px; padding-bottom: 5px;
} }
......
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