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

bloodPresssWatch.vue 83KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. <template v-if="this.template_id == 1">
  6. <el-button
  7. size="small"
  8. icon="el-icon-printer"
  9. :disabled="selecting_schs.length == 0"
  10. @click="batchPrintAction"
  11. type="primary"
  12. >打印</el-button
  13. >
  14. </template>
  15. <template v-if="this.template_id == 2 || this.template_id == 0 || this.template_id == 33">
  16. <div>
  17. <el-button
  18. :loading="loading"
  19. size="small"
  20. icon="el-icon-printer"
  21. @click="batchPrintAction"
  22. type="primary"
  23. >打印全部</el-button
  24. >
  25. <el-button
  26. :loading="loading"
  27. size="small"
  28. icon="el-icon-printer"
  29. @click="batchPrintActionOne"
  30. type="primary"
  31. style=""
  32. >打印记录单</el-button
  33. >
  34. <el-button
  35. :loading="loading"
  36. size="small"
  37. icon="el-icon-printer"
  38. @click="batchPrintActionTwo"
  39. type="primary"
  40. >打印医嘱单</el-button
  41. >
  42. </div>
  43. </template>
  44. <template v-if="this.template_id == 3">
  45. <el-button
  46. size="small"
  47. icon="el-icon-printer"
  48. :disabled="selecting_schs.length == 0"
  49. @click="batchPrintAction"
  50. type="primary"
  51. >打印</el-button
  52. >
  53. </template>
  54. <template v-if="this.template_id == 4">
  55. <el-button
  56. size="small"
  57. icon="el-icon-printer"
  58. :disabled="selecting_schs.length == 0"
  59. @click="batchPrintAction"
  60. type="primary"
  61. >打印</el-button
  62. >
  63. </template>
  64. <template v-if="this.template_id == 5">
  65. <div>
  66. <el-button
  67. :loading="loading"
  68. size="small"
  69. icon="el-icon-printer"
  70. @click="batchPrintAction"
  71. type="primary"
  72. >打印全部</el-button
  73. >
  74. <el-button
  75. :loading="loading"
  76. size="small"
  77. icon="el-icon-printer"
  78. @click="batchPrintActionOne"
  79. type="primary"
  80. style=""
  81. >打印记录单</el-button
  82. >
  83. <el-button
  84. :loading="loading"
  85. size="small"
  86. icon="el-icon-printer"
  87. @click="batchPrintActionTwo"
  88. type="primary"
  89. >打印医嘱单</el-button
  90. >
  91. </div>
  92. </template>
  93. <template v-if="this.template_id == 6 || this.template_id == 48 || this.template_id == 0">
  94. <el-button
  95. size="small"
  96. icon="el-icon-printer"
  97. :disabled="selecting_schs.length == 0"
  98. @click="batchPrintAction"
  99. type="primary"
  100. >打印</el-button>
  101. </template>
  102. <template v-if="this.template_id == 7">
  103. <el-button
  104. size="small"
  105. icon="el-icon-printer"
  106. :disabled="selecting_schs.length == 0"
  107. @click="batchPrintAction"
  108. type="primary"
  109. >批量打印</el-button
  110. >
  111. </template>
  112. <template v-if="this.template_id == 8">
  113. <el-button
  114. size="small"
  115. icon="el-icon-printer"
  116. :disabled="selecting_schs.length == 0"
  117. @click="batchPrintAction"
  118. type="primary"
  119. >批量打印</el-button
  120. >
  121. </template>
  122. <template v-if="this.template_id == 9">
  123. <el-button
  124. size="small"
  125. icon="el-icon-printer"
  126. :disabled="selecting_schs.length == 0"
  127. @click="batchPrintAction"
  128. type="primary"
  129. >批量打印</el-button
  130. >
  131. </template>
  132. <template v-if="this.template_id == 11">
  133. <el-button
  134. size="small"
  135. icon="el-icon-printer"
  136. :disabled="selecting_schs.length == 0"
  137. @click="batchPrintAction"
  138. type="primary"
  139. >批量打印</el-button>
  140. </template>
  141. <template v-if="this.template_id == 12">
  142. <el-button
  143. size="small"
  144. icon="el-icon-printer"
  145. :disabled="selecting_schs.length == 0"
  146. @click="batchPrintAction"
  147. type="primary"
  148. >批量打印</el-button
  149. >
  150. </template>
  151. <template v-if="this.template_id == 13">
  152. <el-button
  153. size="small"
  154. icon="el-icon-printer"
  155. :disabled="selecting_schs.length == 0"
  156. @click="batchPrintAction"
  157. type="primary"
  158. >批量打印</el-button
  159. >
  160. </template>
  161. <template v-if="this.template_id == 15">
  162. <el-button
  163. size="small"
  164. icon="el-icon-printer"
  165. :disabled="selecting_schs.length == 0"
  166. @click="batchPrintAction"
  167. type="primary"
  168. >批量打印</el-button
  169. >
  170. </template>
  171. <template v-if="this.template_id == 17">
  172. <el-button
  173. size="small"
  174. icon="el-icon-printer"
  175. :disabled="selecting_schs.length == 0"
  176. @click="batchPrintAction"
  177. type="primary"
  178. >批量打印</el-button
  179. >
  180. </template>
  181. <template v-if="this.template_id == 20">
  182. <el-button
  183. size="small"
  184. icon="el-icon-printer"
  185. :disabled="selecting_schs.length == 0"
  186. @click="batchPrintAction"
  187. type="primary"
  188. >批量打印</el-button
  189. >
  190. </template>
  191. <template v-if="this.template_id == 22">
  192. <div>
  193. <el-button
  194. :loading="loading"
  195. size="small"
  196. icon="el-icon-printer"
  197. @click="batchPrintAction"
  198. type="primary"
  199. >打印全部</el-button
  200. >
  201. <el-button
  202. :loading="loading"
  203. size="small"
  204. icon="el-icon-printer"
  205. @click="batchPrintActionOne"
  206. type="primary"
  207. style=""
  208. >打印记录单</el-button
  209. >
  210. <el-button
  211. :loading="loading"
  212. size="small"
  213. icon="el-icon-printer"
  214. @click="batchPrintActionTwo"
  215. type="primary"
  216. >打印医嘱单</el-button
  217. >
  218. </div>
  219. </template>
  220. <template v-if="this.template_id == 25">
  221. <el-button
  222. size="small"
  223. icon="el-icon-printer"
  224. :disabled="selecting_schs.length == 0"
  225. @click="batchPrintAction"
  226. type="primary"
  227. >批量打印</el-button
  228. >
  229. </template>
  230. <template v-if="this.template_id == 27">
  231. <el-button
  232. size="small"
  233. icon="el-icon-printer"
  234. :disabled="selecting_schs.length == 0"
  235. @click="batchPrintAction"
  236. type="primary"
  237. >批量打印</el-button
  238. >
  239. </template>
  240. <template v-if="this.template_id == 28">
  241. <el-button
  242. size="small"
  243. icon="el-icon-printer"
  244. :disabled="selecting_schs.length == 0"
  245. @click="batchPrintAction"
  246. type="primary"
  247. >批量打印</el-button
  248. >
  249. </template>
  250. <template v-if="this.template_id == 30">
  251. <el-button
  252. size="small"
  253. icon="el-icon-printer"
  254. :disabled="selecting_schs.length == 0"
  255. @click="batchPrintAction"
  256. type="primary"
  257. >批量打印</el-button
  258. >
  259. </template>
  260. <template v-if="this.template_id == 32">
  261. <el-button
  262. size="small"
  263. icon="el-icon-printer"
  264. :disabled="selecting_schs.length == 0"
  265. @click="batchPrintAction"
  266. type="primary"
  267. >批量打印</el-button
  268. >
  269. </template>
  270. <template v-if="this.template_id == 37">
  271. <el-button
  272. size="small"
  273. icon="el-icon-printer"
  274. :disabled="selecting_schs.length == 0"
  275. @click="batchPrintAction"
  276. type="primary"
  277. >批量打印</el-button
  278. >
  279. </template>
  280. <template v-if="this.template_id == 38">
  281. <el-button
  282. size="small"
  283. icon="el-icon-printer"
  284. :disabled="selecting_schs.length == 0"
  285. @click="batchPrintAction"
  286. type="primary"
  287. >批量打印</el-button
  288. >
  289. </template>
  290. <template v-if="this.template_id == 39">
  291. <el-button
  292. size="small"
  293. icon="el-icon-printer"
  294. :disabled="selecting_schs.length == 0"
  295. @click="batchPrintAction"
  296. type="primary"
  297. >批量打印</el-button
  298. >
  299. </template>
  300. <template v-if="this.template_id == 40">
  301. <el-button
  302. size="small"
  303. icon="el-icon-printer"
  304. :disabled="selecting_schs.length == 0"
  305. @click="batchPrintAction"
  306. type="primary"
  307. >批量打印</el-button
  308. >
  309. </template>
  310. <template v-if="this.template_id == 41">
  311. <el-button
  312. size="small"
  313. icon="el-icon-printer"
  314. :disabled="selecting_schs.length == 0"
  315. @click="batchPrintAction"
  316. type="primary"
  317. >批量打印</el-button
  318. >
  319. </template>
  320. <template v-if="this.template_id == 43">
  321. <el-button
  322. size="small"
  323. icon="el-icon-printer"
  324. :disabled="selecting_schs.length == 0"
  325. @click="batchPrintAction"
  326. type="primary"
  327. >批量打印</el-button
  328. >
  329. </template>
  330. <template v-if="this.template_id == 47 && this.org_id!=10318">
  331. <el-button
  332. size="small"
  333. icon="el-icon-printer"
  334. :disabled="selecting_schs.length == 0"
  335. @click="batchPrintAction"
  336. type="primary"
  337. >批量打印</el-button
  338. >
  339. </template>
  340. <template v-if="this.template_id == 51">
  341. <el-button
  342. size="small"
  343. icon="el-icon-printer"
  344. :disabled="selecting_schs.length == 0"
  345. @click="batchPrintAction"
  346. type="primary"
  347. >批量打印</el-button>
  348. </template>
  349. <template v-if="this.template_id == 53">
  350. <el-button
  351. size="small"
  352. icon="el-icon-printer"
  353. :disabled="selecting_schs.length == 0"
  354. @click="batchPrintAction"
  355. type="primary"
  356. >批量打印</el-button>
  357. </template>
  358. <template v-if="this.template_id == 59">
  359. <el-button
  360. size="small"
  361. icon="el-icon-printer"
  362. :disabled="selecting_schs.length == 0"
  363. @click="batchPrintAction"
  364. type="primary"
  365. >批量打印</el-button>
  366. </template>
  367. <template v-if="this.template_id == 60">
  368. <el-button
  369. size="small"
  370. icon="el-icon-printer"
  371. :disabled="selecting_schs.length == 0"
  372. @click="batchPrintAction"
  373. type="primary"
  374. >批量打印</el-button>
  375. </template>
  376. <template v-if="this.template_id == 61">
  377. <el-button
  378. size="small"
  379. icon="el-icon-printer"
  380. :disabled="selecting_schs.length == 0"
  381. @click="batchPrintAction"
  382. type="primary"
  383. >批量打印</el-button>
  384. </template>
  385. <template v-if="this.template_id == 62">
  386. <el-button
  387. size="small"
  388. icon="el-icon-printer"
  389. :disabled="selecting_schs.length == 0"
  390. @click="batchPrintAction"
  391. type="primary"
  392. >批量打印</el-button>
  393. </template>
  394. <template v-if="this.template_id == 65">
  395. <el-button
  396. size="small"
  397. icon="el-icon-printer"
  398. :disabled="selecting_schs.length == 0"
  399. @click="batchPrintAction"
  400. type="primary"
  401. >批量打印</el-button>
  402. </template>
  403. </div>
  404. <div class="app-container">
  405. <!-- <div class="filter-container">
  406. <el-input style="width: 400px;" v-model="searchKey" class="filter-item"/>
  407. <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
  408. </div>-->
  409. <div class="cell clearfix">
  410. <label class="title">
  411. <span class="name">{{
  412. search_mode == 1 ? "日期查询" : "病人查询"
  413. }}</span>
  414. :
  415. </label>
  416. <el-date-picker
  417. v-show="search_mode == 1"
  418. v-model="time"
  419. prefix-icon="el-icon-date"
  420. @change="changeTime"
  421. :editable="false"
  422. style="width: 250px;"
  423. type="date"
  424. placeholder="选择日期时间"
  425. align="right"
  426. :picker-options="pickerOptions1"
  427. format="yyyy-MM-dd"
  428. value-format="timestamp"
  429. ></el-date-picker>
  430. <el-input
  431. v-show="search_mode == 2"
  432. v-model="patient_search_keyword"
  433. style="width: 250px;"
  434. placeholder="病人名字、透析号"
  435. @keyup.enter.native='searchPatientAction'
  436. >
  437. <el-button
  438. slot="append"
  439. style="background-color: #409EFF; color: white; border-radius: 0;"
  440. icon="el-icon-search"
  441. @click="searchPatientAction"
  442. ></el-button>
  443. </el-input>
  444. <el-button type="primary" @click="changeSearchMode">{{
  445. search_mode == 1 ? "改为病人查询" : "改为日期查询"
  446. }}</el-button>
  447. </div>
  448. <div class="cell clearfix" v-show="search_mode == 2">
  449. <label class="title">
  450. <span class="name">日期查询</span>:
  451. </label>
  452. <el-date-picker
  453. v-model="listQuery.start_time"
  454. prefix-icon="el-icon-date"
  455. @change="changeStartTime"
  456. style="width: 250px;"
  457. type="date"
  458. placeholder="选择日期时间"
  459. align="right"
  460. :picker-options="pickerOptions1"
  461. format="yyyy-MM-dd"
  462. value-format="timestamp"
  463. ></el-date-picker>
  464. -
  465. <el-date-picker
  466. v-model="listQuery.end_time"
  467. prefix-icon="el-icon-date"
  468. @change="changeEndTime"
  469. style="width: 250px;"
  470. type="date"
  471. placeholder="选择日期时间"
  472. align="right"
  473. :picker-options="pickerOptions1"
  474. format="yyyy-MM-dd"
  475. value-format="timestamp"
  476. ></el-date-picker>
  477. </div>
  478. <div class="cell clearfix">
  479. <label class="title"> <span class="name">排班班次</span> : </label>
  480. <div class="time">
  481. <ul class>
  482. <li
  483. :class="item.value == schedulType ? 'active' : ''"
  484. @click="selectSchedulType(item.value)"
  485. v-for="item in schedulArr"
  486. :key="item.value"
  487. >
  488. {{ item.label }}
  489. </li>
  490. </ul>
  491. </div>
  492. </div>
  493. <div class="cell clearfix">
  494. <label class="title"> <span class="name">分区</span> : </label>
  495. <div class="time">
  496. <ul class>
  497. <li
  498. :class="item.id == partitionType ? 'active' : ''"
  499. @click="selectPartitionType(item.id)"
  500. v-for="item in partitionArr"
  501. :key="item.id"
  502. >
  503. {{ item.name }}
  504. </li>
  505. </ul>
  506. </div>
  507. </div>
  508. <el-table
  509. :row-style="{ color: '#303133' }"
  510. :header-cell-style="{
  511. backgroundColor: 'rgb(245, 247, 250)',
  512. color: '#606266'
  513. }"
  514. :data="SchedualPatientsTableData"
  515. style="width: 100%"
  516. v-loading="loading"
  517. border
  518. @current-change="clickCurrent"
  519. @selection-change="handleSelectionChange"
  520. highlight-current-row
  521. :cell-class-name="cellStyle"
  522. >
  523. <el-table-column
  524. type="selection"
  525. width="45"
  526. align="center"
  527. ></el-table-column>
  528. <el-table-column
  529. prop="number"
  530. label="机号"
  531. align="center"
  532. ></el-table-column>
  533. <el-table-column
  534. label="排班日期"
  535. prop="sch_time"
  536. align="center"
  537. width="120"
  538. ></el-table-column>
  539. <el-table-column
  540. prop="start_time"
  541. label="上机时间"
  542. align="center"
  543. width="80"
  544. ></el-table-column>
  545. <el-table-column
  546. prop="dialysis_no"
  547. label="透析号"
  548. align="center"
  549. ></el-table-column>
  550. <el-table-column prop="name" label="姓名" align="center">
  551. <template slot-scope="scope">
  552. <span style="color: #579ef8;width:100%;display:block;">{{ scope.row.name }}</span>
  553. </template>
  554. </el-table-column>
  555. <el-table-column
  556. prop="mode_name"
  557. label="透析模式"
  558. align="center"
  559. width="100"
  560. ></el-table-column>
  561. <el-table-column
  562. prop="target_ultrafiltration"
  563. label="目标超滤量"
  564. align="center"
  565. width="100"
  566. ></el-table-column>
  567. <el-table-column
  568. v-if="org_id == 10469"
  569. prop="prescription_water"
  570. label="处方脱水量"
  571. align="center"
  572. width="100"
  573. ></el-table-column>
  574. <el-table-column label="透前血压(kg)" align="center" width="120" prop="pressure_name">
  575. </el-table-column>
  576. <el-table-column
  577. prop="dry_weight"
  578. label="干体重(kg)"
  579. align="center"
  580. width="120"
  581. ></el-table-column>
  582. <el-table-column
  583. prop="dialysis_before_weight"
  584. label="透前称重(kg)"
  585. align="center"
  586. width="120"
  587. ></el-table-column>
  588. <el-table-column
  589. prop="dialysis_after_weight"
  590. label="透后称重(kg)"
  591. align="center"
  592. width="120"
  593. ></el-table-column>
  594. <el-table-column label="监测时间" align="center" width="120">
  595. <template slot-scope="scope">
  596. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  597. <td style="border-right: none; border-inline-end: none;text-align: center">
  598. {{getTimeOne(item.operate_time)}}
  599. </td>
  600. </tr>
  601. </template>
  602. </el-table-column>
  603. <el-table-column label="透中血压(mmHg)" align="center" width="180" v-if="isShow('血压')">
  604. <template slot-scope="scope">
  605. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  606. <td style="border-right: none; border-inline-end: none;text-align: center">
  607. <span v-if="item.systolic_blood_pressure>=90 && item.systolic_blood_pressure<=140"> {{item.systolic_blood_pressure}}</span>
  608. <span v-if="item.systolic_blood_pressure<90 || item.systolic_blood_pressure >140" style="color:red">{{item.systolic_blood_pressure}}</span>
  609. <span v-if="item.diastolic_blood_pressure >0">/</span>
  610. <span v-if="item.diastolic_blood_pressure >=60 &&item.diastolic_blood_pressure <=90">{{item.diastolic_blood_pressure}}</span>
  611. <span v-if="item.diastolic_blood_pressure <60 || item.diastolic_blood_pressure >90" style="color:red">{{item.diastolic_blood_pressure }}</span>
  612. </td>
  613. </tr>
  614. </template>
  615. </el-table-column>
  616. <el-table-column label="体温(℃)" align="center" width="120" v-if="isShow('体温')">
  617. <template slot-scope="scope">
  618. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  619. <td style="border-right: none; border-inline-end: none;text-align: center">
  620. {{ item.temperature ? item.temperature : "" }}
  621. </td>
  622. </tr>
  623. </template>
  624. </el-table-column>
  625. <el-table-column label="脉搏(次/分)" align="center" width="120" v-if="isShow('脉搏')">
  626. <template slot-scope="scope">
  627. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  628. <td style="border-right: none; border-inline-end: none;text-align: center">
  629. {{ item.pulse_frequency ? item.pulse_frequency : "" }}
  630. </td>
  631. </tr>
  632. </template>
  633. </el-table-column>
  634. <el-table-column label="呼吸频率(次/分)" align="center" width="120" v-if="isShow('呼吸频率')">
  635. <template slot-scope="scope">
  636. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  637. <td style="border-right: none; border-inline-end: none;text-align: center">
  638. {{ item.breathing_rate ? item.breathing_rate : "" }}
  639. </td>
  640. </tr>
  641. </template>
  642. </el-table-column>
  643. <el-table-column label="静脉压/动脉压(mmHg)" align="center" width="120">
  644. <template slot-scope="scope">
  645. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  646. <td style="border-right: none; border-inline-end: none;text-align: center">
  647. <span>{{item.venous_pressure ? item.venous_pressure : ""}}/
  648. {{item.arterial_pressure ? item.arterial_pressure : ""}}</span>
  649. </td>
  650. </tr>
  651. </template>
  652. </el-table-column>
  653. <el-table-column label="血流量" align="center" width="120" v-if="isShow('血流量')">
  654. <template slot-scope="scope">
  655. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  656. <td style="border-right: none; border-inline-end: none;text-align: center">
  657. {{item.blood_flow_volume?item.blood_flow_volume:""}}
  658. </td>
  659. </tr>
  660. </template>
  661. </el-table-column>
  662. <el-table-column label="跨膜压(mmHg)" align="center" width="120" v-if="isShow('跨膜压')">
  663. <template slot-scope="scope">
  664. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  665. <td style="border-right: none; border-inline-end: none;text-align: center">
  666. {{item.transmembrane_pressure?item.transmembrane_pressure:""}}
  667. </td>
  668. </tr>
  669. </template>
  670. </el-table-column>
  671. <el-table-column label="超滤量(ml)" align="center"
  672. v-if="
  673. isShow('超滤量') &&
  674. (template_id == 6 ||
  675. template_id == 9 ||
  676. template_id == 10 ||
  677. template_id == 11 ||
  678. template_id == 12 ||
  679. template_id == 13 ||
  680. template_id == 17 ||
  681. template_id == 18 ||
  682. template_id == 19 ||
  683. template_id == 20 ||
  684. template_id == 21 ||
  685. template_id == 22 ||
  686. template_id == 23 ||
  687. template_id == 24 ||
  688. template_id == 26 ||
  689. template_id == 27 ||
  690. template_id == 29 ||
  691. template_id == 30 ||
  692. template_id == 31 ||
  693. template_id == 32 ||
  694. template_id == 34 ||
  695. template_id == 35 ||
  696. template_id == 36 ||
  697. template_id == 38 ||
  698. template_id == 39 ||
  699. template_id == 40 ||
  700. template_id == 41 ||
  701. template_id == 43 ||
  702. template_id == 44 ||
  703. template_id == 46 ||
  704. template_id == 47 ||
  705. template_id == 48 ||
  706. template_id == 51 ||
  707. template_id == 53 ||
  708. template_id == 54 ||
  709. template_id == 56 ||
  710. template_id == 60 ||
  711. org_id == 10210 ||
  712. org_id == 9555 || org_id == 10387
  713. || org_id == 10432
  714. || org_id == 10445)
  715. ">
  716. <template slot-scope="scope">
  717. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  718. <td style="border-right: none; border-inline-end: none;text-align: center">
  719. {{item.ultrafiltration_volume?item.ultrafiltration_volume:""}}
  720. </td>
  721. </tr>
  722. </template>
  723. </el-table-column>
  724. <el-table-column label="超滤量(L)" align="center"
  725. v-if="
  726. isShow('超滤量') &&
  727. template_id != 6 &&
  728. template_id != 9 &&
  729. template_id != 10 &&
  730. template_id != 11 &&
  731. template_id != 12 &&
  732. template_id != 13 &&
  733. template_id != 17 &&
  734. template_id != 18 &&
  735. template_id != 19 &&
  736. template_id != 20 &&
  737. template_id != 21 &&
  738. template_id != 22 &&
  739. template_id != 23 &&
  740. template_id != 24 &&
  741. template_id != 26 &&
  742. template_id != 27 &&
  743. template_id != 29 &&
  744. template_id != 30 &&
  745. template_id != 31 &&
  746. template_id != 32 &&
  747. template_id != 34 &&
  748. template_id != 35 &&
  749. template_id != 36 &&
  750. template_id != 38 &&
  751. template_id != 39 &&
  752. template_id != 40 &&
  753. template_id != 41 &&
  754. template_id != 43 &&
  755. template_id != 44 &&
  756. template_id != 46 &&
  757. template_id != 47 &&
  758. template_id != 48 &&
  759. template_id != 51 &&
  760. template_id != 53 &&
  761. template_id != 54 &&
  762. template_id != 56 &&
  763. template_id != 60 &&
  764. org_id!= 10210 &&
  765. org_id != 9555 && org_id!=10387
  766. && org_id!=10432 && org_id!=10445
  767. ">
  768. <template slot-scope="scope">
  769. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  770. <td style="border-right: none; border-inline-end: none;text-align: center">
  771. {{item.ultrafiltration_volume?item.ultrafiltration_volume:""}}
  772. </td>
  773. </tr>
  774. </template>
  775. </el-table-column>
  776. <el-table-column label="超滤率(ml/h)" align="center"
  777. v-if="isShow('超滤率') &&
  778. (template_id == 6 ||
  779. template_id == 10 ||
  780. template_id == 11 ||
  781. template_id == 12 ||
  782. template_id == 13 ||
  783. template_id == 17 ||
  784. template_id == 18 ||
  785. template_id == 19 ||
  786. template_id == 20 ||
  787. template_id == 21 ||
  788. template_id == 22 ||
  789. template_id == 23 ||
  790. template_id == 24 ||
  791. template_id == 26 ||
  792. template_id == 29 ||
  793. template_id == 30 ||
  794. template_id == 31 ||
  795. template_id == 34 ||
  796. template_id == 35 ||
  797. template_id == 38 ||
  798. template_id == 41 ||
  799. template_id == 43 ||
  800. template_id == 44 ||
  801. template_id == 46 ||
  802. template_id == 48 ||
  803. template_id == 53 ||
  804. template_id == 54 ||
  805. template_id == 56 ||
  806. template_id == 47 ||
  807. template_id == 60 ||
  808. org_id == 10432 ||
  809. org_id == 10445)
  810. ">
  811. <template slot-scope="scope">
  812. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  813. <td style="border-right: none; border-inline-end: none;text-align: center">
  814. {{item.ultrafiltration_rate? item.ultrafiltration_rate: ""}}
  815. </td>
  816. </tr>
  817. </template>
  818. </el-table-column>
  819. <el-table-column label="超滤率(L/h)" align="center"
  820. v-if="
  821. isShow('超滤率') &&
  822. template_id != 6 &&
  823. template_id != 10 &&
  824. template_id != 11 &&
  825. template_id != 12 &&
  826. template_id != 13 &&
  827. template_id != 17 &&
  828. template_id != 18 &&
  829. template_id != 19 &&
  830. template_id != 20 &&
  831. template_id != 21 &&
  832. template_id != 22 &&
  833. template_id != 23 &&
  834. template_id != 24 &&
  835. template_id != 26 &&
  836. template_id != 29 &&
  837. template_id != 30 &&
  838. template_id != 31 &&
  839. template_id != 34 &&
  840. template_id != 35 &&
  841. template_id != 38 &&
  842. template_id != 41 &&
  843. template_id != 43 &&
  844. template_id != 44 &&
  845. template_id != 46 &&
  846. template_id != 53 &&
  847. template_id != 54 &&
  848. template_id != 56 &&
  849. template_id != 48 &&
  850. template_id != 47 &&
  851. template_id != 60 &&
  852. org_id!=10432 &&
  853. org_id!=10445
  854. "
  855. >
  856. <template slot-scope="scope">
  857. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  858. <td style="border-right: none; border-inline-end: none;text-align: center">
  859. {{item.ultrafiltration_rate? item.ultrafiltration_rate: ""}}
  860. </td>
  861. </tr>
  862. </template>
  863. </el-table-column>
  864. <el-table-column label="钠浓度(mmol/L)" align="center" v-if="isShow('钠浓度')">
  865. <template slot-scope="scope">
  866. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  867. <td style="border-right: none; border-inline-end: none;text-align: center">
  868. {{item.sodium_concentration? item.sodium_concentration: ""}}
  869. </td>
  870. </tr>
  871. </template>
  872. </el-table-column>
  873. <el-table-column label="透析液温度(℃)" align="center" v-if="isShow('透析液温度')">
  874. <template slot-scope="scope">
  875. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  876. <td style="border-right: none; border-inline-end: none;text-align: center">
  877. {{item.dialysate_temperature? item.dialysate_temperature: ""}}
  878. </td>
  879. </tr>
  880. </template>
  881. </el-table-column>
  882. <el-table-column label="置换率(ml/min)" align="center"
  883. v-if="
  884. isShow('置换率') &&
  885. (template_id == 6 ||
  886. template_id == 10 ||
  887. template_id == 11 ||
  888. template_id == 20 ||
  889. template_id == 26 ||
  890. template_id == 29 ||
  891. template_id == 48 ||
  892. template_id == 53 ||
  893. template_id == 54 ||
  894. template_id == 56 ||
  895. org_id ==10432 ||
  896. org_id ==10445
  897. )
  898. ">
  899. <template slot-scope="scope">
  900. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  901. <td style="border-right: none; border-inline-end: none;text-align: center">
  902. {{item.replacement_rate? item.replacement_rate: ""}}
  903. </td>
  904. </tr>
  905. </template>
  906. </el-table-column>
  907. <el-table-column label="置换率(L/h)" align="center"
  908. v-if="
  909. isShow('置换率') &&
  910. template_id != 6 &&
  911. template_id != 10 &&
  912. template_id != 11 &&
  913. template_id != 20 &&
  914. template_id != 26 &&
  915. template_id != 29 &&
  916. template_id != 48 &&
  917. template_id != 53 &&
  918. template_id != 54 &&
  919. template_id != 56 &&
  920. org_id !=10432 &&
  921. org_id !=10445
  922. "
  923. >
  924. <template slot-scope="scope">
  925. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  926. <td style="border-right: none; border-inline-end: none;text-align: center">
  927. {{item.replacement_rate? item.replacement_rate: ""}}
  928. </td>
  929. </tr>
  930. </template>
  931. </el-table-column>
  932. <el-table-column label="置换量(ml/h)" align="center"
  933. v-if="isShow('置换量') && (template_id == 43 || template_id == 48)"
  934. >
  935. <template slot-scope="scope">
  936. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  937. <td style="border-right: none; border-inline-end: none;text-align: center">
  938. {{item.displacement_quantity? item.displacement_quantity: ""}}
  939. </td>
  940. </tr>
  941. </template>
  942. </el-table-column>
  943. <el-table-column label="置换量(ml)" align="center"
  944. v-if="
  945. isShow('置换量') &&
  946. ((template_id == 6 &&
  947. org_id != 9919 &&
  948. org_id != 10191 &&
  949. template_id != 43 &&
  950. template_id != 47) ||
  951. org_id == 9779 ||
  952. template_id == 11 ||
  953. template_id == 20 ||
  954. template_id == 26 ||
  955. template_id == 29 ||
  956. template_id == 53 ||
  957. template_id == 54 ||
  958. template_id == 56 ||
  959. template_id == 48 ||
  960. org_id == 10340 ||
  961. org_id == 10432 ||
  962. org_id == 10445)
  963. ">
  964. <template slot-scope="scope">
  965. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  966. <td style="border-right: none; border-inline-end: none;text-align: center">
  967. {{item.displacement_quantity? item.displacement_quantity: ""}}
  968. </td>
  969. </tr>
  970. </template>
  971. </el-table-column>
  972. <el-table-column label="置换量(L)" align="center"
  973. v-if="
  974. isShow('置换量') &&
  975. (template_id != 6 || org_id == 9919 || org_id == 10191) &&
  976. template_id != 9779 &&
  977. template_id != 11 &&
  978. template_id != 20 &&
  979. template_id != 26 &&
  980. template_id != 29 &&
  981. template_id != 43 &&
  982. template_id != 53 &&
  983. template_id != 54 &&
  984. template_id != 56 &&
  985. template_id != 48 &&
  986. org_id !=10340 &&
  987. org_id !=10432 &&
  988. org_id !=10445
  989. "
  990. >
  991. <template slot-scope="scope">
  992. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  993. <td style="border-right: none; border-inline-end: none;text-align: center">
  994. {{item.displacement_quantity? item.displacement_quantity: ""}}
  995. </td>
  996. </tr>
  997. </template>
  998. </el-table-column>
  999. <el-table-column label="SpO₂(%)" align="center"
  1000. v-if="
  1001. isShow('SpO₂') &&
  1002. template_id != 6 &&
  1003. template_id != 10 &&
  1004. template_id != 11
  1005. "
  1006. >
  1007. <template slot-scope="scope">
  1008. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1009. <td style="border-right: none; border-inline-end: none;text-align: center">
  1010. {{item.blood_oxygen_saturation? item.blood_oxygen_saturation: ""}}
  1011. </td>
  1012. </tr>
  1013. </template>
  1014. </el-table-column>
  1015. <el-table-column label="电导度(mS/cm)" align="center"
  1016. v-if="isShow('电导度')">
  1017. <template slot-scope="scope">
  1018. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1019. <td style="border-right: none; border-inline-end: none;text-align: center">
  1020. {{item.conductivity? item.conductivity: ""}}
  1021. </td>
  1022. </tr>
  1023. </template>
  1024. </el-table-column>
  1025. <el-table-column label="置换液流量(ml/h)" align="center"
  1026. v-if="isShow('置换液流量') && template_id != 27"
  1027. >
  1028. <!-- 数据的遍历 scope.row就代表数据的每一个对象-->
  1029. <template slot-scope="scope">
  1030. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1031. <td style="border-right: none; border-inline-end: none;text-align: center">
  1032. {{item.displacement_flow_quantity? item.displacement_flow_quantity: ""}}
  1033. </td>
  1034. </tr>
  1035. </template>
  1036. </el-table-column>
  1037. <el-table-column label="置换液流量(ml/min)" align="center"
  1038. v-if="isShow('置换液流量') && template_id == 27"
  1039. >
  1040. <template slot-scope="scope">
  1041. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1042. <td style="border-right: none; border-inline-end: none;text-align: center">
  1043. {{item.displacement_flow_quantity? item.displacement_flow_quantity: ""}}
  1044. </td>
  1045. </tr>
  1046. </template>
  1047. </el-table-column>
  1048. <el-table-column label="透析液流量(ml/h)" align="center" v-if="isShow('透析液流量')">
  1049. <template slot-scope="scope">
  1050. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1051. <td style="border-right: none; border-inline-end: none;text-align: center">
  1052. {{item.dialysate_flow? item.dialysate_flow: ""}}
  1053. </td>
  1054. </tr>
  1055. </template>
  1056. </el-table-column>
  1057. <el-table-column label="肝素用量余量(ml)" align="center" v-if="isShow('肝素用量余量')">
  1058. <template slot-scope="scope">
  1059. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1060. <td style="border-right: none; border-inline-end: none;text-align: center">
  1061. {{item.heparin? item.heparin: ""}}
  1062. </td>
  1063. </tr>
  1064. </template>
  1065. </el-table-column>
  1066. <el-table-column label="血压监测部位" align="center" v-if="isShow('血压监测部位')">
  1067. <template slot-scope="scope">
  1068. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1069. <td style="border-right: none; border-inline-end: none;text-align: center">
  1070. {{ getBloodPressure(item.blood_pressure_monitoring_site) }}
  1071. </td>
  1072. </tr>
  1073. </template>
  1074. </el-table-column>
  1075. <el-table-column label="并发症" align="center" v-if="isShow('并发症')">
  1076. <template slot-scope="scope">
  1077. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1078. <td style="border-right: none; border-inline-end: none;text-align: center">
  1079. {{ getComplication(item.complication) }}
  1080. </td>
  1081. </tr>
  1082. </template>
  1083. </el-table-column>
  1084. <el-table-column label="累计血容量(ml)" align="center"
  1085. v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671 && org_id != 10340"
  1086. >
  1087. <template slot-scope="scope">
  1088. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1089. <td style="border-right: none; border-inline-end: none;text-align: center">
  1090. {{item.accumulated_blood_volume}}
  1091. </td>
  1092. </tr>
  1093. </template>
  1094. </el-table-column>
  1095. <el-table-column label="累计血容量(L)" align="center"
  1096. v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9538 || org_id == 9671 || org_id == 10340)"
  1097. >
  1098. <template slot-scope="scope">
  1099. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1100. <td style="border-right: none; border-inline-end: none;text-align: center">
  1101. {{item.accumulated_blood_volume}}
  1102. </td>
  1103. </tr>
  1104. </template>
  1105. </el-table-column>
  1106. <el-table-column label="血容量" align="center" v-if="isShow('血容量')">
  1107. <template slot-scope="scope">
  1108. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1109. <td style="border-right: none; border-inline-end: none;text-align: center">
  1110. {{item.accumulated_blood_volume}}
  1111. </td>
  1112. </tr>
  1113. </template>
  1114. </el-table-column>
  1115. <el-table-column label="血温监测" align="center" v-if="isShow('血温监测')">
  1116. <template slot-scope="scope">
  1117. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1118. <td style="border-right: none; border-inline-end: none;text-align: center">
  1119. {{item.blood_temperature}}
  1120. </td>
  1121. </tr>
  1122. </template>
  1123. </el-table-column>
  1124. <el-table-column label="尿素监测" align="center" v-if="isShow('尿素监测')" >
  1125. <template slot-scope="scope">
  1126. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1127. <td style="border-right: none; border-inline-end: none;text-align: center">
  1128. {{item.urea_monitoring}}
  1129. </td>
  1130. </tr>
  1131. </template>
  1132. </el-table-column>
  1133. <el-table-column label="血压监测" align="center" v-if="isShow('血压监测')">
  1134. <template slot-scope="scope">
  1135. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1136. <td style="border-right: none; border-inline-end: none;text-align: center">
  1137. {{item.blood_monitor}}
  1138. </td>
  1139. </tr>
  1140. </template>
  1141. </el-table-column>
  1142. <el-table-column label="肝素量(mg)" align="center" v-if="isShow('肝素量')">
  1143. <template slot-scope="scope">
  1144. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1145. <td style="border-right: none; border-inline-end: none;text-align: center">
  1146. {{item.heparin_amount}}
  1147. </td>
  1148. </tr>
  1149. </template>
  1150. </el-table-column>
  1151. <el-table-column label="脱水(L)" align="center" v-if="isShow('脱水')">
  1152. <template slot-scope="scope">
  1153. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1154. <td style="border-right: none; border-inline-end: none;text-align: center">
  1155. {{item.dehydration}}
  1156. </td>
  1157. </tr>
  1158. </template>
  1159. </el-table-column>
  1160. <el-table-column label="KT/V" align="center"
  1161. v-if="isShow('KT/V') &&(org_id == 9987 || org_id == 10215 || org_id == 9800 || org_id == 9671 || org_id == 9675)"
  1162. >
  1163. <template slot-scope="scope">
  1164. <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
  1165. <td style="border-right: none; border-inline-end: none;text-align: center">
  1166. {{item.ktv}}
  1167. </td>
  1168. </tr>
  1169. </template>
  1170. </el-table-column>
  1171. </el-table>
  1172. <el-pagination
  1173. align="right"
  1174. @size-change="handleSizeChange"
  1175. @current-change="handleCurrentChange"
  1176. :page-sizes="[20, 40, 60, 80,100]"
  1177. :page-size="10"
  1178. background
  1179. style="margin-top:20px;"
  1180. layout="total, sizes, prev, pager, next, jumper"
  1181. :total="total"
  1182. ></el-pagination>
  1183. </div>
  1184. </div>
  1185. </template>
  1186. <script>
  1187. import { getDataConfig } from "@/utils/data";
  1188. import store from "@/store";
  1189. import { getSchedualPatient, GetAllZone } from "@/api/dialysis";
  1190. import { parseTime } from "@/utils";
  1191. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1192. import { getPrintTemplate } from "@/api/data";
  1193. import { uParseTime } from '@/utils/tools'
  1194. const moment = require('moment')
  1195. export default {
  1196. name: "Patient",
  1197. data() {
  1198. return {
  1199. crumbs: [
  1200. { path: false, name: "透析管理" },
  1201. { path: false, name: "透析监测" }
  1202. ],
  1203. loading: false,
  1204. time: "",
  1205. search_mode: 1, // 搜索模式 1.日期搜索 2.病人搜索
  1206. patient_search_keyword: "",
  1207. SchedualPatientsTableData: [],
  1208. active: true,
  1209. schedulType: 0,
  1210. schedulArr: [
  1211. { value: 0, label: "全部" },
  1212. { value: 1, label: "上午" },
  1213. { value: 2, label: "下午" },
  1214. { value: 3, label: "晚上" }
  1215. ],
  1216. template_id: 0,
  1217. partitionType: 0,
  1218. labelArr: ["第1次", "第2次", "第3次", "第4次", "第5次", "第6次", "第7次"],
  1219. pickerOptions1: {
  1220. shortcuts: [
  1221. {
  1222. text: "今天",
  1223. onClick(picker) {
  1224. var date = new Date();
  1225. var year = date.getFullYear();
  1226. var month = date.getMonth() + 1;
  1227. var day = date.getDate();
  1228. if (month < 10) {
  1229. month = "0" + month;
  1230. }
  1231. if (day < 10) {
  1232. day = "0" + day;
  1233. }
  1234. var nowDate = year + "-" + month + "-" + day;
  1235. var date1 = new Date(nowDate + " 00:00:00");
  1236. picker.$emit("pick", date1.getTime());
  1237. }
  1238. },
  1239. {
  1240. text: "昨天",
  1241. onClick(picker) {
  1242. var d = new Date();
  1243. d.setTime(d.getTime() - 3600 * 1000 * 24);
  1244. var date = d;
  1245. var year = date.getFullYear();
  1246. var month = date.getMonth() + 1;
  1247. var day = date.getDate();
  1248. if (month < 10) {
  1249. month = "0" + month;
  1250. }
  1251. if (day < 10) {
  1252. day = "0" + day;
  1253. }
  1254. var nowDate = year + "-" + month + "-" + day;
  1255. var date1 = new Date(nowDate + " 00:00:00");
  1256. picker.$emit("pick", date1.getTime());
  1257. }
  1258. },
  1259. {
  1260. text: "一周前",
  1261. onClick(picker) {
  1262. var d = new Date();
  1263. d.setTime(d.getTime() - 3600 * 1000 * 24 * 7);
  1264. var date = d;
  1265. var year = date.getFullYear();
  1266. var month = date.getMonth() + 1;
  1267. var day = date.getDate();
  1268. if (month < 10) {
  1269. month = "0" + month;
  1270. }
  1271. if (day < 10) {
  1272. day = "0" + day;
  1273. }
  1274. var nowDate = year + "-" + month + "-" + day;
  1275. var date1 = new Date(nowDate + " 00:00:00");
  1276. picker.$emit("pick", date1.getTime());
  1277. }
  1278. },
  1279. {
  1280. text: "清空",
  1281. onClick(picker) {
  1282. picker.$emit("pick");
  1283. }
  1284. }
  1285. ]
  1286. },
  1287. total: 0,
  1288. listQuery: {
  1289. page: 1,
  1290. limit: 20,
  1291. schedul_type: 0,
  1292. partition_type: 0,
  1293. schedul_time: "",
  1294. keywords: "",
  1295. start_time:"",
  1296. end_time:"",
  1297. },
  1298. selecting_schs: [],
  1299. partitionArr: [],
  1300. bloodPressureMmonitoringSite: [],
  1301. complicationList: [],
  1302. template_id:0,
  1303. org_id:0,
  1304. };
  1305. },
  1306. created() {
  1307. this.template_id = this.$store.getters.xt_user.template_info.template_id;
  1308. this.org_id = this.$store.getters.xt_user.template_info.org_id;
  1309. this.bloodPressureMmonitoringSite = getDataConfig(
  1310. "hemodialysis",
  1311. "blood_pressure_monitoring_site"
  1312. );
  1313. this.complicationList = getDataConfig("hemodialysis", "complication");
  1314. var search_mode = this.$store.getters.search_mode
  1315. var search_value = this.$store.getters.search_value
  1316. console.log('search_mode',search_mode)
  1317. if(search_mode == 2){
  1318. this.search_mode = search_mode
  1319. if(search_value != ''){
  1320. this.patient_search_keyword = search_value
  1321. this.listQuery.keywords = search_value
  1322. this.getSchedualPatientList();
  1323. var date = new Date();
  1324. this.time = date;
  1325. var year = date.getFullYear();
  1326. var month = date.getMonth() + 1;
  1327. var day = date.getDate();
  1328. if (month < 10) {
  1329. month = "0" + month;
  1330. }
  1331. if (day < 10) {
  1332. day = "0" + day;
  1333. }
  1334. var nowDate = year + "-" + month + "-" + day;
  1335. var date = new Date(nowDate + " 00:00:00");
  1336. this.listQuery.schedul_time = date.getTime();
  1337. this.getAllZone();
  1338. this.getTemplateInfo();
  1339. }else {
  1340. var start_month = moment().startOf('month').format('YYYY-MM-DD')
  1341. var start_time = this.getTimestamp(start_month)
  1342. this.listQuery.start_time = start_time
  1343. var end_month = moment(new Date()).add('year',0).format("YYYY-MM-DD")
  1344. var end_time = this.getTimestamp(end_month)
  1345. this.listQuery.end_time = end_time
  1346. this.getSchedualPatientList()
  1347. this.getAllZone();
  1348. this.getTemplateInfo();
  1349. }
  1350. }else {
  1351. var date = new Date();
  1352. this.time = date;
  1353. var year = date.getFullYear();
  1354. var month = date.getMonth() + 1;
  1355. var day = date.getDate();
  1356. if (month < 10) {
  1357. month = "0" + month;
  1358. }
  1359. if (day < 10) {
  1360. day = "0" + day;
  1361. }
  1362. var nowDate = year + "-" + month + "-" + day;
  1363. var date = new Date(nowDate + " 00:00:00");
  1364. this.listQuery.schedul_time = date.getTime();
  1365. var start_month = moment().startOf('month').format('YYYY-MM-DD')
  1366. var start_time = this.getTimestamp(start_month)
  1367. this.listQuery.start_time = start_time
  1368. var end_month = moment(new Date()).add('year',0).format("YYYY-MM-DD")
  1369. var end_time = this.getTimestamp(end_month)
  1370. this.listQuery.end_time = end_time
  1371. this.getAllZone();
  1372. this.getSchedualPatientList();
  1373. this.getTemplateInfo();
  1374. }
  1375. // this.template_id = this.$store.getters.xt_user.template_info.template_id;
  1376. },
  1377. methods: {
  1378. getTemplateInfo() {
  1379. getPrintTemplate().then(response => {
  1380. if (response.data.state == 0) {
  1381. this.$message.error(response.data.msg);
  1382. return false;
  1383. } else {
  1384. var template = response.data.data.template;
  1385. this.template_id = template.template_id;
  1386. console.log("templage-i233232323232322323233232323223",this.template_id)
  1387. }
  1388. });
  1389. },
  1390. clickCurrent(val) {
  1391. console.log(val);
  1392. this.$router.push({
  1393. path: "/dialysis/details",
  1394. query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
  1395. });
  1396. },
  1397. handleSelectionChange(val) {
  1398. this.selecting_schs = val;
  1399. },
  1400. selectSchedulType(scheduleType) {
  1401. // alert(scheduleType);/
  1402. this.schedulType = scheduleType;
  1403. this.listQuery.schedul_type = scheduleType;
  1404. this.getSchedualPatientList();
  1405. },
  1406. selectPartitionType(partitionType) {
  1407. this.partitionType = partitionType;
  1408. this.listQuery.partition_type = partitionType;
  1409. this.getSchedualPatientList();
  1410. },
  1411. changeTime() {
  1412. this.listQuery.start_time = ""
  1413. this.listQuery.end_time = ""
  1414. this.listQuery.start_time = this.getTimestampOne(this.time)
  1415. this.listQuery.end_time = this.getTimestampOne(this.time)
  1416. this.listQuery.schedul_time = this.time;
  1417. this.getSchedualPatientList();
  1418. },
  1419. changeStartTime(){
  1420. this.getSchedualPatientList()
  1421. },
  1422. changeEndTime(){
  1423. this.getSchedualPatientList()
  1424. },
  1425. getAllZone: function() {
  1426. GetAllZone().then(response => {
  1427. if (response.data.state == 0) {
  1428. this.$message.error(response.data.msg);
  1429. return false;
  1430. } else {
  1431. this.partitionArr = response.data.data.zone;
  1432. this.partitionArr.unshift({ id: 0, name: "全部" });
  1433. }
  1434. });
  1435. },
  1436. getTimestamp(time) { //把时间日期转成时间戳
  1437. return (new Date(time)).getTime() - 28800000
  1438. },
  1439. getTimestampOne(time) { //把时间日期转成时间戳
  1440. return (new Date(time)).getTime()
  1441. },
  1442. getSchedualPatientList: function() {
  1443. this.loading = true;
  1444. if (this.search_mode == 1) {
  1445. this.listQuery.keywords = "";
  1446. } else {
  1447. this.listQuery.schedul_time = "";
  1448. }
  1449. console.log("params332322332323232",this.listQuery.start_time)
  1450. this.SchedualPatientsTableData = [];
  1451. getSchedualPatient(this.listQuery).then(response => {
  1452. if (response.data.state == 0) {
  1453. this.loading = false;
  1454. this.$message.error(response.data.msg);
  1455. return false;
  1456. } else {
  1457. this.loading = false;
  1458. this.total = response.data.data.total;
  1459. console.log("世界文化遗产",response.data.data.schedule)
  1460. for (let i = 0; i < response.data.data.schedule.length; i++) {
  1461. if (response.data.data.schedule[i].patient&&response.data.data.schedule[i].patient.id > 0) {
  1462. const SchedualPatientsTable = {
  1463. bp: []
  1464. };
  1465. if(response.data.data.schedule[i].dialysis_order!=null){
  1466. SchedualPatientsTable["start_time"] = response.data.data.schedule[i].dialysis_order.start_time ? parseTime(response.data.data.schedule[i].dialysis_order.start_time,"{h}:{i}") : '';
  1467. }
  1468. SchedualPatientsTable["sch_id"] = response.data.data.schedule[i].id;
  1469. SchedualPatientsTable["sch_time_int"] = response.data.data.schedule[i].schedule_date;
  1470. SchedualPatientsTable["sch_time"] = parseTime(response.data.data.schedule[i].schedule_date,"{y}-{m}-{d}");
  1471. SchedualPatientsTable["mode_id"] = response.data.data.schedule[i].mode_id
  1472. if(response.data.data.schedule[i].patient!=null){
  1473. SchedualPatientsTable["dialysis_no"] = response.data.data.schedule[i].patient.dialysis_no;
  1474. SchedualPatientsTable["name"] = response.data.data.schedule[i].patient.name;
  1475. SchedualPatientsTable["gender"] = response.data.data.schedule[i].patient.gender;
  1476. SchedualPatientsTable["source"] = response.data.data.schedule[i].patient.source;
  1477. SchedualPatientsTable["patient_id"] = response.data.data.schedule[i].patient_id;
  1478. }
  1479. SchedualPatientsTable["number"] = response.data.data.schedule[i].device_number.number;
  1480. if(response.data.data.schedule[i].treatment_mode!=null){
  1481. SchedualPatientsTable["mode_name"] = response.data.data.schedule[i].treatment_mode.name;
  1482. }
  1483. if(response.data.data.schedule[i].prescription!=null){
  1484. SchedualPatientsTable["target_ultrafiltration"] = response.data.data.schedule[i].prescription.target_ultrafiltration;
  1485. }
  1486. if(response.data.data.schedule[i].prescription!=null){
  1487. SchedualPatientsTable["prescription_water"] = response.data.data.schedule[i].prescription.prescription_water;
  1488. }
  1489. if (response.data.data.schedule[i].assessment_before_dislysis != null) {
  1490. SchedualPatientsTable["dialysis_before_weight"] =response.data.data.schedule[i].assessment_before_dislysis.weight_before;
  1491. }
  1492. if (response.data.data.schedule[i].assessment_before_dislysis != null) {
  1493. SchedualPatientsTable["dry_weight"] =response.data.data.schedule[i].assessment_before_dislysis.dry_weight;
  1494. }
  1495. if (response.data.data.schedule[i].assessment_after_dislysis !=null) {
  1496. SchedualPatientsTable["dialysis_after_weight"] =response.data.data.schedule[i].assessment_after_dislysis.weight_after;
  1497. }
  1498. if (response.data.data.schedule[i].assessment_before_dislysis != null) {
  1499. SchedualPatientsTable["pressure_name"] =response.data.data.schedule[i].assessment_before_dislysis.systolic_blood_pressure+"/"+ response.data.data.schedule[i].assessment_before_dislysis.diastolic_blood_pressure;
  1500. }
  1501. if(response.data.data.schedule[i].monitoring_record!=null &&response.data.data.schedule[i].monitoring_record.length >0 ){
  1502. SchedualPatientsTable["monitoring_record"] = response.data.data.schedule[i].monitoring_record
  1503. }
  1504. SchedualPatientsTable.bp = [];
  1505. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1506. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1507. const bp = {};
  1508. bp["value"] =response.data.data.schedule[i].monitoring_record[a].systolic_blood_pressure.toString()+"/" +response.data.data.schedule[i].monitoring_record[a].diastolic_blood_pressure.toString();
  1509. SchedualPatientsTable.bp.push(bp);
  1510. }
  1511. }
  1512. // 体温
  1513. SchedualPatientsTable.tp = [];
  1514. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0){
  1515. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1516. const tp = {};
  1517. tp["value"] =response.data.data.schedule[i].monitoring_record[a].temperature
  1518. SchedualPatientsTable.tp.push(tp);
  1519. }
  1520. }
  1521. // 脉搏
  1522. SchedualPatientsTable.mp = [];
  1523. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0){
  1524. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1525. const mp = {};
  1526. mp["value"] =response.data.data.schedule[i].monitoring_record[a].pulse_frequency
  1527. SchedualPatientsTable.mp.push(mp);
  1528. }
  1529. }
  1530. //呼吸频率
  1531. SchedualPatientsTable.hp = [];
  1532. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0){
  1533. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1534. const hp = {};
  1535. hp["value"] =response.data.data.schedule[i].monitoring_record[a].breathing_rate
  1536. SchedualPatientsTable.hp.push(hp);
  1537. }
  1538. }
  1539. //静脉压/动脉压(kpa)
  1540. SchedualPatientsTable.jp = [];
  1541. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1542. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1543. const jp = {};
  1544. jp["value"] =response.data.data.schedule[i].monitoring_record[a].venous_pressure.toString()+"/" +response.data.data.schedule[i].monitoring_record[a].arterial_pressure.toString();
  1545. SchedualPatientsTable.jp.push(jp);
  1546. }
  1547. }
  1548. //血流量
  1549. SchedualPatientsTable.xp = [];
  1550. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1551. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1552. const xp = {};
  1553. xp["value"] =response.data.data.schedule[i].monitoring_record[a].blood_flow_volume
  1554. SchedualPatientsTable.xp.push(xp);
  1555. }
  1556. }
  1557. //跨膜压
  1558. SchedualPatientsTable.kp = [];
  1559. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1560. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1561. const kp = {};
  1562. kp["value"] =response.data.data.schedule[i].monitoring_record[a].transmembrane_pressure
  1563. SchedualPatientsTable.kp.push(kp);
  1564. }
  1565. }
  1566. //超滤量
  1567. SchedualPatientsTable.cp = [];
  1568. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1569. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1570. const cp = {};
  1571. cp["value"] =response.data.data.schedule[i].monitoring_record[a].ultrafiltration_volume
  1572. SchedualPatientsTable.cp.push(cp);
  1573. }
  1574. }
  1575. //超滤率
  1576. SchedualPatientsTable.clp = [];
  1577. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1578. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1579. const clp = {};
  1580. clp["value"] =response.data.data.schedule[i].monitoring_record[a].ultrafiltration_rate
  1581. SchedualPatientsTable.clp.push(clp);
  1582. }
  1583. }
  1584. //钠浓度
  1585. SchedualPatientsTable.np = [];
  1586. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1587. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1588. const np = {};
  1589. np["value"] =response.data.data.schedule[i].monitoring_record[a].sodium_concentration
  1590. SchedualPatientsTable.np.push(np);
  1591. }
  1592. }
  1593. // 透析液温度
  1594. SchedualPatientsTable.tcp = [];
  1595. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1596. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1597. const tcp = {};
  1598. tcp["value"] =response.data.data.schedule[i].monitoring_record[a].dialysate_temperature
  1599. SchedualPatientsTable.tcp.push(tcp);
  1600. }
  1601. }
  1602. //置换率(ml/min)
  1603. SchedualPatientsTable.zp = [];
  1604. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1605. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1606. const zp = {};
  1607. zp["value"] =response.data.data.schedule[i].monitoring_record[a].replacement_rate
  1608. SchedualPatientsTable.zp.push(zp);
  1609. }
  1610. }
  1611. // 置换量(ml/h)
  1612. SchedualPatientsTable.zhp = [];
  1613. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1614. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1615. const zhp = {};
  1616. zhp["value"] =response.data.data.schedule[i].monitoring_record[a].displacement_quantity
  1617. SchedualPatientsTable.zhp.push(zhp);
  1618. }
  1619. }
  1620. // SpO₂
  1621. SchedualPatientsTable.sp = [];
  1622. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1623. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1624. const sp = {};
  1625. sp["value"] =response.data.data.schedule[i].monitoring_record[a].blood_oxygen_saturation
  1626. SchedualPatientsTable.sp.push(sp);
  1627. }
  1628. }
  1629. // 电导度(mS/m)
  1630. SchedualPatientsTable.ddp = [];
  1631. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1632. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1633. const ddp = {};
  1634. ddp["value"] =response.data.data.schedule[i].monitoring_record[a].conductivity
  1635. SchedualPatientsTable.ddp.push(ddp);
  1636. }
  1637. }
  1638. //置换液流量(ml/h)
  1639. SchedualPatientsTable.zhyp = [];
  1640. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1641. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1642. const zhyp = {};
  1643. zhyp["value"] =response.data.data.schedule[i].monitoring_record[a].displacement_flow_quantity
  1644. SchedualPatientsTable.zhyp.push(zhyp);
  1645. }
  1646. }
  1647. // 透析液流量(ml/h)
  1648. SchedualPatientsTable.tcyp = [];
  1649. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1650. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1651. const tcyp = {};
  1652. tcyp["value"] =response.data.data.schedule[i].monitoring_record[a].dialysate_flow
  1653. SchedualPatientsTable.tcyp.push(tcyp);
  1654. }
  1655. }
  1656. // 肝素用量余量
  1657. SchedualPatientsTable.gsyp = [];
  1658. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1659. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1660. const gsyp = {};
  1661. gsyp["value"] =response.data.data.schedule[i].monitoring_record[a].heparin
  1662. SchedualPatientsTable.gsyp.push(gsyp);
  1663. }
  1664. }
  1665. // 肝素量(mg)
  1666. SchedualPatientsTable.gsp = [];
  1667. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1668. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1669. const gsp = {};
  1670. gsp["value"] =response.data.data.schedule[i].monitoring_record[a].heparin_amount
  1671. SchedualPatientsTable.gsp.push(gsp);
  1672. }
  1673. }
  1674. // 血压监测部位
  1675. SchedualPatientsTable.xyjcp = [];
  1676. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1677. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1678. const xyjcp = {};
  1679. xyjcp["value"] = this.getBloodPressure(response.data.data.schedule[i].monitoring_record[a].blood_pressure_monitoring_site)
  1680. SchedualPatientsTable.xyjcp.push(xyjcp);
  1681. }
  1682. }
  1683. // 并发症
  1684. SchedualPatientsTable.bfp = [];
  1685. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1686. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1687. const bfp = {};
  1688. bfp["value"] = this.getComplication(response.data.data.schedule[i].monitoring_record[a].complication)
  1689. SchedualPatientsTable.bfp.push(bfp);
  1690. }
  1691. }
  1692. // 累计血容量
  1693. SchedualPatientsTable.ljxrp = [];
  1694. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1695. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1696. const ljxrp = {};
  1697. ljxrp["value"] = response.data.data.schedule[i].monitoring_record[a].accumulated_blood_volume
  1698. SchedualPatientsTable.ljxrp.push(ljxrp);
  1699. }
  1700. }
  1701. // 血容量
  1702. SchedualPatientsTable.xrp = [];
  1703. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1704. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1705. const xrp = {};
  1706. xrp["value"] = response.data.data.schedule[i].monitoring_record[a].accumulated_blood_volume
  1707. SchedualPatientsTable.xrp.push(xrp);
  1708. }
  1709. }
  1710. // 血温监测
  1711. SchedualPatientsTable.xwp = [];
  1712. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1713. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1714. const xwp = {};
  1715. xwp["value"] = response.data.data.schedule[i].monitoring_record[a].blood_temperature
  1716. SchedualPatientsTable.xwp.push(xwp);
  1717. }
  1718. }
  1719. //尿素监测
  1720. SchedualPatientsTable.nxp = [];
  1721. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1722. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1723. const nxp = {};
  1724. nxp["value"] = response.data.data.schedule[i].monitoring_record[a].urea_monitoring
  1725. SchedualPatientsTable.nxp.push(nxp);
  1726. }
  1727. }
  1728. // 血压监测
  1729. SchedualPatientsTable.xyjc = [];
  1730. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1731. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1732. const xyjc = {};
  1733. xyjc["value"] = response.data.data.schedule[i].monitoring_record[a].blood_monitor
  1734. SchedualPatientsTable.xyjc.push(xyjc);
  1735. }
  1736. }
  1737. // 脱水(L)
  1738. SchedualPatientsTable.tshp = [];
  1739. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1740. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1741. const tshp = {};
  1742. tshp["value"] = response.data.data.schedule[i].monitoring_record[a].dehydration
  1743. SchedualPatientsTable.tshp.push(tshp);
  1744. }
  1745. }
  1746. // KT/V
  1747. SchedualPatientsTable.ktvp = [];
  1748. if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
  1749. for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
  1750. const ktvp = {};
  1751. ktvp["value"] = response.data.data.schedule[i].monitoring_record[a].ktv
  1752. SchedualPatientsTable.ktvp.push(ktvp);
  1753. }
  1754. }
  1755. this.SchedualPatientsTableData.push(SchedualPatientsTable);
  1756. // console.log("wode数据",(-100).toString())
  1757. // console.log("数据哦哦😯噢232o",this.SchedualPatientsTableData)
  1758. }
  1759. }
  1760. }
  1761. });
  1762. },
  1763. isShow(name) {
  1764. var filedList = store.getters.xt_user.fileds;
  1765. for (let i = 0; i < filedList.length; i++) {
  1766. if (
  1767. filedList[i].module == 4 &&
  1768. filedList[i].filed_name_cn == name &&
  1769. filedList[i].is_show == 1
  1770. ) {
  1771. return true;
  1772. }
  1773. }
  1774. return false;
  1775. },
  1776. cellStyle({ row, column, rowIndex, columnIndex }) {
  1777. let arr = [9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36];
  1778. if (arr.indexOf(columnIndex) > -1) {
  1779. return "spanClass";
  1780. }
  1781. },
  1782. getTimeOne(val) {
  1783. if(val < 0){
  1784. return ""
  1785. }
  1786. if(val == ""){
  1787. return ""
  1788. }else {
  1789. return uParseTime(val, '{h}:{i}')
  1790. }
  1791. },
  1792. getBloodPressure(id) {
  1793. var name = "";
  1794. for (let i = 0; i < this.bloodPressureMmonitoringSite.length; i++) {
  1795. if (id == this.bloodPressureMmonitoringSite[i].id) {
  1796. name = this.bloodPressureMmonitoringSite[i].name;
  1797. }
  1798. }
  1799. return name;
  1800. },
  1801. getComplication(id) {
  1802. var name = "";
  1803. for (let i = 0; i < this.complicationList.length; i++) {
  1804. if (id == this.complicationList[i].id) {
  1805. name = this.complicationList[i].name;
  1806. }
  1807. }
  1808. return name;
  1809. },
  1810. getValue: function(val) {
  1811. if (val != undefined) {
  1812. var str = val.value.split("/")
  1813. return str[0];
  1814. } else {
  1815. return "";
  1816. }
  1817. },
  1818. getValueOne: function(val) {
  1819. if (val != undefined) {
  1820. var str = val.value.split("/")
  1821. return str[1];
  1822. } else {
  1823. return "";
  1824. }
  1825. },
  1826. handleCurrentChange(val) {
  1827. this.listQuery.page = val;
  1828. this.getSchedualPatientList();
  1829. },
  1830. changeSearchMode: function() {
  1831. if (this.search_mode == 1) {
  1832. this.search_mode = 2;
  1833. } else {
  1834. this.search_mode = 1;
  1835. var date = new Date();
  1836. this.time = date;
  1837. var year = date.getFullYear();
  1838. var month = date.getMonth() + 1;
  1839. var day = date.getDate();
  1840. if (month < 10) {
  1841. month = "0" + month;
  1842. }
  1843. if (day < 10) {
  1844. day = "0" + day;
  1845. }
  1846. var nowDate = year + "-" + month + "-" + day;
  1847. var date = new Date(nowDate + " 00:00:00");
  1848. this.listQuery.schedul_time = date.getTime();
  1849. this.getAllZone();
  1850. this.getSchedualPatientList();
  1851. this.getTemplateInfo();
  1852. }
  1853. this.$store.dispatch('SetSearchMode', this.search_mode)
  1854. },
  1855. searchPatientAction: function() {
  1856. this.listQuery.keywords = this.patient_search_keyword;
  1857. this.$store.dispatch('SetSearchValue', this.patient_search_keyword)
  1858. console.log(this.patient_search_keyword);
  1859. if (this.patient_search_keyword.length == 0) {
  1860. return;
  1861. }
  1862. this.getSchedualPatientList();
  1863. },
  1864. handleSizeChange(val) {
  1865. this.listQuery.limit = val;
  1866. this.getSchedualPatientList();
  1867. },
  1868. batchPrintAction: function() {
  1869. if (this.selecting_schs.length === 0) {
  1870. this.$message.error("请至少选择一条需要打印的内容");
  1871. return false;
  1872. }
  1873. // 模板ID为6
  1874. var sch_ids = [];
  1875. for (let index = 0; index < this.selecting_schs.length; index++) {
  1876. sch_ids.push(this.selecting_schs[index].sch_id);
  1877. }
  1878. console.log("sch_ids",sch_ids)
  1879. this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
  1880. if (this.template_id == 2 || this.template_id == 0) {
  1881. this.$router.push({ path: "/dialysis/print/batch/other" });
  1882. } else if (this.template_id == 1) {
  1883. this.$router.push({ path: "/dialysis/print/batch" });
  1884. } else if (this.template_id == 3) {
  1885. this.$router.push({ path: "/dialysis/print/batch/three" });
  1886. } else if (this.template_id == 4) {
  1887. this.$router.push({ path: "/dialysis/print/batch/four" });
  1888. } else if (this.template_id == 5) {
  1889. this.$router.push({ path: "/dialysis/print/batch/five" });
  1890. } else if (this.template_id == 6) {
  1891. this.$router.push({ path: "/dialysis/print/batch/six" });
  1892. } else if (this.template_id == 7) {
  1893. this.$router.push({ path: "/dialysis/print/batch/seven" });
  1894. } else if (this.template_id == 8) {
  1895. this.$router.push({ path: "/dialysis/print/batch/eight" });
  1896. } else if (this.template_id == 9) {
  1897. this.$router.push({ path: "/dialysis/print/batch/nine" });
  1898. }else if (this.template_id == 11) {
  1899. this.$router.push({ path: "/dialysis/print/batch/Eleven" });
  1900. } else if (this.template_id == 12) {
  1901. this.$router.push({ path: "/dialysis/print/batch/twelve" });
  1902. } else if (this.template_id == 13) {
  1903. this.$router.push({ path: "/dialysis/print/batch/thirteen" });
  1904. } else if (this.template_id == 15) {
  1905. this.$router.push({ path: "/dialysis/print/batch/fifteen" });
  1906. } else if (this.template_id == 17) {
  1907. this.$router.push({ path: "/dialysis/print/batch/seventeen" });
  1908. } else if (this.template_id == 20) {
  1909. this.$router.push({ path: "/dialysis/print/batch/twenty" });
  1910. } else if (this.template_id == 22) {
  1911. this.$router.push({ path: "/dialysis/print/batch/twentyTwo" });
  1912. } else if (this.template_id == 25) {
  1913. this.$router.push({ path: "/dialysis/print/batch/twentyFive" });
  1914. }else if (this.template_id == 27) {
  1915. this.$router.push({ path: "/dialysis/print/batch/twentySeven" });
  1916. } else if(this.template_id == 28){
  1917. this.$router.push({path:"/dialysis/print/batch/twentyEight"})
  1918. } else if (this.template_id == 30) {
  1919. this.$router.push({ path: "/dialysis/print/batch/thirty" });
  1920. } else if (this.template_id == 32) {
  1921. this.$router.push({ path: "/dialysis/print/batch/thirtyTwo" });
  1922. } else if (this.template_id == 33) {
  1923. this.$router.push({ path: "/dialysis/print/batch/thirtyThree" });
  1924. } else if (this.template_id == 37) {
  1925. this.$router.push({ path: "/dialysis/print/batch/thirtySeven" });
  1926. } else if (this.template_id == 38) {
  1927. this.$router.push({ path: "/dialysis/print/batch/thirtyEight" });
  1928. } else if (this.template_id == 39) {
  1929. this.$router.push({ path: "/dialysis/print/batch/thirtyNine" });
  1930. } else if (this.template_id == 40) {
  1931. this.$router.push({ path: "/dialysis/print/batch/forty" });
  1932. } else if (this.template_id == 41) {
  1933. this.$router.push({ path: "/dialysis/print/batch/fortyOne" });
  1934. } else if (this.template_id == 43) {
  1935. this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
  1936. } else if (this.template_id == 47 && this.org_id!=10318) {
  1937. this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
  1938. } else if (this.template_id == 48) {
  1939. this.$router.push({ path: "/dialysis/print/batch/six" });
  1940. }else if (this.template_id == 51) {
  1941. this.$router.push({ path: "/dialysis/print/batch/fiftyOne" });
  1942. }else if (this.template_id == 53) {
  1943. this.$router.push({ path: "/dialysis/print/batch/fiftyThree" });
  1944. }else if (this.template_id == 59) {
  1945. this.$router.push({ path: "/dialysis/print/batch/fiftynine" });
  1946. }else if (this.template_id == 60) {
  1947. this.$router.push({ path: "/dialysis/print/batch/sixty" });
  1948. }else if (this.template_id == 61) {
  1949. this.$router.push({ path: "/dialysis/print/batch/sixtyOne" });
  1950. }else if (this.template_id == 62) {
  1951. this.$router.push({ path: "/dialysis/print/batch/sixtyTwo" });
  1952. }else if (this.template_id == 65) {
  1953. this.$router.push({ path: "/dialysis/print/batch/sixtyFive" });
  1954. }
  1955. },
  1956. batchPrintActionOne: function() {
  1957. if (this.selecting_schs.length === 0) {
  1958. this.$message.error("请至少选择一条需要打印的内容");
  1959. return false;
  1960. }
  1961. var sch_ids = [];
  1962. for (let index = 0; index < this.selecting_schs.length; index++) {
  1963. sch_ids.push(this.selecting_schs[index].sch_id);
  1964. }
  1965. this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
  1966. if (this.template_id == 2 || this.template_id == 0) {
  1967. this.$router.push({ path: "/dialysis/print/batch/otherone" });
  1968. } else if (this.template_id == 1) {
  1969. this.$router.push({ path: "/dialysis/print/batch" });
  1970. } else if (this.template_id == 5) {
  1971. this.$router.push({ path: "/dialysis/print/batch/fiveone" });
  1972. } else if (this.template_id == 22) {
  1973. this.$router.push({ path: "/dialysis/print/batch/twentyTwo_one" });
  1974. } else if(this.template_id == 33){
  1975. this.$router.push({ path: "/dialysis/print/batch/thirtyThree_one" });
  1976. }
  1977. },
  1978. batchPrintActionTwo: function() {
  1979. if (this.selecting_schs.length === 0) {
  1980. this.$message.error("请至少选择一条需要打印的内容");
  1981. return false;
  1982. }
  1983. var sch_ids = [];
  1984. for (let index = 0; index < this.selecting_schs.length; index++) {
  1985. sch_ids.push(this.selecting_schs[index].sch_id);
  1986. }
  1987. this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
  1988. if (this.template_id == 2 || this.template_id == 0) {
  1989. this.$router.push({ path: "/dialysis/print/batch/othertwo" });
  1990. } else if (this.template_id == 1) {
  1991. this.$router.push({ path: "/dialysis/print/batch" });
  1992. } else if (this.template_id == 5) {
  1993. this.$router.push({ path: "/dialysis/print/batch/fivetwo" });
  1994. } else if (this.template_id == 22) {
  1995. this.$router.push({ path: "/dialysis/print/batch/twentyTwo_two" });
  1996. } else if (this.template_id == 33) {
  1997. this.$router.push({ path: "/dialysis/print/batch/thirtyThree_two" });
  1998. }
  1999. }
  2000. },
  2001. components: {
  2002. BreadCrumb
  2003. }
  2004. };
  2005. </script>
  2006. <style rel="stylesheet/scss" lang="scss" scoped>
  2007. .app-container {
  2008. // margin: 20px;
  2009. font-size: 15px;
  2010. .filter-container {
  2011. padding-bottom: 5px;
  2012. }
  2013. .cqd-dataTitle {
  2014. color: #303133;
  2015. font-size: 14px;
  2016. border-bottom: 2px #e4e7ed solid;
  2017. height: 36px;
  2018. line-height: 36px;
  2019. margin: 0 0 25px 0;
  2020. position: relative;
  2021. }
  2022. .cqd-dataTitle::before {
  2023. position: absolute;
  2024. left: 0;
  2025. bottom: -2px;
  2026. content: "";
  2027. width: 42px;
  2028. height: 2px;
  2029. background: #409eff;
  2030. }
  2031. .search-component {
  2032. width: 500px;
  2033. .searchBox {
  2034. width: 300px;
  2035. height: 36px;
  2036. line-height: 36px;
  2037. padding-left: 15px;
  2038. border: 1px #dcdfe6 solid;
  2039. border-right: none;
  2040. outline: none;
  2041. float: left;
  2042. border-radius: 6px 0 0 6px;
  2043. font-size: 14px;
  2044. color: #333;
  2045. background: #fff;
  2046. box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
  2047. }
  2048. .searchBtn {
  2049. background-color: #409eff;
  2050. color: #fff;
  2051. font-size: 15px;
  2052. text-align: center;
  2053. height: 36px;
  2054. line-height: 36px;
  2055. float: left;
  2056. outline: none;
  2057. width: 70px;
  2058. border: none;
  2059. border-radius: 0 6px 6px 0;
  2060. font-family: "Microsoft Yahei";
  2061. cursor: pointer;
  2062. }
  2063. }
  2064. .amount {
  2065. font-weight: normal;
  2066. padding: 10px 0 0 0;
  2067. color: #606266;
  2068. font-size: 14px;
  2069. span {
  2070. color: #ef2525;
  2071. font-family: "Arial";
  2072. padding: 0 2px;
  2073. }
  2074. }
  2075. }
  2076. .el-table td,
  2077. .el-table th.is-leaf,
  2078. .el-table--border,
  2079. .el-table--group {
  2080. border-color: #d0d3da;
  2081. }
  2082. .el-table--border::after,
  2083. .el-table--group::after,
  2084. .el-table::before {
  2085. background-color: #d0d3da;
  2086. }
  2087. .el-checkbox__inner::after {
  2088. height: 10px;
  2089. left: 7px;
  2090. }
  2091. .el-checkbox__inner {
  2092. width: 20px;
  2093. height: 20px;
  2094. }
  2095. </style>
  2096. <style scoped>
  2097. /* 合并表格线样式 */
  2098. .spanClass .cell {
  2099. padding: 0 !important;
  2100. }
  2101. .spanClass .cell tr {
  2102. display: inline-block;
  2103. width: 100%;
  2104. }
  2105. .spanClass .cell tr td {
  2106. padding: 10px 0;
  2107. border-bottom: 1px solid #ebeef5;
  2108. display: block;
  2109. width: 100%;
  2110. }
  2111. .spanClass .cell tr:last-of-type td {
  2112. border-bottom: none;
  2113. }
  2114. </style>