Quellcode durchsuchen

访视表修改

zhangyanfang vor 5 Jahren
Ursprung
Commit
b602af73f1
1 geänderte Dateien mit 41 neuen und 5 gelöschten Zeilen
  1. 41 5
      app/followup/v1/html/fangshi-detail-8.html

+ 41 - 5
app/followup/v1/html/fangshi-detail-8.html

@ -285,7 +285,7 @@
					<el-radio-group v-model="oldmanData.cognitive_function" :disabled="!editable">
						<el-radio :label="1">1 粗筛阴性</el-radio>
						<el-radio :label="2" class="setinput">2 粗筛阳性, 简易智力状态检查,总分
							<el-input style="width: 120px;" min="0" type="number" :readonly="!editable" v-model="oldmanData.cognitive_function_score"></el-input>
							<el-input style="width: 120px;" min="0" type="number" :readonly="cognitive_function_score_dis||!editable" v-model="oldmanData.cognitive_function_score"></el-input>
						</el-radio>
					</el-radio-group>
				</td>
@ -296,7 +296,7 @@
					<el-radio-group v-model="oldmanData.emotional_state" :disabled="!editable">
						<el-radio :label="1">1 粗筛阴性</el-radio>
						<el-radio :label="2" class="setinput">2 粗筛阳性, 简易智力状态检查,总分
							<el-input style="width: 120px;" min="0" type="number" :readonly="!editable" v-model="oldmanData.emotional_state_score"></el-input>
							<el-input style="width: 120px;" min="0" type="number" :readonly="emotional_state_score_dis||!editable" v-model="oldmanData.emotional_state_score"></el-input>
						</el-radio>
					</el-radio-group>
				</td>
@ -433,7 +433,7 @@
							<div class="ui-grid">
								<div class="ui-col-0 lh27">2 已戒酒,戒酒年龄:</div>
								<div class="ui-col-1">
									<el-input type="number" :readonly="!editable" min="0" v-model="oldmanData.stop_drinking_age" placeholder=""></el-input>
									<el-input type="number" :readonly="stop_drinking_age_dis||!editable" min="0" v-model="oldmanData.stop_drinking_age" placeholder=""></el-input>
								</div>
								<div class="ui-col-0 lh27">岁</div>
							</div>
@ -2029,11 +2029,14 @@
						isEditBtn: true,
						symptom_other_dis: true,
						other_drinking_type_dis: true,
						stop_drinking_age_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,
						emotional_state_score_dis:true,
						cognitive_function_score_dis:true,
						skin_other_dis: true,
						sclera_other_dis: true,
						lymphaden_other_dis: true,
@ -2199,6 +2202,15 @@
					},
					health_examination: function () {
						return this.oldmanData.health_examination
					},
					is_stop_drinking:function(){
						return this.oldmanData.is_stop_drinking
					},
					cognitive_function:function(){
						return this.oldmanData.cognitive_function
					},
					emotional_state:function(){
						return this.oldmanData.emotional_state
					}
				},
				watch: {
@ -2209,13 +2221,13 @@
							this.goal_weight_dis = false
						} else {
							this.goal_weight_dis = true
							this.goal_weight = ''
							this.oldmanData.goal_weight = ''
						}
						if (a > -1) {
							this.other_advice_description_dis = false
						} else {
							this.other_advice_description_dis = true
							this.oldmanData.other_advice_description = ''
							this.other_advice_description_dis = true
						}
					},
					suggest_recheck_check: function (i) {
@ -2544,6 +2556,30 @@
							this.physical_protective_measures_has_dis = true
							this.oldmanData.physical_protective_measures_has = ''
						}
					},
					is_stop_drinking:function(i){
						if (i == '2') {
							this.stop_drinking_age_dis = false
						} else {
							this.stop_drinking_age_dis = true
							this.oldmanData.stop_drinking_age = ''
						}
					},
					cognitive_function:function(i){
						if(i=='2'){
							this.cognitive_function_score_dis=false
						}else{
							this.cognitive_function_score_dis=true
							this.oldmanData.cognitive_function_score=''
						}
					},
					emotional_state:function(i){
						if(i=='2'){
							this.emotional_state_score_dis=false
						}else{
							this.emotional_state_score_dis=true
							this.oldmanData.emotional_state_score=''
						}
					}
				},
				methods: {