提交更新1

parent 4b24ea91
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<view class="school-report-context"> <view class="school-report-context">
<view class="school-report-context-tab"> <view class="school-report-context-tab">
<view class="school-report-context-tab-item"> <view class="school-report-context-tab-item">
<view class="school-report-context-tab-item-one" :class="tabIndex==1?'active':''" <view v-if="isService" class="school-report-context-tab-item-one" :class="tabIndex==1?'active':''"
@tap="tabTap(1)"> @tap="tabTap(1)">
<text>消费报告</text> <text>消费报告</text>
</view> </view>
...@@ -814,6 +814,7 @@ ...@@ -814,6 +814,7 @@
// 会员信息 // 会员信息
// 消费 // 消费
isOpen: false, isOpen: false,
isService:false,
// 出入校 // 出入校
isAttendanceOpen: false, isAttendanceOpen: false,
isAttendanceService: false, isAttendanceService: false,
...@@ -835,6 +836,11 @@ ...@@ -835,6 +836,11 @@
return return
} }
this.showReport = true; this.showReport = true;
if (new Date().getTime() <= new Date('2022/06/30').getTime()) {
this.isService=true;
}else{
this.queryIsDredgeMember(1001);
}
// 有无进出校公话服务 // 有无进出校公话服务
this.queryIsDredgeMember(2001); this.queryIsDredgeMember(2001);
this.queryIsDredgeMember(3001); this.queryIsDredgeMember(3001);
...@@ -1913,6 +1919,9 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`, ...@@ -1913,6 +1919,9 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
return return
} }
switch (serviceItemCode) { switch (serviceItemCode) {
case 1001:
this.isService = data.obj.status;
break;
case 1002: case 1002:
this.isOpen = data.obj.status; this.isOpen = data.obj.status;
if (!this.isOpen) { if (!this.isOpen) {
......
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