|
@@ -26,7 +26,7 @@
|
|
|
<van-tag type="primary" plain style="margin-left: 5px">{{ data.dateSelected }}</van-tag>
|
|
|
<div style="height: 5px"></div>
|
|
|
<div v-for="(item, index) in data.doctorSources" :key="index">
|
|
|
- <van-cell center :title="item.doctorName + ' | ' + item.chargeType" is-link @click="toDoctorArangement(item)">
|
|
|
+ <van-cell center is-link @click="toDoctorArangement(item)">
|
|
|
<template #icon>
|
|
|
<van-image
|
|
|
style="width: 44.11px; height: 60.36px"
|
|
@@ -35,6 +35,10 @@
|
|
|
:src="'data:image/png;base64,' + item.portrait"
|
|
|
/>
|
|
|
</template>
|
|
|
+ <template #title>
|
|
|
+ <span>{{item.doctorName}} | {{item.chargeType}}</span>
|
|
|
+ <span v-if="item.isP4Request" style="color: red">(夜间)</span>
|
|
|
+ </template>
|
|
|
<template #label>
|
|
|
<div :style="labelStyle" v-show="item.introduction">{{ item.introduction }}</div>
|
|
|
</template>
|
|
@@ -99,11 +103,9 @@ export default {
|
|
|
date: data.dateSelected,
|
|
|
deptCode: deptCode,
|
|
|
}
|
|
|
- getDoctorSources(param)
|
|
|
- .then((res) => {
|
|
|
+ getDoctorSources(param).then((res) => {
|
|
|
data.doctorSources = res
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
+ }).catch(() => {
|
|
|
data.doctorSources = []
|
|
|
if (isFromMounted && index < 6) {
|
|
|
handleClickDate(++index, isFromMounted)
|