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 { paperTypes, curPaperType, paperPopVisible, paperWidth, paperHeight, showPaperPop, setPaper, setPaperOther } = usePaper(TEMPLATE_KEY);
|
||||||
const { scaleValue, changeScale } = useZoom(TEMPLATE_KEY);
|
const { scaleValue, changeScale } = useZoom(TEMPLATE_KEY);
|
||||||
const goto = async () => {
|
const goto = async () => {
|
||||||
const dataPrint = await SummaryApi.printInfoOfMedicalSn("17407232640657956")
|
const dataPrint = await SummaryApi.printInfoOfMedicalSn("123456789")
|
||||||
hiprintTemplate = newHiprintPrintTemplate(TEMPLATE_KEY, {
|
hiprintTemplate = newHiprintPrintTemplate(TEMPLATE_KEY, {
|
||||||
template: templateRef.value, // 模板json(object)
|
template: templateRef.value, // 模板json(object)
|
||||||
settingContainer: "#PrintElementOptionSetting", // 元素参数容器
|
settingContainer: "#PrintElementOptionSetting", // 元素参数容器
|
||||||
@ -338,9 +338,8 @@ const handlePatientSelect = async (patient) => {
|
|||||||
medicalSn.value = patient.medicalSn
|
medicalSn.value = patient.medicalSn
|
||||||
selectedPatient.value = patient
|
selectedPatient.value = patient
|
||||||
const patientInfo = await SummaryApi.getPatient(patient.medicalSn)
|
const patientInfo = await SummaryApi.getPatient(patient.medicalSn)
|
||||||
const patientItemsInfo = await SummaryApi.groupNameItemsOfMedicalSn(patient.medicalSn)
|
const patientItemsInfo = ref()
|
||||||
formData2.value = patientInfo
|
formData2.value = patientInfo
|
||||||
//list.value = patientItemsInfo
|
|
||||||
if(patientInfo.auditStatus == 0 || patientInfo.auditStatus == 2){
|
if(patientInfo.auditStatus == 0 || patientInfo.auditStatus == 2){
|
||||||
editFlag.value = false
|
editFlag.value = false
|
||||||
}else {
|
}else {
|
||||||
@ -355,12 +354,13 @@ const handlePatientSelect = async (patient) => {
|
|||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
list.value = patientItemsInfo
|
patientItemsInfo.value = await SummaryApi.groupNameItemsOfMedicalSn(patient.medicalSn)
|
||||||
|
list.value = patientItemsInfo.value
|
||||||
}
|
}
|
||||||
if(patientInfo.auditStatus == 0){
|
if(patientInfo.auditStatus == 0){
|
||||||
analyseFlag.value = true;
|
analyseFlag.value = true;
|
||||||
showNumbers.value = true; // 切换显示序号的状态
|
showNumbers.value = true; // 切换显示序号的状态
|
||||||
list3.value = patientItemsInfo
|
list3.value = patientItemsInfo.value
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user