eight
2025-04-11 22a9a5fe525fb893ecaa8d4a8bfb65169ce02fc4
src/views/ecg/appointment/AppointmentForm.vue
@@ -26,7 +26,7 @@
              <el-radio
                  v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_USER_SEX)"
                  :key="dict.value"
                  :label="dict.value"
                  :value="dict.value"
              >
                {{ dict.label }}
              </el-radio>
@@ -219,7 +219,7 @@
    }
  }
}
const openByQueue = async (type: string, patId: string) => {
const openByQueue = async (type: string, patId: string, checkType: number) => {
  dialogVisible.value = true
  dialogTitle.value = t('action.' + type)
  formType.value = type
@@ -228,7 +228,7 @@
  if (patId) {
    formLoading.value = true
    try {
      formData.value = await AppointmentApi.getCurAppointmentByPatId( patId )
      formData.value = await AppointmentApi.getCurAppointmentByPatIdAndCheckType( patId, checkType )
    } finally {
      formLoading.value = false
    }
@@ -282,7 +282,7 @@
    bookTime: undefined,
    bookDate: new Date().getTime(),
    bookTimeslot: 9000930,
    bookCheckType: checkTypeStore.getCheckTypeName(100),
    bookCheckType: getCheckTypeName(100),
    paid: 0,
  }
  formRef.value?.resetFields()