血透系统PC前端

batch_print_order_eight.vue 70KB

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