|
@@ -280,14 +280,12 @@
|
|
新生儿出生体重 (一孩
|
|
新生儿出生体重 (一孩
|
|
<input
|
|
<input
|
|
id="newBornWeight1"
|
|
id="newBornWeight1"
|
|
- type="number"
|
|
|
|
v-model="patientTransformData.newBornWeight1"
|
|
v-model="patientTransformData.newBornWeight1"
|
|
style="width: 40px;padding-left: 5px"
|
|
style="width: 40px;padding-left: 5px"
|
|
/>克
|
|
/>克
|
|
<span style="margin-left: 12px">二孩</span>
|
|
<span style="margin-left: 12px">二孩</span>
|
|
<input
|
|
<input
|
|
id="newBornWeight2"
|
|
id="newBornWeight2"
|
|
- type="number"
|
|
|
|
v-model="patientTransformData.newBornWeight2"
|
|
v-model="patientTransformData.newBornWeight2"
|
|
style="width: 40px;padding-left: 5px"
|
|
style="width: 40px;padding-left: 5px"
|
|
/>克)
|
|
/>克)
|
|
@@ -296,7 +294,6 @@
|
|
</span>
|
|
</span>
|
|
<input
|
|
<input
|
|
id="newBornAdmissWeight"
|
|
id="newBornAdmissWeight"
|
|
- type="number"
|
|
|
|
v-model="patientTransformData.newBornAdmissWeight"
|
|
v-model="patientTransformData.newBornAdmissWeight"
|
|
style="width: 50px;padding-left: 5px"
|
|
style="width: 50px;padding-left: 5px"
|
|
/>克
|
|
/>克
|
|
@@ -488,14 +485,14 @@
|
|
@click="showGoSearchBtn2 = true"
|
|
@click="showGoSearchBtn2 = true"
|
|
@blur="dismissShowSearch(2)"
|
|
@blur="dismissShowSearch(2)"
|
|
/>
|
|
/>
|
|
- <el-button
|
|
|
|
|
|
+ <!-- <el-button
|
|
icon="Search"
|
|
icon="Search"
|
|
type="primary"
|
|
type="primary"
|
|
v-show="showGoSearchBtn2"
|
|
v-show="showGoSearchBtn2"
|
|
@click="showSearchData('contact')"
|
|
@click="showSearchData('contact')"
|
|
>
|
|
>
|
|
前往搜索
|
|
前往搜索
|
|
- </el-button>
|
|
|
|
|
|
+ </el-button> -->
|
|
联系人电话:
|
|
联系人电话:
|
|
<input
|
|
<input
|
|
id="contactPhone"
|
|
id="contactPhone"
|
|
@@ -1603,7 +1600,7 @@
|
|
0.否 1.是
|
|
0.否 1.是
|
|
</div>
|
|
</div>
|
|
<div style="display: flex;align-items: end;margin-top: 4px">
|
|
<div style="display: flex;align-items: end;margin-top: 4px">
|
|
- 诊断符合情况: 门诊与出院
|
|
|
|
|
|
+ 诊断符合情况: 门诊与住院
|
|
<select
|
|
<select
|
|
id="mzycy"
|
|
id="mzycy"
|
|
v-model="patient.mzycy"
|
|
v-model="patient.mzycy"
|
|
@@ -2408,12 +2405,15 @@ const fetchSheetInfo = row => {
|
|
|
|
|
|
initSheetInfoLine(patient);
|
|
initSheetInfoLine(patient);
|
|
if(patient.value.age == null){
|
|
if(patient.value.age == null){
|
|
|
|
+ console.log("initSheetInfoLine0",patient.value.age)
|
|
// patientTransformData.value.age = '-'
|
|
// patientTransformData.value.age = '-'
|
|
} else {
|
|
} else {
|
|
|
|
+ patient.value.infAge == null?patientTransformData.value.infAge = '-':false;
|
|
patient.value.ageDays == null?patientTransformData.value.ageDays = '-':false;
|
|
patient.value.ageDays == null?patientTransformData.value.ageDays = '-':false;
|
|
patient.value.newBornWeight1 == null?patientTransformData.value.newBornWeight1 = '-':false;
|
|
patient.value.newBornWeight1 == null?patientTransformData.value.newBornWeight1 = '-':false;
|
|
patient.value.newBornWeight2 == null?patientTransformData.value.newBornWeight2 = '-':false;
|
|
patient.value.newBornWeight2 == null?patientTransformData.value.newBornWeight2 = '-':false;
|
|
patient.value.newBornAdmissWeight == null?patientTransformData.value.newBornAdmissWeight = '-':false;
|
|
patient.value.newBornAdmissWeight == null?patientTransformData.value.newBornAdmissWeight = '-':false;
|
|
|
|
+ console.log("initSheetInfoLine1",patientTransformData.value.newBornWeight1)
|
|
}
|
|
}
|
|
if(patient.value.birthDate != null){
|
|
if(patient.value.birthDate != null){
|
|
patientTransformData.value.birthYear = patient.value.birthDate.slice(0,4);
|
|
patientTransformData.value.birthYear = patient.value.birthDate.slice(0,4);
|
|
@@ -2811,10 +2811,18 @@ const handleSelectSearch = item => {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- console.log("patientTransformData.value.ageDays",searchTargetCode.value)
|
|
|
|
- console.log("patientTransformData.value.ageDays",patientTransformData.value[searchTargetCode.value],patientTransformData.value[searchTargetName.value])
|
|
|
|
- patientTransformData.value[searchTargetCode.value] = item.code;
|
|
|
|
- patientTransformData.value[searchTargetName.value] = item.name;
|
|
|
|
|
|
+ patient.value[searchTargetCode.value] = item.code;
|
|
|
|
+ patient.value[searchTargetName.value] = item.name;
|
|
|
|
+ console.log("searchTargetName",searchTargetCode.value,searchTargetName.value)
|
|
|
|
+ if(searchTargetCode.value == "hurtReasonCode" || searchTargetCode.value == "hurtReasonName" ||
|
|
|
|
+ searchTargetCode.value == "pathologicDiagStr" || searchTargetCode.value == "pathologicDiagCode"
|
|
|
|
+ ){
|
|
|
|
+ patientTransformData.value[searchTargetCode.value] = item.code;
|
|
|
|
+ patientTransformData.value[searchTargetName.value] = item.name;
|
|
|
|
+ } else {
|
|
|
|
+ patient.value[searchTargetCode.value] = item.code;
|
|
|
|
+ patient.value[searchTargetName.value] = item.name;
|
|
|
|
+ }
|
|
if (searchTargetCode.value === "birthPlace") {
|
|
if (searchTargetCode.value === "birthPlace") {
|
|
patient.value.nativePlace = item.code;
|
|
patient.value.nativePlace = item.code;
|
|
patient.value.nativePlaceName = item.name;
|
|
patient.value.nativePlaceName = item.name;
|
|
@@ -3117,6 +3125,7 @@ const saveVerifyFillBlank = (data) => {
|
|
// data.age = null
|
|
// data.age = null
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
+ patientTransformData.value.infAge == null || patientTransformData.value.infAge == "-"?data.infAge = null:data.infAge = patientTransformData.value.infAge;
|
|
patientTransformData.value.ageDays == null || patientTransformData.value.ageDays == "-"?data.ageDays = null:data.ageDays = patientTransformData.value.ageDays;
|
|
patientTransformData.value.ageDays == null || patientTransformData.value.ageDays == "-"?data.ageDays = null:data.ageDays = patientTransformData.value.ageDays;
|
|
patientTransformData.value.newBornWeight1 == null || patientTransformData.value.newBornWeight1 == "-"?data.newBornWeight1 = null:data.newBornWeight1 = patientTransformData.value.newBornWeight1;
|
|
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.newBornWeight2 == null || patientTransformData.value.newBornWeight2 == "-"?data.newBornWeight2 = null:data.newBornWeight2 = patientTransformData.value.newBornWeight2;
|
|
@@ -3437,6 +3446,7 @@ onMounted(() => {
|
|
res.getYesOrNo = yesOrNo;
|
|
res.getYesOrNo = yesOrNo;
|
|
res.getHaveOrNot = haveOrNot;
|
|
res.getHaveOrNot = haveOrNot;
|
|
res.getAutopsies = autopsies;
|
|
res.getAutopsies = autopsies;
|
|
|
|
+ res.noCertReasons = noCertReasons;
|
|
dics.value = res;
|
|
dics.value = res;
|
|
});
|
|
});
|
|
getUserWards().then(res => {
|
|
getUserWards().then(res => {
|