血透系统PC前端

dialysisPrintOrderNine.vue 111KB

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