血透系统PC前端

Two.vue 40KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178
  1. <template>
  2. <div class="checkInspection" style="margin-top: -200px">
  3. <div class="headline">检验检查</div>
  4. <div class="allCheck">
  5. <div class="example1">
  6. <div class="mainTitle">
  7. <el-button type="primary" class="word">| 血常规</el-button>
  8. <div style="float: right">
  9. <p class="checkDate">检查日期</p>
  10. <el-date-picker
  11. v-model="xcg_date"
  12. type="monthrange"
  13. style="width: 300px;"
  14. range-separator="-"
  15. value-format="timestamp"
  16. start-placeholder="开始月份"
  17. @change="xcgChange"
  18. end-placeholder="结束月份">
  19. </el-date-picker>
  20. </div>
  21. </div>
  22. <div class="left1">
  23. </div>
  24. <div class="right">
  25. <div class="rightOne">
  26. <p class="title">白细胞</p>
  27. <el-input placeholder="请输入内容" v-model="bxb" :disabled="true">
  28. </el-input>
  29. <p class="unit">×10^9/L</p>
  30. <el-button type="primary" class="copy" v-clipboard:copy="bxb"
  31. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  32. </div>
  33. <div class="rightOne">
  34. <p class="title">血红蛋白</p>
  35. <el-input placeholder="请输入内容" v-model="xhdb" :disabled="true">
  36. </el-input>
  37. <p class="unit">g/L</p>
  38. <el-button type="primary" class="copy" v-clipboard:copy="xhdb"
  39. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  40. </div>
  41. <div class="rightOne">
  42. <p class="title">红细胞计数</p>
  43. <el-input placeholder="请输入内容" v-model="hxbjs" :disabled="true">
  44. </el-input>
  45. <p class="unit">×10^12/L</p>
  46. <el-button type="primary" class="copy" v-clipboard:copy="hxbjs"
  47. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  48. </div>
  49. <div class="rightOne">
  50. <p class="title">红细胞压积</p>
  51. <el-input placeholder="请输入内容" v-model="hxbyj" :disabled="true">
  52. </el-input>
  53. <p class="unit">%</p>
  54. <el-button type="primary" class="copy" v-clipboard:copy="hxbyj"
  55. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  56. </div>
  57. <div class="rightOne">
  58. <p class="title">网织红细胞计数</p>
  59. <el-input placeholder="请输入内容" v-model="wzhxbjs" :disabled="true">
  60. </el-input>
  61. <p class="unit">%</p>
  62. <el-button type="primary" class="copy" v-clipboard:copy="wzhxbjs"
  63. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  64. </div>
  65. <div class="rightOne noBottom">
  66. <p class="title">血小板</p>
  67. <el-input placeholder="请输入内容" v-model="xxb" :disabled="true">
  68. </el-input>
  69. <p class="unit">×10^9/L</p>
  70. <el-button type="primary" class="copy" v-clipboard:copy="xxb"
  71. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="example1 noTop">
  76. <div class="mainTitle">
  77. <el-button type="primary" class="word">| 骨矿物质代谢</el-button>
  78. <div style="float: right">
  79. <p class="checkDate">检查日期</p>
  80. <el-date-picker
  81. v-model="gkwz_date"
  82. type="monthrange"
  83. style="width: 300px;"
  84. range-separator="-"
  85. value-format="timestamp"
  86. start-placeholder="开始月份"
  87. @change="gkwzChange"
  88. end-placeholder="结束月份">
  89. </el-date-picker>
  90. </div>
  91. </div>
  92. <div class="left1">
  93. </div>
  94. <div class="right">
  95. <div class="rightOne">
  96. <p class="title">血总钙</p>
  97. <el-input placeholder="请输入内容" v-model="xzg" :disabled="true">
  98. </el-input>
  99. <p class="unit">mmol/L</p>
  100. <el-button type="primary" class="copy" v-clipboard:copy="xzg"
  101. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  102. </div>
  103. <div class="rightOne">
  104. <p class="title">游离钙</p>
  105. <el-input placeholder="请输入内容" v-model="ylg" :disabled="true">
  106. </el-input>
  107. <p class="unit">mmol/L</p>
  108. <el-button type="primary" class="copy" v-clipboard:copy="ylg"
  109. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  110. </div>
  111. <div class="rightOne">
  112. <p class="title">血磷</p>
  113. <el-input placeholder="请输入内容" v-model="xl" :disabled="true">
  114. </el-input>
  115. <p class="unit">mmol/L</p>
  116. <el-button type="primary" class="copy" v-clipboard:copy="xl"
  117. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  118. </div>
  119. <div class="rightOne">
  120. <p class="title">钙磷乘积</p>
  121. <el-input placeholder="请输入内容" :disabled="true">
  122. </el-input>
  123. <el-button type="primary" class="copy" v-clipboard:copy=""
  124. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  125. </div>
  126. <div>
  127. <div class="rightOne noBottom">
  128. <p class="title">全段甲状旁腺激素(IPTH)</p>
  129. <el-input
  130. placeholder="请输入内容"
  131. v-model="ipth"
  132. :disabled="true"
  133. >
  134. </el-input>
  135. <p class="unit">pg/ml</p>
  136. <el-button type="primary" class="copy" v-clipboard:copy="ipth"
  137. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  138. </div>
  139. <div class="rightOne">
  140. <p class="title">AKP(ALP碱性磷酸酶)</p>
  141. <el-input
  142. placeholder="请输入内容"
  143. v-model="akp"
  144. :disabled="true"
  145. >
  146. </el-input>
  147. <p class="unit">pg/ml</p>
  148. <el-button type="primary" class="copy" v-clipboard:copy="akp"
  149. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. <div class="example2 noTop">
  155. <div class="mainTitle">
  156. <el-button type="primary" class="word">| 铁代谢</el-button>
  157. <div class="next">
  158. </div>
  159. <div style="float: right">
  160. <p class="checkDate">检查日期</p>
  161. <el-date-picker
  162. v-model="tdx_date"
  163. type="monthrange"
  164. style="width: 300px;"
  165. range-separator="-"
  166. value-format="timestamp"
  167. start-placeholder="开始月份"
  168. @change="tdxChange"
  169. end-placeholder="结束月份">
  170. </el-date-picker>
  171. </div>
  172. </div>
  173. <div class="left2">
  174. </div>
  175. <div class="right">
  176. <div class="rightOne">
  177. <p class="title">血清铁</p>
  178. <el-input placeholder="请输入内容" v-model="xqt" :disabled="true">
  179. </el-input>
  180. <p class="unit">μmol/L</p>
  181. <el-button type="primary" class="copy" v-clipboard:copy="xqt"
  182. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  183. </div>
  184. <div class="rightOne">
  185. <p class="title">总铁结合力</p>
  186. <el-input placeholder="请输入内容" v-model="ztjhl" :disabled="true">
  187. </el-input>
  188. <p class="unit">μmol/L</p>
  189. <el-button type="primary" class="copy" v-clipboard:copy="ztjhl"
  190. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  191. </div>
  192. <div class="rightOne">
  193. <p class="title">转铁饱和度</p>
  194. <el-input placeholder="请输入内容" v-model="ztbhd" :disabled="true">
  195. </el-input>
  196. <p class="unit">μg/L</p>
  197. <el-button type="primary" class="copy" v-clipboard:copy="ztbhd"
  198. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  199. </div>
  200. <div class="rightOne noBottom">
  201. <p class="title">铁蛋白</p>
  202. <el-input placeholder="请输入内容" v-model="tdb" :disabled="true">
  203. </el-input>
  204. <p class="unit">μg/L</p>
  205. <el-button type="primary" class="copy" v-clipboard:copy="tdb"
  206. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  207. </div>
  208. </div>
  209. </div>
  210. <div class="example3 noTop">
  211. <div class="mainTitle">
  212. <el-button type="primary" class="word">| 生化检查(透析前)</el-button>
  213. <div class="next">
  214. </div>
  215. <div style="float: right">
  216. <p class="checkDate">检查日期</p>
  217. <el-date-picker
  218. v-model="shjc_date"
  219. type="monthrange"
  220. style="width: 300px;"
  221. range-separator="-"
  222. value-format="timestamp"
  223. start-placeholder="开始月份"
  224. @change="shjcChange"
  225. end-placeholder="结束月份">
  226. </el-date-picker>
  227. </div>
  228. </div>
  229. <div class="left3">
  230. </div>
  231. <div class="right">
  232. <div class="rightOne">
  233. <p class="title">尿素</p>
  234. <el-input placeholder="请输入内容" v-model="ns" :disabled="true">
  235. </el-input>
  236. <p class="unit">mmol/L</p>
  237. <el-button type="primary" class="copy" v-clipboard:copy="ns"
  238. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  239. </div>
  240. <div class="rightOne">
  241. <p class="title">肌酐</p>
  242. <el-input placeholder="请输入内容" v-model="jg" :disabled="true">
  243. </el-input>
  244. <p class="unit">μmol/L</p>
  245. <el-button type="primary" class="copy" v-clipboard:copy="jg"
  246. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  247. </div>
  248. <div class="rightOne">
  249. <p class="title">血尿酸</p>
  250. <el-input placeholder="请输入内容" v-model="xns" :disabled="true">
  251. </el-input>
  252. <p class="unit">μmol/L</p>
  253. <el-button type="primary" class="copy" v-clipboard:copy="xns"
  254. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  255. </div>
  256. <div class="rightOne">
  257. <p class="title">血总蛋白</p>
  258. <el-input placeholder="请输入内容" v-model="xzdb" :disabled="true">
  259. </el-input>
  260. <p class="unit">g/L</p>
  261. <el-button type="primary" class="copy" v-clipboard:copy="xzdb"
  262. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  263. </div>
  264. <div>
  265. <div class="rightOne noBottom">
  266. <p class="title">血白蛋白</p>
  267. <el-input
  268. placeholder="请输入内容"
  269. v-model="xbdb"
  270. :disabled="true"
  271. >
  272. </el-input>
  273. <p class="unit">g/L</p>
  274. <el-button type="primary" class="copy" v-clipboard:copy="xbdb"
  275. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  276. </div>
  277. <div class="rightOne">
  278. <p class="title">丙氨酸氨基转移酶(ALT)</p>
  279. <el-input
  280. placeholder="请输入内容"
  281. v-model="alt"
  282. :disabled="true"
  283. >
  284. </el-input>
  285. <p class="unit">IU/L</p>
  286. <el-button type="primary" class="copy" v-clipboard:copy="alt"
  287. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  288. </div>
  289. </div>
  290. <div class="rightOne">
  291. <p class="title">总胆红素</p>
  292. <el-input placeholder="请输入内容" v-model="zdhs" :disabled="true">
  293. </el-input>
  294. <p class="unit">μmol/L</p>
  295. <el-button type="primary" class="copy" v-clipboard:copy="zdhs"
  296. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  297. </div>
  298. <div class="rightOne">
  299. <p class="title">甘油三酯</p>
  300. <el-input placeholder="请输入内容" v-model="gysz" :disabled="true">
  301. </el-input>
  302. <p class="unit">mmol/L</p>
  303. <el-button type="primary" class="copy" v-clipboard:copy="gysz"
  304. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  305. </div>
  306. <div class="rightOne">
  307. <p class="title">低密度脂蛋白</p>
  308. <el-input placeholder="请输入内容" v-model="dmdzdb" :disabled="true">
  309. </el-input>
  310. <p class="unit">mmol/L</p>
  311. <el-button type="primary" class="copy" v-clipboard:copy="dmdzdb"
  312. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  313. </div>
  314. <div class="rightOne">
  315. <p class="title">高密度脂蛋白</p>
  316. <el-input placeholder="请输入内容" v-model="gmdzdb" :disabled="true">
  317. </el-input>
  318. <p class="unit">mmol/L</p>
  319. <el-button type="primary" class="copy" v-clipboard:copy="gmdzdb"
  320. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  321. </div>
  322. <div class="rightOne">
  323. <p class="title">血糖</p>
  324. <el-input placeholder="请输入内容" v-model="xt" :disabled="true">
  325. </el-input>
  326. <p class="unit">mmol/L</p>
  327. <el-button type="primary" class="copy" v-clipboard:copy="xt"
  328. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  329. </div>
  330. <div class="rightOne">
  331. <p class="title">血钾</p>
  332. <el-input placeholder="请输入内容" v-model="xj" :disabled="true">
  333. </el-input>
  334. <p class="unit">mmol/L</p>
  335. <el-button type="primary" class="copy" v-clipboard:copy="xj"
  336. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  337. </div>
  338. <div class="rightOne">
  339. <p class="title">血钠</p>
  340. <el-input placeholder="请输入内容" v-model="xn" :disabled="true">
  341. </el-input>
  342. <p class="unit">mmol/L</p>
  343. <el-button type="primary" class="copy" v-clipboard:copy="xn"
  344. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  345. </div>
  346. <div class="rightOne">
  347. <p class="title">血氯</p>
  348. <el-input placeholder="请输入内容" v-model="xc" :disabled="true">
  349. </el-input>
  350. <p class="unit">mmol/L</p>
  351. <el-button type="primary" class="copy" v-clipboard:copy="xc"
  352. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  353. </div>
  354. <div class="rightOne">
  355. <p class="title">血镁</p>
  356. <el-input placeholder="请输入内容" v-model="xm" :disabled="true">
  357. </el-input>
  358. <p class="unit">mmol/L</p>
  359. <el-button type="primary" class="copy" v-clipboard:copy="xm"
  360. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  361. </div>
  362. <div class="rightOne">
  363. <p class="title">血沉</p>
  364. <el-input placeholder="请输入内容" v-model="xchen" :disabled="true">
  365. </el-input>
  366. <p class="unit">mm/h</p>
  367. <el-button type="primary" class="copy" v-clipboard:copy="xchen"
  368. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  369. </div>
  370. <div class="rightOne noBottom">
  371. <p class="title">二氧化碳</p>
  372. <el-input placeholder="请输入内容" v-model="xe" :disabled="true">
  373. </el-input>
  374. <p class="unit">mmol/L</p>
  375. <el-button type="primary" class="copy" v-clipboard:copy="xe"
  376. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  377. </div>
  378. </div>
  379. </div>
  380. <div class="example4 noTop">
  381. <div class="mainTitle">
  382. <el-button type="primary" class="word">| 营养与炎症</el-button>
  383. <div class="next">
  384. </div>
  385. <div style="float: right">
  386. <p class="checkDate">检查日期</p>
  387. <el-date-picker
  388. v-model="yyyyz_date"
  389. type="monthrange"
  390. style="width: 300px;"
  391. range-separator="-"
  392. value-format="timestamp"
  393. start-placeholder="开始月份"
  394. @change="yyyyzChange"
  395. end-placeholder="结束月份">
  396. </el-date-picker>
  397. </div>
  398. </div>
  399. <div class="left4">
  400. </div>
  401. <div class="right">
  402. <div class="rightOne">
  403. <p class="title">C反应蛋白</p>
  404. <el-input placeholder="请输入内容" v-model="cfydb" :disabled="true">
  405. </el-input>
  406. <p class="unit">mg/dL</p>
  407. <el-button type="primary" class="copy" v-clipboard:copy="cfydb"
  408. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  409. </div>
  410. <div class="rightOne">
  411. <p class="title">前白蛋白</p>
  412. <el-input placeholder="请输入内容" v-model="qbdb" :disabled="true">
  413. </el-input>
  414. <p class="unit">mg/dL</p>
  415. <el-button type="primary" class="copy" v-clipboard:copy="qbdb"
  416. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  417. </div>
  418. <div class="rightOne noBottom">
  419. <p class="title">β2微白蛋白</p>
  420. <el-input placeholder="请输入内容" v-model="b2wdb" :disabled="true">
  421. </el-input>
  422. <p class="unit">mg/dL</p>
  423. <el-button type="primary" class="copy" v-clipboard:copy="b2wdb"
  424. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  425. </div>
  426. </div>
  427. </div>
  428. <div class="example5 noTop">
  429. <div class="mainTitle">
  430. <el-button type="primary" class="word">| 传染病学指标</el-button>
  431. <div class="next">
  432. </div>
  433. <div style="float: right">
  434. <p class="checkDate">检查日期</p>
  435. <el-date-picker
  436. v-model="crbxzb_date"
  437. type="monthrange"
  438. style="width: 300px;"
  439. range-separator="-"
  440. value-format="timestamp"
  441. start-placeholder="开始月份"
  442. @change="crbxzbChange"
  443. end-placeholder="结束月份">
  444. </el-date-picker>
  445. </div>
  446. </div>
  447. <div class="left5">
  448. </div>
  449. <div class="right">
  450. <div class="rightOne">
  451. <p class="title1">乙型肝炎病毒表面抗原<br />(HBsAg)</p>
  452. <el-input placeholder="请输入内容" v-model="hbsag" :disabled="true">
  453. </el-input>
  454. <el-button type="primary" class="copy" v-clipboard:copy="hbsag"
  455. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  456. </div>
  457. <div class="rightOne">
  458. <p class="title1">乙型肝炎病毒表面抗体<br />(AntiHBs)</p>
  459. <el-input placeholder="请输入内容" v-model="antihbs" :disabled="true">
  460. </el-input>
  461. <el-button type="primary" class="copy" v-clipboard:copy="antihbs"
  462. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  463. </div>
  464. <div class="rightOne">
  465. <p class="title1">乙型肝炎病毒E坑抗原<br />(HBeAg)</p>
  466. <el-input placeholder="请输入内容" v-model="hbeag" :disabled="true">
  467. </el-input>
  468. <el-button type="primary" class="copy" v-clipboard:copy="hbeag"
  469. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  470. </div>
  471. <div class="rightOne">
  472. <p class="title1">乙型肝炎病毒E抗体<br />(AntiHBe)</p>
  473. <el-input placeholder="请输入内容" v-model="antihbe" :disabled="true">
  474. </el-input>
  475. <el-button type="primary" class="copy" v-clipboard:copy="antihbe"
  476. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  477. </div>
  478. <div class="rightOne">
  479. <p class="title1">乙型肝炎病毒核心抗体<br />(AntiHBc)</p>
  480. <el-input placeholder="请输入内容" v-model="antihbc" :disabled="true">
  481. </el-input>
  482. <el-button type="primary" class="copy" v-clipboard:copy="antihbc"
  483. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  484. </div>
  485. <div class="rightOne">
  486. <p class="title1">乙肝病毒DNA测定<br />(HBVDNA)</p>
  487. <el-input placeholder="请输入内容" v-model="hbvdna" :disabled="true">
  488. </el-input>
  489. <p class="unit">copies/mL</p>
  490. <el-button type="primary" class="copy" v-clipboard:copy="hbvdna"
  491. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  492. </div>
  493. <div class="rightOne">
  494. <p class="title1">丙型肝炎病毒抗体<br />(AntiHCV)</p>
  495. <el-input placeholder="请输入内容" v-model="antihcv" :disabled="true">
  496. </el-input>
  497. <el-button type="primary" class="copy" v-clipboard:copy="antihcv"
  498. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  499. </div>
  500. <div class="rightOne">
  501. <p class="title1">丙肝病毒RNA测定<br />(HCVRNA)</p>
  502. <el-input placeholder="请输入内容" v-model="hcvrna" :disabled="true">
  503. </el-input>
  504. <p class="unit">copies/mL</p>
  505. <el-button type="primary" class="copy" v-clipboard:copy="hcvrna"
  506. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  507. </div>
  508. <div class="rightOne">
  509. <p class="title">HV抗体</p>
  510. <el-input placeholder="请输入内容" v-model="hivkt" :disabled="true">
  511. </el-input>
  512. <el-button type="primary" class="copy" v-clipboard:copy="hivkt"
  513. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  514. </div>
  515. <div class="rightOne noBottom">
  516. <p class="title">梅毒</p>
  517. <el-input placeholder="请输入内容" v-model="md" :disabled="true">
  518. </el-input>
  519. <el-button type="primary" class="copy" v-clipboard:copy="md"
  520. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  521. </div>
  522. </div>
  523. </div>
  524. <div class="example6 noTop">
  525. <div class="mainTitle">
  526. <el-button type="primary" class="word">| 结核</el-button>
  527. <div class="next">
  528. </div>
  529. <div style="float: right">
  530. <p class="checkDate">检查日期</p>
  531. <el-date-picker
  532. v-model="jh_date"
  533. type="monthrange"
  534. style="width: 300px;"
  535. range-separator="-"
  536. value-format="timestamp"
  537. start-placeholder="开始月份"
  538. @change="jhChange"
  539. end-placeholder="结束月份">
  540. </el-date-picker>
  541. </div>
  542. </div>
  543. <div class="left6">
  544. </div>
  545. <div class="right">
  546. <div class="rightOne">
  547. <p class="title">结核抗体</p>
  548. <el-input placeholder="请输入内容" v-model="jhkt" :disabled="true">
  549. </el-input>
  550. <el-button type="primary" class="copy" v-clipboard:copy="jhkt"
  551. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  552. </div>
  553. <div class="rightOne noBottom">
  554. <p class="title">结核菌素试验</p>
  555. <el-input placeholder="请输入内容" v-model="jhjssy" :disabled="true">
  556. </el-input>
  557. <el-button type="primary" class="copy" v-clipboard:copy="jhjssy"
  558. v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
  559. </div>
  560. </div>
  561. </div>
  562. </div>
  563. </div>
  564. </template>
  565. <script>
  566. import { getDataConfig } from '@/utils/data'
  567. import {
  568. uParseTime
  569. } from '@/utils/tools'
  570. import {
  571. GetUploadInspections,GetInitInspections
  572. } from '@/api/inspection'
  573. export default {
  574. name: 'Two',
  575. components: { },
  576. data() {
  577. return {
  578. value1:'',
  579. input:'',
  580. radio:'',
  581. xcg_date:'',
  582. gkwz_date:'',
  583. tdx_date:'',
  584. shjc_date:'',
  585. yyyyz_date:'',
  586. crbxzb_date:'',
  587. jh_date:'',
  588. routine_blood_test:[],
  589. bone_mineral_metabolism:[],
  590. iron_metabolism:[],
  591. biochemical_test:[],
  592. inflammation:[],
  593. contagion:[],
  594. phthisis:[],
  595. inspection_reference:[],
  596. bxb:'',
  597. xhdb:'',
  598. hxbjs:'',
  599. hxbyj:'',
  600. wzhxbjs:'',
  601. xxb:'',
  602. xzg:'',
  603. ylg:'',
  604. xl:'',
  605. ipth:'',
  606. akp:'',
  607. xqt:'',
  608. ztjhl:'',
  609. ztbhd:'',
  610. tdb:'',
  611. ns:'',
  612. jg:'',
  613. xns:'',
  614. xzdb:'',
  615. xbdb:'',
  616. alt:'',
  617. zdhs:'',
  618. gysz:'',
  619. dmdzdb:'',
  620. gmdzdb:'',
  621. xt:'',
  622. xj:'',
  623. xn:'',
  624. xc:'',
  625. xm:'',
  626. xchen:'',
  627. xe:'',
  628. cfydb:'',
  629. qbdb:'',
  630. b2wdb:'',
  631. hbsag:'',
  632. antihbs:'',
  633. hbeag:'',
  634. antihbe:'',
  635. antihbc:'',
  636. hbvdna:'',
  637. antihcv:'',
  638. hcvrna:'',
  639. hivkt:'',
  640. md:'',
  641. jhkt:'',
  642. jhjssy:'',
  643. patient_id:0,
  644. }
  645. },
  646. created() {
  647. },
  648. methods: {
  649. GetInitInspections(){
  650. GetInitInspections()
  651. .then(response => {
  652. if (response.data.state ==1) {
  653. this.inspection_reference = response.data.data.references
  654. } else {
  655. // this.$notify.error({
  656. // title: '错误',
  657. // message: '网络异常'
  658. // })
  659. }
  660. }).catch(err => {
  661. // this.$notify.error({
  662. // title: '错误',
  663. // message: '网络异常'
  664. // })
  665. })
  666. },
  667. getTime(val){
  668. return uParseTime(val, '{y}年{m}月{d}日')
  669. }, GetUploadInspections(id,start_time,end_time,type,project) {
  670. this.patient_id = id
  671. let params = {
  672. patient: id,
  673. project_id: project,
  674. start_time: start_time,
  675. end_time : end_time,
  676. type: type,
  677. project:project,
  678. }
  679. GetUploadInspections(params)
  680. .then(response => {
  681. if (response.data.state === 1) {
  682. switch (response.data.data.type) {
  683. case 1:
  684. if(response.data.data.inspections != null){
  685. if(response.data.data.inspections.length > 0){
  686. this.bxb = response.data.data.inspections[0].inspect_value
  687. this.xhdb = response.data.data.inspections[3].inspect_value
  688. this.hxbjs = response.data.data.inspections[6].inspect_value
  689. this.hxbyj = response.data.data.inspections[7].inspect_value
  690. this.wzhxbjs = response.data.data.inspections[5].inspect_value
  691. this.xxb = response.data.data.inspections[8].inspect_value
  692. }
  693. }else{
  694. this.bxb = ''
  695. this.xhdb =''
  696. this.hxbjs = ''
  697. this.hxbyj =''
  698. this.wzhxbjs = ''
  699. this.xxb = ''
  700. }
  701. break
  702. case 2:
  703. if(response.data.data.inspections != null){
  704. if(response.data.data.inspections.length > 0){
  705. this.xzg = response.data.data.inspections[16].inspect_value
  706. this.ylg = response.data.data.inspections[11].inspect_value
  707. this.xl = response.data.data.inspections[18].inspect_value
  708. this.ipth = response.data.data.inspections[20].inspect_value
  709. this.akp = response.data.data.inspections[4].inspect_value
  710. }
  711. }else{
  712. this.xzg =''
  713. this.ylg =''
  714. this.xl = ''
  715. this.ipth = ''
  716. this.akp = ''
  717. }
  718. break
  719. case 3:
  720. if(response.data.data.inspections != null){
  721. if(response.data.data.inspections.length > 0){
  722. this.xqt = response.data.data.inspections[0].inspect_value
  723. this.ztjhl = response.data.data.inspections[2].inspect_value
  724. this.ztbhd = response.data.data.inspections[3].inspect_value
  725. this.tdb = response.data.data.inspections[1].inspect_value
  726. }
  727. }else{
  728. this.xqt = ''
  729. this.ztjhl = ''
  730. this.ztbhd = ''
  731. this.tdb =''
  732. }
  733. break
  734. case 4:
  735. if(response.data.data.inspections != null){
  736. if(response.data.data.inspections.length > 0){
  737. this.ns = response.data.data.inspections[19].inspect_value
  738. this.jg = response.data.data.inspections[22].inspect_value
  739. this.xns = response.data.data.inspections[20].inspect_value
  740. this.xzdb = response.data.data.inspections[3].inspect_value
  741. this.xbdb = response.data.data.inspections[5].inspect_value
  742. this.alt = response.data.data.inspections[0].inspect_value
  743. this.zdhs = response.data.data.inspections[6].inspect_value
  744. this.gysz = response.data.data.inspections[24].inspect_value
  745. this.dmdzdb = response.data.data.inspections[27].inspect_value
  746. this.gmdzdb = response.data.data.inspections[26].inspect_value
  747. this.xt = response.data.data.inspections[29].inspect_value
  748. this.xj = response.data.data.inspections[13].inspect_value
  749. this.xn = response.data.data.inspections[14].inspect_value
  750. this.xc = response.data.data.inspections[15].inspect_value
  751. this.xm = response.data.data.inspections[9].inspect_value
  752. this.xchen = response.data.data.inspections[10].inspect_value
  753. this.xe = response.data.data.inspections[12].inspect_value
  754. }
  755. }else{
  756. this.ns = ''
  757. this.jg = ''
  758. this.xns =''
  759. this.xzdb = ''
  760. this.xbdb = ''
  761. this.alt = ''
  762. this.zdhs =''
  763. this.gysz = ''
  764. this.dmdzdb =''
  765. this.gmdzdb = ''
  766. this.xt = ''
  767. this.xj = ''
  768. this.xn = ''
  769. this.xc = ''
  770. this.xm = ''
  771. this.xchen = ''
  772. this.xe = ''
  773. }
  774. break
  775. case 5:
  776. if(response.data.data.inspections != null){
  777. if(response.data.data.inspections.length > 0){
  778. this.cfydb = response.data.data.inspections[5].inspect_value
  779. this.qbdb = response.data.data.inspections[6].inspect_value
  780. this.b2wdb = response.data.data.inspections[2].inspect_value
  781. }
  782. }else{
  783. this.cfydb =''
  784. this.qbdb = ''
  785. this.b2wdb = ''
  786. }
  787. break
  788. case 6:
  789. if(response.data.data.inspections != null){
  790. if(response.data.data.inspections.length > 0){
  791. this.hbsag = response.data.data.inspections[1].inspect_value
  792. this.antihbs = response.data.data.inspections[2].inspect_value
  793. this.hbeag = response.data.data.inspections[3].inspect_value
  794. this.antihbe = response.data.data.inspections[4].inspect_value
  795. this.antihbc = response.data.data.inspections[5].inspect_value
  796. this.hbvdna = response.data.data.inspections[8].inspect_value
  797. this.antihcv = response.data.data.inspections[0].inspect_value
  798. this.hcvrna = response.data.data.inspections[9].inspect_value
  799. this.hivkt = response.data.data.inspections[6].inspect_value
  800. this.md = response.data.data.inspections[7].inspect_value
  801. //
  802. }
  803. }else{
  804. this.hbsag = ''
  805. this.antihbs = ''
  806. this.hbeag = ''
  807. this.antihbe = ''
  808. this.antihbc = ''
  809. this.hbvdna = ''
  810. this.antihcv = ''
  811. this.hcvrna =''
  812. this.hivkt = ''
  813. this.md = ''
  814. }
  815. break
  816. case 7:
  817. if(response.data.data.inspections != null){
  818. if(response.data.data.inspections.length > 0){
  819. this.jhkt = response.data.data.inspections[0].inspect_value
  820. this.jhjssy = response.data.data.inspections[1].inspect_value
  821. }
  822. }else{
  823. this.jhkt = ''
  824. this.jhjssy = ''
  825. }
  826. break
  827. }
  828. } else {
  829. // this.$notify.error({
  830. // title: '错误',
  831. // message: '网络异常'
  832. // })
  833. }
  834. }).catch(err => {
  835. // this.$notify.error({
  836. // title: '错误',
  837. // message: '网络异常'
  838. // })
  839. })
  840. },getMaritalType(id){
  841. for(let i = 0; i < this.maritalOptions.length; i++){
  842. if(this.maritalOptions[i].id == id){
  843. return this.maritalOptions[i].name
  844. }
  845. }
  846. },getEducationType(id){
  847. for(let i = 0; i < this.educationOptions.length; i++){
  848. if(this.educationOptions[i].id == id){
  849. return this.educationOptions[i].name
  850. }
  851. }
  852. },getProfessionType(id){
  853. for(let i = 0; i < this.professionOptions.length; i++){
  854. if(this.professionOptions[i].id == id){
  855. return this.professionOptions[i].name
  856. }
  857. }
  858. },onCopy(){
  859. this.$message.success('复制成功')
  860. },onError(){
  861. this.$message.success('复制失败,请重试')
  862. },xcgChange(val){
  863. this.GetUploadInspections(this.patient_id,val[0]/1000,val[1]/1000,1,"1")
  864. },gkwzChange(val){
  865. this.GetUploadInspections(this.patient_id,val[0]/1000,val[1]/1000,2,"2-4-20")
  866. },tdxChange(val){
  867. this.GetUploadInspections(this.patient_id,val[0]/1000,val[1]/1000,3,"21")
  868. },shjcChange(val){
  869. this.GetUploadInspections(this.patient_id,val[0]/1000,val[1]/1000,4,"2-4-15-24-25")
  870. },yyyyzChange(val){
  871. this.GetUploadInspections(this.patient_id,val[0]/1000,val[1]/1000,5,"15-23")
  872. },crbxzbChange(val){
  873. this.GetUploadInspections(this.patient_id,val[0]/1000,val[1]/1000,6,"14")
  874. },jhChange(val){
  875. this.GetUploadInspections(this.patient_id,val[0]/1000,val[1]/1000,7,"22")
  876. }
  877. }
  878. }
  879. </script>
  880. <style lang="scss">
  881. .checkInspection {
  882. float: left;
  883. width: 86%;
  884. padding-left: 20px;
  885. .headline {
  886. height: 30px;
  887. line-height: 30px;
  888. margin-bottom: 10px;
  889. }
  890. .example1 {
  891. width: 100%;
  892. height: 350px;
  893. border-top: 1px solid #ccc;
  894. border-bottom: 1px solid #ccc;
  895. box-sizing: border-box;
  896. }
  897. .example2 {
  898. width: 100%;
  899. height: 250px;
  900. border-top: 1px solid #ccc;
  901. border-bottom: 1px solid #ccc;
  902. box-sizing: border-box;
  903. }
  904. .example3 {
  905. width: 100%;
  906. height: 950px;
  907. border-top: 1px solid #ccc;
  908. border-bottom: 1px solid #ccc;
  909. box-sizing: border-box;
  910. }
  911. .example4 {
  912. width: 100%;
  913. height: 200px;
  914. border-top: 1px solid #ccc;
  915. border-bottom: 1px solid #ccc;
  916. box-sizing: border-box;
  917. }
  918. .example5 {
  919. width: 100%;
  920. height: 550px;
  921. border-top: 1px solid #ccc;
  922. border-bottom: 1px solid #ccc;
  923. box-sizing: border-box;
  924. }
  925. .example6 {
  926. width: 100%;
  927. height: 150px;
  928. border-top: 1px solid #ccc;
  929. border-bottom: 1px solid #ccc;
  930. box-sizing: border-box;
  931. }
  932. .mainTitle {
  933. width: 100%;
  934. height: 50px;
  935. padding-top: 6px;
  936. box-sizing: border-box;
  937. border-bottom: 1px solid #ccc;
  938. .word {
  939. float: left;
  940. }
  941. .next {
  942. float: right;
  943. }
  944. }
  945. .left1 {
  946. float: left;
  947. width: 18%;
  948. height: 300px;
  949. border-right: 1px solid #ccc;
  950. padding-top: 10px;
  951. }
  952. .left2 {
  953. float: left;
  954. width: 18%;
  955. height: 200px;
  956. border-right: 1px solid #ccc;
  957. padding-top: 10px;
  958. }
  959. .left3 {
  960. float: left;
  961. width: 18%;
  962. height: 900px;
  963. border-right: 1px solid #ccc;
  964. padding-top: 10px;
  965. }
  966. .left4 {
  967. float: left;
  968. width: 18%;
  969. height: 150px;
  970. border-right: 1px solid #ccc;
  971. padding-top: 10px;
  972. }
  973. .left5 {
  974. float: left;
  975. width: 18%;
  976. height: 500px;
  977. border-right: 1px solid #ccc;
  978. padding-top: 10px;
  979. }
  980. .left6 {
  981. float: left;
  982. width: 18%;
  983. height: 100px;
  984. border-right: 1px solid #ccc;
  985. padding-top: 10px;
  986. }
  987. .checkDate {
  988. float: left;
  989. height: 36px;
  990. line-height: 36px;
  991. font-size: 12px;
  992. margin-right: 10px;
  993. }
  994. .el-date-editor {
  995. float: left;
  996. width: 130px;
  997. }
  998. .hint {
  999. width: 130px;
  1000. font-size: 12px;
  1001. float: right;
  1002. margin-right: 8px;
  1003. margin-top: 2px;
  1004. }
  1005. .right {
  1006. float: left;
  1007. width: 82%;
  1008. // height: 100%;
  1009. overflow: hidden;
  1010. .rightOne {
  1011. height: 50px;
  1012. border-bottom: 1px solid #ccc;
  1013. }
  1014. .noBottom {
  1015. border-bottom: none;
  1016. }
  1017. .title {
  1018. float: left;
  1019. width: 160px;
  1020. font-size: 12px;
  1021. padding-left: 10px;
  1022. line-height: 50px;
  1023. }
  1024. .title1 {
  1025. float: left;
  1026. width: 160px;
  1027. font-size: 12px;
  1028. padding-left: 10px;
  1029. margin-top: 12px;
  1030. }
  1031. .el-input {
  1032. float: left;
  1033. width: 300px;
  1034. line-height: 50px;
  1035. }
  1036. .unit {
  1037. float: left;
  1038. margin-left: 20px;
  1039. font-size: 12px;
  1040. width: 130px;
  1041. line-height: 50px;
  1042. }
  1043. .unidentified {
  1044. float: left;
  1045. font-size: 12px;
  1046. line-height: 50px;
  1047. }
  1048. .unidentified1 {
  1049. float: left;
  1050. font-size: 12px;
  1051. line-height: 50px;
  1052. margin-left: 151px;
  1053. }
  1054. .copy {
  1055. float: left;
  1056. margin-left: 20px !important;
  1057. margin-top: 6px;
  1058. }
  1059. .copy1 {
  1060. margin-left: 194px;
  1061. }
  1062. .copy2 {
  1063. margin-left: 44px;
  1064. }
  1065. .el-radio{
  1066. margin-right: 0 !important;
  1067. }
  1068. .el-radio__label{
  1069. font-size: 12px;
  1070. }
  1071. }
  1072. .noTop {
  1073. border-top: none;
  1074. }
  1075. }
  1076. </style>