batch_print_order_fiftynine.vue 133KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. <el-button
  6. :loading="loading"
  7. size="small"
  8. icon="el-icon-printer"
  9. @click="printAction"
  10. type="primary"
  11. >打印
  12. </el-button>
  13. </div>
  14. <div class="app-container">
  15. <div id="print_content">
  16. <div
  17. v-for="(record, t) in records"
  18. :key="t"
  19. class="print_page_main_content"
  20. >
  21. <div style="display: inline-block; width: 100%; text-align: center">
  22. <div
  23. class="order-yy-name"
  24. style="
  25. letter-spacing: 0;
  26. font-weight: 600;
  27. font-size: 22px;
  28. display: inline-block;
  29. "
  30. >
  31. {{ orgname }}
  32. </div>
  33. <div
  34. class="order-title"
  35. style="
  36. letter-spacing: 0;
  37. font-weight: 600;
  38. font-size: 22px;
  39. display: inline-block;
  40. "
  41. >
  42. 血液净化治疗记录单
  43. </div>
  44. </div>
  45. <div class="row">
  46. <div class="inline_block">
  47. 姓名:
  48. <div class="under_line" style="width: 50px; text-align: center">
  49. {{ record.patient.name }}
  50. </div>
  51. </div>
  52. <div class="inline_block" style="margin-left: 10px">
  53. 性别:
  54. <div class="under_line" style="width: 30px; text-align: center">
  55. {{ record.patient.gender == 1 ? "男" : "女" }}
  56. </div>
  57. </div>
  58. <div class="inline_block" style="margin-left: 10px">
  59. 年龄:
  60. <div class="under_line" style="width: 30px; text-align: center">
  61. {{ getAge(record.patient) }}
  62. </div>
  63. </div>
  64. <div class="inline_block">
  65. 门诊:
  66. <div class="under_line" style="width: 30px; text-align: center">
  67. <check-box :checked="record.patient.source == 1"></check-box>
  68. </div>
  69. </div>
  70. <div class="inline_block">
  71. 病区:
  72. <div class="under_line" style="width: 50px; text-align: center">
  73. <span>{{
  74. record.device_zone.name
  75. ? record.device_zone.name
  76. : ""
  77. }}</span>
  78. </div>
  79. </div>
  80. <div class="inline_block">
  81. 床号:
  82. <div class="under_line" style="width: 100px; text-align: center">
  83. <span>{{
  84. record.dialysis_order &&
  85. record.dialysis_order.device_number &&
  86. record.dialysis_order.device_number.number.length > 0
  87. ? record.dialysis_order.device_number.number
  88. : record.device_number.number
  89. }}</span>
  90. </div>
  91. </div>
  92. <div class="inline_block">
  93. 透析号:
  94. <div class="under_line" style="width: 70px; text-align: center">
  95. {{ record.patient.dialysis_no }}
  96. </div>
  97. </div>
  98. <div class="inline_block" style="margin-left: 5px">
  99. 住院号/门诊号:
  100. <div
  101. class="under_line"
  102. style="width: 70px; text-align: left"
  103. v-if="record.receive_assessment.admission_number"
  104. >
  105. {{ record.receive_assessment.admission_number }}
  106. </div>
  107. <div
  108. class="under_line"
  109. style="width: 70px; text-align: le ft"
  110. v-else
  111. >
  112. {{ "/" }}
  113. </div>
  114. </div>
  115. </div>
  116. <div class="row">
  117. <div class="inline_block">
  118. 入科方式:
  119. <div
  120. v-for="(item, i) in way_arr"
  121. class="under_line"
  122. v-if="record.receive_assessment.way == item.id"
  123. style="width: 180px; text-align: left"
  124. >
  125. {{ item.name }}
  126. </div>
  127. </div>
  128. <div class="inline_block" style="margin-left: 10px">
  129. 诊断:
  130. <div
  131. class="under_line"
  132. style="
  133. width: 640px;
  134. text-align: left;
  135. word-break: break-all;
  136. word-wrap: break-word;
  137. display: inline-block;
  138. white-space: unset;
  139. "
  140. >
  141. {{ record.patient.diagnose }}
  142. </div>
  143. </div>
  144. </div>
  145. <div
  146. class="row"
  147. :class="record.totallength > 14 ? 'margin-bottom-300' : ''"
  148. >
  149. <table class="proj_table">
  150. <tbody>
  151. <tr>
  152. <td
  153. colspan="2"
  154. style="
  155. letter-spacing: 5px;
  156. text-align: center;
  157. font-weight: 520;
  158. font-size: 16px;
  159. padding: 6px 8px;
  160. line-height: 30px;
  161. "
  162. >
  163. 透析前情况
  164. </td>
  165. </tr>
  166. <tr>
  167. <td colspan="2">
  168. <div
  169. class="row"
  170. style="padding: 2px 0; line-height: 23px; display: flex"
  171. >
  172. <div class="inline_block" style="flex: 1">
  173. 本次透析日期:
  174. <div
  175. class="under_line"
  176. style="width: 120px; text-align: center"
  177. >
  178. {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
  179. </div>
  180. </div>
  181. <div class="inline_block" style="flex: 1">
  182. 透析次数:
  183. <div
  184. class="under_line"
  185. style="width: 70px; text-align: center"
  186. >
  187. {{
  188. record.patient.total_dialysis +
  189. record.patient.user_sys_before_count
  190. ? record.patient.total_dialysis +
  191. record.patient.user_sys_before_count
  192. : "/"
  193. }}
  194. </div>
  195. </div>
  196. <div class="inline_block" style="flex: 1">
  197. 透前症状:
  198. <div
  199. class="under_line"
  200. style="width: 150px; text-align: center"
  201. >
  202. {{
  203. record.assessment_before_dislysis &&
  204. record.assessment_before_dislysis
  205. .symptom_before_dialysis
  206. ? record.assessment_before_dislysis
  207. .symptom_before_dialysis
  208. : "/"
  209. }}
  210. </div>
  211. </div>
  212. </div>
  213. <div class="row" style="padding: 2px 0; line-height: 23px">
  214. <div class="inline_block">
  215. T:
  216. <div
  217. class="under_line"
  218. style="width: 50px; text-align: center"
  219. >
  220. {{
  221. record.assessment_before_dislysis &&
  222. record.assessment_before_dislysis.temperature
  223. ? record.assessment_before_dislysis.temperature
  224. : "/"
  225. }}
  226. </div>
  227. °C
  228. </div>
  229. <div class="inline_block" style="margin-left: 10px">
  230. P:
  231. <div
  232. class="under_line"
  233. style="width: 50px; text-align: center"
  234. >
  235. {{
  236. record.assessment_before_dislysis &&
  237. record.assessment_before_dislysis.pulse_frequency
  238. ? record.assessment_before_dislysis
  239. .pulse_frequency
  240. : "/"
  241. }}
  242. </div>
  243. 次/分
  244. </div>
  245. <div class="inline_block" style="margin-left: 10px">
  246. R:
  247. <div
  248. class="under_line"
  249. style="width: 50px; text-align: center"
  250. >
  251. {{
  252. record.assessment_before_dislysis &&
  253. record.assessment_before_dislysis.breathing_rate
  254. ? record.assessment_before_dislysis.breathing_rate
  255. : "/"
  256. }}
  257. </div>
  258. 次/分
  259. </div>
  260. <div class="inline_block" style="margin-left: 10px">
  261. BP:
  262. <div
  263. class="under_line"
  264. style="width: 50px; text-align: center"
  265. >
  266. {{
  267. record.assessment_before_dislysis &&
  268. record.assessment_before_dislysis
  269. .systolic_blood_pressure
  270. ? record.assessment_before_dislysis
  271. .systolic_blood_pressure
  272. : "/"
  273. }}
  274. </div>
  275. /
  276. <div
  277. class="under_line"
  278. style="width: 50px; text-align: center"
  279. >
  280. {{
  281. record.assessment_before_dislysis &&
  282. record.assessment_before_dislysis
  283. .diastolic_blood_pressure
  284. ? record.assessment_before_dislysis
  285. .diastolic_blood_pressure
  286. : "/"
  287. }}
  288. </div>
  289. mmHg
  290. </div>
  291. <div
  292. class="inline_block"
  293. style="margin-left: 10px; flex: 1"
  294. >
  295. 穿刺方式:
  296. <div
  297. class="under_line"
  298. style="width: 100px; text-align: center"
  299. v-if="!record.assessment_before_dislysis"
  300. ></div>
  301. <div
  302. v-if="record.assessment_before_dislysis"
  303. style="display: inline-block"
  304. >
  305. <div
  306. class="under_line"
  307. style="width: 100px; text-align: center"
  308. v-if="
  309. record.assessment_before_dislysis.puncture_way ==
  310. ''
  311. "
  312. ></div>
  313. <div
  314. class="under_line"
  315. style="width: 100px; text-align: center"
  316. v-if="
  317. record.assessment_before_dislysis.puncture_way.indexOf(
  318. '绳梯'
  319. ) > -1
  320. "
  321. >
  322. 绳梯
  323. </div>
  324. <div
  325. class="under_line"
  326. style="width: 100px; text-align: center"
  327. v-if="
  328. record.assessment_before_dislysis.puncture_way.indexOf(
  329. '扣眼'
  330. ) > -1
  331. "
  332. >
  333. 扣眼
  334. </div>
  335. <div
  336. class="under_line"
  337. style="width: 100px; text-align: center"
  338. v-if="
  339. record.assessment_before_dislysis.puncture_way.indexOf(
  340. '区域'
  341. ) > -1
  342. "
  343. >
  344. 区域
  345. </div>
  346. </div>
  347. </div>
  348. <div
  349. class="inline_block"
  350. style="margin-left: 10px; flex: 1"
  351. >
  352. 穿刺针:
  353. <div
  354. class="under_line"
  355. style="width: 100px; text-align: center"
  356. >
  357. {{
  358. record.assessment_before_dislysis &&
  359. record.assessment_before_dislysis.puncture_needle
  360. ? record.assessment_before_dislysis
  361. .puncture_needle
  362. : "/"
  363. }}
  364. </div>
  365. </div>
  366. </div>
  367. <div
  368. class="row"
  369. style="padding: 2px 0; line-height: 23px; display: flex"
  370. >
  371. <div class="inline_block">
  372. 血管通路:
  373. <div
  374. class="under_line"
  375. style="width: 200px; text-align: center"
  376. >
  377. {{
  378. record.assessment_before_dislysis &&
  379. record.assessment_before_dislysis
  380. .blood_access_part_id
  381. ? record.assessment_before_dislysis
  382. .blood_access_part_id
  383. : 0
  384. }}
  385. {{
  386. record.assessment_before_dislysis &&
  387. record.assessment_before_dislysis
  388. .blood_access_part_opera_name
  389. ? record.assessment_before_dislysis
  390. .blood_access_part_opera_name
  391. : ""
  392. }}
  393. </div>
  394. </div>
  395. <div class="inline_block" style="flex: 1">
  396. 内瘘:
  397. <div
  398. class="under_line"
  399. style="width: 120px; text-align: center"
  400. >
  401. {{
  402. record.assessment_before_dislysis &&
  403. record.assessment_before_dislysis.internal_fistula
  404. ? record.assessment_before_dislysis
  405. .internal_fistula
  406. : "/"
  407. }}
  408. </div>
  409. </div>
  410. <div
  411. class="inline_block"
  412. style="margin-left: 10px; flex: 1"
  413. >
  414. 导管:
  415. <div
  416. class="under_line"
  417. style="width: 120px; text-align: center"
  418. >
  419. {{
  420. record.assessment_before_dislysis &&
  421. record.assessment_before_dislysis.catheter
  422. ? record.assessment_before_dislysis.catheter
  423. : "/"
  424. }}
  425. </div>
  426. </div>
  427. <div
  428. class="inline_block"
  429. style="margin-left: 10px; flex: 1"
  430. v-if="org_id == 10223"
  431. >
  432. 导管打折:
  433. <div
  434. class="under_line"
  435. style="
  436. width: 50px;
  437. text-align: center;
  438. white-space: normal;
  439. "
  440. >
  441. <span
  442. v-if="
  443. record.assessment_before_dislysis.catheter_bend ==
  444. 0
  445. "
  446. >/</span
  447. >
  448. <span
  449. v-if="
  450. record.assessment_before_dislysis.catheter_bend ==
  451. 1
  452. "
  453. >有</span
  454. >
  455. <span
  456. v-if="
  457. record.assessment_before_dislysis.catheter_bend ==
  458. 2
  459. "
  460. >无</span
  461. >
  462. </div>
  463. </div>
  464. </div>
  465. <div
  466. class="row"
  467. style="padding: 2px 0; line-height: 23px; display: flex"
  468. >
  469. <div class="inline_block" style="flex: 1">
  470. <span>透析方式:</span>
  471. <div
  472. class="under_line"
  473. style="
  474. width: 100px;
  475. text-align: center;
  476. font-weight: 600;
  477. "
  478. v-if="!record.prescription"
  479. ></div>
  480. <div
  481. v-if="record.prescription"
  482. style="display: inline-block"
  483. >
  484. <div
  485. class="under_line"
  486. style="
  487. width: 100px;
  488. text-align: center;
  489. font-weight: 600;
  490. "
  491. v-if="!record.prescription.mode_id"
  492. ></div>
  493. <div
  494. class="under_line"
  495. style="
  496. width: 100px;
  497. text-align: center;
  498. font-weight: 600;
  499. "
  500. v-if="record.prescription.mode_id == 1"
  501. >
  502. HD
  503. </div>
  504. <div
  505. class="under_line"
  506. style="
  507. width: 100px;
  508. text-align: center;
  509. font-weight: 600;
  510. "
  511. v-if="record.prescription.mode_id == 2"
  512. >
  513. HDF
  514. </div>
  515. <div
  516. class="under_line"
  517. style="
  518. width: 100px;
  519. text-align: center;
  520. font-weight: 600;
  521. "
  522. v-if="record.prescription.mode_id == 3"
  523. >
  524. HD+HP
  525. </div>
  526. <div
  527. class="under_line"
  528. style="
  529. width: 100px;
  530. text-align: center;
  531. font-weight: 600;
  532. "
  533. v-if="record.prescription.mode_id == 4"
  534. >
  535. HP
  536. </div>
  537. <div
  538. class="under_line"
  539. style="
  540. width: 100px;
  541. text-align: center;
  542. font-weight: 600;
  543. "
  544. v-if="record.prescription.mode_id == 5"
  545. >
  546. HF
  547. </div>
  548. <div
  549. class="under_line"
  550. style="
  551. width: 100px;
  552. text-align: center;
  553. font-weight: 600;
  554. "
  555. v-if="record.prescription.mode_id == 6"
  556. >
  557. SCUF
  558. </div>
  559. <div
  560. class="under_line"
  561. style="
  562. width: 100px;
  563. text-align: center;
  564. font-weight: 600;
  565. "
  566. v-if="record.prescription.mode_id == 7"
  567. >
  568. IUF
  569. </div>
  570. <div
  571. class="under_line"
  572. style="
  573. width: 100px;
  574. text-align: center;
  575. font-weight: 600;
  576. "
  577. v-if="record.prescription.mode_id == 8"
  578. >
  579. HFHD
  580. </div>
  581. <div
  582. class="under_line"
  583. style="
  584. width: 100px;
  585. text-align: center;
  586. font-weight: 600;
  587. "
  588. v-if="record.prescription.mode_id == 9"
  589. >
  590. HFHD+HP
  591. </div>
  592. <div
  593. class="under_line"
  594. style="
  595. width: 100px;
  596. text-align: center;
  597. font-weight: 600;
  598. "
  599. v-if="record.prescription.mode_id == 10"
  600. >
  601. PHF
  602. </div>
  603. <div
  604. class="under_line"
  605. style="
  606. width: 100px;
  607. text-align: center;
  608. font-weight: 600;
  609. "
  610. v-if="record.prescription.mode_id == 11"
  611. >
  612. HFR
  613. </div>
  614. <div
  615. class="under_line"
  616. style="
  617. width: 100px;
  618. text-align: center;
  619. font-weight: 600;
  620. "
  621. v-if="record.prescription.mode_id == 12"
  622. >
  623. HDF+HP
  624. </div>
  625. <div
  626. class="under_line"
  627. style="
  628. width: 100px;
  629. text-align: center;
  630. font-weight: 600;
  631. "
  632. v-if="record.prescription.mode_id == 13"
  633. >
  634. CRRT
  635. </div>
  636. <div
  637. class="under_line"
  638. style="
  639. width: 100px;
  640. text-align: center;
  641. font-weight: 600;
  642. "
  643. v-if="record.prescription.mode_id == 14"
  644. >
  645. 腹水回输
  646. </div>
  647. <div
  648. class="under_line"
  649. style="
  650. width: 100px;
  651. text-align: center;
  652. font-weight: 600;
  653. "
  654. v-if="record.prescription.mode_id == 19"
  655. >
  656. IUF+HD
  657. </div>
  658. <div
  659. class="under_line"
  660. style="
  661. width: 100px;
  662. text-align: center;
  663. font-weight: 600;
  664. "
  665. v-if="record.prescription.mode_id == 22"
  666. >
  667. 血浆胆红素吸附+HDF
  668. </div>
  669. <div
  670. class="under_line"
  671. style="
  672. width: 100px;
  673. text-align: center;
  674. font-weight: 600;
  675. "
  676. v-if="record.prescription.mode_id == 23"
  677. >
  678. 血浆胆红素吸附
  679. </div>
  680. <div
  681. class="under_line"
  682. style="
  683. width: 100px;
  684. text-align: center;
  685. font-weight: 600;
  686. "
  687. v-if="record.prescription.mode_id == 29"
  688. >
  689. PE
  690. </div>
  691. <div
  692. class="under_line"
  693. style="
  694. width: 150px;
  695. text-align: center;
  696. font-weight: 600;
  697. "
  698. v-if="record.prescription.mode_id == 30"
  699. >
  700. 血浆胆红素吸附+HP
  701. </div>
  702. </div>
  703. </div>
  704. <div
  705. class="inline_block"
  706. style="margin-left: 10px; flex: 1"
  707. >
  708. 置换方式:
  709. <div
  710. class="under_line"
  711. style="width: 100px; text-align: center"
  712. >
  713. {{
  714. getDisplaceLiquiPart(record.prescription.displace_liqui_part)
  715. }}
  716. </div>
  717. </div>
  718. <div
  719. class="inline_block"
  720. style="margin-left: 10px; flex: 0.8"
  721. >
  722. 置换量:
  723. <div
  724. class="under_line"
  725. style="width: 70px; text-align: center"
  726. >
  727. {{
  728. record.prescription &&
  729. record.prescription.displace_liqui_value
  730. ? record.prescription.displace_liqui_value
  731. : "/"
  732. }}
  733. </div>
  734. L
  735. </div>
  736. <div
  737. class="inline_block"
  738. style="margin-left: 10px; flex: 1"
  739. >
  740. 血流量:
  741. <div
  742. class="under_line"
  743. style="width: 50px; text-align: center"
  744. >
  745. {{
  746. record.prescription &&
  747. record.prescription.blood_flow_volume
  748. ? record.prescription.blood_flow_volume
  749. : "/"
  750. }}
  751. </div>
  752. ml/min
  753. </div>
  754. <div
  755. class="inline_block"
  756. style="flex: 1"
  757. >
  758. 透析时间:
  759. <div
  760. class="under_line"
  761. style="width: 30px; text-align: center"
  762. >
  763. {{
  764. record.prescription &&
  765. record.prescription.dialysis_duration_hour
  766. ? record.prescription.dialysis_duration_hour
  767. : "/"
  768. }}
  769. </div>
  770. h
  771. <div
  772. class="under_line"
  773. style="width: 30px; text-align: center"
  774. >
  775. {{
  776. record.prescription &&
  777. record.prescription.dialysis_duration_minute
  778. ? record.prescription.dialysis_duration_minute
  779. : "/"
  780. }}
  781. </div>
  782. min
  783. </div>
  784. </div>
  785. <div
  786. class="row"
  787. style="padding: 2px 0; line-height: 23px; display: flex"
  788. >
  789. <div class="inline_block" style="flex: 1">
  790. 透析(滤)器:
  791. <div
  792. class="under_line"
  793. style="width: 100px; text-align: center"
  794. >
  795. {{
  796. record.prescription &&
  797. record.prescription.dialyzer_perfusion_apparatus
  798. ? record.prescription.dialyzer_perfusion_apparatus
  799. : ""
  800. }}
  801. {{
  802. record.prescription &&
  803. record.prescription.dialysis_dialyszers
  804. ? record.prescription.dialysis_dialyszers
  805. : "/"
  806. }}
  807. </div>
  808. </div>
  809. <div class="inline_block" style="flex: 1">
  810. 灌流器:
  811. <div
  812. class="under_line"
  813. style="width: 70px; text-align: center"
  814. >
  815. {{
  816. record.prescription &&
  817. record.prescription.dialysis_irrigation
  818. ? record.prescription.dialysis_irrigation
  819. : "/"
  820. }}
  821. </div>
  822. </div>
  823. <div
  824. class="inline_block"
  825. style="flex: 1"
  826. v-if="org_id == 9538"
  827. >
  828. 血浆分离器:
  829. <div
  830. class="under_line"
  831. style="width: 70px; text-align: center"
  832. >
  833. <span
  834. v-if="
  835. record.prescription.plasma_separator
  836. ? record.prescription.plasma_separator != 0 &&
  837. record.prescription.plasma_separator != '0'
  838. : false
  839. "
  840. >{{ record.prescription.plasma_separator }}</span
  841. >
  842. <span v-else>/</span>
  843. </div>
  844. </div>
  845. <div
  846. class="inline_block"
  847. style="flex: 1"
  848. v-if="org_id == 9538"
  849. >
  850. 胆红素吸附柱:
  851. <div
  852. class="under_line"
  853. style="width: 70px; text-align: center"
  854. >
  855. <span
  856. v-if="
  857. record.prescription.bilirubin_adsorption_column
  858. ? record.prescription
  859. .bilirubin_adsorption_column != 0 &&
  860. record.prescription
  861. .bilirubin_adsorption_column != '0'
  862. : false
  863. "
  864. >{{
  865. record.prescription.bilirubin_adsorption_column
  866. }}</span
  867. >
  868. <span v-else>/</span>
  869. </div>
  870. </div>
  871. </div>
  872. <div
  873. class="row"
  874. style="padding: 2px 0; line-height: 23px; display: flex"
  875. >
  876. <div class="inline_block" style="flex: 1">
  877. 上次透后体重:
  878. <div
  879. class="under_line"
  880. style="width: 100px; text-align: center"
  881. >
  882. <span v-if="org_id == 10290">{{
  883. record.lastafterweight.weight_after
  884. }}</span>
  885. <span v-else>{{
  886. record.assessment_before_dislysis &&
  887. record.assessment_before_dislysis
  888. .weight_after_last_transparency
  889. ? parseFloat(
  890. record.assessment_before_dislysis
  891. .weight_after_last_transparency -
  892. record.assessment_before_dislysis
  893. .additional_weight
  894. ).toFixed(1)
  895. : "未称重"
  896. }}</span>
  897. </div>
  898. kg
  899. </div>
  900. <div class="inline_block" style="flex: 1">
  901. 透前体重:
  902. <div
  903. class="under_line"
  904. style="width: 70px; text-align: center"
  905. >
  906. {{
  907. record.assessment_before_dislysis &&
  908. record.assessment_before_dislysis.weight_before
  909. ? parseFloat(
  910. record.assessment_before_dislysis
  911. .weight_before
  912. ).toFixed(1)
  913. : "/"
  914. }}
  915. </div>
  916. kg
  917. </div>
  918. <div class="inline_block" style="flex: 1">
  919. 计划超滤量:
  920. <div
  921. class="under_line"
  922. style="width: 100px; text-align: center"
  923. >
  924. {{
  925. record.prescription &&
  926. record.prescription.target_ultrafiltration
  927. ? record.prescription.target_ultrafiltration
  928. : "/"
  929. }}
  930. </div>
  931. L
  932. </div>
  933. <div class="inline_block" style="flex: 1">
  934. 干体重:
  935. <div
  936. class="under_line"
  937. style="width: 100px; text-align: center"
  938. >
  939. {{
  940. record.assessment_before_dislysis &&
  941. record.assessment_before_dislysis.dry_weight
  942. ? record.assessment_before_dislysis.dry_weight
  943. : "/"
  944. }}
  945. </div>
  946. kg
  947. </div>
  948. </div>
  949. <div class="row" style="padding: 2px 0; line-height: 23px">
  950. <div class="inline_block">
  951. 透析液成分钾:
  952. <div
  953. class="under_line"
  954. style="width: 50px; text-align: center"
  955. >
  956. {{
  957. record.prescription && record.prescription.kalium
  958. ? record.prescription.kalium
  959. : "/"
  960. }}
  961. </div>
  962. mmol/L
  963. </div>
  964. <div class="inline_block" style="margin-left: 10px">
  965. 钠:
  966. <div
  967. class="under_line"
  968. style="width: 50px; text-align: center"
  969. >
  970. {{
  971. record.prescription && record.prescription.sodium
  972. ? record.prescription.sodium
  973. : "/"
  974. }}
  975. </div>
  976. mmol/L
  977. </div>
  978. <div class="inline_block" style="margin-left: 10px">
  979. 钙:
  980. <div
  981. class="under_line"
  982. style="width: 50px; text-align: center"
  983. >
  984. {{
  985. record.prescription && record.prescription.calcium
  986. ? record.prescription.calcium
  987. : "/"
  988. }}
  989. </div>
  990. mmol/L
  991. </div>
  992. <div class="inline_block" style="margin-left: 10px">
  993. 碳酸氢根:
  994. <div
  995. class="under_line"
  996. style="width: 50px; text-align: center"
  997. >
  998. {{
  999. record.prescription &&
  1000. record.prescription.bicarbonate
  1001. ? record.prescription.bicarbonate
  1002. : "/"
  1003. }}
  1004. </div>
  1005. mmol/L
  1006. </div>
  1007. <div class="inline_block" style="margin-left: 10px">
  1008. 流量:
  1009. <div
  1010. class="under_line"
  1011. style="width: 50px; text-align: center"
  1012. >
  1013. {{
  1014. record.prescription &&
  1015. record.prescription.dialysate_flow
  1016. ? record.prescription.dialysate_flow
  1017. : "/"
  1018. }}
  1019. </div>
  1020. ml/min
  1021. </div>
  1022. </div>
  1023. <div class="row" style="padding: 2px 0; line-height: 23px">
  1024. <div class="inline_block">
  1025. 抗凝剂:
  1026. <div
  1027. class="under_line"
  1028. style="width: 150px; text-align: center"
  1029. >
  1030. <span v-if="record.prescription.anticoagulant == 0"
  1031. >&nbsp;/</span
  1032. >
  1033. <span v-if="record.prescription.anticoagulant == 1"
  1034. >&nbsp;无肝素</span
  1035. >
  1036. <span v-if="record.prescription.anticoagulant == 2"
  1037. >&nbsp;普通肝素</span
  1038. >
  1039. <span v-if="record.prescription.anticoagulant == 3"
  1040. >&nbsp;低分子肝素</span
  1041. >
  1042. <span v-if="record.prescription.anticoagulant == 4"
  1043. >&nbsp;阿加曲班</span
  1044. >
  1045. <span v-if="record.prescription.anticoagulant == 5"
  1046. >&nbsp;枸橼酸钠</span
  1047. >
  1048. <span v-if="record.prescription.anticoagulant == 6"
  1049. >&nbsp;低分子肝素钙</span
  1050. >
  1051. <span v-if="record.prescription.anticoagulant == 7"
  1052. >&nbsp;低分子肝素钠</span
  1053. >
  1054. <span v-if="record.prescription.anticoagulant == 8"
  1055. >&nbsp;依诺肝素</span
  1056. >
  1057. <span v-if="record.prescription.anticoagulant == 9"
  1058. >&nbsp;达肝素</span
  1059. >
  1060. <span v-if="record.prescription.anticoagulant == 10"
  1061. >&nbsp;体外抗凝</span
  1062. > <span v-if="record.prescription.anticoagulant == 11"
  1063. >&nbsp;那屈肝素</span
  1064. >
  1065. <span v-if="record.prescription.anticoagulant == 12"
  1066. >&nbsp;无抗凝剂</span
  1067. >
  1068. <span v-if="record.prescription.anticoagulant == 13"
  1069. >&nbsp;那屈肝素钙</span
  1070. >
  1071. </div>
  1072. </div>
  1073. <div class="inline_block" style="margin-left: 20px">
  1074. 首剂:
  1075. <div
  1076. class="under_line"
  1077. style="width: 50px; text-align: center"
  1078. >
  1079. {{
  1080. record.prescription &&
  1081. record.prescription.anticoagulant_shouji
  1082. ? record.prescription.anticoagulant_shouji
  1083. : "/"
  1084. }}
  1085. </div>
  1086. <span v-if="record.prescription.anticoagulant == 10 ||record.prescription.anticoagulant == 11||record.prescription.anticoagulant==13"
  1087. >mg</span
  1088. >
  1089. <span v-if="record.prescription.anticoagulant == 8 || record.prescription.anticoagulant == 9"
  1090. >iu</span
  1091. >
  1092. <span v-if="record.prescription.anticoagulant == 6"
  1093. >iu</span
  1094. >
  1095. <span v-if="record.prescription.anticoagulant == 7"
  1096. >iu</span
  1097. >
  1098. <span v-if="record.prescription.anticoagulant == 4"
  1099. >mg</span
  1100. >
  1101. <span v-if="record.prescription.anticoagulant == 3"
  1102. >iu</span
  1103. >
  1104. <span v-if="record.prescription.anticoagulant == 2"
  1105. >mg</span
  1106. >
  1107. <span v-if="record.prescription.anticoagulant == 1"
  1108. >mg</span
  1109. >
  1110. </div>
  1111. <div class="inline_block" style="margin-left: 20px">
  1112. 维持:
  1113. <div
  1114. v-if="
  1115. record.prescription &&
  1116. record.prescription.anticoagulant == 1
  1117. "
  1118. class="under_line"
  1119. style="width: 50px; text-align: center"
  1120. >
  1121. {{
  1122. record.prescription &&
  1123. record.prescription.anticoagulant_weichi
  1124. ? record.prescription.anticoagulant_weichi
  1125. : "/"
  1126. }}
  1127. </div>
  1128. <div
  1129. v-if="
  1130. record.prescription &&
  1131. record.prescription.anticoagulant != 1
  1132. "
  1133. class="under_line"
  1134. style="width: 50px; text-align: center"
  1135. >
  1136. {{
  1137. record.prescription &&
  1138. record.prescription.anticoagulant_weichi
  1139. ? record.prescription.anticoagulant_weichi
  1140. : 0
  1141. }}
  1142. </div>
  1143. <span v-if="record.prescription.anticoagulant == 10 ||record.prescription.anticoagulant == 11||record.prescription.anticoagulant==13"
  1144. >mg/h</span
  1145. >
  1146. <span v-if="record.prescription.anticoagulant == 9"
  1147. >iu/h</span
  1148. >
  1149. <span v-if="record.prescription.anticoagulant == 8"
  1150. >iu/h</span
  1151. >
  1152. <span v-if="record.prescription.anticoagulant == 7"
  1153. >iu/h</span
  1154. >
  1155. <span v-if="record.prescription.anticoagulant == 6"
  1156. >iu/h</span
  1157. >
  1158. <span v-if="record.prescription.anticoagulant == 5"
  1159. >ml/h</span
  1160. >
  1161. <span v-if="record.prescription.anticoagulant == 4"
  1162. >mg/h</span
  1163. >
  1164. <span v-if="record.prescription.anticoagulant == 3"
  1165. >iu/h</span
  1166. >
  1167. <span v-if="record.prescription.anticoagulant == 2"
  1168. >mg/h</span
  1169. >
  1170. <span v-if="record.prescription.anticoagulant == 1"
  1171. >mg/h</span
  1172. >
  1173. </div>
  1174. <div class="inline_block" style="margin-left: 20px">
  1175. 总量:
  1176. <div
  1177. class="under_line"
  1178. style="width: 50px; text-align: center"
  1179. >
  1180. {{
  1181. record.prescription &&
  1182. record.prescription.anticoagulant_zongliang
  1183. ? record.prescription.anticoagulant_zongliang
  1184. : "/"
  1185. }}
  1186. </div>
  1187. <span v-if="record.prescription.anticoagulant == 10 ||record.prescription.anticoagulant == 11||record.prescription.anticoagulant==13"
  1188. >mg</span
  1189. >
  1190. <span v-if="record.prescription.anticoagulant == 9"
  1191. >iu</span
  1192. >
  1193. <span v-if="record.prescription.anticoagulant == 8"
  1194. >iu</span
  1195. >
  1196. <span v-if="record.prescription.anticoagulant == 7"
  1197. >iu</span
  1198. >
  1199. <span v-if="record.prescription.anticoagulant == 6"
  1200. >iu</span
  1201. >
  1202. <span v-if="record.prescription.anticoagulant == 5"
  1203. >ml</span
  1204. >
  1205. <span v-if="record.prescription.anticoagulant == 4"
  1206. >mg</span
  1207. >
  1208. <span v-if="record.prescription.anticoagulant == 3"
  1209. >iu</span
  1210. >
  1211. <span v-if="record.prescription.anticoagulant == 2"
  1212. >mg</span
  1213. >
  1214. <span v-if="record.prescription.anticoagulant == 1"
  1215. >mg</span
  1216. >
  1217. </div>
  1218. <div class="inline_block" style="margin-left: 20px">
  1219. 透析机号:
  1220. <div
  1221. class="under_line"
  1222. style="width: 50px; text-align: center"
  1223. >
  1224. {{
  1225. record.dialysis_order &&
  1226. record.dialysis_order.device_number &&
  1227. record.dialysis_order.device_number.number.length >
  1228. 0
  1229. ? record.dialysis_order.device_number.number
  1230. : record.device_number.number
  1231. }}
  1232. </div>
  1233. </div>
  1234. </div>
  1235. <div
  1236. class="row"
  1237. style="padding: 2px 0; line-height: 23px; display: flex"
  1238. >
  1239. <div
  1240. class="inline_block"
  1241. style="flex: 1; display: inline-block"
  1242. >
  1243. 备注:
  1244. <div
  1245. class="under_line"
  1246. style="
  1247. width: 860px;
  1248. line-height: 25px;
  1249. text-align: left;
  1250. margin-left: 2px;
  1251. display: inline-block;
  1252. white-space: normal;
  1253. "
  1254. >
  1255. {{ record.assessment_before_dislysis.remark ? record.assessment_before_dislysis.remark : "/" }}
  1256. </div>
  1257. </div>
  1258. </div>
  1259. </td>
  1260. </tr>
  1261. <tr>
  1262. <td style="padding: 0; position: relative" colspan="2">
  1263. <table class="inside_table">
  1264. <tbody>
  1265. <!-- <thead> -->
  1266. <tr>
  1267. <td
  1268. colspan="14"
  1269. style="
  1270. letter-spacing: 5px;
  1271. text-align: center;
  1272. font-weight: 520;
  1273. font-size: 16px;
  1274. padding: 6px 8px;
  1275. line-height: 30px;
  1276. "
  1277. >
  1278. 治疗记录
  1279. </td>
  1280. </tr>
  1281. <tr>
  1282. <td width="60">时间</td>
  1283. <td width="60" v-if="org_id!=10480 && org_id!=0">体温<br />(℃)</td>
  1284. <td width="60">血压<br />(mmHg)</td>
  1285. <td width="50">脉搏<br />(次/分)</td>
  1286. <td width="50">呼吸<br />(次/分)</td>
  1287. <td width="50">血流量<br />(ml/min)</td>
  1288. <td width="50">静脉压<br />(mmHg)</td>
  1289. <td width="50">跨膜压<br />(mmHg)</td>
  1290. <td width="60" v-if="org_id != 9836">
  1291. 透析液温度(°C)
  1292. </td>
  1293. <td width="60" v-if="org_id == 9836">体温(°C)</td>
  1294. <td
  1295. width="50"
  1296. >
  1297. 电导度<br />(ms/cm)
  1298. </td>
  1299. <!-- <td
  1300. width="50"
  1301. v-if="
  1302. org_id == 10121 || org_id == 9675 || org_id == 0
  1303. "
  1304. >
  1305. SpO₂<br />(%)
  1306. </td> -->
  1307. <td width="50">超滤量<br />(ml)</td>
  1308. <td
  1309. v-if="
  1310. record.prescription.mode_id == 2 ||
  1311. record.prescription.mode_id == 5 ||
  1312. record.prescription.mode_id == 12
  1313. "
  1314. width="50"
  1315. >
  1316. 置换量<br />(ml)
  1317. </td>
  1318. <td width="200">病情变化及处理</td>
  1319. </tr>
  1320. <tr
  1321. v-for="(monitor_record, j) in record.monitor_records"
  1322. :key="j"
  1323. >
  1324. <td>
  1325. {{
  1326. getTime(monitor_record.operate_time, "{h}:{i}")
  1327. }}
  1328. </td>
  1329. <td v-if="org_id!=10480 && org_id!=0">
  1330. {{
  1331. monitor_record.temperature
  1332. ? monitor_record.temperature
  1333. : ""
  1334. }}
  1335. </td>
  1336. <td>
  1337. {{
  1338. monitor_record.systolic_blood_pressure
  1339. ? monitor_record.systolic_blood_pressure + "/"
  1340. : ""
  1341. }}
  1342. {{
  1343. monitor_record.diastolic_blood_pressure
  1344. ? monitor_record.diastolic_blood_pressure
  1345. : ""
  1346. }}
  1347. </td>
  1348. <td>
  1349. {{
  1350. monitor_record.pulse_frequency
  1351. ? monitor_record.pulse_frequency
  1352. : ""
  1353. }}
  1354. </td>
  1355. <td>
  1356. {{
  1357. monitor_record.breathing_rate
  1358. ? monitor_record.breathing_rate
  1359. : ""
  1360. }}
  1361. </td>
  1362. <td>
  1363. {{
  1364. monitor_record.blood_flow_volume
  1365. ? monitor_record.blood_flow_volume
  1366. : ""
  1367. }}
  1368. </td>
  1369. <td>
  1370. {{
  1371. monitor_record.venous_pressure
  1372. ? monitor_record.venous_pressure
  1373. : ""
  1374. }}
  1375. </td>
  1376. <td>
  1377. {{
  1378. monitor_record.transmembrane_pressure
  1379. ? monitor_record.transmembrane_pressure
  1380. : ""
  1381. }}
  1382. </td>
  1383. <td v-if="org_id != 9836">
  1384. {{
  1385. monitor_record.dialysate_temperature
  1386. ? monitor_record.dialysate_temperature
  1387. : ""
  1388. }}
  1389. </td>
  1390. <td v-if="org_id == 9836">
  1391. {{
  1392. monitor_record.temperature
  1393. ? monitor_record.temperature
  1394. : ""
  1395. }}
  1396. </td>
  1397. <!-- <td v-if="org_id != 10121 && org_id != 9675 && org_id != 0">
  1398. {{monitor_record.conductivity? monitor_record.conductivity : ""}}
  1399. </td> -->
  1400. <td
  1401. >
  1402. {{
  1403. monitor_record.conductivity
  1404. ? monitor_record.conductivity
  1405. : ""
  1406. }}
  1407. </td>
  1408. <!-- <td
  1409. v-if="
  1410. org_id == 10121 || org_id == 9675 || org_id == 0
  1411. "
  1412. >
  1413. {{
  1414. monitor_record.blood_oxygen_saturation
  1415. ? monitor_record.blood_oxygen_saturation
  1416. : ""
  1417. }}
  1418. </td> -->
  1419. <td v-if="org_id == 9538">
  1420. {{
  1421. monitor_record.sodium_concentration
  1422. ? monitor_record.sodium_concentration
  1423. : ""
  1424. }}
  1425. </td>
  1426. <td>
  1427. <span>{{
  1428. monitor_record.ultrafiltration_volume
  1429. ? monitor_record.ultrafiltration_volume
  1430. : ""
  1431. }}</span>
  1432. </td>
  1433. <td
  1434. v-if="
  1435. record.prescription.mode_id == 2 ||
  1436. record.prescription.mode_id == 5 ||
  1437. record.prescription.mode_id == 12
  1438. "
  1439. style="width: 50px"
  1440. >
  1441. {{
  1442. monitor_record.displacement_quantity
  1443. ? monitor_record.displacement_quantity
  1444. : ""
  1445. }}
  1446. </td>
  1447. <!-- <td
  1448. width="50"
  1449. v-if="
  1450. org_id == 9919 ||
  1451. org_id == 9538 ||
  1452. org_id == 9675 ||
  1453. org_id == 9671
  1454. "
  1455. >
  1456. {{ monitor_record.ktv }}
  1457. </td>
  1458. <td
  1459. width="50"
  1460. v-if="
  1461. org_id == 9538 || org_id == 9675 || org_id == 9671
  1462. "
  1463. >
  1464. {{ monitor_record.accumulated_blood_volume }}
  1465. </td> -->
  1466. <td style="line-height: 16px; padding: 0px">
  1467. <div
  1468. style="
  1469. min-height: 35px;
  1470. line-height: 35px;
  1471. overflow: hidden;
  1472. "
  1473. >
  1474. <span
  1475. style="
  1476. word-break: break-all;
  1477. margin: 0;
  1478. line-height: 16px;
  1479. -webkit-line-clamp: 3;
  1480. overflow: visible;
  1481. display: inline-block;
  1482. vertical-align: middle;
  1483. height: auto;
  1484. "
  1485. >
  1486. <template
  1487. v-if="
  1488. record.dialysis_order &&
  1489. monitor_record.operate_time ==
  1490. record.dialysis_order.start_time
  1491. "
  1492. >【开始透析】</template
  1493. >
  1494. <template
  1495. v-if="
  1496. record.dialysis_order &&
  1497. monitor_record.operate_time ==
  1498. record.dialysis_order.end_time
  1499. "
  1500. >【结束透析】</template
  1501. >
  1502. {{ monitor_record.end }}
  1503. {{ monitor_record.symptom }} &nbsp;{{
  1504. monitor_record.dispose
  1505. }}
  1506. &nbsp;{{ monitor_record.result }}
  1507. </span>
  1508. </div>
  1509. </td>
  1510. </tr>
  1511. <tr
  1512. v-for="(monitor_record, s) in record.monitor_records2"
  1513. :key="s"
  1514. >
  1515. <td></td>
  1516. <td></td>
  1517. <td></td>
  1518. <td></td>
  1519. <td></td>
  1520. <td></td>
  1521. <td></td>
  1522. <td></td>
  1523. <td></td>
  1524. <td></td>
  1525. <td style="line-height: 16px; padding: 0px">
  1526. <div
  1527. style="
  1528. height: 40px;
  1529. line-height: 20px;
  1530. overflow: hidden;
  1531. "
  1532. >
  1533. <span
  1534. style="
  1535. word-break: break-all;
  1536. margin: 0;
  1537. line-height: 16px;
  1538. -webkit-line-clamp: 3;
  1539. overflow: visible;
  1540. display: inline-block;
  1541. vertical-align: middle;
  1542. height: auto;
  1543. "
  1544. >
  1545. </span>
  1546. </div>
  1547. </td>
  1548. </tr>
  1549. </tbody>
  1550. </table>
  1551. </td>
  1552. </tr>
  1553. <tr>
  1554. <td style="padding: 0; position: relative" colspan="2">
  1555. <table class="inside_table">
  1556. <tbody>
  1557. <tr style="line-height: 35px; padding: 8px 5px">
  1558. <td
  1559. colspan="7"
  1560. style="
  1561. letter-spacing: 5px;
  1562. text-align: center;
  1563. font-weight: 520;
  1564. font-size: 16px;
  1565. padding: 6px 8px;
  1566. line-height: 30px;
  1567. "
  1568. >
  1569. 医嘱内容
  1570. </td>
  1571. </tr>
  1572. <!-- <tr style="line-height:35px;padding:8px 5px;">
  1573. <td colspan="4" style="font-size: 16px">开医嘱</td>
  1574. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  1575. </tr> -->
  1576. <tr style="line-height: 35px; padding: 8px 5px">
  1577. <td style="font-size: 16px" width="10%">时间</td>
  1578. <td style="font-size: 16px" colspan="2" width="45%">
  1579. 医嘱内容
  1580. </td>
  1581. <td style="font-size: 16px" width="10%">医生签名</td>
  1582. <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
  1583. <td style="font-size: 16px" width="10%">
  1584. 执行人签名
  1585. </td>
  1586. <td style="font-size: 16px" width="10%">时间</td>
  1587. </tr>
  1588. <!-- <template v-for="group in doctor_advices" > -->
  1589. <template v-if="record.advices">
  1590. <tr
  1591. v-for="(advice, advice_index) in record.his_advices"
  1592. :key="advice_index"
  1593. >
  1594. <td height="35px">
  1595. <span v-if="advice.start_time">
  1596. {{ getTime(advice.start_time, "{h}:{i}") }}
  1597. </span>
  1598. </td>
  1599. <td
  1600. height="35px"
  1601. colspan="2"
  1602. class="advice-name"
  1603. style="padding-left: 7px"
  1604. >
  1605. <span v-if="advice.parent_id > 0">---></span>
  1606. <span>{{ advice.advice_name }}</span>
  1607. <span
  1608. v-if="advice && advice.advice_desc"
  1609. >
  1610. ({{ advice.advice_desc
  1611. }}{{ advice.drug_spec_unit }} )
  1612. </span>
  1613. <span v-if="advice.prescribing_number"
  1614. >&nbsp;&nbsp; {{ advice.prescribing_number
  1615. }}{{ advice.prescribing_number_unit }}</span
  1616. >
  1617. <span v-if="advice.single_dose != 0">
  1618. {{ advice.single_dose
  1619. }}{{ advice.single_dose_unit }}</span
  1620. >
  1621. <span v-if="advice.parent_id == 0">{{
  1622. advice.delivery_way
  1623. }}</span>
  1624. <span v-if="advice.parent_id == 0">{{
  1625. advice.execution_frequency
  1626. }}</span>
  1627. <span
  1628. v-if="
  1629. advice.parent_id == 0 &&
  1630. advice.remark.length > 0
  1631. "
  1632. >({{ advice.remark }})</span
  1633. >
  1634. </td>
  1635. <td height="35px">
  1636. <span
  1637. v-if="
  1638. setAdminUserES(advice, 'advice_doctor') ==
  1639. ''
  1640. "
  1641. >{{
  1642. getAdminUser(advice, "advice_doctor")
  1643. }}</span
  1644. >
  1645. <img
  1646. class="es-img"
  1647. :src="
  1648. setAdminUserES(advice, 'advice_doctor')
  1649. "
  1650. alt=""
  1651. srcset=""
  1652. v-else
  1653. style="height: 40px"
  1654. />
  1655. </td>
  1656. <td height="35px">
  1657. <span
  1658. v-if="
  1659. setAdminUserES(
  1660. advice,
  1661. 'execution_staff'
  1662. ) == ''
  1663. "
  1664. >{{
  1665. getAdminUser(advice, "execution_staff")
  1666. }}</span
  1667. >
  1668. <img
  1669. class="es-img"
  1670. :src="
  1671. setAdminUserES(advice, 'execution_staff')
  1672. "
  1673. alt=""
  1674. srcset=""
  1675. v-else
  1676. style="height: 40px"
  1677. />
  1678. </td>
  1679. <td height="35px">
  1680. <span v-if="advice.execution_time">{{
  1681. getTime(advice.execution_time, " {h}:{i}")
  1682. }}</span>
  1683. </td>
  1684. </tr>
  1685. </template>
  1686. </tbody>
  1687. </table>
  1688. </td>
  1689. </tr>
  1690. </tbody>
  1691. </table>
  1692. </div>
  1693. <template v-if="record.totallength > 14">
  1694. <div style="display: inline-block; width: 100%; text-align: center">
  1695. <div
  1696. class="order-yy-name"
  1697. style="
  1698. letter-spacing: 0;
  1699. font-weight: 600;
  1700. font-size: 22px;
  1701. display: inline-block;
  1702. "
  1703. >
  1704. {{ orgname }}
  1705. </div>
  1706. <div
  1707. class="order-title"
  1708. style="
  1709. letter-spacing: 0;
  1710. font-weight: 600;
  1711. font-size: 22px;
  1712. display: inline-block;
  1713. "
  1714. >
  1715. 血液净化治疗记录单
  1716. </div>
  1717. </div>
  1718. <div class="row">
  1719. <div class="inline_block">
  1720. 姓名:
  1721. <div class="under_line" style="width: 50px; text-align: center">
  1722. {{ record.patient.name }}
  1723. </div>
  1724. </div>
  1725. <div class="inline_block" style="margin-left: 10px">
  1726. 性别:
  1727. <div class="under_line" style="width: 30px; text-align: center">
  1728. {{ record.patient.gender == 1 ? "男" : "女" }}
  1729. </div>
  1730. </div>
  1731. <div class="inline_block" style="margin-left: 10px">
  1732. 年龄:
  1733. <div class="under_line" style="width: 30px; text-align: center">
  1734. {{ getAge(record.patient) }}
  1735. </div>
  1736. </div>
  1737. <div class="inline_block">
  1738. 门诊:
  1739. <div class="under_line" style="width: 30px; text-align: center">
  1740. <check-box :checked="record.patient.source == 1"></check-box>
  1741. </div>
  1742. </div>
  1743. <div class="inline_block">
  1744. 病区:
  1745. <div class="under_line" style="width: 50px; text-align: center">
  1746. {{ "/" }}
  1747. </div>
  1748. </div>
  1749. <div class="inline_block">
  1750. 床号:
  1751. <div class="under_line" style="width: 50px; text-align: center">
  1752. {{ "/" }}
  1753. </div>
  1754. </div>
  1755. <div class="inline_block">
  1756. 透析号:
  1757. <div class="under_line" style="width: 70px; text-align: center">
  1758. {{ record.patient.dialysis_no }}
  1759. </div>
  1760. </div>
  1761. <div class="inline_block" style="margin-left: 5px">
  1762. 住院号/门诊号:
  1763. <div
  1764. class="under_line"
  1765. style="width: 70px; text-align: left"
  1766. v-if="record.patient.admission_number"
  1767. >
  1768. {{ record.patient.admission_number }}
  1769. </div>
  1770. <div
  1771. class="under_line"
  1772. style="width: 70px; text-align: left"
  1773. v-else
  1774. >
  1775. {{ "/" }}
  1776. </div>
  1777. </div>
  1778. </div>
  1779. <div class="row">
  1780. <div class="inline_block">
  1781. 入科方式:
  1782. <div
  1783. v-for="(item, index) in way_arr"
  1784. :key="index"
  1785. class="under_line"
  1786. v-if="record.receive_assessment.way == item.id"
  1787. style="width: 180px; text-align: left"
  1788. >
  1789. {{ item.name }}
  1790. </div>
  1791. </div>
  1792. <div class="inline_block" style="margin-left: 10px">
  1793. 诊断:
  1794. <div
  1795. class="under_line"
  1796. style="
  1797. width: 640px;
  1798. text-align: left;
  1799. word-break: break-all;
  1800. word-wrap: break-word;
  1801. display: inline-block;
  1802. white-space: pre-wrap;
  1803. "
  1804. >
  1805. {{ record.patient.diagnose }}
  1806. </div>
  1807. </div>
  1808. </div>
  1809. </template>
  1810. <div class="row" style="margin-top: -11px; position: relative">
  1811. <table class="proj_table">
  1812. <tbody>
  1813. <tr>
  1814. <td
  1815. colspan="2"
  1816. style="
  1817. letter-spacing: 5px;
  1818. text-align: center;
  1819. font-weight: 520;
  1820. font-size: 16px;
  1821. padding: 6px 8px;
  1822. line-height: 30px;
  1823. "
  1824. >
  1825. 透析后情况
  1826. </td>
  1827. </tr>
  1828. <tr>
  1829. <td>
  1830. <!-- <div
  1831. class="row"
  1832. style="padding: 2px 0; line-height: 23px; display: flex"
  1833. >
  1834. <div class="inline_block" style="flex: 1">
  1835. T:
  1836. <div
  1837. class="under_line"
  1838. style="width: 50px; text-align: center"
  1839. >
  1840. {{
  1841. record.assessment_after_dislysis &&
  1842. record.assessment_after_dislysis.temperature
  1843. ? record.assessment_after_dislysis.temperature
  1844. : "/"
  1845. }}
  1846. </div>
  1847. °C
  1848. </div>
  1849. <div
  1850. class="inline_block"
  1851. style="margin-left: 10px; flex: 1"
  1852. >
  1853. P:
  1854. <div
  1855. class="under_line"
  1856. style="width: 50px; text-align: center"
  1857. >
  1858. {{
  1859. record.assessment_after_dislysis &&
  1860. record.assessment_after_dislysis.pulse_frequency
  1861. ? record.assessment_after_dislysis.pulse_frequency
  1862. : "/"
  1863. }}
  1864. </div>
  1865. 次/分
  1866. </div>
  1867. <div
  1868. class="inline_block"
  1869. style="margin-left: 10px; flex: 1"
  1870. >
  1871. R:
  1872. <div
  1873. class="under_line"
  1874. style="width: 50px; text-align: center"
  1875. >
  1876. {{
  1877. record.assessment_after_dislysis &&
  1878. record.assessment_after_dislysis.breathing_rate
  1879. ? record.assessment_after_dislysis.breathing_rate
  1880. : "/"
  1881. }}
  1882. </div>
  1883. 次/分
  1884. </div>
  1885. <div
  1886. class="inline_block"
  1887. style="margin-left: 10px; flex: 1.5"
  1888. >
  1889. BP:
  1890. <div
  1891. class="under_line"
  1892. style="width: 50px; text-align: center"
  1893. >
  1894. {{
  1895. record.assessment_after_dislysis &&
  1896. record.assessment_after_dislysis
  1897. .systolic_blood_pressure
  1898. ? record.assessment_after_dislysis
  1899. .systolic_blood_pressure
  1900. : "/"
  1901. }}
  1902. </div>
  1903. /
  1904. <div
  1905. class="under_line"
  1906. style="width: 50px; text-align: center"
  1907. >
  1908. {{
  1909. record.assessment_after_dislysis &&
  1910. record.assessment_after_dislysis
  1911. .diastolic_blood_pressure
  1912. ? record.assessment_after_dislysis
  1913. .diastolic_blood_pressure
  1914. : "/"
  1915. }}
  1916. </div>
  1917. mmHg
  1918. </div>
  1919. <div class="inline_block" style="flex: 1.5">
  1920. 实际治疗时间:
  1921. <div
  1922. class="under_line"
  1923. style="width: 30px; text-align: center"
  1924. >
  1925. {{
  1926. record.assessment_after_dislysis &&
  1927. record.assessment_after_dislysis
  1928. .actual_treatment_hour
  1929. ? record.assessment_after_dislysis
  1930. .actual_treatment_hour
  1931. : "/"
  1932. }}
  1933. </div>
  1934. h
  1935. <div
  1936. class="under_line"
  1937. style="width: 30px; text-align: center"
  1938. >
  1939. {{
  1940. record.assessment_after_dislysis &&
  1941. record.assessment_after_dislysis
  1942. .actual_treatment_minute
  1943. ? record.assessment_after_dislysis
  1944. .actual_treatment_minute
  1945. : 0
  1946. }}
  1947. </div>
  1948. min
  1949. </div>
  1950. </div> -->
  1951. <div
  1952. class="row"
  1953. style="padding: 2px 0; line-height: 23px; display: flex"
  1954. >
  1955. <div class="inline_block" style="flex: 2.5">
  1956. 透析器凝血:
  1957. <div
  1958. class="under_line"
  1959. style="
  1960. width: 170px;
  1961. text-align: center;
  1962. white-space: normal;
  1963. "
  1964. >
  1965. {{
  1966. record.assessment_after_dislysis &&
  1967. record.assessment_after_dislysis.cruor
  1968. ? record.assessment_after_dislysis.cruor
  1969. : "/"
  1970. }}
  1971. </div>
  1972. </div>
  1973. <div class="inline_block" style="flex: 2">
  1974. 内瘘:
  1975. <div
  1976. class="under_line"
  1977. style="
  1978. width: 170px;
  1979. text-align: center;
  1980. white-space: normal;
  1981. "
  1982. >
  1983. {{
  1984. record.assessment_after_dislysis &&
  1985. record.assessment_after_dislysis.internal_fistula
  1986. ? record.assessment_after_dislysis
  1987. .internal_fistula
  1988. : "/"
  1989. }}
  1990. </div>
  1991. </div>
  1992. <div class="inline_block" style="flex: 4">
  1993. 导管:
  1994. <div
  1995. class="under_line"
  1996. style="min-width: 120px; text-align: center"
  1997. >
  1998. {{
  1999. record.assessment_after_dislysis &&
  2000. record.assessment_after_dislysis.catheter
  2001. ? record.assessment_after_dislysis.catheter
  2002. : "/"
  2003. }}
  2004. </div>
  2005. </div>
  2006. </div>
  2007. <div
  2008. class="row"
  2009. style="padding: 2px 0; line-height: 23px; display: flex"
  2010. >
  2011. <div class="inline_block" style="flex: 1">
  2012. 透后体重:
  2013. <div
  2014. class="under_line"
  2015. style="width: 70px; text-align: center"
  2016. >
  2017. {{
  2018. record.assessment_after_dislysis &&
  2019. record.assessment_after_dislysis.weight_after
  2020. ? parseFloat(
  2021. record.assessment_after_dislysis.weight_after
  2022. ).toFixed(1)
  2023. : "/"
  2024. }}
  2025. </div>
  2026. kg
  2027. </div>
  2028. <div class="inline_block" style="flex: 1">
  2029. 体重减少:
  2030. <div
  2031. class="under_line"
  2032. style="width: 70px; text-align: center"
  2033. >
  2034. {{
  2035. record.assessment_after_dislysis &&
  2036. record.assessment_after_dislysis.weight_loss
  2037. ? record.assessment_after_dislysis.weight_loss
  2038. : "/"
  2039. }}
  2040. </div>
  2041. kg
  2042. </div>
  2043. <div class="inline_block" style="flex: 1.2">
  2044. 实际超滤量:
  2045. <div
  2046. class="under_line"
  2047. style="width: 100px; text-align: center"
  2048. >
  2049. {{
  2050. record.assessment_after_dislysis &&
  2051. record.assessment_after_dislysis
  2052. .actual_ultrafiltration
  2053. ? record.assessment_after_dislysis
  2054. .actual_ultrafiltration
  2055. : "/"
  2056. }}
  2057. </div>
  2058. ml
  2059. </div>
  2060. <div class="inline_block" style="flex: 1.5">
  2061. 实际治疗时间:
  2062. <div
  2063. class="under_line"
  2064. style="width: 30px; text-align: center"
  2065. >
  2066. {{
  2067. record.assessment_after_dislysis &&
  2068. record.assessment_after_dislysis
  2069. .actual_treatment_hour
  2070. ? record.assessment_after_dislysis
  2071. .actual_treatment_hour
  2072. : "/"
  2073. }}
  2074. </div>
  2075. h
  2076. <div
  2077. class="under_line"
  2078. style="width: 30px; text-align: center"
  2079. >
  2080. {{
  2081. record.assessment_after_dislysis &&
  2082. record.assessment_after_dislysis
  2083. .actual_treatment_minute
  2084. ? record.assessment_after_dislysis
  2085. .actual_treatment_minute
  2086. : "/"
  2087. }}
  2088. </div>
  2089. min
  2090. </div>
  2091. </div>
  2092. <div
  2093. class="row"
  2094. style="padding: 2px 0; line-height: 23px; display: flex"
  2095. v-if="org_id == 10223"
  2096. >
  2097. <div class="inline_block" style="flex: 1">
  2098. 动脉管道:
  2099. <div
  2100. class="under_line"
  2101. style="width: 100px; text-align: center"
  2102. >
  2103. <span
  2104. v-if="
  2105. record.assessment_after_dislysis.arterial_tube ==
  2106. 0
  2107. "
  2108. >/</span
  2109. >
  2110. <span
  2111. v-if="
  2112. record.assessment_after_dislysis.arterial_tube ==
  2113. 1
  2114. "
  2115. >动脉管道0</span
  2116. >
  2117. <span
  2118. v-if="
  2119. record.assessment_after_dislysis.arterial_tube ==
  2120. 2
  2121. "
  2122. >动脉管道+</span
  2123. >
  2124. <span
  2125. v-if="
  2126. record.assessment_after_dislysis.arterial_tube ==
  2127. 3
  2128. "
  2129. >动脉管道++</span
  2130. >
  2131. <span
  2132. v-if="
  2133. record.assessment_after_dislysis.arterial_tube ==
  2134. 4
  2135. "
  2136. >动脉管道+++</span
  2137. >
  2138. </div>
  2139. </div>
  2140. <div class="inline_block" style="flex: 1">
  2141. 静脉管道:
  2142. <div
  2143. class="under_line"
  2144. style="width: 100px; text-align: center"
  2145. >
  2146. <span
  2147. v-if="
  2148. record.assessment_after_dislysis
  2149. .intravenous_tube == 0
  2150. "
  2151. >/</span
  2152. >
  2153. <span
  2154. v-if="
  2155. record.assessment_after_dislysis
  2156. .intravenous_tube == 1
  2157. "
  2158. >静脉管道0</span
  2159. >
  2160. <span
  2161. v-if="
  2162. record.assessment_after_dislysis
  2163. .intravenous_tube == 2
  2164. "
  2165. >静脉管道+</span
  2166. >
  2167. <span
  2168. v-if="
  2169. record.assessment_after_dislysis
  2170. .intravenous_tube == 3
  2171. "
  2172. >静脉管道++</span
  2173. >
  2174. <span
  2175. v-if="
  2176. record.assessment_after_dislysis
  2177. .intravenous_tube == 4
  2178. "
  2179. >静脉管道+++</span
  2180. >
  2181. </div>
  2182. </div>
  2183. <div class="inline_block" style="flex: 1">
  2184. 并发症:
  2185. <div
  2186. class="under_line"
  2187. style="width: 170px; text-align: center"
  2188. >
  2189. {{
  2190. record.assessment_after_dislysis.complication
  2191. ? record.assessment_after_dislysis.complication
  2192. : "/"
  2193. }}
  2194. </div>
  2195. </div>
  2196. </div>
  2197. <div
  2198. class="row"
  2199. style="padding: 2px 0; line-height: 23px; display: flex"
  2200. v-if="org_id == 10223"
  2201. >
  2202. <div class="inline_block" style="flex: 1">
  2203. 穿刺处血肿:
  2204. <div
  2205. class="under_line"
  2206. style="width: 50px; text-align: center"
  2207. >
  2208. <span
  2209. v-if="
  2210. record.assessment_after_dislysis
  2211. .puncture_point_haematoma == 0
  2212. "
  2213. >/</span
  2214. >
  2215. <span
  2216. v-if="
  2217. record.assessment_after_dislysis
  2218. .puncture_point_haematoma == 1
  2219. "
  2220. >有</span
  2221. >
  2222. <span
  2223. v-if="
  2224. record.assessment_after_dislysis
  2225. .puncture_point_haematoma == 2
  2226. "
  2227. >无</span
  2228. >
  2229. </div>
  2230. </div>
  2231. <div class="inline_block" style="flex: 1">
  2232. 中心静脉封管(肝素-A端):
  2233. <div
  2234. class="under_line"
  2235. style="width: 70px; text-align: center"
  2236. >
  2237. {{
  2238. record.assessment_after_dislysis.cvc_a
  2239. ? record.assessment_after_dislysis.cvc_a
  2240. : "/"
  2241. }}
  2242. </div>
  2243. </div>
  2244. <div class="inline_block" style="flex: 1">
  2245. 中心静脉封管(肝素-V端):
  2246. <div
  2247. class="under_line"
  2248. style="width: 70px; text-align: center"
  2249. >
  2250. {{
  2251. record.assessment_after_dislysis.cvc_v
  2252. ? record.assessment_after_dislysis.cvc_v
  2253. : "/"
  2254. }}
  2255. </div>
  2256. </div>
  2257. </div>
  2258. <div
  2259. class="row"
  2260. style="padding: 2px 0; line-height: 23px; display: flex"
  2261. >
  2262. <div
  2263. class="inline_block"
  2264. style="flex: 1; display: inline-block"
  2265. >
  2266. 治疗小结:
  2267. <div
  2268. class="under_line"
  2269. style="
  2270. width: 840px;
  2271. line-height: 25px;
  2272. text-align: left;
  2273. margin-left: 2px;
  2274. display: inline-block;
  2275. white-space: normal;
  2276. "
  2277. >
  2278. {{
  2279. record.summer && record.summer.dialysis_summary
  2280. ? record.summer.dialysis_summary
  2281. : "/"
  2282. }}
  2283. </div>
  2284. </div>
  2285. </div>
  2286. </td>
  2287. </tr>
  2288. <tr>
  2289. <td>
  2290. <div
  2291. class="row"
  2292. style="padding: 2px 0; line-height: 23px; display: flex"
  2293. >
  2294. <div class="inline_block" style="flex: 1">
  2295. 上机护士:
  2296. <div
  2297. class="under_line"
  2298. style="width: 80px; text-align: center"
  2299. >
  2300. <span
  2301. v-if="
  2302. setAdminUserES(
  2303. record.dialysis_order,
  2304. 'start_nurse'
  2305. ) == ''
  2306. "
  2307. >{{
  2308. getAdminUser(
  2309. record.dialysis_order,
  2310. "start_nurse"
  2311. )
  2312. ? getAdminUser(
  2313. record.dialysis_order,
  2314. "start_nurse"
  2315. )
  2316. : "/"
  2317. }}</span
  2318. >
  2319. <img
  2320. class="es-img"
  2321. :src="
  2322. setAdminUserES(
  2323. record.dialysis_order,
  2324. 'start_nurse'
  2325. )
  2326. "
  2327. alt=""
  2328. srcset=""
  2329. v-else
  2330. style="height: 40px"
  2331. />
  2332. </div>
  2333. </div>
  2334. <!-- <div class="inline_block" style="flex: 1">
  2335. 治疗护士:
  2336. <div
  2337. class="under_line"
  2338. style="width: 80px; text-align: center"
  2339. >
  2340. <span
  2341. v-if="
  2342. setAdminUserES(
  2343. record.dialysis_order,
  2344. 'start_nurse'
  2345. ) == ''
  2346. "
  2347. >{{
  2348. getAdminUser(record.dialysis_order, "start_nurse")
  2349. ? getAdminUser(
  2350. record.dialysis_order,
  2351. "start_nurse"
  2352. )
  2353. : "/"
  2354. }}</span
  2355. >
  2356. <img
  2357. class="es-img"
  2358. :src="
  2359. setAdminUserES(
  2360. record.dialysis_order,
  2361. 'start_nurse'
  2362. )
  2363. "
  2364. alt=""
  2365. srcset=""
  2366. v-else
  2367. style="height: 40px"
  2368. />
  2369. </div>
  2370. </div> -->
  2371. <div class="inline_block" style="flex: 1">
  2372. 核对人员:
  2373. <div
  2374. class="under_line"
  2375. style="width: 80px; text-align: left"
  2376. v-if="!record.check"
  2377. ></div>
  2378. <div
  2379. class="under_line"
  2380. style="width: 80px; text-align: center"
  2381. v-if="
  2382. record.check != null &&
  2383. record.dialysis_order == null
  2384. "
  2385. >
  2386. <span
  2387. style="height: 30px; display: inline-block"
  2388. v-if="setAdminUserES(record.check, 'creater') == ''"
  2389. >
  2390. {{
  2391. getAdminUser(record.check, "creater")
  2392. ? getAdminUser(record.check, "creater")
  2393. : "/"
  2394. }}
  2395. </span>
  2396. <img
  2397. style="height: 30px"
  2398. :src="setAdminUserES(record.check, 'creater')"
  2399. alt=""
  2400. srcset=""
  2401. v-else
  2402. />
  2403. </div>
  2404. <div
  2405. class="under_line"
  2406. style="width: 80px; text-align: center"
  2407. v-if="
  2408. record.check != null &&
  2409. record.dialysis_order != null &&
  2410. record.dialysis_order.start_nurse ==
  2411. record.check.modifier
  2412. "
  2413. >
  2414. <span
  2415. style="height: 30px; display: inline-block"
  2416. v-if="setAdminUserES(record.check, 'creater') == ''"
  2417. >
  2418. {{
  2419. getAdminUser(record.check, "creater")
  2420. ? getAdminUser(record.check, "creater")
  2421. : "/"
  2422. }}
  2423. </span>
  2424. <img
  2425. style="height: 30px"
  2426. :src="setAdminUserES(record.check, 'creater')"
  2427. alt=""
  2428. srcset=""
  2429. v-else
  2430. />
  2431. </div>
  2432. <div
  2433. class="under_line"
  2434. style="width: 80px; text-align: center"
  2435. v-if="
  2436. record.check != null &&
  2437. record.dialysis_order != null &&
  2438. record.dialysis_order.start_nurse ==
  2439. record.check.creater
  2440. "
  2441. >
  2442. <span
  2443. style="height: 30px; display: inline-block"
  2444. v-if="
  2445. setAdminUserES(record.check, 'modifier') == ''
  2446. "
  2447. >
  2448. {{
  2449. getAdminUser(record.check, "modifier")
  2450. ? getAdminUser(record.check, "modifier")
  2451. : "/"
  2452. }}
  2453. </span>
  2454. <img
  2455. style="height: 30px"
  2456. :src="setAdminUserES(record.check, 'modifier')"
  2457. alt=""
  2458. srcset=""
  2459. v-else
  2460. />
  2461. </div>
  2462. <div
  2463. class="under_line"
  2464. style="width: 80px; text-align: center"
  2465. v-if="
  2466. record.check != null &&
  2467. record.dialysis_order != null &&
  2468. record.dialysis_order.start_nurse !=
  2469. record.check.creater &&
  2470. record.dialysis_order.start_nurse !=
  2471. record.check.modifier
  2472. "
  2473. >
  2474. <span
  2475. style="height: 30px; display: inline-block"
  2476. v-if="setAdminUserES(record.check, 'creater') == ''"
  2477. >
  2478. {{
  2479. getAdminUser(record.check, "creater")
  2480. ? getAdminUser(record.check, "creater")
  2481. : "/"
  2482. }}
  2483. </span>
  2484. <img
  2485. style="height: 30px"
  2486. :src="setAdminUserES(record.check, 'creater')"
  2487. alt=""
  2488. srcset=""
  2489. v-else
  2490. />
  2491. </div>
  2492. <!-- <div
  2493. class="under_line"
  2494. style="width: 80px; text-align: left"
  2495. v-if="!record.check"
  2496. ></div> -->
  2497. </div>
  2498. <!-- <div class="inline_block" style="flex:1;">
  2499. 核对人员:
  2500. <div
  2501. class="under_line"
  2502. style="width: 80px;text-align: left"
  2503. v-if="record.dialysis_order == null"
  2504. ></div>
  2505. <div
  2506. v-if="record.check"
  2507. class="under_line"
  2508. style="width: 80px;text-align: left"
  2509. >
  2510. <div
  2511. style="width: 80px;text-align: left;display: inline-block;white-space: nowrap;"
  2512. v-if="record.dialysis_order != null && record.check.creater ==record.check.creater"
  2513. >
  2514. <span
  2515. v-if="
  2516. setAdminUserES(record.check, 'creater') == ''
  2517. "
  2518. >{{
  2519. getAdminUser(record.check, "creater")
  2520. ? getAdminUser(record.check, "creater")
  2521. : "/"
  2522. }}</span
  2523. >
  2524. <img
  2525. class="es-img"
  2526. :src="setAdminUserES(record.check, 'creater')"
  2527. alt=""
  2528. srcset=""
  2529. v-else
  2530. style="height: 40px;"
  2531. />
  2532. </div>
  2533. <div
  2534. class="under_line"
  2535. style="width: 80px;text-align: left"
  2536. v-if=" record.dialysis_order != null &&record.dialysis_order.start_nurse ==record.check.modifier "
  2537. >
  2538. <span
  2539. v-if="
  2540. setAdminUserES(record.check, 'creater') == ''
  2541. "
  2542. >{{ getAdminUser(record.check, "creater") }}</span
  2543. >
  2544. <img
  2545. class="es-img"
  2546. :src="setAdminUserES(record.check, 'creater')"
  2547. alt=""
  2548. srcset=""
  2549. v-else
  2550. />
  2551. </div>
  2552. <div
  2553. class="under_line"
  2554. style="width: 80px;text-align: left"
  2555. v-if="record.dialysis_order != null &&record.dialysis_order.start_nurse != record.check.modifier &&record.dialysis_order.start_nurse != record.check.creater
  2556. "
  2557. >
  2558. <span
  2559. v-if="
  2560. setAdminUserES(record.check, 'creater') == ''
  2561. "
  2562. >{{ getAdminUser(record.check, "creater") }}</span
  2563. >
  2564. <img
  2565. class="es-img"
  2566. :src="setAdminUserES(record.check, 'creater')"
  2567. alt=""
  2568. srcset=""
  2569. v-else
  2570. />
  2571. </div>
  2572. </div>
  2573. <div
  2574. class="under_line"
  2575. style="width: 80px;text-align: left"
  2576. v-if="!record.check"
  2577. ></div>
  2578. </div> -->
  2579. <div class="inline_block" style="flex: 1">
  2580. 下机护士:
  2581. <div
  2582. class="under_line"
  2583. style="width: 80px; text-align: center"
  2584. >
  2585. <span
  2586. v-if="
  2587. setAdminUserES(
  2588. record.dialysis_order,
  2589. 'finish_nurse'
  2590. ) == ''
  2591. "
  2592. >{{
  2593. getAdminUser(
  2594. record.dialysis_order,
  2595. "finish_nurse"
  2596. )
  2597. ? getAdminUser(
  2598. record.dialysis_order,
  2599. "finish_nurse"
  2600. )
  2601. : "/"
  2602. }}</span
  2603. >
  2604. <img
  2605. class="es-img"
  2606. :src="
  2607. setAdminUserES(
  2608. record.dialysis_order,
  2609. 'finish_nurse'
  2610. )
  2611. "
  2612. alt=""
  2613. srcset=""
  2614. v-else
  2615. style="height: 40px"
  2616. />
  2617. </div>
  2618. </div>
  2619. <div class="inline_block" style="flex: 1">
  2620. 治疗医生:
  2621. <div
  2622. class="under_line"
  2623. style="width: 80px; text-align: center"
  2624. >
  2625. <template
  2626. v-if="
  2627. record.prescription &&
  2628. record.prescription.prescription_doctor
  2629. "
  2630. >
  2631. <span
  2632. v-if="
  2633. setAdminUserES(
  2634. record.prescription,
  2635. 'prescription_doctor'
  2636. ) == ''
  2637. "
  2638. >{{
  2639. getAdminUser(
  2640. record.prescription,
  2641. "prescription_doctor"
  2642. )
  2643. }}</span
  2644. >
  2645. <img
  2646. class="es-img"
  2647. :src="
  2648. setAdminUserES(
  2649. record.prescription,
  2650. 'prescription_doctor'
  2651. )
  2652. "
  2653. alt=""
  2654. srcset=""
  2655. v-else
  2656. style="height: 40px"
  2657. />
  2658. </template>
  2659. </div>
  2660. </div>
  2661. </div>
  2662. </td>
  2663. </tr>
  2664. </tbody>
  2665. </table>
  2666. </div>
  2667. </div>
  2668. </div>
  2669. </div>
  2670. </div>
  2671. </template>
  2672. <script>
  2673. import CheckBox from "./option_check_box";
  2674. import { GetBatchPrintDialysisData } from "@/api/print_data";
  2675. import { jsGetAge, uParseTime } from "@/utils/tools";
  2676. import { getDataConfig } from "@/utils/data";
  2677. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  2678. import print from "print-js";
  2679. export default {
  2680. name: "BatchPrintOrderSix",
  2681. components: {
  2682. CheckBox,
  2683. BreadCrumb,
  2684. },
  2685. data() {
  2686. return {
  2687. crumbs: [
  2688. { path: false, name: "透析管理" },
  2689. { path: false, name: "批量打印" },
  2690. ],
  2691. way_arr: [],
  2692. consciousness_arr: [],
  2693. appetite_arr: [],
  2694. posture_arr: [],
  2695. sick_condition_arr: [],
  2696. precaution_arr: [],
  2697. intake_arr: [],
  2698. nutrition_arr: [],
  2699. blood_access_part_opera_name: "",
  2700. records: [
  2701. // 模拟有多条数据
  2702. // {
  2703. // monitor_records: [ {},{},{},{},{},{},{},{},{},{},{}, ],
  2704. // advices: [ {},{},{},{},{},{},{}, ],
  2705. // },
  2706. // {
  2707. // monitor_records: [],
  2708. // advices: [],
  2709. // },
  2710. ],
  2711. loading: false,
  2712. orgname: "",
  2713. bloodAccessParOpera: {},
  2714. anticoagulantsConfit: {},
  2715. dialysateFormulationOptions: {},
  2716. operatorMaps: {},
  2717. operators: [],
  2718. adminUser: [],
  2719. doctor_advices: [],
  2720. monitor_records: [],
  2721. advice_groups: [],
  2722. advice_groups_2: [],
  2723. blood_access_part: [],
  2724. complications: [
  2725. "低血压",
  2726. "高血压",
  2727. "心律失常",
  2728. "头晕",
  2729. "头痛",
  2730. "呕吐",
  2731. "抽搐",
  2732. "出血",
  2733. "心衰",
  2734. "腹痛",
  2735. ],
  2736. org_id: "",
  2737. displaceLiquiPartOptions: [],
  2738. };
  2739. },
  2740. created() {
  2741. var bloodAccessParOpera = getDataConfig(
  2742. "hemodialysis",
  2743. "vascular_access_desc"
  2744. );
  2745. this.way_arr = getDataConfig("hemodialysis", "way");
  2746. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  2747. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  2748. this.posture_arr = getDataConfig("hemodialysis", "posture");
  2749. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  2750. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  2751. this.intake_arr = getDataConfig("hemodialysis", "intake");
  2752. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  2753. var xtuser = this.$store.getters.xt_user;
  2754. this.orgname = xtuser.org.org_name;
  2755. this.org_id = this.$store.getters.xt_user.org.id;
  2756. // this.orgname = "遂溪方济医院";
  2757. this.modeOptions = this.$store.getters.treatment_mode;
  2758. // this.replacementWays = this.$store.getters.replacement_ways;
  2759. // this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2760. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2761. // for(let i = 0 ; i < this.records.length ; i++){
  2762. // console.log(i,'jhk')
  2763. // this.blood_access_part_opera_name = this.bloodAccessParOperaName(
  2764. // i.assessment_before_dislysis.blood_access_part_opera_id
  2765. // );
  2766. // }
  2767. console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
  2768. for (var key in bloodAccessParOpera) {
  2769. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2770. bloodAccessParOpera[key];
  2771. }
  2772. this.blood_access_part = getDataConfig("hemodialysis", "vascular_access_desc");
  2773. var dialysateFormulationOptions = getDataConfig(
  2774. "hemodialysis",
  2775. "dialysate_formulation"
  2776. );
  2777. for (var key in dialysateFormulationOptions) {
  2778. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2779. dialysateFormulationOptions[key];
  2780. }
  2781. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
  2782. // const xtdate = this.$route.query && this.$route.query.xtdate;
  2783. // const xtno = this.$route.query && this.$route.query.xtno;
  2784. // if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
  2785. // this.queryParams.xtdate = xtdate;
  2786. // this.queryParams.xtno = xtno;
  2787. // this.getDialysisRecord();
  2788. // } else {
  2789. // this.$message.error("参数不齐");
  2790. // return false;
  2791. // }
  2792. },
  2793. mounted() {
  2794. this.loading = true;
  2795. var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids;
  2796. if (ids.length == 0) {
  2797. this.$router.back(-1);
  2798. return;
  2799. }
  2800. GetBatchPrintDialysisData(ids.join(","))
  2801. .then((rs) => {
  2802. var resp = rs.data;
  2803. if (resp.state == 1) {
  2804. this.records = this.records.concat(resp.data.schedules);
  2805. for (const recordIndex in this.records) {
  2806. var dlegh = 0;
  2807. if (
  2808. this.records[recordIndex].monitor_records &&
  2809. this.records[recordIndex].monitor_records.length < 6
  2810. ) {
  2811. dlegh = 6 - this.records[recordIndex].monitor_records.length;
  2812. } else {
  2813. dlegh = 0;
  2814. }
  2815. if (dlegh > 0) {
  2816. if (
  2817. typeof this.records[recordIndex].monitor_records ===
  2818. "undefined" ||
  2819. this.records[recordIndex].monitor_records == null
  2820. ) {
  2821. this.records[recordIndex].monitor_records = [];
  2822. }
  2823. for (let index = 0; index < dlegh; index++) {
  2824. this.records[recordIndex].monitor_records.push([]);
  2825. }
  2826. }
  2827. this.records[recordIndex].isShowZero = false;
  2828. if (this.records[recordIndex].patient.user_org_id == 9535) {
  2829. this.records[recordIndex].isShowZero = true;
  2830. }
  2831. var delghTwo = 0;
  2832. if (
  2833. this.records[recordIndex].advices &&
  2834. this.records[recordIndex].advices.length < 12
  2835. ) {
  2836. delghTwo = 12 - this.records[recordIndex].advices.length;
  2837. } else {
  2838. delghTwo = 0;
  2839. }
  2840. if (delghTwo > 0) {
  2841. if (
  2842. typeof this.records[recordIndex].advices === "undefined" ||
  2843. this.records[recordIndex].advices == null
  2844. ) {
  2845. this.records[recordIndex].advices = [];
  2846. }
  2847. for (let index = 0; index < delghTwo; index++) {
  2848. this.records[recordIndex].advices.push([]);
  2849. }
  2850. }
  2851. var childMap = {};
  2852. for (const index in this.records[recordIndex].advices) {
  2853. if (this.records[recordIndex].advices[index].parent_id == 0) {
  2854. continue;
  2855. }
  2856. if (
  2857. !(
  2858. this.records[recordIndex].advices[index].parent_id in childMap
  2859. )
  2860. ) {
  2861. childMap[this.records[recordIndex].advices[index].parent_id] =
  2862. [];
  2863. }
  2864. childMap[this.records[recordIndex].advices[index].parent_id].push(
  2865. this.records[recordIndex].advices[index]
  2866. );
  2867. }
  2868. var advices = [];
  2869. for (const index in this.records[recordIndex].advices) {
  2870. if (this.records[recordIndex].advices[index].parent_id > 0) {
  2871. continue;
  2872. }
  2873. var item = this.records[recordIndex].advices[index];
  2874. if (item.id in childMap) {
  2875. item.children = childMap[item.id];
  2876. } else {
  2877. item.children = [];
  2878. }
  2879. advices.push(item);
  2880. }
  2881. var leftAdvice = [];
  2882. var rightAdvice = [];
  2883. var adlen = advices.length;
  2884. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  2885. for (var i = 0; i < halfLen; i++) {
  2886. leftAdvice.push(advices[i]);
  2887. var rightIndex = i + halfLen;
  2888. rightAdvice.push(
  2889. rightIndex in advices ? advices[i + halfLen] : []
  2890. );
  2891. }
  2892. if (halfLen < 5) {
  2893. var nl = 5 - leftAdvice.length;
  2894. for (let index = 0; index < nl; index++) {
  2895. leftAdvice.push([]);
  2896. }
  2897. var nl = 5 - rightAdvice.length;
  2898. for (let index = 0; index < nl; index++) {
  2899. rightAdvice.push([]);
  2900. }
  2901. }
  2902. this.records[recordIndex].advices = [];
  2903. for (var i = 0; i < halfLen; i++) {
  2904. var item = [];
  2905. item.push(leftAdvice[i]);
  2906. item.push(rightAdvice[i]);
  2907. this.records[recordIndex].advices.push(item);
  2908. }
  2909. }
  2910. console.log(this.records, "this.records");
  2911. // this.records.forEach(o => {
  2912. // console.log(o,'jj')
  2913. // this.blood_access_part_opera_name = this.bloodAccessParOperaName(
  2914. // o.assessment_before_dislysis.blood_access_part_opera_id)
  2915. // })
  2916. this.operators = resp.data.medical_staffs;
  2917. if (this.operators.length > 0) {
  2918. var operatorsLen = this.operators.length;
  2919. for (var index = 0; index < operatorsLen; index++) {
  2920. this.$set(
  2921. this.operatorMaps,
  2922. this.operators[index].id,
  2923. this.operators[index]
  2924. );
  2925. }
  2926. }
  2927. this.adminUser = resp.data.users;
  2928. // console.log("使用者", this.adminUser);
  2929. this.loading = false;
  2930. } else {
  2931. this.loading = false;
  2932. this.$message.error(resp.msg);
  2933. }
  2934. })
  2935. .catch((err) => {
  2936. this.$message.error(err);
  2937. });
  2938. },
  2939. methods: {
  2940. getUnit: function (val) {
  2941. if (val.assessment_after_dislysis == null) {
  2942. return "";
  2943. } else if (val.assessment_after_dislysis != null) {
  2944. switch (val.assessment_after_dislysis.dialysis_intakes_unit) {
  2945. case 1:
  2946. return "g";
  2947. break;
  2948. case 2:
  2949. return "ml";
  2950. break;
  2951. }
  2952. }
  2953. },
  2954. QueryPartById: function (val) {
  2955. let vascular_access_part_name = "/";
  2956. const vascular_access = getDataConfig("hemodialysis", "vascular_access_desc");
  2957. for (let i = 0; i < vascular_access.length; i++) {
  2958. if (vascular_access[i].id == val) {
  2959. vascular_access_part_name = vascular_access[i].name;
  2960. }
  2961. }
  2962. return vascular_access_part_name;
  2963. },
  2964. printAction: function () {
  2965. const style =
  2966. '@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;}';
  2967. printJS({
  2968. printable: "print_content",
  2969. type: "html",
  2970. documentTitle: " ",
  2971. style: style,
  2972. scanStyles: false,
  2973. });
  2974. },
  2975. complicationsOther: function (record) {
  2976. if (record == null || typeof record === "undefined") {
  2977. return "";
  2978. }
  2979. if (record.complication.length == 0) {
  2980. return "";
  2981. }
  2982. var complications = record.complication.split(",");
  2983. var complicationOthers = [];
  2984. for (const index in complications) {
  2985. if (
  2986. this.complications.indexOf(complications[index]) < 0 &&
  2987. complicationOthers.indexOf(complications[index]) < 0
  2988. ) {
  2989. complicationOthers.push(complications[index]);
  2990. }
  2991. }
  2992. return complicationOthers.join(",");
  2993. },
  2994. modeName(mode_id) {
  2995. if (mode_id in this.modeOptions) {
  2996. return this.modeOptions[mode_id].name;
  2997. }
  2998. return "";
  2999. },
  3000. anticoagulantName: function (key) {
  3001. if (key == null || typeof key === "undefined") {
  3002. return "";
  3003. }
  3004. var id = key.anticoagulant;
  3005. if (id in this.anticoagulantsConfit) {
  3006. return this.anticoagulantsConfit[id].name;
  3007. }
  3008. return "";
  3009. },
  3010. bloodAccessParOperaName(id) {
  3011. console.log(tihs.records, "hhh");
  3012. if (id in this.bloodAccessParOpera) {
  3013. return this.bloodAccessParOpera[id].name;
  3014. }
  3015. return "";
  3016. },
  3017. isBbloodAccessParOperaCheck(key, value) {
  3018. if (key == null || typeof key === "undefined") {
  3019. return false;
  3020. }
  3021. var id = key.blood_access_part_opera_id;
  3022. if (id in this.bloodAccessParOpera) {
  3023. return this.bloodAccessParOpera[id].name.indexOf(value) > -1;
  3024. }
  3025. return false;
  3026. },
  3027. isdialysateFormulatioCheck(key, value) {
  3028. if (key == null || typeof key === "undefined") {
  3029. return false;
  3030. }
  3031. var id = key.dialysate_formulation;
  3032. if (id in this.dialysateFormulationOptions) {
  3033. return this.dialysateFormulationOptions[id].name.indexOf(value) > -1;
  3034. }
  3035. return false;
  3036. },
  3037. isValueIndexOfCheck: function (record, key, value) {
  3038. if (record == null || record == undefined) {
  3039. return false;
  3040. } else {
  3041. return record[key].indexOf(value) > -1;
  3042. }
  3043. },
  3044. setAdminUserES(key, id) {
  3045. if (
  3046. typeof key === "undefined" ||
  3047. key == null ||
  3048. typeof key[id] === "undefined"
  3049. ) {
  3050. return "";
  3051. }
  3052. if (key[id] == 0) {
  3053. return "";
  3054. }
  3055. if (key[id] in this.operatorMaps) {
  3056. return this.operatorMaps[key[id]].es_url;
  3057. } else {
  3058. return "";
  3059. }
  3060. },
  3061. getFloat: function (x) {
  3062. if (x != ".") {
  3063. var f = Math.round(x * 100) / 100;
  3064. var s = f.toString();
  3065. var rs = s.indexOf(".");
  3066. if (rs <= 0) {
  3067. rs = s.length;
  3068. s += ".";
  3069. }
  3070. while (s.length <= rs + 1) {
  3071. s += "0";
  3072. }
  3073. return s;
  3074. } else {
  3075. return "0.0";
  3076. }
  3077. },
  3078. getAdminUser(key, id) {
  3079. // console.log("key", key);
  3080. // console.log("id", id);
  3081. if (
  3082. typeof key === "undefined" ||
  3083. key == null ||
  3084. typeof key[id] === "undefined"
  3085. ) {
  3086. return "";
  3087. }
  3088. if (key[id] === 0) {
  3089. return "";
  3090. }
  3091. if (key[id] === undefined) {
  3092. return "";
  3093. }
  3094. for (let i = 0; i < this.adminUser.length; i++) {
  3095. if (this.adminUser[i].id === key[id]) {
  3096. return this.adminUser[i].name;
  3097. }
  3098. }
  3099. },
  3100. jsGetAge: function (agetime) {
  3101. if (agetime == 0) {
  3102. return "";
  3103. }
  3104. return jsGetAge(uParseTime(agetime, "{y}-{m}-{d}"), "-");
  3105. },
  3106. getTime(value, temp) {
  3107. if (value != undefined) {
  3108. return uParseTime(value, temp);
  3109. }
  3110. return "";
  3111. },
  3112. // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
  3113. // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
  3114. isCheckBoxChecked: function (record, key, target_value) {
  3115. if (record == null || record == undefined) {
  3116. return false;
  3117. } else {
  3118. return record[key] == target_value;
  3119. }
  3120. },
  3121. getAge: function (val) {
  3122. if (val.age == 0) {
  3123. if (val.birthday == 0) {
  3124. return "";
  3125. }
  3126. return jsGetAge(uParseTime(val.birthday, "{y}-{m}-{d}"), "-");
  3127. } else {
  3128. return val.age;
  3129. }
  3130. },
  3131. newAdviceGroupObject: function () {
  3132. return Object.assign(
  3133. {},
  3134. {
  3135. group_no: 0,
  3136. advices: [],
  3137. }
  3138. );
  3139. },
  3140. getNumber: function (record) {
  3141. console.log(record);
  3142. },
  3143. getDisplaceLiquiPart: function (val) {
  3144. let displace_liqui_part_name = "/";
  3145. const displace_liqui_part = this.displaceLiquiPartOptions;
  3146. for (let i = 0; i < displace_liqui_part.length; i++) {
  3147. if (displace_liqui_part[i].id == val) {
  3148. displace_liqui_part_name = displace_liqui_part[i].name;
  3149. }
  3150. }
  3151. return displace_liqui_part_name;
  3152. },
  3153. },
  3154. };
  3155. </script>
  3156. <style scoped>
  3157. .print_page_main_content {
  3158. background-color: white;
  3159. width: 960px;
  3160. margin: 0 auto 50px;
  3161. padding: 0 0 0 0;
  3162. page-break-after: always;
  3163. }
  3164. .print_page_main_content .order-yy-name {
  3165. margin: auto;
  3166. text-align: center;
  3167. font-size: 20px;
  3168. letter-spacing: 5px;
  3169. }
  3170. .print_page_main_content .order_title {
  3171. text-align: center;
  3172. font-size: 23px;
  3173. line-height: 40px;
  3174. font-weight: 500;
  3175. }
  3176. .row {
  3177. font-size: 14px;
  3178. line-height: 20px;
  3179. padding: 5px 0;
  3180. }
  3181. .inline_block {
  3182. display: inline-block;
  3183. }
  3184. .under_line {
  3185. display: inline-block;
  3186. border-bottom: 1px solid #999;
  3187. text-align: center;
  3188. white-space: nowrap;
  3189. width: 50%;
  3190. }
  3191. .under_line::before {
  3192. content: "\00A0";
  3193. }
  3194. .under_line::after {
  3195. content: "\00A0";
  3196. }
  3197. .under_line_two {
  3198. display: inline-block;
  3199. border-bottom: 1px solid #999;
  3200. text-align: left;
  3201. white-space: nowrap;
  3202. width: 50%;
  3203. }
  3204. .under_line_two::before {
  3205. content: "\00A0";
  3206. }
  3207. .under_line_two::after {
  3208. content: "\00A0";
  3209. }
  3210. .flex {
  3211. display: -webkit-box;
  3212. display: -moz-box;
  3213. display: -ms-flexbox;
  3214. display: -webkit-flex;
  3215. display: flex;
  3216. align-items: center;
  3217. -webkit-align-items: center;
  3218. box-align: center;
  3219. -moz-box-align: center;
  3220. -webkit-box-align: center;
  3221. text-align: center;
  3222. -webkit-justify-content: space-between;
  3223. justify-content: space-between;
  3224. -moz-box-pack: space-between;
  3225. -webkit--moz-box-pack: space-between;
  3226. box-pack: space-between;
  3227. }
  3228. .print_page_main_content .proj_table {
  3229. width: 100%;
  3230. border: 1px solid;
  3231. border-collapse: collapse;
  3232. padding: 2px;
  3233. }
  3234. .print_page_main_content .proj_table tbody tr td {
  3235. border: 1px solid;
  3236. /* text-align: center; */
  3237. font-size: 16px;
  3238. padding: 6px 8px;
  3239. line-height: 30px;
  3240. }
  3241. .print_page_main_content .proj_table .inside_table {
  3242. width: 100%;
  3243. border: hidden; /* 解决边框冲突 */
  3244. border-collapse: collapse;
  3245. }
  3246. .print_page_main_content .proj_table .inside_table tr td {
  3247. border: 1px solid;
  3248. text-align: center;
  3249. font-size: 14px;
  3250. padding: 8px 5px;
  3251. line-height: 16px;
  3252. }
  3253. .print-table-no {
  3254. width: 100%;
  3255. text-align: center;
  3256. border-collapse: collapse;
  3257. font-size: 14px;
  3258. }
  3259. .es-img {
  3260. height: 30px;
  3261. }
  3262. .advice-name {
  3263. text-align: left !important;
  3264. line-height: 16px !important;
  3265. }
  3266. .advice-children {
  3267. display: flex;
  3268. }
  3269. .margin-bottom-300 {
  3270. margin-bottom: 450px;
  3271. }
  3272. .margin-bottom-600 {
  3273. margin-bottom: 600px;
  3274. }
  3275. .margin-bottom-900 {
  3276. margin-bottom: 900px;
  3277. }
  3278. .print-yema {
  3279. position: absolute;
  3280. left: 50%;
  3281. }
  3282. .print-yema2 {
  3283. position: absolute;
  3284. left: 50%;
  3285. }
  3286. .print-yema3 {
  3287. position: absolute;
  3288. left: 50%;
  3289. }
  3290. .print-yema4 {
  3291. position: absolute;
  3292. left: 50%;
  3293. }
  3294. .print-yema5 {
  3295. position: absolute;
  3296. left: 50%;
  3297. }
  3298. .did_checke::after {
  3299. content: "\221A";
  3300. font-size: 8px;
  3301. margin-left: 2px;
  3302. margin-top: 2px;
  3303. position: absolute;
  3304. }
  3305. </style>