dev
This commit is contained in:
parent
11e7998911
commit
16b5fec12a
|
|
@ -234,7 +234,10 @@ const setDateTip = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
watch(() => selectedDate.value, (newValue, oldValue) => {
|
watch(() => selectedDate.value, (newValue, oldValue) => {
|
||||||
|
curItem.value=null
|
||||||
|
emit('clickItem', curItem.value)
|
||||||
if (newValue == oldValue) {
|
if (newValue == oldValue) {
|
||||||
|
init()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (newValue == null) {
|
if (newValue == null) {
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,11 @@ const medicalHistoryRef = ref()
|
||||||
const patientCardRef = ref()
|
const patientCardRef = ref()
|
||||||
const patientRegistration = ref<any>({})// 当前挂号信息
|
const patientRegistration = ref<any>({})// 当前挂号信息
|
||||||
const clickItem = (item: any) => {
|
const clickItem = (item: any) => {
|
||||||
if (!item) return
|
if (!item){
|
||||||
|
initFormData()
|
||||||
|
medicalHistoryRef.value?.clearList();
|
||||||
|
return
|
||||||
|
}
|
||||||
curRegister.value = item
|
curRegister.value = item
|
||||||
registerId.value = item.id
|
registerId.value = item.id
|
||||||
itemId.value = item.id
|
itemId.value = item.id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue