wanglaoye 1 年之前
父节点
当前提交
011cb85e05
共有 1 个文件被更改,包括 179 次插入169 次删除
  1. 179 169
      pages/health_report/component/detection_result.vue

+ 179 - 169
pages/health_report/component/detection_result.vue

@@ -41,190 +41,201 @@
 				</view>
 			</view>
 		</view>
-		<view class="centerY mt-3">
-			<view class="bule_line" style=""></view>
-			<text class="font-bold text-dark ml-2 fs-16 line-height1">尿常规</text>
-		</view>
-		<view class="mt-3 bg-white p-3">
-			<view class="">
-				<view class="mtable-title centerY bg-primary text-white fs-12">
-					<view class="text-center w-25">
-						检查项
-					</view>
-					<view class=" text-center w-25">
-						标准值
-					</view>
-					<view class="text-center  w-30">
-						当前结果
+		<!-- 尿常规 -->
+		<view class="" v-if="0">
+			<view class="centerY mt-3">
+				<view class="bule_line" style=""></view>
+				<text class="font-bold text-dark ml-2 fs-16 line-height1">尿常规</text>
+			</view>
+			<view class="mt-3 bg-white p-3">
+				<view class="">
+					<view class="mtable-title centerY bg-primary text-white fs-12">
+						<view class="text-center w-25">
+							检查项
+						</view>
+						<view class=" text-center w-25">
+							标准值
+						</view>
+						<view class="text-center  w-30">
+							当前结果
+						</view>
+						<view class="text-center w-20">
+							单位
+						</view>
 					</view>
-					<view class="text-center w-20">
-						单位
+					<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable2"
+						style="color: #868687;">
+						<view class="text-center w-25 text-dark">
+							{{item.title}}
+						</view>
+						<view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
+							{{item.standard1}}
+						</view>
+						<view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
+							{{item.standard2}}
+						</view>
+						<view class="text-center w-30">
+							<span v-if="item.type==1">{{item.value}}</span>
+							<span v-if="item.type==0" class="text-error">{{item.value }}
+							</span>
+						</view>
+						<view class="text-center w-20">
+							{{item.unit}}
+						</view>
 					</view>
 				</view>
-				<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable2" style="color: #868687;">
-					<view class="text-center w-25 text-dark">
-						{{item.title}}
-					</view>
-					<view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
-						{{item.standard1}}
-					</view>
-					<view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
-						{{item.standard2}}
-					</view>
-					<view class="text-center w-30">
-						<span v-if="item.type==1">{{item.value}}</span>
-						<span v-if="item.type==0" class="text-error">{{item.value }}
-						</span>
+				<view class="fs-14 border-top mt-3">
+					<view class="mt-3">
+						报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
 					</view>
-					<view class="text-center w-20">
-						{{item.unit}}
+					<view class="mt-2">
+						报告医生: <span>{{'边建丞'}}</span>
 					</view>
 				</view>
 			</view>
-			<view class="fs-14 border-top mt-3">
-				<view class="mt-3">
-					报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
-				</view>
-				<view class="mt-2">
-					报告医生: <span>{{'边建丞'}}</span>
-				</view>
-			</view>
-		</view>
-		<view class="centerY mt-3">
-			<view class="bule_line" style=""></view>
-			<text class="font-bold text-dark ml-2 fs-16 line-height1">血常规</text>
 		</view>
-		<view class="mt-3 bg-white p-3">
-			<view class="">
-				<view class="mtable-title centerY bg-primary text-white fs-12">
-					<view class="text-center w-30">
-						检查项
-					</view>
-					<view class=" text-center w-25">
-						标准值
-					</view>
-					<view class="text-center  w-25">
-						当前结果
+		<view class="" v-if="0">
+			<view class="centerY mt-3">
+				<view class="bule_line" style=""></view>
+				<text class="font-bold text-dark ml-2 fs-16 line-height1">血常规</text>
+			</view>
+			<view class="mt-3 bg-white p-3">
+				<view class="">
+					<view class="mtable-title centerY bg-primary text-white fs-12">
+						<view class="text-center w-30">
+							检查项
+						</view>
+						<view class=" text-center w-25">
+							标准值
+						</view>
+						<view class="text-center  w-25">
+							当前结果
+						</view>
+						<view class="text-center w-20">
+							单位
+						</view>
 					</view>
-					<view class="text-center w-20">
-						单位
+					<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable3"
+						style="color: #868687;">
+						<view class="text-center w-30 text-dark">
+							{{item.title}}
+						</view>
+						<view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
+							{{item.standard1}}
+						</view>
+						<view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
+							{{item.standard2}}
+						</view>
+						<view class="text-center w-25">
+							<span v-if="item.type==1">{{item.value}}</span>
+							<span v-if="item.type==0" class="text-error">{{item.value }}
+							</span>
+						</view>
+						<view class="text-center w-20">
+							{{item.unit}}
+						</view>
 					</view>
 				</view>
-				<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable3" style="color: #868687;">
-					<view class="text-center w-30 text-dark">
-						{{item.title}}
-					</view>
-					<view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
-						{{item.standard1}}
-					</view>
-					<view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
-						{{item.standard2}}
+				<view class="fs-14 border-top mt-3">
+					<view class="mt-3">
+						报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
 					</view>
-					<view class="text-center w-25">
-						<span v-if="item.type==1">{{item.value}}</span>
-						<span v-if="item.type==0" class="text-error">{{item.value }}
-						</span>
+					<view class="mt-2">
+						报告医生: <span>{{'边建丞'}}</span>
 					</view>
-					<view class="text-center w-20">
-						{{item.unit}}
-					</view>
-				</view>
-			</view>
-			<view class="fs-14 border-top mt-3">
-				<view class="mt-3">
-					报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
-				</view>
-				<view class="mt-2">
-					报告医生: <span>{{'边建丞'}}</span>
 				</view>
 			</view>
 		</view>
-		<view class="centerY mt-3">
-			<view class="bule_line" style=""></view>
-			<text class="font-bold text-dark ml-2 fs-16 line-height1">B超</text>
-		</view>
-		<view class="mt-3 bg-white p-3">
-			<view class="">
-				<view class="mtable-title centerY bg-primary text-white fs-12">
-					<view class="text-center w-30">
-						检查项
+		<view class="" v-if="0">
+			<view class="centerY mt-3">
+				<view class="bule_line" style=""></view>
+				<text class="font-bold text-dark ml-2 fs-16 line-height1">B超</text>
+			</view>
+			<view class="mt-3 bg-white p-3">
+				<view class="">
+					<view class="mtable-title centerY bg-primary text-white fs-12">
+						<view class="text-center w-30">
+							检查项
+						</view>
+						<view class="w-70">
+							当前结果
+						</view>
+
 					</view>
-					<view class="w-70">
-						当前结果
+					<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable4"
+						style="color: #868687;align-items: flex-start;">
+						<view class="text-center w-30 text-dark">
+							{{item.title}}
+						</view>
+						<view class="w-70">
+							<span v-if="item.type==1">{{item.value}}</span>
+							<!-- <span v-if="item.type==0" class="text-error">{{item.value }} -->
+							</span>
+						</view>
 					</view>
-
 				</view>
-				<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable4"
-					style="color: #868687;align-items: flex-start;">
-					<view class="text-center w-30 text-dark">
-						{{item.title}}
+				<view class="fs-14 border-top mt-3">
+					<view class="mt-3">
+						报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
 					</view>
-					<view class="w-70">
-						<span v-if="item.type==1">{{item.value}}</span>
-						<!-- <span v-if="item.type==0" class="text-error">{{item.value }} -->
-						</span>
+					<view class="mt-2">
+						报告医生: <span>{{'边建丞'}}</span>
 					</view>
 				</view>
 			</view>
-			<view class="fs-14 border-top mt-3">
-				<view class="mt-3">
-					报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
-				</view>
-				<view class="mt-2">
-					报告医生: <span>{{'边建丞'}}</span>
-				</view>
-			</view>
-		</view>
-		<view class="centerY mt-3">
-			<view class="bule_line" style=""></view>
-			<text class="font-bold text-dark ml-2 fs-16 line-height1">大便常规</text>
 		</view>
-		<view class="mt-3 bg-white p-3">
-			<view class="">
-				<view class="mtable-title centerY bg-primary text-white fs-12">
-					<view class="text-center w-30">
-						检查项
-					</view>
-					<view class=" text-center w-25">
-						标准值
-					</view>
-					<view class="text-center  w-25">
-						当前结果
+		<view class="" v-if="0">
+			<view class="centerY mt-3">
+				<view class="bule_line" style=""></view>
+				<text class="font-bold text-dark ml-2 fs-16 line-height1">大便常规</text>
+			</view>
+			<view class="mt-3 bg-white p-3">
+				<view class="">
+					<view class="mtable-title centerY bg-primary text-white fs-12">
+						<view class="text-center w-30">
+							检查项
+						</view>
+						<view class=" text-center w-25">
+							标准值
+						</view>
+						<view class="text-center  w-25">
+							当前结果
+						</view>
+						<view class="text-center w-20">
+							单位
+						</view>
 					</view>
-					<view class="text-center w-20">
-						单位
+					<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable5"
+						style="color: #868687;">
+						<view class="text-center w-30 text-dark">
+							{{item.title}}
+						</view>
+						<view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
+							{{item.standard1}}
+						</view>
+						<view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
+							{{item.standard2}}
+						</view>
+						<view class="text-center w-25">
+							<span v-if="item.type==1">{{item.value}}</span>
+							<span v-if="item.type==0" class="text-error">{{item.value }}
+							</span>
+						</view>
+						<view class="text-center w-20">
+							{{item.unit}}
+						</view>
 					</view>
 				</view>
-				<view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable5" style="color: #868687;">
-					<view class="text-center w-30 text-dark">
-						{{item.title}}
-					</view>
-					<view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
-						{{item.standard1}}
+				<view class="fs-14 border-top mt-3">
+					<view class="mt-3">
+						报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
 					</view>
-					<view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
-						{{item.standard2}}
-					</view>
-					<view class="text-center w-25">
-						<span v-if="item.type==1">{{item.value}}</span>
-						<span v-if="item.type==0" class="text-error">{{item.value }}
-						</span>
-					</view>
-					<view class="text-center w-20">
-						{{item.unit}}
+					<view class="mt-2">
+						报告医生: <span>{{'边建丞'}}</span>
 					</view>
 				</view>
 			</view>
-			<view class="fs-14 border-top mt-3">
-				<view class="mt-3">
-					报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
-				</view>
-				<view class="mt-2">
-					报告医生: <span>{{'边建丞'}}</span>
-				</view>
-			</view>
 		</view>
-		
 	</view>
 </template>
 
@@ -660,23 +671,22 @@
 		},
 	];
 
-// b超
+	// b超
 	const datatable4 = [{
-			title: '检查部位',
-			value: '肝胆脾胰',
-			type: 1,
-		}, {
-			title: '影像表现',
-			value: '肝胆脾胰未见明显异常',
-			type: 1,
-		}, {
-			title: '影像诊断',
-			value: '肝脏大小形态正常,包膜光滑,实质回声均匀,肝内血管纹理清晰门静脉主千内径正常,血流通畅胆囊大小形态正常,壁薄光滑,内透声好。胆总管不扩张,显示段未见明显强光团。 脾脏大小正常,包膜光滑,实质回声均匀胰腺显示部分大小形态正常,实质回声均匀,胰管无扩张.',
-			type: 1,
-		},
-	];
-//大便常规
-	const datatable5 =[{
+		title: '检查部位',
+		value: '肝胆脾胰',
+		type: 1,
+	}, {
+		title: '影像表现',
+		value: '肝胆脾胰未见明显异常',
+		type: 1,
+	}, {
+		title: '影像诊断',
+		value: '肝脏大小形态正常,包膜光滑,实质回声均匀,肝内血管纹理清晰门静脉主千内径正常,血流通畅胆囊大小形态正常,壁薄光滑,内透声好。胆总管不扩张,显示段未见明显强光团。 脾脏大小正常,包膜光滑,实质回声均匀胰腺显示部分大小形态正常,实质回声均匀,胰管无扩张.',
+		type: 1,
+	}, ];
+	//大便常规
+	const datatable5 = [{
 			title: '颜色',
 			value: '',
 			standard1: '',
@@ -754,7 +764,7 @@
 			type: 1,
 			key: '',
 			key1: '',
-			unit: '', 
+			unit: '',
 		},
 	];