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

DialysisPrintOrderFortySix.vue 119KB

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