Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

DialysisPrintOrderTwentyEight.vue 101KB

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