Jelajahi Sumber

Merge branch 'master' of http://192.168.1.220:10080/raolu/PC-application

lulihong 6 tahun lalu
induk
melakukan
7c66f880fc

+ 20 - 0
api/record-api.js

@ -73,6 +73,26 @@
        getFollowupDrugs: function(data){
            return httpRequest.get("doctor/followup/drugs/getFollowupDrugs", {data: data})
        },
        //随访医生
		getFollowUpDoc: function(data){
            return httpRequest.get("doctor/patient_group/sign_doctors", {data: data})
        },
        //随访状态
        getFollowUpStatue: function(data){
            return httpRequest.get("common/getDictByDictName", {data: data})
        },
        //修改随访结果
         ModifyFollowupResult: function(data){
            return httpRequest.post("doctor/followup/saveFollowupProjectData", {data: data})
        },
        //保存药品(两个接口)
		saveDrugs: function(data){
            return httpRequest.post("doctor/followup/drugs/saveFollowupDrugs", {data: data})
        },
        //保存服药规律性
		saveDrugsLaw: function(data){
	            return httpRequest.post("doctor/followup/saveFollowupProjectData", {data: data})
	        },
	}
    exports.recordAPI = recordAPI;
})(window)

+ 15 - 3
app/followup/v1/html/fangshi-detail-7.html

@ -115,7 +115,7 @@
                <td>
                    <el-radio-group v-model="severeMentalDisorderData.death_reason_type" :disabled="!editable">
                        <el-radio :disabled="!editable" label="1">躯体疾病</el-radio>
                        <el-checkbox-group v-model="severeMentalDisorderData.death_reason_type_check" :disabled="death_reason_type_dis||!editable">
                        <el-checkbox-group v-model="death_reason_type_check" :disabled="death_reason_type_dis||!editable">
                            <el-checkbox label="1" style="margin-left: 30px;">传染病和寄生虫病</el-checkbox>
                            <el-checkbox label="2">肿瘤</el-checkbox>
                            <el-checkbox label="3">心脏病</el-checkbox>
@ -286,7 +286,7 @@
                            <el-input type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_6"></el-input>次
                        </div>
                    </div>
                    <el-checkbox true-label="1" false-label="0" v-model="severeMentalDisorderData.dangerous_behavior_7">&emsp;7.无危险行为
                    <el-checkbox true-label="1" false-label="0" :disabled="!editable" v-model="severeMentalDisorderData.dangerous_behavior_7">&emsp;7.无危险行为
                    </el-checkbox>
                    <!-- </el-checkbox-group> -->
                </td>
@ -622,9 +622,20 @@
                death_reason_type: function () {
                    return this.severeMentalDisorderData.death_reason_type
                },
                dangerous_behavior_7: function () {
                    return this.severeMentalDisorderData.dangerous_behavior_7
                },
            },
            watch: {
                dangerous_behavior_7: function (i) {
                    if (i == '1') {
                        var vmS = this.severeMentalDisorderData
                        for (var i = 1; i < 7; i++) {
                            var arr="dangerous_behavior_"+i
                            vmS[arr.split(',')]=''
                        }
                    }
                },
                referral: function (i) {
                    if (i == '2') {
                        this.referral_dis = false
@ -665,6 +676,7 @@
                        this.death_reason_type_dis = false
                    } else {
                        this.death_reason_type_dis = true
                        this.death_reason_type_check = []
                    }
                },
                symptom_check: function (i) {

+ 661 - 318
app/followup/v1/html/fangshi-detail-8.html

@ -104,8 +104,7 @@
				<div class="ui-grid">
					<div class="ui-col-0 lh27">身份证:</div>
					<div class="ui-col-1">
						<el-input onkeypress="return event.keyCode>=48&&event.keyCode<=57" :readonly="!editable" v-model="oldmanData.idcard" placeholder=""
						 clearable></el-input>
						<el-input :readonly="!editable" v-model="oldmanData.idcard" placeholder="" clearable></el-input>
					</div>
				</div>
			</div>
@ -138,8 +137,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>
@ -174,10 +173,8 @@
			</tr>
			<!--一般状况-->
			<tr>
				<td rowspan="9" class="col-w60 c-t-center">一
					<br>般
					<br>状
					<br>况</td>
				<td rowspan="9" class="col-w60 c-t-center">一 般 状 况
				</td>
				<td class="col-w120 c-t-center">体&emsp;&emsp;温</td>
				<td class="ui-grid" style="border: 0;">
					<div class="ui-col-1">
@ -214,7 +211,7 @@
				</td>
			</tr>
			<tr>
				<td class="ui-grid" style="border: 0;">
				<td class="ui-grid" style="border-top: 0;border-bottom: 0;">
					<div class="ui-ciol-0 col-w60 c-border-r">右&emsp;侧</div>
					<div class="ui-col-1 setinput">
						<el-input type="number" style="width: 100px;" :readonly="!editable" v-model="oldmanData.blood_pressure_right_low" placeholder=""></el-input>/
@ -231,7 +228,7 @@
					</div>
					<div class="ui-col-0">cm</div>
				</td>
				<td class="col-w120 c-t-center" style="border: 0;">体&emsp;&emsp;重</td>
				<td class="col-w120 c-t-center" style="border-right: 0;">体&emsp;&emsp;重</td>
				<td class="ui-grid">
					<div class="ui-col-1">
						<el-input :readonly="!editable" v-model="oldmanData.weight" placeholder="" clearable></el-input>
@ -329,14 +326,14 @@
					<div class="ui-col-1">
						<el-input :readonly="!editable" v-model="oldmanData.exercise_time" placeholder="" clearable></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;">
					<div class="ui-col-1">
						<el-input :readonly="!editable" v-model="oldmanData.sustain_exercise_time" placeholder="" clearable></el-input>
					</div>
					<div class="ui-col-0">年</div>
					<div class="ui-col-0 lh27">年</div>
				</td>
			</tr>
			<tr>
@ -353,14 +350,15 @@
			<tr>
				<td class="col-w120 c-t-center">饮食习惯</td>
				<td colspan="4">
					<el-checkbox-group v-model="dietary_habit_check" :disabled="!editable">
					<el-checkbox-group v-model="dietary_check" :disabled="!editable">
						<el-checkbox label="1">荤素均衡</el-checkbox>
						<el-checkbox label="2">荤食为主</el-checkbox>
						<el-checkbox label="3">素食为主 </el-checkbox>
						<el-checkbox label="4">嗜盐 </el-checkbox>
						<el-checkbox label="5">嗜油 </el-checkbox>
						<el-checkbox label="2"> 荤食为主</el-checkbox>
						<el-checkbox label="3"> 素食为主</el-checkbox>
						<el-checkbox label="4">嗜盐</el-checkbox>
						<el-checkbox label="5">嗜油</el-checkbox>
						<el-checkbox label="6">嗜糖</el-checkbox>
					</el-checkbox-group>
				</td>
			</tr>
			<tr>
@ -378,11 +376,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.smoking_daily" placeholder="" clearable></el-input>
						</div>
						<div class="ui-col-0">次</div>
						<div class="ui-col-0 lh27">次</div>
					</div>
				</td>
			</tr>
@ -390,16 +388,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 +416,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 +431,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>
@ -477,7 +475,6 @@
				<td class="col-w120 c-t-center">职业病危害因素接触史</td>
				<td colspan="4">
					<div>
						<!-- <el-radio-group :disabled="!editable" v-model="oldmanData.">
							<el-radio :label="1">1 无</el-radio>
							<el-radio :label="2">
@ -494,118 +491,123 @@
								</div>
							</el-radio>
						</el-radio-group> -->
					</div>
					<div class="ui-grid">
						<div class="ui-col-0 mr10">毒物种类</div>
						<div class="ui-col-1">
							<div class="ui-grid">
						</el-radio-group> 
					</div>-->
						<div class="ui-grid">
							<div class="ui-col-0 mr10">毒物种类</div>
							<div class="ui-col-1">
								<div class="ui-grid">
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">粉尘</div>
										<div class="ui-col-1 setinput">
											<el-input type="text" :readonly="!editable" v-model="oldmanData.dust" clearable></el-input>
									<div class="ui-grid">
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">粉尘</div>
											<div class="ui-col-1 setinput">
												<el-input type="text" :readonly="!editable" v-model="oldmanData.dust" clearable></el-input>
											</div>
										</div>
									</div>
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">&emsp; &emsp; &emsp; &emsp; 粉尘防范措施</div>
										<div class="ui-col-1">
											<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-radio>
											</el-radio-group>
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">&emsp; &emsp; &emsp; &emsp; 粉尘防范措施</div>
											<div class="ui-col-1">
												<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-radio>
												</el-radio-group>
											</div>
										</div>
									</div>
								</div>
							</div>
							<div class="ui-grid">
								<div class="ui-grid">
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">放射物质</div>
										<div class="ui-col-1 setinput">
											<el-input type="text" :readonly="!editable" v-model="oldmanData.radiogen" clearable></el-input>
									<div class="ui-grid">
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">放射物质</div>
											<div class="ui-col-1 setinput">
												<el-input type="text" :readonly="!editable" v-model="oldmanData.radiogen" clearable></el-input>
											</div>
										</div>
									</div>
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">&emsp; &emsp;&nbsp;&nbsp;&nbsp;放射物质防范措施</div>
										<div class="ui-col-1">
											<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-radio>
											</el-radio-group>
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">&emsp; &emsp;&nbsp;&nbsp;&nbsp;放射物质防范措施</div>
											<div class="ui-col-1">
												<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-radio>
												</el-radio-group>
											</div>
										</div>
									</div>
								</div>
							</div>
							<div class="ui-grid">
								<div class="ui-grid">
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">物理因素</div>
										<div class="ui-col-1 setinput">
											<el-input type="text" :readonly="!editable" v-model="oldmanData.physical_factor" clearable></el-input>
									<div class="ui-grid">
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">物理因素</div>
											<div class="ui-col-1 setinput">
												<el-input type="text" :readonly="!editable" v-model="oldmanData.physical_factor" clearable></el-input>
											</div>
										</div>
									</div>
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">&emsp; &emsp; &nbsp; 物理因素防范措施</div>
										<div class="ui-col-1">
											<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-radio>
											</el-radio-group>
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">&emsp; &emsp; &nbsp; 物理因素防范措施</div>
											<div class="ui-col-1">
												<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-radio>
												</el-radio-group>
											</div>
										</div>
									</div>
								</div>
							</div>
							<div class="ui-grid">
								<div class="ui-grid">
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">化学物质</div>
										<div class="ui-col-1 setinput">
											<el-input type="text" :readonly="!editable" v-model="oldmanData.chemical_factor" clearable></el-input>
										</div>
									<div class="ui-grid">
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">化学物质</div>
											<div class="ui-col-1 setinput">
												<el-input type="text" :readonly="!editable" v-model="oldmanData.chemical_factor" clearable></el-input>
											</div>
									</div>
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">&emsp; &emsp; &nbsp; &nbsp;化学物质防范措施</div>
										<div class="ui-col-1">
											<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-radio>
											</el-radio-group>
										</div>
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">&emsp; &emsp; &nbsp; &nbsp;化学物质防范措施</div>
											<div class="ui-col-1">
												<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-radio>
												</el-radio-group>
											</div>
										</div>
									</div>
								</div>
							</div>
							<div class="ui-grid">
								<div class="ui-grid">
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">其他危害因素</div>
										<div class="ui-col-1 setinput">
											<el-input type="text" :readonly="!editable" v-model="oldmanData.other_hazard_factors" clearable></el-input>
										</div>
									<div class="ui-grid">
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">其他危害因素</div>
											<div class="ui-col-1 setinput">
												<el-input type="text" :readonly="!editable" v-model="oldmanData.other_hazard_factors" clearable></el-input>
											</div>
									</div>
									<div class="ui-col-1 ui-grid">
										<div class="ui-col-0">&emsp; 其他危害因素防范措施</div>
										<div class="ui-col-1">
											<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-radio>
											</el-radio-group>
										</div>
										<div class="ui-col-1 ui-grid">
											<div class="ui-col-0">&emsp; 其他危害因素防范措施</div>
											<div class="ui-col-1">
												<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-radio>
												</el-radio-group>
											</div>
										</div>
									</div>
								</div>
							</div>
				</td>
			</tr>
@ -674,7 +676,10 @@
					听 力
				</td>
				<td colspan="4">
					<el-input :readonly="!editable" v-model="oldmanData.hearing" placeholder="" clearable></el-input>
					<el-radio-group :disabled="!editable" v-model="oldmanData.hearing">
						<el-radio :label="1">1 听见</el-radio>
						<el-radio :label="2">2 听不清或无法听见</el-radio>
					</el-radio-group>
				</td>
			</tr>
			<tr>
@ -682,7 +687,10 @@
					运动功能
				</td>
				<td colspan="4">
					<el-input :readonly="!editable" v-model="oldmanData.motor_function" placeholder="" clearable></el-input>
					<el-radio-group :disabled="!editable" v-model="oldmanData.fundus">
						<el-radio :label="1">1 可顺利完成</el-radio>
						<el-radio :label="2">2 无法独立完成任何一个动作</el-radio>
					</el-radio-group>
				</td>
			</tr>
			<!-- 查体 -->
@ -727,7 +735,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 +750,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 +940,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 +1098,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 +1288,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 +1300,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 +1314,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 +1445,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 +1512,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 +1525,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 +1539,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>
@ -1612,41 +1626,41 @@
			<tr class="setPicker">
				<td class="c-t-center">
					<div class="flex-box" style="align-items: center;justify-content: center;">
						<el-date-picker :readonly="!editable" v-model="oldmanData.admission_date1" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						<el-date-picker :readonly="!editable" v-model="oldmanData.building_bed_date1" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						</el-date-picker>
						/
						<el-date-picker :readonly="!editable" v-model="oldmanData.admission_date1" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						<el-date-picker :readonly="!editable" v-model="oldmanData.cancel_bed_date1" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						</el-date-picker>
					</div>
				</td>
				<td class="c-t-center">
					<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					<el-input :readonly="!editable" v-model="oldmanData.building_bed_reason1" placeholder="" clearable></el-input>
				</td>
				<td class="c-t-center">
					<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					<el-input :readonly="!editable" v-model="oldmanData.building_bed_hospiatl_name1" placeholder="" clearable></el-input>
				</td>
				<td class="c-t-center">
					<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					<el-input :readonly="!editable" v-model="oldmanData.building_bed_number1" placeholder="" clearable></el-input>
				</td>
			</tr>
			<tr class="setPicker">
				<td class="c-t-center">
					<div class="flex-box" style="align-items: center;justify-content: center;">
						<el-date-picker :readonly="!editable" v-model="oldmanData.admission_date1" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						<el-date-picker :readonly="!editable" v-model="oldmanData.building_bed_date2" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						</el-date-picker>
						/
						<el-date-picker :readonly="!editable" v-model="oldmanData.admission_date1" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						<el-date-picker :readonly="!editable" v-model="oldmanData.cancel_bed_date2" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
						</el-date-picker>
					</div>
				</td>
				<td class="c-t-center">
					<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					<el-input :readonly="!editable" v-model="oldmanData.building_bed_reason2" placeholder="" clearable></el-input>
				</td>
				<td class="c-t-center">
					<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					<el-input :readonly="!editable" v-model="oldmanData.building_bed_hospiatl_name2" placeholder="" clearable></el-input>
				</td>
				<td class="c-t-center">
					<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					<el-input :readonly="!editable" v-model="oldmanData.building_bed_number2" placeholder="" clearable></el-input>
				</td>
			</tr>
@ -1864,7 +1878,8 @@
						异常 1
					</div>
					<div class="ui-col-1  setinput">
						<el-input :readonly="!editable" v-model="oldmanData.health_examination_abnormal1" placeholder="" clearable></el-input>
						<el-input :readonly="health_examination_abnormal1_dis||!editable" v-model="oldmanData.health_examination_abnormal1" placeholder=""
						 clearable></el-input>
					</div>
				</div>
				<div class="ui-grid">
@ -1872,7 +1887,8 @@
						异常 2
					</div>
					<div class="ui-col-1  setinput">
						<el-input :readonly="!editable" v-model="oldmanData.health_examination_abnormal2" placeholder="" clearable></el-input>
						<el-input :readonly="health_examination_abnormal2_dis||!editable" v-model="oldmanData.health_examination_abnormal2" placeholder=""
						 clearable></el-input>
					</div>
				</div>
				<div class="ui-grid">
@ -1880,7 +1896,8 @@
						异常 3
					</div>
					<div class="ui-col-1  setinput">
						<el-input :readonly="!editable" v-model="oldmanData.health_examination_abnormal3" placeholder="" clearable></el-input>
						<el-input :readonly="health_examination_abnormal3_dis||!editable" v-model="oldmanData.health_examination_abnormal3" placeholder=""
						 clearable></el-input>
					</div>
				</div>
				<div class="ui-grid">
@ -1888,7 +1905,8 @@
						异常 4
					</div>
					<div class="ui-col-1 setinput">
						<el-input :readonly="!editable" v-model="oldmanData.health_examination_abnormal4" placeholder="" clearable></el-input>
						<el-input :readonly="health_examination_abnormal4_dis||!editable" v-model="oldmanData.health_examination_abnormal4" placeholder=""
						 clearable></el-input>
					</div>
				</div>
@ -1903,7 +1921,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,48 +1934,15 @@
					<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>
			</tr>
			<!-- <tr>
					<td class="col-w120 c-t-center">体 温(℃)</td>
					<td colspan="3">
						<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					</td>
				</tr>
				<tr>
					<td class="col-w120 c-t-center">一般健康情况</td>
					<td colspan="3">
						<el-input type="textarea" :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					</td>
				</tr>
				<tr>
					<td class="col-w120 c-t-center">一般心理状况</td>
					<td colspan="3">
						<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					</td>
				</tr>
				<tr>
					<td class="col-w120 c-t-center">血 压(mmHg)</td>
					<td colspan="3">
						<el-input :readonly="!editable" v-model="input" placeholder="" clearable></el-input>
					</td>
				</tr>
				<tr>
					<td class="col-w120 c-t-center">乳 房</td>
					<td colspan="3">
						<el-radio :disabled="!editable" v-model="radio" label="1">未见异常</el-radio>
  						<el-radio :disabled="!editable" v-model="radio" label="2">异常</el-radio>
					</td>
				</tr>-->
		</table>
		<!-- 老年人生活自理 -->
		<div class="p20">
@ -2032,46 +2018,57 @@
				el: "#app",
				data: function () {
					return {
						editable: true,
						editable: false,
						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,
						health_examination_abnormal1_dis: true,
						health_examination_abnormal2_dis: true,
						health_examination_abnormal3_dis: true,
						health_examination_abnormal4_dis: true,
						dietary_check: [],
						symptom_check: [],
						breast_check: [],
						suggest_recheck_check: [],
						dangerFacter_check: [],
						drinking_type_check: [],
						dietary_habit_check: [],
						cerebrovascular_disease_check: [],
						nephropathy_check: [],
						heart_disease_check: [],
@ -2101,8 +2098,428 @@
				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
					},
					health_examination: function () {
						return this.oldmanData.health_examination
					}
				},
				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 = ''
						}
					},
					health_examination: function (i) {
						if (i == '2') {
							for(var i=1;i<5;i++){
								this['health_examination_abnormal'+i+'_dis']=false
							}
						}else{
							for(var i=1;i<5;i++){
								this['health_examination_abnormal'+i+'_dis']=true
								this.oldmanData['health_examination_abnormal'+i]=''
							}
						}
					},
					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 +2530,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,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 +2554,23 @@
					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_check ? vm.dietary_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'	//版本号
@ -2258,6 +2595,12 @@
							this.editable = true
						}
					}
				},
				Nnmber: function (event) {
					if (!event.keyCode >= 48 && event.keyCode <= 57) {
						return top.toastr.info('保存成功')
					}
				}
			})
		</script>

+ 12 - 8
component/record/follow-up-list.js

@ -20,14 +20,18 @@ Vue.component('follow-list', {
	methods: {
		viewDetail: function(list) {
			if(list.status == 1){
				top.layer.open({
			      	type: 2,
			      	maxmin: true,
			      	title:"随访详情",
			      	area: ['800px', '600px'],
			      	shadeClose: false,
			     	content: '../../followup/html/lay_followUp_detail.html?id='+list.id
			    });
				if(list.followupClass =="5" || list.followupClass =="6" ||list.followupClass =="7" ||list.followupClass =="8" ||list.followupClass =="9"){
					window.location.href = "../index.html?id="+list.id+"&type="+list.followupClass+"&isEdit=0"
				}else{
					top.layer.open({
				      	type: 2,
				      	maxmin: true,
				      	title:"随访详情",
				      	area: ['800px', '650px'],
				      	shadeClose: false,
				     	content: '../../followup/html/lay_followUp_detail.html?id='+list.id
				    });
				}
			}else{
				top.toastr.warning("请在手机上完成随访才能查看详情")
			}	

+ 8 - 0
js/esModule.js

@ -0,0 +1,8 @@
var defineProperty = Object.defineProperty;
Object.defineProperty = function(exports, name) {
	if(name === '__esModule') {
		exports[name] = true;
		return;
	}
	return defineProperty.apply(this, arguments);
};