detection_result.vue 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202
  1. <template>
  2. <view class="m-3 mb-5">
  3. <view class="centerY mt-3">
  4. <view class="bule_line" style=""></view>
  5. <text class="font-bold text-dark ml-2 fs-16 line-height1">检测结果一栏</text>
  6. </view>
  7. <view class="mt-3 bg-white p-3">
  8. <view class="">
  9. <view class="mtable-title centerY bg-primary text-white fs-12">
  10. <view class="text-center w-25">
  11. 检查项
  12. </view>
  13. <view class=" text-center w-25">
  14. 标准值
  15. </view>
  16. <view class="text-center w-30">
  17. 当前结果
  18. </view>
  19. <view class="text-center w-20">
  20. 单位
  21. </view>
  22. </view>
  23. <view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable1" style="color: #868687;">
  24. <view class="text-center w-25 text-dark">
  25. {{item.title}}
  26. </view>
  27. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
  28. {{item.standard1}}
  29. </view>
  30. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
  31. {{item.standard2}}
  32. </view>
  33. <view class="text-center w-30">
  34. <span v-if="item.type==1">{{item.value}}</span>
  35. <span v-if="item.type==0" class="text-error">{{item.value }}
  36. </span>
  37. </view>
  38. <view class="text-center w-20">
  39. {{item.unit}}
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="centerY mt-3">
  45. <view class="bule_line" style=""></view>
  46. <text class="font-bold text-dark ml-2 fs-16 line-height1">尿常规</text>
  47. </view>
  48. <view class="mt-3 bg-white p-3">
  49. <view class="">
  50. <view class="mtable-title centerY bg-primary text-white fs-12">
  51. <view class="text-center w-25">
  52. 检查项
  53. </view>
  54. <view class=" text-center w-25">
  55. 标准值
  56. </view>
  57. <view class="text-center w-30">
  58. 当前结果
  59. </view>
  60. <view class="text-center w-20">
  61. 单位
  62. </view>
  63. </view>
  64. <view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable2" style="color: #868687;">
  65. <view class="text-center w-25 text-dark">
  66. {{item.title}}
  67. </view>
  68. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
  69. {{item.standard1}}
  70. </view>
  71. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
  72. {{item.standard2}}
  73. </view>
  74. <view class="text-center w-30">
  75. <span v-if="item.type==1">{{item.value}}</span>
  76. <span v-if="item.type==0" class="text-error">{{item.value }}
  77. </span>
  78. </view>
  79. <view class="text-center w-20">
  80. {{item.unit}}
  81. </view>
  82. </view>
  83. </view>
  84. <view class="fs-14 border-top mt-3">
  85. <view class="mt-3">
  86. 报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
  87. </view>
  88. <view class="mt-2">
  89. 报告医生: <span>{{'边建丞'}}</span>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="centerY mt-3">
  94. <view class="bule_line" style=""></view>
  95. <text class="font-bold text-dark ml-2 fs-16 line-height1">血常规</text>
  96. </view>
  97. <view class="mt-3 bg-white p-3">
  98. <view class="">
  99. <view class="mtable-title centerY bg-primary text-white fs-12">
  100. <view class="text-center w-30">
  101. 检查项
  102. </view>
  103. <view class=" text-center w-25">
  104. 标准值
  105. </view>
  106. <view class="text-center w-25">
  107. 当前结果
  108. </view>
  109. <view class="text-center w-20">
  110. 单位
  111. </view>
  112. </view>
  113. <view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable3" style="color: #868687;">
  114. <view class="text-center w-30 text-dark">
  115. {{item.title}}
  116. </view>
  117. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
  118. {{item.standard1}}
  119. </view>
  120. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
  121. {{item.standard2}}
  122. </view>
  123. <view class="text-center w-25">
  124. <span v-if="item.type==1">{{item.value}}</span>
  125. <span v-if="item.type==0" class="text-error">{{item.value }}
  126. </span>
  127. </view>
  128. <view class="text-center w-20">
  129. {{item.unit}}
  130. </view>
  131. </view>
  132. </view>
  133. <view class="fs-14 border-top mt-3">
  134. <view class="mt-3">
  135. 报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
  136. </view>
  137. <view class="mt-2">
  138. 报告医生: <span>{{'边建丞'}}</span>
  139. </view>
  140. </view>
  141. </view>
  142. <view class="centerY mt-3">
  143. <view class="bule_line" style=""></view>
  144. <text class="font-bold text-dark ml-2 fs-16 line-height1">B超</text>
  145. </view>
  146. <view class="mt-3 bg-white p-3">
  147. <view class="">
  148. <view class="mtable-title centerY bg-primary text-white fs-12">
  149. <view class="text-center w-30">
  150. 检查项
  151. </view>
  152. <view class="w-70">
  153. 当前结果
  154. </view>
  155. </view>
  156. <view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable4"
  157. style="color: #868687;align-items: flex-start;">
  158. <view class="text-center w-30 text-dark">
  159. {{item.title}}
  160. </view>
  161. <view class="w-70">
  162. <span v-if="item.type==1">{{item.value}}</span>
  163. <!-- <span v-if="item.type==0" class="text-error">{{item.value }} -->
  164. </span>
  165. </view>
  166. </view>
  167. </view>
  168. <view class="fs-14 border-top mt-3">
  169. <view class="mt-3">
  170. 报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
  171. </view>
  172. <view class="mt-2">
  173. 报告医生: <span>{{'边建丞'}}</span>
  174. </view>
  175. </view>
  176. </view>
  177. <view class="centerY mt-3">
  178. <view class="bule_line" style=""></view>
  179. <text class="font-bold text-dark ml-2 fs-16 line-height1">大便常规</text>
  180. </view>
  181. <view class="mt-3 bg-white p-3">
  182. <view class="">
  183. <view class="mtable-title centerY bg-primary text-white fs-12">
  184. <view class="text-center w-30">
  185. 检查项
  186. </view>
  187. <view class=" text-center w-25">
  188. 标准值
  189. </view>
  190. <view class="text-center w-25">
  191. 当前结果
  192. </view>
  193. <view class="text-center w-20">
  194. 单位
  195. </view>
  196. </view>
  197. <view class="mtable-body-item centerY fs-12" v-for="(item,index) in datatable5" style="color: #868687;">
  198. <view class="text-center w-30 text-dark">
  199. {{item.title}}
  200. </view>
  201. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==1">
  202. {{item.standard1}}
  203. </view>
  204. <view class="text-center w-25 text-green2" v-if="propData.patient.sex==2">
  205. {{item.standard2}}
  206. </view>
  207. <view class="text-center w-25">
  208. <span v-if="item.type==1">{{item.value}}</span>
  209. <span v-if="item.type==0" class="text-error">{{item.value }}
  210. </span>
  211. </view>
  212. <view class="text-center w-20">
  213. {{item.unit}}
  214. </view>
  215. </view>
  216. </view>
  217. <view class="fs-14 border-top mt-3">
  218. <view class="mt-3">
  219. 报告时间: <span>{{'2022-05-19 10:03:30'}}</span>
  220. </view>
  221. <view class="mt-2">
  222. 报告医生: <span>{{'边建丞'}}</span>
  223. </view>
  224. </view>
  225. </view>
  226. </view>
  227. </template>
  228. <script>
  229. import {
  230. config
  231. } from '@/static/js/defult_value.js';
  232. // 尿常规 数据
  233. const datatable2 = [{
  234. title: '葡萄糖(GLU)',
  235. value: '',
  236. standard1: '阴性 (-)',
  237. standard2: '阴性 (-)',
  238. type: 1,
  239. key: 'key',
  240. key1: 'key1',
  241. unit: 'mmol/L',
  242. },
  243. {
  244. title: '胆红素(BIL)',
  245. value: '',
  246. standard1: '阴性 (-)',
  247. standard2: '阴性 (-)',
  248. type: 1,
  249. key: 'key',
  250. key1: 'key1',
  251. unit: 'umol/L',
  252. },
  253. {
  254. title: '酮体(KET)',
  255. value: '',
  256. standard1: '阴性 (-)',
  257. standard2: '阴性 (-)',
  258. type: 1,
  259. key: 'key',
  260. key1: 'key1',
  261. unit: 'mmol/L',
  262. },
  263. {
  264. title: '比重(SG)',
  265. value: '',
  266. standard1: '1.015-1.025',
  267. standard2: '1.015-1.025',
  268. type: 1,
  269. key: 'key',
  270. key1: 'key1',
  271. unit: '',
  272. },
  273. {
  274. title: '潜血(BLD)',
  275. value: '',
  276. standard1: '阴性 (-)',
  277. standard2: '阴性 (-)',
  278. type: 1,
  279. key: 'key',
  280. key1: 'key1',
  281. unit: 'mg/L',
  282. },
  283. {
  284. title: '酸碱度(PH)',
  285. value: '',
  286. standard1: '5.5-6.5',
  287. standard2: '5.5-6.5',
  288. type: 1,
  289. key: '',
  290. key1: '',
  291. unit: '',
  292. },
  293. {
  294. title: '蛋白(PRO)',
  295. value: '',
  296. standard1: '阴性 (-)',
  297. standard2: '阴性 (-)',
  298. type: 1,
  299. key: '',
  300. key1: '',
  301. unit: 'g/L',
  302. },
  303. {
  304. title: '尿胆原(URO)',
  305. value: '',
  306. standard1: '阴性 (-)',
  307. standard2: '阴性 (-)',
  308. type: 1,
  309. key: '',
  310. key1: '',
  311. unit: 'mmol/L',
  312. },
  313. {
  314. title: '亚硝酸盐(NIT)',
  315. value: '',
  316. standard1: '阴性 (-)',
  317. standard2: '阴性 (-)',
  318. type: 1,
  319. key: '',
  320. key1: '',
  321. unit: '',
  322. },
  323. {
  324. title: '白细胞(LEU)',
  325. value: '',
  326. standard1: '阴性 (-)',
  327. standard2: '阴性 (-)',
  328. type: 1,
  329. key: '',
  330. key1: '',
  331. unit: '',
  332. },
  333. {
  334. title: '颜色(Color)',
  335. value: '',
  336. standard1: '',
  337. standard2: '',
  338. type: 1,
  339. key: '',
  340. key1: '',
  341. unit: '',
  342. },
  343. {
  344. title: '浊度(TURB)',
  345. value: '',
  346. standard1: '',
  347. standard2: '',
  348. type: 1,
  349. key: '',
  350. key1: '',
  351. unit: '',
  352. },
  353. {
  354. title: '红细胞(RBC)',
  355. value: '',
  356. standard1: '0-13.1',
  357. standard2: '0-13.1',
  358. type: 1,
  359. key: '',
  360. key1: '',
  361. unit: '/ul',
  362. },
  363. {
  364. title: '白细胞(WBC)',
  365. value: '',
  366. standard1: '0.0-13.2',
  367. standard2: '0.0-13.2',
  368. type: 1,
  369. key: '',
  370. key1: '',
  371. unit: '/ul',
  372. },
  373. {
  374. title: '上皮细胞 (EC)',
  375. value: '',
  376. standard1: '0.0-5.2',
  377. standard2: '0.0-5.2',
  378. type: 1,
  379. key: '',
  380. key1: '',
  381. unit: '/ul',
  382. },
  383. {
  384. title: '管型(CAST)',
  385. value: '',
  386. standard1: '0.0-2.4',
  387. standard2: '0.0-2.4',
  388. type: 1,
  389. key: '',
  390. key1: '',
  391. unit: '/ul',
  392. },
  393. {
  394. title: '结晶(XTAL)',
  395. value: '',
  396. standard1: '0.0-0.3',
  397. standard2: '0.0-0.3',
  398. type: 1,
  399. key: '',
  400. key1: '',
  401. unit: '/ul',
  402. },
  403. {
  404. title: '酵母菌(YLC)',
  405. value: '',
  406. standard1: '0.0',
  407. standard2: '0.0',
  408. type: 1,
  409. key: '',
  410. key1: '',
  411. unit: '/ul',
  412. },
  413. {
  414. title: '粘液丝(MUCUS)',
  415. value: '',
  416. standard1: '0.0-7.0',
  417. standard2: '0.0-7.0',
  418. type: 1,
  419. key: '',
  420. key1: '',
  421. unit: '/ul',
  422. },
  423. {
  424. title: '电导率(COND)',
  425. value: '',
  426. standard1: '3.0-39.0',
  427. standard2: '3.0-39.0',
  428. type: 1,
  429. key: '',
  430. key1: '',
  431. unit: 'mS/cm',
  432. },
  433. ];
  434. //血常规 数据
  435. const datatable3 = [{
  436. title: 'HR白细胞绝对值',
  437. value: '',
  438. standard1: '4.3-11.3',
  439. standard2: '4.3-11.3',
  440. type: 1,
  441. key: '',
  442. key1: '',
  443. unit: '10^9/L',
  444. },
  445. {
  446. title: '中性粒细胞绝对值',
  447. value: '',
  448. standard1: '1.6-7.8',
  449. standard2: '1.6-7.8',
  450. type: 1,
  451. key: '',
  452. key1: '',
  453. unit: '10^9/L',
  454. },
  455. {
  456. title: '中性粒细胞百分比',
  457. value: '',
  458. standard1: '31-70',
  459. standard2: '31-70',
  460. type: 1,
  461. key: '',
  462. key1: '',
  463. unit: '%',
  464. },
  465. {
  466. title: '淋巴细胞绝对值',
  467. value: '',
  468. standard1: '1.5-4.6',
  469. standard2: '1.5-4.6',
  470. type: 1,
  471. key: '',
  472. key1: '',
  473. unit: '',
  474. },
  475. {
  476. title: '淋巴细胞百分比',
  477. value: '',
  478. standard1: '23-59',
  479. standard2: '23-59',
  480. type: 1,
  481. key: '',
  482. key1: '',
  483. unit: '%',
  484. },
  485. {
  486. title: '单核细胞绝对值',
  487. value: '',
  488. standard1: '0.13-0.76',
  489. standard2: '0.13-0.76',
  490. type: 1,
  491. key: '',
  492. key1: '',
  493. unit: '10^9/L',
  494. },
  495. {
  496. title: '单核细胞百分比',
  497. value: '',
  498. standard1: '2-11',
  499. standard2: '2-11',
  500. type: 1,
  501. key: '',
  502. key1: '',
  503. unit: '%',
  504. },
  505. {
  506. title: '嗜酸性粒细胞绝对值',
  507. value: '',
  508. standard1: '0.00-0.68',
  509. standard2: '0.00-0.68',
  510. type: 1,
  511. key: '',
  512. key1: '',
  513. unit: '10^9/L',
  514. },
  515. {
  516. title: '嗜酸性粒细胞百分比',
  517. value: '',
  518. standard1: '0-9',
  519. standard2: '0-9',
  520. type: 1,
  521. key: '',
  522. key1: '',
  523. unit: '%',
  524. },
  525. {
  526. title: '嗜碱性粒细胞绝对值',
  527. value: '',
  528. standard1: '0.00-0.07',
  529. standard2: '0.00-0.07',
  530. type: 1,
  531. key: '',
  532. key1: '',
  533. unit: '10^9/L',
  534. },
  535. {
  536. title: '嗜碱性粒细胞百分比',
  537. value: '',
  538. standard1: '0-1',
  539. standard2: '0-1',
  540. type: 1,
  541. key: '',
  542. key1: '',
  543. unit: '%',
  544. },
  545. {
  546. title: 'HR红细胞绝对值',
  547. value: '',
  548. standard1: '4.2-5.7',
  549. standard2: '4.2-5.7',
  550. type: 1,
  551. key: '',
  552. key1: '',
  553. unit: '10^12/L',
  554. },
  555. {
  556. title: 'HR血红蛋白',
  557. value: '',
  558. standard1: '118-156',
  559. standard2: '118-156',
  560. type: 1,
  561. key: '',
  562. key1: '',
  563. unit: 'g/L',
  564. },
  565. {
  566. title: 'HR红细胞压积',
  567. value: '',
  568. standard1: '0.36-0.460',
  569. standard2: '0.36-0.46',
  570. type: 1,
  571. key: '',
  572. key1: '',
  573. unit: 'L/L',
  574. },
  575. {
  576. title: '红细胞平均体积',
  577. value: '',
  578. standard1: '77-92',
  579. standard2: '77-92',
  580. type: 1,
  581. key: '',
  582. key1: '',
  583. unit: 'fL',
  584. }, {
  585. title: '平均血红蛋白含量',
  586. value: '',
  587. standard1: '25-34',
  588. standard2: '25-34',
  589. type: 1,
  590. key: '',
  591. key1: '',
  592. unit: 'pg',
  593. }, {
  594. title: '平均血红蛋白浓度',
  595. value: '',
  596. standard1: '310-355',
  597. standard2: '310-355',
  598. type: 1,
  599. key: '',
  600. key1: '',
  601. unit: 'g/L',
  602. }, {
  603. title: '红细胞分布宽度',
  604. value: '',
  605. standard1: '11.00-14.50',
  606. standard2: '11.00-14.50',
  607. type: 1,
  608. key: '',
  609. key1: '',
  610. unit: '%',
  611. }, {
  612. title: 'HR血小板绝对值',
  613. value: '',
  614. standard1: '167-453',
  615. standard2: '167-453',
  616. type: 1,
  617. key: '',
  618. key1: '',
  619. unit: '10^9/L',
  620. }, {
  621. title: '平均血小板体积',
  622. value: '',
  623. standard1: '6.5-13.0',
  624. standard2: '6.5-13.0',
  625. type: 1,
  626. key: '',
  627. key1: '',
  628. unit: 'fL',
  629. }, {
  630. title: '血小板压积',
  631. value: '',
  632. standard1: '0.09-0.31',
  633. standard2: '0.09-0.31',
  634. type: 1,
  635. key: '',
  636. key1: '',
  637. unit: '%',
  638. }, {
  639. title: '血小板分布宽度',
  640. value: '',
  641. standard1: '15.50-17.10',
  642. standard2: '15.50-17.10',
  643. type: 1,
  644. key: '',
  645. key1: '',
  646. unit: '%',
  647. }, {
  648. title: 'HR超敏C反应蛋白',
  649. value: '',
  650. standard1: '0.00-8.00',
  651. standard2: '0.00-8.00',
  652. type: 1,
  653. key: '',
  654. key1: '',
  655. unit: 'mg/L',
  656. },
  657. ];
  658. // b超
  659. const datatable4 = [{
  660. title: '检查部位',
  661. value: '肝胆脾胰',
  662. type: 1,
  663. }, {
  664. title: '影像表现',
  665. value: '肝胆脾胰未见明显异常',
  666. type: 1,
  667. }, {
  668. title: '影像诊断',
  669. value: '肝脏大小形态正常,包膜光滑,实质回声均匀,肝内血管纹理清晰门静脉主千内径正常,血流通畅胆囊大小形态正常,壁薄光滑,内透声好。胆总管不扩张,显示段未见明显强光团。 脾脏大小正常,包膜光滑,实质回声均匀胰腺显示部分大小形态正常,实质回声均匀,胰管无扩张.',
  670. type: 1,
  671. },
  672. ];
  673. //大便常规
  674. const datatable5 =[{
  675. title: '颜色',
  676. value: '',
  677. standard1: '',
  678. standard2: '',
  679. type: 1,
  680. key: '',
  681. key1: '',
  682. unit: '',
  683. },
  684. {
  685. title: '性状',
  686. value: '',
  687. standard1: '',
  688. standard2: '',
  689. type: 1,
  690. key: '',
  691. key1: '',
  692. unit: '',
  693. },
  694. {
  695. title: '镜检白细胞(WBC)',
  696. value: '',
  697. standard1: '阴性 (-)',
  698. standard2: '阴性 (-)',
  699. type: 1,
  700. key: '',
  701. key1: '',
  702. unit: '/HP',
  703. },
  704. {
  705. title: '镜检红细胞(RBC)',
  706. value: '',
  707. standard1: '阴性 (-)',
  708. standard2: '阴性 (-)',
  709. type: 1,
  710. key: '',
  711. key1: '',
  712. unit: '/HP',
  713. },
  714. {
  715. title: '寄生虫卵',
  716. value: '',
  717. standard1: '阴性 (-)',
  718. standard2: '阴性 (-)',
  719. type: 1,
  720. key: '',
  721. key1: '',
  722. unit: '/LP',
  723. },
  724. {
  725. title: 'HR隐血试验',
  726. value: '',
  727. standard1: '阴性 (-)6',
  728. standard2: '阴性 (-)',
  729. type: 1,
  730. key: '',
  731. key1: '',
  732. unit: '',
  733. },
  734. {
  735. title: '痴疾阿米巴',
  736. value: '',
  737. standard1: '阴性 (-)',
  738. standard2: '阴性 (-)',
  739. type: 1,
  740. key: '',
  741. key1: '',
  742. unit: '',
  743. },
  744. {
  745. title: '粪便找霉菌',
  746. value: '',
  747. standard1: '阴性 (-)',
  748. standard2: '阴性 (-)',
  749. type: 1,
  750. key: '',
  751. key1: '',
  752. unit: '',
  753. },
  754. ];
  755. export default {
  756. name: 'DetectionResult',
  757. data() {
  758. return {
  759. datatable2,
  760. datatable3,
  761. datatable4,
  762. datatable5,
  763. datatable1: [{
  764. title: 'BMI',
  765. value: '',
  766. standard1: '18.5~24',
  767. standard2: '18.5~24',
  768. type: 1,
  769. key: 'visit',
  770. key1: 'bmi',
  771. unit: 'kg/m²',
  772. },
  773. {
  774. title: '腰围',
  775. value: '',
  776. standard1: '<90',
  777. standard2: '<85',
  778. type: 1,
  779. key: 'visit',
  780. key1: 'waist',
  781. unit: 'cm',
  782. },
  783. {
  784. title: '收缩压',
  785. value: '',
  786. standard1: '<140',
  787. standard2: '<140',
  788. type: 1,
  789. key: 'visit',
  790. key1: 'shrink',
  791. unit: 'mmHg',
  792. },
  793. {
  794. title: '舒张压',
  795. value: '',
  796. standard1: '<90',
  797. standard2: '<90',
  798. type: 1,
  799. key: 'visit',
  800. key1: 'diastole',
  801. unit: 'mmHg',
  802. },
  803. {
  804. title: '心率',
  805. value: '',
  806. standard1: '60~90',
  807. standard2: '60~90',
  808. type: 1,
  809. key: '',
  810. key1: 'pulse',
  811. unit: '次/分钟',
  812. },
  813. {
  814. title: '吸烟',
  815. value: '',
  816. standard1: '戒烟',
  817. standard2: '戒烟',
  818. type: 1,
  819. key: '',
  820. key1: 'rxyl',
  821. unit: '根 ',
  822. },
  823. {
  824. title: '喝酒',
  825. value: '',
  826. standard1: '戒酒',
  827. standard2: '戒酒',
  828. type: 1,
  829. key: '',
  830. key1: 'ryjl',
  831. unit: 'ml',
  832. },
  833. {
  834. title: '血糖',
  835. value: '',
  836. standard1: '3.9~6.9',
  837. standard2: '3.9~6.9',
  838. type: 1,
  839. key: 'checkList',
  840. key1: 'bloodGlucose',
  841. unit: 'mmol/L',
  842. },
  843. {
  844. title: '血氧',
  845. value: '',
  846. standard1: '>=90',
  847. standard2: '>=90',
  848. type: 1,
  849. key: 'checkList',
  850. key1: 'spo2',
  851. unit: '%',
  852. },
  853. {
  854. title: '糖化血红蛋白',
  855. value: '',
  856. standard1: '<6.5',
  857. standard2: '<6.5',
  858. type: 1,
  859. key: '',
  860. key1: 'thxhdb',
  861. unit: '%',
  862. },
  863. {
  864. title: '总胆固醇',
  865. value: '',
  866. standard1: '2.85~5.69',
  867. standard2: '2.85~5.69',
  868. type: 1,
  869. key: 'checkList',
  870. key1: 'chol',
  871. unit: 'mmol/L',
  872. },
  873. {
  874. title: '甘油三酯',
  875. value: '',
  876. standard1: '0.45~1.7',
  877. standard2: '0.45~1.7',
  878. type: 1,
  879. key: 'checkList',
  880. key1: 'bloodFat1',
  881. unit: 'mmol/L',
  882. },
  883. {
  884. title: '低密度脂蛋白',
  885. value: '',
  886. standard1: '0~3.4',
  887. standard2: '0~3.4',
  888. type: 1,
  889. key: 'checkList',
  890. key1: 'bloodFat3',
  891. unit: 'mmol/L',
  892. },
  893. {
  894. title: '高密度脂蛋白',
  895. value: '',
  896. standard1: '1.16~1.55',
  897. standard2: '1.16~1.55',
  898. type: 1,
  899. key: 'checkList',
  900. key1: 'bloodFat4',
  901. unit: 'mmol/L',
  902. },
  903. {
  904. title: '肌酐',
  905. value: '',
  906. standard1: '53~106',
  907. standard2: '44~97',
  908. type: 1,
  909. key: 'checkList',
  910. key1: 'urine1',
  911. unit: 'μmol/L',
  912. },
  913. {
  914. title: '微量白蛋白',
  915. value: '',
  916. standard1: '0~30',
  917. standard2: '0~30',
  918. type: 1,
  919. key: 'checkList',
  920. key1: 'urine2',
  921. unit: 'mg/L',
  922. },
  923. {
  924. title: '尿酸',
  925. value: '',
  926. standard1: '149~416',
  927. standard2: '89~357',
  928. type: 1,
  929. key: 'checkList',
  930. key1: 'ua',
  931. unit: 'μmol/L',
  932. },
  933. ],
  934. }
  935. },
  936. props: {
  937. propData: {
  938. type: Object,
  939. default () {
  940. return {
  941. patient: {},
  942. checkResult: {}
  943. }
  944. },
  945. },
  946. },
  947. watch: {
  948. propData: {
  949. handler(val) {
  950. if (val.patient.id) {
  951. this.setlist(val.checkResult)
  952. }
  953. },
  954. },
  955. },
  956. created() {
  957. },
  958. methods: {
  959. setlist(checkResult) {
  960. if (checkResult.bmi) {
  961. let checkList = data1.checkList[0] || {}
  962. this.datatable1.map((item, index) => {
  963. if (item.key == 'checkList') {
  964. this.datatable1[index].value = this.filterA(
  965. checkList[item.key1],
  966. item.key1
  967. ).value
  968. this.datatable1[index].type = this.filterA(
  969. checkList[item.key1],
  970. item.key1
  971. ).type
  972. } else {
  973. this.datatable1[index].value = this.filterA(
  974. data1.visit[item.key1],
  975. item.key1
  976. ).value
  977. this.datatable1[index].type = this.filterA(
  978. data1.visit[item.key1],
  979. item.key1
  980. ).type
  981. }
  982. })
  983. } else {
  984. this.datatable1.map((item, index) => {
  985. this.datatable1[index].value = '未测量'
  986. this.datatable1[index].type = 1
  987. })
  988. }
  989. this.datatable2.map((item, index) => {
  990. this.datatable2[index].value = '未测量'
  991. this.datatable2[index].type = 1
  992. })
  993. this.datatable3.map((item, index) => {
  994. this.datatable3[index].value = '未测量'
  995. this.datatable3[index].type = 1
  996. })
  997. this.datatable5.map((item, index) => {
  998. this.datatable5[index].value = '未测量'
  999. this.datatable5[index].type = 1
  1000. })
  1001. },
  1002. filterA(val, key) {
  1003. // console.log(key, val)
  1004. if ((val != 0 && this.$mf.isEmpty(val)) || String(val) == '') {
  1005. // console.log(key, val, val != 0, '0' == '')
  1006. return {
  1007. value: '未测量',
  1008. type: 1
  1009. }
  1010. }
  1011. return {
  1012. value: val,
  1013. type: this.check({
  1014. type: key,
  1015. value: val,
  1016. age: this.propData.patient.age,
  1017. sex: this.propData.patient.sex,
  1018. }) ?
  1019. 0 : 1,
  1020. }
  1021. },
  1022. check({
  1023. type,
  1024. value,
  1025. age,
  1026. sex
  1027. }) {
  1028. let msg = this.propData.patient
  1029. let arr = config
  1030. if (!arr[type]) {
  1031. return false
  1032. }
  1033. if (type == 'shrink' && age) {
  1034. if (msg.age > 65) {
  1035. if (value > arr['shrinktop'][1]) {
  1036. return true
  1037. }
  1038. if (value < arr['shrinktop'][0]) {
  1039. return true
  1040. }
  1041. } else {
  1042. if (value > arr['shrinklow'][1]) {
  1043. return true
  1044. }
  1045. if (value < arr['shrinklow'][0]) {
  1046. return true
  1047. }
  1048. }
  1049. }
  1050. if (sex) {
  1051. if (msg.sex == 1) {
  1052. if (value > arr[type][0][1]) {
  1053. return true
  1054. }
  1055. if (value < arr[type][0][0]) {
  1056. return true
  1057. }
  1058. } else {
  1059. if (value > arr[type][1][1]) {
  1060. return true
  1061. }
  1062. if (value < arr[type][1][0]) {
  1063. return true
  1064. }
  1065. }
  1066. }
  1067. if (value > arr[type][1]) {
  1068. return true
  1069. }
  1070. if (value < arr[type][0]) {
  1071. return true
  1072. }
  1073. return false
  1074. },
  1075. }
  1076. }
  1077. </script>
  1078. <style lang="scss">
  1079. page {
  1080. background: #F5F9FF;
  1081. }
  1082. .mtable {
  1083. &-title {
  1084. border-radius: 50rpx;
  1085. padding: 20rpx 0 20rpx 20rpx;
  1086. box-shadow: 0px 2px 7px 1px rgba(45, 142, 255, 0.5);
  1087. }
  1088. &-body {
  1089. &-item {
  1090. margin-top: 20rpx;
  1091. border-radius: 50rpx;
  1092. padding: 14rpx 0 14rpx 20rpx;
  1093. background-color: #F6F9FE;
  1094. color: #868687;
  1095. }
  1096. }
  1097. }
  1098. </style>
  1099. let data1 = {
  1100. checkList: [],
  1101. visit: {
  1102. "id": 1336,
  1103. "isSend": 0,
  1104. "sendTime": null,
  1105. "idCard": "123456200001011212",
  1106. "opUserId": 35,
  1107. "type": "gxy",
  1108. "sfys": "王医生",
  1109. "sffs": "门诊",
  1110. "zg": "继续随访",
  1111. "zdsf": 1,
  1112. "mqzz": "[\"无症状\"]",
  1113. "xltz": "良好",
  1114. "zyxw": "良好",
  1115. "fyqk": "规律",
  1116. "ywfy": "无",
  1117. "rxyl": 0,
  1118. "rxylzd": 0,
  1119. "ryjl": 0,
  1120. "ryjlzd": 0,
  1121. "ydcs": 2,
  1122. "ydcszd": 6,
  1123. "ydsj": 30,
  1124. "ydsjzd": 30,
  1125. "sycd": "中",
  1126. "sycdzd": "轻",
  1127. "zs": null,
  1128. "zszd": null,
  1129. "tzzd": 29,
  1130. "bmizd": 23.8,
  1131. "ywzd": 89,
  1132. "sffl": "控制满意",
  1133. "gljb": "三级管理",
  1134. "xcyy": "2022-10-06",
  1135. "zz": 0,
  1136. "zzyy": "",
  1137. "zzjg": "",
  1138. "jkcf": "1. 定期检查血脂,控制高脂肪饮食,不吃动物的内脏及其制品,可常食用黑木耳、山楂等。肥胖者需控制体重。\n2. 建议接种流感疫苗和肺炎疫苗。\n3. 饮食宜用低盐饮食,食盐每天不超过5~10克(1~2钱)。\n4.
  1139. 从卧位到立位时不能太快,以防止发生直立性低血压。\n5. 保持大便畅通。",
  1140. "zdmbd": "触及正常",
  1141. "yds": "无",
  1142. "ydsyl": "",
  1143. "dxtfy": "无",
  1144. "xtlx": "空腹血糖",
  1145. "xtz": 0,
  1146. "thxhdb": "",
  1147. "jcrq": "2022-09-06",
  1148. "bqgss": "",
  1149. "zzqt": "无",
  1150. "tzqt": "无",
  1151. "height": 112,
  1152. "weight": 50,
  1153. "bmi": 39.9,
  1154. "waist": 1231,
  1155. "shrink": 123,
  1156. "diastole": 11,
  1157. "pulse": 31,
  1158. "temperature": 312,
  1159. "bloodGlucose1": null,
  1160. "bloodGlucose2": null,
  1161. "medicinalList":
  1162. "[{\"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\"}]",
  1163. "visitSendId": null,
  1164. "doctorId": null,
  1165. "jkdaGljb": "",
  1166. "bloodFat1": null,
  1167. "bloodFat2": null,
  1168. "bloodFat3": null,
  1169. "bloodFat4": null,
  1170. "createTime": "2022-09-06T10:30:09",
  1171. "updateTime": "2022-09-06T10:30:09",
  1172. "isDelete": 0,
  1173. "otherDisease": "无",
  1174. "lgmjzsj": null,
  1175. "fymjzsj": null,
  1176. "qttz1": "无",
  1177. "lgymjzyy": "0",
  1178. "ymgz": "0",
  1179. "fyymjzyy": "0",
  1180. "outVisterDoctor": null,
  1181. "brjy": null,
  1182. "outVisterSign": null,
  1183. "BackVisitorDate": null
  1184. }
  1185. }