src/store/modules/checkType.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/ecg/doctor/components/DevReadyPanel.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/store/modules/checkType.ts
@@ -61,7 +61,7 @@ if (!this.isSetCheckType) { this.setCheckTypeMap() } return this.checkTypeMap[type].name return this.checkTypeMap[type]?.name }, getCheckTypeOptions() { if (!this.isSetCheckType) { @@ -78,7 +78,7 @@ if (!this.isSetCheckType) { this.setCheckTypeMap() } return this.checkTypeMap[type].displayBarcode return this.checkTypeMap[type]?.displayBarcode }, getCheckTypeNotes(type: number) { if (!this.isSetCheckType) { @@ -96,7 +96,7 @@ if (!this.isSetCheckType) { this.setCheckTypeMap() } return this.checkTypeMap[type].expenseRecognition return this.checkTypeMap[type]?.expenseRecognition }, async resetCheckTypeInfo() { wsCache.delete(CACHE_KEY.CHECKTYPE_CACHE) src/views/ecg/doctor/components/DevReadyPanel.vue
@@ -11,7 +11,7 @@ v-loading="formLoading" > <el-form-item label="检查项目" prop=""> {{formData?.checkType && getCheckTypeName(formData?.checkType)}} {{getCheckTypeName(formData.checkType)}} </el-form-item> <el-form-item label="患者编号" prop="patId"> <el-input v-model="formData.patId" placeholder="请输入患者编号" @input="getRentInfoByPatId" /> @@ -469,9 +469,14 @@ if (formData.value.checkType == null) return "" const displayBarcode: number[] = checkTypeStore.getCheckTypeDispBarCode(formData.value.checkType!) if (formData.value.patDetails == null || formData.value.patDetails.source == null || !displayBarcode.includes( formData.value.patDetails.source )) if (formData.value.patDetails?.source == null) return "" const displayBarcode: number[] = checkTypeStore.getCheckTypeDispBarCode(formData.value.checkType) if (displayBarcode == null || displayBarcode.length === 0) return "" if (!displayBarcode.includes( formData.value.patDetails.source )) return "" return getBarcode()