|
@@ -10,7 +10,8 @@
|
10
|
10
|
<view class="topText">
|
11
|
11
|
<view class="topTextHeader">
|
12
|
12
|
<text>您好,{{ userData.name }}</text>
|
13
|
|
- <button v-show="!userData.online" class="changeHospital" size="mini" type="default" @click="changeHospital">切换院区</button>
|
|
13
|
+ <button v-show="!userData.online" class="changeHospital" size="mini" type="default"
|
|
14
|
+ @click="changeHospital">切换院区</button>
|
14
|
15
|
</view>
|
15
|
16
|
<view>当前积分 : {{ tabNum.score }}</view>
|
16
|
17
|
</view>
|
|
@@ -36,7 +37,7 @@
|
36
|
37
|
align-items: center;
|
37
|
38
|
justify-content: space-between;
|
38
|
39
|
">
|
39
|
|
- <view class="tbTitle"> {{ types }}已完成{{ tabNums }}单,共计{{tabScores}}分 </view>
|
|
40
|
+ <view class="tbTitle"> {{ types }}已完成工单{{ tabComplete }}单,未评价工单{{tabEvaluate}}单,共计得分{{tabScores}}分 </view>
|
40
|
41
|
<view class="tbText" @click="my_list(tabType)"> 查看明细>> </view>
|
41
|
42
|
</view>
|
42
|
43
|
<view class="canvasRing_wrap">
|
|
@@ -45,7 +46,7 @@
|
45
|
46
|
</view>
|
46
|
47
|
</view>
|
47
|
48
|
<view class="TB1" v-show="tabNums == 0 && !TBLoading">
|
48
|
|
- <view class="title"> {{ types }}已完成{{ tabNums }}单,共计{{tabScores}}分 </view>
|
|
49
|
+ <view class="title"> {{ types }}已完成工单{{ tabComplete }}单,未评价工单{{tabEvaluate}}单,共计得分{{tabScores}}分 </view>
|
49
|
50
|
<view class="cont"> 暂无数据 </view>
|
50
|
51
|
</view>
|
51
|
52
|
<view class="TB_list" v-show="!TBLoading">
|
|
@@ -98,7 +99,9 @@
|
98
|
99
|
tabNum: {},
|
99
|
100
|
BtData: [],
|
100
|
101
|
types: "今日",
|
101
|
|
- tabNums: "", //数量
|
|
102
|
+ tabNums: "", //总数量
|
|
103
|
+ tabComplete: "", //已完成工单数量
|
|
104
|
+ tabEvaluate: "", //未评价工单数量
|
102
|
105
|
tabScores: "", //积分
|
103
|
106
|
sxbType: false,
|
104
|
107
|
userData: {},
|
|
@@ -423,14 +426,20 @@
|
423
|
426
|
this.tabNum = res;
|
424
|
427
|
if (this.tabType == "day") {
|
425
|
428
|
this.tabNums = this.tabNum.day;
|
|
429
|
+ this.tabComplete = this.tabNum.dayComplete;
|
|
430
|
+ this.tabEvaluate = this.tabNum.dayEvaluate;
|
426
|
431
|
this.tabScores = this.tabNum.dayTotal;
|
427
|
432
|
}
|
428
|
433
|
if (this.tabType == "week") {
|
429
|
434
|
this.tabNums = this.tabNum.week;
|
|
435
|
+ this.tabComplete = this.tabNum.weekComplete;
|
|
436
|
+ this.tabEvaluate = this.tabNum.weekEvaluate;
|
430
|
437
|
this.tabScores = this.tabNum.weekTotal;
|
431
|
438
|
}
|
432
|
439
|
if (this.tabType == "month") {
|
433
|
440
|
this.tabNums = this.tabNum.month;
|
|
441
|
+ this.tabComplete = this.tabNum.monthComplete;
|
|
442
|
+ this.tabEvaluate = this.tabNum.monthEvaluate;
|
434
|
443
|
this.tabScores = this.tabNum.monthTotal;
|
435
|
444
|
}
|
436
|
445
|
this.getBtData();
|
|
@@ -615,6 +624,7 @@
|
615
|
624
|
margin-top: 26rpx;
|
616
|
625
|
|
617
|
626
|
.tbTitle {
|
|
627
|
+ width: 70%;
|
618
|
628
|
font-size: 32rpx;
|
619
|
629
|
color: rgb(72, 113, 127);
|
620
|
630
|
font-weight: 500;
|