|
|
@@ -42,10 +42,8 @@
|
|
|
</van-cell-group>
|
|
|
</van-radio-group>
|
|
|
<van-cell
|
|
|
- v-if="showAddCard"
|
|
|
icon="add-o"
|
|
|
title="添加就诊人"
|
|
|
- :value="addCardText"
|
|
|
is-link
|
|
|
to="/createOrBind"
|
|
|
></van-cell>
|
|
|
@@ -68,12 +66,6 @@ const patientCards = computed(() => {
|
|
|
return store.state.patientCards
|
|
|
})
|
|
|
|
|
|
-const showAddCard = computed(() => {
|
|
|
- return patientCards.value.length < 5
|
|
|
-})
|
|
|
-const addCardText = computed(() => {
|
|
|
- return '还可添加' + (5 - patientCards.value.length) + '人'
|
|
|
-})
|
|
|
const changePatient = (patientId) => {
|
|
|
appointment.patientId = patientId
|
|
|
queryAppointmentCost()
|