|
@@ -256,7 +256,7 @@
|
256
|
256
|
</span>
|
257
|
257
|
<span v-if="lapsetoType == 0 || lapsetoType == 2"><p>转出:{{outTotal}}人({{(outTotal/patientCount*100).toFixed(1)}}%)</p>
|
258
|
258
|
<el-progress :percentage="(outTotal/patientCount*100).toFixed(1)"></el-progress>
|
259
|
|
- </span>
|
|
259
|
+ </span>
|
260
|
260
|
</div>
|
261
|
261
|
</div>
|
262
|
262
|
<div class="infoOne">
|
|
@@ -709,7 +709,7 @@ export default {
|
709
|
709
|
//获取本月当前机构的透析模式
|
710
|
710
|
const startDate = moment().subtract('month', 0).format('YYYY-MM') + '-01'
|
711
|
711
|
const endDate = moment(new Date()).format('YYYY-MM-DD')
|
712
|
|
-
|
|
712
|
+
|
713
|
713
|
var now = new Date()
|
714
|
714
|
var nowMonth = now.getMonth(); //当前月
|
715
|
715
|
var nowYear = now.getFullYear(); //当前年
|
|
@@ -720,7 +720,7 @@ export default {
|
720
|
720
|
//本月的结束时间
|
721
|
721
|
var monthEndDate = new Date(nowYear, nowMonth+1, 0);
|
722
|
722
|
var timeEnd=Date.parse(monthEndDate)/1000-1;//s
|
723
|
|
- // console.log("本月最后一天",timeEnd)
|
|
723
|
+ console.log("本月最后一天",timeEnd)
|
724
|
724
|
//本月
|
725
|
725
|
if(state == 0){
|
726
|
726
|
//统计透析总量
|
|
@@ -745,7 +745,7 @@ export default {
|
745
|
745
|
this.listQuery.start_time = ""
|
746
|
746
|
this.listQuery.end_time = ""
|
747
|
747
|
const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
|
748
|
|
-
|
|
748
|
+
|
749
|
749
|
var startunitx = Date.parse(startDate)/1000
|
750
|
750
|
// console.log("开始时间搓",startunitx)
|
751
|
751
|
const endDate = moment(new Date()).format('YYYY-MM-DD')
|
|
@@ -929,7 +929,7 @@ export default {
|
929
|
929
|
},
|
930
|
930
|
//统计转归
|
931
|
931
|
getTotalLapseCount(startDate,endDate,lapsetoType,sourceType ){
|
932
|
|
-
|
|
932
|
+
|
933
|
933
|
this.modesDataTwo.series = []
|
934
|
934
|
this.modesDataTwo.xAxis = []
|
935
|
935
|
getTotalLapseCount(startDate,endDate,lapsetoType,sourceType).then(response=>{
|
|
@@ -939,7 +939,7 @@ export default {
|
939
|
939
|
{name:"转出",count:0}
|
940
|
940
|
]
|
941
|
941
|
var patients = response.data.data.patients
|
942
|
|
-
|
|
942
|
+
|
943
|
943
|
this.rollOutTotal = patients.length
|
944
|
944
|
|
945
|
945
|
var patienttwo = response.data.data.patienttwo
|
|
@@ -948,7 +948,7 @@ export default {
|
948
|
948
|
this.patientCount = count
|
949
|
949
|
|
950
|
950
|
var rollout = response.data.data.rollout
|
951
|
|
-
|
|
951
|
+
|
952
|
952
|
|
953
|
953
|
for(let i=0;i<arr.length;i++){
|
954
|
954
|
arr[0].count = this.rollOutTotal
|
|
@@ -1000,7 +1000,7 @@ export default {
|
1000
|
1000
|
getTotalAgeCount(timeStar,timeEnd,lapsetoType,sourceType).then(response=>{
|
1001
|
1001
|
if(response.data.state == 1){
|
1002
|
1002
|
var ageCount = response.data.data.ageCount
|
1003
|
|
-
|
|
1003
|
+
|
1004
|
1004
|
var arr = []
|
1005
|
1005
|
arr = ageCount.sort(this.compare('age'))
|
1006
|
1006
|
this.ageCount = arr
|
|
@@ -1022,7 +1022,7 @@ export default {
|
1022
|
1022
|
getTotalDialysisCount(timeStar,timeEnd,lapsetoType,sourceType).then(response=>{
|
1023
|
1023
|
if(response.data.state == 1){
|
1024
|
1024
|
var dataage = response.data.data.dataage
|
1025
|
|
-
|
|
1025
|
+
|
1026
|
1026
|
this.dialysisAge = dataage
|
1027
|
1027
|
|
1028
|
1028
|
}
|
|
@@ -1153,7 +1153,7 @@ export default {
|
1153
|
1153
|
start_time:this.start,
|
1154
|
1154
|
end_time:this.end,
|
1155
|
1155
|
mode_id:this.mode_id,
|
1156
|
|
-
|
|
1156
|
+
|
1157
|
1157
|
}
|
1158
|
1158
|
this.modesData.series = []
|
1159
|
1159
|
this.modesData.xAxis = []
|