Commit e2246104 by lihu541

新增内容

parent 5cac6fc6
......@@ -2,7 +2,7 @@
<div class="outer">
<section class="container">
<section class="header">
<div class="nav" @click="goExit"><img src="../assets/images/iconmainnav.png"></div>
<div class="nav" @click="goExit"><img src="~assets/img/header/iconmainnav.png"></div>
<div class="headeright2">
<div class="fytitle">居民就诊分析</div>
<div class="fybutton">
......@@ -484,8 +484,8 @@
</template>
<script>
import {contract,dosave} from '@/api/home'
import {famartTime,orderTime,deletestr,famartTime2,todayTime2,checkIsNull,returnIco,todayTime,getActiveNum} from '@/utils/validate.js'
import {getPageData,dosave} from '@/api/home'
export default {
components: {},
name: 'Member',
......@@ -657,7 +657,7 @@ export default {
let that = this
//调用标准值接口
let param3 = {"key":"bzz-zd","tjsj":this.cxsj.slice(0,4)}
contract(that.token,param3).then(res => {
getPageData(that.token,param3).then(res => {
console.log('打印标注值')
console.log(res.data)
res.data.forEach((item, index) => {
......@@ -681,12 +681,12 @@ export default {
"sfzh":this.sfz
}
}
contract(that.token,param).then(res => {
getPageData(that.token,param).then(res => {
console.log('居民基本信息:');console.log(res);
if(res.code == 1 && res.data.length>0){
that.userinfo = res.data[0]
that.zdrq = that.userinfo.ZDRQ2
that.qysj = famartTime(that.userinfo.QYSJ)
that.qysj = dateFormat(that.userinfo.QYSJ,'yyyy-MM-DD')
that.ysxm = that.userinfo.YSXM
}
})
......@@ -700,22 +700,22 @@ export default {
"sfzh":this.sfz
}
}
contract(that.token,param2).then(res => {
getPageData(that.token,param2).then(res => {
console.log('民就诊分析-费用信息-门诊:');console.log(res);
let obj = {value:1,val1:0,val2:0,val3:0,wai1:0,wai2:0,wai3:0}
if(res.code == 1 && res.data.length>0){
this.feeinfo = res.data[0]
//读取次数
//this.jzbzz = getActiveNum(res.data[0].JZCS_BZZ)
this.jzzxz = getActiveNum(res.data[0].JZCS_ZXZ)
//this.jzbzz = this.commonJs.getActiveNum(res.data[0].JZCS_BZZ)
this.jzzxz = this.commonJs.getActiveNum(res.data[0].JZCS_ZXZ)
if(this.jzzxz!='-'){
this.jzcbb = this.jzbzz/this.jzzxz
}
//读取金额
//this.jzbzfy = res.data[0].MZFY_BZZ
this.jzzxfy = res.data[0].MZFY_ZXZ
this.jzpld = getActiveNum(res.data[0].MZFY_PLD)
this.jzpld = this.commonJs.getActiveNum(res.data[0].MZFY_PLD)
// JZCS_YJ(ZHNJZCS_YJ)
// JZCS_EJ(ZHNJZCS_EJ)
......@@ -774,14 +774,14 @@ export default {
}
}
this.Treadetaildatalist = []
contract(that.token,param1).then(res => {
getPageData(that.token,param1).then(res => {
console.log('诊疗table信息列表');
console.log(res);
res.data.listData.forEach((item, index) => {
res.data.listData[index].JZKSRQ = famartTime(item.JZKSRQ)
res.data.listData[index].JZFY = getActiveNum(item.JZFY)
res.data.listData[index].JZYF = getActiveNum(item.JZYF)
res.data.listData[index].QTFY = getActiveNum(item.QTFY)
res.data.listData[index].JZKSRQ = dateFormat(item.JZKSRQ,'yyyy-MM-DD')
res.data.listData[index].JZFY = this.commonJs.getActiveNum(item.JZFY)
res.data.listData[index].JZYF = this.commonJs.getActiveNum(item.JZYF)
res.data.listData[index].QTFY = this.commonJs.getActiveNum(item.QTFY)
this.Treadetaildatalist = res.data.listData
})
})
......@@ -803,13 +803,13 @@ export default {
"sb_type":0 //0=门诊/1=住院
}
}
contract(that.token,param).then(res => {
getPageData(that.token,param).then(res => {
console.log('打印上报明细列表:');
console.log(res);
if(res.code == 1 && res.data.listData.length > 0){
res.data.listData.forEach((item, index) => {
res.data.listData[index].JZCS = getActiveNum(item.JZCS)
res.data.listData[index].MZFY = getActiveNum(item.MZFY / 1000)
res.data.listData[index].JZCS = this.commonJs.getActiveNum(item.JZCS)
res.data.listData[index].MZFY = this.commonJs.getActiveNum(item.MZFY / 1000)
this.Reportdetaildatalist = res.data.listData
})
}
......@@ -832,13 +832,13 @@ export default {
"gy_type":0//--明细类型,0=门诊费用/1=门诊次数/2=住院费用
}
}
contract(that.token,param).then(res => {
getPageData(that.token,param).then(res => {
console.log('打印干预明细列表:');
console.log(res);
if(res.code == 1 && res.data.listData.length > 0){
res.data.listData.forEach((item, index) => {
res.data.listData[index].JZCS = getActiveNum(item.JZCS)
res.data.listData[index].MZFY = getActiveNum(item.MZFY / 1000)
res.data.listData[index].JZCS = this.commonJs.getActiveNum(item.JZCS)
res.data.listData[index].MZFY = this.commonJs.getActiveNum(item.MZFY / 1000)
this.Meddledetaildatalist = res.data.listData
})
}
......@@ -895,7 +895,7 @@ export default {
this.istc = !this.istc
},
iconshow(param){
return returnIco(param)
return this.commonJs.getZdrqTag(param)
},
addcount(param1='',param2='',param3=''){
return param1+param2+param3
......@@ -1087,8 +1087,8 @@ export default {
this.loading = false
},
dataSearch(value) {
console.log(famartTime2(value));
let val = famartTime2(value)
console.log(dateFormat(value));
let val = dateFormat(value)
this.cxsj = val
this.homeinti()
this.tableinit()
......@@ -1106,7 +1106,7 @@ export default {
}
},
timeChange(param){
return famartTime2(param)
return dateFormat(param)
},
changeAll(type,num) {
if(type==1){
......
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