|
@@ -138,6 +138,7 @@
|
|
|
</aside>
|
|
|
<div
|
|
|
style="
|
|
|
+ opacity: 1;
|
|
|
min-width: 800px;
|
|
|
padding: 0 20px 0 35px;
|
|
|
overflow-y: scroll;
|
|
@@ -228,17 +229,17 @@
|
|
|
<span style="margin-left: 12px">出生日期</span>
|
|
|
<div id="birthDate" style="display: flex;align-items: end">
|
|
|
<input
|
|
|
- v-model="patient.birthYear"
|
|
|
+ v-model="patientTransformData.birthYear"
|
|
|
style="width: 35px;padding-left: 5px"
|
|
|
/>
|
|
|
年
|
|
|
<input
|
|
|
- v-model="patient.birthMonth"
|
|
|
+ v-model="patientTransformData.birthMonth"
|
|
|
style="width: 20px;padding-left: 5px"
|
|
|
/>
|
|
|
月
|
|
|
<input
|
|
|
- v-model="patient.birthDay"
|
|
|
+ v-model="patientTransformData.birthDay"
|
|
|
style="width: 20px;padding-left: 5px"
|
|
|
/>
|
|
|
日
|
|
@@ -275,19 +276,75 @@
|
|
|
style="width: 50px"
|
|
|
/>天
|
|
|
</div>
|
|
|
- <div>
|
|
|
- 新生儿出生体重:
|
|
|
+ <div style="display: flex;align-items: end;margin-top: 4px">
|
|
|
+ 新生儿出生体重 (一孩
|
|
|
<input
|
|
|
- id="newBornWeight"
|
|
|
- v-model="patientTransformData.newBornWeight"
|
|
|
- style="width: 70px"
|
|
|
- />克 新生儿入院体重:
|
|
|
+ id="newBornWeight1"
|
|
|
+ type="number"
|
|
|
+ v-model="patientTransformData.newBornWeight1"
|
|
|
+ style="width: 40px;padding-left: 5px"
|
|
|
+ />克
|
|
|
+ <span style="margin-left: 12px">二孩</span>
|
|
|
<input
|
|
|
- id="newBornAdmissWeight"
|
|
|
- v-model="patientTransformData.newBornAdmissWeight"
|
|
|
- style="width: 70px"
|
|
|
+ id="newBornWeight2"
|
|
|
+ type="number"
|
|
|
+ v-model="patientTransformData.newBornWeight2"
|
|
|
+ style="width: 40px;padding-left: 5px"
|
|
|
+ />克)
|
|
|
+ <span style="margin-left: 12px">
|
|
|
+ 新生儿入院体重
|
|
|
+ </span>
|
|
|
+ <input
|
|
|
+ id="newBornAdmissWeight"
|
|
|
+ type="number"
|
|
|
+ v-model="patientTransformData.newBornAdmissWeight"
|
|
|
+ style="width: 50px;padding-left: 5px"
|
|
|
/>克
|
|
|
</div>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ 身份证件类型:
|
|
|
+ <select id="occupation" v-model="patient.psnCertificateType">
|
|
|
+ <option
|
|
|
+ v-for="(item, index) in dics.getPsnCertType"
|
|
|
+ :key="index"
|
|
|
+ :value="item.code"
|
|
|
+ >
|
|
|
+ {{ item.code }}
|
|
|
+ </option>
|
|
|
+ </select>
|
|
|
+ 证件号:
|
|
|
+ <input
|
|
|
+ id="socialNo"
|
|
|
+ v-model="patient.socialNo"
|
|
|
+ style="width: 160px"
|
|
|
+ maxlength="18"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ 身份证件不详的具体原因:
|
|
|
+ <select id="occupation" v-model="patient.noCertReason">
|
|
|
+ <option
|
|
|
+ v-for="(item, index) in noCertReasons"
|
|
|
+ :key="index"
|
|
|
+ :value="item.code"
|
|
|
+ >
|
|
|
+ {{ item.code }}
|
|
|
+ </option>
|
|
|
+ </select>
|
|
|
+ <span v-for="item in noCertReasons">
|
|
|
+ {{ item.code }}.{{ item.name }}
|
|
|
+ </span>
|
|
|
+ 其他:
|
|
|
+ <input
|
|
|
+ id="socialNo"
|
|
|
+ v-model="patient.noCertReasonInput"
|
|
|
+ style="width: 160px"
|
|
|
+ maxlength="18"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
<div>
|
|
|
出生地:
|
|
|
<input
|
|
@@ -317,17 +374,16 @@
|
|
|
</select>
|
|
|
</div>
|
|
|
<div>
|
|
|
- 身份证件类型:
|
|
|
- <select id="occupation" v-model="patient.psnCertificateType">
|
|
|
+ 职业:
|
|
|
+ <select id="occupation" v-model="patient.occupation">
|
|
|
<option
|
|
|
- v-for="(item, index) in dics.getPsnCertType"
|
|
|
+ v-for="(item, index) in dics.getOccupation"
|
|
|
:key="index"
|
|
|
:value="item.code"
|
|
|
>
|
|
|
- {{ item.code }}
|
|
|
+ {{ item.name }}
|
|
|
</option>
|
|
|
</select>
|
|
|
-
|
|
|
婚姻:
|
|
|
<select id="marriage" v-model="patient.marriage">
|
|
|
<option
|
|
@@ -342,49 +398,13 @@
|
|
|
{{ item.code }}.{{ item.name }}
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div>
|
|
|
- 证件号:
|
|
|
- <input
|
|
|
- id="socialNo"
|
|
|
- v-model="patient.socialNo"
|
|
|
- style="width: 160px"
|
|
|
- maxlength="18"
|
|
|
- />
|
|
|
- 职业:
|
|
|
- <select id="occupation" v-model="patient.occupation">
|
|
|
- <option
|
|
|
- v-for="(item, index) in dics.getOccupation"
|
|
|
- :key="index"
|
|
|
- :value="item.code"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
<div style="display: flex;align-items: end;margin-top: 4px">
|
|
|
<div id="livePlace">
|
|
|
现住址
|
|
|
<input
|
|
|
- id="lpProvince"
|
|
|
- v-model="patient.lpProvince"
|
|
|
- style="width: 80px;padding-left: 5px"
|
|
|
- />省(区、市)
|
|
|
- <input
|
|
|
- id="lpCity"
|
|
|
- v-model="patient.lpCity"
|
|
|
- style="width: 60px;padding-left: 5px"
|
|
|
- />市
|
|
|
- <input
|
|
|
- id="lpCounty"
|
|
|
- v-model="patient.lpCounty"
|
|
|
- style="width: 60px;padding-left: 5px"
|
|
|
- />
|
|
|
- 县
|
|
|
- <input
|
|
|
- id="lpSup"
|
|
|
- v-model="patient.lpSup"
|
|
|
- style="width: 100px;padding-left: 5px"
|
|
|
- placeholder="街道/小区/乡镇"
|
|
|
+ id="livePlace"
|
|
|
+ v-model="patient.livePlace"
|
|
|
+ style="width: 350px;padding-left: 5px"
|
|
|
/>
|
|
|
</div>
|
|
|
<span style="margin-left: 12px">电话</span>
|
|
@@ -401,32 +421,15 @@
|
|
|
<div id="hkPlace">
|
|
|
户口地址
|
|
|
<input
|
|
|
- id="hpProvince"
|
|
|
- v-model="patient.hpProvince"
|
|
|
- style="width: 80px;padding-left: 5px"
|
|
|
- />省(区、市)
|
|
|
- <input
|
|
|
- id="hpCity"
|
|
|
- v-model="patient.hpCity"
|
|
|
- style="width: 60px;padding-left: 5px"
|
|
|
- />市
|
|
|
- <input
|
|
|
- id="hpCounty"
|
|
|
- v-model="patient.hpCounty"
|
|
|
- style="width: 60px;padding-left: 5px"
|
|
|
- />
|
|
|
- 县
|
|
|
- <input
|
|
|
- id="hpSup"
|
|
|
- v-model="patient.hpSup"
|
|
|
- style="width: 100px;padding-left: 5px"
|
|
|
- placeholder="街道/小区/乡镇"
|
|
|
+ id="hkPlaceName"
|
|
|
+ v-model="patient.hkPlaceName"
|
|
|
+ style="width: 480px;padding-left: 5px"
|
|
|
/>
|
|
|
</div>
|
|
|
<span style="margin-left: 12px">邮编</span>
|
|
|
<input
|
|
|
- id="hpZipCode"
|
|
|
- v-model="patient.hpZipCode"
|
|
|
+ id="hkZipCode"
|
|
|
+ v-model="patient.hkZipCode"
|
|
|
style="width: 70px;padding-left: 5px"
|
|
|
maxlength="6"
|
|
|
/>
|
|
@@ -515,20 +518,6 @@
|
|
|
<span v-for="item in dics.getAdmissWay">
|
|
|
{{ item.code }}.{{ item.name }}
|
|
|
</span>
|
|
|
- <!-- 是否手术:
|
|
|
- <select
|
|
|
- id="hasSurgery"
|
|
|
- v-model="patient.hasSurgery"
|
|
|
- @change="hasSurgeryChanged(patient.hasSurgery)"
|
|
|
- >
|
|
|
- <option
|
|
|
- v-for="itm in operations"
|
|
|
- :key="itm.code"
|
|
|
- :value="itm.code"
|
|
|
- >
|
|
|
- {{ itm.name }}
|
|
|
- </option>
|
|
|
- </select> -->
|
|
|
</div>
|
|
|
<div>
|
|
|
入院时间:<input
|
|
@@ -591,60 +580,9 @@
|
|
|
style="width: 110px"
|
|
|
@click="showSearchData('clinicdiag')"
|
|
|
/>
|
|
|
- <!-- <div
|
|
|
- v-if="patient.validClinicDiag === 0"
|
|
|
- style="font-size: 10px; margin: 8px 0 0 8px; color: red"
|
|
|
- >
|
|
|
- 门诊诊断编码有误
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
- <!-- <div id="admDiag" style="display: flex; align-items: center">
|
|
|
- 入院诊断名称:
|
|
|
- <input
|
|
|
- v-model="patient.supplement.admDiagName"
|
|
|
- readonly
|
|
|
- style="width: 280px"
|
|
|
- @click="showSearchData('admdiag')"
|
|
|
- />
|
|
|
- 入院诊断编码:
|
|
|
- <input
|
|
|
- v-model="patient.supplement.admDiagCode"
|
|
|
- readonly
|
|
|
- style="width: 110px"
|
|
|
- @click="showSearchData('admdiag')"
|
|
|
- />
|
|
|
+
|
|
|
</div>
|
|
|
- <div style="display: flex; align-items: center">
|
|
|
- 入院时情况:
|
|
|
- <select
|
|
|
- id="admDiagStatus"
|
|
|
- style="width: 80px; margin-right: 30px"
|
|
|
- v-model="patient.supplement.admStatus"
|
|
|
- >
|
|
|
- <option :value="1">危</option>
|
|
|
- <option :value="2">急</option>
|
|
|
- <option :value="3">一般</option>
|
|
|
- </select>
|
|
|
- 入院后确诊日期:
|
|
|
- <input
|
|
|
- v-model="patient.supplement.diagnosisConfirmYear"
|
|
|
- type="number"
|
|
|
- style="width: 40px; text-align: center"
|
|
|
- />
|
|
|
- 年
|
|
|
- <input
|
|
|
- v-model="patient.supplement.diagnosisConfirmMonth"
|
|
|
- type="number"
|
|
|
- style="width: 20px; text-align: center"
|
|
|
- />
|
|
|
- 月
|
|
|
- <input
|
|
|
- v-model="patient.supplement.diagnosisConfirmDay"
|
|
|
- type="number"
|
|
|
- style="width: 20px; text-align: center"
|
|
|
- />
|
|
|
- 日
|
|
|
- </div> -->
|
|
|
+
|
|
|
<div
|
|
|
id="diagTable"
|
|
|
style="
|
|
@@ -959,48 +897,6 @@
|
|
|
{{ item.code }}.{{ item.name }}
|
|
|
</span>
|
|
|
</div>
|
|
|
- <!-- <div>
|
|
|
- 输血前四项: HbsAg
|
|
|
- <select id="hbsAg" v-model="patient.hbsAg">
|
|
|
- <option
|
|
|
- v-for="(item, index) in dics.getHbsag"
|
|
|
- :key="index"
|
|
|
- :value="item.code"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </option>
|
|
|
- </select>
|
|
|
- HCV-Ab
|
|
|
- <select id="hcvAb" v-model="patient.hcvAb" style="margin-left: 8px">
|
|
|
- <option
|
|
|
- v-for="(item, index) in dics.getHbsag"
|
|
|
- :key="index"
|
|
|
- :value="item.code"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </option>
|
|
|
- </select>
|
|
|
- HIV-Ab
|
|
|
- <select id="hivAb" v-model="patient.hivAb" style="margin-left: 8px">
|
|
|
- <option
|
|
|
- v-for="(item, index) in dics.getHbsag"
|
|
|
- :key="index"
|
|
|
- :value="item.code"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </option>
|
|
|
- </select>
|
|
|
- TP-Ab
|
|
|
- <select id="tpAb" v-model="patient.tpAb" style="margin-left: 8px">
|
|
|
- <option
|
|
|
- v-for="(item, index) in dics.getHbsag"
|
|
|
- :key="index"
|
|
|
- :value="item.code"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </option>
|
|
|
- </select>
|
|
|
- </div> -->
|
|
|
<div>
|
|
|
血型:
|
|
|
<select
|
|
@@ -1387,8 +1283,8 @@
|
|
|
{{ item.name }}
|
|
|
</option>
|
|
|
</select>
|
|
|
- <span v-for="item in dics.haveOrNot">
|
|
|
- {{ item.code }}.{{ item.name }}
|
|
|
+ <span v-for="t in dics.haveOrNot">
|
|
|
+ {{ t.code }}.{{ t.name }}
|
|
|
</span>
|
|
|
,目的:
|
|
|
<input
|
|
@@ -1621,21 +1517,48 @@
|
|
|
<tbody>
|
|
|
<tr v-for="n in 3">
|
|
|
<td>
|
|
|
- <div style="height: 26px;line-height: 26px;padding-left: 5px">
|
|
|
+ <div style="height: 26px;line-height: 26px;padding-left: 5px" @click="clickIcuInfo('icuName',n)">
|
|
|
{{ patient.icuInfoList[n - 1].icuName }}
|
|
|
</div>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <div style="height: 26px;line-height: 26px;padding-left: 5px">
|
|
|
+ <div style="height: 26px;line-height: 26px;padding-left: 5px" class="datetime-container" @click="clickDate(n,1)">
|
|
|
{{ patient.icuInfoList[n - 1].startTime }}
|
|
|
+ <el-date-picker
|
|
|
+ :id="`pickerDateE${n}`"
|
|
|
+ v-model="patient.icuInfoList[n - 1].startTime"
|
|
|
+ type="datetime"
|
|
|
+ format="YYYY-MM-DD HH:mm:ss"
|
|
|
+ value-format="YYYY-MM-DD HH:mm:ss"
|
|
|
+ style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;cursor: pointer;z-index: 10;"
|
|
|
+ ></el-date-picker>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <div style="height: 26px;line-height: 26px;padding-left: 5px">
|
|
|
+ <div style="height: 26px;line-height: 26px;padding-left: 5px" class="datetime-container" @click="clickDate(n,1)">
|
|
|
{{ patient.icuInfoList[n - 1].endTime }}
|
|
|
+ <el-date-picker
|
|
|
+ :id="`pickerDateS${n}`"
|
|
|
+ v-model="patient.icuInfoList[n - 1].endTime"
|
|
|
+ type="datetime"
|
|
|
+ format="YYYY-MM-DD HH:mm:ss"
|
|
|
+ value-format="YYYY-MM-DD HH:mm:ss"
|
|
|
+ style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;cursor: pointer;z-index: 10;"
|
|
|
+ ></el-date-picker>
|
|
|
</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</td>
|
|
|
+ <el-button
|
|
|
+ v-if="patient.icuInfoList[n - 1].endTime"
|
|
|
+ type="danger"
|
|
|
+ circle
|
|
|
+ icon="Delete"
|
|
|
+ @click="clearLine('icuInfo')"
|
|
|
+ ></el-button>
|
|
|
</tr>
|
|
|
+
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -1874,6 +1797,26 @@
|
|
|
</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ v-model="showDateTimePicker"
|
|
|
+ title="时间日期选择"
|
|
|
+ width="320px"
|
|
|
+ draggable
|
|
|
+ >
|
|
|
+ <div style="height: 20px"></div>
|
|
|
+ 请选择日期时间:
|
|
|
+ <div style="height: 10px"></div>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="showDateTimePickerData"
|
|
|
+ type="datetime"
|
|
|
+ style="width: 260px"
|
|
|
+ ></el-date-picker>
|
|
|
+ <div style="margin: 20px 0 10px 0; width: 100%; text-align: right">
|
|
|
+ <el-button type="primary" icon="Check" @click="confirmDateTimePickerData"
|
|
|
+ >确定
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
<el-dialog
|
|
|
v-model="showYbDiag"
|
|
@@ -2147,6 +2090,7 @@ import {
|
|
|
initShowDel,
|
|
|
searchMethods,
|
|
|
yesOrNo,
|
|
|
+ noCertReasons
|
|
|
} from "./common";
|
|
|
import { operations } from "@/data";
|
|
|
import { getLodop, initLodop } from "@/utils/c-lodop";
|
|
@@ -2312,6 +2256,8 @@ const showGoSearchBtn1 = ref(false);
|
|
|
const showGoSearchBtn2 = ref(false);
|
|
|
const showDel = initShowDel();
|
|
|
const asideTable = ref(null);
|
|
|
+const showDateTimePicker = ref(false);
|
|
|
+const showDateTimePickerData = ref(null);
|
|
|
|
|
|
|
|
|
function addSurgeSize() {
|
|
@@ -2333,7 +2279,10 @@ const filterDisDiagList = computed(() => {
|
|
|
return item.code && item.name;
|
|
|
});
|
|
|
});
|
|
|
-
|
|
|
+const clickShowDateTimePickerVisible = (key1,key2,key3) =>{
|
|
|
+ console.log("params",)
|
|
|
+ patient.value[key1][key2] = showDateTimePickerData
|
|
|
+}
|
|
|
const searchPatient = () => {
|
|
|
if (!inpatientNo.value || inpatientNo.value.trim().length < 1) {
|
|
|
ElMessage({
|
|
@@ -2362,6 +2311,18 @@ const searchPatient = () => {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+const changeDate = () => {
|
|
|
+ console.log("changeDate",v )
|
|
|
+};
|
|
|
+const clickDate = (v,t) => {
|
|
|
+
|
|
|
+
|
|
|
+ if (t == 1) {
|
|
|
+ document.getElementById(`pickerDateS${v}`).focus();
|
|
|
+ } else {
|
|
|
+ document.getElementById(`pickerDateE${v}`).focus();
|
|
|
+ }
|
|
|
+};
|
|
|
const handleWardChange = () => {
|
|
|
if (inOutStatus.value === 1) {
|
|
|
fetchOverview();
|
|
@@ -2405,6 +2366,17 @@ const confirmDateRange = () => {
|
|
|
});
|
|
|
};
|
|
|
|
|
|
+const confirmDateTimePickerData = () => {
|
|
|
+ showDateTimePicker.value=false
|
|
|
+ showDateTimePickerData.value=null
|
|
|
+};
|
|
|
+
|
|
|
+const clickIcuInfo = (name,n) => {
|
|
|
+ if (name == "icuName") {
|
|
|
+ patient.value.icuInfoList[n - 1].icuName = "ICU"
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
const fetchOverview = () => {
|
|
|
getPatientOverview(currentWard.value).then(res => {
|
|
|
overview.value = res;
|
|
@@ -2439,9 +2411,15 @@ const fetchSheetInfo = row => {
|
|
|
// patientTransformData.value.age = '-'
|
|
|
} else {
|
|
|
patient.value.ageDays == null?patientTransformData.value.ageDays = '-':false;
|
|
|
- patient.value.newBornWeight == null?patientTransformData.value.newBornWeight = '-':false;
|
|
|
+ patient.value.newBornWeight1 == null?patientTransformData.value.newBornWeight1 = '-':false;
|
|
|
+ patient.value.newBornWeight2 == null?patientTransformData.value.newBornWeight2 = '-':false;
|
|
|
patient.value.newBornAdmissWeight == null?patientTransformData.value.newBornAdmissWeight = '-':false;
|
|
|
}
|
|
|
+ if(patient.value.birthDate != null){
|
|
|
+ patientTransformData.value.birthYear = patient.value.birthDate.slice(0,4);
|
|
|
+ patientTransformData.value.birthMonth = patient.value.birthDate.slice(5,7);
|
|
|
+ patientTransformData.value.birthDay = patient.value.birthDate.slice(8,10);
|
|
|
+ }
|
|
|
console.log("patient",patient.value.ageDays,patientTransformData.value.ageDays)
|
|
|
patient.value.transDept == null?patientTransformData.value.transDept = "-":false;
|
|
|
patient.value.hurtReasonName == null?patientTransformData.value.hurtReasonName = "-":false;
|
|
@@ -2659,6 +2637,7 @@ const showSearchData = flag => {
|
|
|
searchTargetName.value = "admDiagStr";
|
|
|
}
|
|
|
showSearch.value = true;
|
|
|
+ console.log("handleSelectSearch")
|
|
|
};
|
|
|
|
|
|
const showSurgeryDatetime = ref(false);
|
|
@@ -2884,6 +2863,13 @@ const clearLine = option => {
|
|
|
patientTransformData.value.pathologicDiagCode = null;
|
|
|
patientTransformData.value.blh = null;
|
|
|
break;
|
|
|
+ case "icuInfo":
|
|
|
+ patient.value.icuInfoList.forEach(item => {
|
|
|
+ item.icuName = null
|
|
|
+ item.startTime = null
|
|
|
+ item.endTime = null
|
|
|
+ });
|
|
|
+ break;
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -3126,12 +3112,14 @@ const setlUplaodClick = () => {
|
|
|
};
|
|
|
|
|
|
const saveVerifyFillBlank = (data) => {
|
|
|
+ patient.value.birthDate = patientTransformData.value.birthYear+'-'+patientTransformData.value.birthMonth+'-'+patientTransformData.value.birthDay
|
|
|
if(patientTransformData.value.age == null || patientTransformData.value.age == "-"){
|
|
|
// data.age = null
|
|
|
|
|
|
} else {
|
|
|
patientTransformData.value.ageDays == null || patientTransformData.value.ageDays == "-"?data.ageDays = null:data.ageDays = patientTransformData.value.ageDays;
|
|
|
- patientTransformData.value.newBornWeight == null || patientTransformData.value.newBornWeight == "-"?data.newBornWeight = null:data.newBornWeight = patientTransformData.value.newBornWeight;
|
|
|
+ patientTransformData.value.newBornWeight1 == null || patientTransformData.value.newBornWeight1 == "-"?data.newBornWeight1 = null:data.newBornWeight1 = patientTransformData.value.newBornWeight1;
|
|
|
+ patientTransformData.value.newBornWeight2 == null || patientTransformData.value.newBornWeight2 == "-"?data.newBornWeight2 = null:data.newBornWeight2 = patientTransformData.value.newBornWeight2;
|
|
|
patientTransformData.value.newBornAdmissWeight == null || patientTransformData.value.newBornAdmissWeight == "-"?data.newBornAdmissWeight = null:data.newBornAdmissWeight = patientTransformData.value.newBornAdmissWeight;
|
|
|
}
|
|
|
|
|
@@ -3344,6 +3332,7 @@ const mergePrintHeadpage = () => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ console.log("headPagePatient.value",headPagePatient.value)
|
|
|
};
|
|
|
const mergePrintTailpage = () => {
|
|
|
tailpagePatient.value = {
|
|
@@ -3373,15 +3362,16 @@ const beforePrint = page => {
|
|
|
patNo: patient.value.bah,
|
|
|
times: patient.value.admissTimes,
|
|
|
}).then(res => {
|
|
|
- if (res.approved > 0) {
|
|
|
- execPrint(page);
|
|
|
- } else {
|
|
|
- ElMessageBox.confirm('病案首页质控审核未通过,是否继续打印?', '提示', {
|
|
|
- type: "warning",
|
|
|
- }).then(() => {
|
|
|
- execPrint(page)
|
|
|
- }).catch(() => {})
|
|
|
- }
|
|
|
+ execPrint(page)
|
|
|
+ // if (res.approved > 0) {
|
|
|
+ // execPrint(page);
|
|
|
+ // } else {
|
|
|
+ // ElMessageBox.confirm('病案首页质控审核未通过,是否继续打印?', '提示', {
|
|
|
+ // type: "warning",
|
|
|
+ // }).then(() => {
|
|
|
+ // execPrint(page)
|
|
|
+ // }).catch(() => {})
|
|
|
+ // }
|
|
|
});
|
|
|
};
|
|
|
|
|
@@ -3655,4 +3645,20 @@ table td {
|
|
|
.order-arrow:hover {
|
|
|
color: #0a84fd;
|
|
|
}
|
|
|
+.hidden-input {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ opacity: 0;
|
|
|
+ cursor: pointer;
|
|
|
+ z-index: 10; /* 确保在按钮上方 */
|
|
|
+}
|
|
|
+.datetime-container {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: relative;
|
|
|
+ display: inline-block;
|
|
|
+}
|
|
|
</style>
|