|
@ -33,7 +33,7 @@ |
|
|
<view class="h2" v-if="timerArr.length">上午</view> |
|
|
<view class="h2" v-if="timerArr.length">上午</view> |
|
|
<view class="time_box"> |
|
|
<view class="time_box"> |
|
|
<view class="time_item" v-for="(item,index) in timerArr" :key="index" @click="chooseCourse(item)" :class="{active: courseIds.indexOf(item.classTime)!=-1, disable: item.status==2}" > |
|
|
<view class="time_item" v-for="(item,index) in timerArr" :key="index" @click="chooseCourse(item)" :class="{active: courseIds.indexOf(item.classTime)!=-1, disable: item.status==2}" > |
|
|
<view class="flex" v-if="item.status==0"> |
|
|
|
|
|
|
|
|
<view class="flex" v-if="item.status==0||item.status==3"> |
|
|
<view class="lab">{{ item.appointmentAlreadyCount ||0 }} <text>/</text> {{ item.appointmentSumCount}} </view> |
|
|
<view class="lab">{{ item.appointmentAlreadyCount ||0 }} <text>/</text> {{ item.appointmentSumCount}} </view> |
|
|
<view class="iconArrowBg" v-if="item.appointmentAlreadyCount"> |
|
|
<view class="iconArrowBg" v-if="item.appointmentAlreadyCount"> |
|
|
<u-icon name="arrow-right" :size="10" :color="'#fff'"></u-icon> |
|
|
<u-icon name="arrow-right" :size="10" :color="'#fff'"></u-icon> |
|
@ -46,7 +46,7 @@ |
|
|
<view class="h2" v-if="timerArr2.length">下午</view> |
|
|
<view class="h2" v-if="timerArr2.length">下午</view> |
|
|
<view class="time_box"> |
|
|
<view class="time_box"> |
|
|
<view class="time_item" v-for="(item,index) in timerArr2" :key="index" @click="chooseCourse(item)" :class="{active: courseIds.indexOf(item.classTime)!=-1, disable: item.status==2}"> |
|
|
<view class="time_item" v-for="(item,index) in timerArr2" :key="index" @click="chooseCourse(item)" :class="{active: courseIds.indexOf(item.classTime)!=-1, disable: item.status==2}"> |
|
|
<view class="flex" v-if="item.status==0"> |
|
|
|
|
|
|
|
|
<view class="flex" v-if="item.status==0||item.status==3"> |
|
|
<view class="lab">{{ item.appointmentAlreadyCount ||0 }} <text>/</text> {{ item.appointmentSumCount}} </view> |
|
|
<view class="lab">{{ item.appointmentAlreadyCount ||0 }} <text>/</text> {{ item.appointmentSumCount}} </view> |
|
|
<view class="iconArrowBg" v-if="item.appointmentAlreadyCount"> |
|
|
<view class="iconArrowBg" v-if="item.appointmentAlreadyCount"> |
|
|
<u-icon name="arrow-right" :size="10" :color="'#fff'"></u-icon> |
|
|
<u-icon name="arrow-right" :size="10" :color="'#fff'"></u-icon> |
|
@ -236,8 +236,8 @@ |
|
|
// return |
|
|
// return |
|
|
if(this.step!=2) { |
|
|
if(this.step!=2) { |
|
|
// 如果有预约 |
|
|
// 如果有预约 |
|
|
console.log(item) |
|
|
|
|
|
if(item.appointmentAlreadyCount&&item.status==0) { |
|
|
|
|
|
|
|
|
console.log('如果有预约') |
|
|
|
|
|
if(item.appointmentAlreadyCount) { |
|
|
this.$goPage('/pages/recordEntry/operate/mySchedule/detail/detail?id='+ item.id) |
|
|
this.$goPage('/pages/recordEntry/operate/mySchedule/detail/detail?id='+ item.id) |
|
|
} |
|
|
} |
|
|
}else { |
|
|
}else { |
|
|