|
|
|
|
@ -5,11 +5,7 @@ |
|
|
|
|
<div class="no_title">查询无结果</div> |
|
|
|
|
<div class="no_txt">暂无您的预约项目,请选择医院后进行预约</div> |
|
|
|
|
</div> |
|
|
|
|
<van-list |
|
|
|
|
:finished="finished" |
|
|
|
|
finished-text="没有更多了" |
|
|
|
|
@load="onLoad" |
|
|
|
|
> |
|
|
|
|
<van-list :finished="finished" finished-text="没有更多了" @load="onLoad"> |
|
|
|
|
<van-cell class="exam_box" v-for="item in examArr" :key="item.id"> |
|
|
|
|
<div class="time_box">{{ item.createDeptName }}</div> |
|
|
|
|
<div class="pro_box" v-for="item1 in item.details" :key="item1.id"> |
|
|
|
|
@ -30,7 +26,8 @@ |
|
|
|
|
<img v-else src="~@/assets/image/pro_gray.png" alt="" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="pro_name">{{ item1.project }} </div> |
|
|
|
|
<div class="pro_pos" :class="[item1.apmStatus === 2 ? 'tips' : item1.apmStatus == 1 ? 'cancel_tip' : '',]"> |
|
|
|
|
<div class="pro_pos" |
|
|
|
|
:class="[item1.apmStatus === 2 ? 'tips' : item1.apmStatus == 1 ? 'cancel_tip' : '',]"> |
|
|
|
|
{{ |
|
|
|
|
item1.apmStatus == 1 ? '您的体检项目已取消' : item1.apmStatus == 3 ? '体检项目已完成' : (item1.apmStatus == 2 && |
|
|
|
|
item1.lastExamTime == 0) ? '您的体检已过期' : item1.limitTime |
|
|
|
|
@ -363,7 +360,11 @@ export default { |
|
|
|
|
let retData = JSON.parse(value); |
|
|
|
|
if (retData.code == 200) { |
|
|
|
|
this.$toast('操作成功'); |
|
|
|
|
setTimeout(() => { |
|
|
|
|
this.current = 1; |
|
|
|
|
this.examArr = [] |
|
|
|
|
this.queryMyRecord(); |
|
|
|
|
}, 500); |
|
|
|
|
} |
|
|
|
|
}, err => { |
|
|
|
|
}) |
|
|
|
|
@ -373,7 +374,11 @@ export default { |
|
|
|
|
console.log(res) |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
this.$toast('操作成功'); |
|
|
|
|
setTimeout(() => { |
|
|
|
|
this.current = 1; |
|
|
|
|
this.examArr = [] |
|
|
|
|
this.queryMyRecord(); |
|
|
|
|
}, 500); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|