|
@ -138,8 +138,8 @@
|
|
|
</div>
|
|
|
<table class="table table-bordered mb0">
|
|
|
<tr>
|
|
|
<td class="col-w60 c-t-center">症
|
|
|
状</td>
|
|
|
<td class="col-w60 c-t-center">症 状
|
|
|
</td>
|
|
|
<td colspan="4">
|
|
|
<el-checkbox-group v-model="symptom_check" :disabled="!editable">
|
|
|
<el-checkbox label="1" key="">无症状</el-checkbox>
|
|
@ -378,7 +378,7 @@
|
|
|
<td class="col-w120 c-t-center">日吸烟量</td>
|
|
|
<td colspan="3">
|
|
|
<div class="ui-grid">
|
|
|
<div class="ui-col-0">平均</div>
|
|
|
<div class="ui-col-0 lh27">平均</div>
|
|
|
<div class="ui-col-1">
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.smoking_daily" placeholder="" clearable></el-input>
|
|
|
</div>
|
|
@ -390,16 +390,16 @@
|
|
|
<td class="col-w120 c-t-center">开始吸烟年龄</td>
|
|
|
<td class="ui-grid" style="border: 0;">
|
|
|
<div class="ui-col-1">
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.start_smoking_age" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="!editable" type="number" min=0 v-model="oldmanData.start_smoking_age" placeholder=""></el-input>
|
|
|
</div>
|
|
|
<div class="ui-col-0">岁</div>
|
|
|
<div class="ui-col-0 lh27">岁</div>
|
|
|
</td>
|
|
|
<td class="col-w120 c-t-center">戒烟年龄</td>
|
|
|
<td class="ui-grid" style="border: 0; border-right:1px soild #ddd;">
|
|
|
<div class="ui-col-1">
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.stop_smoking_age" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.stop_smoking_age" placeholder="" min="0"></el-input>
|
|
|
</div>
|
|
|
<div class="ui-col-0">岁</div>
|
|
|
<div class="ui-col-0 lh27">岁</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@ -418,11 +418,11 @@
|
|
|
<td class="col-w120 c-t-center">日饮酒量</td>
|
|
|
<td colspan="3">
|
|
|
<div class="ui-grid">
|
|
|
<div class="ui-col-0">平均</div>
|
|
|
<div class="ui-col-0 lh27">平均</div>
|
|
|
<div class="ui-col-1">
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.drinking_daily" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.drinking_daily" min=0 type="number"></el-input>
|
|
|
</div>
|
|
|
<div class="ui-col-0">两</div>
|
|
|
<div class="ui-col-0 lh27">两</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
@ -433,11 +433,11 @@
|
|
|
<el-radio :label="1">1 未戒酒</el-radio>
|
|
|
<el-radio :label="2">
|
|
|
<div class="ui-grid">
|
|
|
<div class="ui-col-0">2 已借酒,戒酒年龄:</div>
|
|
|
<div class="ui-col-0 lh27">2 已借酒,戒酒年龄:</div>
|
|
|
<div class="ui-col-1">
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.stop_drinking_age" placeholder="" clearable></el-input>
|
|
|
<el-input type="number" :readonly="!editable" min="0" v-model="oldmanData.stop_drinking_age" placeholder=""></el-input>
|
|
|
</div>
|
|
|
<div class="ui-col-0">岁</div>
|
|
|
<div class="ui-col-0 lh27">岁</div>
|
|
|
</div>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
@ -513,7 +513,8 @@
|
|
|
<el-radio-group v-model="oldmanData.dust_protective_measures" :disabled="!editable">
|
|
|
<el-radio :label="1">1 无</el-radio>
|
|
|
<el-radio :label="2" class="setinput">2 有
|
|
|
<el-input type="text" :readonly="dust_protective_measures_has_dis||!editable" v-model="oldmanData.dust_protective_measures_has" clearable></el-input>
|
|
|
<el-input type="text" :readonly="dust_protective_measures_has_dis||!editable" v-model="oldmanData.dust_protective_measures_has"
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
@ -534,7 +535,8 @@
|
|
|
<el-radio-group v-model="oldmanData.radiogen_protective_measures" :disabled="!editable">
|
|
|
<el-radio :label="1">1 无</el-radio>
|
|
|
<el-radio :label="2" class="setinput">2 有
|
|
|
<el-input type="text" :readonly="radiogen_protective_measures_has_dis||!editable" v-model="oldmanData.radiogen_protective_measures_has" clearable></el-input>
|
|
|
<el-input type="text" :readonly="radiogen_protective_measures_has_dis||!editable" v-model="oldmanData.radiogen_protective_measures_has"
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
@ -555,7 +557,8 @@
|
|
|
<el-radio-group v-model="oldmanData.physical_protective_measures" :disabled="!editable">
|
|
|
<el-radio :label="1">1 无</el-radio>
|
|
|
<el-radio :label="2" class="setinput">2 有
|
|
|
<el-input type="text" :readonly="physical_protective_measures_has_dis||!editable" v-model="oldmanData.physical_protective_measures_has" clearable></el-input>
|
|
|
<el-input type="text" :readonly="physical_protective_measures_has_dis||!editable" v-model="oldmanData.physical_protective_measures_has"
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
@ -577,7 +580,8 @@
|
|
|
<el-radio-group v-model="oldmanData.chemical_protective_measures" :disabled="!editable">
|
|
|
<el-radio :label="1">1 无</el-radio>
|
|
|
<el-radio :label="2" class="setinput">2 有
|
|
|
<el-input type="text" :readonly="chemical_protective_measures_has_dis||!editable" v-model="oldmanData.chemical_protective_measures_has" clearable></el-input>
|
|
|
<el-input type="text" :readonly="chemical_protective_measures_has_dis||!editable" v-model="oldmanData.chemical_protective_measures_has"
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
@ -599,7 +603,8 @@
|
|
|
<el-radio-group v-model="oldmanData.other_hazard_protective_measures" :disabled="!editable">
|
|
|
<el-radio :label="1">1 无</el-radio>
|
|
|
<el-radio :label="2" class="setinput">2 有
|
|
|
<el-input type="text" :readonly="other_hazard_protective_measures_has_dis||!editable" v-model="oldmanData.other_hazard_protective_measures_has" clearable></el-input>
|
|
|
<el-input type="text" :readonly="other_hazard_protective_measures_has_dis||!editable" v-model="oldmanData.other_hazard_protective_measures_has"
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
@ -727,7 +732,7 @@
|
|
|
<el-radio :label="1">1 正常</el-radio>
|
|
|
<el-radio :label="2">2 黄染</el-radio>
|
|
|
<el-radio :label="3">3 充血</el-radio>
|
|
|
<el-radio :label="7" class="setinput">4 其他
|
|
|
<el-radio :label="4" class="setinput">4 其他
|
|
|
<el-input :readonly="sclera_other_dis||!editable" v-model="oldmanData.sclera_other" placeholder="" clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
@ -742,7 +747,7 @@
|
|
|
<el-radio :label="1">1 未触及</el-radio>
|
|
|
<el-radio :label="2">2 锁骨上</el-radio>
|
|
|
<el-radio :label="3">3 腋窝</el-radio>
|
|
|
<el-radio :label="7" class="setinput">4 其他
|
|
|
<el-radio :label="4" class="setinput">4 其他
|
|
|
<el-input :readonly="lymphaden_other_dis||!editable" v-model="oldmanData.lymphaden_other" placeholder="" clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
@ -932,7 +937,6 @@
|
|
|
<el-input :readonly="breast_other_dis||!editable" v-model="oldmanData.breast_other" placeholder="" clearable></el-input>
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</el-radio-group>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@ -1091,7 +1095,8 @@
|
|
|
<el-radio-group :disabled="!editable" v-model="oldmanData.electrocardiogram">
|
|
|
<el-radio :label="1">正常</el-radio>
|
|
|
<el-radio :label="2" class="setinput">异常
|
|
|
<el-input :readonly="electrocardiogram_abnormal_dis||!editable" v-model="oldmanData.electrocardiogram_abnormal" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="electrocardiogram_abnormal_dis||!editable" v-model="oldmanData.electrocardiogram_abnormal" placeholder=""
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</td>
|
|
@ -1280,7 +1285,8 @@
|
|
|
<el-radio-group :disabled="!editable" v-model="oldmanData.abdomen_B_ultrasonic">
|
|
|
<el-radio :label="1">正常</el-radio>
|
|
|
<el-radio :label="2" class="setinput">异常
|
|
|
<el-input :readonly="abdomen_B_ultrasonic_abnormal_dis||!editable" v-model="oldmanData.abdomen_B_ultrasonic_abnormal" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="abdomen_B_ultrasonic_abnormal_dis||!editable" v-model="oldmanData.abdomen_B_ultrasonic_abnormal" placeholder=""
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</td>
|
|
@ -1291,7 +1297,8 @@
|
|
|
<el-radio-group :disabled="!editable" v-model="oldmanData.B_ultrasonic_other">
|
|
|
<el-radio :label="1">正常</el-radio>
|
|
|
<el-radio :label="2" class="setinput">异常
|
|
|
<el-input :readonly="B_ultrasonic_other_abnormal_dis||!editable" v-model="oldmanData.B_ultrasonic_other_abnormal" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="B_ultrasonic_other_abnormal_dis||!editable" v-model="oldmanData.B_ultrasonic_other_abnormal" placeholder=""
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</td>
|
|
@ -1304,7 +1311,8 @@
|
|
|
<el-radio-group :disabled="!editable" v-model="oldmanData.cervical_smear">
|
|
|
<el-radio :label="1">正常</el-radio>
|
|
|
<el-radio :label="2" class="setinput">异常
|
|
|
<el-input :readonly="cervical_smear_abnormal_dis||!editable" v-model="oldmanData.cervical_smear_abnormal" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="cervical_smear_abnormal_dis||!editable" v-model="oldmanData.cervical_smear_abnormal" placeholder=""
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</td>
|
|
@ -1434,7 +1442,8 @@
|
|
|
<el-checkbox label="4">蛛网膜下腔出血 </el-checkbox>
|
|
|
<el-checkbox label="5">短暂性脑缺血发作 </el-checkbox>
|
|
|
<el-checkbox label="6" class="setinput">其他
|
|
|
<el-input :readonly="cerebrovascular_disease_other_dis||!editable" v-model="oldmanData.cerebrovascular_disease_other" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="cerebrovascular_disease_other_dis||!editable" v-model="oldmanData.cerebrovascular_disease_other" placeholder=""
|
|
|
clearable></el-input>
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</td>
|
|
@ -1500,7 +1509,7 @@
|
|
|
<el-checkbox label="3">视乳头水肿 </el-checkbox>
|
|
|
<el-checkbox label="4">白内障 </el-checkbox>
|
|
|
<el-checkbox label="5" class="setinput">其他
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.eye_disease" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="eye_disease_dis||!editable" v-model="oldmanData.eye_disease" placeholder="" clearable></el-input>
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</td>
|
|
@ -1513,7 +1522,8 @@
|
|
|
<el-radio-group :disabled="!editable" v-model="oldmanData.nervous_system_disease">
|
|
|
<el-radio :label="1">未发现</el-radio>
|
|
|
<el-radio :label="2" class="setinput">有
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.nervous_system_disease_has" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="nervous_system_disease_has_dis||!editable" v-model="oldmanData.nervous_system_disease_has" placeholder=""
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</td>
|
|
@ -1526,7 +1536,8 @@
|
|
|
<el-radio-group :disabled="!editable" v-model="oldmanData.other_system_disease">
|
|
|
<el-radio :label="1">未发现</el-radio>
|
|
|
<el-radio :label="2" class="setinput">有
|
|
|
<el-input :readonly="!editable" v-model="oldmanData.other_system_disease_has" placeholder="" clearable></el-input>
|
|
|
<el-input :readonly="other_system_disease_has_dis||!editable" v-model="oldmanData.other_system_disease_has" placeholder=""
|
|
|
clearable></el-input>
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</td>
|
|
@ -1903,7 +1914,8 @@
|
|
|
<el-checkbox label="3">建议复查</el-checkbox>
|
|
|
<el-checkbox label="4">建议转诊</el-checkbox>
|
|
|
<el-checkbox label="5" class="setinput">其他
|
|
|
<el-input type="text" :readonly="!editable" v-model="oldmanData.other_health_guidance_description" clearable></el-input>
|
|
|
<el-input type="text" :readonly="other_health_guidance_description_dis||!editable" v-model="oldmanData.other_health_guidance_description"
|
|
|
clearable></el-input>
|
|
|
</el-checkbox>
|
|
|
</td>
|
|
|
<td colspan="3">
|
|
@ -1915,11 +1927,11 @@
|
|
|
<el-checkbox label="3"> 饮食 </el-checkbox>
|
|
|
<el-checkbox label="4"> 锻炼 </el-checkbox>
|
|
|
<el-checkbox label="5" class="setinput"> 减体重(目标
|
|
|
<el-input style="width: 70px;" type="text" :readonly="!editable" v-model="oldmanData.goal_weight" clearable></el-input>
|
|
|
<el-input style="width: 70px;" type="text" :readonly="goal_weight_dis||!editable" v-model="oldmanData.goal_weight" clearable></el-input>
|
|
|
Kg)</el-checkbox>
|
|
|
<el-checkbox label="6">建议接种疫苗 </el-checkbox>
|
|
|
<el-checkbox label="7" class="setinput">其他
|
|
|
<el-input type="text" :readonly="!editable" v-model="oldmanData.other_advice_description" clearable></el-input>
|
|
|
<el-input type="text" :readonly="other_advice_description_dis||!editable" v-model="oldmanData.other_advice_description" clearable></el-input>
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</td>
|
|
@ -2034,38 +2046,45 @@
|
|
|
return {
|
|
|
editable: true,
|
|
|
isEditBtn: true,
|
|
|
symptom_other_dis:true,
|
|
|
other_drinking_type_dis:true,
|
|
|
dust_protective_measures_has_dis:true,
|
|
|
radiogen_protective_measures_has_dis:true,
|
|
|
physical_protective_measures_has_dis:true,
|
|
|
chemical_protective_measures_has_dis:true,
|
|
|
other_hazard_protective_measures_has_dis:true,
|
|
|
skin_other_dis:true,
|
|
|
sclera_other_dis:true,
|
|
|
lymphaden_other_dis:true,
|
|
|
rale_abnormal_dis:true,
|
|
|
tenderness_has_dis:true,
|
|
|
mass_has_dis:true,
|
|
|
hepatomegaly_has_dis:true,
|
|
|
spleen_big_has_dis:true,
|
|
|
shifting_dullness_has_dis:true,
|
|
|
anus_dre_other_dis:true,
|
|
|
vulva_abnormal_dis:true,
|
|
|
vagina_abnormal_dis:true,
|
|
|
cervical_abnormal_dis:true,
|
|
|
corpus_abnormal_dis:true,
|
|
|
appendix_abnormal_dis:true,
|
|
|
fundus_abnormal_dis:true,
|
|
|
breast_other_dis:true,
|
|
|
electrocardiogram_abnormal_dis:true,
|
|
|
chest_Xray_abnormal_dis:true,
|
|
|
abdomen_B_ultrasonic_abnormal_dis:true,
|
|
|
B_ultrasonic_other_abnormal_dis:true,
|
|
|
cervical_smear_abnormal_dis:true,
|
|
|
cerebrovascular_disease_other_dis:true,
|
|
|
nephropathy_other_dis:true,
|
|
|
heart_disease_other_dis:true,
|
|
|
symptom_other_dis: true,
|
|
|
other_drinking_type_dis: true,
|
|
|
dust_protective_measures_has_dis: true,
|
|
|
radiogen_protective_measures_has_dis: true,
|
|
|
physical_protective_measures_has_dis: true,
|
|
|
chemical_protective_measures_has_dis: true,
|
|
|
other_hazard_protective_measures_has_dis: true,
|
|
|
skin_other_dis: true,
|
|
|
sclera_other_dis: true,
|
|
|
lymphaden_other_dis: true,
|
|
|
rale_abnormal_dis: true,
|
|
|
tenderness_has_dis: true,
|
|
|
mass_has_dis: true,
|
|
|
hepatomegaly_has_dis: true,
|
|
|
spleen_big_has_dis: true,
|
|
|
shifting_dullness_has_dis: true,
|
|
|
anus_dre_other_dis: true,
|
|
|
vulva_abnormal_dis: true,
|
|
|
vagina_abnormal_dis: true,
|
|
|
cervical_abnormal_dis: true,
|
|
|
corpus_abnormal_dis: true,
|
|
|
appendix_abnormal_dis: true,
|
|
|
fundus_abnormal_dis: true,
|
|
|
breast_other_dis: true,
|
|
|
electrocardiogram_abnormal_dis: true,
|
|
|
chest_Xray_abnormal_dis: true,
|
|
|
abdomen_B_ultrasonic_abnormal_dis: true,
|
|
|
B_ultrasonic_other_abnormal_dis: true,
|
|
|
cervical_smear_abnormal_dis: true,
|
|
|
cerebrovascular_disease_other_dis: true,
|
|
|
nephropathy_other_dis: true,
|
|
|
heart_disease_other_dis: true,
|
|
|
vascular_disease_other_dis: true,
|
|
|
eye_disease_dis: true,
|
|
|
nervous_system_disease_has_dis: true,
|
|
|
other_system_disease_has_dis: true,
|
|
|
other_health_guidance_description_dis: true,
|
|
|
other_advice_description_dis: true,
|
|
|
goal_weight_dis: true,
|
|
|
symptom_check: [],
|
|
|
breast_check: [],
|
|
|
suggest_recheck_check: [],
|
|
@ -2101,8 +2120,413 @@
|
|
|
mounted: function () {
|
|
|
this.getData()
|
|
|
},
|
|
|
computed: {
|
|
|
dust_protective_measures: function () {
|
|
|
return this.oldmanData.dust_protective_measures
|
|
|
},
|
|
|
radiogen_protective_measures: function () {
|
|
|
return this.oldmanData.radiogen_protective_measures
|
|
|
},
|
|
|
physical_protective_measures: function () {
|
|
|
return this.oldmanData.physical_protective_measures
|
|
|
},
|
|
|
chemical_protective_measures: function () {
|
|
|
return this.oldmanData.chemical_protective_measures
|
|
|
},
|
|
|
other_hazard_protective_measures: function () {
|
|
|
return this.oldmanData.other_hazard_protective_measures
|
|
|
},
|
|
|
skin: function () {
|
|
|
return this.oldmanData.skin
|
|
|
},
|
|
|
sclera: function () {
|
|
|
return this.oldmanData.sclera
|
|
|
},
|
|
|
lymphaden: function () {
|
|
|
return this.oldmanData.lymphaden
|
|
|
},
|
|
|
barrel_chest: function () {
|
|
|
return this.oldmanData.barrel_chest
|
|
|
},
|
|
|
abdominal_tenderness: function () {
|
|
|
return this.oldmanData.abdominal_tenderness
|
|
|
},
|
|
|
abdominal_mass: function () {
|
|
|
return this.oldmanData.abdominal_mass
|
|
|
},
|
|
|
abdominal_hepatomegaly: function () {
|
|
|
return this.oldmanData.abdominal_hepatomegaly
|
|
|
},
|
|
|
abdominal_spleen_big: function () {
|
|
|
return this.oldmanData.abdominal_spleen_big
|
|
|
},
|
|
|
abdominal_shifting_dullness: function () {
|
|
|
return this.oldmanData.abdominal_shifting_dullness
|
|
|
},
|
|
|
anus_dre: function () {
|
|
|
return this.oldmanData.anus_dre
|
|
|
},
|
|
|
vulva: function () {
|
|
|
return this.oldmanData.vulva
|
|
|
},
|
|
|
vagina: function () {
|
|
|
return this.oldmanData.vagina
|
|
|
},
|
|
|
cervical: function () {
|
|
|
return this.oldmanData.cervical
|
|
|
},
|
|
|
corpus: function () {
|
|
|
return this.oldmanData.corpus
|
|
|
},
|
|
|
gynecologic_appendix: function () {
|
|
|
return this.oldmanData.gynecologic_appendix
|
|
|
},
|
|
|
fundus: function () {
|
|
|
return this.oldmanData.fundus
|
|
|
},
|
|
|
electrocardiogram: function () {
|
|
|
return this.oldmanData.electrocardiogram
|
|
|
},
|
|
|
chest_Xray: function () {
|
|
|
return this.oldmanData.chest_Xray
|
|
|
},
|
|
|
abdomen_B_ultrasonic: function () {
|
|
|
return this.oldmanData.abdomen_B_ultrasonic
|
|
|
},
|
|
|
B_ultrasonic_other: function () {
|
|
|
return this.oldmanData.B_ultrasonic_other
|
|
|
},
|
|
|
cervical_smear: function () {
|
|
|
return this.oldmanData.cervical_smear
|
|
|
},
|
|
|
nervous_system_disease: function () {
|
|
|
return this.oldmanData.nervous_system_disease
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
dangerFacter_check: function (i) {
|
|
|
var a = i ? i.indexOf('7') : ''
|
|
|
var b = i ? i.indexOf('5') : ''
|
|
|
if (b > -1) {
|
|
|
this.goal_weight_dis = false
|
|
|
} else {
|
|
|
this.goal_weight_dis = true
|
|
|
this.goal_weight = ''
|
|
|
}
|
|
|
if (a > -1) {
|
|
|
this.other_advice_description_dis = false
|
|
|
} else {
|
|
|
this.other_advice_description_dis = true
|
|
|
this.oldmanData.other_advice_description = ''
|
|
|
}
|
|
|
},
|
|
|
suggest_recheck_check: function (i) {
|
|
|
var a = i ? i.indexOf('5') : ''
|
|
|
if (a > -1) {
|
|
|
this.other_health_guidance_description_dis = false
|
|
|
} else {
|
|
|
this.other_health_guidance_description_dis = true
|
|
|
this.oldmanData.other_health_guidance_description = ''
|
|
|
}
|
|
|
|
|
|
},
|
|
|
eye_disease_check: function (i) {
|
|
|
var a = i ? i.indexOf('5') : ''
|
|
|
if (a > -1) {
|
|
|
this.vascular_disease_other_dis = false
|
|
|
} else {
|
|
|
this.vascular_disease_other_dis = true
|
|
|
this.oldmanData.vascular_disease_other_dis = ''
|
|
|
}
|
|
|
},
|
|
|
vascular_disease_check: function (i) {
|
|
|
var a = i ? i.indexOf('4') : ''
|
|
|
if (a > -1) {
|
|
|
this.vascular_disease_other_dis = false
|
|
|
} else {
|
|
|
this.vascular_disease_other_dis = true
|
|
|
this.oldmanData.vascular_disease_other_dis = ''
|
|
|
}
|
|
|
},
|
|
|
heart_disease_check: function (i) {
|
|
|
var a = i ? i.indexOf('7') : ''
|
|
|
if (a > -1) {
|
|
|
this.heart_disease_other_dis = false
|
|
|
} else {
|
|
|
this.heart_disease_other_dis = true
|
|
|
this.oldmanData.heart_disease_other = ''
|
|
|
}
|
|
|
},
|
|
|
nephropathy_check: function (i) {
|
|
|
var a = i ? i.indexOf('6') : ''
|
|
|
if (a > -1) {
|
|
|
this.nephropathy_other_dis = false
|
|
|
} else {
|
|
|
this.nephropathy_other_dis = true
|
|
|
this.oldmanData.nephropathy_other = ''
|
|
|
}
|
|
|
},
|
|
|
cerebrovascular_disease_check: function (i) {
|
|
|
var a = i ? i.indexOf('6') : ''
|
|
|
if (a > -1) {
|
|
|
this.cerebrovascular_disease_other_dis = false
|
|
|
} else {
|
|
|
this.cerebrovascular_disease_other_dis = true
|
|
|
this.oldmanData.cerebrovascular_disease_other = ''
|
|
|
}
|
|
|
},
|
|
|
breast_check: function(i) {
|
|
|
var a = i ? i.indexOf('5') : ''
|
|
|
if (a > -1) {
|
|
|
this.breast_other_dis = false
|
|
|
} else {
|
|
|
this.breast_other_dis = true
|
|
|
this.oldmanData.breast_other = ''
|
|
|
}
|
|
|
},
|
|
|
symptom_check: function (i) {
|
|
|
var a = i ? i.indexOf('25') : ''
|
|
|
if (a > -1) {
|
|
|
this.symptom_other_dis = false
|
|
|
} else {
|
|
|
this.symptom_other_dis = true
|
|
|
this.oldmanData.symptom_other = ''
|
|
|
}
|
|
|
},
|
|
|
drinking_type_check: function (i) {
|
|
|
var a = i ? i > i.indexOf('5') : ""
|
|
|
if (a > -1) {
|
|
|
this.other_drinking_type_dis = false
|
|
|
} else {
|
|
|
this.other_drinking_type_dis = true
|
|
|
this.oldmanData.other_drinking_type = ''
|
|
|
}
|
|
|
},
|
|
|
other_system_disease: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.other_system_disease_has_dis = false
|
|
|
} else {
|
|
|
this.other_system_disease_has_dis = true
|
|
|
this.oldmanData.other_system_disease_has = ''
|
|
|
}
|
|
|
},
|
|
|
nervous_system_disease: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.nervous_system_disease_has_dis = false
|
|
|
} else {
|
|
|
this.nervous_system_disease_has_dis = true
|
|
|
this.oldmanData.nervous_system_disease_has = ''
|
|
|
}
|
|
|
},
|
|
|
cervical_smear: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.cervical_smear_abnormal_dis = false
|
|
|
} else {
|
|
|
this.cervical_smear_abnormal_dis = true
|
|
|
this.oldmanData.cervical_smear_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
B_ultrasonic_other: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.B_ultrasonic_other_abnormal_dis = false
|
|
|
} else {
|
|
|
this.B_ultrasonic_other_abnormal_dis = true
|
|
|
this.oldmanData.B_ultrasonic_other_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
abdomen_B_ultrasonic: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.abdomen_B_ultrasonic_abnormal_dis = false
|
|
|
} else {
|
|
|
this.abdomen_B_ultrasonic_abnormal_dis = true
|
|
|
this.oldmanData.abdomen_B_ultrasonic_abnormal_dis = ''
|
|
|
}
|
|
|
},
|
|
|
chest_Xray: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.chest_Xray_abnormal_dis = false
|
|
|
} else {
|
|
|
this.chest_Xray_abnormal_dis = true
|
|
|
this.oldmanData.chest_Xray_abnormal_dis = ''
|
|
|
}
|
|
|
},
|
|
|
electrocardiogram: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.electrocardiogram_abnormal_dis = false
|
|
|
} else {
|
|
|
this.electrocardiogram_abnormal_dis = true
|
|
|
this.oldmanData.electrocardiogram_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
fundus: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.fundus_abnormal_dis = false
|
|
|
} else {
|
|
|
this.fundus_abnormal_dis = true
|
|
|
this.oldmanData.fundus_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
gynecologic_appendix: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.appendix_abnormal_dis = false
|
|
|
} else {
|
|
|
this.appendix_abnormal_dis = true
|
|
|
this.oldmanData.appendix_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
corpus: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.corpus_abnormal_dis = false
|
|
|
} else {
|
|
|
this.corpus_abnormal_dis = true
|
|
|
this.oldmanData.corpus_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
cervical: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.cervical_abnormal_dis = false
|
|
|
} else {
|
|
|
this.cervical_abnormal_dis = true
|
|
|
this.oldmanData.cervical_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
vagina: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.vagina_abnormal_dis = false
|
|
|
} else {
|
|
|
this.vagina_abnormal_dis = true
|
|
|
this.oldmanData.vagina_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
vulva: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.vulva_abnormal_dis = false
|
|
|
} else {
|
|
|
this.vulva_abnormal_dis = true
|
|
|
this.oldmanData.vulva_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
anus_dre: function (i) {
|
|
|
if (i == '5') {
|
|
|
this.anus_dre_other_dis = false
|
|
|
} else {
|
|
|
this.anus_dre_other_dis = true
|
|
|
this.oldmanData.anus_dre_other = ''
|
|
|
}
|
|
|
|
|
|
},
|
|
|
abdominal_shifting_dullness: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.shifting_dullness_has = false
|
|
|
} else {
|
|
|
this.shifting_dullness_has = true
|
|
|
this.oldmanData.spleen_big_has = ''
|
|
|
}
|
|
|
},
|
|
|
abdominal_spleen_big: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.spleen_big_has_dis = false
|
|
|
} else {
|
|
|
this.spleen_big_has_dis = true
|
|
|
this.oldmanData.spleen_big_has = ''
|
|
|
}
|
|
|
},
|
|
|
abdominal_hepatomegaly: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.hepatomegaly_has_dis = false
|
|
|
} else {
|
|
|
this.hepatomegaly_has_dis = true
|
|
|
this.oldmanData.hepatomegaly_has = ''
|
|
|
}
|
|
|
},
|
|
|
abdominal_mass: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.mass_has_dis = false
|
|
|
} else {
|
|
|
this.mass_has_dis = true
|
|
|
this.oldmanData.mass_has = ''
|
|
|
}
|
|
|
},
|
|
|
abdominal_tenderness: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.tenderness_has_dis = false
|
|
|
} else {
|
|
|
this.tenderness_has_dis = true
|
|
|
this.oldmanData.tenderness_has = ''
|
|
|
}
|
|
|
},
|
|
|
barrel_chest: function (i) {
|
|
|
if (i == '4') {
|
|
|
this.rale_abnormal_dis = false
|
|
|
} else {
|
|
|
this.rale_abnormal_dis = true
|
|
|
this.oldmanData.rale_abnormal = ''
|
|
|
}
|
|
|
},
|
|
|
lymphaden: function (i) {
|
|
|
if (i == '4') {
|
|
|
this.lymphaden_other_dis = false
|
|
|
} else {
|
|
|
this.lymphaden_other_dis = true
|
|
|
this.oldmanData.lymphaden_other = ''
|
|
|
}
|
|
|
},
|
|
|
sclera: function (i) {
|
|
|
if (i == '4') {
|
|
|
this.sclera_other_dis = false
|
|
|
} else {
|
|
|
this.sclera_other_dis = true
|
|
|
this.oldmanData.sclera_other = ''
|
|
|
}
|
|
|
},
|
|
|
skin: function (i) {
|
|
|
if (i == '7') {
|
|
|
this.skin_other_dis = false
|
|
|
} else {
|
|
|
this.skin_other_dis = true
|
|
|
this.oldmanData.skin_other = ''
|
|
|
}
|
|
|
},
|
|
|
other_hazard_protective_measures: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.other_hazard_protective_measures_has_dis = false
|
|
|
} else {
|
|
|
this.other_hazard_protective_measures_has_dis = true
|
|
|
this.oldmanData.other_hazard_protective_measures_has = ''
|
|
|
}
|
|
|
},
|
|
|
chemical_protective_measures: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.chemical_protective_measures_has_dis = false
|
|
|
} else {
|
|
|
this.chemical_protective_measures_has_dis = true
|
|
|
this.oldmanData.chemical_protective_measures_has = ''
|
|
|
}
|
|
|
},
|
|
|
dust_protective_measures: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.dust_protective_measures_has_dis = false
|
|
|
} else {
|
|
|
this.dust_protective_measures_has_dis = true
|
|
|
this.oldmanData.dust_protective_measures_has = ''
|
|
|
}
|
|
|
},
|
|
|
radiogen_protective_measures: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.radiogen_protective_measures_has_dis = false
|
|
|
} else {
|
|
|
this.radiogen_protective_measures_has_dis = true
|
|
|
this.oldmanData.radiogen_protective_measures_has = ''
|
|
|
}
|
|
|
},
|
|
|
physical_protective_measures: function (i) {
|
|
|
if (i == '2') {
|
|
|
this.physical_protective_measures_has_dis = false
|
|
|
} else {
|
|
|
this.physical_protective_measures_has_dis = true
|
|
|
this.oldmanData.physical_protective_measures_has = ''
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
getData: function () {
|
|
@ -2113,60 +2537,21 @@
|
|
|
if (data != null) {
|
|
|
vm.oldmanData = data
|
|
|
var vmO = vm.oldmanData
|
|
|
if (data.symptom) {
|
|
|
vm.symptom_check = data.symptom.split(',')
|
|
|
}
|
|
|
if (data.breast) {
|
|
|
vm.breast_check = data.breast.split(',')
|
|
|
}
|
|
|
if (data.drinking_type) {
|
|
|
vm.drinking_type_check = data.drinking_type.split(',')
|
|
|
}
|
|
|
if (data.dietary_habit) {
|
|
|
vm.dietary_habit_check = data.dietary_habit.split(',')
|
|
|
}
|
|
|
if (data.cerebrovascular_disease) {
|
|
|
vm.cerebrovascular_disease_check = data.cerebrovascular_disease.split(',')
|
|
|
}
|
|
|
if (data.nephropathy) {
|
|
|
vm.nephropathy_check = data.nephropathy.split(',')
|
|
|
}
|
|
|
if (data.heart_disease) {
|
|
|
vm.heart_disease_check = data.heart_disease.split(',')
|
|
|
}
|
|
|
if (data.eye_disease) {
|
|
|
vm.eye_disease_check = data.eye_disease.split(',')
|
|
|
}
|
|
|
if (data.vascular_disease) {
|
|
|
vm.vascular_disease_check = data.vascular_disease.split(',')
|
|
|
}
|
|
|
if (data.regular_followup == '2') {
|
|
|
vm.suggest_recheck_check.push('1')
|
|
|
} if (data.chronic_health_management == '2') {
|
|
|
vm.suggest_recheck_check.push('2')
|
|
|
} if (data.suggest_recheck == '2') {
|
|
|
vm.suggest_recheck_check.push('3')
|
|
|
} if (data.suggest_referral == '2') {
|
|
|
vm.suggest_recheck_check.push('4')
|
|
|
} if (data.other_health_guidance == '2') {
|
|
|
vm.suggest_recheck_check.push('5')
|
|
|
|
|
|
var arr = "symptom,breast,drinking_type,dietary_habit,cerebrovascular_disease,nephropathy,heart_disease,eye_disease,vascular_disease".split(",")
|
|
|
for (var i = 0; i < arr.length; i++) {
|
|
|
vm[arr[i] + "_check"] = data[arr[i]] ? data[arr[i]].split(',') : ""
|
|
|
}
|
|
|
if (data.stop_smoking == '2') {
|
|
|
vm.dangerFacter_check.push('1')
|
|
|
} if (data.healthy_drinking == '2') {
|
|
|
vm.dangerFacter_check.push('2')
|
|
|
} if (data.diet == '2') {
|
|
|
vm.dangerFacter_check.push('3')
|
|
|
} if (data.exercise == '2') {
|
|
|
vm.dangerFacter_check.push('4')
|
|
|
} if (data.lose_weight == '2') {
|
|
|
vm.dangerFacter_check.push('5')
|
|
|
} if (data.recommended_vaccination == '2') {
|
|
|
vm.dangerFacter_check.push('6')
|
|
|
} if (data.other_advice == '2') {
|
|
|
vm.dangerFacter_check.push('7')
|
|
|
|
|
|
var arr2 = "regular_followup,chronic_health_management,suggest_recheck,suggest_referral,other_health_guidance".split(",")
|
|
|
for (var i = 0; i < arr2.length; i++) {
|
|
|
(vm[arr2[i]] == '2') && (vm.suggest_recheck_check.push((i + 1) + ''))
|
|
|
}
|
|
|
|
|
|
var arr3 = "stop_smoking,healthy_drinking,diet,exercise,lose_weight,recommended_vaccination,other_advice".split(",")
|
|
|
for (var i = 0; i < arr3.length; i++) {
|
|
|
(vm[arr3[i]] == '2') && (vm.dangerFacter_check.push((i + 1) + ''))
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
top.toastr.error(res.msg);
|
|
@ -2176,64 +2561,24 @@
|
|
|
editData: function () {
|
|
|
var vm = this
|
|
|
var vmO = vm.oldmanData
|
|
|
if (vm.symptom_check) {
|
|
|
vmO.symptom = vm.symptom_check.join(',')
|
|
|
}
|
|
|
if (vm.breast_check) {
|
|
|
vmO.breast = vm.breast_check.join(',')
|
|
|
}
|
|
|
if (vm.drinking_type_check) {
|
|
|
vmO.drinking_type = vm.drinking_type_check.join(',')
|
|
|
}
|
|
|
if (vm.dietary_habit_check) {
|
|
|
vmO.dietary_habit = vm.dietary_habit_check.join(',')
|
|
|
}
|
|
|
if (vm.cerebrovascular_disease_check) {
|
|
|
vmO.cerebrovascular_disease = vm.cerebrovascular_disease_check.join(',')
|
|
|
}
|
|
|
if (vm.nephropathy_check) {
|
|
|
vmO.nephropathy = vm.nephropathy_check.join(',')
|
|
|
}
|
|
|
if (vm.heart_disease_check) {
|
|
|
vmO.heart_disease = vm.heart_disease_check.join(',')
|
|
|
}
|
|
|
if (vm.eye_disease_check) {
|
|
|
vmO.eye_disease = vm.eye_disease_check.join(',')
|
|
|
}
|
|
|
if (vm.vascular_disease_check) {
|
|
|
vmO.eye_disease = vm.vascular_disease_check.join(',')
|
|
|
}
|
|
|
|
|
|
vmO.symptom = vm.symptom_check ? vm.symptom_check.join(',') : ""
|
|
|
vmO.breast = vm.breast_check ? vm.breast_check.join(',') : ""
|
|
|
vmO.drinking_type = vm.drinking_type_check ? vm.drinking_type_check.join(',') : ""
|
|
|
vmO.dietary_habit = vm.dietary_habit_check ? vm.dietary_habit_check.join(',') : ""
|
|
|
vmO.cerebrovascular_disease = vm.cerebrovascular_disease_check ? vm.cerebrovascular_disease_check.join(',') : ""
|
|
|
vmO.nephropathy = vm.nephropathy_check ? vm.nephropathy_check.join(',') : ""
|
|
|
vmO.heart_disease = vm.heart_disease_check ? vm.heart_disease_check.join(',') : ""
|
|
|
vmO.eye_disease = vm.vascular_disease_check ? vm.vascular_disease_check.join(',') : ""
|
|
|
|
|
|
var arr = ["", "regular_followup", "chronic_health_management", "suggest_recheck", "suggest_referral", "other_health_guidance"]
|
|
|
vm.suggest_recheck_check.map(i => {
|
|
|
if (i == '1') {
|
|
|
vmO.regular_followup = '2'
|
|
|
} if (i == '2') {
|
|
|
vmO.chronic_health_management = '2'
|
|
|
} if (i == '3') {
|
|
|
vmO.suggest_recheck = '2'
|
|
|
} if (i == '4') {
|
|
|
vmO.suggest_referral = '2'
|
|
|
} if (i == '5') {
|
|
|
vmO.other_health_guidance = '2'
|
|
|
}
|
|
|
arr[i] && (vmO[arr[i]] = '2')
|
|
|
})
|
|
|
|
|
|
var arr2 = ["", "stop_smoking", "healthy_drinking", "diet", "exercise", "lose_weight", "recommended_vaccination", "other_advice"]
|
|
|
vm.dangerFacter_check.map(i => {
|
|
|
if (i == '1') {
|
|
|
vmO.stop_smoking = '2'
|
|
|
} if (i == '2') {
|
|
|
vmO.healthy_drinking = '2'
|
|
|
} if (i == '3') {
|
|
|
vmO.diet = '2'
|
|
|
} if (i == '4') {
|
|
|
vmO.exercise = '2'
|
|
|
} if (i == '5') {
|
|
|
vmO.lose_weight = '2'
|
|
|
} if (i == '6') {
|
|
|
vmO.recommended_vaccination = '2'
|
|
|
} if (i == '7') {
|
|
|
vmO.other_advice = '2'
|
|
|
}
|
|
|
arr2[i] && (vmO[arr2[i]] = '2')
|
|
|
})
|
|
|
this.oldmanData.create_time = null
|
|
|
this.oldmanData.version = this.version || 'v1' //版本号
|