DialysisPrintOrderFortyThree.vue 70KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638
  1. <template>
  2. <div>
  3. <el-button type="primary" @click="checkData">一键核对</el-button>
  4. <div id="dialysis-print-box-1">
  5. <div
  6. id="dialysis-print-box-1-1"
  7. class="dialysis-print-order print-template-two print_page_main_content"
  8. >
  9. <div class="order-yy-name" style="font-weight:bold;font-size:28px;">{{ orgname }}</div>
  10. <div style="display:inline-block;width:100%;text-align:center;">
  11. <div
  12. class="order-title"
  13. style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;"
  14. >
  15. 血液净化治疗记录单
  16. </div>
  17. </div>
  18. <div class="row" style="border-bottom:1px solid #000;">
  19. <div class="inline_block">
  20. 透析号:
  21. <div class="under_line" style="width: 70px;text-align: center;">
  22. {{ patientInfo.dialysis_no }}
  23. </div>
  24. </div>
  25. <div class="inline_block">
  26. 姓名:
  27. <div class="under_line" style="width: 70px;text-align: center;">
  28. {{ patientInfo.name }}
  29. </div>
  30. </div>
  31. <div class="inline_block" style="margin-left: 10px;">
  32. 性别:
  33. <div class="under_line" style="width: 50px;text-align: center;">
  34. {{ patientInfo_gender_1 ? "男" : "女" }}
  35. </div>
  36. </div>
  37. <div class="inline_block" style="margin-left: 10px;">
  38. 年龄:
  39. <div class="under_line" style="width: 50px;text-align: center;">
  40. {{ getAge(patientInfo) }}
  41. </div>
  42. </div>
  43. <div class="inline_block" style="margin-left: 10px;">
  44. 透析日期:
  45. <div class="under_line" style="width: 90px;text-align: center;">
  46. {{ queryParams.xtdate }}
  47. </div>
  48. </div>
  49. <div class="inline_block" style="margin-left: 10px;">
  50. 透析次数:
  51. <div class="under_line" style="width: 80px;text-align: center;">
  52. {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}
  53. </div>
  54. </div>
  55. </div>
  56. <div style="border:1px solid #000;margin-top:5px;padding:0 10px;">
  57. <div class="row">
  58. <div class="inline_block">
  59. T(°C):
  60. <div class="under_line" style="width: 70px;text-align: center;">
  61. {{ predialysis.temperature ? predialysis.temperature : "/" }}
  62. </div>
  63. </div>
  64. <div class="inline_block">
  65. P(次/分):
  66. <div class="under_line" style="width: 70px;text-align: center;">
  67. {{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "/" }}
  68. </div>
  69. </div>
  70. <div class="inline_block" style="margin-left: 10px;">
  71. R(次/分):
  72. <div class="under_line" style="width: 70px;text-align: center;">
  73. {{ predialysis.breathing_rate ? predialysis.breathing_rate : "/" }}
  74. </div>
  75. </div>
  76. <div class="inline_block" style="margin-left: 10px;">
  77. BP(mmHg):
  78. <div class="under_line" style="width: 70px;text-align: center;">
  79. {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "" }}/
  80. {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }}
  81. </div>
  82. </div>
  83. <div class="inline_block" style="margin-left: 10px;">
  84. 透析机号:
  85. <div class="under_line" style="width: 90px;text-align: center;">
  86. {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
  87. </div>
  88. </div>
  89. <div class="inline_block" style="margin-left: 10px;">
  90. 透析时长:
  91. <div class="under_line" style="width: 40px;text-align: center;">
  92. {{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}
  93. </div>h
  94. <div class="under_line" style="width: 40px;text-align: center;">
  95. {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}
  96. </div>min
  97. </div>
  98. </div>
  99. <div class="row">
  100. <div class="inline_block">
  101. 透前体重(Kg):
  102. <div class="under_line" style="width: 70px;text-align: center;">
  103. {{ predialysis.weight_before ? predialysis.weight_before : "/" }}
  104. </div>
  105. </div>
  106. <div class="inline_block">
  107. 干体重(Kg):
  108. <div class="under_line" style="width: 70px;text-align: center;">
  109. {{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}
  110. </div>
  111. </div>
  112. <div class="inline_block" style="margin-left: 10px;">
  113. 目标脱水量(ml):
  114. <div class="under_line" style="width: 70px;text-align: center;">
  115. {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : '/' }}
  116. </div>
  117. </div>
  118. <div class="inline_block" style="margin-left: 10px;">
  119. 透析方式:
  120. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="!prescription.mode_id">
  121. /
  122. </div>
  123. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 1">
  124. HD
  125. </div>
  126. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 2">
  127. HDF
  128. </div>
  129. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 3">
  130. HD+HP
  131. </div>
  132. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 4">
  133. HP
  134. </div>
  135. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 5">
  136. HF
  137. </div>
  138. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 6">
  139. SCUF
  140. </div>
  141. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 7">
  142. IUF
  143. </div>
  144. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 8">
  145. HFHD
  146. </div>
  147. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 9">
  148. HFHD+HP
  149. </div>
  150. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 10">
  151. PHF
  152. </div>
  153. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 11">
  154. HFR
  155. </div>
  156. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 12">
  157. HDF+HP
  158. </div>
  159. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 13">
  160. CRRT
  161. </div>
  162. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 14">
  163. 腹水回输
  164. </div>
  165. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 15">
  166. HD前置换
  167. </div>
  168. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 16">
  169. HD后置换
  170. </div>
  171. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 17">
  172. HDF前置换
  173. </div>
  174. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 18">
  175. HDF后置换
  176. </div>
  177. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 19">
  178. IUF+HD
  179. </div>
  180. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 20">
  181. UF
  182. </div>
  183. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 21">
  184. HD+
  185. </div>
  186. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 22">
  187. 血浆胆红素吸附+HDF
  188. </div>
  189. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 23">
  190. 血浆胆红素吸附
  191. </div>
  192. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 24">
  193. I-HDF
  194. </div>
  195. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 25">
  196. HD高通
  197. </div>
  198. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 26">
  199. CVVH
  200. </div>
  201. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 27">
  202. CVVHD
  203. </div>
  204. <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 28">
  205. CVVHDF
  206. </div>
  207. </div>
  208. </div>
  209. <div class="row">
  210. <div class="inline_block">
  211. 透析液(mmol/L):
  212. <div class="under_line" style="width: 400px;text-align: center;">
  213. K:{{ prescription.kalium ? prescription.kalium : "/" }}&nbsp;&nbsp;
  214. Ca:{{ prescription.calcium ? prescription.calcium : "/" }}&nbsp;&nbsp;
  215. Na:{{ prescription.sodium ? prescription.sodium : "/" }}&nbsp;&nbsp;
  216. HCO3:{{ prescription.bicarbonate ? prescription.bicarbonate : "/" }}&nbsp;&nbsp;
  217. 糖:{{ prescription.amylaceum ? prescription.amylaceum : "/" }}&nbsp;&nbsp;
  218. </div>
  219. </div>
  220. <div class="inline_block">
  221. 透析器:
  222. <div class="under_line" style="width: 200px;text-align: center;">
  223. {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
  224. </div>
  225. </div>
  226. </div>
  227. <div class="row">
  228. <div class="inline_block">
  229. 抗凝剂:
  230. <div class="under_line" style="width: 400px;text-align: center;">
  231. {{ prescription.anticoagulant_name ? prescription.anticoagulant_name : "/" }}
  232. </div>
  233. </div>
  234. <div class="inline_block">
  235. 首剂(UI):
  236. <div class="under_line" style="width: 100px;text-align: center;">
  237. {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
  238. </div>
  239. </div>
  240. <div class="inline_block">
  241. 追加(UI):
  242. <div class="under_line" style="width: 100px;text-align: center;">
  243. {{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}
  244. </div>
  245. </div>
  246. </div>
  247. <div class="row">
  248. <div class="inline_block">
  249. 血管通路:
  250. <div class="under_line" style="width: 200px;text-align: center;">
  251. {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '/' }}
  252. </div>
  253. </div>
  254. <div class="inline_block">
  255. 置换方式:
  256. <div class="under_line" style="width: 100px;text-align: center;">
  257. <span v-if="prescription.displace_liqui_part == ''">/</span>
  258. <span v-if="prescription.displace_liqui_part == 1">前置换</span>
  259. <span v-if="prescription.displace_liqui_part == 2">后置换</span>
  260. </div>
  261. </div>
  262. <div class="inline_block">
  263. 置换液总量(L):
  264. <div class="under_line" style="width: 100px;text-align: center;">
  265. {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}
  266. </div>
  267. </div>
  268. <div class="inline_block">
  269. 血流速(ml/min):
  270. <div class="under_line" style="width: 100px;text-align: center;">
  271. {{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}
  272. </div>
  273. </div>
  274. </div>
  275. <div class="row" style="line-height: 30px;">
  276. <div class="inline_block" style="width:100%;display:flex;">
  277. 透前病情:
  278. <div class="under_line" style="border:1px solid #000;width:100%;flex:1;text-align:left;white-space: initial;">
  279. {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : '/' }}
  280. </div>
  281. </div>
  282. </div>
  283. <div class="row" style="line-height: 30px;">
  284. <div class="inline_block" style="width:100%;display:flex;">
  285. 诊断:
  286. <div class="under_line" style="border:1px solid #000;width:100%;flex:1;text-align:left;white-space: initial;">
  287. {{ patientInfo.diagnose ? patientInfo.diagnose : '/' }}
  288. </div>
  289. </div>
  290. </div>
  291. </div>
  292. <div style="text-align:center;letter-spacing:10px;line-height:40px;font-size:20px;">治疗记录</div>
  293. <table class="print-table" border="1" style="line-height:30px;">
  294. <tbody>
  295. <tr>
  296. <td width="60">时间</td>
  297. <td width="80" style="height:20px;line-height:20px">血压<br />mmHg</td>
  298. <td width="60" style="height:20px;line-height:20px">脉搏<br />(次/分)</td>
  299. <td width="60" style="height:20px;line-height:20px">KTV</td>
  300. <td width="60" style="height:20px;line-height:20px">血流量<br />(ml/min)</td>
  301. <td width="60" style="height:20px;line-height:20px">静脉压<br />mmHg</td>
  302. <td width="60" style="height:20px;line-height:20px">动脉压<br />mmHg</td>
  303. <td width="60" style="height:20px;line-height:20px">跨膜压<br />mmHg</td>
  304. <td width="60" style="height:20px;line-height:20px">温度<br />°C</td>
  305. <td width="60" style="height:20px;line-height:20px">超滤率<br />ml/h</td>
  306. <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
  307. <!-- <td width="60" style="height:20px;line-height:20px" v-if="prescription.mode_id == 2">置换率<br /><br />ml/h</td>-->
  308. <!-- <td width="60" style="height:20px;line-height:20px" v-if="prescription.mode_id == 2">置换量<br /><br />ml</td>-->
  309. <!-- <td width="60" style="height:20px;line-height:20px">血容量<br />ml</td> -->
  310. <td width="">病情变化及处理</td>
  311. </tr>
  312. <tr v-for="monitor in monitors" :key="monitor.id">
  313. <td style="height:32px;line-height:32px;">&nbsp;{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
  314. <td>
  315. <span v-if="monitor.systolic_blood_pressure || monitor.diastolic_blood_pressure">
  316. &nbsp;{{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
  317. {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
  318. </span>
  319. </td>
  320. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</span></td>
  321. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ktv ? monitor.ktv : "/" }}</span></td>
  322. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</span></td>
  323. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</span></td>
  324. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.arterial_pressure ? monitor.arterial_pressure : "/" }}</span></td>
  325. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "/" }}</span></td>
  326. <td>&nbsp;<span v-if="monitor.operate_time">{{monitor.dialysate_temperature ? monitor.dialysate_temperature : '/'}}</span></td>
  327. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '/'}}</span></td>
  328. <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span></td>
  329. <!-- <td v-if="prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span></td>-->
  330. <!-- <td v-if="prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.displacement_quantity ? monitor.displacement_quantity : "/" }}</span></td>-->
  331. <!-- <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : "/" }}</span></td> -->
  332. <td style="text-align:left;padding-left:10px;">
  333. <div style="line-height:20px;text-align: left;display: inline-block;">
  334. &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
  335. </div>
  336. </td>
  337. </tr>
  338. </tbody>
  339. </table>
  340. <div class="row" style="display: flex;justify-content: space-around;">
  341. <div class="inline_block" style="display: flex;align-items: flex-end;">
  342. 预冲者:
  343. <div class="under_line" style="width: 100px;text-align: center;">
  344. <span style="display: inline-block;" v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)}}</span>
  345. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)" alt="" srcset="" v-else>
  346. </div>
  347. </div>
  348. <div class="inline_block" style="display: flex;align-items: flex-end;">
  349. 穿刺者:
  350. <div class="under_line" style="width: 100px;text-align: center;">
  351. <span style="display: inline-block;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
  352. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
  353. </span>
  354. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt srcset v-else />
  355. </div>
  356. </div>
  357. <div class="inline_block" style="margin-left: 10px;display: flex;align-items: flex-end;">
  358. 上机者:
  359. <div class="under_line" style="width: 100px;text-align: center;">
  360. <span style="display: inline-block;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) == ''">
  361. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) }}</span>
  362. <img style="height:30px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse)" alt="" srcset="" v-else />
  363. </div>
  364. </div>
  365. <div class="inline_block" style="margin-left: 10px;display: flex;align-items: flex-end;">
  366. 下机者:
  367. <div class="under_line" style="width: 100px;text-align: center;">
  368. <span style="display: inline-block;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
  369. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}
  370. </span>
  371. <img style="height:30px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
  372. </div>
  373. </div>
  374. </div>
  375. <table class="print-table" border="1" style="line-height:30px;">
  376. <tbody>
  377. <tr style="height:32px;">
  378. <td style="font-size: 16px" width="10%">时间</td>
  379. <td style="font-size: 16px" colspan="2" width="45%">临时医嘱单</td>
  380. <td style="font-size: 16px" width="10%">医生签名</td>
  381. <td style="font-size: 16px" width="10%">执行护士</td>
  382. <td style="font-size: 16px" width="10%">执行时间</td>
  383. </tr>
  384. <!-- <template v-for="group in doctor_advices" > -->
  385. <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
  386. <td height="32px;padding:1px 1px">
  387. <span v-if="advice.start_time">
  388. {{ getTime(advice.start_time, "{h}:{i}") }}
  389. </span>
  390. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  391. </td>
  392. <td height="32px" colspan="2" class="advice-name" style="padding-left:7px;">
  393. <span v-if="advice.parent_id > 0">---></span>
  394. <span>{{ advice.advice_name }}</span>
  395. <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
  396. <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
  397. <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
  398. <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
  399. <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
  400. <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
  401. </td>
  402. <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
  403. <span>{{advice.delivery_way}}</span>
  404. <span>{{advice.execution_frequency}}</span>
  405. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  406. </td> -->
  407. <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
  408. <td height="32px">
  409. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
  410. <img style="height:30px" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
  411. </td>
  412. <!-- <td height="35px">
  413. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  414. <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  415. </td> -->
  416. <td height="32px">
  417. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
  418. <img style="height:30px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else />
  419. </td>
  420. <td height="32px">
  421. <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
  422. </td>
  423. </tr>
  424. <tr v-for="(advice, advice_index) in projects" :key="advice_index">
  425. <td height="32px;padding:1px 1px">
  426. <span v-if="advice.start_time">
  427. {{ getTime(advice.start_time, "{h}:{i}") }}
  428. </span>
  429. </td>
  430. <td height="32px" colspan="2" class="advice-name" style="padding-left:7px;">
  431. <span>{{ advice && advice.project ? advice.project.project_name : '' }}</span>
  432. </td>
  433. <td height="32px">
  434. <span v-if="setAdminUserES(advice.doctor) == ''">{{ getAdminUser(advice.doctor) }}</span>
  435. <img style="height:30px" :src="setAdminUserES(advice.doctor)" alt="" srcset="" v-else />
  436. </td>
  437. <td height="32px">
  438. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
  439. <img style="height:30px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else />
  440. </td>
  441. <td height="32px">
  442. <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
  443. </td>
  444. </tr>
  445. </tbody>
  446. </table>
  447. <div style="border:1px solid #000;margin-top:5px;padding:0 10px;">
  448. <div class="row">
  449. <div class="inline_block">
  450. 透后体重(Kg):
  451. <div class="under_line" style="width: 70px;text-align: center;">
  452. {{ afterdialysis.weight_after ? afterdialysis.weight_after : "/" }}
  453. </div>
  454. </div>
  455. <div class="inline_block">
  456. 实际脱水量(ml):
  457. <div class="under_line" style="width: 70px;text-align: center;">
  458. {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
  459. </div>
  460. </div>
  461. <div class="inline_block" style="margin-left: 10px;">
  462. 实际透析时长(h):
  463. <div class="under_line" style="width: 50px;text-align: center;">
  464. {{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}
  465. </div>h
  466. <div class="under_line" style="width: 50px;text-align: center;">
  467. {{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : "0" }}
  468. </div>min
  469. </div>
  470. <div class="inline_block" style="margin-left: 10px;">
  471. BP(mmHg):
  472. <div class="under_line" style="width: 70px;text-align: center;">
  473. {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
  474. {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "" }}
  475. </div>
  476. </div>
  477. <div class="inline_block" style="margin-left: 10px;">
  478. P(次/分):
  479. <div class="under_line" style="width: 70px;text-align: center;">
  480. {{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "/" }}
  481. </div>
  482. </div>
  483. </div>
  484. <div class="row" style="line-height: 30px;">
  485. <div class="inline_block" style="width:100%;display:flex;">
  486. 小结:
  487. <div class="under_line" style="border:1px solid #000;width:100%;flex:1;text-align:left;white-space: initial;">
  488. {{ summary.dialysis_summary ? summary.dialysis_summary : "/" }}
  489. </div>
  490. </div>
  491. </div>
  492. </div>
  493. <div class="row" style="border-bottom:1px solid #000;display:flex;margin-top:50px;">
  494. <div class="inline_block" style="width:33%">
  495. 医生签名:
  496. <div class="under_line" style="width: 70px;text-align: center;">
  497. <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
  498. {{ getAdminUser(prescription.creater) }}
  499. </span>
  500. <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
  501. </div>
  502. </div>
  503. <div class="inline_block" style="width:33%">
  504. 责任护士:
  505. <div class="under_line" style="width: 70px;text-align: center;">
  506. <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) == ''">
  507. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) }}</span>
  508. <img style="height:30px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse)" alt="" srcset="" v-else />
  509. </div>
  510. </div>
  511. <div class="inline_block" style="margin-left: 10px;width:33%">
  512. 查对护士:
  513. <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder == null">
  514. <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
  515. {{ getAdminUser(check == null ? 0 : check.creater) }}
  516. </span>
  517. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
  518. </div>
  519. <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.modifier">
  520. <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
  521. {{ getAdminUser(check == null ? 0 : check.creater) }}
  522. </span>
  523. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
  524. </div>
  525. <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.creater">
  526. <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
  527. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  528. </span>
  529. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt="" srcset="" v-else />
  530. </div>
  531. <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse != check.creater && dialysisOrder.start_nurse != check.modifier">
  532. <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
  533. {{ getAdminUser(check == null ? 0 : check.creater) }}
  534. </span>
  535. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
  536. </div>
  537. </div>
  538. </div>
  539. </div>
  540. </div>
  541. </div>
  542. </template>
  543. <script>
  544. import CheckBox from '../batch_print/option_check_box'
  545. import { getDialysisRecord } from '@/api/dialysis'
  546. import { getDataConfig } from '@/utils/data'
  547. import { jsGetAge, uParseTime } from '@/utils/tools'
  548. import LabelBox from '../printItem/LabelBox'
  549. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  550. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  551. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  552. import print from 'print-js'
  553. export default {
  554. name: 'dialysisPrintOrderSix',
  555. props: ['childResponse'],
  556. components: {
  557. // DialysisPrintOrderOne,
  558. // DialysisPrintOrderTwo,
  559. CheckBox,
  560. LabelBox,
  561. BreadCrumb
  562. },
  563. data() {
  564. return {
  565. way_arr: [],
  566. consciousness_arr: [],
  567. appetite_arr: [],
  568. posture_arr: [],
  569. sick_condition_arr: [],
  570. precaution_arr: [],
  571. intake_arr: [],
  572. nutrition_arr: [],
  573. crumbs: [
  574. { path: false, name: '透析管理' },
  575. { path: false, name: '打印单' }
  576. ],
  577. operators: [],
  578. adminUser: [],
  579. check: {},
  580. xtdate: '',
  581. dialysisOrder: {
  582. DeviceNumber: []
  583. },
  584. displaceLiquiPartOptions: [],
  585. operatorMaps: {},
  586. complications: [
  587. '低血压',
  588. '高血压',
  589. '心律失常',
  590. '头晕',
  591. '头痛',
  592. '呕吐',
  593. '抽搐',
  594. '出血',
  595. '心衰',
  596. '腹痛'
  597. ],
  598. jilurow: 0,
  599. advice_jilurow: 0,
  600. loading: false,
  601. orgname: '',
  602. patientInfo_gender_1: false,
  603. patientInfo_gender_2: false,
  604. patientInfo_source_2: false,
  605. patientInfo_source_1: false,
  606. modeOptions: {},
  607. replacementWays: [],
  608. perfusionApparatus: [],
  609. anticoagulantsConfit: {},
  610. bloodAccessParOpera: {},
  611. dialysateFormulationOptions: {},
  612. totollength: 0,
  613. queryParams: {
  614. xtdate: '',
  615. xtno: ''
  616. },
  617. patientInfo: {
  618. birth: '',
  619. age: '',
  620. DialysisSchedule: {
  621. device_number: { number: '' },
  622. device_zone: { name: '' }
  623. },
  624. gender: 0
  625. },
  626. predialysis: {
  627. score: '',
  628. internal_fistula: '',
  629. internal_fistula_skin: '',
  630. catheter: '',
  631. blood_access_part_opera_name: ''
  632. },
  633. afterdialysis: {
  634. complications_index: ''
  635. },
  636. lastafterdialysis: {},
  637. prescription: {
  638. dialysate_formulation_name: '',
  639. device: {}
  640. },
  641. advices: [],
  642. users: [],
  643. monitors: [],
  644. monitors2: [],
  645. summary: {},
  646. receiverTreatmentAccess: {},
  647. org_template_info: {},
  648. doctor_advices: [],
  649. doctor_advices_2: [],
  650. advice_groups: [],
  651. advice_groups_2: [],
  652. print_length: 0,
  653. blood_access_part: [],
  654. blood_access_part_opera: [],
  655. AlPanel: {
  656. id: 0,
  657. name: '',
  658. type: 1,
  659. shouji: 2,
  660. weichi: 2,
  661. zongliang: 2,
  662. gaimingcheng: -1,
  663. gaijiliang: -1,
  664. shouji_unit: 'mg',
  665. weichi_unit: 'mg/h',
  666. zongliang_unit: 'mg',
  667. gaimingcheng_unit: '',
  668. gaijiliang_unit: ''
  669. },
  670. org_id:0,
  671. projects:[]
  672. }
  673. },
  674. methods: {
  675. checkData(){
  676. if(this.predialysis.temperature == ""){
  677. this.$message.error('透前体温未填')
  678. }else if(this.predialysis.pulse_frequency == ""){
  679. this.$message.error('透前脉搏未填')
  680. }else if(this.predialysis.breathing_rate == ""){
  681. this.$message.error('透前呼吸频率未填')
  682. }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
  683. this.$message.error('透前血压未填完整')
  684. }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
  685. this.$message.error('透析时长未填')
  686. }else if(this.predialysis.weight_before == 0){
  687. this.$message.error('透前体重未填')
  688. }else if(this.predialysis.dry_weight == 0){
  689. this.$message.error('干体重未填')
  690. }else if(this.prescription.target_ultrafiltration == 0){
  691. this.$message.error('目标脱水量未填')
  692. }else if(this.prescription.mode_id == ""){
  693. this.$message.error('透析方式未填')
  694. }else if(this.prescription.kalium == 0){
  695. this.$message.error('钾未填')
  696. }else if(this.prescription.calcium == 0){
  697. this.$message.error('钙未填')
  698. }else if(this.prescription.sodium == 0){
  699. this.$message.error('钠未填')
  700. }else if(this.prescription.bicarbonate == 0){
  701. this.$message.error('碳酸氢根未填')
  702. }else if(this.prescription.amylaceum == 0){
  703. this.$message.error('糖未填')
  704. }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
  705. this.$message.error('透析器未填')
  706. }else if(this.prescription.anticoagulant == 0){
  707. this.$message.error('抗凝剂未填')
  708. }else if(this.predialysis.blood_access_part_opera_name == ''){
  709. this.$message.error('血管通路未填')
  710. }else if(this.prescription.mode_id == 2 && this.prescription.displace_liqui_part == 0){
  711. this.$message.error('置换方式未填')
  712. }else if(this.prescription.mode_id == 2 && this.prescription.displace_liqui_value == 0){
  713. this.$message.error('置换液总量未填')
  714. }else if(this.prescription.blood_flow_volume == 0){
  715. this.$message.error('血流速未填')
  716. }else if(this.predialysis.symptom_before_dialysis == ""){
  717. this.$message.error('透前病情未填')
  718. }else if(this.dialysisOrder == null || this.dialysisOrder.washpipe_nurse == 0){
  719. this.$message.error('预冲者未填')
  720. }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
  721. this.$message.error('穿刺者未填')
  722. }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
  723. this.$message.error('上机者未填')
  724. }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
  725. this.$message.error('下机者未填')
  726. }else if(this.afterdialysis.weight_after == 0){
  727. this.$message.error('透后体重未填')
  728. }else if(this.afterdialysis.actual_ultrafiltration == 0){
  729. this.$message.error('实际脱水量未填')
  730. }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
  731. this.$message.error('实际透析时长未填')
  732. }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
  733. this.$message.error('透后血压未填完整')
  734. }else if(this.afterdialysis.pulse_frequency == 0){
  735. this.$message.error('透后脉搏未填')
  736. }else if(this.summary.dialysis_summary == ""){
  737. this.$message.error('小结未填')
  738. }else if(this.prescription.creater == 0){
  739. this.$message.error('医生签名未填')
  740. }else if(this.dialysisOrder == null && this.check.creater == 0){
  741. this.$message.error('查对护士未填')
  742. }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
  743. this.$message.error('查对护士未填')
  744. }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
  745. this.$message.error('查对护士未填')
  746. }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
  747. this.$message.error('查对护士未填')
  748. }else if(this.tableAdvice.length > 0){
  749. let num = 0
  750. if(this.tableAdvice.length > 0){
  751. this.tableAdvice.map(item => {
  752. if(item.id > 0 && (item.created_time || item.start_time)){
  753. this.users.map(it => {
  754. if(it.id == item.advice_doctor){
  755. if(it.user_type == 3){
  756. num++
  757. this.$message.closeAll()
  758. this.$message.error('存在不是医生保存的医嘱')
  759. }else if(it.id == item.execution_staff && item.execution_staff > 0){
  760. if(it.user_type == 2){
  761. num++
  762. this.$message.closeAll()
  763. this.$message.error('存在不是护士执行的医嘱')
  764. }
  765. }else if(it.id == item.checker && item.checker > 0){
  766. if(it.user_type == 2){
  767. num++
  768. this.$message.closeAll()
  769. this.$message.error('存在不是护士核对的医嘱')
  770. }
  771. }
  772. }else if(it.id == item.execution_staff && item.execution_staff > 0){
  773. if(it.user_type == 2){
  774. num++
  775. this.$message.closeAll()
  776. this.$message.error('存在不是护士执行的医嘱')
  777. }
  778. }else if(it.id == item.checker && item.checker > 0){
  779. if(it.user_type == 2){
  780. num++
  781. this.$message.closeAll()
  782. this.$message.error('存在不是护士核对的医嘱')
  783. }
  784. }
  785. })
  786. }
  787. })
  788. }
  789. if(num == 0){
  790. this.$message.success('核对完成')
  791. }
  792. }else{
  793. this.$message.success('核对完成')
  794. }
  795. },
  796. getDisplaceLiquiPart: function(val) {
  797. let displace_liqui_part_name = '/'
  798. const displace_liqui_part = this.displaceLiquiPartOptions
  799. for (let i = 0; i < displace_liqui_part.length; i++) {
  800. if (displace_liqui_part[i].id == val) {
  801. displace_liqui_part_name = displace_liqui_part[i].name
  802. }
  803. }
  804. return displace_liqui_part_name
  805. },
  806. replacementWaysById: function(val) {
  807. let replacementWaysname = '/'
  808. // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  809. for (let i = 0; i < this.replacementWays.length; i++) {
  810. if (this.replacementWays[i].id == val) {
  811. replacementWaysname = this.replacementWays[i].name
  812. }
  813. }
  814. return replacementWaysname
  815. },
  816. QueryPartById: function(val) {
  817. let vascular_access_part_name = '/'
  818. const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  819. for (let i = 0; i < vascular_access.length; i++) {
  820. if (vascular_access[i].id == val) {
  821. vascular_access_part_name = vascular_access[i].name
  822. }
  823. }
  824. return vascular_access_part_name
  825. },
  826. getAdminUser(id) {
  827. if (id == 0) {
  828. return ''
  829. }
  830. if (id == undefined) {
  831. return ''
  832. }
  833. for (let i = 0; i < this.adminUser.length; i++) {
  834. if (this.adminUser[i].id == id) {
  835. return this.adminUser[i].name
  836. }
  837. }
  838. },
  839. getTime(value, temp) {
  840. if (value == 0) {
  841. return ''
  842. }
  843. if (value != undefined) {
  844. return uParseTime(value, temp)
  845. }
  846. return ''
  847. },
  848. getUnit: function(val) {
  849. switch (val) {
  850. case 1:
  851. return 'g'
  852. break
  853. case 2:
  854. return 'ml'
  855. break
  856. }
  857. },
  858. printThisPage() {
  859. var ptime = Math.round(new Date().getTime() / 1000)
  860. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  861. const style =
  862. '@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}.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:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .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;}'
  863. if (this.org_template_info.template_id == 1) {
  864. printJS({
  865. printable: 'dialysis-print-box',
  866. type: 'html',
  867. style: style,
  868. scanStyles: false
  869. })
  870. } else if (
  871. this.org_template_info.template_id == 2 ||
  872. this.org_template_info.template_id == 0
  873. ) {
  874. printJS({
  875. printable: 'dialysis-print-box-1',
  876. type: 'html',
  877. style: style,
  878. scanStyles: false
  879. })
  880. }
  881. },
  882. getNumber() {
  883. if (this.dialysisOrder != null) {
  884. return (
  885. this.patientInfo.DialysisSchedule.device_zone.name +
  886. this.dialysisOrder.DeviceNumber.number
  887. )
  888. } else {
  889. return (
  890. this.patientInfo.DialysisSchedule.device_zone.name +
  891. this.patientInfo.DialysisSchedule.device_number.number
  892. )
  893. }
  894. },
  895. getXuserName(id) {
  896. if (id <= 0) {
  897. return ''
  898. }
  899. var name = ''
  900. if (this.users == null || typeof this.users.length === 'undefined') {
  901. return name
  902. }
  903. var leng = this.users.length
  904. if (leng == 0) {
  905. return name
  906. }
  907. for (let index = 0; index < leng; index++) {
  908. if (this.users[index].id == id) {
  909. name = this.users[index].name
  910. break
  911. }
  912. }
  913. return name
  914. },
  915. setAdminUserES(id) {
  916. if (id == 0) {
  917. return ''
  918. }
  919. if (id in this.operatorMaps) {
  920. return this.operatorMaps[id].url
  921. } else {
  922. return ''
  923. }
  924. },
  925. modeName(mode_id) {
  926. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  927. typeof this.modeOptions[mode_id].name !== 'undefined'
  928. ? this.modeOptions[mode_id].name
  929. : ''
  930. },
  931. getDialysisRecord() {
  932. this.loading = true
  933. // getDialysisRecord(this.queryParams).then(response => {
  934. var response = this.childResponse
  935. if (response.data.state == 1) {
  936. this.adminUser = response.data.data.users
  937. this.users = response.data.data.users
  938. this.patientInfo = response.data.data.patientInfo
  939. this.patientInfo.birth = uParseTime(
  940. this.patientInfo.birthday,
  941. '{y}-{m}-{d}'
  942. )
  943. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  944. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  945. this.patientInfo.first_dialysis_date = uParseTime(
  946. response.data.data.patientInfo.first_dialysis_date,
  947. '{y}-{m}-{d}'
  948. )
  949. } else {
  950. this.patientInfo.first_dialysis_date = ''
  951. }
  952. this.check = response.data.data.check
  953. this.xtdate = response.data.data.xtdate
  954. this.predialysis = response.data.data.PredialysisEvaluation
  955. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  956. this.predialysis.blood_access_part_opera_id
  957. )
  958. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  959. // console.log('透后体重', this.afterdialysis)
  960. this.lastafterdialysis = response.data.data.assessmentAfterDislysis
  961. this.operators = response.data.data.operators
  962. console.log('operators', this.operators)
  963. this.dialysisOrder =
  964. response.data.data.dialysisOrder === null
  965. ? null
  966. : response.data.data.dialysisOrder
  967. if (this.operators.length > 0) {
  968. var operatorsLen = this.operators.length
  969. for (var index = 0; index < operatorsLen; index++) {
  970. this.$set(
  971. this.operatorMaps,
  972. this.operators[index].creator,
  973. this.operators[index]
  974. )
  975. }
  976. }
  977. this.afterdialysis.txqnx = -1
  978. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  979. this.afterdialysis.txqnx = 0
  980. }
  981. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  982. this.afterdialysis.txqnx = 1
  983. }
  984. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  985. this.afterdialysis.txqnx = 2
  986. }
  987. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  988. this.afterdialysis.txqnx = 3
  989. }
  990. this.afterdialysis.complications = this.afterdialysis.complication.split(
  991. ','
  992. )
  993. this.afterdialysis.complications_other = []
  994. this.afterdialysis.complications_index = []
  995. var acllen = this.afterdialysis.complications.length
  996. for (let index = 0; index < acllen; index++) {
  997. if (
  998. this.complications.indexOf(
  999. this.afterdialysis.complications[index]
  1000. ) >= 0
  1001. ) {
  1002. this.afterdialysis.complications_index.push(
  1003. this.afterdialysis.complications[index]
  1004. )
  1005. } else if (
  1006. this.complications.indexOf(
  1007. this.afterdialysis.complications[index]
  1008. ) < 0 &&
  1009. this.afterdialysis.complications_other.indexOf(
  1010. this.afterdialysis.complications[index]
  1011. ) < 0
  1012. ) {
  1013. this.afterdialysis.complications_other.push(
  1014. this.afterdialysis.complications[index]
  1015. )
  1016. }
  1017. }
  1018. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1019. ','
  1020. )
  1021. this.prescription = response.data.data.dialysisPrescription
  1022. console.log('透析处方', this.prescription)
  1023. this.receiverTreatmentAccess =
  1024. response.data.data.receiverTreatmentAccess
  1025. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1026. var rwLen = this.replacementWays.length
  1027. this.prescription.replacement = ''
  1028. for (let index = 0; index < rwLen; index++) {
  1029. if (
  1030. this.replacementWays[index].id == this.prescription.replacement_way
  1031. ) {
  1032. this.prescription.replacement = this.replacementWays[index].name
  1033. break
  1034. }
  1035. }
  1036. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1037. this.prescription.dialysate_formulation
  1038. )
  1039. var paLen = this.perfusionApparatus.length
  1040. this.prescription.perfusion_apparatus_name = ''
  1041. for (let index = 0; index < paLen; index++) {
  1042. if (
  1043. this.perfusionApparatus[index].id ==
  1044. this.prescription.perfusion_apparatus
  1045. ) {
  1046. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1047. index
  1048. ].name
  1049. break
  1050. }
  1051. }
  1052. var acLen = this.anticoagulantsConfit.length
  1053. var thisALID = this.prescription.anticoagulant
  1054. this.prescription.anticoagulant_name = ''
  1055. if (
  1056. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  1057. this.anticoagulantsConfit[thisALID] != null
  1058. ) {
  1059. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1060. thisALID
  1061. ].name
  1062. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1063. }
  1064. this.advices = response.data.data.advices
  1065. this.tableAdvice = response.data.data.advices;
  1066. console.log("医嘱数据2222222222",this.advices)
  1067. this.monitors = response.data.data.monitors
  1068. this.summary = response.data.data.summary
  1069. this.org_template_info = response.data.data.org_template_info
  1070. if (this.monitors.length < 7) {
  1071. var nl = 7 - this.monitors.length
  1072. for (let index = 0; index < nl; index++) {
  1073. this.monitors.push([])
  1074. }
  1075. }
  1076. var tempmonitorflag = true
  1077. for (let index = 0; index < this.monitors.length; index++) {
  1078. const monitor = this.monitors[index]
  1079. this.monitors[index].end = ''
  1080. if (Object.keys(monitor).length > 0 && index > 1) {
  1081. if (this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) {
  1082. this.monitors[index].end = '【结束透析】'
  1083. tempmonitorflag = false
  1084. }
  1085. if (tempmonitorflag && index == this.monitors.length - 1) {
  1086. this.monitors[index].end = '【结束透析】'
  1087. }
  1088. }
  1089. }
  1090. this.jilurow = this.monitors.length + 1
  1091. this.advice_jilurow = this.advices.length + 1
  1092. var childMap = {}
  1093. for (const index in this.advices) {
  1094. if (this.advices[index].parent_id == 0) {
  1095. continue
  1096. }
  1097. if (!(this.advices[index].parent_id in childMap)) {
  1098. childMap[this.advices[index].parent_id] = []
  1099. }
  1100. childMap[this.advices[index].parent_id].push(this.advices[index])
  1101. }
  1102. var advices = []
  1103. for (const index in this.advices) {
  1104. if (this.advices[index].parent_id > 0) {
  1105. continue
  1106. }
  1107. var item = this.advices[index]
  1108. if (item.id in childMap) {
  1109. item.children = childMap[item.id]
  1110. } else {
  1111. item.children = []
  1112. }
  1113. advices.push(item)
  1114. }
  1115. var leftAdvice = []
  1116. var rightAdvice = []
  1117. var adlen = advices.length
  1118. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1119. for (var i = 0; i < halfLen; i++) {
  1120. leftAdvice.push(advices[i])
  1121. rightAdvice.push(advices[i + halfLen])
  1122. }
  1123. if (halfLen < 5) {
  1124. var nl = 5 - leftAdvice.length
  1125. for (let index = 0; index < nl; index++) {
  1126. leftAdvice.push([])
  1127. }
  1128. var nl = 5 - rightAdvice.length
  1129. for (let index = 0; index < nl; index++) {
  1130. rightAdvice.push([])
  1131. }
  1132. }
  1133. this.advices = []
  1134. for (var i = 0; i < halfLen; i++) {
  1135. var item = []
  1136. item.push(leftAdvice[i])
  1137. item.push(rightAdvice[i])
  1138. this.advices.push(item)
  1139. }
  1140. this.loading = false
  1141. this.doctor_advices =
  1142. response.data.data.advices == null ? [] : JSON.parse(JSON.stringify(response.data.data.advices))
  1143. for (let index = 0; index < this.doctor_advices.length; index++) {
  1144. this.doctor_advices[index]['isShow'] = 2
  1145. }
  1146. // if (this.doctor_advices.length > 0) {
  1147. // var group = this.newAdviceGroupObject()
  1148. // var initGroupBlock = function(group, advice) {
  1149. // group.group_no = advice.groupno
  1150. // }
  1151. // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  1152. // var new_advice_index = 0
  1153. // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  1154. // new_advice_index = index + this.doctor_advices[index].children.length + 1
  1155. // var doctor_advice = {
  1156. // delivery_way: this.doctor_advices[index].delivery_way,
  1157. // execution_frequency: this.doctor_advices[index].execution_frequency,
  1158. // groupno: this.doctor_advices[index].groupno,
  1159. // id: this.doctor_advices[index].id,
  1160. // parent_id: this.doctor_advices[index].parent_id,
  1161. // children: this.doctor_advices[index].children,
  1162. // remark: this.doctor_advices[index].remark,
  1163. // execution_staff: this.doctor_advices[index].execution_staff,
  1164. // checker: this.doctor_advices[index].checker,
  1165. // execution_time: this.doctor_advices[index].execution_time,
  1166. // advice_doctor: this.doctor_advices[index].advice_doctor
  1167. // }
  1168. // doctor_advice['isShow'] = 1
  1169. // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1170. // // this.doctor_advices.push(doctor_advice)
  1171. // }
  1172. // }
  1173. // for (let index = 0; index < this.doctor_advices.length; index++) {
  1174. // const advice = this.doctor_advices[index]
  1175. // if (advice.groupno == 0) {
  1176. // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1177. // if (advice.parent_id > 0) {
  1178. // if (this.advice_groups.length > 0) {
  1179. // var parent_group = this.advice_groups[
  1180. // this.advice_groups.length - 1
  1181. // ]
  1182. // if (parent_group.advices.length > 0) {
  1183. // if (parent_group.advices[0].id == advice.parent_id) {
  1184. // parent_group.advices.push(advice)
  1185. // }
  1186. // }
  1187. // }
  1188. // continue
  1189. // } else {
  1190. // if (group.group_no > 0) {
  1191. // this.advice_groups.push(group)
  1192. // group = this.newAdviceGroupObject()
  1193. // }
  1194. // initGroupBlock(group, advice)
  1195. // group.advices.push(advice)
  1196. // this.advice_groups.push(group)
  1197. // group = this.newAdviceGroupObject()
  1198. // continue
  1199. // }
  1200. // }
  1201. // if (group.group_no > 0 && group.group_no != advice.groupno) {
  1202. // this.advice_groups.push(group)
  1203. // group = this.newAdviceGroupObject()
  1204. // }
  1205. // if (group.group_no == 0) {
  1206. // initGroupBlock(group, advice)
  1207. // }
  1208. // if (group.group_no == advice.groupno) {
  1209. // group.advices.push(advice)
  1210. // }
  1211. // }
  1212. // if (group.group_no > 0) {
  1213. // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1214. // this.advice_groups.push(group)
  1215. // }
  1216. // }
  1217. let projects = []
  1218. response.data.data.projects.map(item => {
  1219. if(item.type == 2){
  1220. projects.push(item)
  1221. }
  1222. })
  1223. this.projects = projects
  1224. if ((this.doctor_advices.length + this.projects.length) <= 6) {
  1225. var nl = 6 - (this.doctor_advices.length + this.projects.length)
  1226. this.print_length = 6
  1227. for (let index = 0; index < nl; index++) {
  1228. if (
  1229. this.projects[index] == undefined ||
  1230. this.projects[index].length <= 0
  1231. ) {
  1232. this.projects.push([])
  1233. } else {
  1234. continue
  1235. }
  1236. }
  1237. }
  1238. console.log('this.projects',this.projects)
  1239. // this.totollength = this.doctor_advices.length + this.monitors.length
  1240. // if (this.totollength > 18) {
  1241. // var temp_advice_length = 17 - this.monitors.length
  1242. // var doctor_advices_1 = []
  1243. // var doctor_advices_2 = []
  1244. // for (let index = 0; index < this.doctor_advices.length; index++) {
  1245. // const element = this.doctor_advices[index]
  1246. // if (temp_advice_length > index) {
  1247. // doctor_advices_1.push(element)
  1248. // } else {
  1249. // doctor_advices_2.push(element)
  1250. // }
  1251. // }
  1252. // this.doctor_advices = doctor_advices_1
  1253. // this.doctor_advices_2 = doctor_advices_2
  1254. // }
  1255. console.log(this.advice_groups)
  1256. } else {
  1257. this.loading = false
  1258. this.$message.error('请求数据失败')
  1259. return false
  1260. }
  1261. // })
  1262. },
  1263. bloodAccessParOperaName(id) {
  1264. if (id in this.bloodAccessParOpera) {
  1265. return this.bloodAccessParOpera[id].name
  1266. }
  1267. return ''
  1268. },
  1269. dialysateFormulationName(id) {
  1270. if (id in this.dialysateFormulationOptions) {
  1271. return this.dialysateFormulationOptions[id].name
  1272. }
  1273. return ''
  1274. },
  1275. getAge: function(val) {
  1276. if (
  1277. this.org_template_info.template_id == 2 ||
  1278. this.org_template_info.template_id == 0
  1279. ) {
  1280. if (val.age == 0) {
  1281. return jsGetAge(val.birth, '-')
  1282. } else {
  1283. return val.age
  1284. }
  1285. } else {
  1286. return jsGetAge(val.birth, '-')
  1287. }
  1288. },
  1289. newAdviceGroupObject: function() {
  1290. return Object.assign(
  1291. {},
  1292. {
  1293. group_no: 0,
  1294. // advice_doctor: 0,
  1295. // start_time: 0,
  1296. advices: []
  1297. // exec_staff: 0,
  1298. // exec_time: 0,
  1299. // checker: 0,
  1300. }
  1301. )
  1302. },
  1303. getFloat: function(x) {
  1304. if (x == 0) {
  1305. return '/'
  1306. }
  1307. if (x != '.') {
  1308. var f = Math.round(x * 100) / 100
  1309. var s = f.toString()
  1310. var rs = s.indexOf('.')
  1311. if (rs <= 0) {
  1312. rs = s.length
  1313. s += '.'
  1314. }
  1315. while (s.length <= rs + 1) {
  1316. s += '0'
  1317. }
  1318. return s
  1319. } else {
  1320. return '0.0'
  1321. }
  1322. }
  1323. },
  1324. watch: {
  1325. 'patientInfo.gender': function() {
  1326. if (this.patientInfo.gender == 1) {
  1327. this.patientInfo_gender_1 = true
  1328. this.patientInfo_gender_2 = false
  1329. } else if (this.patientInfo.gender == 2) {
  1330. this.patientInfo_gender_2 = true
  1331. this.patientInfo_gender_1 = false
  1332. } else {
  1333. this.patientInfo_gender_2 = false
  1334. this.patientInfo_gender_1 = false
  1335. }
  1336. },
  1337. 'patientInfo.source': function() {
  1338. if (this.patientInfo.source == 1) {
  1339. this.patientInfo_source_1 = true
  1340. this.patientInfo_source_2 = false
  1341. } else if (this.patientInfo.source == 2) {
  1342. this.patientInfo_source_2 = true
  1343. this.patientInfo_source_1 = false
  1344. } else {
  1345. this.patientInfo_source_2 = false
  1346. this.patientInfo_source_1 = false
  1347. }
  1348. }
  1349. },
  1350. created() {
  1351. this.way_arr = getDataConfig('hemodialysis', 'way')
  1352. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  1353. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  1354. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  1355. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  1356. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  1357. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  1358. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  1359. var xtuser = this.$store.getters.xt_user
  1360. this.orgname = xtuser.org.org_name
  1361. // this.orgname = "遂溪方济医院";
  1362. this.modeOptions = this.$store.getters.treatment_mode
  1363. this.replacementWays = this.$store.getters.replacement_ways
  1364. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  1365. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1366. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
  1367. this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
  1368. this.blood_access_part_opera = getDataConfig(
  1369. 'hemodialysis',
  1370. 'vascular_access_desc'
  1371. )
  1372. this.org_id = this.$store.getters.xt_user.org.id
  1373. console.log("=====",this.org_id)
  1374. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1375. var bloodAccessParOpera = getDataConfig(
  1376. 'hemodialysis',
  1377. 'vascular_access_desc'
  1378. )
  1379. for (var key in bloodAccessParOpera) {
  1380. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1381. bloodAccessParOpera[key]
  1382. }
  1383. var dialysateFormulationOptions = getDataConfig(
  1384. 'hemodialysis',
  1385. 'dialysate_formulation'
  1386. )
  1387. for (var key in dialysateFormulationOptions) {
  1388. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1389. dialysateFormulationOptions[key]
  1390. }
  1391. const xtdate = this.$route.query && this.$route.query.xtdate
  1392. console.log('xtdate', xtdate)
  1393. const xtno = this.$route.query && this.$route.query.xtno
  1394. console.log('xtno', xtno)
  1395. if (
  1396. typeof xtdate === 'string' &&
  1397. xtdate.length > 0 &&
  1398. typeof xtno === 'string' &&
  1399. xtno.length > 0
  1400. ) {
  1401. this.queryParams.xtdate = xtdate
  1402. this.queryParams.xtno = xtno
  1403. this.getDialysisRecord()
  1404. } else {
  1405. this.$message.error('参数不齐')
  1406. return false
  1407. }
  1408. }
  1409. }
  1410. </script>
  1411. <style>
  1412. .print_page_main_content {
  1413. background-color: white;
  1414. width: 960px;
  1415. margin: 0 auto 50px;
  1416. padding: 0 0 0 0;
  1417. page-break-after: always;
  1418. }
  1419. .print_page_main_content .order-yy-name {
  1420. margin: auto;
  1421. text-align: center;
  1422. font-size: 20px;
  1423. letter-spacing: 5px;
  1424. }
  1425. .dialysis-print-order .order-title {
  1426. margin: auto;
  1427. font-weight: 600;
  1428. text-align: center;
  1429. font-size: 22px;
  1430. padding: 10px;
  1431. }
  1432. .print_page_main_content .order_title {
  1433. text-align: center;
  1434. font-size: 23px;
  1435. line-height: 50px;
  1436. font-weight: 500;
  1437. }
  1438. .row {
  1439. font-size: 14px;
  1440. line-height: 20px;
  1441. padding: 5px 0;
  1442. }
  1443. .inline_block {
  1444. display: inline-block;
  1445. }
  1446. .under_line_two {
  1447. display: inline-block;
  1448. border-bottom: 1px solid #999;
  1449. text-align: left;
  1450. white-space: nowrap;
  1451. width: 50%;
  1452. }
  1453. .under_line_two::before {
  1454. content: "\00A0";
  1455. }
  1456. .under_line_two::after {
  1457. content: "\00A0";
  1458. }
  1459. .under_line {
  1460. display: inline-block;
  1461. border-bottom: 1px solid #999;
  1462. text-align: center;
  1463. white-space: nowrap;
  1464. width: 50%;
  1465. }
  1466. .under_line::before {
  1467. content: "\00A0";
  1468. }
  1469. .under_line::after {
  1470. content: "\00A0";
  1471. }
  1472. .flex {
  1473. display: -webkit-box;
  1474. display: -moz-box;
  1475. display: -ms-flexbox;
  1476. display: -webkit-flex;
  1477. display: flex;
  1478. align-items: center;
  1479. -webkit-align-items: center;
  1480. box-align: center;
  1481. -moz-box-align: center;
  1482. -webkit-box-align: center;
  1483. text-align: center;
  1484. -webkit-justify-content: space-between;
  1485. justify-content: space-between;
  1486. -moz-box-pack: space-between;
  1487. -webkit--moz-box-pack: space-between;
  1488. box-pack: space-between;
  1489. }
  1490. .print_page_main_content .proj_table {
  1491. width: 100%;
  1492. border: 1px solid;
  1493. border-collapse: collapse;
  1494. padding: 2px;
  1495. }
  1496. .print_page_main_content .proj_table tbody tr td {
  1497. border: 1px solid;
  1498. /* text-align: center; */
  1499. font-size: 16px;
  1500. padding: 5px 8px;
  1501. line-height: 30px;
  1502. }
  1503. .print_page_main_content .proj_table .inside_table {
  1504. width: 100%;
  1505. border: hidden; /* 解决边框冲突 */
  1506. border-collapse: collapse;
  1507. }
  1508. .print_page_main_content .proj_table .inside_table tr td {
  1509. border: 1px solid;
  1510. text-align: center;
  1511. font-size: 14px;
  1512. padding: 6px 5px;
  1513. line-height: 16px;
  1514. }
  1515. .print-table-no {
  1516. width: 100%;
  1517. text-align: center;
  1518. border-collapse: collapse;
  1519. font-size: 14px;
  1520. }
  1521. .es-img {
  1522. height: 20px;
  1523. }
  1524. .advice-name {
  1525. text-align: left !important;
  1526. line-height: 16px !important;
  1527. }
  1528. .advice-children {
  1529. display: flex;
  1530. }
  1531. .margin-bottom-50 {
  1532. }
  1533. .margin-bottom-300 {
  1534. margin-bottom: 450px;
  1535. }
  1536. .margin-bottom-600 {
  1537. margin-bottom: 600px;
  1538. }
  1539. .margin-bottom-900 {
  1540. margin-bottom: 900px;
  1541. }
  1542. .print-yema {
  1543. position: absolute;
  1544. left: 50%;
  1545. }
  1546. .print-yema2 {
  1547. position: absolute;
  1548. left: 50%;
  1549. }
  1550. .print-yema3 {
  1551. position: absolute;
  1552. left: 50%;
  1553. }
  1554. .print-yema4 {
  1555. position: absolute;
  1556. left: 50%;
  1557. }
  1558. .check_box_panel .did_checke::after {
  1559. font-size: 8px;
  1560. margin-left: 2px;
  1561. margin-top: 2px;
  1562. position: absolute;
  1563. }
  1564. </style>