batch_print_order_eight.vue 80KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. <el-button
  6. :loading="loading"
  7. size="small"
  8. icon="el-icon-printer"
  9. @click="printThisPage"
  10. type="primary"
  11. >打印
  12. </el-button>
  13. </div>
  14. <div class="app-container">
  15. <div id="print_content">
  16. <div
  17. v-for="(record, index) in records"
  18. :key="record.id"
  19. class="print_page_main_content"
  20. >
  21. <div id="dialysis-print-box">
  22. <div class="dialysis-print-order">
  23. <div class="order-yy-name"></div>
  24. <div class="order-title">
  25. {{ orgname }}&nbsp;&nbsp;&nbsp;血液净化治疗记录单
  26. </div>
  27. <table class="print-table" style="margin-top: 10px;" border="1">
  28. <tr>
  29. <td style="text-align:center;">
  30. <span style="display:inline-block;margin-left:10px;">
  31. {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
  32. </span>
  33. </td>
  34. <td style="text-align:center;">
  35. 姓名:<span style="display:inline-block;margin-left:10px;">
  36. {{ record.patient.name }}
  37. </span>
  38. </td>
  39. <td style="text-align:center;">
  40. 性别:<span
  41. style="display:inline-block;margin-left:10px;"
  42. >
  43. {{ record.patient.gender == 1 ? '男' : '女' }}
  44. </span>
  45. </td>
  46. <td style="text-align:center;">
  47. 年龄:<span
  48. style="display:inline-block;margin-left:10px;"
  49. >
  50. {{ getAge(record.patient) }}
  51. </span>
  52. </td>
  53. <td style="text-align:center;">
  54. <check-box text="门诊" :checked="record.receive_assessment.condition == 1"></check-box>
  55. &nbsp;
  56. <check-box text="住院" :checked="record.receive_assessment.condition == 2"></check-box>
  57. </td>
  58. <td style="text-align:center;">
  59. 住院号:<span style="display:inline-block;margin-left:10px;">
  60. {{record.receive_assessment.admission_number?record.receive_assessment.admission_number:"/"}}
  61. </span>
  62. </td>
  63. <td style="text-align:center;">
  64. 机器号:<span style="display:inline-block;margin-left:10px;">
  65. {{
  66. record.dialysis_order &&
  67. record.dialysis_order.device_number &&
  68. record.dialysis_order.device_number.number.length >
  69. 0
  70. ? record.dialysis_order.device_number.number
  71. : record.device_number.number
  72. }}
  73. </span>
  74. </td>
  75. </tr>
  76. <tr>
  77. <td style="text-align:left;" colspan="2">
  78. <span style="display:inline-block;margin-left:15px;"
  79. >治疗方式:</span
  80. >
  81. <label-box
  82. :isChecked="
  83. record.prescription.mode_id == 1 ? true : false
  84. "
  85. showValue="HD"
  86. ></label-box
  87. >&nbsp;
  88. <label-box
  89. :isChecked="
  90. record.prescription.mode_id == 2 ? true : false
  91. "
  92. showValue="HDF"
  93. ></label-box
  94. >&nbsp;
  95. <label-box
  96. :isChecked="
  97. record.prescription.mode_id == 3 ? true : false
  98. "
  99. showValue="HP"
  100. ></label-box
  101. >&nbsp;
  102. <label-box
  103. :isChecked="
  104. record.prescription.mode_id == 7 ? true : false
  105. "
  106. showValue="IUF"
  107. ></label-box
  108. >&nbsp;
  109. <label-box
  110. :isChecked="
  111. record.prescription.mode_id == 5 ? true : false
  112. "
  113. showValue="HF"
  114. ></label-box
  115. >&nbsp;
  116. </td>
  117. <td style="text-align:left;" colspan="5">
  118. <span style="display:inline-block;margin-left:15px;"
  119. >诊断: {{ record.patient.diagnose }}</span
  120. >
  121. </td>
  122. </tr>
  123. <tr>
  124. <td style="text-align:left;" colspan="1">
  125. <span style="display:inline-block;margin-left:15px;"
  126. >干体重:
  127. {{
  128. record.assessment_before_dislysis.dry_weight
  129. ? record.assessment_before_dislysis.dry_weight
  130. : "/"
  131. }}kg</span
  132. >
  133. </td>
  134. <td style="text-align:left;" colspan="1">
  135. <span style="display:inline-block;margin-left:15px;"
  136. >电导率:{{record.prescription.conductivity?record.prescription.conductivity:"0"}}(mS/cm)</span
  137. >
  138. </td>
  139. <td style="text-align:left;" colspan="2">
  140. <span style="display:inline-block;margin-left:15px;"
  141. >钙:
  142. {{
  143. record.prescription.calcium
  144. ? record.prescription.calcium
  145. : "/"
  146. }}mmol/L</span
  147. >
  148. </td>
  149. <td style="text-align:left;" colspan="3">
  150. <span style="display:inline-block;margin-left:15px;"
  151. >透析液温度:{{record.assessment_before_dislysis.dialysate_temperature?record.assessment_before_dislysis.dialysate_temperature:"/"}}&nbsp;℃</span
  152. >
  153. </td>
  154. </tr>
  155. <tr>
  156. <td style="text-align:left;" colspan="1">
  157. <span style="display:inline-block;margin-left:15px;"
  158. >透前体重:{{record.assessment_before_dislysis.weight_before?record.assessment_before_dislysis.weight_before:"/"}}&nbsp;kg</span>
  159. </td>
  160. <td style="text-align:left;" colspan="1">
  161. <span style="display:inline-block;margin-left:15px;"
  162. >设定脱水量:{{record.prescription.target_ultrafiltration?record.prescription.target_ultrafiltration:"/"}}&nbsp;L</span
  163. >
  164. </td>
  165. <td colspan="2" style="text-align:left;">
  166. <span style="display:inline-block;margin-left:15px;">
  167. <label-box
  168. :isChecked="record.prescription.anticoagulant == 1 ? true : false"
  169. showValue="无肝素"
  170. ></label-box>
  171. </span>
  172. </td>
  173. <td style="text-align:left;" colspan="1">
  174. <span style="display:inline-block;margin-left:15px;"
  175. >肝素首剂:
  176. {{record.prescription.anticoagulant_shouji}}
  177. <span v-if="record.prescription.anticoagulant==4">mg</span>
  178. <span v-if="record.prescription.anticoagulant==3">iu</span>
  179. <span v-if="record.prescription.anticoagulant==2">iu</span>
  180. <span v-if="record.prescription.anticoagulant==1">mg</span>&nbsp;
  181. </span>
  182. </td>
  183. <td style="text-align:left;" colspan="1">
  184. <span style="display:inline-block;margin-left:15px;"
  185. >维持:
  186. {{record.prescription.anticoagulant_weichi}}
  187. <span v-if="record.prescription.anticoagulant == 5">ml/h</span>
  188. <span v-if="record.prescription.anticoagulant == 4">mg/h</span>
  189. <span v-if="record.prescription.anticoagulant == 3">iu/h</span>
  190. <span v-if="record.prescription.anticoagulant == 2">iu/h</span>
  191. <span v-if="record.prescription.anticoagulant == 1">mg/h</span>
  192. &nbsp;
  193. </span>
  194. </td>
  195. <td style="text-align:left;" colspan="2">
  196. <span style="display:inline-block;margin-left:15px;"
  197. >总量:
  198. {{record.prescription.anticoagulant_zongliang}}
  199. <span v-if="record.prescription.anticoagulant == 4">mg</span>
  200. <span v-if="record.prescription.anticoagulant == 3">iu</span>
  201. <span v-if="record.prescription.anticoagulant == 2">iu</span>
  202. <span v-if="record.prescription.anticoagulant == 1">mg</span>;
  203. </span>
  204. </td>
  205. </tr>
  206. <tr>
  207. <td style="text-align:left;" colspan="1">
  208. <span style="display:inline-block;margin-left:15px;"
  209. >透后体重:
  210. {{
  211. record.assessment_after_dislysis.weight_after
  212. ? parseFloat(
  213. record.assessment_after_dislysis.weight_after
  214. ).toFixed(1)
  215. : "/"
  216. }}kg</span
  217. >
  218. </td>
  219. <td style="text-align:left;">
  220. <span style="display:inline-block;margin-left:15px;"
  221. >实际脱水量:
  222. {{record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:"0"}}
  223. </span>&nbsp;L
  224. </td>
  225. <td style="text-align:left;" colspan="2">
  226. <span style="display:inline-block;margin-left:15px;"
  227. >透析时间:
  228. {{
  229. record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_hour
  230. ? record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_hour
  231. : "0"
  232. }}小时{{
  233. record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
  234. ? record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
  235. : "0"
  236. }}分钟</span
  237. </span>&nbsp;L
  238. </td>
  239. <td style="text-align:left;" >
  240. <span style="display:inline-block;margin-left:15px;"
  241. >透析器型号:
  242. {{
  243. record.prescription.dialyzer_perfusion_apparatus
  244. ? record.prescription.dialyzer_perfusion_apparatus
  245. : "/"
  246. }}
  247. </span>&nbsp;L
  248. </td>
  249. <td style="text-align:left;" colspan="2">
  250. <span style="display:inline-block;margin-left:15px;"
  251. >置换方式:
  252. <label-box
  253. :isChecked="
  254. record.prescription.displace_liqui_part == 1 ? true : false
  255. "
  256. showValue="前"
  257. ></label-box
  258. >&nbsp;
  259. <label-box
  260. :isChecked="
  261. record.prescription.displace_liqui_part == 2 ? true : false
  262. "
  263. showValue="后"
  264. ></label-box>
  265. &nbsp; (总量:{{
  266. record.prescription.displace_liqui_value
  267. ? prescription.displace_liqui_value
  268. : "/"
  269. }}L)
  270. </span>&nbsp;
  271. </td>
  272. </tr>
  273. <tr>
  274. <td style="text-align:left;">
  275. <span style="display:inline-block;margin-left:15px;"
  276. >责任护士:
  277. <span
  278. v-if="
  279. setAdminUserES(
  280. record.dialysis_order,
  281. 'start_nurse'
  282. ) == ''
  283. "
  284. >{{
  285. getAdminUser(record.dialysis_order, "start_nurse")
  286. }}</span
  287. >
  288. <img
  289. class="es-img"
  290. :src="
  291. setAdminUserES(
  292. record.dialysis_order,
  293. 'start_nurse'
  294. )
  295. "
  296. alt=""
  297. srcset=""
  298. v-else
  299. style="height: 30px;"
  300. /></span>
  301. </td>
  302. <td style="text-align:left;">
  303. <span style="display:inline-block;margin-left:15px;"
  304. >上机护士:
  305. <span
  306. v-if="
  307. setAdminUserES(
  308. record.dialysis_order,
  309. 'start_nurse'
  310. ) == ''
  311. "
  312. >{{
  313. getAdminUser(record.dialysis_order, "start_nurse")
  314. }}</span
  315. >
  316. <img
  317. class="es-img"
  318. :src="
  319. setAdminUserES(
  320. record.dialysis_order,
  321. 'start_nurse'
  322. )
  323. "
  324. alt=""
  325. srcset=""
  326. v-else
  327. style="height: 30px;"
  328. />
  329. </span>
  330. </td>
  331. <td style="text-align:left;" colspan="3">
  332. <span style="display:inline-block;margin-left:15px;"
  333. >抗凝剂执行护士:
  334. <span
  335. v-if="
  336. setAdminUserES(
  337. record.dialysis_order,
  338. 'start_nurse'
  339. ) == ''
  340. "
  341. >{{
  342. getAdminUser(record.dialysis_order, "start_nurse")
  343. }}</span
  344. >
  345. <img
  346. class="es-img"
  347. :src="
  348. setAdminUserES(
  349. record.dialysis_order,
  350. 'start_nurse'
  351. )
  352. "
  353. alt=""
  354. srcset=""
  355. v-else
  356. style="height: 30px;"
  357. />
  358. </span>
  359. </td>
  360. <td style="text-align:left;" colspan="3">
  361. <span style="display:inline-block;margin-left:15px;"
  362. >医生签名:
  363. <span
  364. v-if="
  365. !record.advices ||
  366. typeof record.advices[0] == 'undefined' ||
  367. typeof record.advices[0][0] == 'undefined'
  368. "
  369. ></span>
  370. <span
  371. v-else-if="
  372. setAdminUserES(
  373. record.advices[0][0],
  374. 'advice_doctor'
  375. ) == ''
  376. "
  377. >{{
  378. getAdminUser(
  379. record.advices[0][0],
  380. "advice_doctor"
  381. )
  382. }}</span
  383. >
  384. <img
  385. class="es-img"
  386. :src="
  387. setAdminUserES(
  388. record.advices[0][0],
  389. 'advice_doctor'
  390. )
  391. "
  392. alt=""
  393. srcset=""
  394. v-else
  395. style="height: 30px;"
  396. /> </span
  397. >
  398. </td>
  399. </tr>
  400. <tr>
  401. <td style="text-align:left;" colspan="4">
  402. <span style="display:inline-block;margin-left:15px;">
  403. 透前评估:
  404. 入科方式:
  405. <label-box
  406. :isChecked="
  407. record.receive_assessment.way == 1 ? true : false
  408. "
  409. showValue="步行"
  410. ></label-box
  411. >&nbsp;
  412. <label-box
  413. :isChecked="
  414. record.receive_assessment.way == 2 ? true : false
  415. "
  416. showValue="扶行"
  417. ></label-box
  418. >&nbsp;
  419. <label-box
  420. :isChecked="
  421. record.receive_assessment.way == 3 ? true : false
  422. "
  423. showValue="轮椅"
  424. ></label-box
  425. >&nbsp;
  426. <label-box
  427. :isChecked="
  428. record.receive_assessment.way == 4 ? true : false
  429. "
  430. showValue="平车"
  431. ></label-box
  432. >&nbsp;
  433. </span>
  434. </td>
  435. <td style="text-align:left;" colspan="4">
  436. <span style="display:inline-block;margin-left:15px;">
  437. 意识:
  438. <label-box
  439. :isChecked="
  440. record.receive_assessment.consciousness == 1
  441. ? true
  442. : false
  443. "
  444. showValue="清醒"
  445. ></label-box
  446. >&nbsp;
  447. <label-box
  448. :isChecked="
  449. record.receive_assessment.consciousness == 2
  450. ? true
  451. : false
  452. "
  453. showValue="嗜睡"
  454. ></label-box
  455. >&nbsp;
  456. <label-box
  457. :isChecked="
  458. record.receive_assessment.consciousness == 4
  459. ? true
  460. : false
  461. "
  462. showValue="模糊"
  463. ></label-box
  464. >&nbsp;
  465. <label-box
  466. :isChecked="
  467. record.receive_assessment.consciousness == 3
  468. ? true
  469. : false
  470. "
  471. showValue="昏迷"
  472. ></label-box
  473. >&nbsp;
  474. </span>
  475. </td>
  476. </tr>
  477. <tr>
  478. <td colspan="2" style="text-align:left;">
  479. <span style="display:inline-block;margin-left:15px;">食欲:</span>
  480. <label-box
  481. :isChecked="record.receive_assessment.appetite == 1 ? true : false"
  482. showValue="正常"
  483. ></label-box
  484. >&nbsp;
  485. <label-box
  486. :isChecked="record.receive_assessment.appetite == 2 ? true : false"
  487. showValue="减退"
  488. ></label-box
  489. >&nbsp;
  490. <label-box
  491. :isChecked="record.receive_assessment.appetite == 3 ? true : false"
  492. showValue="恶心"
  493. ></label-box
  494. >&nbsp;
  495. <label-box
  496. :isChecked="record.receive_assessment.appetite == 4 ? true : false"
  497. showValue="呕吐"
  498. ></label-box
  499. >&nbsp;
  500. <label-box
  501. :isChecked="record.receive_assessment.appetite == 5 ? true : false"
  502. showValue="腹泻"
  503. ></label-box
  504. >&nbsp;
  505. </td>
  506. <td colspan="2">
  507. <span>体温: {{record.assessment_before_dislysis.temperature?record.assessment_before_dislysis.temperature:"0"}} ℃</span>
  508. </td>
  509. <td colspan="3" style="text-align:left;">
  510. <span style="display:inline-block;margin-left:15px;">体位:
  511. <label-box
  512. v-for="(item, index) in posture_arr"
  513. :key="index"
  514. :isChecked="
  515. record.receive_assessment.posture == item.id ? true : false
  516. "
  517. :showValue="item.name"
  518. ></label-box>
  519. <label-box
  520. :isChecked="record.receive_assessment.posture == 1 ? true : false"
  521. showValue="自动体位"
  522. ></label-box
  523. >&nbsp;
  524. <label-box
  525. :isChecked="record.receive_assessment.posture == 2 ? true : false"
  526. showValue="平卧位"
  527. ></label-box
  528. >&nbsp;
  529. <label-box
  530. :isChecked="record.receive_assessment.posture == 3 ? true : false"
  531. showValue="半卧位"
  532. ></label-box
  533. >&nbsp;
  534. <label-box
  535. :isChecked="record.receive_assessment.posture == 4 ? true : false"
  536. showValue="端坐位"
  537. ></label-box
  538. >&nbsp;
  539. <label-box
  540. :isChecked="record.receive_assessment.posture == 5 ? true : false"
  541. showValue="躁动不安"
  542. ></label-box
  543. >&nbsp;
  544. </span>
  545. </td>
  546. </tr>
  547. <tr>
  548. <td colspan="8" style="text-align:left;">
  549. <span style="display:inline-block;margin-left:15px;"
  550. > 血管通路:内瘘波动及震颤:
  551. (&nbsp;
  552. <label-box
  553. v-for="(item, index) in arr"
  554. :key="index"
  555. :isChecked="
  556. record.assessment_before_dislysis.blood_access_part_opera_id == item.id
  557. ? true
  558. : false
  559. "
  560. :showValue="item.name"
  561. ></label-box
  562. >)
  563. <label-box
  564. v-for="(item, index) in arrtwo"
  565. :key="index"
  566. :isChecked="
  567. record.assessment_before_dislysis.blood_access_part_opera_id == item.id
  568. ? true
  569. : false
  570. "
  571. :showValue="item.name"
  572. ></label-box>
  573. </span>
  574. </td>
  575. </tr>
  576. <tr>
  577. <td colspan="8" style="text-align:left;">
  578. <span style="display:inline-block;margin-left:15px;">中心静脉导管:
  579. (部位:{{ getPartName(record.assessment_before_dislysis.blood_access_part_id) }})
  580. <label-box
  581. showValue="长期"
  582. :isChecked="
  583. record.assessment_before_dislysis.venous_catheterization == 1 ? true : false
  584. "
  585. ></label-box>
  586. <label-box
  587. showValue="临时"
  588. :isChecked="
  589. record.assessment_before_dislysis.venous_catheterization == 2 ? true : false
  590. "
  591. ></label-box>
  592. &nbsp;&nbsp; 感染:
  593. <label-box
  594. showValue="有"
  595. :isChecked="
  596. record.assessment_before_dislysis.catheter.indexOf('感染-有') > -1 ? true : false
  597. "
  598. ></label-box>
  599. <label-box
  600. showValue="无"
  601. :isChecked="
  602. record.assessment_before_dislysis.catheter.indexOf('感染-无') > -1 ? true : false
  603. "
  604. ></label-box>
  605. &nbsp;&nbsp;流畅度:
  606. <label-box
  607. showValue="好"
  608. :isChecked="
  609. record.assessment_before_dislysis.catheter.indexOf('流畅度-好') > -1 ? true : false
  610. "
  611. ></label-box>
  612. <label-box
  613. showValue="差"
  614. :isChecked="
  615. record.assessment_before_dislysis.catheter.indexOf('流畅度-差') > -1 ? true : false
  616. "
  617. ></label-box>
  618. &nbsp;&nbsp;溶栓:
  619. <label-box
  620. showValue="有"
  621. :isChecked="
  622. record.assessment_before_dislysis.catheter.indexOf('溶栓-有') > -1 ? true : false
  623. "
  624. ></label-box>
  625. <label-box
  626. showValue="无"
  627. :isChecked="
  628. record.assessment_before_dislysis.catheter.indexOf('溶栓-无') > -1 ? true : false
  629. "
  630. ></label-box>
  631. &nbsp;&nbsp;外露:{{ record.assessment_before_dislysis.exposed }}cm
  632. </span>
  633. </td>
  634. </tr>
  635. <tr>
  636. <td style="text-align:left;" colspan="8" >
  637. <span style="display:inline-block;margin-left:15px;">血管通路皮肤情况:
  638. <label-box
  639. :isChecked="
  640. record.assessment_before_dislysis.internal_fistula_skin.indexOf('正常') > -1
  641. ? true
  642. : false
  643. "
  644. showValue="正常"
  645. ></label-box
  646. >&nbsp;
  647. <label-box
  648. :isChecked="
  649. record.assessment_before_dislysis.internal_fistula_skin.indexOf('淤血') > -1
  650. ? true
  651. : false
  652. "
  653. showValue="淤血"
  654. ></label-box
  655. >&nbsp;
  656. <label-box
  657. :isChecked="
  658. record.assessment_before_dislysis.internal_fistula_skin.indexOf('红') > -1
  659. ? true
  660. : false
  661. "
  662. showValue="红"
  663. ></label-box
  664. >&nbsp;
  665. <label-box
  666. :isChecked="
  667. record.assessment_before_dislysis.internal_fistula_skin.indexOf('肿') > -1
  668. ? true
  669. : false
  670. "
  671. showValue="肿"
  672. ></label-box>
  673. </span>
  674. </td>
  675. </tr>
  676. <tr>
  677. <td style="text-align:left;" colspan="8">
  678. <span style="display:inline-block;margin-left:15px;">皮肤:</span>
  679. <label-box
  680. showValue="完整"
  681. :isChecked="record.assessment_before_dislysis.skin == 1 ? true : false"
  682. ></label-box>
  683. <label-box
  684. showValue="干燥"
  685. :isChecked="record.assessment_before_dislysis.skin == 2 ? true : false"
  686. ></label-box>
  687. <label-box
  688. showValue="瘙痒"
  689. :isChecked="record.assessment_before_dislysis.skin == 3 ? true : false"
  690. ></label-box>
  691. <label-box
  692. showValue="菲薄"
  693. :isChecked="record.assessment_before_dislysis.skin == 4 ? true : false"
  694. ></label-box
  695. >/
  696. <label-box
  697. showValue="水肿"
  698. :isChecked="record.assessment_before_dislysis.skin == 5 ? true : false"
  699. ></label-box>
  700. <label-box
  701. showValue="皮疹"
  702. :isChecked="record.assessment_before_dislysis.skin == 6 ? true : false"
  703. ></label-box>
  704. <label-box
  705. showValue="出血点"
  706. :isChecked="record.assessment_before_dislysis.skin == 7 ? true : false"
  707. ></label-box>
  708. <label-box
  709. showValue="压疮"
  710. :isChecked="record.assessment_before_dislysis.skin == 8 ? true : false"
  711. ></label-box>
  712. <label-box
  713. showValue="皮下淤血"
  714. :isChecked="record.assessment_before_dislysis.skin == 9 ? true : false"
  715. ></label-box>
  716. </td>
  717. </tr>
  718. <tr>
  719. <td style="text-align:left;" colspan="8">
  720. <span style="display:inline-block;margin-left:15px;">出血影响因素:</span>
  721. <label-box
  722. showValue="无"
  723. :isChecked="record.assessment_before_dislysis.is_hemorrhage == 2 ? true : false"
  724. ></label-box>
  725. <label-box
  726. showValue="异常"
  727. :isChecked="record.assessment_before_dislysis.is_hemorrhage == 1 ? true : false"
  728. ></label-box
  729. >&nbsp;
  730. <label-box
  731. showValue="穿刺点渗血"
  732. :isChecked="
  733. record.assessment_before_dislysis.is_hemorrhage == 1 &&
  734. record.assessment_before_dislysis.hemorrhage.indexOf('穿刺点渗血') > -1
  735. ? true
  736. : false
  737. "
  738. ></label-box>
  739. <label-box
  740. showValue="牙龈出血"
  741. :isChecked="
  742. record.assessment_before_dislysis.is_hemorrhage == 1 &&
  743. record.assessment_before_dislysis.hemorrhage.indexOf('牙龈出血') > -1
  744. ? true
  745. : false
  746. "
  747. ></label-box>
  748. <label-box
  749. showValue="消化道出血"
  750. :isChecked="
  751. record.assessment_before_dislysis.is_hemorrhage == 1 &&
  752. record.assessment_before_dislysis.hemorrhage.indexOf('消化道出血') > -1
  753. ? true
  754. : false
  755. "
  756. ></label-box>
  757. <label-box
  758. showValue="女性经期"
  759. :isChecked="
  760. record.assessment_before_dislysis.is_hemorrhage == 1 &&
  761. record.assessment_before_dislysis.hemorrhage.indexOf('女性经期') > -1
  762. ? true
  763. : false
  764. "
  765. ></label-box
  766. >&nbsp;&nbsp;其他:
  767. <span>{{ record.assessment_before_dislysis.hemorrhage_other }}</span>
  768. </td>
  769. </tr>
  770. <tr>
  771. <td style="text-align:left;" colspan="8">
  772. <span style="display:inline-block;margin-left:15px;">使用特殊药物:</span>
  773. <label-box
  774. :isChecked="record.prescription.special_medicine == 1 ? true : false"
  775. showValue="无"
  776. ></label-box>
  777. <label-box
  778. :isChecked="record.prescription.special_medicine == 2 ? true : false"
  779. showValue="有"
  780. ></label-box
  781. >:
  782. <label-box
  783. :isChecked="record.prescription.special_medicine == 3 ? true : false"
  784. showValue="降压药"
  785. ></label-box>
  786. <label-box
  787. :isChecked="record.prescription.special_medicine == 4 ? true : false"
  788. showValue="抗凝药"
  789. ></label-box>
  790. 其他:{{ record.prescription.special_medicine_other }}
  791. </td>
  792. </tr>
  793. <tr>
  794. <td style="text-align:left;" colspan="8">
  795. <span style="display:inline-block;margin-left:15px;">跌倒风险:</span>
  796. <label-box
  797. showValue="无"
  798. :isChecked="
  799. record.receive_assessment.danger_level == 1 ? true : false
  800. "
  801. ></label-box>
  802. <label-box
  803. showValue="低风险"
  804. :isChecked="
  805. record.receive_assessment.danger_level == 2 ? true : false
  806. "
  807. ></label-box>
  808. <label-box
  809. showValue="中度风险"
  810. :isChecked="
  811. record.receive_assessment.danger_level == 3 ? true : false
  812. "
  813. ></label-box>
  814. <label-box
  815. showValue="高风险"
  816. :isChecked="
  817. record.receive_assessment.danger_level == 4 ? true : false
  818. "
  819. >
  820. </label-box>
  821. 跌倒风险预防措施:
  822. <label-box
  823. showValue="镇定剂"
  824. :isChecked="
  825. record.receive_assessment.precaution.indexOf('镇定剂') > -1
  826. ? true
  827. : false
  828. "
  829. ></label-box>
  830. <label-box
  831. showValue="约束带"
  832. :isChecked="
  833. record.receive_assessment.precaution.indexOf('约束带') > -1
  834. ? true
  835. : false
  836. "
  837. ></label-box>
  838. <label-box
  839. showValue="床栏"
  840. :isChecked="
  841. record.receive_assessment.precaution.indexOf('床栏') > -1
  842. ? true
  843. : false
  844. "
  845. ></label-box>
  846. <label-box
  847. showValue="加强宣教"
  848. :isChecked="
  849. record.receive_assessment.precaution.indexOf('加强宣教') > -1
  850. ? true
  851. : false
  852. "
  853. ></label-box>
  854. </td>
  855. </tr>
  856. </table>
  857. <table class="print-table" border="1">
  858. <tr>
  859. <th style="min-width:60px"><p style="height:20px;line-height:20px">时间</p><p style="height:20px;line-height:20px"></p></th>
  860. <th style="min-width:60px"><p style="height:20px;line-height:20px">血压</p><p style="height:20px;line-height:20px">(mmHg)</p></th>
  861. <th style="min-width:60px"><p style="height:20px;line-height:20px">心率</p><p style="height:20px;line-height:20px">次/分</p></th>
  862. <th style="min-width:60px"><p style="height:20px;line-height:20px">血流量</p><p style="height:20px;line-height:20px">ml/min</p></th>
  863. <th style="min-width:60px"><p style="height:20px;line-height:20px">静脉压</p><p style="height:20px;line-height:20px">(mmHg)</p></th>
  864. <th style="min-width:60px"><p style="height:20px;line-height:20px">跨膜压</p><p style="height:20px;line-height:20px">(mmHg)</p></th>
  865. <th style="min-width:60px"><p style="height:20px;line-height:20px">超滤率</p><p style="height:20px;line-height:20px">L/h</p></th>
  866. <th style="min-width:60px"><p style="height:20px;line-height:20px">超滤量</p><p style="height:20px;line-height:20px">L</p></th>
  867. <th style="min-width:60px"><p style="height:20px;line-height:20px">NA⁺</p><p style="height:20px;line-height:20px"></p></th>
  868. <th style="min-width:60px"><p style="height:20px;line-height:20px">病情变化及处理</p></th>
  869. <th style="min-width:110px" colspan="2"><p style="height:20px;line-height:20px">护士签名核对者</p></th>
  870. </tr>
  871. <tr v-for="(monitor,monitor_index) in record.monitor_records" :key="monitor_index">
  872. <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
  873. <td>{{
  874. monitor.systolic_blood_pressure
  875. ? monitor.systolic_blood_pressure + "/"
  876. : ""
  877. }}{{
  878. monitor.diastolic_blood_pressure
  879. ? monitor.diastolic_blood_pressure
  880. : ""
  881. }}</td>
  882. <td>{{monitor.pulse_frequency}}</td>
  883. <td>{{monitor.blood_flow_volume}}</td>
  884. <td>{{monitor.venous_pressure}}</td>
  885. <td>{{monitor.transmembrane_pressure}}</td>
  886. <td>{{monitor.ultrafiltration_rate}}</td>
  887. <td>{{monitor.ultrafiltration_volume}}</td>
  888. <td>{{monitor.sodium_concentration}}</td>
  889. <td> {{ monitor.symptom }} &nbsp;{{ monitor.result }}</td>
  890. <td colspan="2">
  891. <span v-show="showOne">{{getName(monitor.monitoring_nurse)}}</span>
  892. <span v-show="showTwo"><img :src="getName(monitor.monitoring_nurse)" style="height:30px"></span>
  893. </td>
  894. </tr>
  895. <tr>
  896. <td style="text-align:left;" colspan="12">
  897. <span style="display:inline-block;margin-left:15px;">透析护理记录:{{record.summer && record.summer.nursing_record? record.summer.nursing_record: '/'}}</span>
  898. </td>
  899. </tr>
  900. <tr>
  901. <td style="text-align:left;" colspan="12">
  902. <span style="display:inline-block;margin-left:15px;">透后评估:
  903. 透析过程:
  904. <label-box
  905. showValue="完成"
  906. :isChecked="record.assessment_after_dislysis.dialysis_process == 1 ? true : false"
  907. ></label-box>
  908. <label-box
  909. showValue="提前"
  910. :isChecked="record.assessment_after_dislysis.dialysis_process == 2 ? true : false"
  911. ></label-box>
  912. &nbsp;&nbsp;
  913. 并发症:
  914. <label-box
  915. :isChecked="
  916. record.assessment_after_dislysis.complication.indexOf('低血压') > -1
  917. ? true
  918. : false
  919. "
  920. showValue="低血压"
  921. ></label-box>
  922. <label-box
  923. :isChecked="
  924. record.assessment_after_dislysis.complication.indexOf('高血压') > -1
  925. ? true
  926. : false
  927. "
  928. showValue="高血压"
  929. ></label-box>
  930. <label-box
  931. :isChecked="
  932. record.assessment_after_dislysis.complication.indexOf('心律失常') > -1
  933. ? true
  934. : false
  935. "
  936. showValue="心律失常"
  937. ></label-box>
  938. <label-box
  939. :isChecked="
  940. record.assessment_after_dislysis.complication.indexOf('头晕') > -1
  941. ? true
  942. : false
  943. "
  944. showValue="头晕"
  945. ></label-box>
  946. <label-box
  947. :isChecked="
  948. record.assessment_after_dislysis.complication.indexOf('头痛') > -1
  949. ? true
  950. : false
  951. "
  952. showValue="头痛"
  953. ></label-box>
  954. <label-box
  955. :isChecked="
  956. record.assessment_after_dislysis.complication.indexOf('呕吐') > -1
  957. ? true
  958. : false
  959. "
  960. showValue="呕吐"
  961. ></label-box>
  962. <label-box
  963. :isChecked="
  964. record.assessment_after_dislysis.complication.indexOf('抽搐') > -1
  965. ? true
  966. : false
  967. "
  968. showValue="抽搐"
  969. ></label-box>
  970. <label-box
  971. :isChecked="
  972. record.assessment_after_dislysis.complication.indexOf('出血') > -1
  973. ? true
  974. : false
  975. "
  976. showValue="出血"
  977. ></label-box>
  978. <label-box
  979. :isChecked="
  980. record.assessment_after_dislysis.complication.indexOf('心衰') > -1
  981. ? true
  982. : false
  983. "
  984. showValue="心衰"
  985. ></label-box>
  986. <label-box
  987. :isChecked="
  988. record.assessment_after_dislysis.complication.indexOf('腹痛') > -1
  989. ? true
  990. : false
  991. "
  992. showValue="腹痛"
  993. ></label-box>
  994. <label-box
  995. :isChecked="
  996. record.assessment_after_dislysis.complication.indexOf('无') > -1
  997. ? true
  998. : false
  999. "
  1000. showValue="无"
  1001. ></label-box>
  1002. </span>
  1003. </td>
  1004. </tr>
  1005. <tr>
  1006. <td style="text-align:left;" colspan="2">
  1007. <span style="margin-left:15px">实际置换量:</span>{{ record.assessment_after_dislysis.actual_displacement }} L
  1008. </td>
  1009. <td style="text-align:left;" colspan="10">
  1010. <span style="display:inline-block;margin-left:15px;">内瘘搏动及震颤音:
  1011. <label-box
  1012. showValue="存在"
  1013. :isChecked="
  1014. record.assessment_after_dislysis.internal_fistula.indexOf('震颤-存在') > -1
  1015. ? true
  1016. : false
  1017. "
  1018. ></label-box>
  1019. <label-box
  1020. showValue="减弱"
  1021. :isChecked="
  1022. record.assessment_after_dislysis.internal_fistula.indexOf('震颤-减弱') > -1
  1023. ? true
  1024. : false
  1025. "
  1026. ></label-box>
  1027. <label-box
  1028. showValue="不存在"
  1029. :isChecked="
  1030. record.assessment_after_dislysis.internal_fistula.indexOf('震颤-无') > -1
  1031. ? true
  1032. : false
  1033. "
  1034. ></label-box>
  1035. </span>&nbsp;
  1036. <span>透析器及管路凝血情况:
  1037. <label-box
  1038. showValue="0级"
  1039. :isChecked="record.assessment_after_dislysis.cruor.indexOf('透析器-0度') > -1"
  1040. ></label-box>
  1041. <label-box
  1042. showValue="1级"
  1043. :isChecked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅰ度') > -1"
  1044. ></label-box>
  1045. <label-box
  1046. showValue="2级"
  1047. :isChecked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅱ度') > -1"
  1048. ></label-box>
  1049. <label-box
  1050. showValue="3级"
  1051. :isChecked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅲ度') > -1"
  1052. ></label-box>
  1053. </span>
  1054. </td>
  1055. </tr>
  1056. <tr>
  1057. <td style="text-align:left;" colspan="11">
  1058. <span style="display:inline-block;margin-left:15px;">
  1059. 透析中进食:
  1060. <check-box text="无" :checked="record.assessment_after_dislysis.dialysis_intakes == 0?true:false"></check-box>
  1061. <check-box text="有" :checked="record.assessment_after_dislysis.dialysis_intakes > 0?true:false"></check-box>
  1062. </span>&nbsp;&nbsp;
  1063. <span>
  1064. 患者去向:
  1065. <check-box text="离院" :checked="record.assessment_after_dislysis.patient_gose==1?true:false"></check-box>
  1066. <check-box text="留观" :checked="record.assessment_after_dislysis.patient_gose==2?true:false"></check-box>
  1067. <check-box text="住院" :checked="record.assessment_after_dislysis.patient_gose==3?true:false"></check-box>
  1068. </span>
  1069. </td>
  1070. <td style="text-align:left;" >
  1071. <span>下机护士:
  1072. <span v-if="setAdminUserES(record.dialysis_order, 'finish_nurse') == ''">{{getAdminUser(record.dialysis_order, 'finish_nurse')}}</span>
  1073. <img class="es-img" :src="setAdminUserES(record.dialysis_order, 'finish_nurse')" alt=""
  1074. srcset="" v-else style="height: 30px;">
  1075. </span>
  1076. </td>
  1077. </tr>
  1078. </table>
  1079. <table class="print-table" border="1">
  1080. <tr>
  1081. <th>时间</th>
  1082. <th>医生</th>
  1083. <th>临时医嘱</th>
  1084. <th>执行者</th>
  1085. <th>执行时间</th>
  1086. <th>核对者</th>
  1087. </tr>
  1088. <tr v-for="(advice, advice_index) in record.advices" :key="advice_index">
  1089. <td style="height:30px;line-height:30px">{{ getTime(advice[0].start_time, "{h}:{i}") }}</td>
  1090. <td> <span
  1091. v-if="
  1092. setAdminUserES(advice[0], 'advice_doctor') ==
  1093. ''
  1094. "
  1095. >{{
  1096. getAdminUser(advice[0], "advice_doctor")
  1097. }}</span
  1098. >
  1099. <img
  1100. class="es-img"
  1101. :src="
  1102. setAdminUserES(advice[0], 'advice_doctor')
  1103. "
  1104. alt=""
  1105. srcset=""
  1106. v-else
  1107. style="height: 20px;"
  1108. /></td>
  1109. <td style="text-align:left;padding-left:20px"> <span v-if="advice[0].parent_id > 0">└</span>
  1110. <span>{{ advice[0].advice_name }}</span>
  1111. <span
  1112. >{{ advice[0].advice_desc
  1113. }}{{ advice[0].drug_spec_unit }}</span
  1114. >
  1115. <span v-if="advice[0].prescribing_number"
  1116. >* {{ advice[0].prescribing_number
  1117. }}{{ advice[0].prescribing_number_unit }}</span
  1118. >
  1119. <span v-if="advice[0].single_dose != 0"
  1120. >{{ advice[0].single_dose
  1121. }}{{ advice[0].single_dose_unit }}</span
  1122. >
  1123. <span>{{ advice[0].delivery_way }}</span>
  1124. <span>{{ advice[0].execution_frequency }}</span>
  1125. </td>
  1126. <td>
  1127. <span
  1128. v-if="
  1129. setAdminUserES(advice[0], 'execution_staff') ==
  1130. ''
  1131. "
  1132. >{{
  1133. getAdminUser(advice[0], "execution_staff")
  1134. }}</span
  1135. >
  1136. <img
  1137. class="es-img"
  1138. :src="
  1139. setAdminUserES(advice[0], 'execution_staff')
  1140. "
  1141. alt=""
  1142. srcset=""
  1143. v-else
  1144. style="height: 20px;"
  1145. />
  1146. </td>
  1147. <td>{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</td>
  1148. <td>
  1149. <span
  1150. v-if="setAdminUserES(advice[0], 'checker') == ''"
  1151. >{{ getAdminUser(advice[0], "checker") }}</span
  1152. >
  1153. <img
  1154. class="es-img"
  1155. :src="setAdminUserES(advice[0], 'checker')"
  1156. alt=""
  1157. srcset=""
  1158. v-else
  1159. style="height: 20px;"
  1160. /></span>
  1161. </td>
  1162. </tr>
  1163. <tr>
  1164. <td style="text-align:left;" colspan="6">
  1165. <span style="margin-left:15px">特殊记录:{{record.summer && record.summer.special_record? record.summer.special_record: '/'}}</span>
  1166. </td>
  1167. </tr>
  1168. <tr>
  1169. <td style="text-align:left;margin-left:15px" colspan="6">
  1170. <span style="margin-left:15px">质控护士签名:
  1171. </span>
  1172. </td>
  1173. </tr>
  1174. </table>
  1175. <div style="margin-top:20px">
  1176. <span style="margin-left:280px">肝素浓度:每毫升肝素生理盐水含肝素钠2.5毫克</span>
  1177. </div>
  1178. </div>
  1179. </div>
  1180. </div>
  1181. </div>
  1182. </div>
  1183. </div>
  1184. </template>
  1185. <script>
  1186. import CheckBox from './option_check_box'
  1187. import LabelBox from '../printItem/LabelBox'
  1188. import {
  1189. GetBatchPrintDialysisData,
  1190. getLastAfterWeight
  1191. } from '@/api/print_data'
  1192. import { jsGetAge, uParseTime } from '@/utils/tools'
  1193. import { getDataConfig } from '@/utils/data'
  1194. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  1195. import print from 'print-js'
  1196. export default {
  1197. name: 'BatchPrintOrderSeven',
  1198. components: {
  1199. CheckBox,
  1200. BreadCrumb,
  1201. LabelBox
  1202. },
  1203. data() {
  1204. return {
  1205. crumbs: [
  1206. { path: false, name: '透析管理' },
  1207. { path: false, name: '批量打印' }
  1208. ],
  1209. records: [
  1210. // 模拟有多条数据
  1211. // {
  1212. // monitor_records: [ {},{},{},{},{},{},{},{},{},{},{}, ],
  1213. // advices: [ {},{},{},{},{},{},{}, ],
  1214. // },
  1215. // {
  1216. // monitor_records: [],
  1217. // advices: [],
  1218. // },
  1219. ],
  1220. queryParams: {
  1221. xtdate: '',
  1222. xtno: ''
  1223. },
  1224. loading: false,
  1225. orgname: '',
  1226. bloodAccessParOpera: {},
  1227. anticoagulantsConfit: {},
  1228. dialysateFormulationOptions: {},
  1229. operatorMaps: {},
  1230. operators: [],
  1231. adminUser: [],
  1232. adminSign: [],
  1233. doctor_advices: [],
  1234. monitor_records: [],
  1235. advice_groups: [],
  1236. advice_groups_2: [],
  1237. blood_access_part: [],
  1238. posture_arr: [],
  1239. complications: [
  1240. '低血压',
  1241. '高血压',
  1242. '心律失常',
  1243. '头晕',
  1244. '头痛',
  1245. '呕吐',
  1246. '抽搐',
  1247. '出血',
  1248. '心衰',
  1249. '腹痛'
  1250. ],
  1251. allName: [],
  1252. NameStatus: 0,
  1253. advices: [],
  1254. docotorId: '',
  1255. lastAfterWeight: '',
  1256. appetite_arr: [],
  1257. precaution_arr: [],
  1258. showOne: false,
  1259. showTwo: false,
  1260. arr:[],
  1261. arrtwo:[],
  1262. bloodAccess: []
  1263. }
  1264. },
  1265. created() {
  1266. var xtuser = this.$store.getters.xt_user
  1267. // console.log('xtuser', xtuser)
  1268. this.orgname = xtuser.org.org_name
  1269. // this.orgname = "遂溪方济医院";
  1270. this.modeOptions = this.$store.getters.treatment_mode
  1271. // this.replacementWays = this.$store.getters.replacement_ways;
  1272. // this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  1273. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1274. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  1275. var bloodAccessParOpera = getDataConfig(
  1276. 'hemodialysis',
  1277. 'vascular_access_desc'
  1278. )
  1279. console.log("血管通路",bloodAccessParOpera)
  1280. var arr = [];
  1281. var arrtwo = [];
  1282. for (let i = 0; i < bloodAccessParOpera.length; i++) {
  1283. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-存在") {
  1284. bloodAccessParOpera[i].name = "存在";
  1285. arr.push(bloodAccessParOpera[i]);
  1286. }
  1287. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-减弱") {
  1288. bloodAccessParOpera[i].name = "减弱";
  1289. arr.push(bloodAccessParOpera[i]);
  1290. }
  1291. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-消失") {
  1292. bloodAccessParOpera[i].name = "消失";
  1293. arr.push(bloodAccessParOpera[i]);
  1294. }
  1295. if (bloodAccessParOpera[i].name == "直穿") {
  1296. arrtwo.push(bloodAccessParOpera[i]);
  1297. }
  1298. if (bloodAccessParOpera[i].name == "人造血管") {
  1299. arrtwo.push(bloodAccessParOpera[i]);
  1300. }
  1301. if (bloodAccessParOpera[i].name == "移植血管") {
  1302. arrtwo.push(bloodAccessParOpera[i]);
  1303. }
  1304. this.arr = arr;
  1305. this.arrtwo = arrtwo;
  1306. this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
  1307. var dialysateFormulationOptions = getDataConfig(
  1308. 'hemodialysis',
  1309. 'dialysate_formulation'
  1310. )
  1311. for (var key in dialysateFormulationOptions) {
  1312. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1313. dialysateFormulationOptions[key]
  1314. }
  1315. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  1316. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  1317. var bloodAccess = getDataConfig("hemodialysis", "vascular_access");
  1318. this.bloodAccess = bloodAccess;
  1319. }
  1320. },
  1321. mounted() {
  1322. this.loading = true
  1323. var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids
  1324. if (ids.length == 0) {
  1325. this.$router.back(-1)
  1326. return
  1327. }
  1328. GetBatchPrintDialysisData(ids.join(','))
  1329. .then(rs => {
  1330. var resp = rs.data
  1331. if (resp.state == 1) {
  1332. this.org_template_info = resp.data.templateInfo
  1333. this.records = this.records.concat(resp.data.schedules)
  1334. console.log('记录', this.records)
  1335. for (const recordIndex in this.records) {
  1336. var dlegh = 0
  1337. if (
  1338. this.records[recordIndex].monitor_records &&
  1339. this.records[recordIndex].monitor_records.length < 8
  1340. ) {
  1341. dlegh = 8 - this.records[recordIndex].monitor_records.length
  1342. } else {
  1343. dlegh = 0
  1344. }
  1345. if (dlegh > 0) {
  1346. if (
  1347. typeof this.records[recordIndex].monitor_records ===
  1348. 'undefined' ||
  1349. this.records[recordIndex].monitor_records == null
  1350. ) {
  1351. this.records[recordIndex].monitor_records = []
  1352. }
  1353. for (let index = 0; index < dlegh; index++) {
  1354. this.records[recordIndex].monitor_records.push([])
  1355. }
  1356. }
  1357. this.records[recordIndex].isShowZero = false
  1358. if (this.records[recordIndex].patient.user_org_id == 9535) {
  1359. this.records[recordIndex].isShowZero = true
  1360. }
  1361. var delghTwo = 0
  1362. if (this.records[recordIndex].advices && this.records[recordIndex].advices.length < 14) {
  1363. delghTwo = 14 - this.records[recordIndex].advices.length
  1364. } else {
  1365. delghTwo = 0
  1366. }
  1367. if (delghTwo > 0) {
  1368. if (typeof this.records[recordIndex].advices === 'undefined' || this.records[recordIndex].advices == null) {
  1369. this.records[recordIndex].advices = []
  1370. }
  1371. for (let index = 0; index < delghTwo; index++) {
  1372. this.records[recordIndex].advices.push([])
  1373. }
  1374. }
  1375. var childMap = {}
  1376. for (const index in this.records[recordIndex].advices) {
  1377. if (this.records[recordIndex].advices[index].parent_id == 0) {
  1378. continue
  1379. }
  1380. if (
  1381. !(
  1382. this.records[recordIndex].advices[index].parent_id in childMap
  1383. )
  1384. ) {
  1385. childMap[
  1386. this.records[recordIndex].advices[index].parent_id
  1387. ] = []
  1388. }
  1389. childMap[this.records[recordIndex].advices[index].parent_id].push(
  1390. this.records[recordIndex].advices[index]
  1391. )
  1392. }
  1393. var advices = []
  1394. for (const index in this.records[recordIndex].advices) {
  1395. if (this.records[recordIndex].advices[index].parent_id > 0) {
  1396. continue
  1397. }
  1398. var item = this.records[recordIndex].advices[index]
  1399. if (item.id in childMap) {
  1400. item.children = childMap[item.id]
  1401. } else {
  1402. item.children = []
  1403. }
  1404. advices.push(item)
  1405. }
  1406. var leftAdvice = []
  1407. var rightAdvice = []
  1408. var adlen = advices.length
  1409. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1410. for (var i = 0; i < halfLen; i++) {
  1411. leftAdvice.push(advices[i])
  1412. var rightIndex = i + halfLen
  1413. rightAdvice.push(
  1414. rightIndex in advices ? advices[i + halfLen] : []
  1415. )
  1416. }
  1417. if (halfLen < 5) {
  1418. var nl = 5 - leftAdvice.length
  1419. for (let index = 0; index < nl; index++) {
  1420. leftAdvice.push([])
  1421. }
  1422. var nl = 5 - rightAdvice.length
  1423. for (let index = 0; index < nl; index++) {
  1424. rightAdvice.push([])
  1425. }
  1426. }
  1427. this.records[recordIndex].advices = []
  1428. for (var i = 0; i < halfLen; i++) {
  1429. var item = []
  1430. item.push(leftAdvice[i])
  1431. item.push(rightAdvice[i])
  1432. this.records[recordIndex].advices.push(item)
  1433. }
  1434. }
  1435. console.log(' this.records[recordIndex].advices', this.records)
  1436. this.operators = resp.data.medical_staffs
  1437. if (this.operators.length > 0) {
  1438. var operatorsLen = this.operators.length
  1439. for (var index = 0; index < operatorsLen; index++) {
  1440. this.$set(
  1441. this.operatorMaps,
  1442. this.operators[index].id,
  1443. this.operators[index]
  1444. )
  1445. }
  1446. }
  1447. this.adminUser = resp.data.users
  1448. console.log('adminUser', this.adminUser)
  1449. var name = resp.data.name
  1450. this.adminSign = name
  1451. console.log('name是', name)
  1452. this.loading = false
  1453. } else {
  1454. this.loading = false
  1455. this.$message.error(resp.msg)
  1456. }
  1457. })
  1458. .catch(err => {
  1459. this.$message.error(err)
  1460. })
  1461. },
  1462. methods: {
  1463. getUnit: function(val) {
  1464. if (val.assessment_after_dislysis == null) {
  1465. return ''
  1466. } else if (val.assessment_after_dislysis != null) {
  1467. switch (val.assessment_after_dislysis.dialysis_intakes_unit) {
  1468. case 1:
  1469. return 'g'
  1470. break
  1471. case 2:
  1472. return 'ml'
  1473. break
  1474. }
  1475. }
  1476. },
  1477. QueryPartById: function(val) {
  1478. let vascular_access_part_name = '/'
  1479. const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  1480. for (let i = 0; i < vascular_access.length; i++) {
  1481. if (vascular_access[i].id == val) {
  1482. vascular_access_part_name = vascular_access[i].name
  1483. }
  1484. }
  1485. return vascular_access_part_name
  1486. },
  1487. printThisPage() {
  1488. var ptime = Math.round(new Date().getTime() / 1000)
  1489. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1490. const style =
  1491. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
  1492. const style2 =
  1493. '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
  1494. printJS({
  1495. printable: 'print_content',
  1496. type: 'html',
  1497. documentTitle: ' ',
  1498. style: style,
  1499. scanStyles: false
  1500. })
  1501. },
  1502. complicationsOther: function(record) {
  1503. if (record == null || typeof record === 'undefined') {
  1504. return ''
  1505. }
  1506. if (record.complication.length == 0) {
  1507. return ''
  1508. }
  1509. var complications = record.complication.split(',')
  1510. var complicationOthers = []
  1511. for (const index in complications) {
  1512. if (
  1513. this.complications.indexOf(complications[index]) < 0 &&
  1514. complicationOthers.indexOf(complications[index]) < 0
  1515. ) {
  1516. complicationOthers.push(complications[index])
  1517. }
  1518. }
  1519. return complicationOthers.join(',')
  1520. },
  1521. modeName(mode_id) {
  1522. if (mode_id in this.modeOptions) {
  1523. return this.modeOptions[mode_id].name
  1524. }
  1525. return ''
  1526. },
  1527. anticoagulantName: function(key) {
  1528. if (key == null || typeof key === 'undefined') {
  1529. return ''
  1530. }
  1531. var id = key.anticoagulant
  1532. if (id in this.anticoagulantsConfit) {
  1533. return this.anticoagulantsConfit[id].name
  1534. }
  1535. return ''
  1536. },
  1537. bloodAccessParOperaName(id) {
  1538. if (id in this.bloodAccessParOpera) {
  1539. return this.bloodAccessParOpera[id].name
  1540. }
  1541. return ''
  1542. },
  1543. isBbloodAccessParOperaCheck(key, value) {
  1544. if (key == null || typeof key === 'undefined') {
  1545. return false
  1546. }
  1547. var id = key.blood_access_part_opera_id
  1548. if (id in this.bloodAccessParOpera) {
  1549. return this.bloodAccessParOpera[id].name.indexOf(value) > -1
  1550. }
  1551. return false
  1552. },
  1553. isdialysateFormulatioCheck(key, value) {
  1554. if (key == null || typeof key === 'undefined') {
  1555. return false
  1556. }
  1557. var id = key.dialysate_formulation
  1558. if (id in this.dialysateFormulationOptions) {
  1559. return this.dialysateFormulationOptions[id].name.indexOf(value) > -1
  1560. }
  1561. return false
  1562. },
  1563. isValueIndexOfCheck: function(record, key, value) {
  1564. if (record == null || record == undefined) {
  1565. return false
  1566. } else {
  1567. return record[key].indexOf(value) > -1
  1568. }
  1569. },
  1570. setAdminUserES(key, id) {
  1571. if (
  1572. typeof key === 'undefined' ||
  1573. key == null ||
  1574. typeof key[id] === 'undefined'
  1575. ) {
  1576. return ''
  1577. }
  1578. if (key[id] == 0) {
  1579. return ''
  1580. }
  1581. if (key[id] in this.operatorMaps) {
  1582. return this.operatorMaps[key[id]].es_url
  1583. } else {
  1584. return ''
  1585. }
  1586. },
  1587. getFloat: function(x) {
  1588. if (x != '.') {
  1589. var f = Math.round(x * 100) / 100
  1590. var s = f.toString()
  1591. var rs = s.indexOf('.')
  1592. if (rs <= 0) {
  1593. rs = s.length
  1594. s += '.'
  1595. }
  1596. while (s.length <= rs + 1) {
  1597. s += '0'
  1598. }
  1599. return s
  1600. } else {
  1601. return '0.0'
  1602. }
  1603. },
  1604. getAdminUser(key, id) {
  1605. if (
  1606. typeof key === 'undefined' ||
  1607. key == null ||
  1608. typeof key[id] === 'undefined'
  1609. ) {
  1610. return ''
  1611. }
  1612. if (key[id] === 0) {
  1613. return ''
  1614. }
  1615. if (key[id] === undefined) {
  1616. return ''
  1617. }
  1618. for (let i = 0; i < this.adminUser.length; i++) {
  1619. if (this.adminUser[i].id === key[id]) {
  1620. return this.adminUser[i].name
  1621. }
  1622. }
  1623. },
  1624. getName(id) {
  1625. for (let i = 0; i < this.adminSign.length; i++) {
  1626. if (this.adminSign[i].id === id) {
  1627. if (this.adminSign[i].url === '') {
  1628. this.showOne = true
  1629. this.showTwo = false
  1630. return this.adminSign[i].name
  1631. } else {
  1632. this.showOne = false
  1633. this.showTwo = true
  1634. return this.adminSign[i].url
  1635. }
  1636. }
  1637. }
  1638. },
  1639. jsGetAge: function(agetime) {
  1640. if (agetime === 0) {
  1641. return ''
  1642. }
  1643. return jsGetAge(uParseTime(agetime, '{y}-{m}-{d}'), '-')
  1644. },
  1645. getTime(value, temp) {
  1646. if (value != undefined) {
  1647. return uParseTime(value, temp)
  1648. }
  1649. return ''
  1650. },
  1651. // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
  1652. // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
  1653. isCheckBoxChecked: function(record, key, target_value) {
  1654. if (record == null || record == undefined) {
  1655. return false
  1656. } else {
  1657. return record[key] == target_value
  1658. }
  1659. },
  1660. getAge: function(val) {
  1661. if (val.age == 0) {
  1662. if (val.birthday == 0) {
  1663. return ''
  1664. }
  1665. return jsGetAge(uParseTime(val.birthday, '{y}-{m}-{d}'), '-')
  1666. } else {
  1667. return val.age
  1668. }
  1669. },
  1670. newAdviceGroupObject: function() {
  1671. return Object.assign(
  1672. {},
  1673. {
  1674. group_no: 0,
  1675. advices: []
  1676. }
  1677. )
  1678. },
  1679. getNumber: function(record) {
  1680. console.log(record)
  1681. },
  1682. getLastAfterWeight(id, assessmentDate) {
  1683. getLastAfterWeight(id, assessmentDate).then(response => {
  1684. if (response.data.state === 1) {
  1685. var weight = response.data.data.weight
  1686. this.lastAfterWeight = weight.weight_after.toFixed(1)
  1687. console.log('weight', weight)
  1688. }
  1689. })
  1690. },
  1691. getPartName(id) {
  1692. for (let i = 0; i < this.bloodAccess.length; i++) {
  1693. if ((this.bloodAccess[i].id = id)) {
  1694. return this.bloodAccess[i].name;
  1695. }
  1696. }
  1697. }
  1698. }
  1699. }
  1700. </script>
  1701. <style scoped>
  1702. .print_page_main_content {
  1703. background-color: white;
  1704. width: 960px;
  1705. margin: 0 auto 50px;
  1706. padding: 0 0 0 0;
  1707. page-break-after: always;
  1708. }
  1709. .print_page_main_content .order-yy-name {
  1710. margin: auto;
  1711. text-align: center;
  1712. font-size: 20px;
  1713. letter-spacing: 5px;
  1714. }
  1715. .print_page_main_content .order_title {
  1716. text-align: center;
  1717. font-size: 23px;
  1718. line-height: 40px;
  1719. font-weight: 500;
  1720. }
  1721. .row {
  1722. font-size: 14px;
  1723. line-height: 20px;
  1724. padding: 5px 0;
  1725. }
  1726. .inline_block {
  1727. display: inline-block;
  1728. }
  1729. .under_line {
  1730. display: inline-block;
  1731. border-bottom: 1px solid #999;
  1732. text-align: center;
  1733. white-space: nowrap;
  1734. width: 50%;
  1735. }
  1736. .under_line::before {
  1737. content: "\00A0";
  1738. }
  1739. .under_line::after {
  1740. content: "\00A0";
  1741. }
  1742. .under_line_two {
  1743. display: inline-block;
  1744. border-bottom: 1px solid #999;
  1745. text-align: left;
  1746. white-space: nowrap;
  1747. width: 50%;
  1748. }
  1749. .under_line_two::before {
  1750. content: "\00A0";
  1751. }
  1752. .under_line_two::after {
  1753. content: "\00A0";
  1754. }
  1755. .flex {
  1756. display: -webkit-box;
  1757. display: -moz-box;
  1758. display: -ms-flexbox;
  1759. display: -webkit-flex;
  1760. display: flex;
  1761. align-items: center;
  1762. -webkit-align-items: center;
  1763. box-align: center;
  1764. -moz-box-align: center;
  1765. -webkit-box-align: center;
  1766. text-align: center;
  1767. -webkit-justify-content: space-between;
  1768. justify-content: space-between;
  1769. -moz-box-pack: space-between;
  1770. -webkit--moz-box-pack: space-between;
  1771. box-pack: space-between;
  1772. }
  1773. .print_page_main_content .proj_table {
  1774. width: 100%;
  1775. border: 1px solid;
  1776. border-collapse: collapse;
  1777. padding: 2px;
  1778. }
  1779. .print_page_main_content .proj_table tbody tr td {
  1780. border: 1px solid;
  1781. /* text-align: center; */
  1782. font-size: 16px;
  1783. padding: 6px 8px;
  1784. line-height: 30px;
  1785. }
  1786. .print_page_main_content .proj_table .inside_table {
  1787. width: 100%;
  1788. border: hidden; /* 解决边框冲突 */
  1789. border-collapse: collapse;
  1790. }
  1791. .print_page_main_content .proj_table .inside_table tr td {
  1792. border: 1px solid;
  1793. text-align: center;
  1794. font-size: 14px;
  1795. padding: 8px 5px;
  1796. line-height: 16px;
  1797. }
  1798. .print-table-no {
  1799. width: 100%;
  1800. text-align: center;
  1801. border-collapse: collapse;
  1802. font-size: 14px;
  1803. }
  1804. .es-img {
  1805. height: 30px;
  1806. }
  1807. .advice-name {
  1808. text-align: left !important;
  1809. line-height: 16px !important;
  1810. }
  1811. .advice-children {
  1812. display: flex;
  1813. }
  1814. .margin-bottom-300 {
  1815. margin-bottom: 450px;
  1816. }
  1817. .margin-bottom-600 {
  1818. margin-bottom: 600px;
  1819. }
  1820. .margin-bottom-900 {
  1821. margin-bottom: 900px;
  1822. }
  1823. .print-yema {
  1824. position: absolute;
  1825. left: 50%;
  1826. }
  1827. .print-yema2 {
  1828. position: absolute;
  1829. left: 50%;
  1830. }
  1831. .print-yema3 {
  1832. position: absolute;
  1833. left: 50%;
  1834. }
  1835. .print-yema4 {
  1836. position: absolute;
  1837. left: 50%;
  1838. }
  1839. .print-yema5 {
  1840. position: absolute;
  1841. left: 50%;
  1842. }
  1843. .did_checke::after {
  1844. content: "\221A";
  1845. font-size: 8px;
  1846. margin-left: 2px;
  1847. margin-top: 2px;
  1848. position: absolute;
  1849. }
  1850. .dialysis-print-order {
  1851. width: 960px;
  1852. margin: 0 auto;
  1853. }
  1854. .dialysis-print-order .order-yy-name {
  1855. margin: auto;
  1856. text-align: center;
  1857. font-size: 20px;
  1858. letter-spacing: 5px;
  1859. }
  1860. .dialysis-print-order .order-title {
  1861. margin: auto;
  1862. font-weight: 600;
  1863. text-align: center;
  1864. font-size: 22px;
  1865. padding: 10px 20px 20px 20px;
  1866. }
  1867. .dialysis-print-order .table-box {
  1868. width: 100%;
  1869. line-height: 23px;
  1870. font-size: 14px;
  1871. }
  1872. .dialysis-print-order .print-table {
  1873. width: 100%;
  1874. text-align: center;
  1875. border-collapse: collapse;
  1876. line-height: 40px;
  1877. font-size: 14px;
  1878. }
  1879. .dialysis-print-order .print-table-no {
  1880. width: 100%;
  1881. text-align: center;
  1882. border-collapse: collapse;
  1883. font-size: 14px;
  1884. }
  1885. .dialysis-print-order .under-line {
  1886. border-bottom: 1px solid #999;
  1887. width: 95%;
  1888. text-align: center;
  1889. margin-left: 2px;
  1890. }
  1891. .dialysis-print-order .title-box {
  1892. text-align: center;
  1893. font-size: 16px;
  1894. }
  1895. .dialysis-print-order .radio-lebel-box {
  1896. font-weight: 400;
  1897. cursor: pointer;
  1898. }
  1899. .dialysis-print-order .radio-no {
  1900. opacity: 0;
  1901. outline: none;
  1902. position: absolute;
  1903. margin: 0;
  1904. width: 0;
  1905. height: 0;
  1906. z-index: -1;
  1907. }
  1908. .dialysis-print-order .radio-inner {
  1909. white-space: nowrap;
  1910. cursor: pointer;
  1911. outline: none;
  1912. display: inline-block;
  1913. line-height: 1;
  1914. position: relative;
  1915. vertical-align: middle;
  1916. }
  1917. .dialysis-print-order .radio-fang {
  1918. display: inline-block;
  1919. position: relative;
  1920. border: 1px solid #000;
  1921. box-sizing: border-box;
  1922. width: 14px;
  1923. height: 14px;
  1924. background-color: #fff;
  1925. z-index: 1;
  1926. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  1927. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1928. }
  1929. .dialysis-print-order .is-checked-radio::after {
  1930. content: "√";
  1931. font-size: 15px;
  1932. }
  1933. .dialysis-print-order .print-table-no tr td {
  1934. padding: 8px 5px;
  1935. line-height: 25px;
  1936. }
  1937. .dialysis-print-order .print-table tr td {
  1938. padding: 1px 1px;
  1939. /*line-height: 25px;*/
  1940. }
  1941. .es-img {
  1942. height: 25px;
  1943. }
  1944. .advice-name {
  1945. text-align: left;
  1946. }
  1947. .advice-children {
  1948. display: flex;
  1949. }
  1950. .title-box-pro {
  1951. border: 0 #fff;
  1952. line-height: 25px;
  1953. height: 25px;
  1954. text-align: left;
  1955. padding-left: 10px !important;
  1956. }
  1957. .title-box-pro-tr {
  1958. border: 0 #fff;
  1959. }
  1960. .text-align-left {
  1961. text-align: left !important;
  1962. padding-left: 10px !important;
  1963. font-size: 14px !important;
  1964. line-height: 25px;
  1965. }
  1966. .print-table-tr-new td {
  1967. line-height: 20px !important;
  1968. }
  1969. .border-top-solid {
  1970. border: solid 1px #000;
  1971. }
  1972. .print-template-two tr {
  1973. line-height: 30px;
  1974. }
  1975. </style>
  1976. <style>
  1977. .dialysis-print-order {
  1978. width: 960px;
  1979. margin: 0 auto;
  1980. }
  1981. .dialysis-print-order .order-yy-name {
  1982. margin: auto;
  1983. text-align: center;
  1984. font-size: 20px;
  1985. letter-spacing: 5px;
  1986. }
  1987. .dialysis-print-order .order-title {
  1988. margin: auto;
  1989. font-weight: 600;
  1990. text-align: center;
  1991. font-size: 22px;
  1992. padding: 10px 20px 20px 20px;
  1993. }
  1994. .dialysis-print-order .table-box {
  1995. width: 100%;
  1996. line-height: 23px;
  1997. font-size: 14px;
  1998. }
  1999. .dialysis-print-order .print-table {
  2000. width: 100%;
  2001. text-align: center;
  2002. border-collapse: collapse;
  2003. line-height: 40px;
  2004. font-size: 14px;
  2005. }
  2006. .dialysis-print-order .print-table-no {
  2007. width: 100%;
  2008. text-align: center;
  2009. border-collapse: collapse;
  2010. font-size: 14px;
  2011. }
  2012. .dialysis-print-order .under-line {
  2013. border-bottom: 1px solid #999;
  2014. width: 95%;
  2015. text-align: center;
  2016. margin-left: 2px;
  2017. }
  2018. .dialysis-print-order .title-box {
  2019. text-align: center;
  2020. font-size: 16px;
  2021. }
  2022. .dialysis-print-order .radio-lebel-box {
  2023. font-weight: 400;
  2024. cursor: pointer;
  2025. }
  2026. .dialysis-print-order .radio-no {
  2027. opacity: 0;
  2028. outline: none;
  2029. position: absolute;
  2030. margin: 0;
  2031. width: 0;
  2032. height: 0;
  2033. z-index: -1;
  2034. }
  2035. .dialysis-print-order .radio-inner {
  2036. white-space: nowrap;
  2037. cursor: pointer;
  2038. outline: none;
  2039. display: inline-block;
  2040. line-height: 1;
  2041. position: relative;
  2042. vertical-align: middle;
  2043. }
  2044. .dialysis-print-order .radio-fang {
  2045. display: inline-block;
  2046. position: relative;
  2047. border: 1px solid #000;
  2048. box-sizing: border-box;
  2049. width: 14px;
  2050. height: 14px;
  2051. background-color: #fff;
  2052. z-index: 1;
  2053. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2054. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2055. }
  2056. .dialysis-print-order .is-checked-radio::after {
  2057. content: "√";
  2058. font-size: 15px;
  2059. }
  2060. .dialysis-print-order .print-table-no tr td {
  2061. padding: 8px 5px;
  2062. line-height: 25px;
  2063. }
  2064. .dialysis-print-order .print-table tr td {
  2065. padding: 1px 1px;
  2066. /*line-height: 25px;*/
  2067. }
  2068. .es-img {
  2069. height: 25px;
  2070. }
  2071. .advice-name {
  2072. text-align: left;
  2073. }
  2074. .advice-children {
  2075. display: flex;
  2076. }
  2077. .title-box-pro {
  2078. border: 0 #fff;
  2079. line-height: 25px;
  2080. height: 25px;
  2081. text-align: left;
  2082. padding-left: 10px !important;
  2083. }
  2084. .title-box-pro-tr {
  2085. border: 0 #fff;
  2086. }
  2087. .text-align-left {
  2088. text-align: left !important;
  2089. padding-left: 10px !important;
  2090. font-size: 14px !important;
  2091. line-height: 25px;
  2092. }
  2093. .print-table-tr-new td {
  2094. line-height: 20px !important;
  2095. }
  2096. .border-top-solid {
  2097. border: solid 1px #000;
  2098. }
  2099. .print-template-two tr {
  2100. line-height: 30px;
  2101. }
  2102. </style>