12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202 |
- <template>
- <view class="m-3 mb-5">
- <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="mtable-body-item centerY fs-12" v-for="(item,index) in datatable1" 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>
- <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="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="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>
- <view class="text-center w-20">
- 单位
- </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>
- <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="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>
- <view class="w-70">
- 当前结果
- </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>
- <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="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>
- <view class="text-center w-20">
- 单位
- </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>
- <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="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>
- <script>
- import {
- config
- } from '@/static/js/defult_value.js';
- // 尿常规 数据
- const datatable2 = [{
- title: '葡萄糖(GLU)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: 'key',
- key1: 'key1',
- unit: 'mmol/L',
- },
- {
- title: '胆红素(BIL)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: 'key',
- key1: 'key1',
- unit: 'umol/L',
- },
- {
- title: '酮体(KET)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: 'key',
- key1: 'key1',
- unit: 'mmol/L',
- },
- {
- title: '比重(SG)',
- value: '',
- standard1: '1.015-1.025',
- standard2: '1.015-1.025',
- type: 1,
- key: 'key',
- key1: 'key1',
- unit: '',
- },
- {
- title: '潜血(BLD)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: 'key',
- key1: 'key1',
- unit: 'mg/L',
- },
- {
- title: '酸碱度(PH)',
- value: '',
- standard1: '5.5-6.5',
- standard2: '5.5-6.5',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '蛋白(PRO)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: 'g/L',
- },
- {
- title: '尿胆原(URO)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: 'mmol/L',
- },
- {
- title: '亚硝酸盐(NIT)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '白细胞(LEU)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '颜色(Color)',
- value: '',
- standard1: '',
- standard2: '',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '浊度(TURB)',
- value: '',
- standard1: '',
- standard2: '',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '红细胞(RBC)',
- value: '',
- standard1: '0-13.1',
- standard2: '0-13.1',
- type: 1,
- key: '',
- key1: '',
- unit: '/ul',
- },
- {
- title: '白细胞(WBC)',
- value: '',
- standard1: '0.0-13.2',
- standard2: '0.0-13.2',
- type: 1,
- key: '',
- key1: '',
- unit: '/ul',
- },
- {
- title: '上皮细胞 (EC)',
- value: '',
- standard1: '0.0-5.2',
- standard2: '0.0-5.2',
- type: 1,
- key: '',
- key1: '',
- unit: '/ul',
- },
- {
- title: '管型(CAST)',
- value: '',
- standard1: '0.0-2.4',
- standard2: '0.0-2.4',
- type: 1,
- key: '',
- key1: '',
- unit: '/ul',
- },
- {
- title: '结晶(XTAL)',
- value: '',
- standard1: '0.0-0.3',
- standard2: '0.0-0.3',
- type: 1,
- key: '',
- key1: '',
- unit: '/ul',
- },
- {
- title: '酵母菌(YLC)',
- value: '',
- standard1: '0.0',
- standard2: '0.0',
- type: 1,
- key: '',
- key1: '',
- unit: '/ul',
- },
- {
- title: '粘液丝(MUCUS)',
- value: '',
- standard1: '0.0-7.0',
- standard2: '0.0-7.0',
- type: 1,
- key: '',
- key1: '',
- unit: '/ul',
- },
- {
- title: '电导率(COND)',
- value: '',
- standard1: '3.0-39.0',
- standard2: '3.0-39.0',
- type: 1,
- key: '',
- key1: '',
- unit: 'mS/cm',
- },
- ];
- //血常规 数据
- const datatable3 = [{
- title: 'HR白细胞绝对值',
- value: '',
- standard1: '4.3-11.3',
- standard2: '4.3-11.3',
- type: 1,
- key: '',
- key1: '',
- unit: '10^9/L',
- },
- {
- title: '中性粒细胞绝对值',
- value: '',
- standard1: '1.6-7.8',
- standard2: '1.6-7.8',
- type: 1,
- key: '',
- key1: '',
- unit: '10^9/L',
- },
- {
- title: '中性粒细胞百分比',
- value: '',
- standard1: '31-70',
- standard2: '31-70',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- },
- {
- title: '淋巴细胞绝对值',
- value: '',
- standard1: '1.5-4.6',
- standard2: '1.5-4.6',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '淋巴细胞百分比',
- value: '',
- standard1: '23-59',
- standard2: '23-59',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- },
- {
- title: '单核细胞绝对值',
- value: '',
- standard1: '0.13-0.76',
- standard2: '0.13-0.76',
- type: 1,
- key: '',
- key1: '',
- unit: '10^9/L',
- },
- {
- title: '单核细胞百分比',
- value: '',
- standard1: '2-11',
- standard2: '2-11',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- },
- {
- title: '嗜酸性粒细胞绝对值',
- value: '',
- standard1: '0.00-0.68',
- standard2: '0.00-0.68',
- type: 1,
- key: '',
- key1: '',
- unit: '10^9/L',
- },
- {
- title: '嗜酸性粒细胞百分比',
- value: '',
- standard1: '0-9',
- standard2: '0-9',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- },
- {
- title: '嗜碱性粒细胞绝对值',
- value: '',
- standard1: '0.00-0.07',
- standard2: '0.00-0.07',
- type: 1,
- key: '',
- key1: '',
- unit: '10^9/L',
- },
- {
- title: '嗜碱性粒细胞百分比',
- value: '',
- standard1: '0-1',
- standard2: '0-1',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- },
- {
- title: 'HR红细胞绝对值',
- value: '',
- standard1: '4.2-5.7',
- standard2: '4.2-5.7',
- type: 1,
- key: '',
- key1: '',
- unit: '10^12/L',
- },
- {
- title: 'HR血红蛋白',
- value: '',
- standard1: '118-156',
- standard2: '118-156',
- type: 1,
- key: '',
- key1: '',
- unit: 'g/L',
- },
- {
- title: 'HR红细胞压积',
- value: '',
- standard1: '0.36-0.460',
- standard2: '0.36-0.46',
- type: 1,
- key: '',
- key1: '',
- unit: 'L/L',
- },
- {
- title: '红细胞平均体积',
- value: '',
- standard1: '77-92',
- standard2: '77-92',
- type: 1,
- key: '',
- key1: '',
- unit: 'fL',
- }, {
- title: '平均血红蛋白含量',
- value: '',
- standard1: '25-34',
- standard2: '25-34',
- type: 1,
- key: '',
- key1: '',
- unit: 'pg',
- }, {
- title: '平均血红蛋白浓度',
- value: '',
- standard1: '310-355',
- standard2: '310-355',
- type: 1,
- key: '',
- key1: '',
- unit: 'g/L',
- }, {
- title: '红细胞分布宽度',
- value: '',
- standard1: '11.00-14.50',
- standard2: '11.00-14.50',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- }, {
- title: 'HR血小板绝对值',
- value: '',
- standard1: '167-453',
- standard2: '167-453',
- type: 1,
- key: '',
- key1: '',
- unit: '10^9/L',
- }, {
- title: '平均血小板体积',
- value: '',
- standard1: '6.5-13.0',
- standard2: '6.5-13.0',
- type: 1,
- key: '',
- key1: '',
- unit: 'fL',
- }, {
- title: '血小板压积',
- value: '',
- standard1: '0.09-0.31',
- standard2: '0.09-0.31',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- }, {
- title: '血小板分布宽度',
- value: '',
- standard1: '15.50-17.10',
- standard2: '15.50-17.10',
- type: 1,
- key: '',
- key1: '',
- unit: '%',
- }, {
- title: 'HR超敏C反应蛋白',
- value: '',
- standard1: '0.00-8.00',
- standard2: '0.00-8.00',
- type: 1,
- key: '',
- key1: '',
- unit: 'mg/L',
- },
- ];
- // b超
- const datatable4 = [{
- title: '检查部位',
- value: '肝胆脾胰',
- type: 1,
- }, {
- title: '影像表现',
- value: '肝胆脾胰未见明显异常',
- type: 1,
- }, {
- title: '影像诊断',
- value: '肝脏大小形态正常,包膜光滑,实质回声均匀,肝内血管纹理清晰门静脉主千内径正常,血流通畅胆囊大小形态正常,壁薄光滑,内透声好。胆总管不扩张,显示段未见明显强光团。 脾脏大小正常,包膜光滑,实质回声均匀胰腺显示部分大小形态正常,实质回声均匀,胰管无扩张.',
- type: 1,
- },
- ];
- //大便常规
- const datatable5 =[{
- title: '颜色',
- value: '',
- standard1: '',
- standard2: '',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '性状',
- value: '',
- standard1: '',
- standard2: '',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '镜检白细胞(WBC)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '/HP',
- },
- {
- title: '镜检红细胞(RBC)',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '/HP',
- },
- {
- title: '寄生虫卵',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '/LP',
- },
- {
- title: 'HR隐血试验',
- value: '',
- standard1: '阴性 (-)6',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '痴疾阿米巴',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- {
- title: '粪便找霉菌',
- value: '',
- standard1: '阴性 (-)',
- standard2: '阴性 (-)',
- type: 1,
- key: '',
- key1: '',
- unit: '',
- },
- ];
- export default {
- name: 'DetectionResult',
- data() {
- return {
- datatable2,
- datatable3,
- datatable4,
- datatable5,
- datatable1: [{
- title: 'BMI',
- value: '',
- standard1: '18.5~24',
- standard2: '18.5~24',
- type: 1,
- key: 'visit',
- key1: 'bmi',
- unit: 'kg/m²',
- },
- {
- title: '腰围',
- value: '',
- standard1: '<90',
- standard2: '<85',
- type: 1,
- key: 'visit',
- key1: 'waist',
- unit: 'cm',
- },
- {
- title: '收缩压',
- value: '',
- standard1: '<140',
- standard2: '<140',
- type: 1,
- key: 'visit',
- key1: 'shrink',
- unit: 'mmHg',
- },
- {
- title: '舒张压',
- value: '',
- standard1: '<90',
- standard2: '<90',
- type: 1,
- key: 'visit',
- key1: 'diastole',
- unit: 'mmHg',
- },
- {
- title: '心率',
- value: '',
- standard1: '60~90',
- standard2: '60~90',
- type: 1,
- key: '',
- key1: 'pulse',
- unit: '次/分钟',
- },
- {
- title: '吸烟',
- value: '',
- standard1: '戒烟',
- standard2: '戒烟',
- type: 1,
- key: '',
- key1: 'rxyl',
- unit: '根 ',
- },
- {
- title: '喝酒',
- value: '',
- standard1: '戒酒',
- standard2: '戒酒',
- type: 1,
- key: '',
- key1: 'ryjl',
- unit: 'ml',
- },
- {
- title: '血糖',
- value: '',
- standard1: '3.9~6.9',
- standard2: '3.9~6.9',
- type: 1,
- key: 'checkList',
- key1: 'bloodGlucose',
- unit: 'mmol/L',
- },
- {
- title: '血氧',
- value: '',
- standard1: '>=90',
- standard2: '>=90',
- type: 1,
- key: 'checkList',
- key1: 'spo2',
- unit: '%',
- },
- {
- title: '糖化血红蛋白',
- value: '',
- standard1: '<6.5',
- standard2: '<6.5',
- type: 1,
- key: '',
- key1: 'thxhdb',
- unit: '%',
- },
- {
- title: '总胆固醇',
- value: '',
- standard1: '2.85~5.69',
- standard2: '2.85~5.69',
- type: 1,
- key: 'checkList',
- key1: 'chol',
- unit: 'mmol/L',
- },
- {
- title: '甘油三酯',
- value: '',
- standard1: '0.45~1.7',
- standard2: '0.45~1.7',
- type: 1,
- key: 'checkList',
- key1: 'bloodFat1',
- unit: 'mmol/L',
- },
- {
- title: '低密度脂蛋白',
- value: '',
- standard1: '0~3.4',
- standard2: '0~3.4',
- type: 1,
- key: 'checkList',
- key1: 'bloodFat3',
- unit: 'mmol/L',
- },
- {
- title: '高密度脂蛋白',
- value: '',
- standard1: '1.16~1.55',
- standard2: '1.16~1.55',
- type: 1,
- key: 'checkList',
- key1: 'bloodFat4',
- unit: 'mmol/L',
- },
- {
- title: '肌酐',
- value: '',
- standard1: '53~106',
- standard2: '44~97',
- type: 1,
- key: 'checkList',
- key1: 'urine1',
- unit: 'μmol/L',
- },
- {
- title: '微量白蛋白',
- value: '',
- standard1: '0~30',
- standard2: '0~30',
- type: 1,
- key: 'checkList',
- key1: 'urine2',
- unit: 'mg/L',
- },
- {
- title: '尿酸',
- value: '',
- standard1: '149~416',
- standard2: '89~357',
- type: 1,
- key: 'checkList',
- key1: 'ua',
- unit: 'μmol/L',
- },
- ],
- }
- },
- props: {
- propData: {
- type: Object,
- default () {
- return {
- patient: {},
- checkResult: {}
- }
- },
- },
- },
- watch: {
- propData: {
- handler(val) {
- if (val.patient.id) {
- this.setlist(val.checkResult)
- }
- },
- },
- },
- created() {
- },
- methods: {
- setlist(checkResult) {
- if (checkResult.bmi) {
- let checkList = data1.checkList[0] || {}
- this.datatable1.map((item, index) => {
- if (item.key == 'checkList') {
- this.datatable1[index].value = this.filterA(
- checkList[item.key1],
- item.key1
- ).value
- this.datatable1[index].type = this.filterA(
- checkList[item.key1],
- item.key1
- ).type
- } else {
- this.datatable1[index].value = this.filterA(
- data1.visit[item.key1],
- item.key1
- ).value
- this.datatable1[index].type = this.filterA(
- data1.visit[item.key1],
- item.key1
- ).type
- }
- })
- } else {
- this.datatable1.map((item, index) => {
- this.datatable1[index].value = '未测量'
- this.datatable1[index].type = 1
- })
- }
- this.datatable2.map((item, index) => {
- this.datatable2[index].value = '未测量'
- this.datatable2[index].type = 1
- })
- this.datatable3.map((item, index) => {
- this.datatable3[index].value = '未测量'
- this.datatable3[index].type = 1
- })
- this.datatable5.map((item, index) => {
- this.datatable5[index].value = '未测量'
- this.datatable5[index].type = 1
- })
- },
- filterA(val, key) {
- // console.log(key, val)
- if ((val != 0 && this.$mf.isEmpty(val)) || String(val) == '') {
- // console.log(key, val, val != 0, '0' == '')
- return {
- value: '未测量',
- type: 1
- }
- }
- return {
- value: val,
- type: this.check({
- type: key,
- value: val,
- age: this.propData.patient.age,
- sex: this.propData.patient.sex,
- }) ?
- 0 : 1,
- }
- },
- check({
- type,
- value,
- age,
- sex
- }) {
- let msg = this.propData.patient
- let arr = config
- if (!arr[type]) {
- return false
- }
- if (type == 'shrink' && age) {
- if (msg.age > 65) {
- if (value > arr['shrinktop'][1]) {
- return true
- }
- if (value < arr['shrinktop'][0]) {
- return true
- }
- } else {
- if (value > arr['shrinklow'][1]) {
- return true
- }
- if (value < arr['shrinklow'][0]) {
- return true
- }
- }
- }
- if (sex) {
- if (msg.sex == 1) {
- if (value > arr[type][0][1]) {
- return true
- }
- if (value < arr[type][0][0]) {
- return true
- }
- } else {
- if (value > arr[type][1][1]) {
- return true
- }
- if (value < arr[type][1][0]) {
- return true
- }
- }
- }
- if (value > arr[type][1]) {
- return true
- }
- if (value < arr[type][0]) {
- return true
- }
- return false
- },
- }
- }
- </script>
- <style lang="scss">
- page {
- background: #F5F9FF;
- }
- .mtable {
- &-title {
- border-radius: 50rpx;
- padding: 20rpx 0 20rpx 20rpx;
- box-shadow: 0px 2px 7px 1px rgba(45, 142, 255, 0.5);
- }
- &-body {
- &-item {
- margin-top: 20rpx;
- border-radius: 50rpx;
- padding: 14rpx 0 14rpx 20rpx;
- background-color: #F6F9FE;
- color: #868687;
- }
- }
- }
- </style>
- let data1 = {
- checkList: [],
- visit: {
- "id": 1336,
- "isSend": 0,
- "sendTime": null,
- "idCard": "123456200001011212",
- "opUserId": 35,
- "type": "gxy",
- "sfys": "王医生",
- "sffs": "门诊",
- "zg": "继续随访",
- "zdsf": 1,
- "mqzz": "[\"无症状\"]",
- "xltz": "良好",
- "zyxw": "良好",
- "fyqk": "规律",
- "ywfy": "无",
- "rxyl": 0,
- "rxylzd": 0,
- "ryjl": 0,
- "ryjlzd": 0,
- "ydcs": 2,
- "ydcszd": 6,
- "ydsj": 30,
- "ydsjzd": 30,
- "sycd": "中",
- "sycdzd": "轻",
- "zs": null,
- "zszd": null,
- "tzzd": 29,
- "bmizd": 23.8,
- "ywzd": 89,
- "sffl": "控制满意",
- "gljb": "三级管理",
- "xcyy": "2022-10-06",
- "zz": 0,
- "zzyy": "",
- "zzjg": "",
- "jkcf": "1. 定期检查血脂,控制高脂肪饮食,不吃动物的内脏及其制品,可常食用黑木耳、山楂等。肥胖者需控制体重。\n2. 建议接种流感疫苗和肺炎疫苗。\n3. 饮食宜用低盐饮食,食盐每天不超过5~10克(1~2钱)。\n4.
- 从卧位到立位时不能太快,以防止发生直立性低血压。\n5. 保持大便畅通。",
- "zdmbd": "触及正常",
- "yds": "无",
- "ydsyl": "",
- "dxtfy": "无",
- "xtlx": "空腹血糖",
- "xtz": 0,
- "thxhdb": "",
- "jcrq": "2022-09-06",
- "bqgss": "",
- "zzqt": "无",
- "tzqt": "无",
- "height": 112,
- "weight": 50,
- "bmi": 39.9,
- "waist": 1231,
- "shrink": 123,
- "diastole": 11,
- "pulse": 31,
- "temperature": 312,
- "bloodGlucose1": null,
- "bloodGlucose2": null,
- "medicinalList":
- "[{\"id\":773,\"idCard\":\"123456200001011212\",\"opUserId\":1,\"name\":\"拉西地平片\",\"type\":\"Gxy\",\"medicinalUnit\":\"mg\",\"unit\":\"4\",\"medicinalUse\":\"口服\",\"medicinalInterval\":\"1天/1次\",\"untowardReaction\":\"无\",\"medicinalId\":null,\"medicineUnitId\":null,\"usageId\":null,\"wayId\":null,\"createTime\":\"2022-08-05\"}]",
- "visitSendId": null,
- "doctorId": null,
- "jkdaGljb": "",
- "bloodFat1": null,
- "bloodFat2": null,
- "bloodFat3": null,
- "bloodFat4": null,
- "createTime": "2022-09-06T10:30:09",
- "updateTime": "2022-09-06T10:30:09",
- "isDelete": 0,
- "otherDisease": "无",
- "lgmjzsj": null,
- "fymjzsj": null,
- "qttz1": "无",
- "lgymjzyy": "0",
- "ymgz": "0",
- "fyymjzyy": "0",
- "outVisterDoctor": null,
- "brjy": null,
- "outVisterSign": null,
- "BackVisitorDate": null
- }
- }
|