Merge branch 'main' of http://114.55.171.231:3000/lxd/inspect-front
This commit is contained in:
commit
00187774c9
@ -172,7 +172,7 @@ const TEMPLATE_KEY = getCurrentInstance().type.name; // 存储模板对象的 ke
|
||||
const { paperTypes, curPaperType, paperPopVisible, paperWidth, paperHeight, showPaperPop, setPaper, setPaperOther } = usePaper(TEMPLATE_KEY);
|
||||
const { scaleValue, changeScale } = useZoom(TEMPLATE_KEY);
|
||||
const goto = async () => {
|
||||
const dataPrint = await SummaryApi.printInfoOfMedicalSn("17407232640657956")
|
||||
const dataPrint = await SummaryApi.printInfoOfMedicalSn("123456789")
|
||||
hiprintTemplate = newHiprintPrintTemplate(TEMPLATE_KEY, {
|
||||
template: templateRef.value, // 模板json(object)
|
||||
settingContainer: "#PrintElementOptionSetting", // 元素参数容器
|
||||
@ -338,9 +338,8 @@ const handlePatientSelect = async (patient) => {
|
||||
medicalSn.value = patient.medicalSn
|
||||
selectedPatient.value = patient
|
||||
const patientInfo = await SummaryApi.getPatient(patient.medicalSn)
|
||||
const patientItemsInfo = await SummaryApi.groupNameItemsOfMedicalSn(patient.medicalSn)
|
||||
const patientItemsInfo = ref()
|
||||
formData2.value = patientInfo
|
||||
//list.value = patientItemsInfo
|
||||
if(patientInfo.auditStatus == 0 || patientInfo.auditStatus == 2){
|
||||
editFlag.value = false
|
||||
}else {
|
||||
@ -355,12 +354,13 @@ const handlePatientSelect = async (patient) => {
|
||||
]),
|
||||
})
|
||||
}else {
|
||||
list.value = patientItemsInfo
|
||||
patientItemsInfo.value = await SummaryApi.groupNameItemsOfMedicalSn(patient.medicalSn)
|
||||
list.value = patientItemsInfo.value
|
||||
}
|
||||
if(patientInfo.auditStatus == 0){
|
||||
analyseFlag.value = true;
|
||||
showNumbers.value = true; // 切换显示序号的状态
|
||||
list3.value = patientItemsInfo
|
||||
list3.value = patientItemsInfo.value
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user