|
@ -198,7 +198,7 @@ Vue.component('fangshi-detail-6', {
|
|
<td class="c-t-center">
|
|
<td class="c-t-center">
|
|
出院时间
|
|
出院时间
|
|
<div class="setPicker">
|
|
<div class="setPicker">
|
|
<el-date-picker :readonly="!editable" v-model="newbornData.DISCHARGED_DATE" type="date" placeholder="选择日期">
|
|
|
|
|
|
<el-date-picker :readonly="!editable" v-model="newbornData.discharged_DATE" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
@ -265,7 +265,7 @@ Vue.component('fangshi-detail-6', {
|
|
出生身长:
|
|
出生身长:
|
|
</div>
|
|
</div>
|
|
<div class="ui-col-1 setinput">
|
|
<div class="ui-col-1 setinput">
|
|
<el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.birth_BODY_LENGTH" :step="0.1"></el-input>cm
|
|
|
|
|
|
<el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.birth_BODY_LENGTH"></el-input>cm
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
@ -556,7 +556,7 @@ Vue.component('fangshi-detail-6', {
|
|
原因:
|
|
原因:
|
|
</div>
|
|
</div>
|
|
<div class="ui-col-1">
|
|
<div class="ui-col-1">
|
|
<el-input type="text" :readonly="!editable" v-model="newbornData.referral_REASON" clearable></el-input>
|
|
|
|
|
|
<el-input type="text" :readonly="!editable" v-model="newbornData.referral_reason" clearable></el-input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ui-grid">
|
|
<div class="ui-grid">
|
|
@ -565,7 +565,7 @@ Vue.component('fangshi-detail-6', {
|
|
机构:
|
|
机构:
|
|
</div>
|
|
</div>
|
|
<div class="ui-col-1">
|
|
<div class="ui-col-1">
|
|
<el-input type="text" :readonly="!editable" v-model="newbornData.organization_ORG_NAME" clearable></el-input>
|
|
|
|
|
|
<el-input type="text" :readonly="!editable" v-model="newbornData.organization_org_name" clearable></el-input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ui-col-1 ui-grid setinput">
|
|
<div class="ui-col-1 ui-grid setinput">
|
|
@ -660,7 +660,7 @@ Vue.component('fangshi-detail-6', {
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
`,
|
|
`,
|
|
props: ['followupid','version'],
|
|
|
|
|
|
props: ['followupid', 'version'],
|
|
data: function () {
|
|
data: function () {
|
|
return {
|
|
return {
|
|
editable: false,
|
|
editable: false,
|
|
@ -748,7 +748,7 @@ Vue.component('fangshi-detail-6', {
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
umbilical: function (i) {
|
|
umbilical: function (i) {
|
|
var a = i?i.toString().indexOf('4'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('4') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.umbilical_NULL_dis = false
|
|
this.umbilical_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -757,7 +757,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
vertebral: function (i) {
|
|
vertebral: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.vertebral_NULL_dis = false
|
|
this.vertebral_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -766,7 +766,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
abdomen: function (i) {
|
|
abdomen: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.abdomen_NULL_dis = false
|
|
this.abdomen_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -775,7 +775,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
genitalia: function (i) {
|
|
genitalia: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.genitalia_NULL_dis = false
|
|
this.genitalia_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -784,7 +784,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
heart: function (i) {
|
|
heart: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.heart_PERFORMANCE_dis = false
|
|
this.heart_PERFORMANCE_dis = false
|
|
} else {
|
|
} else {
|
|
@ -793,7 +793,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
anus: function (i) {
|
|
anus: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.anus_PERFORMANCE_dis = false
|
|
this.anus_PERFORMANCE_dis = false
|
|
} else {
|
|
} else {
|
|
@ -802,7 +802,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
oral: function (i) {
|
|
oral: function (i) {
|
|
var a = i?i.toString().indexOf('2'):""
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ""
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.oral_PERFORMANCE_dis = false
|
|
this.oral_PERFORMANCE_dis = false
|
|
} else {
|
|
} else {
|
|
@ -811,7 +811,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
skin: function (i) {
|
|
skin: function (i) {
|
|
var a =i? i.toString().indexOf('4'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('4') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.skin_PERFORMANCE_dis = false
|
|
this.skin_PERFORMANCE_dis = false
|
|
} else {
|
|
} else {
|
|
@ -821,7 +821,7 @@ Vue.component('fangshi-detail-6', {
|
|
|
|
|
|
},
|
|
},
|
|
nose: function (i) {
|
|
nose: function (i) {
|
|
var a =i? i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.nose_PERFORMANCE_dis = false
|
|
this.nose_PERFORMANCE_dis = false
|
|
} else {
|
|
} else {
|
|
@ -830,7 +830,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
neck_PACK: function (i) {
|
|
neck_PACK: function (i) {
|
|
var a =i? i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.neck_PACK_NULL_dis = false
|
|
this.neck_PACK_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -840,7 +840,7 @@ Vue.component('fangshi-detail-6', {
|
|
|
|
|
|
},
|
|
},
|
|
limbs: function (i) {
|
|
limbs: function (i) {
|
|
var a =i? i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.limbs_NULL_dis = false
|
|
this.limbs_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -849,7 +849,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
ear: function (i) {
|
|
ear: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.ear_FACE_dis = false
|
|
this.ear_FACE_dis = false
|
|
} else {
|
|
} else {
|
|
@ -858,7 +858,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
limbs: function (i) {
|
|
limbs: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.limbs_NULL_dis = false
|
|
this.limbs_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -867,7 +867,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
eye: function (i) {
|
|
eye: function (i) {
|
|
var a = i?i.toString().indexOf('2'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('2') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.eye_NULL_dis = false
|
|
this.eye_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -876,7 +876,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
pregnancy_SICK: function (i) {
|
|
pregnancy_SICK: function (i) {
|
|
var a =i? i.toString().indexOf('3'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('3') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.pregnancy_SICK_CIRCS_other = false
|
|
this.pregnancy_SICK_CIRCS_other = false
|
|
} else {
|
|
} else {
|
|
@ -885,7 +885,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
bregma: function (i) {
|
|
bregma: function (i) {
|
|
var a = i?i.toString().indexOf('4'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('4') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.bregma_other_dis = false
|
|
this.bregma_other_dis = false
|
|
} else {
|
|
} else {
|
|
@ -895,7 +895,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
complexion: function (i) {
|
|
complexion: function (i) {
|
|
var a = i?i.toString().indexOf('3'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('3') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.complexion_NULL_dis = false
|
|
this.complexion_NULL_dis = false
|
|
} else {
|
|
} else {
|
|
@ -904,7 +904,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
delivery_WAY_check: function (i) {
|
|
delivery_WAY_check: function (i) {
|
|
var a = i?i.toString().indexOf('7'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('7') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.birth_OTHER = false
|
|
this.birth_OTHER = false
|
|
} else {
|
|
} else {
|
|
@ -913,7 +913,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
SCREENING_check: function (i) {
|
|
SCREENING_check: function (i) {
|
|
var a = i?i.toString().indexOf('5'):''
|
|
|
|
|
|
var a = i ? i.toString().indexOf('5') : ''
|
|
if (a > -1) {
|
|
if (a > -1) {
|
|
this.SCREENING_3_dis = false
|
|
this.SCREENING_3_dis = false
|
|
} else {
|
|
} else {
|
|
@ -921,13 +921,13 @@ Vue.component('fangshi-detail-6', {
|
|
this.newbornData.screening_ABNORMAL = ''
|
|
this.newbornData.screening_ABNORMAL = ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
guide_check:function(i){
|
|
|
|
var a=i.toString().indexOf('6')
|
|
|
|
if(a>-1){
|
|
|
|
this.other_GUIDE_CONTENT_dis=false
|
|
|
|
}else{
|
|
|
|
this.other_GUIDE_CONTENT_dis=true
|
|
|
|
this.other_GUIDE_CONTENT=''
|
|
|
|
|
|
guide_check: function (i) {
|
|
|
|
var a = i.toString().indexOf('6')
|
|
|
|
if (a > -1) {
|
|
|
|
this.other_GUIDE_CONTENT_dis = false
|
|
|
|
} else {
|
|
|
|
this.other_GUIDE_CONTENT_dis = true
|
|
|
|
this.other_GUIDE_CONTENT = ''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@ -946,8 +946,8 @@ Vue.component('fangshi-detail-6', {
|
|
var vmN = vm.newbornData
|
|
var vmN = vm.newbornData
|
|
vmN.help_ORGANIZATION_FLAG = data.help_ORGANIZATION_FLAG ? data.help_ORGANIZATION_FLAG.toString() : ''
|
|
vmN.help_ORGANIZATION_FLAG = data.help_ORGANIZATION_FLAG ? data.help_ORGANIZATION_FLAG.toString() : ''
|
|
vmN.sick_SEX = data.sick_SEX ? data.sick_SEX.toString() : ''
|
|
vmN.sick_SEX = data.sick_SEX ? data.sick_SEX.toString() : ''
|
|
vmN.pregnancy_SICK = data.pregnancy_SICK.toString()
|
|
|
|
vm.delivery_WAY_check = data.delivery_WAY.split(',');
|
|
|
|
|
|
vmN.pregnancy_SICK = data.pregnancy_SICK?data.pregnancy_SICK.toString():''
|
|
|
|
vm.delivery_WAY_check = data.delivery_WAY ? data.delivery_WAY.split(',') : [];
|
|
vmN.suffocation = data.suffocation ? data.suffocation.toString() : ''
|
|
vmN.suffocation = data.suffocation ? data.suffocation.toString() : ''
|
|
vmN.plan_IMMUNE = data.plan_IMMUNE ? data.plan_IMMUNE.toString() : ''
|
|
vmN.plan_IMMUNE = data.plan_IMMUNE ? data.plan_IMMUNE.toString() : ''
|
|
vmN.deformity_NULL = data.deformity_NULL ? data.deformity_NULL.toString() : ''
|
|
vmN.deformity_NULL = data.deformity_NULL ? data.deformity_NULL.toString() : ''
|
|
@ -1044,7 +1044,7 @@ Vue.component('fangshi-detail-6', {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
vmN.create_time = null
|
|
vmN.create_time = null
|
|
vmN.version =this.version
|
|
|
|
|
|
vmN.version = this.version
|
|
fangshiAPI.saveNewbornFamilyVisitRecord({ followupId: this.followupid || '2', newbornFamilyVisitRecordData: JSON.stringify(vmN) }).then(function (res) {
|
|
fangshiAPI.saveNewbornFamilyVisitRecord({ followupId: this.followupid || '2', newbornFamilyVisitRecordData: JSON.stringify(vmN) }).then(function (res) {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
top.toastr.info('保存成功')
|
|
top.toastr.info('保存成功')
|