修改bug
This commit is contained in:
parent
f6b12c03f6
commit
cf812b12b9
@ -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,6 +354,7 @@ const handlePatientSelect = async (patient) => {
|
|||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
|
patientItemsInfo.value = await SummaryApi.groupNameItemsOfMedicalSn(patient.medicalSn)
|
||||||
list.value = patientItemsInfo
|
list.value = patientItemsInfo
|
||||||
}
|
}
|
||||||
if(patientInfo.auditStatus == 0){
|
if(patientInfo.auditStatus == 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user