|
|
@@ -1,22 +1,25 @@
|
|
|
<template>
|
|
|
<window-size>
|
|
|
- <van-notice-bar
|
|
|
+ <!-- <van-notice-bar
|
|
|
v-show="data.doctorSources.length > 0"
|
|
|
left-icon="warning-o"
|
|
|
text="挂号后,号源仅就诊当天有效,逾时失效!"
|
|
|
+ /> -->
|
|
|
+ <van-notice-bar
|
|
|
+ left-icon="warning-o"
|
|
|
+ text="挂号后,号源仅就诊当天有效,逾时失效!"
|
|
|
/>
|
|
|
<van-grid direction="horizontal" :column-num="7">
|
|
|
- <van-grid-item v-for="item in data.oneWeekText" :key="item" :text="'周' + item" />
|
|
|
+ <van-grid-item v-for="item in data.oneWeekText.slice(1)" :key="item" :text="'周' + item" />
|
|
|
</van-grid>
|
|
|
<van-grid direction="horizontal" :column-num="7">
|
|
|
- <van-grid-item v-for="(item, index) in data.nextSevenDate" :key="index">
|
|
|
- <van-badge :content="hasSource(index)" :color="badgeColor(index)">
|
|
|
+ <van-grid-item v-for="(item, index) in data.nextSevenDate.slice(1)" :key="index+1">
|
|
|
+ <van-badge :content="hasSource(index+1)" :color="badgeColor(index+1)">
|
|
|
<van-button
|
|
|
- :disabled="disabledBtn(index)"
|
|
|
- :type="getType(index)"
|
|
|
+ :type="getType(index+1)"
|
|
|
size="small"
|
|
|
round
|
|
|
- @click="handleClickDate(index, false)"
|
|
|
+ @click="handleClickDate(index+1, false)"
|
|
|
>{{ item.date }}</van-button
|
|
|
>
|
|
|
</van-badge>
|
|
|
@@ -149,7 +152,7 @@ onMounted(() => {
|
|
|
if (res.description) {
|
|
|
data.deptDescription = res.description.replaceAll('\r\n', '<br/>')
|
|
|
}
|
|
|
- handleClickDate(0, true)
|
|
|
+ handleClickDate(1, true)
|
|
|
})
|
|
|
})
|
|
|
</script>
|