|
@@ -346,10 +346,14 @@
|
|
|
<input
|
|
|
id="birthPlaceName"
|
|
|
v-model="patient.birthPlaceName"
|
|
|
- readonly
|
|
|
style="width: 230px"
|
|
|
- @click="showSearchData('birth')"
|
|
|
/>
|
|
|
+ <el-button
|
|
|
+ icon="Search"
|
|
|
+ type="primary"
|
|
|
+ @click="showSearchData('birth')"
|
|
|
+ >
|
|
|
+ </el-button>
|
|
|
籍贯:
|
|
|
<input
|
|
|
id="nativePlaceName"
|
|
@@ -401,9 +405,13 @@
|
|
|
id="livePlace"
|
|
|
v-model="patient.livePlace"
|
|
|
style="width: 350px;padding-left: 5px"
|
|
|
- readonly
|
|
|
- @click="showSearchData('livePlace')"
|
|
|
/>
|
|
|
+ <el-button
|
|
|
+ icon="Search"
|
|
|
+ type="primary"
|
|
|
+ @click="showSearchData('livePlace')"
|
|
|
+ >
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
<span style="margin-left: 12px">电话</span>
|
|
|
<input id="phone" v-model="patient.phone" style="width: 90px;padding-left: 5px"/>
|
|
@@ -422,9 +430,13 @@
|
|
|
id="hkPlaceName"
|
|
|
v-model="patient.hkPlaceName"
|
|
|
style="width: 480px;padding-left: 5px"
|
|
|
- readonly
|
|
|
- @click="showSearchData('hk')"
|
|
|
/>
|
|
|
+ <el-button
|
|
|
+ icon="Search"
|
|
|
+ type="primary"
|
|
|
+ @click="showSearchData('hk')"
|
|
|
+ >
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
<span style="margin-left: 12px">邮编</span>
|
|
|
<input
|
|
@@ -1502,12 +1514,12 @@
|
|
|
10.其他类: (24)其他费:
|
|
|
<input v-model="patient.otherFees" style="width: 70px" readonly />
|
|
|
</div>
|
|
|
- <div>
|
|
|
+ <!-- <div>
|
|
|
主要诊断治愈好转情况:
|
|
|
<span style="border-bottom: 1px solid black; padding: 0 5px">
|
|
|
{{ filterDismissStatus(patient.disdiagList[0].dismissStatus) }}
|
|
|
</span>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div style="display: flex;align-items: end;margin-top: 4px">
|
|
|
<table style="border-collapse: collapse; width: calc(100% - 25px)">
|
|
|
<thead>
|
|
@@ -2264,7 +2276,6 @@ const asideTable = ref(null);
|
|
|
const showDateTimePicker = ref(false);
|
|
|
const showDateTimePickerData = ref(null);
|
|
|
|
|
|
-
|
|
|
function addSurgeSize() {
|
|
|
patient.value.surgeryList.push({});
|
|
|
defaultSurgerySize.value += 1;
|
|
@@ -3192,24 +3203,27 @@ const saveVerifyFillBlank = (data) => {
|
|
|
data.comaMinutesAfterAdmiss == null?data.comaMinutesAfterAdmiss = '-':false;
|
|
|
}
|
|
|
|
|
|
-// const saveVerifyFillFromTransformData = (data) => {
|
|
|
-// data.value.ageDays = patient.value.ageDays
|
|
|
-// data.value.newBornWeight = patient.value.newBornWeight
|
|
|
-// data.value.newBornAdmissWeight = patient.value.newBornAdmissWeight
|
|
|
-// data.value.transDept = patient.value.transDept
|
|
|
-// data.value.hurtReasonName = patient.value.hurtReasonName
|
|
|
-// data.value.hurtReasonCode = patient.value.hurtReasonCode
|
|
|
-// data.value.pathologicDiagStr = patient.value.pathologicDiagStr
|
|
|
-// data.value.pathologicDiagCode = patient.value.pathologicDiagCode
|
|
|
-// data.value.blh = patient.value.blh
|
|
|
-
|
|
|
-// patient.value.ageDays = data.value.ageDays
|
|
|
+const saveVerifyValidate = () => {
|
|
|
+ if (patient.value.livePlace) {
|
|
|
+ if(patient.value.livePlace.includes("省") && (patient.value.livePlace.includes("市") || patient.value.livePlace.includes("县"))){
|
|
|
+ return true
|
|
|
+ } else {
|
|
|
+ xcMessage.error("患者现住址请完整填写行政地区!");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ xcMessage.error("患者现住址请完整填写行政地区!");
|
|
|
+ return false
|
|
|
+ }
|
|
|
|
|
|
|
|
|
-// }
|
|
|
+}
|
|
|
|
|
|
|
|
|
const saveVerify = opType => {
|
|
|
+ if (!saveVerifyValidate(patient.value)) {
|
|
|
+ return
|
|
|
+ }
|
|
|
// saveVerifyFillFromTransformData(patientTransformData.value)
|
|
|
saveVerifyFillBlank(patient.value)
|
|
|
console.log("patient.value",patient.value)
|