eight
2024-10-23 83bc7f6d33934f56fd1df80c7e8975e7c887d606
src/views/ecg/appointment/index.vue
@@ -149,7 +149,7 @@
          class="!w-240px"
        >
          <el-option
            v-for="dict in getIntDictOptions(DICT_TYPE.ECG_CHECK_TYPE)"
            v-for="dict in checkTypeStore.getCheckTypeOptions()"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
@@ -229,7 +229,7 @@
      </el-table-column>
      <el-table-column label="预约检查类型" align="center" prop="bookCheckType">
        <template #default="scope">
          <dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="scope.row.bookCheckType" />
          checkTypeStore.getCheckTypeName(scope.row.bookCheckType)
        </template>
      </el-table-column>
      <el-table-column label="预约来源" align="center" prop="bookSrc">
@@ -277,6 +277,7 @@
import download from '@/utils/download'
import { AppointmentApi, AppointmentVO } from '@/api/ecg/appointment'
import AppointmentForm from './AppointmentForm.vue'
import {useCheckTypeStore} from "@/store/modules/checkType";
/** 预约 列表 */
defineOptions({ name: 'Appointment' })
@@ -312,6 +313,8 @@
const queryFormRef = ref() // 搜索的表单
const exportLoading = ref(false) // 导出的加载中
const checkTypeStore = useCheckTypeStore();
/** 查询列表 */
const getList = async () => {
  loading.value = true