Commit 97585949 by lihu541

新增内容

parent e2246104
...@@ -640,7 +640,7 @@ export default { ...@@ -640,7 +640,7 @@ export default {
this.meddleinit() this.meddleinit()
console.log(this.loginMsg) console.log(this.loginMsg)
this.today = todayTime() this.today = this.commonJs.todayTime()
const obj = setInterval(() => { const obj = setInterval(() => {
if (document.getElementById("echarts")) { if (document.getElementById("echarts")) {
const dom = document.getElementById("echarts") const dom = document.getElementById("echarts")
...@@ -686,7 +686,7 @@ export default { ...@@ -686,7 +686,7 @@ export default {
if(res.code == 1 && res.data.length>0){ if(res.code == 1 && res.data.length>0){
that.userinfo = res.data[0] that.userinfo = res.data[0]
that.zdrq = that.userinfo.ZDRQ2 that.zdrq = that.userinfo.ZDRQ2
that.qysj = dateFormat(that.userinfo.QYSJ,'yyyy-MM-DD') that.qysj = this.commonJs.dateFormat(that.userinfo.QYSJ,'yyyy-MM-DD')
that.ysxm = that.userinfo.YSXM that.ysxm = that.userinfo.YSXM
} }
}) })
...@@ -778,7 +778,7 @@ export default { ...@@ -778,7 +778,7 @@ export default {
console.log('诊疗table信息列表'); console.log('诊疗table信息列表');
console.log(res); console.log(res);
res.data.listData.forEach((item, index) => { res.data.listData.forEach((item, index) => {
res.data.listData[index].JZKSRQ = dateFormat(item.JZKSRQ,'yyyy-MM-DD') res.data.listData[index].JZKSRQ = this.commonJs.dateFormat(item.JZKSRQ,'yyyy-MM-DD')
res.data.listData[index].JZFY = this.commonJs.getActiveNum(item.JZFY) res.data.listData[index].JZFY = this.commonJs.getActiveNum(item.JZFY)
res.data.listData[index].JZYF = this.commonJs.getActiveNum(item.JZYF) res.data.listData[index].JZYF = this.commonJs.getActiveNum(item.JZYF)
res.data.listData[index].QTFY = this.commonJs.getActiveNum(item.QTFY) res.data.listData[index].QTFY = this.commonJs.getActiveNum(item.QTFY)
...@@ -911,7 +911,7 @@ export default { ...@@ -911,7 +911,7 @@ export default {
"yljgdm":this.loginMsg.orgCode, "yljgdm":this.loginMsg.orgCode,
"parameter":{ "parameter":{
"lsh":deletestr(this.sblshNo), "lsh":deletestr(this.sblshNo),
"SBSJ":todayTime2(), "SBSJ":this.commonJs.todayTime2(),
"SBYY":this.loginMsg.orgName, "SBYY":this.loginMsg.orgName,
"JZCS":this.nowsbnum,//就诊次数 "JZCS":this.nowsbnum,//就诊次数
"MZFY":this.nowsbfee,//总费用 "MZFY":this.nowsbfee,//总费用
...@@ -974,7 +974,7 @@ export default { ...@@ -974,7 +974,7 @@ export default {
"gpgh":that.loginMsg.gpNumber, "gpgh":that.loginMsg.gpNumber,
"yljgdm":that.loginMsg.orgCode, "yljgdm":that.loginMsg.orgCode,
"parameter":{ "parameter":{
"GYSJ":todayTime2(), "GYSJ":this.commonJs.todayTime2(),
"JZCS_BZZ":"15",//就诊次数标准值 "JZCS_BZZ":"15",//就诊次数标准值
"JZCS_SZ":"12",//就诊次数实值 "JZCS_SZ":"12",//就诊次数实值
"SFZH":this.sfz, "SFZH":this.sfz,
...@@ -1040,7 +1040,7 @@ export default { ...@@ -1040,7 +1040,7 @@ export default {
"yljgdm":this.loginMsg.orgCode, "yljgdm":this.loginMsg.orgCode,
"parameter":{ "parameter":{
"lsh":deletestr(this.sblshNo), "lsh":deletestr(this.sblshNo),
"SBSJ":todayTime2(), "SBSJ":this.commonJs.todayTime2(),
"SBYY":this.loginMsg.orgName, "SBYY":this.loginMsg.orgName,
"JZCS":this.nowsbnum,//就诊次数 "JZCS":this.nowsbnum,//就诊次数
"MZFY":this.nowsbfee,//总费用 "MZFY":this.nowsbfee,//总费用
...@@ -1087,8 +1087,8 @@ export default { ...@@ -1087,8 +1087,8 @@ export default {
this.loading = false this.loading = false
}, },
dataSearch(value) { dataSearch(value) {
console.log(dateFormat(value)); console.log(this.commonJs.dateFormat(value));
let val = dateFormat(value) let val = this.commonJs.dateFormat(value)
this.cxsj = val this.cxsj = val
this.homeinti() this.homeinti()
this.tableinit() this.tableinit()
...@@ -1106,7 +1106,7 @@ export default { ...@@ -1106,7 +1106,7 @@ export default {
} }
}, },
timeChange(param){ timeChange(param){
return dateFormat(param) return this.commonJs.dateFormat(param)
}, },
changeAll(type,num) { changeAll(type,num) {
if(type==1){ 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