|
|
@@ -331,8 +331,8 @@
|
|
|
{{ item.code }}
|
|
|
</option>
|
|
|
</select>
|
|
|
- <span v-for="item in noCertReasons">
|
|
|
- {{ item.code }}.{{ item.name }}
|
|
|
+ <span v-for="(item,index) in noCertReasons">
|
|
|
+ <template v-if="index > 0">{{ item.code }}.{{ item.name }}</template>
|
|
|
</span>
|
|
|
其他:
|
|
|
<input
|
|
|
@@ -409,8 +409,8 @@
|
|
|
<input id="phone" v-model="patient.phone" style="width: 90px;padding-left: 5px"/>
|
|
|
<span style="margin-left: 12px">邮编</span>
|
|
|
<input
|
|
|
- id="lpZipCode"
|
|
|
- v-model="patient.lpZipCode"
|
|
|
+ id="addrZipCode"
|
|
|
+ v-model="patient.addrZipCode"
|
|
|
style="width: 70px;padding-left: 5px"
|
|
|
maxlength="6"
|
|
|
/>
|
|
|
@@ -458,7 +458,6 @@
|
|
|
id="unitZipCode"
|
|
|
v-model="patient.unitZipCode"
|
|
|
style="width: 50px"
|
|
|
- maxlength="6"
|
|
|
/>
|
|
|
</div>
|
|
|
<div>
|
|
|
@@ -485,8 +484,7 @@
|
|
|
id="contactAddrName"
|
|
|
v-model="patient.contactAddrName"
|
|
|
style="width: 300px"
|
|
|
- @click="showGoSearchBtn2 = true"
|
|
|
- @blur="dismissShowSearch(2)"
|
|
|
+ @click="showSearchData('contact')"
|
|
|
/>
|
|
|
<!-- <el-button
|
|
|
icon="Search"
|
|
|
@@ -2430,6 +2428,7 @@ const fetchSheetInfo = row => {
|
|
|
patientTransformData.value.birthDay = patient.value.birthDate.slice(8,10);
|
|
|
}
|
|
|
console.log("patient",patient.value.ageDays,patientTransformData.value.ageDays)
|
|
|
+ patient.value.noCertReason == null?patient.value.noCertReason = "-":false;
|
|
|
patient.value.autopsy == null?patient.value.autopsy = "-":false;
|
|
|
patient.value.transDept == null?patientTransformData.value.transDept = "-":false;
|
|
|
patient.value.hurtReasonName == null?patientTransformData.value.hurtReasonName = "-":false;
|
|
|
@@ -2581,13 +2580,13 @@ const showSearchData = flag => {
|
|
|
searchTargetCode.value = "birthPlace";
|
|
|
searchTargetName.value = "birthPlaceName";
|
|
|
} else if (flag === "livePlace") {
|
|
|
- searchTargetCode.value = "livePlace";
|
|
|
+ searchTargetCode.value = "addrZipCode";
|
|
|
searchTargetName.value = "livePlace";
|
|
|
} else if (flag === "native") {
|
|
|
searchTargetCode.value = "nativePlace";
|
|
|
searchTargetName.value = "nativePlaceName";
|
|
|
} else if (flag === "hk") {
|
|
|
- searchTargetCode.value = "hkPlace";
|
|
|
+ searchTargetCode.value = "hkZipCode";
|
|
|
searchTargetName.value = "hkPlaceName";
|
|
|
} else if (flag === "contact") {
|
|
|
searchTargetCode.value = "contactAddr";
|
|
|
@@ -3137,7 +3136,7 @@ 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 == "-"){
|
|
|
+ if(patientTransformData.value.age == null || patientTransformData.value.age == "-" || patientTransformData.value.age == ""){
|
|
|
// data.age = null
|
|
|
|
|
|
} else {
|
|
|
@@ -3150,8 +3149,6 @@ const saveVerifyFillBlank = (data) => {
|
|
|
|
|
|
|
|
|
data.unitPlace == null && data.unitName == null?data.unitPlace = '-':false;
|
|
|
- data.unitPhone == null?data.unitPhone = '-':data.unitPhone = patientTransformData.value.unitPhone;
|
|
|
- data.unitZipCode == null?data.unitZipCode = '-':data.unitZipCode = patientTransformData.value.unitZipCode;
|
|
|
patientTransformData.value.transDept == null || patientTransformData.value.transDept == "-"?data.transDept = null:data.transDept = patientTransformData.value.transDept;
|
|
|
|
|
|
|