DialysisPrintOrderTwentyEight.vue 101KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490
  1. <template>
  2. <div id="dialysis-print-box">
  3. <div class="dialysis-print-order">
  4. <!-- <div class="order-yy-name">{{ orgname }}</div> -->
  5. <div class="order-title">{{ orgname }}&nbsp;&nbsp;血液净化治疗记录单</div>
  6. <table class="table-box" style="margin-top: 10px;">
  7. <tbody>
  8. <tr>
  9. <td width="50">姓 名:</td>
  10. <td width="90">
  11. <div class="under-line">&nbsp;{{ patientInfo.name }}</div>
  12. </td>
  13. <td width="30"></td>
  14. <td width="50">性 别:</td>
  15. <td width="50">
  16. <div class="under-line">
  17. {{ patientInfo_gender_1 ? "男" : "女" }}
  18. </div>
  19. </td>
  20. <td width="30"></td>
  21. <td width="50">年 龄:</td>
  22. <td width="40">
  23. <div class="under-line">{{ getAge(patientInfo) }}</div>
  24. </td>
  25. <td>岁</td>
  26. <td width="120">透析号/住院号:</td>
  27. <td width="130">
  28. <div class="under-line">&nbsp;{{ patientInfo.dialysis_no }} /{{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number : "无" }}
  29. </div>
  30. </td>
  31. <td width="30"></td>
  32. <td width="80">治疗日期:</td>
  33. <td width="120">
  34. <div class="under-line">
  35. &nbsp;<span>{{ queryParams.xtdate }}</span>
  36. </div>
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. <!-- <div style="display:flex:font-size:14px">
  42. <span style="width:50px;text-align:text-algin">诊 断:</span>
  43. <div class="under-line" style="text-align:left">
  44. &nbsp;{{ patientInfo.diagnose }}
  45. </div>
  46. </div> -->
  47. <table class="table-box" style="margin-top: 10px;">
  48. <tbody>
  49. <tr>
  50. <td width="40">诊 断:</td>
  51. <td width="">
  52. <div class="under-line" style="text-align:left">
  53. &nbsp;{{ patientInfo.diagnose }}
  54. </div>
  55. </td>
  56. <td width="60">治疗次数:</td>
  57. <td width="60">
  58. <div class="under-line">
  59. &nbsp;{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ? patientInfo.total_dialysis + patientInfo.user_sys_before_count : "" }}
  60. </div>
  61. </td>
  62. </tr>
  63. </tbody>
  64. </table>
  65. <table class="print-table" border="1">
  66. <tbody>
  67. <tr>
  68. <td width="30px" class="title-box">一般情况</td>
  69. <td>
  70. <table class="table-box">
  71. <tbody>
  72. <tr>
  73. <td width="70">入科方式:</td>
  74. <td width="240">
  75. <div style="display:flex;justify-content:space-between;">
  76. <label-box v-for="(item, index) in way_arr" :key="index" :isChecked="receiverTreatmentAccess.way == item.id ? true : false" :showValue="item.name"></label-box>
  77. <!--&nbsp-->
  78. <!--<label-box :isChecked='receiverTreatmentAccess.way==2?true:false' showValue='扶行'></label-box>-->
  79. <!--&nbsp;-->
  80. <!--<label-box :isChecked='receiverTreatmentAccess.way==3?true:false' showValue='轮椅'></label-box>-->
  81. <!--&nbsp;-->
  82. <!--<label-box :isChecked='receiverTreatmentAccess.way==4?true:false' showValue='平车'></label-box>-->
  83. </div>
  84. </td>
  85. <td width="50"></td>
  86. <td width="50">意识:</td>
  87. <td width="240">
  88. <div style="display:flex;justify-content:space-between;">
  89. <label-box v-for="(item, index) in consciousness_arr" :key="index" :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false" :showValue="item.name"></label-box>
  90. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'-->
  91. <!--showValue='清醒'></label-box>-->
  92. <!--&nbsp;-->
  93. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==2?true:false'-->
  94. <!--showValue='嗜睡'></label-box>-->
  95. <!--&nbsp;-->
  96. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'-->
  97. <!--showValue='昏迷'></label-box>-->
  98. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'-->
  99. <!--showValue='模糊'></label-box>-->
  100. </div>
  101. </td>
  102. <td width='20'></td>
  103. <td width='60'>透析频次</td>
  104. <td width="70">
  105. <div class="under-line">
  106. &nbsp;{{ predialysis.dialysis_count ? predialysis.dialysis_count : "" }}
  107. </div>
  108. </td>
  109. <td width='40'>次/周</td>
  110. <td></td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. <table class="table-box">
  115. <tbody>
  116. <tr>
  117. <td width="80">生命体征:</td>
  118. <td width="40">体温:</td>
  119. <td width="70">
  120. <div class="under-line">
  121. &nbsp;{{ predialysis.temperature ? predialysis.temperature : "" }}
  122. </div>
  123. </td>
  124. <td width="35">℃</td>
  125. <td width="30"></td>
  126. <!-- <td width="40">心率:</td>
  127. <td width="70">
  128. <div class="under-line">&nbsp;</div>
  129. </td>
  130. <td width="35">次/分</td>
  131. <td width="30"></td> -->
  132. <td width="40">脉搏:</td>
  133. <td width="70">
  134. <div class="under-line">
  135. &nbsp;{{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "" }}
  136. </div>
  137. </td>
  138. <td width="35">次/分</td>
  139. <td width="30"></td>
  140. <td width="40">血压:</td>
  141. <td width="140">
  142. <div class="under-line">
  143. {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "" }}/
  144. {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }}
  145. </div>
  146. </td>
  147. <td width="35">mmHg</td>
  148. <td></td>
  149. </tr>
  150. </tbody>
  151. </table>
  152. <table class="table-box">
  153. <tbody>
  154. <tr>
  155. <td width="86">导管穿刺口:</td>
  156. <td width="240">
  157. <div style="display:flex;justify-content:space-between;">
  158. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-干洁') > -1 ? true : false" showValue="干洁"></label-box>
  159. &nbsp;
  160. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-红肿') > -1 ? true : false" showValue="红肿"></label-box>
  161. &nbsp;
  162. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-分泌物') > -1 ? true : false" showValue="分泌物"></label-box>
  163. &nbsp;
  164. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-渗血') > -1 ? true : false" showValue="渗血"></label-box>
  165. </div>
  166. </td>
  167. <td width="40"></td>
  168. <!-- <td width="65">导管打折</td>
  169. <td width="10">(</td>
  170. <td width="80">
  171. <div>
  172. <label-box
  173. :isChecked="
  174. predialysis.catheter_bend == 1 ? true : false
  175. "
  176. showValue="有"
  177. ></label-box>
  178. &nbsp;
  179. <label-box
  180. :isChecked="
  181. predialysis.catheter_bend == 2 ? true : false
  182. "
  183. showValue="无"
  184. ></label-box>
  185. </div>
  186. </td>
  187. <td width="10">)</td>
  188. <td></td> -->
  189. <!-- 体位 -->
  190. <td width="40">体位:</td>
  191. <td width="400">
  192. <div style="display:flex;justify-content:space-between;">
  193. <label-box v-for="(item, index) in posture_arr" :key="index" :isChecked="receiverTreatmentAccess.posture == item.id ? true : false" :showValue="item.name"></label-box>
  194. <!--<label-box :isChecked='receiverTreatmentAccess.posture==1?true:false'-->
  195. <!--showValue='自动体位'></label-box>-->
  196. <!--&nbsp;-->
  197. <!--<label-box :isChecked='receiverTreatmentAccess.posture==2?true:false'-->
  198. <!--showValue='平卧位'></label-box>-->
  199. <!--&nbsp;-->
  200. <!--<label-box :isChecked='receiverTreatmentAccess.posture==3?true:false'-->
  201. <!--showValue='半卧位'></label-box>-->
  202. <!--&nbsp;-->
  203. <!--<label-box :isChecked='receiverTreatmentAccess.posture==4?true:false'-->
  204. <!--showValue='端坐位'></label-box>-->
  205. <!--&nbsp;-->
  206. <!--<label-box :isChecked='receiverTreatmentAccess.posture==5?true:false'-->
  207. <!--showValue='躁动不安'></label-box>-->
  208. <!--&nbsp;-->
  209. </div>
  210. </td>
  211. <td></td>
  212. </tr>
  213. </tbody>
  214. </table>
  215. <table class="table-box">
  216. <tbody>
  217. <tr>
  218. <td width="70">内瘘评估:</td>
  219. <td width="35">震颤:</td>
  220. <td width="210">
  221. <div style="display:flex;justify-content:space-between;">
  222. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
  223. &nbsp;
  224. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
  225. &nbsp;
  226. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
  227. </div>
  228. </td>
  229. <td width="50"></td>
  230. <td width="95">内瘘皮肤情况:</td>
  231. <td width="220">
  232. <div style="display:flex;justify-content:space-between;">
  233. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('正常') > -1 ? true : false" showValue="正常"></label-box>
  234. &nbsp;
  235. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('瘀斑') > -1 ? true : false" showValue="瘀斑"></label-box>
  236. &nbsp;
  237. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红') > -1 ? true : false" showValue="红"></label-box>
  238. &nbsp;
  239. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('肿') > -1 ? true : false" showValue="肿"></label-box>
  240. </div>
  241. </td>
  242. <td></td>
  243. </tr>
  244. </tbody>
  245. </table>
  246. <table class="table-box">
  247. <tbody>
  248. <tr>
  249. <td width="40">皮肤:</td>
  250. <td width="600">
  251. <div style="display:flex;justify-content:space-between;">
  252. <!-- <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
  253. <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
  254. <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
  255. <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>
  256. <label-box showValue="水肿" :isChecked="predialysis.skin == 5 ? true : false"></label-box>
  257. <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
  258. <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
  259. <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
  260. <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box> -->
  261. <label-box showValue="完整" :isChecked="predialysis.skin.indexOf('完整')>-1 ? true : false"></label-box>
  262. <label-box showValue="干燥" :isChecked="predialysis.skin.indexOf('干燥')>-1? true : false"></label-box>
  263. <label-box showValue="瘙痒" :isChecked="predialysis.skin.indexOf('瘙痒')>-1 ? true : false"></label-box>
  264. <label-box showValue="菲薄" :isChecked="predialysis.skin.indexOf('菲薄')>-1? true : false"></label-box>
  265. <label-box showValue="水肿" :isChecked="predialysis.skin.indexOf('水肿')>-1 ? true : false"></label-box>
  266. <label-box showValue="皮疹" :isChecked="predialysis.skin.indexOf('皮疹')>-1 ? true : false"></label-box>
  267. <label-box showValue="出血点" :isChecked="predialysis.skin.indexOf('出血点')>-1 ? true : false"></label-box>
  268. <label-box showValue="压疮" :isChecked="predialysis.skin.indexOf('压疮')>-1 ? true : false"></label-box>
  269. <label-box showValue="皮下淤血" :isChecked="predialysis.skin.indexOf('皮下淤血')>-1 ? true : false"></label-box>
  270. &ensp;
  271. </div>
  272. </td>
  273. <td width="35">其它</td>
  274. <td width="">
  275. <div class="under-line">
  276. &nbsp;
  277. </div>
  278. </td>
  279. <!-- <td width="10">)</td> -->
  280. </tr>
  281. </tbody>
  282. </table>
  283. <table class="table-box">
  284. <tbody>
  285. <tr>
  286. <td width="86">活动性出血:</td>
  287. <td width="40">
  288. <div>
  289. <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
  290. <!-- &nbsp;
  291. <label-box
  292. :isChecked="
  293. predialysis.is_hemorrhage == 1 ? true : false
  294. "
  295. showValue="有"
  296. ></label-box> -->
  297. </div>
  298. </td>
  299. <!-- <td width="10">(</td> -->
  300. <td width="380">
  301. <div>
  302. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
  303. &nbsp;
  304. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('消化道出血') > -1 ? true : false" showValue="消化道出血"></label-box>
  305. &nbsp;
  306. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('穿刺点渗血') > -1 ? true : false" showValue="穿刺点渗血"></label-box>
  307. &nbsp;
  308. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('女性经期') > -1 ? true : false" showValue="女性经期"></label-box>
  309. </div>
  310. </td>
  311. <td width="35">其它</td>
  312. <td width="">
  313. <div class="under-line">
  314. &nbsp;
  315. <span v-if="predialysis.is_hemorrhage == 1">{{ predialysis.hemorrhage_other }}</span>
  316. </div>
  317. </td>
  318. <!-- <td width="10">)</td> -->
  319. </tr>
  320. </tbody>
  321. </table>
  322. <table class="table-box">
  323. <tbody>
  324. <tr>
  325. <td width="70">血管通路:</td>
  326. <td width="600">
  327. <div>
  328. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('自体内瘘') > -1 ? true : false" showValue="自体内瘘"></label-box>
  329. &nbsp;
  330. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') > -1 ? true : false" showValue="人造血管"></label-box>
  331. &nbsp;
  332. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('直穿') > -1 ? true : false" showValue="直穿"></label-box>
  333. &nbsp;
  334. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉-左') > -1 ? true : false" showValue="颈内静脉-左"></label-box>
  335. &nbsp;
  336. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉-右') > -1 ? true : false" showValue="颈内静脉-右"></label-box>
  337. &nbsp;
  338. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="股静脉"></label-box>
  339. &nbsp;
  340. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下') > -1 ? true : false" showValue="锁骨下"></label-box>
  341. &nbsp;
  342. </div>
  343. </td>
  344. <td></td>
  345. </tr>
  346. </tbody>
  347. </table>
  348. <table class="table-box">
  349. <tbody>
  350. <tr>
  351. <td width="70">穿刺方式:</td>
  352. <td width="200">
  353. <div>
  354. <label-box showValue="绳梯" :isChecked="predialysis.puncture_way.indexOf('绳梯')>-1 ? true : false"></label-box>&nbsp;
  355. <label-box showValue="定点" :isChecked="predialysis.puncture_way.indexOf('定点')>-1 ? true : false"></label-box>&nbsp;
  356. <label-box showValue="直接穿刺" :isChecked="predialysis.puncture_way.indexOf('直接穿刺')>-1 ? true:false"></label-box>&nbsp;
  357. </div>
  358. </td>
  359. <td width='20'></td>
  360. <td width="70">穿刺针:</td>
  361. <td width="180">
  362. <div>
  363. <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : false" showValue="16G"></label-box>
  364. &nbsp;
  365. <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
  366. &nbsp;
  367. <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
  368. &nbsp;
  369. </div>
  370. </td>
  371. <td></td>
  372. </tr>
  373. </tbody>
  374. </table>
  375. </td>
  376. </tr>
  377. </tbody>
  378. </table>
  379. <table class="print-table" border="1">
  380. <tbody>
  381. <tr>
  382. <td width="30px" class="title-box">专科记录</td>
  383. <td>
  384. <table class="table-box">
  385. <tbody>
  386. <tr>
  387. <td width="60">干体重:</td>
  388. <td width="50">
  389. <div class="under-line">
  390. &nbsp;{{ predialysis.dry_weight ? predialysis.dry_weight : "" }}
  391. </div>
  392. </td>
  393. <td width="20">Kg</td>
  394. <td></td>
  395. <td width="70">透前体重:</td>
  396. <td width="50">
  397. <div class="under-line">
  398. &nbsp;{{ predialysis.weight_before ? predialysis.weight_before : "" }}
  399. </div>
  400. </td>
  401. <td width="20">Kg</td>
  402. <td></td>
  403. <td width="100">计划治疗时间:</td>
  404. <td width="40">
  405. <div class="under-line">
  406. &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}
  407. </div>
  408. </td>
  409. <td width="10">h</td>
  410. <td width="40">
  411. <div class="under-line">
  412. &nbsp;{{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}
  413. </div>
  414. </td>
  415. <td width="35">min</td>
  416. <td></td>
  417. <td width="80">透析机编号:</td>
  418. <td width="100">
  419. <div class="under-line">{{ getNumber() }}</div>
  420. </td>
  421. <td width=""></td>
  422. <!-- <td width="55">血流量:</td>
  423. <td width="60">
  424. <div class="under-line">
  425. &nbsp;{{
  426. prescription.blood_flow_volume
  427. ? prescription.blood_flow_volume
  428. : ""
  429. }}
  430. </div>
  431. </td>
  432. <td width="60">ml/min</td>
  433. <td></td>
  434. <td width="85">目标超滤量:</td>
  435. <td width="70">
  436. <div class="under-line">
  437. &nbsp;{{
  438. prescription.target_ultrafiltration
  439. ? prescription.target_ultrafiltration
  440. : ""
  441. }}
  442. </div>
  443. </td>
  444. <td width="20">L</td> -->
  445. </tr>
  446. </tbody>
  447. </table>
  448. <table class="table-box">
  449. <tbody>
  450. <tr>
  451. <td width="120">计划超滤总量:</td>
  452. <td width="50">
  453. <div class="under-line">
  454. &nbsp;{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}
  455. </div>
  456. </td>
  457. <td width="10">ml</td>
  458. <td width="60">置换量:</td>
  459. <td width="40">
  460. <div class="under-line">
  461. &nbsp;{{ prescription.replacement_total ? prescription.replacement_total : "/" }}
  462. </div>
  463. </td>
  464. <td width="20">ml</td>
  465. <td width="80">透析方式:</td>
  466. <td width="50">
  467. <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>
  468. </td>
  469. <td width="60">
  470. <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
  471. </td>
  472. <td width="50">
  473. <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>
  474. </td>
  475. <td width="50">
  476. <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>
  477. </td>
  478. <td width="80">
  479. <label-box :isChecked="prescription.mode_id == 3 ? true : false" showValue="HD+HP"></label-box>
  480. </td>
  481. <td width="90">透析器型号:</td>
  482. <td width="100">
  483. <div class="under-line">
  484. &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
  485. </div>
  486. </td>
  487. </tr>
  488. </tbody>
  489. </table>
  490. <table class="table-box">
  491. <tbody>
  492. <tr>
  493. <td width="40">肝素:</td>
  494. <td width="75">
  495. <label-box :isChecked="(prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7) ? true : false" showValue="低分子:"></label-box>
  496. </td>
  497. <td width="60">
  498. <div class="under-line">
  499. &nbsp;
  500. <span v-if="prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7">{{ prescription.anticoagulant_zongliang }}</span>
  501. </div>
  502. </td>
  503. <td width="20">
  504. <span v-if="prescription.anticoagulant == 5">mg</span>
  505. <span v-if="prescription.anticoagulant == 4">mg</span>
  506. <span v-if="prescription.anticoagulant == 3">iu</span>
  507. <span v-if="prescription.anticoagulant == 2">mg</span>
  508. <span v-if="prescription.anticoagulant == 1">mg</span>
  509. <span v-if="prescription.anticoagulant == 6">iu</span>
  510. <span v-if="prescription.anticoagulant == 7">iu</span>
  511. </td>
  512. <td width="70">
  513. <label-box :isChecked="prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
  514. </td>
  515. <td width="80">
  516. <label-box :isChecked="prescription.anticoagulant == 2 ? true : false" showValue="普通肝素:"></label-box>
  517. </td>
  518. <td width="35">首剂</td>
  519. <td width="40">
  520. <div class="under-line">
  521. &nbsp;
  522. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_shouji }}</span>
  523. </div>
  524. </td>
  525. <td width="20">
  526. <span v-if="prescription.anticoagulant == 4">mg</span>
  527. <span v-if="prescription.anticoagulant == 3">iu</span>
  528. <span v-if="prescription.anticoagulant == 2">iu</span>
  529. <span v-if="prescription.anticoagulant == 1">mg</span>
  530. </td>
  531. <td width="10"></td>
  532. <td width="35">追加</td>
  533. <td width="40">
  534. <div class="under-line" >
  535. &nbsp;
  536. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}</span>
  537. </div>
  538. </td>
  539. <td width="40">
  540. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  541. <span v-if="prescription.anticoagulant == 4">mg/h</span>
  542. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  543. <span v-if="prescription.anticoagulant == 2">iu/h</span>
  544. <span v-if="prescription.anticoagulant == 1">mg/h</span>
  545. </td>
  546. <td width="35">总量:</td>
  547. <td width="40">
  548. <div class="under-line">
  549. &nbsp;
  550. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/" }}</span>
  551. </div>
  552. </td>
  553. <td width="20">
  554. <span v-if="prescription.anticoagulant == 4">mg</span>
  555. <span v-if="prescription.anticoagulant == 3">iu</span>
  556. <span v-if="prescription.anticoagulant == 2">iu</span>
  557. <span v-if="prescription.anticoagulant == 1">mg</span>
  558. </td>
  559. <td width="40"></td>
  560. </tr>
  561. </tbody>
  562. </table>
  563. <table class="table-box">
  564. <tbody>
  565. <tr>
  566. <td width="85">透析液配方:</td>
  567. <td width="580">
  568. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : false" showValue="常规"></label-box>
  569. &nbsp;
  570. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('钾(3.5mmol/L)') > -1 ? true : false" showValue="钾(3.5mmol/L)"></label-box>
  571. &nbsp;
  572. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('钾(2.0mmol/L)') > -1 ? true : false" showValue="钾(2.0mmol/L)"></label-box>
  573. &nbsp;
  574. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙(1.25mmol/L)') > -1 ? true : false" showValue="低钙(1.25mmol/L)"></label-box>
  575. &nbsp;
  576. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙(1.5mmol/L)') > -1 ? true : false" showValue="高钙(1.5mmol/L)"></label-box>
  577. &nbsp;
  578. </td>
  579. <td></td>
  580. </tr>
  581. </tbody>
  582. </table>
  583. <table class="table-box">
  584. <tbody>
  585. <tr>
  586. <td width="40">其他:</td>
  587. <td width="">
  588. <div class="under-line">&nbsp;</div>
  589. </td>
  590. </tr>
  591. </tbody>
  592. </table>
  593. <!-- <table class="table-box">
  594. <tbody>
  595. <tr>
  596. <td width="55">置换量:</td>
  597. <td width="40">
  598. <div class="under-line">
  599. &nbsp;{{
  600. prescription.replacement_total
  601. ? prescription.replacement_total
  602. : ""
  603. }}
  604. </div>
  605. </td>
  606. <td width="10">L</td>
  607. <td width="10"></td>
  608. <td width="70">治疗方式:</td>
  609. <td width="50">
  610. <label-box
  611. :isChecked="prescription.mode_id == 1 ? true : false"
  612. showValue="HD"
  613. ></label-box>
  614. </td>
  615. <td width="50">
  616. <label-box
  617. :isChecked="prescription.mode_id == 2 ? true : false"
  618. showValue="HDF"
  619. ></label-box>
  620. </td>
  621. <td width="50">
  622. <label-box
  623. :isChecked="prescription.mode_id == 5 ? true : false"
  624. showValue="HF"
  625. ></label-box>
  626. </td>
  627. <td width="50">
  628. <label-box
  629. :isChecked="prescription.mode_id == 4 ? true : false"
  630. showValue="HP"
  631. ></label-box>
  632. </td>
  633. <td width="80">
  634. <label-box
  635. :isChecked="prescription.mode_id == 3 ? true : false"
  636. showValue="HD+HP"
  637. ></label-box>
  638. </td>
  639. <td width="35">其他</td>
  640. <td width="100">
  641. <div class="under-line">
  642. &nbsp;
  643. <span v-if="prescription.mode_id > 5">{{
  644. prescription.mode
  645. }}</span>
  646. </div>
  647. </td>
  648. <td width="140">透析器/灌流器型号:</td>
  649. <td width="">
  650. <div class="under-line">
  651. &nbsp;{{ prescription.dialyzer_perfusion_apparatus }}
  652. </div>
  653. </td>
  654. </tr>
  655. </tbody>
  656. </table> -->
  657. <!-- <table class="table-box">
  658. <tbody>
  659. <tr>
  660. <td width="70">透析机号:</td>
  661. <td width="100">
  662. <div class="under-line">{{ getNumber() }}</div>
  663. </td>
  664. <td width=""></td>
  665. <td width="70">医生签名:</td>
  666. <td width="100">
  667. <div class="under-line">
  668. <span v-if="advices.length == 0"></span>
  669. <span
  670. v-else-if="
  671. setAdminUserES(advices[0][0].advice_doctor) == ''
  672. "
  673. >{{ getAdminUser(advices[0][0].advice_doctor) }}</span
  674. >
  675. <img
  676. class="es-img"
  677. :src="setAdminUserES(advices[0][0].advice_doctor)"
  678. alt=""
  679. srcset=""
  680. v-else
  681. />
  682. </div>
  683. </td>
  684. <td width="70">上机护士:</td>
  685. <td width="100">
  686. <div class="under-line">
  687. <span
  688. v-if="
  689. setAdminUserES(
  690. dialysisOrder == null
  691. ? 0
  692. : dialysisOrder.start_nurse
  693. ) == ''
  694. "
  695. >{{
  696. getAdminUser(
  697. dialysisOrder == null
  698. ? 0
  699. : dialysisOrder.start_nurse
  700. )
  701. }}</span
  702. >
  703. <img
  704. class="es-img"
  705. :src="
  706. setAdminUserES(
  707. dialysisOrder == null
  708. ? 0
  709. : dialysisOrder.start_nurse
  710. )
  711. "
  712. alt=""
  713. srcset=""
  714. v-else
  715. />
  716. </div>
  717. </td>
  718. </tr>
  719. </tbody>
  720. </table> -->
  721. </td>
  722. </tr>
  723. </tbody>
  724. </table>
  725. <table class="print-table" border="1">
  726. <tbody>
  727. <tr>
  728. <td :rowspan="jilurow" width="30px" class="title-box">
  729. 透析监测
  730. </td>
  731. <td width="100">时间</td>
  732. <td width="40" style="line-height:20px">T<br />℃</td>
  733. <td width="80" style="line-height:20px">Bp<br />mmHg</td>
  734. <td width="40" style="line-height:20px">P<br />次/分</td>
  735. <td width="60" style="line-height:20px">R<br />次/分</td>
  736. <td width="60" style="line-height:20px">静脉压<br />{{monitors[0] && monitors[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}</td>
  737. <td width="60" style="line-height:20px">动脉压<br />{{monitors[0] && monitors[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}</td>
  738. <td width="60" style="line-height:20px">TMP<br />{{monitors[0] && monitors[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}</td>
  739. <td width="40" style="line-height:20px">机温<br />℃</td>
  740. <td width="60" style="line-height:20px">血流量<br />ml/min</td>
  741. <td width="60" style="line-height:20px">电导度<br />mS/cm</td>
  742. <!-- <td width="60">钠浓度<br/>mmol/L</td>
  743. <td width="80">透析液温度<br/>℃</td>
  744. <td width="60">置换率<br/>ml/min</td> -->
  745. <td width="" style="line-height:20px">病情变化及处理</td>
  746. </tr>
  747. <tr v-for="monitor in monitors" :key="monitor.id">
  748. <td style="height:30px;">
  749. &nbsp;
  750. <!-- <template>
  751. <span v-if="monitor.monitoring_date">
  752. {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}}
  753. </span>
  754. </template> -->
  755. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  756. </td>
  757. <td>&nbsp;{{ monitor.temperature ? monitor.temperature : "" }}</td>
  758. <td>
  759. <span v-if='monitor.operate_time'>
  760. &nbsp;{{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
  761. {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
  762. </span>
  763. </td>
  764. <td>
  765. &nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
  766. </td>
  767. <td>
  768. &nbsp;{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
  769. </td>
  770. <td v-if="isShowZero && monitor.operate_time">
  771. &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : 0 }}
  772. </td>
  773. <td v-else>
  774. &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
  775. </td>
  776. <td>
  777. &nbsp;{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}
  778. </td>
  779. <td v-if="isShowZero && monitor.operate_time">
  780. &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
  781. </td>
  782. <td v-else>
  783. &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
  784. </td>
  785. <td>
  786. &nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
  787. </td>
  788. <td>
  789. &nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
  790. <!-- {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} -->
  791. </td>
  792. <td>
  793. &nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}
  794. </td>
  795. <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
  796. <td>&nbsp;{{monitor.dialysate_temperature}}</td>
  797. <td>&nbsp;{{monitor.replacement_rate}}</td> -->
  798. <td>
  799. &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
  800. </td>
  801. </tr>
  802. </tbody>
  803. </table>
  804. <table class="print-table" border="1">
  805. <tbody>
  806. <!-- <tr style="line-height:35px;padding:8px 5px;">
  807. <td colspan="4" style="font-size: 16px">开医嘱</td>
  808. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  809. </tr> -->
  810. <tr>
  811. <td :rowspan="adviceLength" width="30" class="title-box">
  812. 医嘱内容
  813. </td>
  814. <td style="font-size: 16px" width="10%">时间</td>
  815. <td style="font-size: 16px" colspan="2">医嘱内容</td>
  816. <td style="font-size: 16px" width="10%">医生签名</td>
  817. <td style="font-size: 16px" width="10%">执行人签名</td>
  818. <td style="font-size: 16px" width="10%">核对人签名</td>
  819. <td style="font-size: 16px" width="10%">时间</td>
  820. </tr>
  821. <!-- <template v-for="group in doctor_advices" > -->
  822. <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
  823. <td height="35px">
  824. <span v-if="advice.start_time">
  825. {{ getTime(advice.start_time, "{h}:{i}") }}
  826. </span>
  827. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  828. </td>
  829. <td colspan="2" class="advice-name" style="padding-left:7px;">
  830. <span v-if="advice.parent_id > 0">---></span>
  831. <span>{{ advice.advice_name }}</span>
  832. <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
  833. <span v-if="advice.prescribing_number"> &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
  834. <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
  835. <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
  836. <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
  837. <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
  838. </td>
  839. <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
  840. <span>{{advice.delivery_way}}</span>
  841. <span>{{advice.execution_frequency}}</span>
  842. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  843. </td> -->
  844. <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
  845. <td>
  846. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
  847. <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
  848. </td>
  849. <td>
  850. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
  851. <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
  852. </td>
  853. <td>
  854. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  855. <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  856. </td>
  857. <td>
  858. <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
  859. </td>
  860. </tr>
  861. <!-- </template> -->
  862. </tbody>
  863. </table>
  864. <table class="print-table" border="1">
  865. <tbody>
  866. <tr>
  867. <td class="title-box" width="30px">透后评估</td>
  868. <td>
  869. <table class="table-box">
  870. <tbody>
  871. <!-- <tr>
  872. <td width="90">实际治疗时间</td>
  873. <td width="40">
  874. <div class="under-line">
  875. &nbsp;{{
  876. afterdialysis.actual_treatment_hour
  877. ? afterdialysis.actual_treatment_hour
  878. : "0"
  879. }}
  880. </div>
  881. </td>
  882. <td width="10">h</td>
  883. <td width="40">
  884. <div class="under-line">
  885. &nbsp;{{
  886. afterdialysis.actual_treatment_minute
  887. ? afterdialysis.actual_treatment_minute
  888. : "0"
  889. }}
  890. </div>
  891. </td>
  892. <td width="35">min</td>
  893. <td></td>
  894. <td width="75">实际超滤量</td>
  895. <td width="70">
  896. <div class="under-line">
  897. &nbsp;{{
  898. afterdialysis.actual_ultrafiltration
  899. ? afterdialysis.actual_ultrafiltration
  900. : ""
  901. }}
  902. </div>
  903. </td>
  904. <td width="20">L</td>
  905. <td></td>
  906. <td width="60">透后体重</td>
  907. <td width="50">
  908. <div class="under-line">
  909. &nbsp;{{
  910. afterdialysis.weight_after
  911. ? afterdialysis.weight_after
  912. : ""
  913. }}
  914. </div>
  915. </td>
  916. <td width="20">Kg</td>
  917. <td></td>
  918. <td width="95">透析器凝血:</td>
  919. <td width="220">
  920. <label-box
  921. :isChecked="afterdialysis.txqnx == 0 ? true : false"
  922. showValue="0 级"
  923. ></label-box>
  924. <label-box
  925. :isChecked="afterdialysis.txqnx == 1 ? true : false"
  926. showValue="Ⅰ 级"
  927. ></label-box>
  928. <label-box
  929. :isChecked="afterdialysis.txqnx == 2 ? true : false"
  930. showValue="Ⅱ 级"
  931. ></label-box>
  932. <label-box
  933. :isChecked="afterdialysis.txqnx == 3 ? true : false"
  934. showValue="Ⅲ 级"
  935. ></label-box>
  936. </td>
  937. </tr> -->
  938. <tr>
  939. <td width="70">拔针压迫:</td>
  940. <td width="350">
  941. <div style="display:flex;justify-content:space-between;">
  942. <label-box showValue="自己压迫" :isChecked="afterdialysis.hemostasis_opera == 3 ? true : false"></label-box>
  943. &nbsp;
  944. <label-box showValue="他人协助" :isChecked="afterdialysis.hemostasis_opera == 2 ? true : false"></label-box>
  945. &nbsp;
  946. <label-box showValue="需要护士" :isChecked="afterdialysis.hemostasis_opera == 1 ? true : false"></label-box>
  947. <label-box showValue="内瘘止血带" :isChecked="afterdialysis.hemostasis_opera == 4 ? true : false"></label-box>
  948. </div>
  949. </td>
  950. <td width="50"></td>
  951. <td width="70">内瘘震颤:</td>
  952. <td width="200">
  953. <div style="display:flex;justify-content:space-between;">
  954. <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
  955. <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
  956. <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
  957. </div>
  958. </td>
  959. <td></td>
  960. </tr>
  961. </tbody>
  962. </table>
  963. <table class="table-box">
  964. <tbody>
  965. <tr>
  966. <td width="130">拔针后穿刺点渗血:</td>
  967. <td width="80">
  968. <div style="display:flex;justify-content:space-between;">
  969. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>
  970. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
  971. </div>
  972. </td>
  973. <td width="10"></td>
  974. <td width="85">穿刺处血肿:</td>
  975. <td width="80">
  976. <div style="display:flex;justify-content:space-between;">
  977. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 1 ? true : false" showValue="有"></label-box>
  978. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 2 ? true : false" showValue="无"></label-box>
  979. </div>
  980. </td>
  981. <td width="10"></td>
  982. <td width="105">中心静脉封管:</td>
  983. <td width="40">肝素:</td>
  984. <td width="30">A端</td>
  985. <td width="30">
  986. <div class="under-line">&nbsp;{{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "" }}</div>
  987. </td>
  988. <td width="20">ml</td>
  989. <td width="30">V端</td>
  990. <td width="30">
  991. <div class="under-line">&nbsp;{{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "" }}</div>
  992. </td>
  993. <td width="20">ml</td>
  994. <td></td>
  995. </tr>
  996. </tbody>
  997. </table>
  998. <table class="table-box">
  999. <tbody>
  1000. <tr>
  1001. <td width="85">透析并发症:</td>
  1002. <td width="600">
  1003. <div style="display:flex;justify-content:space-between;">
  1004. <label-box :isChecked="afterdialysis.complication.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
  1005. <label-box :isChecked="afterdialysis.complication.indexOf('头晕') > -1 ? true : false" showValue="头晕"></label-box>
  1006. <label-box :isChecked="afterdialysis.complication.indexOf('头痛') > -1 ? true : false" showValue="头痛"></label-box>
  1007. <label-box :isChecked="afterdialysis.complication.indexOf('呕吐') > -1 ? true : false" showValue="呕吐"></label-box>
  1008. <label-box :isChecked="afterdialysis.complication.indexOf('低血压') > -1 ? true : false" showValue="低血压"></label-box>
  1009. <label-box :isChecked="afterdialysis.complication.indexOf('发热') > -1 ? true : false" showValue="发热"></label-box>
  1010. <label-box :isChecked="afterdialysis.complication.indexOf('抽搐') > -1 ? true : false" showValue="抽搐"></label-box>
  1011. <label-box :isChecked="afterdialysis.complication.indexOf('高血压') > -1 ? true : false" showValue="高血压"></label-box>
  1012. <label-box :isChecked="afterdialysis.complication.indexOf('心律失常') > -1 ? true : false" showValue="心律失常"></label-box>
  1013. <!-- <label-box
  1014. :isChecked="
  1015. afterdialysis.complications_index.indexOf('出血') >
  1016. -1
  1017. ? true
  1018. : false
  1019. "
  1020. showValue="出血"
  1021. ></label-box>
  1022. <label-box
  1023. :isChecked="
  1024. afterdialysis.complications_index.indexOf('心衰') >
  1025. -1
  1026. ? true
  1027. : false
  1028. "
  1029. showValue="心衰"
  1030. ></label-box>
  1031. <label-box
  1032. :isChecked="
  1033. afterdialysis.complications_index.indexOf('腹痛') >
  1034. -1
  1035. ? true
  1036. : false
  1037. "
  1038. showValue="腹痛"
  1039. ></label-box> -->
  1040. </div>
  1041. </td>
  1042. <td width="40">其他:</td>
  1043. <td width="">
  1044. <div class="under-line">
  1045. &nbsp;{{ afterdialysis.complication ? getComplication(afterdialysis.complication) : '' }}
  1046. </div>
  1047. </td>
  1048. </tr>
  1049. </tbody>
  1050. </table>
  1051. <table class="table-box">
  1052. <tbody>
  1053. <tr>
  1054. <td width="40">凝血:</td>
  1055. <td width="60">透析器:</td>
  1056. <td width="220">
  1057. <div style="display:flex;justify-content:space-between;">
  1058. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false" showValue="无"></label-box>
  1059. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false" showValue="+"></label-box>
  1060. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false" showValue="+ +"></label-box>
  1061. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅲ度')> -1 ? true : false" showValue="+ + +"></label-box>
  1062. </div>
  1063. </td>
  1064. <td width="20"></td>
  1065. <td width="70">静脉管道:</td>
  1066. <td width="220">
  1067. <div style="display:flex;justify-content:space-between;">
  1068. <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>
  1069. <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>
  1070. <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>
  1071. <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>
  1072. </div>
  1073. </td>
  1074. <td width="20"></td>
  1075. <td width="70">动脉管道:</td>
  1076. <td width="220">
  1077. <div style="display:flex;justify-content:space-between;">
  1078. <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>
  1079. <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>
  1080. <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>
  1081. <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>
  1082. </div>
  1083. </td>
  1084. <td></td>
  1085. </tr>
  1086. </tbody>
  1087. </table>
  1088. <table class="table-box">
  1089. <tbody>
  1090. <tr>
  1091. <td width="70">透后体重:</td>
  1092. <td width="50">
  1093. <div class="under-line">
  1094. &nbsp;{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }}
  1095. </div>
  1096. </td>
  1097. <td width="20">Kg</td>
  1098. <td width="20"></td>
  1099. <td width="90">实际超滤总量</td>
  1100. <td width="40">
  1101. <div class="under-line">
  1102. &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
  1103. </div>
  1104. </td>
  1105. <td width="10">ml</td>
  1106. <td width="20"></td>
  1107. <td width="90">实际治疗时间</td>
  1108. <td width="40">
  1109. <div class="under-line">
  1110. &nbsp;{{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}
  1111. </div>
  1112. </td>
  1113. <td width="10">h</td>
  1114. <td width="40">
  1115. <div class="under-line">
  1116. &nbsp;{{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : "0" }}
  1117. </div>
  1118. </td>
  1119. <td width="35">min</td>
  1120. <td width="40">去向:</td>
  1121. <td width="160">
  1122. <div style="display:flex;justify-content:space-between;">
  1123. <label-box :isChecked="afterdialysis.patient_gose == 1 ? true : false" showValue="回家"></label-box>
  1124. <label-box :isChecked="afterdialysis.patient_gose == 2 ? true : false" showValue="留观"></label-box>
  1125. <label-box :isChecked="afterdialysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
  1126. </div>
  1127. </td>
  1128. <td>
  1129. <div class="under-line">&nbsp;</div>
  1130. </td>
  1131. </tr>
  1132. </tbody>
  1133. </table>
  1134. <!-- <table class="table-box">
  1135. <tbody>
  1136. <tr>
  1137. <td width="530">
  1138. <label-box
  1139. :isChecked="
  1140. afterdialysis.patient_gose == 3 &&
  1141. afterdialysis.observation_content.indexOf(
  1142. '内瘘搏动/渗血'
  1143. ) > -1
  1144. ? true
  1145. : false
  1146. "
  1147. showValue="内瘘搏动/渗血"
  1148. ></label-box>
  1149. <label-box
  1150. :isChecked="
  1151. afterdialysis.patient_gose == 3 &&
  1152. afterdialysis.observation_content.indexOf(
  1153. '导管固定/穿刺口渗血'
  1154. ) > -1
  1155. ? true
  1156. : false
  1157. "
  1158. showValue="导管固定/穿刺口渗血"
  1159. ></label-box>
  1160. <label-box
  1161. :isChecked="
  1162. afterdialysis.patient_gose == 3 &&
  1163. afterdialysis.observation_content.indexOf(
  1164. '动静脉直接穿刺口渗血/肢端循环情况'
  1165. ) > -1
  1166. ? true
  1167. : false
  1168. "
  1169. showValue="动静脉直接穿刺口渗血/肢端循环情况"
  1170. ></label-box>
  1171. </td>
  1172. <td width="40">其他:</td>
  1173. <td width="">
  1174. <div class="under-line">
  1175. &nbsp;
  1176. <span v-if="afterdialysis.patient_gose == 3"
  1177. >{{ afterdialysis.observation_content_other }}
  1178. </span>
  1179. </div>
  1180. </td>
  1181. </tr>
  1182. </tbody>
  1183. </table> -->
  1184. <!-- <table class="table-box">
  1185. <tbody>
  1186. <tr>
  1187. <td width="150">当班责任(核对)护士:</td>
  1188. <td width="100">
  1189. <div class="under-line">
  1190. <span
  1191. v-if="setAdminUserES(afterdialysis.creater) == ''"
  1192. >{{ getAdminUser(afterdialysis.creater) }}</span
  1193. >
  1194. <img
  1195. class="es-img"
  1196. :src="setAdminUserES(afterdialysis.creater)"
  1197. alt=""
  1198. srcset=""
  1199. v-else
  1200. />
  1201. </div>
  1202. </td>
  1203. <td width=""></td>
  1204. <td width="70">下机护士:</td>
  1205. <td width="100">
  1206. <div class="under-line">
  1207. <span
  1208. v-if="
  1209. setAdminUserES(
  1210. dialysisOrder == null
  1211. ? 0
  1212. : dialysisOrder.finish_nurse
  1213. ) == ''
  1214. "
  1215. >{{
  1216. getAdminUser(
  1217. dialysisOrder == null
  1218. ? 0
  1219. : dialysisOrder.finish_nurse
  1220. )
  1221. }}</span
  1222. >
  1223. <img
  1224. class="es-img"
  1225. :src="
  1226. setAdminUserES(
  1227. dialysisOrder == null
  1228. ? 0
  1229. : dialysisOrder.finish_nurse
  1230. )
  1231. "
  1232. alt=""
  1233. srcset=""
  1234. v-else
  1235. />
  1236. </div>
  1237. </td>
  1238. </tr>
  1239. </tbody>
  1240. </table> -->
  1241. </td>
  1242. </tr>
  1243. </tbody>
  1244. </table>
  1245. <table class="table-box" style="margin-top: 10px;">
  1246. <tbody>
  1247. <tr>
  1248. <td width="300"></td>
  1249. <td width="30">医生</td>
  1250. <td width="80">
  1251. <div class="under-line">
  1252. &nbsp;
  1253. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
  1254. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  1255. </div>
  1256. </td>
  1257. <td width="50">责任护士</td>
  1258. <td width="80">
  1259. <div class="under-line">
  1260. &nbsp;
  1261. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  1262. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  1263. </div>
  1264. </td>
  1265. <td width="50">穿刺护士</td>
  1266. <td width="80">
  1267. <div class="under-line">
  1268. &nbsp;
  1269. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
  1270. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
  1271. </div>
  1272. </td>
  1273. <td width="50">核对护士</td>
  1274. <td width="80">
  1275. <div class="under-line">
  1276. &nbsp;
  1277. <span v-if="(dialysisOrder==null?0:dialysisOrder.start_nurse) != check.modifier">
  1278. <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
  1279. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  1280. </span>
  1281. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
  1282. </span>
  1283. <span v-else>
  1284. <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
  1285. {{ getAdminUser(check == null ? 0 : check.creater) }}
  1286. </span>
  1287. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
  1288. </span>
  1289. </div>
  1290. </td>
  1291. </tr>
  1292. </tbody>
  1293. </table>
  1294. <!-- <table class="print-table-no" border="1" count="0">
  1295. <tbody>
  1296. <tr>
  1297. <td width="40px">时间</td>
  1298. <td width="120px">医嘱<br />内容</td>
  1299. <td width="80px">医生<br />签名</td>
  1300. <td width="80px">执行<br />护士</td>
  1301. <td width="55px">执行<br />时间</td>
  1302. <td width="75px">核对<br />护士</td>
  1303. <td width="10px"></td>
  1304. <td width="40px">时间</td>
  1305. <td width="120px">医嘱<br />内容</td>
  1306. <td width="80px">医生<br />签名</td>
  1307. <td width="80px">执行<br />护士</td>
  1308. <td width="55px">执行<br />时间</td>
  1309. <td width="75px">核对<br />护士</td>
  1310. </tr>
  1311. <tr v-for="(advice, index) in advices" :key="index">
  1312. <td height="10px">
  1313. <span v-if="advice[0].start_time">
  1314. {{ getTime(advice[0].start_time, "{h}:{i}") }}
  1315. </span>
  1316. <span v-else>&nbsp;<br />&nbsp;</span>
  1317. </td>
  1318. <td class="advice-name">
  1319. <span v-if="advice[0].parent_id > 0">└</span>
  1320. <span>{{ advice[0].advice_name }}</span>
  1321. <span v-if="advice[0].advice_desc"
  1322. >{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span
  1323. >
  1324. <span v-if="advice[0].prescribing_number"
  1325. >* {{ advice[0].prescribing_number
  1326. }}{{ advice[0].prescribing_number_unit }}</span
  1327. >
  1328. <span v-if="advice[0].single_dose != 0"
  1329. >单次用量 {{ advice[0].single_dose
  1330. }}{{ advice[0].single_dose_unit }}</span
  1331. >
  1332. <span>{{ advice[0].delivery_way }}</span>
  1333. <span>{{ advice[0].execution_frequency }}</span>
  1334. <div
  1335. v-for="(child, childindex) in advice[0].children"
  1336. :key="childindex"
  1337. class="advice-children"
  1338. >
  1339. <div>▲</div>
  1340. <div>
  1341. <span>{{ child.advice_name }}</span>
  1342. <span v-if="child.advice_desc"
  1343. >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
  1344. >
  1345. <span v-if="child.prescribing_number"
  1346. >* {{ child.prescribing_number
  1347. }}{{ child.prescribing_number_unit }}</span
  1348. >
  1349. <span v-if="child.single_dose != 0"
  1350. >单次用量 {{ child.single_dose
  1351. }}{{ child.single_dose_unit }}</span
  1352. >
  1353. </div>
  1354. </div>
  1355. </td>
  1356. <td>
  1357. <span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{
  1358. getAdminUser(advice[0].advice_doctor)
  1359. }}</span>
  1360. <img
  1361. class="es-img"
  1362. :src="setAdminUserES(advice[0].advice_doctor)"
  1363. alt=""
  1364. srcset=""
  1365. v-else
  1366. />
  1367. </td>
  1368. <td>
  1369. <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
  1370. getAdminUser(advice[0].execution_staff)
  1371. }}</span>
  1372. <img
  1373. class="es-img"
  1374. :src="setAdminUserES(advice[0].execution_staff)"
  1375. alt=""
  1376. srcset=""
  1377. v-else
  1378. />
  1379. </td>
  1380. <td>
  1381. <span v-if="advice[0].execution_time">
  1382. {{ getTime(advice[0].execution_time, "{h}:{i}") }}
  1383. </span>
  1384. </td>
  1385. <td>
  1386. <span v-if="setAdminUserES(advice[0].checker) == ''">{{
  1387. getAdminUser(advice[0].checker)
  1388. }}</span>
  1389. <img
  1390. class="es-img"
  1391. :src="setAdminUserES(advice[0].checker)"
  1392. alt=""
  1393. srcset=""
  1394. v-else
  1395. />
  1396. </td>
  1397. <td></td>
  1398. <td v-if="advice[1] != undefined">
  1399. <span v-if="advice[1].start_time">
  1400. {{ getTime(advice[1].start_time, "{h}:{i}") }}
  1401. </span>
  1402. </td>
  1403. <td v-else>
  1404. <span></span>
  1405. </td>
  1406. <td class="advice-name" v-if="advice[1] != undefined">
  1407. <span>{{ advice[1].advice_name }}</span>
  1408. <span
  1409. >{{ advice[1].advice_desc }}{{ advice[1].drug_spec_unit }}</span
  1410. >
  1411. <span v-if="advice[1].prescribing_number"
  1412. >* {{ advice[1].prescribing_number
  1413. }}{{ advice[1].prescribing_number_unit }}</span
  1414. >
  1415. <span v-if="advice[1].single_dose != 0"
  1416. >单次用量 {{ advice[1].single_dose
  1417. }}{{ advice[1].single_dose_unit }}</span
  1418. >
  1419. <span>{{ advice[1].delivery_way }}</span>
  1420. <span>{{ advice[1].execution_frequency }}</span>
  1421. <div
  1422. v-for="(child, childindex) in advice[1].children"
  1423. :key="childindex"
  1424. class="advice-children"
  1425. >
  1426. <div>▲</div>
  1427. <div>
  1428. <span>{{ child.advice_name }}</span>
  1429. <span>{{ child.advice_desc }}</span>
  1430. <span v-if="child.advice_desc"
  1431. >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
  1432. >
  1433. <span v-if="child.prescribing_number"
  1434. >* {{ child.prescribing_number
  1435. }}{{ child.prescribing_number_unit }}</span
  1436. >
  1437. <span v-if="child.single_dose != 0"
  1438. >单次用量 {{ child.single_dose
  1439. }}{{ child.single_dose_unit }}</span
  1440. >
  1441. </div>
  1442. </div>
  1443. </td>
  1444. <td v-else>
  1445. <span></span>
  1446. </td>
  1447. <td v-if="advice[1] != undefined">
  1448. <span v-if="setAdminUserES(advice[1].advice_doctor) == ''">{{
  1449. getAdminUser(advice[1].advice_doctor)
  1450. }}</span>
  1451. <img
  1452. class="es-img"
  1453. :src="setAdminUserES(advice[1].advice_doctor)"
  1454. alt=""
  1455. srcset=""
  1456. v-else
  1457. />
  1458. </td>
  1459. <td v-else>
  1460. <span></span>
  1461. </td>
  1462. <td v-if="advice[1] != undefined">
  1463. <span v-if="setAdminUserES(advice[1].execution_staff) == ''">{{
  1464. getAdminUser(advice[1].execution_staff)
  1465. }}</span>
  1466. <img
  1467. class="es-img"
  1468. :src="setAdminUserES(advice[1].execution_staff)"
  1469. alt=""
  1470. srcset=""
  1471. v-else
  1472. />
  1473. </td>
  1474. <td v-else>
  1475. <span></span>
  1476. </td>
  1477. <td v-if="advice[1] != undefined">
  1478. <span v-if="advice[1].execution_time">{{
  1479. getTime(advice[1].execution_time, "{h}:{i}")
  1480. }}</span>
  1481. </td>
  1482. <td v-else>
  1483. <span></span>
  1484. </td>
  1485. <td v-if="advice[1] != undefined">
  1486. <span v-if="setAdminUserES(advice[1].checker) == ''">{{
  1487. getAdminUser(advice[1].checker)
  1488. }}</span>
  1489. <img
  1490. class="es-img"
  1491. :src="setAdminUserES(advice[1].checker)"
  1492. alt=""
  1493. srcset=""
  1494. v-else
  1495. />
  1496. </td>
  1497. <td v-else>
  1498. <span></span>
  1499. </td>
  1500. </tr>
  1501. </tbody>
  1502. </table> -->
  1503. <!-- <table class="table-box" style="margin-top: 10px;">
  1504. <tbody>
  1505. <tr>
  1506. <td width="" style="font-size:13px">
  1507. 注:透析器凝血评价标准:“0 级” 无凝血或数条纤维束凝血,“Ⅰ 级”
  1508. 少于10%纤维凝血,“Ⅱ 级” 少于50%纤维凝血,“Ⅲ 级” 大于50%纤维凝血。
  1509. </td>
  1510. </tr>
  1511. </tbody>
  1512. </table> -->
  1513. </div>
  1514. </div>
  1515. </template>
  1516. <script>
  1517. import { getDialysisRecord } from '@/api/dialysis'
  1518. import { getDataConfig } from '@/utils/data'
  1519. import { jsGetAge, uParseTime } from '@/utils/tools'
  1520. import LabelBox from '../printItem/LabelBox'
  1521. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  1522. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1523. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1524. import print from 'print-js'
  1525. export default {
  1526. name: 'dialysisPrintOrderOne',
  1527. components: {
  1528. // DialysisPrintOrderOne,
  1529. // DialysisPrintOrderTwo,
  1530. LabelBox,
  1531. BreadCrumb
  1532. },
  1533. data() {
  1534. return {
  1535. way_arr: [],
  1536. consciousness_arr: [],
  1537. appetite_arr: [],
  1538. posture_arr: [],
  1539. sick_condition_arr: [],
  1540. precaution_arr: [],
  1541. intake_arr: [],
  1542. nutrition_arr: [],
  1543. crumbs: [
  1544. { path: false, name: '透析管理' },
  1545. { path: false, name: '打印单' }
  1546. ],
  1547. operators: [],
  1548. adminUser: [],
  1549. check: {},
  1550. dialysisOrder: {
  1551. DeviceNumber: []
  1552. },
  1553. operatorMaps: {},
  1554. complications: [
  1555. '低血压',
  1556. '高血压',
  1557. '心律失常',
  1558. '头晕',
  1559. '头痛',
  1560. '呕吐',
  1561. '抽搐',
  1562. '出血',
  1563. '心衰',
  1564. '腹痛',
  1565. '无'
  1566. ],
  1567. jilurow: 0,
  1568. advice_jilurow: 0,
  1569. loading: false,
  1570. orgname: '',
  1571. patientInfo_gender_1: false,
  1572. patientInfo_gender_2: false,
  1573. patientInfo_source_2: false,
  1574. patientInfo_source_1: false,
  1575. modeOptions: {},
  1576. replacementWays: [],
  1577. perfusionApparatus: [],
  1578. anticoagulantsConfit: {},
  1579. bloodAccessParOpera: {},
  1580. dialysateFormulationOptions: {},
  1581. queryParams: {
  1582. xtdate: '',
  1583. xtno: ''
  1584. },
  1585. patientInfo: {
  1586. birth: '',
  1587. age: '',
  1588. DialysisSchedule: {
  1589. device_number: { number: '' },
  1590. device_zone: { name: '' }
  1591. },
  1592. gender: 0
  1593. },
  1594. predialysis: {
  1595. score: '',
  1596. internal_fistula: '',
  1597. internal_fistula_skin: '',
  1598. catheter: '',
  1599. blood_access_part_opera_name: ''
  1600. },
  1601. afterdialysis: {
  1602. complications_index: ''
  1603. },
  1604. prescription: {
  1605. dialysate_formulation_name: '',
  1606. device: {}
  1607. },
  1608. advices: [],
  1609. users: [],
  1610. monitors: [],
  1611. summary: {},
  1612. receiverTreatmentAccess: {},
  1613. org_template_info: {},
  1614. isShowZero: false,
  1615. doctor_advices: [],
  1616. advice_groups: [],
  1617. AlPanel: {
  1618. id: 0,
  1619. name: '',
  1620. type: 1,
  1621. shouji: 2,
  1622. weichi: 2,
  1623. zongliang: 2,
  1624. gaimingcheng: -1,
  1625. gaijiliang: -1,
  1626. shouji_unit: 'mg',
  1627. weichi_unit: 'mg/h',
  1628. zongliang_unit: 'mg',
  1629. gaimingcheng_unit: '',
  1630. gaijiliang_unit: ''
  1631. },
  1632. doctorForm: {
  1633. doctor: '',
  1634. url: ''
  1635. }
  1636. }
  1637. },
  1638. methods: {
  1639. getComplication(complication){
  1640. if(complication.indexOf(',') == -1){
  1641. let str = complication
  1642. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
  1643. return str
  1644. }
  1645. }else if(complication.indexOf(',') > -1){
  1646. let str = complication
  1647. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
  1648. let newStr = ''
  1649. str.split(',').map(item => {
  1650. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(item) == -1){
  1651. newStr += item + ','
  1652. }
  1653. })
  1654. return newStr.substring(0, newStr.length - 1)
  1655. }
  1656. }
  1657. },
  1658. getAdminUser(id) {
  1659. if (id == 0) {
  1660. return ''
  1661. }
  1662. if (id == undefined) {
  1663. return ''
  1664. }
  1665. for (let i = 0; i < this.adminUser.length; i++) {
  1666. if (this.adminUser[i].id == id) {
  1667. return this.adminUser[i].name
  1668. }
  1669. }
  1670. },
  1671. getTime(value, temp) {
  1672. if (value == 0) {
  1673. return ''
  1674. }
  1675. if (value != undefined) {
  1676. return uParseTime(value, temp)
  1677. }
  1678. return ''
  1679. },
  1680. printThisPage() {
  1681. var ptime = Math.round(new Date().getTime() / 1000)
  1682. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1683. const style =
  1684. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
  1685. if (this.org_template_info.template_id == 1) {
  1686. printJS({
  1687. printable: 'dialysis-print-box',
  1688. type: 'html',
  1689. style: style,
  1690. scanStyles: false
  1691. })
  1692. } else if (
  1693. this.org_template_info.template_id == 2 ||
  1694. this.org_template_info.template_id == 0
  1695. ) {
  1696. printJS({
  1697. printable: 'dialysis-print-box-1',
  1698. type: 'html',
  1699. style: style,
  1700. scanStyles: false
  1701. })
  1702. }
  1703. },
  1704. getNumber() {
  1705. if (this.dialysisOrder != null) {
  1706. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1707. return (
  1708. this.patientInfo.DialysisSchedule.device_zone.name +
  1709. this.dialysisOrder.DeviceNumber.number
  1710. );
  1711. } else {
  1712. return (
  1713. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1714. this.dialysisOrder.DeviceNumber.number
  1715. );
  1716. }
  1717. } else {
  1718. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1719. return (
  1720. this.patientInfo.DialysisSchedule.device_zone.name +
  1721. this.patientInfo.DialysisSchedule.device_number.number
  1722. );
  1723. }else{
  1724. return (
  1725. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1726. this.patientInfo.DialysisSchedule.device_number.number
  1727. );
  1728. }
  1729. }
  1730. },
  1731. getXuserName(id) {
  1732. if (id <= 0) {
  1733. return ''
  1734. }
  1735. var name = ''
  1736. if (this.users == null || typeof this.users.length === 'undefined') {
  1737. return name
  1738. }
  1739. var leng = this.users.length
  1740. if (leng == 0) {
  1741. return name
  1742. }
  1743. for (let index = 0; index < leng; index++) {
  1744. if (this.users[index].id == id) {
  1745. name = this.users[index].name
  1746. break
  1747. }
  1748. }
  1749. return name
  1750. },
  1751. setAdminUserES(id) {
  1752. if (id == 0) {
  1753. return ''
  1754. }
  1755. if (id in this.operatorMaps) {
  1756. return this.operatorMaps[id].url
  1757. } else {
  1758. return ''
  1759. }
  1760. },
  1761. modeName(mode_id) {
  1762. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  1763. typeof this.modeOptions[mode_id].name !== 'undefined'
  1764. ? this.modeOptions[mode_id].name
  1765. : ''
  1766. },
  1767. getDialysisRecord() {
  1768. this.loading = true
  1769. getDialysisRecord(this.queryParams).then(response => {
  1770. if (response.data.state == 1) {
  1771. this.adminUser = response.data.data.users
  1772. this.users = response.data.data.users
  1773. this.patientInfo = response.data.data.patientInfo
  1774. this.patientInfo.birth = uParseTime(
  1775. this.patientInfo.birthday,
  1776. '{y}-{m}-{d}'
  1777. )
  1778. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1779. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1780. this.patientInfo.first_dialysis_date = uParseTime(
  1781. response.data.data.patientInfo.first_dialysis_date,
  1782. '{y}-{m}-{d}'
  1783. )
  1784. } else {
  1785. this.patientInfo.first_dialysis_date = ''
  1786. }
  1787. this.check = response.data.data.check
  1788. this.predialysis = response.data.data.PredialysisEvaluation
  1789. console.log(11111111111111111111111, this.predialysis)
  1790. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1791. this.predialysis.blood_access_part_opera_id
  1792. )
  1793. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1794. console.log(22222222222222222222222222, response.data.data)
  1795. this.operators = response.data.data.operators
  1796. this.dialysisOrder =
  1797. response.data.data.dialysisOrder === null
  1798. ? null
  1799. : response.data.data.dialysisOrder
  1800. // 医生
  1801. var doctorname = response.data.data.DoctorName
  1802. // console.log('医师签名', doctorname)
  1803. this.doctorForm.doctor = doctorname.user_name
  1804. this.doctorForm.url = doctorname.url
  1805. if (this.operators.length > 0) {
  1806. var operatorsLen = this.operators.length
  1807. for (var index = 0; index < operatorsLen; index++) {
  1808. this.$set(
  1809. this.operatorMaps,
  1810. this.operators[index].creator,
  1811. this.operators[index]
  1812. )
  1813. }
  1814. }
  1815. this.afterdialysis.txqnx = -1
  1816. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1817. this.afterdialysis.txqnx = 0
  1818. }
  1819. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1820. this.afterdialysis.txqnx = 1
  1821. }
  1822. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1823. this.afterdialysis.txqnx = 2
  1824. }
  1825. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1826. this.afterdialysis.txqnx = 3
  1827. }
  1828. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1829. ','
  1830. )
  1831. this.afterdialysis.complications_other = []
  1832. this.afterdialysis.complications_index = []
  1833. var acllen = this.afterdialysis.complications.length
  1834. for (let index = 0; index < acllen; index++) {
  1835. if (
  1836. this.complications.indexOf(
  1837. this.afterdialysis.complications[index]
  1838. ) >= 0
  1839. ) {
  1840. this.afterdialysis.complications_index.push(
  1841. this.afterdialysis.complications[index]
  1842. )
  1843. } else if (
  1844. this.complications.indexOf(
  1845. this.afterdialysis.complications[index]
  1846. ) < 0 &&
  1847. this.afterdialysis.complications_other.indexOf(
  1848. this.afterdialysis.complications[index]
  1849. ) < 0
  1850. ) {
  1851. this.afterdialysis.complications_other.push(
  1852. this.afterdialysis.complications[index]
  1853. )
  1854. }
  1855. }
  1856. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1857. ','
  1858. )
  1859. this.prescription = response.data.data.dialysisPrescription
  1860. this.receiverTreatmentAccess =
  1861. response.data.data.receiverTreatmentAccess
  1862. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1863. var rwLen = this.replacementWays.length
  1864. this.prescription.replacement = ''
  1865. for (let index = 0; index < rwLen; index++) {
  1866. if (
  1867. this.replacementWays[index].id ==
  1868. this.prescription.replacement_way
  1869. ) {
  1870. this.prescription.replacement = this.replacementWays[index].name
  1871. break
  1872. }
  1873. }
  1874. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1875. this.prescription.dialysate_formulation
  1876. )
  1877. var paLen = this.perfusionApparatus.length
  1878. this.prescription.perfusion_apparatus_name = ''
  1879. for (let index = 0; index < paLen; index++) {
  1880. if (
  1881. this.perfusionApparatus[index].id ==
  1882. this.prescription.perfusion_apparatus
  1883. ) {
  1884. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1885. index
  1886. ].name
  1887. break
  1888. }
  1889. }
  1890. var acLen = this.anticoagulantsConfit.length
  1891. var thisALID = this.prescription.anticoagulant
  1892. this.prescription.anticoagulant_name = ''
  1893. if (
  1894. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  1895. this.anticoagulantsConfit[thisALID] != null
  1896. ) {
  1897. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1898. thisALID
  1899. ].name
  1900. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1901. }
  1902. this.advices = response.data.data.advices
  1903. // console.log('hhhhhhhhhhhh', this.advices)
  1904. this.monitors = response.data.data.monitors
  1905. // console.log('哈哈哈哈哈哈哈', this.monitors)
  1906. console.log(response.data.data)
  1907. this.summary = response.data.data.summary
  1908. this.org_template_info = response.data.data.org_template_info
  1909. // 配置超滤量和置换量是否要显示0还是空
  1910. if (this.org_template_info.org_id == 9535) {
  1911. this.isShowZero = true
  1912. }
  1913. if (this.monitors.length < 13) {
  1914. var nl = 13 - this.monitors.length
  1915. for (let index = 0; index < nl; index++) {
  1916. this.monitors.push([])
  1917. }
  1918. }
  1919. this.jilurow = this.monitors.length + 1
  1920. this.advice_jilurow = this.advices.length + 1
  1921. var childMap = {}
  1922. for (const index in this.advices) {
  1923. if (this.advices[index].parent_id == 0) {
  1924. continue
  1925. }
  1926. if (!(this.advices[index].parent_id in childMap)) {
  1927. childMap[this.advices[index].parent_id] = []
  1928. }
  1929. childMap[this.advices[index].parent_id].push(this.advices[index])
  1930. }
  1931. var advices = []
  1932. for (const index in this.advices) {
  1933. if (this.advices[index].parent_id > 0) {
  1934. continue
  1935. }
  1936. var item = this.advices[index]
  1937. if (item.id in childMap) {
  1938. item.children = childMap[item.id]
  1939. } else {
  1940. item.children = []
  1941. }
  1942. advices.push(item)
  1943. }
  1944. var leftAdvice = []
  1945. var rightAdvice = []
  1946. var adlen = advices.length
  1947. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1948. for (var i = 0; i < halfLen; i++) {
  1949. leftAdvice.push(advices[i])
  1950. rightAdvice.push(advices[i + halfLen])
  1951. }
  1952. if (halfLen < 5) {
  1953. var nl = 5 - leftAdvice.length
  1954. for (let index = 0; index < nl; index++) {
  1955. leftAdvice.push([])
  1956. }
  1957. var nl = 5 - rightAdvice.length
  1958. for (let index = 0; index < nl; index++) {
  1959. rightAdvice.push([])
  1960. }
  1961. }
  1962. this.advices = []
  1963. for (var i = 0; i < halfLen; i++) {
  1964. var item = []
  1965. item.push(leftAdvice[i])
  1966. item.push(rightAdvice[i])
  1967. this.advices.push(item)
  1968. }
  1969. this.loading = false
  1970. this.doctor_advices =
  1971. response.data.data.advices == null
  1972. ? []
  1973. : response.data.data.advices
  1974. for (let index = 0; index < this.doctor_advices.length; index++) {
  1975. this.doctor_advices[index]['isShow'] = 2
  1976. }
  1977. if (this.doctor_advices.length === 0) {
  1978. var obj = { advice_name: '', start_time: '' }
  1979. var obj1 = { advice_name: '', start_time: '' }
  1980. var obj2 = { advice_name: '', start_time: '' }
  1981. var obj3 = { advice_name: '', start_time: '' }
  1982. this.doctor_advices.push(obj)
  1983. this.doctor_advices.push(obj1)
  1984. this.doctor_advices.push(obj2)
  1985. this.doctor_advices.push(obj3)
  1986. this.doctor_advices.push(obj3)
  1987. this.doctor_advices.push(obj3)
  1988. this.doctor_advices.push(obj3)
  1989. }
  1990. if (this.doctor_advices.length === 1) {
  1991. var obj = { advice_name: '', start_time: '' }
  1992. var obj1 = { advice_name: '', start_time: '' }
  1993. var obj2 = { advice_name: '', start_time: '' }
  1994. this.doctor_advices.push(obj)
  1995. this.doctor_advices.push(obj1)
  1996. this.doctor_advices.push(obj2)
  1997. this.doctor_advices.push(obj2)
  1998. this.doctor_advices.push(obj2)
  1999. this.doctor_advices.push(obj2)
  2000. }
  2001. if (this.doctor_advices.length === 2) {
  2002. var obj = { advice_name: '', start_time: '' }
  2003. var obj1 = { advice_name: '', start_time: '' }
  2004. this.doctor_advices.push(obj)
  2005. this.doctor_advices.push(obj1)
  2006. this.doctor_advices.push(obj1)
  2007. this.doctor_advices.push(obj1)
  2008. this.doctor_advices.push(obj1)
  2009. }
  2010. if (this.doctor_advices.length === 3) {
  2011. // eslint-disable-next-line no-redeclare
  2012. var obj = { advice_name: '', start_time: '' }
  2013. this.doctor_advices.push(obj)
  2014. this.doctor_advices.push(obj)
  2015. this.doctor_advices.push(obj)
  2016. this.doctor_advices.push(obj)
  2017. }
  2018. if (this.doctor_advices.length === 4) {
  2019. // eslint-disable-next-line no-redeclare
  2020. var obj = { advice_name: '', start_time: '' }
  2021. this.doctor_advices.push(obj)
  2022. this.doctor_advices.push(obj)
  2023. this.doctor_advices.push(obj)
  2024. }
  2025. if (this.doctor_advices.length === 5) {
  2026. // eslint-disable-next-line no-redeclare
  2027. var obj = { advice_name: '', start_time: '' }
  2028. this.doctor_advices.push(obj)
  2029. this.doctor_advices.push(obj)
  2030. }
  2031. if (this.doctor_advices.length === 6) {
  2032. // eslint-disable-next-line no-redeclare
  2033. var obj = { advice_name: '', start_time: '' }
  2034. this.doctor_advices.push(obj)
  2035. }
  2036. this.adviceLength = this.doctor_advices.length + 1
  2037. if (this.doctor_advices.length > 0) {
  2038. var group = this.newAdviceGroupObject()
  2039. var initGroupBlock = function(group, advice) {
  2040. group.group_no = advice.groupno
  2041. }
  2042. for (
  2043. let index = this.doctor_advices.length - 1;
  2044. index >= 0;
  2045. index--
  2046. ) {
  2047. var new_advice_index = 0
  2048. if (
  2049. 'children' in this.doctor_advices[index] &&
  2050. this.doctor_advices[index].children.length > 0
  2051. ) {
  2052. new_advice_index =
  2053. index + this.doctor_advices[index].children.length + 1
  2054. var doctor_advice = {
  2055. delivery_way: this.doctor_advices[index].delivery_way,
  2056. execution_frequency: this.doctor_advices[index]
  2057. .execution_frequency,
  2058. groupno: this.doctor_advices[index].groupno,
  2059. id: this.doctor_advices[index].id,
  2060. parent_id: this.doctor_advices[index].parent_id,
  2061. children: this.doctor_advices[index].children,
  2062. remark: this.doctor_advices[index].remark
  2063. }
  2064. doctor_advice['isShow'] = 1
  2065. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  2066. // this.doctor_advices.push(doctor_advice)
  2067. }
  2068. }
  2069. for (let index = 0; index < this.doctor_advices.length; index++) {
  2070. const advice = this.doctor_advices[index]
  2071. if (advice.groupno == 0) {
  2072. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2073. if (advice.parent_id > 0) {
  2074. if (this.advice_groups.length > 0) {
  2075. var parent_group = this.advice_groups[
  2076. this.advice_groups.length - 1
  2077. ]
  2078. if (parent_group.advices.length > 0) {
  2079. if (parent_group.advices[0].id == advice.parent_id) {
  2080. parent_group.advices.push(advice)
  2081. }
  2082. }
  2083. }
  2084. continue
  2085. } else {
  2086. if (group.group_no > 0) {
  2087. this.advice_groups.push(group)
  2088. group = this.newAdviceGroupObject()
  2089. }
  2090. initGroupBlock(group, advice)
  2091. group.advices.push(advice)
  2092. this.advice_groups.push(group)
  2093. group = this.newAdviceGroupObject()
  2094. continue
  2095. }
  2096. }
  2097. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2098. this.advice_groups.push(group)
  2099. group = this.newAdviceGroupObject()
  2100. }
  2101. if (group.group_no == 0) {
  2102. initGroupBlock(group, advice)
  2103. }
  2104. if (group.group_no == advice.groupno) {
  2105. group.advices.push(advice)
  2106. }
  2107. }
  2108. if (group.group_no > 0) {
  2109. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2110. this.advice_groups.push(group)
  2111. }
  2112. }
  2113. console.log(this.advice_groups)
  2114. } else {
  2115. this.loading = false
  2116. this.$message.error('请求数据失败')
  2117. return false
  2118. }
  2119. })
  2120. },
  2121. bloodAccessParOperaName(id) {
  2122. if (id in this.bloodAccessParOpera) {
  2123. return this.bloodAccessParOpera[id].name
  2124. }
  2125. return ''
  2126. },
  2127. dialysateFormulationName(id) {
  2128. if (id in this.dialysateFormulationOptions) {
  2129. return this.dialysateFormulationOptions[id].name
  2130. }
  2131. return ''
  2132. },
  2133. getAge: function(val) {
  2134. if (val.birthday != 0) {
  2135. return jsGetAge(val.birth, '-')
  2136. }
  2137. return ''
  2138. },
  2139. newAdviceGroupObject: function() {
  2140. return Object.assign(
  2141. {},
  2142. {
  2143. group_no: 0,
  2144. // advice_doctor: 0,
  2145. // start_time: 0,
  2146. advices: []
  2147. // exec_staff: 0,
  2148. // exec_time: 0,
  2149. // checker: 0,
  2150. }
  2151. )
  2152. }
  2153. },
  2154. watch: {
  2155. 'patientInfo.gender': function() {
  2156. if (this.patientInfo.gender == 1) {
  2157. this.patientInfo_gender_1 = true
  2158. this.patientInfo_gender_2 = false
  2159. } else if (this.patientInfo.gender == 2) {
  2160. this.patientInfo_gender_2 = true
  2161. this.patientInfo_gender_1 = false
  2162. } else {
  2163. this.patientInfo_gender_2 = false
  2164. this.patientInfo_gender_1 = false
  2165. }
  2166. },
  2167. 'patientInfo.source': function() {
  2168. if (this.patientInfo.source == 1) {
  2169. this.patientInfo_source_1 = true
  2170. this.patientInfo_source_2 = false
  2171. } else if (this.patientInfo.source == 2) {
  2172. this.patientInfo_source_2 = true
  2173. this.patientInfo_source_1 = false
  2174. } else {
  2175. this.patientInfo_source_2 = false
  2176. this.patientInfo_source_1 = false
  2177. }
  2178. }
  2179. },
  2180. created() {
  2181. var xtuser = this.$store.getters.xt_user
  2182. this.orgname = xtuser.org.org_name
  2183. // this.orgname = "遂溪方济医院";
  2184. this.modeOptions = this.$store.getters.treatment_mode
  2185. this.replacementWays = this.$store.getters.replacement_ways
  2186. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  2187. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  2188. this.way_arr = getDataConfig('hemodialysis', 'way')
  2189. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  2190. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  2191. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  2192. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  2193. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  2194. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  2195. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  2196. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2197. var bloodAccessParOpera = getDataConfig(
  2198. 'hemodialysis',
  2199. 'vascular_access_desc'
  2200. )
  2201. for (var key in bloodAccessParOpera) {
  2202. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2203. bloodAccessParOpera[key]
  2204. }
  2205. var dialysateFormulationOptions = getDataConfig(
  2206. 'hemodialysis',
  2207. 'dialysate_formulation'
  2208. )
  2209. for (var key in dialysateFormulationOptions) {
  2210. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2211. dialysateFormulationOptions[key]
  2212. }
  2213. const xtdate = this.$route.query && this.$route.query.xtdate
  2214. const xtno = this.$route.query && this.$route.query.xtno
  2215. if (
  2216. typeof xtdate === 'string' &&
  2217. xtdate.length > 0 &&
  2218. typeof xtno === 'string' &&
  2219. xtno.length > 0
  2220. ) {
  2221. this.queryParams.xtdate = xtdate
  2222. this.queryParams.xtno = xtno
  2223. this.getDialysisRecord()
  2224. } else {
  2225. this.$message.error('参数不齐')
  2226. return false
  2227. }
  2228. }
  2229. }
  2230. </script>
  2231. <style>
  2232. .dialysis-print-order {
  2233. width: 960px;
  2234. margin: 0 auto;
  2235. }
  2236. .dialysis-print-order .order-yy-name {
  2237. margin: auto;
  2238. text-align: center;
  2239. font-size: 20px;
  2240. letter-spacing: 5px;
  2241. }
  2242. .dialysis-print-order .order-title {
  2243. margin: auto;
  2244. font-weight: 600;
  2245. text-align: center;
  2246. font-size: 22px;
  2247. padding: 10px 20px 0px 20px;
  2248. }
  2249. .dialysis-print-order .table-box {
  2250. width: 100%;
  2251. line-height: 23px;
  2252. font-size: 14px;
  2253. }
  2254. .dialysis-print-order .print-table {
  2255. width: 100%;
  2256. text-align: center;
  2257. border-collapse: collapse;
  2258. line-height: 40px;
  2259. font-size: 14px;
  2260. }
  2261. .dialysis-print-order .print-table-no {
  2262. width: 100%;
  2263. text-align: center;
  2264. border-collapse: collapse;
  2265. font-size: 14px;
  2266. }
  2267. .dialysis-print-order .under-line {
  2268. border-bottom: 1px solid #999;
  2269. width: 95%;
  2270. text-align: center;
  2271. margin-left: 2px;
  2272. }
  2273. .dialysis-print-order .title-box {
  2274. text-align: center;
  2275. font-size: 16px;
  2276. }
  2277. .dialysis-print-order .radio-lebel-box {
  2278. font-weight: 400;
  2279. cursor: pointer;
  2280. }
  2281. .dialysis-print-order .radio-no {
  2282. opacity: 0;
  2283. outline: none;
  2284. position: absolute;
  2285. margin: 0;
  2286. width: 0;
  2287. height: 0;
  2288. z-index: -1;
  2289. }
  2290. .dialysis-print-order .radio-inner {
  2291. white-space: nowrap;
  2292. cursor: pointer;
  2293. outline: none;
  2294. display: inline-block;
  2295. line-height: 1;
  2296. position: relative;
  2297. vertical-align: middle;
  2298. }
  2299. .dialysis-print-order .radio-fang {
  2300. display: inline-block;
  2301. position: relative;
  2302. border: 1px solid #000;
  2303. box-sizing: border-box;
  2304. width: 14px;
  2305. height: 14px;
  2306. background-color: #fff;
  2307. z-index: 1;
  2308. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2309. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2310. }
  2311. .dialysis-print-order .is-checked-radio::after {
  2312. content: "√";
  2313. font-size: 15px;
  2314. }
  2315. .dialysis-print-order .print-table-no tr td {
  2316. padding: 8px 5px;
  2317. line-height: 25px;
  2318. }
  2319. .dialysis-print-order .print-table tr td {
  2320. padding: 1px 1px;
  2321. /*line-height: 25px;*/
  2322. }
  2323. .es-img {
  2324. height: 25px;
  2325. }
  2326. .advice-name {
  2327. text-align: left;
  2328. }
  2329. .advice-children {
  2330. display: flex;
  2331. }
  2332. .title-box-pro {
  2333. border: 0 #fff;
  2334. line-height: 25px;
  2335. height: 25px;
  2336. text-align: left;
  2337. padding-left: 10px !important;
  2338. }
  2339. .title-box-pro-tr {
  2340. border: 0 #fff;
  2341. }
  2342. .text-align-left {
  2343. text-align: left !important;
  2344. padding-left: 10px !important;
  2345. font-size: 14px !important;
  2346. line-height: 25px;
  2347. }
  2348. .print-table-tr-new td {
  2349. line-height: 20px !important;
  2350. }
  2351. .border-top-solid {
  2352. border: solid 1px #000;
  2353. }
  2354. .print-template-two tr {
  2355. line-height: 30px;
  2356. }
  2357. </style>