123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212 |
- <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="" 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="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>
- <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="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>
- <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="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>
- <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="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>
- </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
- }
- }
|