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

DialysisPrintOrderFortyTwo.vue 99KB

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