|
@@ -770,6 +770,7 @@ import LendOut from "@/components/inpatient/frontsheet-printpage/LendOut.vue";
|
|
|
import ExportDclExcel from "@/components/inpatient/frontsheet-printpage/ExportDclExcel.vue";
|
|
|
import { useUserStore } from "@/pinia/user-store";
|
|
|
import { useDialog } from "@/components/cy/CyDialog/index";
|
|
|
+import { deepClone } from "@/components/fullScreen/utils";
|
|
|
|
|
|
const showSheetQuality = ref(false);
|
|
|
const currentPage = ref(1);
|
|
@@ -1299,13 +1300,22 @@ const execPrint = flag => {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+const initSheetLineData = (val) => {
|
|
|
+ val.infAge == '-'?val.infAge = null:false
|
|
|
+ val.ageDays == '-'?val.ageDays = null:false
|
|
|
+ val.newBornWeight1 == '-'?val.newBornWeight1 = null:false
|
|
|
+ val.newBornWeight2 == '-'?val.newBornWeight2 = null:false
|
|
|
+ val.newBornAdmissWeight == '-'?val.newBornAdmissWeight = null:false
|
|
|
+};
|
|
|
const archiveBa = () => {
|
|
|
if (nullPatient()) {
|
|
|
return;
|
|
|
}
|
|
|
+ let val = deepClone(sheet.value,true)
|
|
|
+ initSheetLineData(val)
|
|
|
const param = {
|
|
|
opType: 2,
|
|
|
- sheet: sheet.value,
|
|
|
+ sheet: val,
|
|
|
};
|
|
|
executeSaveVerify(param)
|
|
|
.then(() => {
|
|
@@ -1497,6 +1507,7 @@ onMounted(() => {
|
|
|
const t = getOneMonthOffset();
|
|
|
dateRange.value[0] = t.start;
|
|
|
dateRange.value[1] = t.end;
|
|
|
+ searchPatient()
|
|
|
});
|
|
|
});
|
|
|
});
|