血透系统PC前端

batch_print_order_five_two.vue 53KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. <el-button :loading="loading" size="small" icon="el-icon-printer" @click="printAction" type="primary">打印
  6. </el-button>
  7. </div>
  8. <div class="app-container">
  9. <div id="print_content">
  10. <div v-for="(record, index) in records" :key="index" class="print_page_main_content">
  11. <div class="order-yy-name">{{orgname}}</div>
  12. <div class="order_title">血液净化科医嘱及执行单</div>
  13. <div class="row">
  14. <div class="inline_block">
  15. 科室:
  16. <check-box text="门诊透析" :checked="record.patient.source == 1"></check-box>
  17. &nbsp;
  18. <check-box text="住院" :checked="record.patient.source == 2"></check-box>
  19. <!-- TODO -->
  20. </div>
  21. <div class="inline_block" style="margin-left: 5px;">
  22. 住院号:
  23. <div class="under_line" style="width: 70px;text-align: left" v-if="record.patient.admission_number">
  24. {{record.patient.admission_number}}
  25. </div>
  26. <div class="under_line" style="width: 70px;" v-else>
  27. {{'/'}}
  28. </div>
  29. </div>
  30. <div class="inline_block" style="margin-left:10px;">
  31. 姓名:
  32. <div class="under_line" style="width: 50px;text-align: left">{{ record.patient.name }}</div>
  33. </div>
  34. <div class="inline_block" style="margin-left: 10px;">
  35. 性别:
  36. <check-box text="男" :checked="record.patient.gender == 1"></check-box>
  37. &nbsp
  38. <check-box text="女" :checked="record.patient.gender == 2"></check-box>
  39. </div>
  40. <div class="inline_block" style="margin-left: 10px;">
  41. 年龄:
  42. <div class="under_line" style="width:30px;text-align: left">{{getAge(record.patient)}}</div>
  43. </div>
  44. <div class="inline_block" style="margin-left: 10px;">
  45. 诊断:
  46. <div class="under_line_two" style="width: 180px;text-align: left">{{record.patient.diagnose}}</div>
  47. </div>
  48. </div>
  49. <table class="proj_table">
  50. <tbody>
  51. <tr>
  52. <td>
  53. <!--<div class="row" style="padding: 2px 0;line-height:24px;" v-if="record.patient.diagnose.length > 10">-->
  54. <!--<div class="inline_block">-->
  55. <!--诊断:-->
  56. <!--<div class="under_line" style="width: 500px;text-align: left">{{record.patient.diagnose}}</div>-->
  57. <!--</div>-->
  58. <!--</div>-->
  59. <div class="row" style="padding: 2px 0;line-height:24px;">
  60. <div class="inline_block">治疗方式:
  61. <check-box text="HD" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 1)"></check-box>
  62. <check-box text="HDF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 2)"></check-box>
  63. <check-box text="HF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 5)"></check-box>
  64. <check-box text="HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 4)"></check-box>
  65. <check-box text="HD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 3)"></check-box>
  66. </div>
  67. <!--<div class="inline_block" v-if="record.patient.diagnose.length > 10" style="margin-left: -10px">-->
  68. <!--&emsp;治疗方式:-->
  69. <!--<check-box text="HD" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 1)"></check-box>-->
  70. <!--<check-box text="HDF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 2)"></check-box>-->
  71. <!--<check-box text="HF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 5)"></check-box>-->
  72. <!--<check-box text="HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 4)"></check-box>-->
  73. <!--<check-box text="HD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 3)"></check-box>-->
  74. <!--</div>-->
  75. <div class="inline_block" style="margin-left:20px;">
  76. 其它:
  77. <div class="under_line" style="width: 100px;text-align: left">{{
  78. record.prescription&&record.prescription.mode_id>5?record.prescription.mode:''}}
  79. </div>
  80. </div>
  81. <div class="inline_block" style="margin-left:20px;">
  82. 治疗时间:
  83. <div class="under_line" style="width: 30px;text-align: left">
  84. {{record.prescription&&record.prescription.dialysis_duration_hour?record.prescription.dialysis_duration_hour:'0'}}
  85. </div>
  86. h
  87. <div class="under_line" style="width: 30px;text-align: left">
  88. {{record.prescription&&record.prescription.dialysis_duration_minute?record.prescription.dialysis_duration_minute:'0'}}
  89. </div>
  90. min
  91. </div>
  92. <div class="inline_block" style="margin-left:20px;">
  93. 病情:
  94. <check-box
  95. v-for="(item, index) in sick_condition_arr" :key="index"
  96. :text="item.name"
  97. :checked="
  98. isCheckBoxChecked(
  99. record.receive_assessment,
  100. 'sick_condition',
  101. item.id
  102. )
  103. "
  104. ></check-box>
  105. <!--<check-box text="一般" :checked="isCheckBoxChecked(record.receive_assessment, 'sick_condition', 1)"></check-box>-->
  106. <!--<check-box text="重" :checked="isCheckBoxChecked(record.receive_assessment, 'sick_condition', 2)"></check-box>-->
  107. <!--<check-box text="危" :checked="isCheckBoxChecked(record.receive_assessment, 'sick_condition', 3)"></check-box>-->
  108. <div class="inline_block">
  109. 其它:
  110. <div class="under_line" style="width: 150px;text-align: left">
  111. {{ record.receive_assessment?record.receive_assessment.sick_condition_other:''}}
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. <div class="row" style="padding: 2px 0;line-height:24px;">
  117. <div class="inline_block">
  118. 体液过多症状:
  119. <check-box text="无" :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 1)"></check-box>
  120. <check-box text="下肢水肿+"
  121. :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 2)"></check-box>
  122. <check-box text="下肢水肿++"
  123. :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 4)"></check-box>
  124. <check-box text="下肢水肿+++"
  125. :checked="isCheckBoxChecked(record.prescription, 'body_fluid', 4)"></check-box>
  126. </div>
  127. <div class="inline_block">
  128. 其它:
  129. <div class="under_line" style="width: 200px;text-align: left">
  130. {{ record.prescription?record.prescription.body_fluid_other:''}}
  131. </div>
  132. </div>
  133. </div>
  134. <div class="row" style="padding: 2px 0; line-height:24px;">
  135. <div class="inline_block">透析器型号:
  136. <div class="under_line_two" style="width: 200px;text-align: left">
  137. {{record.prescription?record.prescription.dialyzer_perfusion_apparatus:''}}
  138. </div>
  139. </div>
  140. <div class="inline_block" style="margin-left:20px;">
  141. 透析前使用特殊药物:
  142. <check-box text="无"
  143. :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 1)"></check-box>
  144. <check-box text="降压药"
  145. :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 2)"></check-box>
  146. <check-box text="抗凝"
  147. :checked="isCheckBoxChecked(record.prescription, 'special_medicine', 3)"></check-box>
  148. </div>
  149. <div class="inline_block">
  150. 其它:
  151. <div class="under_line" style="width: 200px;text-align: left">
  152. {{ record.prescription?record.prescription.special_medicine_other:''}}
  153. </div>
  154. </div>
  155. </div>
  156. <div class="row" style="padding: 2px 0;line-height:24px;">
  157. <div class="inline_block">
  158. 透析液(mmol/L):
  159. &emsp;Ca<sup>2+</sup>:
  160. <div class="under_line" style="width: 60px;text-align: left"
  161. v-if="record.prescription&&record.prescription.calcium">
  162. {{getFloat(record.prescription.calcium)}}
  163. </div>
  164. <div class="under_line" style="width: 60px;" v-else>
  165. {{'/'}}
  166. </div>
  167. mmol/L
  168. &emsp;Na<sup>+</sup>:
  169. <div class="under_line" style="width: 60px;text-align: left"
  170. v-if="record.prescription&&record.prescription.sodium">
  171. {{getFloat(record.prescription.sodium)}}
  172. </div>
  173. <div class="under_line" style="width: 60px;" v-else>
  174. {{'/'}}
  175. </div>
  176. mmol/L
  177. &emsp;K<sup>+</sup>:
  178. <div class="under_line" style="width: 60px;text-align: left"
  179. v-if="record.prescription&&record.prescription.kalium">
  180. {{getFloat(record.prescription.kalium)}}
  181. </div>
  182. <div class="under_line" style="width: 60px;" v-else>
  183. {{'/'}}
  184. </div>
  185. mmol/L
  186. </div>
  187. <div class="inline_block"
  188. v-if="record.prescription == null">
  189. &emsp;置换液后/前稀释 总量:
  190. <div class="under_line" style="width: 60px;">
  191. {{'/'}}
  192. </div>
  193. L
  194. </div>
  195. <div class="inline_block"
  196. v-if="record.prescription != null &&record.prescription.displace_liqui_part == 0">
  197. &emsp;置换液后/前稀释 总量:
  198. <div class="under_line" style="width: 60px;text-align: left"
  199. v-if="record.prescription&&record.prescription.displace_liqui_value">
  200. {{record.prescription.displace_liqui_value}}
  201. </div>
  202. <div class="under_line" style="width: 60px;" v-else>
  203. {{'/'}}
  204. </div>
  205. L
  206. </div>
  207. <div class="inline_block"
  208. v-if="record.prescription != null &&record.prescription.displace_liqui_part == 1">
  209. &emsp;置换液前稀释 总量:
  210. <div class="under_line" style="width: 60px;text-align: left"
  211. v-if="record.prescription&&record.prescription.displace_liqui_value">
  212. {{record.prescription.displace_liqui_value}}
  213. </div>
  214. <div class="under_line" style="width: 60px;" v-else>
  215. {{'/'}}
  216. </div>
  217. L
  218. </div>
  219. <div class="inline_block"
  220. v-if="record.prescription != null &&record.prescription.displace_liqui_part == 2">
  221. &emsp;置换液后稀释 总量:
  222. <div class="under_line" style="width: 60px;text-align: left"
  223. v-if="record.prescription&&record.prescription.displace_liqui_value">
  224. {{record.prescription.displace_liqui_value}}
  225. </div>
  226. <div class="under_line" style="width: 60px;" v-else>
  227. {{'/'}}
  228. </div>
  229. L
  230. </div>
  231. </div>
  232. <div class="row" style="padding: 2px 0;line-height:24px;">
  233. <div class="inline_block">
  234. 血管通路:
  235. <check-box text="内瘘"
  236. :checked="isCheckBoxChecked(record.prescription, 'blood_access', 1)"></check-box>
  237. <check-box text="直穿"
  238. :checked="isCheckBoxChecked(record.prescription, 'blood_access', 2)"></check-box>
  239. <check-box text="导管"
  240. :checked="isCheckBoxChecked(record.prescription, 'blood_access', 3)"></check-box>
  241. </div>
  242. <div class="inline_block">
  243. &emsp;血流量:
  244. <div class="under_line" style="width: 60px;text-align: left" v-if="record.prescription">
  245. {{record.prescription.blood_flow_volume}}
  246. </div>
  247. <div class="under_line" style="width: 60px;" v-else>
  248. {{'/'}}
  249. </div>
  250. ml/min
  251. </div>
  252. <div class="inline_block">
  253. &emsp;透析液流量:
  254. <div class="under_line" style="width:60px;text-align: left" v-if="record.prescription">
  255. {{record.prescription.dialysate_flow}}
  256. </div>
  257. <div class="under_line" style="width:60px;" v-else>
  258. {{'/'}}
  259. </div>
  260. ml/min
  261. </div>
  262. </div>
  263. <div class="row" style="padding: 2px 0;line-height:24px;">
  264. <div class="inline_block">
  265. 透前体重:
  266. <div class="under_line" style="width: 60px;text-align: left"
  267. v-if="record.assessment_before_dislysis">
  268. {{record.assessment_before_dislysis.weight_before}}
  269. </div>
  270. <div class="under_line" style="width: 60px;" v-else>
  271. {{'/'}}
  272. </div>
  273. kg
  274. </div>
  275. <div class="inline_block">
  276. &emsp;设定超滤量:
  277. <div class="under_line" style="width: 60px;text-align: left"
  278. v-if="record.prescription&&record.prescription.target_ultrafiltration">
  279. {{getFloat(record.prescription.target_ultrafiltration)}}
  280. </div>
  281. <div class="under_line" style="width: 60px;" v-else>
  282. {{'/'}}
  283. </div>
  284. L
  285. </div>
  286. <div class="inline_block">
  287. &emsp;实际超滤量:
  288. <div class="under_line" style="width:60px;text-align: left"
  289. v-if="record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_ultrafiltration">
  290. {{getFloat(record.assessment_after_dislysis.actual_ultrafiltration)}}
  291. </div>
  292. <div class="under_line" style="width:60px;" v-else>
  293. {{'/'}}
  294. </div>
  295. L
  296. </div>
  297. <div class="inline_block">
  298. 透后体重:
  299. <div class="under_line" style="width: 60px;text-align: left"
  300. v-if="record.assessment_after_dislysis&&record.assessment_after_dislysis.weight_after">
  301. {{record.assessment_after_dislysis.weight_after}}
  302. </div>
  303. <div class="under_line" style="width: 60px" v-else>
  304. {{'/'}}
  305. </div>
  306. kg
  307. </div>
  308. </div>
  309. </td>
  310. </tr>
  311. </tbody>
  312. </table>
  313. <div
  314. :style="record.advices2&&record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;position: relative;border-top:0;':'border-top:0;text-align:center;position: relative;border-top:0;'">
  315. <table class="print-table-no" border="1" style="border-top:0;" count="0">
  316. <tbody>
  317. <tr style="line-height:35px;padding:8px 5px;">
  318. <td colspan="7" style="font-size: 18px">医嘱</td>
  319. </tr>
  320. <tr style="line-height:35px;padding:8px 5px;">
  321. <td colspan="4" style="font-size: 16px">开医嘱</td>
  322. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  323. </tr>
  324. <tr style="line-height:35px;padding:8px 5px;">
  325. <td style="font-size: 16px" width="10%">时间</td>
  326. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  327. <td style="font-size: 16px" width="10%">医生签名</td>
  328. <td style="font-size: 16px" width="10%">核对人签名</td>
  329. <td style="font-size: 16px" width="10%">执行人签名</td>
  330. <td style="font-size: 16px" width="10%">时间</td>
  331. </tr>
  332. <template v-for="(group, group_index) in record.advices">
  333. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
  334. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  335. <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  336. <span v-else>&nbsp;<br/>&nbsp;</span>
  337. </td>
  338. <td height="60px" class="advice-name" style="padding-left:7px;"
  339. :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2"
  340. v-if="advice.isShow == 2">
  341. <span>{{advice.advice_name }}</span>
  342. <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
  343. <!--<span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
  344. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  345. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  346. <span v-if="advice.parent_id == 0 &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
  347. <span v-if="advice.parent_id == 0 &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
  348. <span
  349. v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0">({{advice.remark}})</span>
  350. </td>
  351. <td colspan="2" height="60px" style="text-align: center" v-else>
  352. <span>{{advice.delivery_way}}</span>
  353. <span>{{advice.execution_frequency}}</span>
  354. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  355. </td>
  356. <td width="10%"
  357. v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2"></td>
  358. <td height="60px">
  359. <span
  360. v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
  361. <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else>
  362. </td>
  363. <td height="60px">
  364. <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
  365. <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else>
  366. </td>
  367. <td height="60px">
  368. <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
  369. <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else>
  370. </td>
  371. <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span>
  372. </td>
  373. </tr>
  374. </template>
  375. </tbody>
  376. </table>
  377. <div class="print-yema4">1</div>
  378. </div>
  379. <template v-if="record.advices2&&record.advices2.length > 0">
  380. <div style="position: relative;">
  381. <div class="order-yy-name">{{orgname}}</div>
  382. <div class="order_title">血液净化科医嘱及执行单</div>
  383. <div class="row">
  384. <div class="inline_block">
  385. 科室:
  386. <check-box text="门诊透析" :checked="record.patient.source == 1"></check-box>
  387. &nbsp;
  388. <check-box text="住院" :checked="record.patient.source == 2"></check-box>
  389. <!-- TODO -->
  390. </div>
  391. <div class="inline_block" style="margin-left: 5px;">
  392. 住院号:
  393. <div class="under_line" style="width: 70px;text-align: left" v-if="record.patient.admission_number">
  394. {{record.patient.admission_number}}
  395. </div>
  396. <div class="under_line" style="width: 70px;" v-else>
  397. {{'/'}}
  398. </div>
  399. </div>
  400. <div class="inline_block" style="margin-left:10px;">
  401. 姓名:
  402. <div class="under_line" style="width: 50px;text-align: left">{{ record.patient.name }}</div>
  403. </div>
  404. <div class="inline_block" style="margin-left: 10px;">
  405. 性别:
  406. <check-box text="男" :checked="record.patient.gender == 1"></check-box>
  407. &nbsp
  408. <check-box text="女" :checked="record.patient.gender == 2"></check-box>
  409. </div>
  410. <div class="inline_block" style="margin-left: 10px;">
  411. 年龄:
  412. <div class="under_line" style="width:30px;text-align: left">{{getAge(record.patient)}}</div>
  413. </div>
  414. <div class="inline_block" style="margin-left: 10px;">
  415. 诊断:
  416. <div class="under_line_two" style="width: 180px;text-align: left">{{record.patient.diagnose}}</div>
  417. </div>
  418. </div>
  419. <table class="print-table-no" border="1" count="0">
  420. <tbody>
  421. <tr style="line-height:35px;padding:8px 5px;">
  422. <td colspan="7" style="font-size: 18px">医嘱</td>
  423. </tr>
  424. <tr style="line-height:35px;padding:8px 5px;">
  425. <td colspan="4" style="font-size: 16px">开医嘱</td>
  426. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  427. </tr>
  428. <tr style="line-height:35px;padding:8px 5px;">
  429. <td style="font-size: 16px" width="10%">时间</td>
  430. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  431. <td style="font-size: 16px" width="10%">医生签名</td>
  432. <td style="font-size: 16px" width="10%">核对人签名</td>
  433. <td style="font-size: 16px" width="10%">执行人签名</td>
  434. <td style="font-size: 16px" width="10%">时间</td>
  435. </tr>
  436. <template v-for="(group, group_index) in record.advices2">
  437. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
  438. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  439. <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  440. <span v-else>&nbsp;<br/>&nbsp;</span>
  441. </td>
  442. <td height="60px" class="advice-name" style="padding-left:7px;"
  443. :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2"
  444. v-if="advice.isShow == 2">
  445. <span>{{advice.advice_name }}</span>
  446. <span v-if="advice.advice_desc">{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
  447. <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
  448. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  449. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  450. <span v-if="advice.parent_id == 0 &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
  451. <span v-if="advice.parent_id == 0 &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
  452. <span
  453. v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0">({{advice.remark}})</span>
  454. </td>
  455. <td colspan="2" height="60px" style="text-align: center" v-else>
  456. <span>{{advice.delivery_way}}</span>
  457. <span>{{advice.execution_frequency}}</span>
  458. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  459. </td>
  460. <td width="10%"
  461. v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2"></td>
  462. <td height="60px">
  463. <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
  464. <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else>
  465. </td>
  466. <td height="60px">
  467. <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
  468. <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else>
  469. </td>
  470. <td height="60px">
  471. <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
  472. <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else>
  473. </td>
  474. <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span>
  475. </td>
  476. </tr>
  477. </template>
  478. </tbody>
  479. </table>
  480. <div class="print-yema5">2</div>
  481. </div>
  482. </template>
  483. </div>
  484. </div>
  485. </div>
  486. </div>
  487. </template>
  488. <script>
  489. import CheckBox from './option_check_box'
  490. import { GetBatchPrintDialysisData } from '@/api/print_data'
  491. import { jsGetAge, uParseTime } from '@/utils/tools'
  492. import { getDataConfig } from '@/utils/data'
  493. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  494. export default {
  495. name: 'BatchPrintOrder',
  496. components: {
  497. CheckBox,
  498. BreadCrumb
  499. },
  500. data() {
  501. return {
  502. crumbs: [
  503. { path: false, name: '透析管理' },
  504. { path: false, name: '批量打印' }
  505. ],
  506. records: [ // 模拟有多条数据
  507. // {
  508. // monitor_records: [ {},{},{},{},{},{},{},{},{},{},{}, ],
  509. // advices: [ {},{},{},{},{},{},{}, ],
  510. // },
  511. // {
  512. // monitor_records: [],
  513. // advices: [],
  514. // },
  515. ],
  516. way_arr: [],
  517. consciousness_arr: [],
  518. appetite_arr: [],
  519. posture_arr: [],
  520. sick_condition_arr: [],
  521. precaution_arr: [],
  522. intake_arr: [],
  523. nutrition_arr: [],
  524. loading: false,
  525. orgname: '',
  526. bloodAccessParOpera: {},
  527. anticoagulantsConfit: {},
  528. dialysateFormulationOptions: {},
  529. operatorMaps: {},
  530. operators: [],
  531. adminUser: [],
  532. doctor_advices: [],
  533. advice_groups: [],
  534. advice_groups_2: [],
  535. complications: ['低血压', '高血压', '心律失常', '头晕', '头痛', '呕吐', '抽搐', '出血', '心衰', '腹痛']
  536. }
  537. },
  538. created() {
  539. this.way_arr = getDataConfig('hemodialysis', 'way')
  540. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  541. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  542. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  543. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  544. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  545. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  546. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  547. var xtuser = this.$store.getters.xt_user
  548. this.orgname = xtuser.org.org_name
  549. // this.orgname = "遂溪方济医院";
  550. this.modeOptions = this.$store.getters.treatment_mode
  551. // this.replacementWays = this.$store.getters.replacement_ways;
  552. // this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  553. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  554. var bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  555. for (var key in bloodAccessParOpera) {
  556. this.bloodAccessParOpera[bloodAccessParOpera[key].id] = bloodAccessParOpera[key]
  557. }
  558. var dialysateFormulationOptions = getDataConfig('hemodialysis', 'dialysate_formulation')
  559. for (var key in dialysateFormulationOptions) {
  560. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] = dialysateFormulationOptions[key]
  561. }
  562. // const xtdate = this.$route.query && this.$route.query.xtdate;
  563. // const xtno = this.$route.query && this.$route.query.xtno;
  564. // if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
  565. // this.queryParams.xtdate = xtdate;
  566. // this.queryParams.xtno = xtno;
  567. // this.getDialysisRecord();
  568. // } else {
  569. // this.$message.error("参数不齐");
  570. // return false;
  571. // }
  572. },
  573. mounted() {
  574. this.loading = true
  575. var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids
  576. if (ids.length == 0) {
  577. this.$router.back(-1)
  578. return
  579. }
  580. GetBatchPrintDialysisData(ids.join(',')).then(rs => {
  581. var resp = rs.data
  582. if (resp.state == 1) {
  583. this.records = this.records.concat(resp.data.schedules)
  584. for (const recordIndex in this.records) {
  585. this.advice_groups = []
  586. this.advice_groups_2 = []
  587. var dlegh = 0
  588. if ((this.records[recordIndex].assessment_before_dislysis &&
  589. this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure != 0 &&
  590. this.records[recordIndex].assessment_before_dislysis.diastolic_blood_pressure != 0) ||
  591. (this.records[recordIndex].assessment_before_dislysis && this.records[recordIndex].assessment_before_dislysis.remark.length > 0) ||
  592. (this.records[recordIndex].assessment_before_dislysis && this.records[recordIndex].assessment_before_dislysis.pulse_frequency != 0) ||
  593. (this.records[recordIndex].assessment_before_dislysis && this.records[recordIndex].assessment_before_dislysis.breathing_rate != 0) ||
  594. (this.records[recordIndex].assessment_before_dislysis && this.records[recordIndex].assessment_before_dislysis.temperature != 0)) {
  595. var nl = 8
  596. this.records[recordIndex].print_length = 8
  597. } else {
  598. var nl = 9
  599. this.records[recordIndex].print_length = 9
  600. }
  601. if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 8) {
  602. dlegh = nl - this.records[recordIndex].monitor_records.length
  603. }
  604. if (this.records[recordIndex].monitor_records.length <= 0) {
  605. dlegh = nl
  606. }
  607. if (dlegh > 0) {
  608. if (typeof (this.records[recordIndex].monitor_records) === 'undefined' || this.records[recordIndex].monitor_records == null) {
  609. this.records[recordIndex].monitor_records = []
  610. }
  611. for (let index = 0; index < dlegh; index++) {
  612. this.records[recordIndex].monitor_records.push([])
  613. }
  614. }
  615. this.records[recordIndex].monitor_records2 = []
  616. if (this.records[recordIndex].monitor_records.length > 13) {
  617. const tempMonitors = []
  618. const tempMonitors2 = []
  619. for (let index = 0; index < this.records[recordIndex].monitor_records.length; index++) {
  620. if (index < 13) {
  621. tempMonitors.push(this.records[recordIndex].monitor_records[index])
  622. } else {
  623. tempMonitors2.push(this.records[recordIndex].monitor_records[index])
  624. }
  625. }
  626. this.records[recordIndex].monitor_records = tempMonitors
  627. this.records[recordIndex].monitor_records2 = tempMonitors2
  628. }
  629. var childMap = {}
  630. for (const index in this.records[recordIndex].advices) {
  631. if (this.records[recordIndex].advices[index].parent_id == 0) {
  632. continue
  633. }
  634. if (!(this.records[recordIndex].advices[index].parent_id in childMap)) {
  635. childMap[this.records[recordIndex].advices[index].parent_id] = []
  636. }
  637. childMap[this.records[recordIndex].advices[index].parent_id].push(this.records[recordIndex].advices[index])
  638. }
  639. var advices = []
  640. for (const index in this.records[recordIndex].advices) {
  641. if (this.records[recordIndex].advices[index].parent_id > 0) {
  642. continue
  643. }
  644. var item = this.records[recordIndex].advices[index]
  645. if (item.id in childMap) {
  646. item.children = childMap[item.id]
  647. } else {
  648. item.children = []
  649. }
  650. advices.push(item)
  651. }
  652. this.doctor_advices = this.records[recordIndex].advices == null ? [] : this.records[recordIndex].advices
  653. for (let index = 0; index < this.doctor_advices.length; index++) {
  654. this.doctor_advices[index]['isShow'] = 2
  655. }
  656. if (this.doctor_advices.length > 0) {
  657. var group = this.newAdviceGroupObject()
  658. var initGroupBlock = function(group, advice) {
  659. group.group_no = advice.groupno
  660. }
  661. for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  662. var new_advice_index = 0
  663. if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  664. new_advice_index = index + this.doctor_advices[index].children.length + 1
  665. var doctor_advice = {
  666. delivery_way: this.doctor_advices[index].delivery_way,
  667. execution_frequency: this.doctor_advices[index].execution_frequency,
  668. groupno: this.doctor_advices[index].groupno,
  669. id: this.doctor_advices[index].id,
  670. parent_id: this.doctor_advices[index].parent_id,
  671. children: this.doctor_advices[index].children,
  672. remark: this.doctor_advices[index].remark,
  673. execution_staff: this.doctor_advices[index].execution_staff,
  674. checker: this.doctor_advices[index].checker,
  675. advice_doctor: this.doctor_advices[index].advice_doctor,
  676. execution_time: this.doctor_advices[index].execution_time
  677. }
  678. doctor_advice['isShow'] = 1
  679. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  680. }
  681. }
  682. var templength = 0
  683. if (this.doctor_advices.length > 12) {
  684. templength = 12
  685. } else {
  686. templength = this.doctor_advices.length
  687. }
  688. for (let index = 0; index < templength; index++) {
  689. const advice = this.doctor_advices[index]
  690. if (advice.groupno == 0) {
  691. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  692. if (advice.parent_id > 0) {
  693. if (this.advice_groups.length > 0) {
  694. var parent_group = this.advice_groups[
  695. this.advice_groups.length - 1
  696. ]
  697. if (parent_group.advices.length > 0) {
  698. if (parent_group.advices[0].id == advice.parent_id) {
  699. parent_group.advices.push(advice)
  700. }
  701. }
  702. }
  703. continue
  704. } else {
  705. if (group.group_no > 0) {
  706. this.advice_groups.push(group)
  707. group = this.newAdviceGroupObject()
  708. }
  709. initGroupBlock(group, advice)
  710. group.advices.push(advice)
  711. this.advice_groups.push(group)
  712. group = this.newAdviceGroupObject()
  713. continue
  714. }
  715. }
  716. if (group.group_no > 0 && group.group_no != advice.groupno) {
  717. this.advice_groups.push(group)
  718. group = this.newAdviceGroupObject()
  719. }
  720. if (group.group_no == 0) {
  721. initGroupBlock(group, advice)
  722. }
  723. if (group.group_no == advice.groupno) {
  724. group.advices.push(advice)
  725. }
  726. if (index == 11) {
  727. this.advice_groups.push(group)
  728. group = this.newAdviceGroupObject()
  729. }
  730. }
  731. if (this.doctor_advices.length > 12) {
  732. for (let index = 12; index < this.doctor_advices.length; index++) {
  733. const advice = this.doctor_advices[index]
  734. if (advice.groupno == 0) {
  735. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  736. if (advice.parent_id > 0) {
  737. if (this.advice_groups_2.length > 0) {
  738. var parent_group = this.advice_groups_2[
  739. this.advice_groups_2.length - 1
  740. ]
  741. if (parent_group.advices.length > 0) {
  742. if (parent_group.advices[0].id == advice.parent_id) {
  743. parent_group.advices.push(advice)
  744. }
  745. }
  746. }
  747. continue
  748. } else {
  749. if (group.group_no > 0) {
  750. this.advice_groups_2.push(group)
  751. group = this.newAdviceGroupObject()
  752. }
  753. initGroupBlock(group, advice)
  754. group.advices.push(advice)
  755. this.advice_groups_2.push(group)
  756. group = this.newAdviceGroupObject()
  757. continue
  758. }
  759. }
  760. if (group.group_no > 0 && group.group_no != advice.groupno) {
  761. this.advice_groups_2.push(group)
  762. group = this.newAdviceGroupObject()
  763. }
  764. if (group.group_no == 0) {
  765. initGroupBlock(group, advice)
  766. }
  767. if (group.group_no == advice.groupno) {
  768. group.advices.push(advice)
  769. }
  770. }
  771. }
  772. if (group.group_no > 0) {
  773. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  774. if (this.doctor_advices.length > 12) {
  775. this.advice_groups_2.push(group)
  776. } else {
  777. this.advice_groups.push(group)
  778. }
  779. }
  780. }
  781. this.records[recordIndex].advices = []
  782. this.records[recordIndex].advices2 = []
  783. this.records[recordIndex].advices = this.advice_groups
  784. this.records[recordIndex].advices2 = this.advice_groups_2
  785. }
  786. this.operators = resp.data.medical_staffs
  787. if (this.operators.length > 0) {
  788. var operatorsLen = this.operators.length
  789. for (var index = 0; index < operatorsLen; index++) {
  790. this.$set(this.operatorMaps, this.operators[index].id, this.operators[index])
  791. }
  792. }
  793. this.adminUser = resp.data.users
  794. this.loading = false
  795. } else {
  796. this.loading = false
  797. this.$message.error(resp.msg)
  798. }
  799. }).catch(err => {
  800. this.$message.error(err)
  801. })
  802. },
  803. methods: {
  804. printAction: function() {
  805. const style = '@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: 5px 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-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.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:1050px;left: 50%;}.print-yema5{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;}'
  806. printJS({
  807. printable: 'print_content',
  808. type: 'html',
  809. documentTitle: ' ',
  810. style: style,
  811. scanStyles: false
  812. })
  813. },
  814. complicationsOther: function(record) {
  815. if (record == null || typeof (record) === 'undefined') {
  816. return ''
  817. }
  818. if (record.complication.length == 0) {
  819. return ''
  820. }
  821. var complications = record.complication.split(',')
  822. var complicationOthers = []
  823. for (const index in complications) {
  824. if (this.complications.indexOf(complications[index]) < 0 && complicationOthers.indexOf(complications[index]) < 0) {
  825. complicationOthers.push(complications[index])
  826. }
  827. }
  828. return complicationOthers.join(',')
  829. },
  830. modeName(mode_id) {
  831. if (mode_id in this.modeOptions) {
  832. return this.modeOptions[mode_id].name
  833. }
  834. return ''
  835. },
  836. anticoagulantName: function(key) {
  837. if (key == null || typeof (key) === 'undefined') {
  838. return ''
  839. }
  840. var id = key.anticoagulant
  841. if (id in this.anticoagulantsConfit) {
  842. return this.anticoagulantsConfit[id].name
  843. }
  844. return ''
  845. },
  846. isBbloodAccessParOperaCheck(key, value) {
  847. if (key == null || typeof (key) === 'undefined') {
  848. return false
  849. }
  850. var id = key.blood_access_part_opera_id
  851. if (id in this.bloodAccessParOpera) {
  852. return this.bloodAccessParOpera[id].name.indexOf(value) > -1
  853. }
  854. return false
  855. },
  856. isdialysateFormulatioCheck(key, value) {
  857. if (key == null || typeof (key) === 'undefined') {
  858. return false
  859. }
  860. var id = key.dialysate_formulation
  861. if (id in this.dialysateFormulationOptions) {
  862. return this.dialysateFormulationOptions[id].name.indexOf(value) > -1
  863. }
  864. return false
  865. },
  866. isValueIndexOfCheck: function(record, key, value) {
  867. if (record == null || record == undefined) {
  868. return false
  869. } else {
  870. return record[key].indexOf(value) > -1
  871. }
  872. },
  873. setAdminUserES(key, id) {
  874. if (typeof (key) === 'undefined' || key == null || typeof (key[id]) === 'undefined') {
  875. return ''
  876. }
  877. if (key[id] == 0) {
  878. return ''
  879. }
  880. if (key[id] in this.operatorMaps) {
  881. return this.operatorMaps[key[id]].es_url
  882. } else {
  883. return ''
  884. }
  885. }, getFloat: function(x) {
  886. if (x != '.') {
  887. var f = Math.round(x * 100) / 100
  888. var s = f.toString()
  889. var rs = s.indexOf('.')
  890. if (rs <= 0) {
  891. rs = s.length
  892. s += '.'
  893. }
  894. while (s.length <= rs + 1) {
  895. s += '0'
  896. }
  897. return s
  898. } else {
  899. return '0.0'
  900. }
  901. },
  902. getAdminUser(key, id) {
  903. if (typeof (key) === 'undefined' || key == null || typeof (key[id]) === 'undefined') {
  904. return ''
  905. }
  906. if (key[id] == 0) {
  907. return ''
  908. }
  909. if (key[id] == undefined) {
  910. return ''
  911. }
  912. for (let i = 0; i < this.adminUser.length; i++) {
  913. if (this.adminUser[i].id == key[id]) {
  914. return this.adminUser[i].name
  915. }
  916. }
  917. },
  918. jsGetAge: function(agetime) {
  919. if (agetime == 0) {
  920. return ''
  921. }
  922. return jsGetAge(uParseTime(agetime, '{y}-{m}-{d}'), '-')
  923. },
  924. getTime(value, temp) {
  925. if (value != undefined) {
  926. return uParseTime(value, temp)
  927. }
  928. return ''
  929. },
  930. // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
  931. // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
  932. isCheckBoxChecked: function(record, key, target_value) {
  933. if (record == null || record == undefined) {
  934. return false
  935. } else {
  936. return record[key] == target_value
  937. }
  938. }, getAge: function(val) {
  939. val.birth = uParseTime(val.birthday, '{y}-{m}-{d}')
  940. if (val.birthday != 0) {
  941. return jsGetAge(val.birth, '-')
  942. } else {
  943. return ''
  944. }
  945. }, newAdviceGroupObject: function() {
  946. return Object.assign(
  947. {},
  948. {
  949. group_no: 0,
  950. advices: []
  951. }
  952. )
  953. }, getNumber: function(record) {
  954. console.log(record)
  955. }
  956. }
  957. }
  958. </script>
  959. <style scoped>
  960. .print_page_main_content {
  961. background-color: white;
  962. width: 960px;
  963. margin: 0 auto 50px;
  964. padding: 0 0 0 0;
  965. page-break-after: always;
  966. }
  967. .print_page_main_content .order-yy-name {
  968. margin: auto;
  969. text-align: center;
  970. font-size: 20px;
  971. letter-spacing: 5px;
  972. }
  973. .print_page_main_content .order_title {
  974. text-align: center;
  975. font-size: 23px;
  976. line-height: 40px;
  977. font-weight: 500;
  978. }
  979. .row {
  980. font-size: 14px;
  981. line-height: 20px;
  982. padding: 5px 0;
  983. }
  984. .inline_block {
  985. display: inline-block;
  986. }
  987. .under_line {
  988. display: inline-block;
  989. border-bottom: 1px solid #999;
  990. text-align: center;
  991. white-space: nowrap;
  992. width: 50%;
  993. }
  994. .under_line::before {
  995. content: "\00A0";
  996. }
  997. .under_line::after {
  998. content: "\00A0";
  999. }
  1000. .under_line_two {
  1001. display: inline-block;
  1002. border-bottom: 1px solid #999;
  1003. text-align: left;
  1004. white-space: nowrap;
  1005. width: 50%;
  1006. }
  1007. .under_line_two::before {
  1008. content: "\00A0";
  1009. }
  1010. .under_line_two::after {
  1011. content: "\00A0";
  1012. }
  1013. .flex {
  1014. display: -webkit-box;
  1015. display: -moz-box;
  1016. display: -ms-flexbox;
  1017. display: -webkit-flex;
  1018. display: flex;
  1019. align-items: center;
  1020. -webkit-align-items: center;
  1021. box-align: center;
  1022. -moz-box-align: center;
  1023. -webkit-box-align: center;
  1024. text-align: center;
  1025. -webkit-justify-content: space-between;
  1026. justify-content: space-between;
  1027. -moz-box-pack: space-between;
  1028. -webkit--moz-box-pack: space-between;
  1029. box-pack: space-between;
  1030. }
  1031. .print_page_main_content .proj_table {
  1032. width: 100%;
  1033. border: 1px solid;
  1034. border-collapse: collapse;
  1035. padding: 2px;
  1036. }
  1037. .print_page_main_content .proj_table tbody tr td {
  1038. border: 1px solid;
  1039. /* text-align: center; */
  1040. font-size: 16px;
  1041. padding: 6px 8px;
  1042. line-height: 30px;
  1043. }
  1044. .print_page_main_content .proj_table .inside_table {
  1045. width: 100%;
  1046. border: hidden; /* 解决边框冲突 */
  1047. border-collapse: collapse;
  1048. }
  1049. .print_page_main_content .proj_table .inside_table tr td {
  1050. border: 1px solid;
  1051. text-align: center;
  1052. font-size: 14px;
  1053. padding: 8px 5px;
  1054. line-height: 16px;
  1055. }
  1056. .print-table-no {
  1057. width: 100%;
  1058. text-align: center;
  1059. border-collapse: collapse;
  1060. font-size: 14px;
  1061. }
  1062. .es-img {
  1063. height: 30px;
  1064. }
  1065. .advice-name {
  1066. text-align: left !important;
  1067. line-height: 16px !important;
  1068. }
  1069. .advice-children {
  1070. display: flex;
  1071. }
  1072. .margin-bottom-300 {
  1073. margin-bottom: 450px;
  1074. }
  1075. .margin-bottom-600 {
  1076. margin-bottom: 600px;
  1077. }
  1078. .margin-bottom-900 {
  1079. margin-bottom: 900px;
  1080. }
  1081. .print-yema {
  1082. position: absolute;
  1083. left: 50%;
  1084. }
  1085. .print-yema2 {
  1086. position: absolute;
  1087. left: 50%;
  1088. }
  1089. .print-yema3 {
  1090. position: absolute;
  1091. left: 50%;
  1092. }
  1093. .print-yema4 {
  1094. position: absolute;
  1095. left: 50%;
  1096. }
  1097. .print-yema5 {
  1098. position: absolute;
  1099. left: 50%;
  1100. }
  1101. .did_checke::after {
  1102. content: "\221A";
  1103. font-size: 8px;
  1104. margin-left: 2px;
  1105. margin-top: 2px;
  1106. position: absolute;
  1107. }
  1108. </style>