|
@@ -31,6 +31,7 @@
|
|
|
>
|
|
|
<el-button type="primary" icon="Refresh" @click="clearPatient"
|
|
|
>清空</el-button>
|
|
|
+ <PrintSelect @getPrintCode="selectPrintCode"></PrintSelect>
|
|
|
</header>
|
|
|
<div class="layout_main">
|
|
|
<div class="demo-collapse">
|
|
@@ -916,8 +917,8 @@ import env from "@/utils/setting.ts";
|
|
|
import router from "@/router";
|
|
|
import { useUserStore } from "@/pinia/user-store";
|
|
|
import ReadCard from "@/components/medical-insurance/readcard/Index.vue";
|
|
|
+import PrintSelect from "@/components/zfsf/PrintSelect.vue";
|
|
|
const updatePatientIdVisible = ref(false);
|
|
|
-const printIndex = ref(-1);
|
|
|
const normalWristStrapPrintIndex = ref(-1);
|
|
|
const childWristStrapPrintIndex = ref(-1);
|
|
|
const activeName = ref(["1", "2", "3", "4", "5", "6", "7"]);
|
|
@@ -1059,6 +1060,12 @@ const queryPatientByZyh = () => {
|
|
|
);
|
|
|
};
|
|
|
|
|
|
+const selectPrintCode = (val)=>{
|
|
|
+ normalWristStrapPrintIndex.value = val
|
|
|
+ childWristStrapPrintIndex.value = val
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
const fetchPatient = row => {
|
|
|
setAdmissFormData(row);
|
|
|
patientVisible.value = false;
|
|
@@ -1522,6 +1529,9 @@ const saveAdmissData = () => {
|
|
|
mzNo: admissFormData.value.patientId,
|
|
|
};
|
|
|
saveZyPatient(zyPatient).then(ress => {
|
|
|
+ if(admissFormData.value.age > 12){
|
|
|
+ printWristStrap()
|
|
|
+ }
|
|
|
ElMessageBox.confirm("是否跳转预交金处理页面", {
|
|
|
cancelButtonText: "否",
|
|
|
confirmButtonText: "是",
|
|
@@ -1538,6 +1548,7 @@ const saveAdmissData = () => {
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
+
|
|
|
// 删除入院登记数据
|
|
|
const deleteAdmissData = () => {
|
|
|
if (stringIsBlank(admissFormData.value.inpatientNo)) {
|
|
@@ -1814,12 +1825,6 @@ onMounted(() => {
|
|
|
queryZyResponceType().then(res => {
|
|
|
zyResponceTypeList.value = res;
|
|
|
});
|
|
|
-
|
|
|
- queryLastWindowsIpAddress().then(res => {
|
|
|
- printIndex.value = res.printIndex;
|
|
|
- normalWristStrapPrintIndex.value = res.normalWristStrapPrintIndex;
|
|
|
- childWristStrapPrintIndex.value = res.childWristStrapPrintIndex;
|
|
|
- });
|
|
|
});
|
|
|
</script>
|
|
|
<style scoped lang="scss"></style>
|