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

monitor_dialog.vue 106KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085
  1. <template>
  2. <div class="dialog_box">
  3. <el-dialog
  4. title="透析监测"
  5. :visible.sync="visible"
  6. width="1100px"
  7. @close="reset"
  8. :modal-append-to-body="false"
  9. >
  10. <div v-show="edit == false">
  11. <div class="txsj">
  12. <el-button round :disabled="!is_has_create" @click="newRecordAction"
  13. >新增监测</el-button
  14. >
  15. <el-button
  16. round
  17. :disabled="!is_has_modify && !is_has_modify_other"
  18. @click="modifyRecordAction"
  19. >修改监测</el-button
  20. >
  21. <el-button
  22. round
  23. :disabled="!is_has_del && !is_has_del_other"
  24. @click="deleteRecordAction"
  25. >删除监测</el-button
  26. >
  27. </div>
  28. <el-table
  29. :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
  30. ref="table"
  31. :data="monitors"
  32. border
  33. highlight-current-row
  34. @current-change="tableCurrentRowChange"
  35. style="width: 100%"
  36. :class="current_row_class"
  37. >
  38. <el-table-column
  39. label="监测时间"
  40. align="center"
  41. width="144"
  42. v-if="isShow('监测时间')"
  43. >
  44. <template slot-scope="scope">
  45. {{ getMonitorDate(scope.row) }}
  46. </template>
  47. </el-table-column>
  48. <el-table-column
  49. prop="temperature"
  50. align="center"
  51. width="100"
  52. label="体温(℃)"
  53. v-if="isShow('体温')"
  54. >
  55. <template slot-scope="scope">
  56. {{ scope.row.temperature ? scope.row.temperature : "" }}
  57. </template>
  58. </el-table-column>
  59. <el-table-column
  60. align="center"
  61. label="血压(mmHg)"
  62. width="110"
  63. v-if="isShow('血压')"
  64. >
  65. <template slot-scope="scope">
  66. {{
  67. scope.row.systolic_blood_pressure
  68. ? scope.row.systolic_blood_pressure
  69. : ""
  70. }}/{{
  71. scope.row.diastolic_blood_pressure
  72. ? scope.row.diastolic_blood_pressure
  73. : ""
  74. }}
  75. </template>
  76. </el-table-column>
  77. <el-table-column
  78. align="center"
  79. label="拒测血压"
  80. width="110"
  81. v-if="isShow('拒测血压')"
  82. >
  83. <template slot-scope="scope">
  84. {{
  85. scope.row.is_pressure
  86. ? scope.row.is_pressure
  87. : ""
  88. }}
  89. </template>
  90. </el-table-column>
  91. <el-table-column
  92. prop="pulse_frequency"
  93. align="center"
  94. width="100"
  95. label="脉搏(次/分)"
  96. v-if="isShow('脉搏')"
  97. >
  98. <template slot-scope="scope">
  99. {{ scope.row.pulse_frequency ? scope.row.pulse_frequency : "" }}
  100. </template>
  101. </el-table-column>
  102. <el-table-column
  103. prop="breathing_rate"
  104. align="center"
  105. label="呼吸频率(次/分)"
  106. width="100"
  107. v-if="isShow('呼吸频率')"
  108. >
  109. <template slot-scope="scope">
  110. {{ scope.row.breathing_rate ? scope.row.breathing_rate : "" }}
  111. </template>
  112. </el-table-column>
  113. <el-table-column
  114. v-if="monitors[0] && monitors[0]['venous_pressure_type'] == 2"
  115. prop="venous_pressure"
  116. align="center"
  117. label="静脉压/动脉压(kpa)"
  118. width="120"
  119. >
  120. <template slot-scope="scope">
  121. <span
  122. >{{
  123. scope.row.venous_pressure ? scope.row.venous_pressure : ""
  124. }}/
  125. {{
  126. scope.row.arterial_pressure ? scope.row.arterial_pressure : ""
  127. }}</span
  128. >
  129. </template>
  130. </el-table-column>
  131. <el-table-column
  132. v-else
  133. prop="venous_pressure"
  134. align="center"
  135. label="静脉压/动脉压(mmHg)"
  136. width="120"
  137. >
  138. <template slot-scope="scope">
  139. <span
  140. >{{
  141. scope.row.venous_pressure ? scope.row.venous_pressure : ""
  142. }}/
  143. {{
  144. scope.row.arterial_pressure ? scope.row.arterial_pressure : ""
  145. }}</span
  146. >
  147. </template>
  148. </el-table-column>
  149. <el-table-column
  150. prop="blood_flow_volume"
  151. align="center"
  152. label="血流量(ml/min)"
  153. width="120"
  154. v-if="isShow('血流量')"
  155. >
  156. <template slot-scope="scope">
  157. {{
  158. scope.row.blood_flow_volume ? scope.row.blood_flow_volume : ""
  159. }}
  160. </template>
  161. </el-table-column>
  162. <el-table-column
  163. prop="transmembrane_pressure"
  164. align="center"
  165. label="跨膜压(kpa)"
  166. width="120"
  167. v-if="
  168. isShow('跨膜压') &&
  169. monitors[0] &&
  170. monitors[0]['transmembrane_pressure_type'] == 2
  171. "
  172. >
  173. <template slot-scope="scope">
  174. {{
  175. scope.row.transmembrane_pressure
  176. ? scope.row.transmembrane_pressure
  177. : "/"
  178. }}
  179. </template>
  180. </el-table-column>
  181. <el-table-column
  182. prop="transmembrane_pressure"
  183. align="center"
  184. label="跨膜压(mmHg)"
  185. width="120"
  186. v-if="
  187. isShow('跨膜压') &&
  188. monitors[0] &&
  189. monitors[0]['transmembrane_pressure_type'] != 2
  190. "
  191. >
  192. <template slot-scope="scope">
  193. {{
  194. scope.row.transmembrane_pressure
  195. ? scope.row.transmembrane_pressure
  196. : "/"
  197. }}
  198. </template>
  199. </el-table-column>
  200. <el-table-column
  201. prop="ultrafiltration_volume"
  202. align="center"
  203. label="超滤量(ml)"
  204. width="110"
  205. v-if="
  206. isShow('超滤量') &&
  207. (template_id == 6 ||
  208. template_id == 9 ||
  209. template_id == 10 ||
  210. template_id == 11 ||
  211. template_id == 12 ||
  212. template_id == 13 ||
  213. template_id == 17 ||
  214. template_id == 18 ||
  215. template_id == 19 ||
  216. template_id == 20 ||
  217. template_id == 21 ||
  218. template_id == 22 ||
  219. template_id == 23 ||
  220. template_id == 24 ||
  221. template_id == 26 ||
  222. template_id == 27 ||
  223. template_id == 29 ||
  224. template_id == 30 ||
  225. template_id == 31 ||
  226. template_id == 32 ||
  227. template_id == 34 ||
  228. template_id == 35 ||
  229. template_id == 36 ||
  230. template_id == 38 ||
  231. template_id == 39 ||
  232. template_id == 40 ||
  233. template_id == 41 ||
  234. template_id == 43 ||
  235. template_id == 44 ||
  236. template_id == 46 ||
  237. template_id == 47 ||
  238. template_id == 48 ||
  239. template_id == 51 ||
  240. template_id == 53 ||
  241. template_id == 54 ||
  242. template_id == 56 ||
  243. template_id == 60 ||
  244. template_id == 65 ||
  245. org_id == 10210 ||
  246. org_id == 9555
  247. || org_id == 10432
  248. || org_id == 10445
  249. || org_id == 10410 ||
  250. org_id == 10495 ||
  251. org_id == 10375 ||
  252. org_id == 10485 ||
  253. org_id == 10375 ||
  254. org_id == 10480 ||
  255. org_id == 10551) &&
  256. org_id!=10387
  257. "
  258. >
  259. <template slot-scope="scope">
  260. <span v-if="org_id == 10440 || org_id == 9671 || org_id ==10206">
  261. {{
  262. scope.row.ultrafiltration_volume
  263. ? scope.row.ultrafiltration_volume
  264. : "0"
  265. }}
  266. </span>
  267. <span v-if="org_id != 10440 && org_id!=9671 && org_id!=10206">
  268. {{
  269. scope.row.ultrafiltration_volume
  270. ? scope.row.ultrafiltration_volume
  271. : ""
  272. }}
  273. </span>
  274. </template>
  275. </el-table-column>
  276. <el-table-column
  277. prop="ultrafiltration_volume"
  278. align="center"
  279. label="超滤量(L)"
  280. width="110"
  281. v-if="
  282. isShow('超滤量') &&
  283. (template_id != 6 &&
  284. template_id != 9 &&
  285. template_id != 10 &&
  286. template_id != 11 &&
  287. template_id != 12 &&
  288. template_id != 13 &&
  289. template_id != 17 &&
  290. template_id != 18 &&
  291. template_id != 19 &&
  292. template_id != 20 &&
  293. template_id != 21 &&
  294. template_id != 22 &&
  295. template_id != 23 &&
  296. template_id != 24 &&
  297. template_id != 26 &&
  298. template_id != 27 &&
  299. template_id != 29 &&
  300. template_id != 30 &&
  301. template_id != 31 &&
  302. template_id != 32 &&
  303. template_id != 34 &&
  304. template_id != 35 &&
  305. template_id != 36 &&
  306. template_id != 38 &&
  307. template_id != 39 &&
  308. template_id != 40 &&
  309. template_id != 41 &&
  310. template_id != 43 &&
  311. template_id != 44 &&
  312. template_id != 46 &&
  313. template_id != 47 &&
  314. template_id != 48 &&
  315. template_id != 51 &&
  316. template_id != 53 &&
  317. template_id != 54 &&
  318. template_id != 56 &&
  319. template_id != 60 &&
  320. template_id != 65 &&
  321. org_id!= 10210 &&
  322. org_id != 9555
  323. && org_id!=10432 && org_id!=10445
  324. && org_id!=10410 && org_id!=10495 &&
  325. org_id!=10485 && org_id!=10395 && org_id!=10375
  326. && org_id!=10480 && org_id!=10551 )
  327. || org_id == 10387
  328. "
  329. >
  330. <template slot-scope="scope">
  331. {{
  332. scope.row.ultrafiltration_volume
  333. ? scope.row.ultrafiltration_volume
  334. : ""
  335. }}
  336. </template>
  337. </el-table-column>
  338. <el-table-column
  339. prop="displacement_flow_quantity"
  340. align="center"
  341. label="超滤率(ml/h)"
  342. width="100"
  343. v-if="
  344. isShow('超滤率') &&
  345. (template_id == 6 ||
  346. template_id == 10 ||
  347. template_id == 11 ||
  348. template_id == 12 ||
  349. template_id == 13 ||
  350. template_id == 17 ||
  351. template_id == 18 ||
  352. template_id == 19 ||
  353. template_id == 20 ||
  354. template_id == 21 ||
  355. template_id == 22 ||
  356. template_id == 23 ||
  357. template_id == 24 ||
  358. template_id == 26 ||
  359. template_id == 29 ||
  360. template_id == 30 ||
  361. template_id == 31 ||
  362. template_id == 34 ||
  363. template_id == 35 ||
  364. template_id == 38 ||
  365. template_id == 41 ||
  366. template_id == 43 ||
  367. template_id == 44 ||
  368. template_id == 46 ||
  369. template_id == 48 ||
  370. template_id == 53 ||
  371. template_id == 54 ||
  372. template_id == 56 ||
  373. template_id == 47 ||
  374. template_id == 60 ||
  375. template_id == 65 ||
  376. org_id == 10432 ||
  377. org_id == 10445 ||
  378. org_id == 10410 ||
  379. org_id == 10495 ||
  380. org_id == 10395
  381. || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551)
  382. && org_id!=10387
  383. "
  384. >
  385. <template slot-scope="scope">
  386. {{
  387. scope.row.ultrafiltration_rate
  388. ? scope.row.ultrafiltration_rate
  389. : ""
  390. }}
  391. </template>
  392. </el-table-column>
  393. <el-table-column
  394. prop="displacement_flow_quantity"
  395. align="center"
  396. label="超滤率(L/h)"
  397. width="100"
  398. v-if="
  399. isShow('超滤率') &&
  400. (template_id != 6 &&
  401. template_id != 10 &&
  402. template_id != 11 &&
  403. template_id != 12 &&
  404. template_id != 13 &&
  405. template_id != 17 &&
  406. template_id != 18 &&
  407. template_id != 19 &&
  408. template_id != 20 &&
  409. template_id != 21 &&
  410. template_id != 22 &&
  411. template_id != 23 &&
  412. template_id != 24 &&
  413. template_id != 26 &&
  414. template_id != 29 &&
  415. template_id != 30 &&
  416. template_id != 31 &&
  417. template_id != 34 &&
  418. template_id != 35 &&
  419. template_id != 38 &&
  420. template_id != 41 &&
  421. template_id != 43 &&
  422. template_id != 44 &&
  423. template_id != 46 &&
  424. template_id != 53 &&
  425. template_id != 54 &&
  426. template_id != 56 &&
  427. template_id != 48 &&
  428. template_id != 47 &&
  429. template_id != 60 &&
  430. template_id != 65 &&
  431. org_id!=10432 &&
  432. org_id!=10445 &&
  433. org_id!=10410 && org_id!=10495
  434. && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551) ||
  435. org_id == 10387
  436. "
  437. >
  438. <template slot-scope="scope">
  439. {{
  440. scope.row.ultrafiltration_rate
  441. ? scope.row.ultrafiltration_rate
  442. : ""
  443. }}
  444. </template>
  445. </el-table-column>
  446. <el-table-column
  447. prop="sodium_concentration"
  448. align="center"
  449. label="钠浓度(mmol/L)"
  450. width="126"
  451. v-if="isShow('钠浓度')"
  452. >
  453. <template slot-scope="scope">
  454. {{
  455. scope.row.sodium_concentration
  456. ? scope.row.sodium_concentration
  457. : ""
  458. }}
  459. </template>
  460. </el-table-column>
  461. <el-table-column
  462. prop="dialysate_temperature"
  463. align="center"
  464. label="透析液温度(℃)"
  465. width="120"
  466. v-if="isShow('透析液温度')"
  467. >
  468. <template slot-scope="scope">
  469. {{
  470. scope.row.dialysate_temperature
  471. ? scope.row.dialysate_temperature
  472. : ""
  473. }}
  474. </template>
  475. </el-table-column>
  476. <el-table-column
  477. prop="replacement_rate"
  478. align="center"
  479. label="置换率(ml/min)"
  480. width="120"
  481. v-if="
  482. isShow('置换率') &&
  483. (template_id == 6 ||
  484. template_id == 10 ||
  485. template_id == 11 ||
  486. template_id == 20 ||
  487. template_id == 26 ||
  488. template_id == 29 ||
  489. template_id == 48 ||
  490. template_id == 53 ||
  491. template_id == 54 ||
  492. template_id == 56 ||
  493. org_id ==10432 ||
  494. org_id ==10445 ||
  495. org_id ==10410 ||
  496. org_id == 10395
  497. )
  498. "
  499. >
  500. <template slot-scope="scope">
  501. {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
  502. </template>
  503. </el-table-column>
  504. <el-table-column
  505. prop="replacement_rate"
  506. align="center"
  507. label="置换率(L/h)"
  508. width="120"
  509. v-if="
  510. isShow('置换率') &&
  511. template_id != 6 &&
  512. template_id != 10 &&
  513. template_id != 11 &&
  514. template_id != 20 &&
  515. template_id != 26 &&
  516. template_id != 29 &&
  517. template_id != 48 &&
  518. template_id != 53 &&
  519. template_id != 54 &&
  520. template_id != 56 &&
  521. org_id !=10432 &&
  522. org_id !=10445 &&
  523. org_id!=10395 &&
  524. org_id !=10410
  525. "
  526. >
  527. <template slot-scope="scope">
  528. {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
  529. </template>
  530. </el-table-column>
  531. <el-table-column
  532. prop="displacement_quantity"
  533. align="center"
  534. label="置换量(ml/h)"
  535. width="100"
  536. v-if="isShow('置换量') && (template_id == 43 || template_id == 48)"
  537. >
  538. <template slot-scope="scope">
  539. {{
  540. scope.row.displacement_quantity
  541. ? scope.row.displacement_quantity
  542. : ""
  543. }}
  544. </template>
  545. </el-table-column>
  546. <el-table-column
  547. prop="displacement_quantity"
  548. align="center"
  549. label="置换量(ml)"
  550. width="100"
  551. v-if="
  552. isShow('置换量') &&
  553. ((template_id == 6 &&
  554. org_id != 9919 &&
  555. org_id != 10191 &&
  556. org_id!=10478 &&
  557. org_id!=10551 &&
  558. template_id != 43 &&
  559. template_id != 47 &&
  560. org_id!=10558) ||
  561. org_id == 9779 ||
  562. template_id == 11 ||
  563. template_id == 20 ||
  564. template_id == 26 ||
  565. template_id == 29 ||
  566. template_id == 53 ||
  567. template_id == 54 ||
  568. template_id == 56 ||
  569. template_id == 48 ||
  570. org_id == 10340 ||
  571. org_id == 10432 ||
  572. org_id == 10445 ||
  573. org_id == 10395)
  574. "
  575. >
  576. <template slot-scope="scope">
  577. {{
  578. scope.row.displacement_quantity
  579. ? scope.row.displacement_quantity
  580. : ""
  581. }}
  582. </template>
  583. </el-table-column>
  584. <el-table-column
  585. prop="displacement_quantity"
  586. align="center"
  587. label="置换量(L)"
  588. width="100"
  589. v-if="
  590. isShow('置换量') &&
  591. (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558) &&
  592. template_id != 9779 &&
  593. template_id != 11 &&
  594. template_id != 20 &&
  595. template_id != 26 &&
  596. template_id != 29 &&
  597. template_id != 43 &&
  598. template_id != 53 &&
  599. template_id != 54 &&
  600. template_id != 56 &&
  601. template_id != 48 &&
  602. org_id !=10340 &&
  603. org_id !=10432 &&
  604. org_id !=10445 &&
  605. org_id!=10395
  606. "
  607. >
  608. <template slot-scope="scope">
  609. {{
  610. scope.row.displacement_quantity
  611. ? scope.row.displacement_quantity
  612. : ""
  613. }}
  614. </template>
  615. </el-table-column>
  616. <el-table-column
  617. prop="displacement_quantity"
  618. align="center"
  619. label="SpO₂(%)"
  620. width="100"
  621. v-if="
  622. isShow('SpO₂') &&
  623. template_id != 6 &&
  624. template_id != 10 &&
  625. template_id != 11
  626. "
  627. >
  628. <template slot-scope="scope">
  629. {{
  630. scope.row.blood_oxygen_saturation
  631. ? scope.row.blood_oxygen_saturation
  632. : "/"
  633. }}
  634. </template>
  635. </el-table-column>
  636. <el-table-column
  637. prop="displacement_flow_quantity"
  638. align="center"
  639. label="电导度(mS/m)"
  640. width="100"
  641. v-if="isShow('电导度')"
  642. >
  643. <template slot-scope="scope">
  644. {{ scope.row.conductivity ? scope.row.conductivity : "" }}
  645. </template>
  646. </el-table-column>
  647. <el-table-column
  648. prop="displacement_flow_quantity"
  649. align="center"
  650. label="置换液流量(ml/h)"
  651. width="100"
  652. v-if="isShow('置换液流量') && template_id != 27"
  653. >
  654. <template slot-scope="scope">
  655. {{
  656. scope.row.displacement_flow_quantity
  657. ? scope.row.displacement_flow_quantity
  658. : ""
  659. }}
  660. </template>
  661. </el-table-column>
  662. <el-table-column
  663. prop="displacement_flow_quantity"
  664. align="center"
  665. label="置换液流量(ml/min)"
  666. width="100"
  667. v-if="isShow('置换液流量') && template_id == 27"
  668. >
  669. <template slot-scope="scope">
  670. {{
  671. scope.row.displacement_flow_quantity
  672. ? scope.row.displacement_flow_quantity
  673. : ""
  674. }}
  675. </template>
  676. </el-table-column>
  677. <el-table-column
  678. prop="displacement_flow_quantity"
  679. align="center"
  680. label="透析液流量(ml/h)"
  681. width="100"
  682. v-if="isShow('透析液流量')"
  683. >
  684. <template slot-scope="scope">
  685. {{ scope.row.dialysate_flow ? scope.row.dialysate_flow : "" }}
  686. </template>
  687. </el-table-column>
  688. <el-table-column
  689. prop="heparin"
  690. align="center"
  691. label="肝素用量余量(ml)"
  692. width="140"
  693. v-if="isShow('肝素用量余量')"
  694. >
  695. </el-table-column>
  696. <el-table-column
  697. prop="heparin_amount"
  698. align="center"
  699. label="肝素量(mg)"
  700. width="140"
  701. v-if="isShow('肝素量')"
  702. >
  703. </el-table-column>
  704. <el-table-column
  705. prop="heparin"
  706. align="center"
  707. label="抗凝剂"
  708. width="140"
  709. v-if="isShow('抗凝剂')"
  710. >
  711. <template slot-scope="scope">
  712. <span v-if="scope.row.monitor_anticoagulant == 1">无肝素</span>
  713. <span v-if="scope.row.monitor_anticoagulant == 2">普通肝素</span>
  714. <span v-if="scope.row.monitor_anticoagulant == 3"
  715. >低分子肝素</span
  716. >
  717. <span v-if="scope.row.monitor_anticoagulant == 4">阿加曲班</span>
  718. <span v-if="scope.row.monitor_anticoagulant == 5">枸橼酸钠</span>
  719. <span v-if="scope.row.monitor_anticoagulant == 6"
  720. >低分子肝素钙</span
  721. >
  722. <span v-if="scope.row.monitor_anticoagulant == 7"
  723. >低分子肝素钠</span
  724. >
  725. <span v-if="scope.row.monitor_anticoagulant == 8">依诺肝素</span>
  726. <span v-if="scope.row.monitor_anticoagulant == 9">达肝素</span>
  727. <span v-if="scope.row.monitor_anticoagulant == 12">无抗凝剂</span>
  728. <span v-if="scope.row.monitor_anticoagulant == 13">那屈肝素钙</span>
  729. <span v-if="scope.row.monitor_anticoagulant_value != ''"
  730. >({{
  731. scope.row.monitor_anticoagulant_value
  732. ? scope.row.monitor_anticoagulant_value
  733. : ""
  734. }})</span
  735. >
  736. </template>
  737. </el-table-column>
  738. <el-table-column
  739. prop="heparin"
  740. align="center"
  741. label="血压监测部位"
  742. width="140"
  743. v-if="isShow('血压监测部位')"
  744. >
  745. <template slot-scope="scope">
  746. {{ getBloodPressure(scope.row.blood_pressure_monitoring_site) }}
  747. </template>
  748. </el-table-column>
  749. <el-table-column
  750. prop="heparin"
  751. align="center"
  752. label="并发症"
  753. width="140"
  754. v-if="isShow('并发症')"
  755. >
  756. <template slot-scope="scope">
  757. {{ getComplication(scope.row.complication) }}
  758. </template>
  759. </el-table-column>
  760. <el-table-column
  761. prop="displacement_flow_quantity"
  762. align="center"
  763. label="累计血容量(ml)"
  764. width="100"
  765. v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671 && org_id != 10340 "
  766. >
  767. <template slot-scope="scope">
  768. {{ scope.row.accumulated_blood_volume }}
  769. </template>
  770. </el-table-column>
  771. <el-table-column
  772. prop="displacement_flow_quantity"
  773. align="center"
  774. label="累计血容量(L)"
  775. width="100"
  776. v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9538) && org_id!=10340 && org_id!=9671"
  777. >
  778. <template slot-scope="scope">
  779. {{ scope.row.accumulated_blood_volume }}
  780. </template>
  781. </el-table-column>
  782. <el-table-column
  783. prop="heparin"
  784. align="center"
  785. label="血容量(L)"
  786. width="140"
  787. v-if="isShow('血容量')"
  788. >
  789. <template slot-scope="scope">
  790. {{ scope.row.accumulated_blood_volume }}
  791. </template>
  792. </el-table-column>
  793. <el-table-column
  794. prop="heparin"
  795. align="center"
  796. label="血温监测"
  797. width="140"
  798. v-if="isShow('血温监测')"
  799. >
  800. <template slot-scope="scope">
  801. {{ scope.row.blood_temperature }}
  802. </template>
  803. </el-table-column>
  804. <el-table-column
  805. prop="heparin"
  806. align="center"
  807. label="尿素监测"
  808. width="140"
  809. v-if="isShow('尿素监测')"
  810. >
  811. <template slot-scope="scope">
  812. {{ scope.row.urea_monitoring }}
  813. </template>
  814. </el-table-column>
  815. <el-table-column
  816. prop="heparin"
  817. align="center"
  818. label="血浓量"
  819. width="140"
  820. v-if="isShow('血浓量')"
  821. >
  822. <template slot-scope="scope">
  823. {{ scope.row.blood_thickness }}
  824. </template>
  825. </el-table-column>
  826. <el-table-column
  827. prop="heparin"
  828. align="center"
  829. label="血压监测"
  830. width="140"
  831. v-if="isShow('血压监测')"
  832. >
  833. <template slot-scope="scope">
  834. {{ scope.row.blood_monitor }}
  835. </template>
  836. </el-table-column>
  837. <el-table-column
  838. prop="heparin"
  839. align="center"
  840. label="肝素量(mg)"
  841. width="140"
  842. v-if="isShow('肝素量')"
  843. >
  844. <template slot-scope="scope">
  845. {{ scope.row.heparin_amount }}
  846. </template>
  847. </el-table-column>
  848. <el-table-column
  849. prop="heparin"
  850. align="center"
  851. label="脱水(L)"
  852. width="140"
  853. v-if="isShow('脱水')"
  854. >
  855. <template slot-scope="scope">
  856. {{ scope.row.dehydration }}
  857. </template>
  858. </el-table-column>
  859. <el-table-column
  860. prop="heparin"
  861. align="center"
  862. label="置换液速度(ml/h)"
  863. width="140"
  864. v-if="isShow('置换液速度')"
  865. >
  866. <template slot-scope="scope">
  867. {{ scope.row.replacement_speed }}
  868. </template>
  869. </el-table-column>
  870. <el-table-column
  871. prop="heparin"
  872. align="center"
  873. label="碳酸氢钠用量(ml)"
  874. width="140"
  875. v-if="isShow('碳酸氢钠用量')"
  876. >
  877. <template slot-scope="scope">
  878. {{ scope.row.dicarbonate }}
  879. </template>
  880. </el-table-column>
  881. <el-table-column
  882. prop="heparin"
  883. align="center"
  884. label="滤前压(mmHg)"
  885. width="140"
  886. v-if="isShow('滤前压')"
  887. >
  888. <template slot-scope="scope">
  889. {{ scope.row.filter_pressure }}
  890. </template>
  891. </el-table-column>
  892. <el-table-column
  893. prop="heparin"
  894. align="center"
  895. label="KT/V"
  896. width="140"
  897. v-if="
  898. isShow('KT/V') &&
  899. (org_id == 9987 || org_id == 10215 || org_id == 9800 || org_id == 9598)
  900. "
  901. >
  902. <template slot-scope="scope">
  903. {{ scope.row.ktv ? scope.row.ktv : "" }}
  904. </template>
  905. </el-table-column>
  906. <el-table-column
  907. align="center"
  908. label="病情变化"
  909. width="130"
  910. v-if="isShow('病情变化')"
  911. >
  912. <template slot-scope="scope">
  913. {{scope.row.symptom}}
  914. <span v-if="(scope.$index == monitors.length - 1) && (org_id == 0 || org_id == 9671 || org_id == 10340)">累计血容量:{{scope.row.accumulated_blood_volume }}L</span>
  915. </template>
  916. </el-table-column>
  917. <el-table-column
  918. prop="dispose"
  919. align="center"
  920. label="处理"
  921. width="130"
  922. v-if="isShow('处理')"
  923. >
  924. </el-table-column>
  925. <el-table-column
  926. prop="result"
  927. align="center"
  928. label="结果"
  929. width="130"
  930. v-if="isShow('结果')"
  931. >
  932. </el-table-column>
  933. </el-table>
  934. </div>
  935. <!--<div v-show="edit">-->
  936. <el-form v-show="edit" ref="form" :model="form" label-width="130px">
  937. <el-row :gutter="20">
  938. <el-col :span="8" v-if="isShow('监测时间')">
  939. <el-form-item label="监测时间:" :prop="isName('监测时间')"
  940. :rules="isCheckmust('监测时间')">
  941. <!-- {{ monitor_date_str }}
  942. <el-time-picker v-model="form.monitoring_time" :clearable="false" arrow-control :picker-options="{format: 'HH:mm'}" prefix-icon="" value-format="HH:mm" style="width: 60%;">
  943. </el-time-picker> -->
  944. <el-date-picker
  945. v-model="form.operate_time"
  946. type="datetime"
  947. prefix-icon=""
  948. style="width: 100%"
  949. format="yyyy-MM-dd HH:mm"
  950. value-format="timestamp"
  951. ></el-date-picker>
  952. </el-form-item>
  953. </el-col>
  954. <el-col :span="8" v-if="isShow('体温')">
  955. <el-form-item label="体温(℃):" :prop="isName('体温')"
  956. :rules="isCheckmust('体温')">
  957. <el-input v-model="form.temperature"></el-input>
  958. </el-form-item>
  959. </el-col>
  960. <el-col :span="8" v-if="isShow('收缩压')">
  961. <el-form-item label="收缩压(mmHg):" :prop="isName('收缩压')"
  962. :rules="isCheckmust('收缩压')">
  963. <el-input v-model="form.systolic_bp"></el-input>
  964. </el-form-item>
  965. </el-col>
  966. <el-col :span="8" v-if="isShow('舒张压')">
  967. <el-form-item label="舒张压(mmHg):" :prop="isName('舒张压')"
  968. :rules="isCheckmust('舒张压')">
  969. <el-input v-model="form.diastolic_bp"></el-input>
  970. </el-form-item>
  971. </el-col>
  972. <el-col :span="8" v-if="isShow('脉搏')">
  973. <el-form-item label="脉搏(次/分):" :prop="isName('脉搏')"
  974. :rules="isCheckmust('脉搏')">
  975. <el-input v-model="form.pulse_frequency"></el-input>
  976. </el-form-item>
  977. </el-col>
  978. <el-col :span="8" v-if="isShow('呼吸频率')">
  979. <el-form-item label="呼吸频率(次/分):" :prop="isName('呼吸频率')"
  980. :rules="isCheckmust('呼吸频率')">
  981. <el-input v-model="form.breathing_rated"></el-input>
  982. </el-form-item>
  983. </el-col>
  984. <el-col :span="8" v-if="isShow('静脉压')">
  985. <el-form-item
  986. v-if="form.venous_pressure_type == 2"
  987. label="静脉压(kpa):"
  988. :prop="isName('静脉压')"
  989. :rules="isCheckmust('静脉压')"
  990. >
  991. <el-input
  992. style="width: 140px"
  993. v-model="form.venous_pressure"
  994. ></el-input>
  995. <el-button
  996. size="mini"
  997. type="primary"
  998. @click="venousPressureChangeOne"
  999. >切换</el-button
  1000. >
  1001. </el-form-item>
  1002. <el-form-item v-else label="静脉压(mmHg):" :prop="isName('静脉压')"
  1003. :rules="isCheckmust('静脉压')">
  1004. <el-input
  1005. style="width: 140px"
  1006. v-model="form.venous_pressure"
  1007. ></el-input>
  1008. <el-button
  1009. size="mini"
  1010. type="primary"
  1011. @click="venousPressureChangeOne"
  1012. >切换</el-button
  1013. >
  1014. </el-form-item>
  1015. </el-col>
  1016. <el-col :span="8" v-if="isShow('动脉压')">
  1017. <el-form-item
  1018. v-if="form.arterial_pressure_type == 2"
  1019. label="动脉压(kpa):"
  1020. :prop="isName('动脉压')"
  1021. :rules="isCheckmust('动脉压')"
  1022. >
  1023. <el-input
  1024. style="width: 140px"
  1025. v-model="form.arterial_pressure"
  1026. ></el-input>
  1027. <el-button
  1028. size="mini"
  1029. type="primary"
  1030. @click="venousPressureChangeThree"
  1031. >切换</el-button
  1032. >
  1033. </el-form-item>
  1034. <el-form-item v-else label="动脉压(mmHg):" :prop="isName('动脉压')"
  1035. :rules="isCheckmust('动脉压')">
  1036. <el-input
  1037. style="width: 140px"
  1038. v-model="form.arterial_pressure"
  1039. ></el-input>
  1040. <el-button
  1041. size="mini"
  1042. type="primary"
  1043. @click="venousPressureChangeThree"
  1044. >切换</el-button
  1045. >
  1046. </el-form-item>
  1047. </el-col>
  1048. <el-col :span="8" v-if="isShow('血流量')">
  1049. <el-form-item label="血流量(ml/min):" :prop="isName('血流量')"
  1050. :rules="isCheckmust('血流量')">
  1051. <el-input v-model="form.blood_flow_volume"></el-input>
  1052. </el-form-item>
  1053. </el-col>
  1054. <el-col :span="8" v-if="isShow('跨膜压')">
  1055. <el-form-item
  1056. v-if="form.transmembrane_pressure_type == 2"
  1057. label="跨膜压(kpa):"
  1058. :prop="isName('跨膜压')"
  1059. :rules="isCheckmust('跨膜压')"
  1060. >
  1061. <el-input
  1062. style="width: 140px"
  1063. v-model="form.transmembrane_pressure"
  1064. ></el-input>
  1065. <el-button
  1066. size="mini"
  1067. type="primary"
  1068. @click="venousPressureChangeTwo"
  1069. >切换</el-button
  1070. >
  1071. </el-form-item>
  1072. <el-form-item v-else label="跨膜压(mmHg):" :prop="isName('跨膜压')"
  1073. :rules="isCheckmust('跨膜压')">
  1074. <el-input
  1075. style="width: 140px"
  1076. v-model="form.transmembrane_pressure"
  1077. ></el-input>
  1078. <el-button
  1079. size="mini"
  1080. type="primary"
  1081. @click="venousPressureChangeTwo"
  1082. >切换</el-button
  1083. >
  1084. </el-form-item>
  1085. </el-col>
  1086. <el-col
  1087. :span="8"
  1088. v-if="
  1089. isShow('超滤率') &&
  1090. (template_id == 6 ||
  1091. template_id == 10 ||
  1092. template_id == 11 ||
  1093. template_id == 12 ||
  1094. template_id == 13 ||
  1095. template_id == 17 ||
  1096. template_id == 18 ||
  1097. template_id == 19 ||
  1098. template_id == 20 ||
  1099. template_id == 21 ||
  1100. template_id == 22 ||
  1101. template_id == 23 ||
  1102. template_id == 24 ||
  1103. template_id == 26 ||
  1104. template_id == 29 ||
  1105. template_id == 30 ||
  1106. template_id == 31 ||
  1107. template_id == 34 ||
  1108. template_id == 35 ||
  1109. template_id == 38 ||
  1110. template_id == 41 ||
  1111. template_id == 43 ||
  1112. template_id == 44 ||
  1113. template_id == 46 ||
  1114. template_id == 48 ||
  1115. template_id == 53 ||
  1116. template_id == 54 ||
  1117. template_id == 56 ||
  1118. template_id == 47 ||
  1119. template_id == 60 ||
  1120. template_id == 65 ||
  1121. org_id== 10432 ||
  1122. org_id== 10445 ||
  1123. org_id== 10410 ||
  1124. org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551) &&
  1125. org_id!=10387
  1126. "
  1127. >
  1128. <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
  1129. :rules="isCheckmust('超滤率')">
  1130. <el-input v-model="form.ultrafiltration_rate"></el-input>
  1131. </el-form-item>
  1132. </el-col>
  1133. <el-col
  1134. :span="8"
  1135. v-if="
  1136. isShow('超滤率') &&
  1137. (template_id != 6 &&
  1138. template_id != 10 &&
  1139. template_id != 11 &&
  1140. template_id != 12 &&
  1141. template_id != 13 &&
  1142. template_id != 17 &&
  1143. template_id != 18 &&
  1144. template_id != 19 &&
  1145. template_id != 20 &&
  1146. template_id != 21 &&
  1147. template_id != 22 &&
  1148. template_id != 23 &&
  1149. template_id != 24 &&
  1150. template_id != 26 &&
  1151. template_id != 29 &&
  1152. template_id != 30 &&
  1153. template_id != 31 &&
  1154. template_id != 34 &&
  1155. template_id != 35 &&
  1156. template_id != 38 &&
  1157. template_id != 41 &&
  1158. template_id != 43 &&
  1159. template_id != 44 &&
  1160. template_id != 46 &&
  1161. template_id != 48 &&
  1162. template_id != 53 &&
  1163. template_id != 54 &&
  1164. template_id != 56 &&
  1165. template_id != 47 &&
  1166. template_id != 60 &&
  1167. template_id != 65 &&
  1168. org_id!=10432 &&
  1169. org_id!=10445 &&
  1170. org_id!=10410 &&
  1171. org_id!=10485 &&
  1172. org_id!=10375 && org_id!=10480 && org_id!=10551)
  1173. || org_id == 10387
  1174. "
  1175. >
  1176. <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
  1177. :rules="isCheckmust('超滤率')">
  1178. <el-input v-model="form.ultrafiltration_rate"></el-input>
  1179. </el-form-item>
  1180. </el-col>
  1181. <el-col
  1182. :span="8"
  1183. v-if="
  1184. isShow('超滤量') &&
  1185. (template_id == 6 ||
  1186. template_id == 9 ||
  1187. template_id == 10 ||
  1188. template_id == 11 ||
  1189. template_id == 12 ||
  1190. template_id == 13 ||
  1191. template_id == 17 ||
  1192. template_id == 18 ||
  1193. template_id == 19 ||
  1194. template_id == 20 ||
  1195. template_id == 21 ||
  1196. template_id == 22 ||
  1197. template_id == 23 ||
  1198. template_id == 24 ||
  1199. template_id == 26 ||
  1200. template_id == 27 ||
  1201. template_id == 29 ||
  1202. template_id == 30 ||
  1203. template_id == 31 ||
  1204. template_id == 32 ||
  1205. template_id == 34 ||
  1206. template_id == 35 ||
  1207. template_id == 36 ||
  1208. template_id == 38 ||
  1209. template_id == 41 ||
  1210. template_id == 43 ||
  1211. template_id == 44 ||
  1212. template_id == 46 ||
  1213. template_id == 47 ||
  1214. template_id == 48 ||
  1215. template_id == 51 ||
  1216. template_id == 53 ||
  1217. template_id == 54 ||
  1218. template_id == 56 ||
  1219. template_id == 60 ||
  1220. template_id == 65 ||
  1221. org_id == 10210 ||
  1222. org_id == 9555 ||
  1223. org_id == 10340 ||
  1224. org_id == 10432 ||
  1225. org_id == 10445 ||
  1226. org_id == 10410 ||
  1227. org_id == 10495 ||
  1228. org_id == 10485 ||
  1229. org_id == 10395 ||
  1230. org_id == 10375 ||
  1231. org_id == 10480 ||
  1232. org_id == 10551)
  1233. && org_id!=10387
  1234. "
  1235. >
  1236. <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
  1237. :rules="isCheckmust('超滤量')">
  1238. <el-input v-model="form.ultrafiltration_volume"></el-input>
  1239. </el-form-item>
  1240. </el-col>
  1241. <el-col
  1242. :span="8"
  1243. v-if="
  1244. isShow('超滤量') &&
  1245. (template_id != 6 &&
  1246. template_id != 9 &&
  1247. template_id != 10 &&
  1248. template_id != 11 &&
  1249. template_id != 12 &&
  1250. template_id != 13 &&
  1251. template_id != 17 &&
  1252. template_id != 18 &&
  1253. template_id != 19 &&
  1254. template_id != 20 &&
  1255. template_id != 21 &&
  1256. template_id != 22 &&
  1257. template_id != 23 &&
  1258. template_id != 24 &&
  1259. template_id != 26 &&
  1260. template_id != 27 &&
  1261. template_id != 29 &&
  1262. template_id != 30 &&
  1263. template_id != 31 &&
  1264. template_id != 32 &&
  1265. template_id != 34 &&
  1266. template_id != 35 &&
  1267. template_id != 36 &&
  1268. template_id != 38 &&
  1269. template_id != 41 &&
  1270. template_id != 43 &&
  1271. template_id != 44 &&
  1272. template_id != 46 &&
  1273. template_id != 47 &&
  1274. template_id != 51 &&
  1275. template_id == 48 &&
  1276. template_id == 53 &&
  1277. template_id == 54 &&
  1278. template_id == 56 &&
  1279. template_id == 60 &&
  1280. template_id == 65 &&
  1281. org_id != 10210 &&
  1282. org_id != 10340 &&
  1283. org_id != 9555 &&
  1284. org_id!=10432 &&
  1285. org_id!=10445 &&
  1286. org_id!=10410 &&
  1287. org_id!=10495 &&
  1288. org_id!=10485 &&
  1289. org_id!=10395 &&
  1290. org_id!=10375 &&
  1291. org_id!=10480 &&
  1292. org_id!=10551
  1293. )
  1294. || org_id == 10387
  1295. "
  1296. >
  1297. <el-form-item label="超滤量(L):" :prop="isName('超滤量')"
  1298. :rules="isCheckmust('超滤量')">
  1299. <el-input v-model="form.ultrafiltration_volume"></el-input>
  1300. </el-form-item>
  1301. </el-col>
  1302. <el-col :span="8" v-if="isShow('钠浓度')">
  1303. <el-form-item label="钠浓度(mmol/L):" :prop="isName('钠浓度')"
  1304. :rules="isCheckmust('钠浓度')">
  1305. <el-input v-model="form.sodium_concentration"></el-input>
  1306. </el-form-item>
  1307. </el-col>
  1308. <!-- </el-row>
  1309. <el-row :gutter="20"> -->
  1310. <el-col :span="8" v-if="isShow('透析液温度')">
  1311. <el-form-item label="透析液温度(℃):" :prop="isName('透析液温度')"
  1312. :rules="isCheckmust('透析液温度')">
  1313. <el-input v-model="form.dialysate_temperature"></el-input>
  1314. </el-form-item>
  1315. </el-col>
  1316. <el-col
  1317. :span="8"
  1318. v-if="
  1319. (isShow('置换率') &&
  1320. template_id != 6 &&
  1321. template_id != 10 &&
  1322. template_id != 11 &&
  1323. template_id != 20 &&
  1324. template_id != 26 &&
  1325. template_id != 29 &&
  1326. template_id != 46 &&
  1327. template_id != 48 &&
  1328. template_id != 54 &&
  1329. template_id != 56 &&
  1330. template_id != 53 &&
  1331. org_id!=10432 &&
  1332. org_id!=10445 &&
  1333. org_id!=10410 &&
  1334. org_id!=10395)
  1335. || org_id ==10558
  1336. "
  1337. >
  1338. <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
  1339. :rules="isCheckmust('置换率')">
  1340. <el-input v-model="form.replacement_rate"></el-input>
  1341. </el-form-item>
  1342. </el-col>
  1343. <el-col
  1344. :span="8"
  1345. v-if="
  1346. isShow('置换率') &&
  1347. (template_id == 6 ||
  1348. template_id == 10 ||
  1349. template_id == 11 ||
  1350. template_id == 20 ||
  1351. template_id == 26 ||
  1352. template_id == 29 ||
  1353. template_id == 46 ||
  1354. template_id == 53 ||
  1355. template_id == 54 ||
  1356. template_id == 56 ||
  1357. template_id == 48 ||
  1358. org_id==10432 ||
  1359. org_id!=10445 ||
  1360. org_id!=10410 ||
  1361. org_id!=10395) && org_id !=10558
  1362. "
  1363. >
  1364. <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
  1365. :rules="isCheckmust('置换率')">
  1366. <el-input v-model="form.replacement_rate"></el-input>
  1367. </el-form-item>
  1368. </el-col>
  1369. <el-col :span="8" v-if="isShow('置换量') && template_id == 43">
  1370. <el-form-item label="置换量(ml/h):" :prop="isName('置换量')"
  1371. :rules="isCheckmust('置换量')">
  1372. <el-input v-model="form.displacement_quantity"></el-input>
  1373. </el-form-item>
  1374. </el-col>
  1375. <el-col
  1376. :span="8"
  1377. v-if="
  1378. isShow('置换量') &&
  1379. (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558) &&
  1380. org_id != 9779 &&
  1381. template_id != 11 &&
  1382. template_id != 20 &&
  1383. template_id != 26 &&
  1384. template_id != 29 &&
  1385. template_id != 43 &&
  1386. template_id != 46 &&
  1387. template_id != 53 &&
  1388. template_id != 54 &&
  1389. template_id != 56 &&
  1390. template_id != 48 &&
  1391. org_id!=10340 &&
  1392. org_id!=10432 &&
  1393. org_id!=10445 &&
  1394. org_id!=10395
  1395. "
  1396. >
  1397. <el-form-item label="置换量(L):" :prop="isName('置换量')"
  1398. :rules="isCheckmust('置换量')">
  1399. <el-input v-model="form.displacement_quantity"></el-input>
  1400. </el-form-item>
  1401. </el-col>
  1402. <el-col
  1403. :span="8"
  1404. v-if="
  1405. isShow('置换量') &&
  1406. ((template_id == 6 &&
  1407. org_id != 9919 &&
  1408. org_id != 10191 &&
  1409. org_id != 10551 &&
  1410. template_id != 43 && org_id!=10558) ||
  1411. org_id == 9779 ||
  1412. template_id == 11 ||
  1413. template_id == 20 ||
  1414. template_id == 26 ||
  1415. template_id == 29 ||
  1416. template_id == 46 ||
  1417. template_id == 53 ||
  1418. template_id == 54 ||
  1419. template_id == 56 ||
  1420. template_id == 48 ||
  1421. org_id!=10340 ||
  1422. org_id ==10432 ||
  1423. org_id ==10445 ||
  1424. org_id == 10395)
  1425. "
  1426. >
  1427. <el-form-item label="置换量(ml):" :prop="isName('置换量')"
  1428. :rules="isCheckmust('置换量')">
  1429. <el-input v-model="form.displacement_quantity"></el-input>
  1430. </el-form-item>
  1431. </el-col>
  1432. <el-col :span="8" v-if="isShow('电导度')">
  1433. <el-form-item label="电导度(mS/m):" :prop="isName('电导度')"
  1434. :rules="isCheckmust('电导度')">
  1435. <el-input v-model="form.conductivity"></el-input>
  1436. </el-form-item>
  1437. </el-col>
  1438. <el-col :span="8" v-if="isShow('置换液流量') && template_id != 27">
  1439. <el-form-item label="置换液流量(ml/h):" :prop="isName('置换液流量')"
  1440. :rules="isCheckmust('置换液流量')">
  1441. <el-input v-model="form.displacement_flow_quantity"></el-input>
  1442. </el-form-item>
  1443. </el-col>
  1444. <el-col :span="8" v-if="isShow('置换液流量') && template_id == 27">
  1445. <el-form-item label="置换液流量(ml/min):" :prop="isName('置换液流量')"
  1446. :rules="isCheckmust('置换液流量')">
  1447. <el-input v-model="form.displacement_flow_quantity"></el-input>
  1448. </el-form-item>
  1449. </el-col>
  1450. <el-col :span="8" v-if="isShow('透析液流量')">
  1451. <el-form-item label="透析液流量(ml/h):" :prop="isName('透析液流量')"
  1452. :rules="isCheckmust('透析液流量')">
  1453. <el-input v-model="form.dialysate_flow"></el-input>
  1454. </el-form-item>
  1455. </el-col>
  1456. <el-col :span="8" v-if="isShow('SpO₂')">
  1457. <el-form-item label="SpO₂(%):" :prop="isName('SpO₂')"
  1458. :rules="isCheckmust('SpO₂')">
  1459. <el-input v-model="form.blood_oxygen_saturation"></el-input>
  1460. </el-form-item>
  1461. </el-col>
  1462. <el-col :span="8" v-if="isShow('血糖')">
  1463. <el-form-item label="血糖(mmol/L):" :prop="isName('血糖')"
  1464. :rules="isCheckmust('血糖')">
  1465. <el-input v-model="form.blood_sugar"></el-input>
  1466. </el-form-item>
  1467. </el-col>
  1468. <el-col :span="8" v-if="isShow('肝素用量余量')">
  1469. <el-form-item label="肝素用量余量(ml):" :prop="isName('肝素用量余量')"
  1470. :rules="isCheckmust('肝素用量余量')">
  1471. <el-input v-model="form.heparin"></el-input>
  1472. </el-form-item>
  1473. </el-col>
  1474. <el-col :span="8" v-if="isShow('肝素量')">
  1475. <el-form-item label="肝素量(mg):" :prop="isName('肝素量')"
  1476. :rules="isCheckmust('肝素量')">
  1477. <el-input v-model="form.heparin_amount"></el-input>
  1478. </el-form-item>
  1479. </el-col>
  1480. <el-col :span="8" v-if="isShow('抗凝剂')">
  1481. <el-form-item label="抗凝剂:" :prop="isName('抗凝剂')"
  1482. :rules="isCheckmust('抗凝剂')">
  1483. <div style="display: flex">
  1484. <el-select
  1485. v-model="form.monitor_anticoagulant"
  1486. placeholder="请选择"
  1487. style="width: 50%"
  1488. >
  1489. <el-option
  1490. v-for="(item, index) in anticoagulantsConfit"
  1491. :label="item.name"
  1492. :key="index + 'e'"
  1493. :value="item.id"
  1494. ></el-option>
  1495. </el-select>
  1496. <el-input
  1497. v-model="form.monitor_anticoagulant_value"
  1498. style="width: 49%; margin-left: 10px"
  1499. ></el-input>
  1500. </div>
  1501. </el-form-item>
  1502. </el-col>
  1503. <el-col :span="8" v-if="isShow('血压监测部位')">
  1504. <el-form-item label="血压监测部位:" :prop="isName('血压监测部位')"
  1505. :rules="isCheckmust('血压监测部位')">
  1506. <div style="display: flex">
  1507. <el-select
  1508. v-model="form.blood_pressure_monitoring_site"
  1509. placeholder="请选择"
  1510. style="width: 50%"
  1511. >
  1512. <el-option
  1513. v-for="(item, index) in bloodPressureMmonitoringSite"
  1514. :label="item.name"
  1515. :key="index + 'e'"
  1516. :value="item.id"
  1517. ></el-option>
  1518. </el-select>
  1519. </div>
  1520. </el-form-item>
  1521. </el-col>
  1522. <el-col :span="8" v-if="isShow('并发症')">
  1523. <el-form-item label="并发症" :prop="isName('并发症')"
  1524. :rules="isCheckmust('并发症')">
  1525. <div style="display: flex">
  1526. <el-select
  1527. v-model="form.complication"
  1528. placeholder="请选择"
  1529. style="width: 50%"
  1530. >
  1531. <el-option
  1532. v-for="(item, index) in complicationList"
  1533. :label="item.name"
  1534. :key="index + 'e'"
  1535. :value="item.id"
  1536. ></el-option>
  1537. </el-select>
  1538. </div>
  1539. </el-form-item>
  1540. </el-col>
  1541. <el-col :span="8" v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9671 || org_id == 9538 || org_id == 10340)">
  1542. <el-form-item label="累计血容量(L):" :prop="isName('累计血容量')"
  1543. :rules="isCheckmust('累计血容量')">
  1544. <el-input v-model="form.accumulated_blood_volume"></el-input>
  1545. </el-form-item>
  1546. </el-col>
  1547. <el-col :span="8" v-if="isShow('累计血容量') && (template_id != 41 && template_id !=9671 && org_id!=9538 && org_id!=10340)">
  1548. <el-form-item label="累计血容量(ml):" :prop="isName('累计血容量')"
  1549. :rules="isCheckmust('累计血容量')">
  1550. <el-input v-model="form.accumulated_blood_volume"></el-input>
  1551. </el-form-item>
  1552. </el-col>
  1553. <el-col :span="8" v-if="isShow('血容量')">
  1554. <el-form-item label="血容量(L):" :prop="isName('血容量')"
  1555. :rules="isCheckmust('血容量')">
  1556. <el-input v-model="form.accumulated_blood_volume"></el-input>
  1557. </el-form-item>
  1558. </el-col>
  1559. <el-col :span="8" v-if="isShow('血温监测')">
  1560. <el-form-item label="血温监测" :prop="isName('血温监测')"
  1561. :rules="isCheckmust('血温监测')">
  1562. <el-input v-model="form.blood_temperature"></el-input>
  1563. </el-form-item>
  1564. </el-col>
  1565. <el-col :span="8" v-if="isShow('尿素监测')">
  1566. <el-form-item label="尿素监测" :prop="isName('尿素监测')"
  1567. :rules="isCheckmust('尿素监测')">
  1568. <el-input v-model="form.urea_monitoring"></el-input>
  1569. </el-form-item>
  1570. </el-col>
  1571. <el-col :span="8" v-if="isShow('血浓量')">
  1572. <el-form-item label="血浓量" :prop="isName('血浓量')"
  1573. :rules="isCheckmust('血浓量')">
  1574. <el-input v-model="form.blood_thickness"></el-input>
  1575. </el-form-item>
  1576. </el-col>
  1577. <el-col :span="8" v-if="isShow('血压监测')">
  1578. <el-form-item label="血压监测" :prop="isName('血压监测')"
  1579. :rules="isCheckmust('血压监测')">
  1580. <el-input v-model="form.blood_monitor"></el-input>
  1581. </el-form-item>
  1582. </el-col>
  1583. <el-col :span="8" v-if="isShow('脱水')">
  1584. <el-form-item label="脱水(L):" :prop="isName('脱水')"
  1585. :rules="isCheckmust('脱水')">
  1586. <el-input v-model="form.dehydration"></el-input>
  1587. </el-form-item>
  1588. </el-col>
  1589. <el-col :span="8" v-if="isShow('置换液速度')">
  1590. <el-form-item label="置换液速度(ml/h):" :prop="isName('置换液速度')"
  1591. :rules="isCheckmust('置换液速度')">
  1592. <el-input v-model="form.replacement_speed"></el-input>
  1593. </el-form-item>
  1594. </el-col>
  1595. <el-col :span="8" v-if="isShow('碳酸氢钠用量')">
  1596. <el-form-item label="碳酸氢钠用量(ml):" :prop="isName('碳酸氢钠用量')"
  1597. :rules="isCheckmust('碳酸氢钠用量')">
  1598. <el-input v-model="form.dicarbonate"></el-input>
  1599. </el-form-item>
  1600. </el-col>
  1601. <el-col :span="8" v-if="isShow('滤前压')">
  1602. <el-form-item label="滤前压(mmHg):">
  1603. <el-input v-model="form.filter_pressure"></el-input>
  1604. </el-form-item>
  1605. </el-col>
  1606. <el-col :span="24" v-if="isShow('拒测血压')">
  1607. <el-form-item label="拒测血压:" :prop="isName('拒测血压')">
  1608. <el-select v-model="form.is_pressure" placeholder="请选择">
  1609. <el-option
  1610. v-for="item in pressureList"
  1611. :key="item.id"
  1612. :label="item.name"
  1613. :value="item.name">
  1614. </el-option>
  1615. </el-select>
  1616. </el-form-item>
  1617. </el-col>
  1618. <!-- </el-row>
  1619. <el-row :gutter="20"> -->
  1620. <el-col :span="24" v-if="isShow('KT/V')">
  1621. <el-form-item label="KT/V(在线):" :prop="isName('KT/V')"
  1622. :rules="isCheckmust('KT/V')">
  1623. <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
  1624. </el-form-item>
  1625. </el-col>
  1626. <el-col :span="24" v-if="isShow('URR')">
  1627. <el-form-item label="URR:" :prop="isName('URR')"
  1628. :rules="isCheckmust('URR')">
  1629. <el-input type="textarea" :rows="4" v-model="form.urr"></el-input>
  1630. </el-form-item>
  1631. </el-col>
  1632. <!-- </el-row>
  1633. <el-row :gutter="20"> -->
  1634. <el-col :span="24" v-if="isShow('病情变化')">
  1635. <el-form-item label="病情变化:" :prop="isName('病情变化')"
  1636. :rules="isCheckmust('病情变化')">
  1637. <el-select
  1638. v-model="symptom_selecteds"
  1639. style="width: 100%"
  1640. :multiple="true"
  1641. collapse-tags
  1642. @change="symptomSelectorChange"
  1643. >
  1644. <el-option
  1645. v-for="(symptom, index) in symptom_options"
  1646. :key="index"
  1647. :label="symptom.name"
  1648. :value="symptom.name"
  1649. ></el-option>
  1650. </el-select>
  1651. </el-form-item>
  1652. </el-col>
  1653. <!-- </el-row>
  1654. <el-row :gutter="20"> -->
  1655. <el-col :span="24" v-if="isShow('病情变化')">
  1656. <el-form-item :prop="isName('病情变化')"
  1657. :rules="isCheckmust('病情变化')">
  1658. <el-input
  1659. type="textarea"
  1660. :rows="4"
  1661. v-model="form.symptom"
  1662. @blur="symptomTextareaBlur"
  1663. ></el-input>
  1664. </el-form-item>
  1665. </el-col>
  1666. <!-- </el-row>
  1667. <el-row :gutter="20"> -->
  1668. <el-col :span="24" v-if="isShow('处理')">
  1669. <el-form-item label="处理:" :prop="isName('处理')"
  1670. :rules="isCheckmust('处理')">
  1671. <el-select
  1672. v-model="dispose_selecteds"
  1673. style="width: 100%"
  1674. :multiple="true"
  1675. collapse-tags
  1676. @change="disposeSelectorChange"
  1677. >
  1678. <el-option
  1679. v-for="(dispose, index) in dispose_options"
  1680. :key="index"
  1681. :label="dispose.name"
  1682. :value="dispose.name"
  1683. ></el-option>
  1684. </el-select>
  1685. </el-form-item>
  1686. </el-col>
  1687. <!-- </el-row>
  1688. <el-row :gutter="20"> -->
  1689. <el-col :span="24" v-if="isShow('处理')">
  1690. <el-form-item :prop="isName('处理')"
  1691. :rules="isCheckmust('处理')">
  1692. <el-input
  1693. type="textarea"
  1694. :rows="4"
  1695. v-model="form.dispose"
  1696. @blur="disposeTextareaBlur"
  1697. ></el-input>
  1698. <!-- @blur="disposeTextareaBlur" -->
  1699. </el-form-item>
  1700. </el-col>
  1701. <!-- </el-row>
  1702. <el-row :gutter="20"> -->
  1703. <el-col :span="24" v-if="isShow('结果')">
  1704. <el-form-item label="结果:" :prop="isName('结果')"
  1705. :rules="isCheckmust('结果')">
  1706. <el-select
  1707. v-model="result_selecteds"
  1708. style="width: 100%"
  1709. :multiple="true"
  1710. collapse-tags
  1711. @change="resultSelectorChange"
  1712. >
  1713. <el-option
  1714. v-for="(result, index) in result_options"
  1715. :key="index"
  1716. :label="result.name"
  1717. :value="result.name"
  1718. ></el-option>
  1719. </el-select>
  1720. </el-form-item>
  1721. </el-col>
  1722. <!-- </el-row>
  1723. <el-row :gutter="20"> -->
  1724. <el-col :span="24" v-if="isShow('结果')">
  1725. <el-form-item :prop="isName('结果')"
  1726. :rules="isCheckmust('结果')">
  1727. <el-input
  1728. type="textarea"
  1729. :rows="4"
  1730. v-model="form.result"
  1731. @blur="resultTextareaBlur"
  1732. ></el-input>
  1733. </el-form-item>
  1734. </el-col>
  1735. </el-row>
  1736. </el-form>
  1737. <div slot="footer" class="dialog-footer" v-show="edit">
  1738. <el-button @click="cancelEditAction">取 消</el-button>
  1739. <el-button :loading="loading" type="primary" @click="submitAction('form')">保 存</el-button>
  1740. </div>
  1741. <!--</div>-->
  1742. </el-dialog>
  1743. <el-dialog
  1744. title="提示"
  1745. :visible.sync="infoDialogVisible"
  1746. width="30%">
  1747. <span>
  1748. <el-form>
  1749. <el-row>
  1750. <span>申请日期:</span>
  1751. <span>
  1752. <el-date-picker
  1753. type="datetime"
  1754. format="yyyy-MM-dd HH:mm"
  1755. value-format="yyyy-MM-dd HH:mm"
  1756. placeholder="选择时间"
  1757. v-model="selected_date"
  1758. ></el-date-picker>
  1759. </span>
  1760. </el-row>
  1761. <el-row>
  1762. <span>备注:</span>
  1763. <span>
  1764. <el-input v-model="remark" style="width:200px"></el-input>
  1765. </span>
  1766. </el-row>
  1767. </el-form>
  1768. </span>
  1769. <span slot="footer" class="dialog-footer">
  1770. <el-button @click="infoDialogVisible = false">取 消</el-button>
  1771. <el-button type="primary" @click="saveInformation">确 定</el-button>
  1772. </span>
  1773. </el-dialog>
  1774. </div>
  1775. </template>
  1776. <script>
  1777. import { parseTime } from "@/utils";
  1778. import { getDataConfig } from "@/utils/data";
  1779. import {
  1780. editMonitor,
  1781. postDelMonitorInfo,
  1782. getTodayMonitor,
  1783. } from "@/api/dialysis_record";
  1784. import store from "@/store";
  1785. import { saveInformation } from '@/api/dialysis'
  1786. import request from "@/utils/request";
  1787. export default {
  1788. name: "MonitorDialog",
  1789. data() {
  1790. return {
  1791. loading: false,
  1792. is_has_create: true,
  1793. is_has_modify: true,
  1794. is_has_modify_other: true,
  1795. is_has_del: true,
  1796. is_has_del_other: true,
  1797. visible: false,
  1798. edit: false,
  1799. current_row_class: "current-box-class",
  1800. creator: 0,
  1801. patient_id: 0,
  1802. schedule_date: 0,
  1803. template_id: 0,
  1804. isAdd: false,
  1805. // monitoring_date: 0,
  1806. form: {
  1807. id: 0,
  1808. monitoring_date: 0, // 监测日期
  1809. // operate_date: 0, // 实际测量日期
  1810. // monitoring_time: "", // 监测时间 HH:mm
  1811. operate_time: 0,
  1812. systolic_bp: "", // 收缩压
  1813. diastolic_bp: "", // 舒张压
  1814. pulse_frequency: "", // 心率
  1815. temperature: "", // 体温
  1816. breathing_rated: "", // 呼吸频率
  1817. blood_flow_volume: "", // 血流量
  1818. venous_pressure: "", // 静脉压
  1819. venous_pressure_type: 1, // 静脉压
  1820. transmembrane_pressure: "", // 跨膜压
  1821. transmembrane_pressure_type: 1, // 跨膜压
  1822. ultrafiltration_volume: "", // c
  1823. ultrafiltration_rate: "", // 超滤率
  1824. arterial_pressure: "", // 动脉压
  1825. arterial_pressure_type: 1, // 动脉压
  1826. sodium_concentration: "", // 钠浓度
  1827. dialysate_temperature: "", // 透析液温度
  1828. replacement_rate: "", // 置换率
  1829. displacement_quantity: "", // 置换量
  1830. conductivity: "", // 电导度
  1831. displacement_flow_quantity: "", // 置换液流量
  1832. dialysate_flow: "", // 透析液流量
  1833. heparin: "", // 肝素用量余量
  1834. ktv: "", // KT/V
  1835. symptom: "", // 病情变化
  1836. dispose: "", // 处理
  1837. result: "", // 结果,
  1838. blood_oxygen_saturation: "",
  1839. urr: "",
  1840. blood_sugar: "", //血糖
  1841. monitor_anticoagulant: "",
  1842. monitor_anticoagulant_value: "",
  1843. blood_pressure_monitoring_site: "",
  1844. complication: "",
  1845. accumulated_blood_volume: "",
  1846. blood_temperature: "",
  1847. urea_monitoring: "",
  1848. blood_thickness: "",
  1849. blood_monitor: "",
  1850. heparin_amount: "", //肝素量
  1851. dehydration: "",
  1852. filter_pressure:"",
  1853. replacement_speed:"",
  1854. dicarbonate:"",
  1855. is_pressure:"",
  1856. },
  1857. table_current_row: null,
  1858. symptom_selecteds: [],
  1859. symptom_options: getDataConfig("hemodialysis", "symptoms"),
  1860. dispose_selecteds: [],
  1861. dispose_options: getDataConfig("hemodialysis", "deals"),
  1862. result_selecteds: [],
  1863. result_options: getDataConfig("hemodialysis", "results"),
  1864. valueOne: 0,
  1865. valueTwo: 0,
  1866. valueThree: 0,
  1867. anticoagulantsConfit: {},
  1868. bloodPressureMmonitoringSite: [],
  1869. complicationList: [],
  1870. infoDialogVisible:false,
  1871. selected_date:"",
  1872. remark:"",
  1873. pressureList:[
  1874. {id:1,name:"是"},
  1875. {id:2,name:"否"}
  1876. ]
  1877. };
  1878. },
  1879. props: {
  1880. monitors: {
  1881. type: Array,
  1882. },
  1883. patient: {
  1884. type: Object,
  1885. },
  1886. },
  1887. computed: {
  1888. monitor_date_str: function () {
  1889. return parseTime(this.form.monitoring_date, "{y}-{m}-{d}");
  1890. },
  1891. },
  1892. created() {
  1893. this.template_id = this.$store.getters.xt_user.template_info.template_id;
  1894. this.org_id = this.$store.getters.xt_user.template_info.org_id;
  1895. var date = this.$route.query.date;
  1896. var patient_id = this.$route.query.patient_id;
  1897. this.patient_id = patient_id ? patient_id : this.patient.id;
  1898. console.log("this.patient_id", this.patient_id);
  1899. this.schedule_date = date
  1900. ? date
  1901. : new Date(new Date().toLocaleDateString()).getTime() / 1000;
  1902. this.form.monitoring_date = date
  1903. ? date
  1904. : new Date(new Date().toLocaleDateString()).getTime() / 1000;
  1905. // this.form.operate_date = parseInt((new Date()).getTime() / 1000)
  1906. // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
  1907. this.form.operate_time = new Date().getTime();
  1908. var symptoms = getDataConfig("hemodialysis", "symptoms");
  1909. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  1910. //console.log("抗凝剂",this.anticoagulantsConfit)
  1911. this.bloodPressureMmonitoringSite = getDataConfig(
  1912. "hemodialysis",
  1913. "blood_pressure_monitoring_site"
  1914. );
  1915. this.complicationList = getDataConfig("hemodialysis", "complication");
  1916. },
  1917. methods: {
  1918. isName(name) {
  1919. let filedList = store.getters.xt_user.fileds;
  1920. for (let i = 0; i < filedList.length; i++) {
  1921. if (filedList[i].module == 4 && filedList[i].filed_name_cn == name) {
  1922. return filedList[i].filed_name;
  1923. }
  1924. }
  1925. },
  1926. isCheckmust(name) {
  1927. let filedList = store.getters.xt_user.fileds;
  1928. for (let i = 0; i < filedList.length; i++) {
  1929. if (
  1930. filedList[i].module == 4
  1931. &&filedList[i].filed_name_cn == name
  1932. &&filedList[i].is_write == 1
  1933. ) {
  1934. // console.log(filedList[i].is_write,'false')
  1935. // console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
  1936. return [{ required: true ,message:`请输入${name}` }];
  1937. }
  1938. // else {
  1939. // console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
  1940. // // console.log(filedList[i].is_write,'true')
  1941. // return [{ required:false}];
  1942. // }
  1943. }
  1944. },
  1945. venousPressureChange(type) {
  1946. if (type == 1) {
  1947. this.form.venous_pressure = Math.ceil(
  1948. Math.round(this.form.venous_pressure * 7.5)
  1949. );
  1950. } else if (type == 2) {
  1951. this.form.transmembrane_pressure = Math.ceil(
  1952. Math.round(this.form.transmembrane_pressure * 7.5)
  1953. );
  1954. } else {
  1955. this.form.arterial_pressure = Math.ceil(
  1956. Math.round(this.form.arterial_pressure * 7.5)
  1957. );
  1958. }
  1959. },
  1960. venousPressureChangeOne() {
  1961. if (this.form.venous_pressure_type == 1) {
  1962. this.form.venous_pressure_type = 2;
  1963. } else {
  1964. this.form.venous_pressure_type = 1;
  1965. }
  1966. // if (this.valueOne == 0) {
  1967. // this.form.venous_pressure = Math.ceil(
  1968. // Math.round(this.form.venous_pressure * 7.5)
  1969. // )
  1970. // this.valueOne = 1
  1971. // return false
  1972. // }
  1973. // if (this.valueOne == 1) {
  1974. // this.form.venous_pressure = Math.ceil(
  1975. // Math.round(this.form.venous_pressure / 7.5)
  1976. // )
  1977. // this.valueOne = 0
  1978. // return false
  1979. // }
  1980. },
  1981. venousPressureChangeThree() {
  1982. if (this.form.arterial_pressure_type == 1) {
  1983. this.form.arterial_pressure_type = 2;
  1984. } else {
  1985. this.form.arterial_pressure_type = 1;
  1986. }
  1987. // if (this.valueThree == 0) {
  1988. // this.form.arterial_pressure = Math.ceil(
  1989. // Math.round(this.form.arterial_pressure * 7.5)
  1990. // )
  1991. // this.valueThree = 1
  1992. // return false
  1993. // }
  1994. // if (this.valueThree == 1) {
  1995. // this.form.arterial_pressure = Math.ceil(
  1996. // Math.round(this.form.arterial_pressure / 7.5)
  1997. // )
  1998. // this.valueThree = 0
  1999. // return false
  2000. // }
  2001. },
  2002. venousPressureChangeTwo() {
  2003. if (this.form.transmembrane_pressure_type == 1) {
  2004. this.form.transmembrane_pressure_type = 2;
  2005. } else {
  2006. this.form.transmembrane_pressure_type = 1;
  2007. }
  2008. // if (this.valueTwo == 0) {
  2009. // this.form.transmembrane_pressure = Math.ceil(
  2010. // Math.round(this.form.transmembrane_pressure * 7.5)
  2011. // )
  2012. // this.valueTwo = 1
  2013. // return false
  2014. // }
  2015. // if (this.valueTwo == 1) {
  2016. // this.form.transmembrane_pressure = Math.ceil(
  2017. // Math.round(this.form.transmembrane_pressure / 7.5)
  2018. // )
  2019. // this.valueTwo = 0
  2020. // return false
  2021. // }
  2022. },
  2023. isShow(name) {
  2024. var filedList = store.getters.xt_user.fileds;
  2025. for (let i = 0; i < filedList.length; i++) {
  2026. if (
  2027. filedList[i].module == 4 &&
  2028. filedList[i].filed_name_cn == name &&
  2029. filedList[i].is_show == 1
  2030. ) {
  2031. return true;
  2032. }
  2033. }
  2034. return false;
  2035. },
  2036. reset: function () {
  2037. this.cancelEditAction();
  2038. },
  2039. show() {
  2040. this.getPermission();
  2041. this.visible = true;
  2042. },
  2043. hide() {
  2044. this.visible = false;
  2045. },
  2046. getMonitorDate: function (monitor) {
  2047. return parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}");
  2048. },
  2049. newRecordAction: function () {
  2050. console.log("111111111")
  2051. this.setEditMonitor(null);
  2052. this.$refs.table.setCurrentRow(null);
  2053. console.log(this.dispose_options,'oop')
  2054. if (this.monitors.length == 0) {
  2055. this.disposeTextareaBlur();
  2056. }
  2057. this.edit = true;
  2058. this.isAdd = true;
  2059. this.getLastRecordTody();
  2060. },
  2061. getLastRecordTody() {
  2062. const params = {
  2063. patient_id: this.patient_id,
  2064. };
  2065. getTodayMonitor(params).then((rs) => {
  2066. console.log("机构ID", this.org_id);
  2067. var resp = rs.data.data;
  2068. this.form.operate_time = resp.monitor.operate_time
  2069. ? (resp.monitor.operate_time + 3600) * 1000
  2070. : Date.parse(new Date());
  2071. this.form.temperature = ""
  2072. // this.last_monitor_record.pulse_frequency;
  2073. // this.form.breathing_rated = resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
  2074. this.form.systolic_bp = ""; // this.last_monitor_record.systolic_blood_pressure;
  2075. this.form.diastolic_bp = ""; // this.last_monitor_record.diastolic_blood_pressure;
  2076. this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume: "";
  2077. // 静脉压
  2078. if (this.org_id == 10060 || this.org_id == 10387) {
  2079. this.form.venous_pressure = resp.monitor.venous_pressure;
  2080. }else if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10469 || this.org_id == 10471 ){
  2081. this.form.venous_pressure = 80
  2082. } else {
  2083. this.form.venous_pressure = ""; // this.last_monitor_record.venous_pressure;
  2084. }
  2085. if(this.org_id == 10440){
  2086. this.form.pulse_frequency = 80
  2087. }else{
  2088. this.form.pulse_frequency = ""
  2089. }
  2090. this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
  2091. if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10387){
  2092. this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: "-100"; // this.last_monitor_record.arterial_pressure;
  2093. }else{
  2094. this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: ""
  2095. }
  2096. this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type
  2097. ? resp.monitor.arterial_pressure_type
  2098. : 1;
  2099. if (this.org_id == 10060 || this.org_id == 10387) {
  2100. this.form.transmembrane_pressure = resp.monitor.transmembrane_pressure;
  2101. }else if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
  2102. this.form.transmembrane_pressure = 60
  2103. } else {
  2104. this.form.transmembrane_pressure = ""; // this.last_monitor_record.transmembrane_pressure;
  2105. }
  2106. if (this.org_id == 10318) {
  2107. this.form.breathing_rated = resp.monitor.breathing_rate;
  2108. }else if(this.org_id == 9671){
  2109. this.form.breathing_rated = "20"
  2110. }else if(this.org_id == 10340){
  2111. this.form.breathing_rated = "20"
  2112. } else {
  2113. this.form.breathing_rated = "";
  2114. }
  2115. this.form.transmembrane_pressure_type = resp.monitor
  2116. .transmembrane_pressure_type
  2117. ? resp.monitor.transmembrane_pressure_type
  2118. : 1;
  2119. this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate
  2120. ? resp.monitor.ultrafiltration_rate
  2121. : "";
  2122. this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume
  2123. ? resp.monitor.ultrafiltration_volume
  2124. : "";
  2125. this.form.sodium_concentration = resp.monitor.sodium_concentration
  2126. ? resp.monitor.sodium_concentration
  2127. : "";
  2128. this.form.dialysate_temperature = resp.monitor.dialysate_temperature
  2129. ? resp.monitor.dialysate_temperature
  2130. : "";
  2131. if(this.org_id == 9675 || this.org_id == 9671 || this.org_id == 10340 || this.org_id == 10469 || this.org_id == 10471){
  2132. this.form.temperature = "36.5"
  2133. }else{
  2134. this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature: "";
  2135. }
  2136. this.form.replacement_rate = resp.monitor.replacement_rate
  2137. ? resp.monitor.replacement_rate
  2138. : "";
  2139. this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : "";
  2140. this.form.dialysate_flow = resp.monitor.dialysate_flow
  2141. ? resp.monitor.dialysate_flow
  2142. : "";
  2143. this.form.displacement_quantity = resp.monitor.displacement_quantity
  2144. ? resp.monitor.displacement_quantity
  2145. : ""; // this.last_monitor_record.displacement_quantity;
  2146. this.form.conductivity = "";
  2147. this.form.displacement_flow_quantity = resp.monitor
  2148. .displacement_flow_quantity
  2149. ? resp.monitor.displacement_flow_quantity
  2150. : "";
  2151. this.form.ktv = resp.monitor.ktv ? resp.monitor.ktv : ""; // this.last_monitor_record.ktv;
  2152. this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ""; // this.last_monitor_record.symptom;
  2153. // this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ""; // this.last_monitor_record.dispose;
  2154. this.form.result = resp.monitor.result ? resp.monitor.result : ""; // this.last_monitor_record.result;
  2155. this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation? resp.monitor.blood_oxygen_saturation: "";
  2156. //针对长沙南雅医院
  2157. if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 9675){
  2158. this.form.blood_oxygen_saturation = "/"
  2159. }
  2160. this.form.urr = resp.monitor.urr ? resp.monitor.urr : "";
  2161. this.form.blood_sugar = resp.monitor.blood_sugar
  2162. ? resp.monitor.blood_sugar
  2163. : "";
  2164. this.form.sodium_concentration = resp.monitor.sodium_concentration
  2165. ? resp.monitor.sodium_concentration
  2166. : "";
  2167. if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
  2168. this.form.conductivity = 14
  2169. }else{
  2170. this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
  2171. }
  2172. this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant
  2173. ? resp.monitor.monitor_anticoagulant
  2174. : "";
  2175. this.form.monitor_anticoagulant_value = resp.monitor
  2176. .monitor_anticoagulant_value
  2177. ? resp.monitor.monitor_anticoagulant_value
  2178. : "";
  2179. this.form.accumulated_blood_volume = resp.monitor
  2180. .accumulated_blood_volume
  2181. ? resp.monitor.accumulated_blood_volume
  2182. : "";
  2183. this.form.blood_temperature = resp.monitor.blood_temperature
  2184. ? resp.monitor.blood_temperature
  2185. : "";
  2186. this.form.urea_monitoring = resp.monitor.urea_monitoring
  2187. ? resp.monitor.urea_monitoring
  2188. : "";
  2189. this.form.blood_thickness = resp.monitor.blood_thickness
  2190. ? resp.monitor.blood_thickness
  2191. : "";
  2192. this.form.blood_monitor = resp.monitor.blood_monitor
  2193. ? resp.monitor.blood_monitor
  2194. : "";
  2195. this.form.dehydration = resp.monitor.dehydration
  2196. ? resp.monitor.dehydration
  2197. : "";
  2198. this.form.heparin_amount = resp.monitor.heparin_amount
  2199. ? resp.monitor.heparin_amount
  2200. : "";
  2201. if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
  2202. this.form.dialysate_temperature = 36.5
  2203. }
  2204. });
  2205. },
  2206. modifyRecordAction: function () {
  2207. if (this.table_current_row == null) {
  2208. this.$message.error("请选择一条监测记录");
  2209. return;
  2210. }
  2211. this.creator = this.table_current_row.creator;
  2212. console.log("22222222222")
  2213. this.setEditMonitor(this.table_current_row);
  2214. this.$refs.table.setCurrentRow(null);
  2215. this.edit = true;
  2216. this.isAdd = false;
  2217. },
  2218. cancelEditAction: function () {
  2219. console.log("3333333333")
  2220. this.setEditMonitor(null);
  2221. this.$refs.table.setCurrentRow(null);
  2222. this.edit = false;
  2223. },
  2224. tableCurrentRowChange: function (currentRow) {
  2225. this.table_current_row = currentRow;
  2226. // console.log("tableCurrentRowChange", currentRow)
  2227. },
  2228. setEditMonitor: function (monitor) {
  2229. console.log("monitor23223322332", monitor);
  2230. if (monitor == null || monitor == undefined) {
  2231. this.form.id = 0;
  2232. // this.form.operate_date = parseInt((new Date()).getTime() / 1000)
  2233. // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
  2234. this.form.operate_time = new Date().getTime();
  2235. this.form.systolic_bp = "";
  2236. this.form.diastolic_bp = "";
  2237. this.form.pulse_frequency = "";
  2238. this.form.breathing_rated = "";
  2239. this.form.blood_flow_volume = "";
  2240. this.form.temperature = "";
  2241. this.form.venous_pressure = "";
  2242. this.form.venous_pressure_type = 1;
  2243. this.form.transmembrane_pressure = "";
  2244. this.form.transmembrane_pressure_type = 1;
  2245. if(this.org_id == 9671 || this.org_id == 10440){
  2246. this.form.ultrafiltration_volume = 0
  2247. }
  2248. if(this.org_id != 9671 && this.org_id != 10440){
  2249. this.form.ultrafiltration_volume = "";
  2250. }
  2251. this.form.ultrafiltration_rate = "";
  2252. this.form.arterial_pressure = "";
  2253. this.form.arterial_pressure_type = 1;
  2254. this.form.sodium_concentration = "";
  2255. this.form.dialysate_temperature = "";
  2256. this.form.replacement_rate = "";
  2257. this.form.displacement_quantity = "";
  2258. this.form.conductivity = "";
  2259. this.form.displacement_flow_quantity = "";
  2260. this.form.heparin = "";
  2261. this.form.dialysate_flow = "";
  2262. this.form.ktv = "";
  2263. this.form.symptom = "";
  2264. this.form.dispose = "";
  2265. this.form.result = "";
  2266. this.symptom_selecteds = [];
  2267. this.dispose_selecteds = [];
  2268. this.result_selecteds = [];
  2269. this.form.urr = "";
  2270. this.form.blood_sugar = "";
  2271. this.form.monitor_anticoagulant = "";
  2272. this.form.monitor_anticoagulant_value = "";
  2273. this.form.accumulated_blood_volume = "";
  2274. this.form.blood_temperature = "";
  2275. this.form.urea_monitoring = "";
  2276. this.form.blood_thickness = "";
  2277. this.form.blood_monitor = "";
  2278. this.form.dehydration = "";
  2279. this.form.heparin_amount = "";
  2280. this.form.filter_pressure =""
  2281. } else {
  2282. (this.form.id = monitor.id),
  2283. // this.form.operate_date = monitor.operate_date
  2284. // this.form.monitoring_time = monitor.monitoring_time
  2285. (this.form.operate_time = monitor.operate_time * 1000);
  2286. this.form.systolic_bp = monitor.systolic_blood_pressure
  2287. ? monitor.systolic_blood_pressure
  2288. : "";
  2289. this.form.temperature = monitor.temperature ? monitor.temperature : "";
  2290. this.form.diastolic_bp = monitor.diastolic_blood_pressure
  2291. ? monitor.diastolic_blood_pressure
  2292. : "";
  2293. this.form.pulse_frequency = monitor.pulse_frequency
  2294. ? monitor.pulse_frequency
  2295. : "";
  2296. this.form.breathing_rated = monitor.breathing_rate
  2297. ? monitor.breathing_rate
  2298. : "";
  2299. this.form.blood_flow_volume = monitor.blood_flow_volume
  2300. ? monitor.blood_flow_volume
  2301. : "";
  2302. this.form.venous_pressure = monitor.venous_pressure
  2303. ? monitor.venous_pressure
  2304. : "";
  2305. this.form.venous_pressure_type = monitor.venous_pressure_type
  2306. ? monitor.venous_pressure_type
  2307. : "";
  2308. this.form.transmembrane_pressure = monitor.transmembrane_pressure
  2309. ? monitor.transmembrane_pressure
  2310. : "";
  2311. this.form.transmembrane_pressure_type =
  2312. monitor.transmembrane_pressure_type
  2313. ? monitor.transmembrane_pressure_type
  2314. : "";
  2315. if(this.org_id == 9671 || this.org_id == 10440){
  2316. this.form.ultrafiltration_volume = monitor.ultrafiltration_volume
  2317. ? monitor.ultrafiltration_volume
  2318. : "0";
  2319. }
  2320. if(this.org_id != 9671 && this.org_id !=10440){
  2321. this.form.ultrafiltration_volume = monitor.ultrafiltration_volume
  2322. ? monitor.ultrafiltration_volume
  2323. : "";
  2324. }
  2325. this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
  2326. ? monitor.ultrafiltration_rate
  2327. : "";
  2328. if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
  2329. this.form.arterial_pressure = monitor.arterial_pressure
  2330. ? monitor.arterial_pressure
  2331. : "-100";
  2332. }else{
  2333. this.form.arterial_pressure = monitor.arterial_pressure
  2334. ? monitor.arterial_pressure
  2335. : "";
  2336. }
  2337. this.form.arterial_pressure_type = monitor.arterial_pressure_type
  2338. ? monitor.arterial_pressure_type
  2339. : "";
  2340. this.form.sodium_concentration = monitor.sodium_concentration
  2341. ? monitor.sodium_concentration
  2342. : "";
  2343. this.form.dialysate_temperature = monitor.dialysate_temperature
  2344. ? monitor.dialysate_temperature
  2345. : "";
  2346. this.form.replacement_rate = monitor.replacement_rate
  2347. ? monitor.replacement_rate
  2348. : "";
  2349. this.form.displacement_quantity = monitor.displacement_quantity
  2350. ? monitor.displacement_quantity
  2351. : "";
  2352. this.form.conductivity = monitor.conductivity
  2353. ? monitor.conductivity
  2354. : "";
  2355. this.form.displacement_flow_quantity =
  2356. monitor.displacement_flow_quantity
  2357. ? monitor.displacement_flow_quantity
  2358. : "";
  2359. this.form.heparin = monitor.heparin ? monitor.heparin : "";
  2360. this.form.dialysate_flow = monitor.dialysate_flow
  2361. ? monitor.dialysate_flow
  2362. : "";
  2363. this.form.ktv = monitor.ktv ? monitor.ktv : "";
  2364. this.form.symptom = monitor.symptom;
  2365. this.form.dispose = monitor.dispose;
  2366. this.form.result = monitor.result;
  2367. this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:"/"
  2368. this.form.urr = monitor.urr ? monitor.urr : "";
  2369. this.form.blood_sugar = monitor.blood_sugar ? monitor.blood_sugar : "";
  2370. this.form.monitor_anticoagulant = monitor.monitor_anticoagulant
  2371. ? monitor.monitor_anticoagulant
  2372. : "";
  2373. this.form.monitor_anticoagulant_value =
  2374. monitor.monitor_anticoagulant_value
  2375. ? monitor.monitor_anticoagulant_value
  2376. : "";
  2377. this.form.accumulated_blood_volume = monitor.accumulated_blood_volume
  2378. ? monitor.accumulated_blood_volume
  2379. : "";
  2380. this.form.blood_temperature = monitor.blood_temperature
  2381. ? monitor.blood_temperature
  2382. : "";
  2383. this.form.urea_monitoring = monitor.urea_monitoring
  2384. ? monitor.urea_monitoring
  2385. : "";
  2386. this.form.blood_thickness = monitor.blood_thickness
  2387. ? monitor.blood_thickness
  2388. : "";
  2389. this.form.blood_monitor = monitor.blood_monitor
  2390. ? monitor.blood_monitor
  2391. : "";
  2392. this.form.dehydration = monitor.dehydration ? monitor.dehydration : "";
  2393. this.form.heparin_amount = monitor.heparin_amount
  2394. ? monitor.heparin_amount
  2395. : "";
  2396. this.form.filter_pressure = monitor.filter_pressure
  2397. ? monitor.filter_pressure
  2398. : "";
  2399. this.form.replacement_speed = monitor.replacement_speed?monitor.replacement_speed:""
  2400. this.form.dicarbonate = monitor.dicarbonate?monitor.dicarbonate:""
  2401. this.form.is_pressure = monitor.is_pressure
  2402. // 设置三个下拉框的值,直接调用事件偷懒
  2403. this.symptomTextareaBlur();
  2404. this.disposeTextareaBlur();
  2405. this.resultTextareaBlur();
  2406. }
  2407. },
  2408. submitAction: function (form) {
  2409. // TODO loading
  2410. this.$refs[form].validate((valid) => {
  2411. if (valid) {
  2412. this.loading = true
  2413. console.log("aaaa")
  2414. var is_new = this.form.id;
  2415. this.form.operate_time = parseInt(this.form.operate_time / 1000);
  2416. this.form.systolic_bp =
  2417. parseFloat(this.form.systolic_bp) == NaN
  2418. ? 0
  2419. : parseFloat(this.form.systolic_bp);
  2420. this.form.diastolic_bp =
  2421. parseFloat(this.form.diastolic_bp) == NaN
  2422. ? 0
  2423. : parseFloat(this.form.diastolic_bp);
  2424. this.form.temperature =
  2425. parseFloat(this.form.temperature) == NaN
  2426. ? 0
  2427. : parseFloat(this.form.temperature);
  2428. this.form.pulse_frequency =
  2429. parseFloat(this.form.pulse_frequency) == NaN ? 0: parseFloat(this.form.pulse_frequency);
  2430. this.form.breathing_rated = this.form.breathing_rated
  2431. this.form.blood_flow_volume =
  2432. parseFloat(this.form.blood_flow_volume) == NaN
  2433. ? 0
  2434. : parseFloat(this.form.blood_flow_volume);
  2435. this.form.venous_pressure =
  2436. parseFloat(this.form.venous_pressure) == NaN
  2437. ? 0
  2438. : parseFloat(this.form.venous_pressure);
  2439. this.form.venous_pressure_type =
  2440. parseFloat(this.form.venous_pressure_type) == NaN
  2441. ? 1
  2442. : parseFloat(this.form.venous_pressure_type);
  2443. this.form.transmembrane_pressure =
  2444. parseFloat(this.form.transmembrane_pressure) == NaN
  2445. ? 0
  2446. : parseFloat(this.form.transmembrane_pressure);
  2447. this.form.transmembrane_pressure_type =
  2448. parseFloat(this.form.transmembrane_pressure_type) == NaN
  2449. ? 1
  2450. : parseFloat(this.form.transmembrane_pressure_type);
  2451. this.form.ultrafiltration_volume =
  2452. parseFloat(this.form.ultrafiltration_volume) == NaN
  2453. ? 0
  2454. : parseFloat(this.form.ultrafiltration_volume);
  2455. this.form.ultrafiltration_rate =
  2456. parseFloat(this.form.ultrafiltration_rate) == NaN
  2457. ? 0
  2458. : parseFloat(this.form.ultrafiltration_rate);
  2459. this.form.arterial_pressure =
  2460. parseFloat(this.form.arterial_pressure) == NaN
  2461. ? 0
  2462. : parseFloat(this.form.arterial_pressure);
  2463. this.form.arterial_pressure_type =
  2464. parseFloat(this.form.arterial_pressure_type) == NaN
  2465. ? 1
  2466. : parseFloat(this.form.arterial_pressure_type);
  2467. this.form.sodium_concentration =
  2468. parseFloat(this.form.sodium_concentration) == NaN
  2469. ? 0
  2470. : parseFloat(this.form.sodium_concentration);
  2471. this.form.dialysate_temperature =
  2472. parseFloat(this.form.dialysate_temperature) == NaN
  2473. ? 0
  2474. : parseFloat(this.form.dialysate_temperature);
  2475. this.form.replacement_rate =
  2476. parseFloat(this.form.replacement_rate) == NaN
  2477. ? 0
  2478. : parseFloat(this.form.replacement_rate);
  2479. this.form.displacement_quantity =
  2480. parseFloat(this.form.displacement_quantity) == NaN
  2481. ? 0
  2482. : parseFloat(this.form.displacement_quantity);
  2483. this.form.conductivity =
  2484. parseFloat(this.form.conductivity) == NaN
  2485. ? 0
  2486. : parseFloat(this.form.conductivity);
  2487. this.form.displacement_flow_quantity =
  2488. parseFloat(this.form.displacement_flow_quantity) == NaN
  2489. ? 0
  2490. : parseFloat(this.form.displacement_flow_quantity);
  2491. this.form.heparin =
  2492. parseFloat(this.form.heparin) == NaN
  2493. ? 0
  2494. : parseFloat(this.form.heparin);
  2495. this.form.dialysate_flow =
  2496. parseFloat(this.form.dialysate_flow) == NaN
  2497. ? 0
  2498. : parseFloat(this.form.dialysate_flow);
  2499. this.form.ktv =
  2500. parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
  2501. this.form.monitoring_date = parseInt(this.form.monitoring_date);
  2502. this.form.urr = this.form.urr;
  2503. this.form.blood_sugar =
  2504. parseFloat(this.form.blood_sugar) == NaN
  2505. ? 0
  2506. : parseFloat(this.form.blood_sugar);
  2507. this.form.monitor_anticoagulant = parseInt(
  2508. this.form.monitor_anticoagulant
  2509. );
  2510. this.form.monitor_anticoagulant_value =
  2511. this.form.monitor_anticoagulant_value;
  2512. this.form.blood_pressure_monitoring_site = parseInt(
  2513. this.form.blood_pressure_monitoring_site
  2514. );
  2515. this.form.complication = parseInt(this.form.complication);
  2516. this.form.blood_temperature =
  2517. parseFloat(this.form.blood_temperature) == NaN
  2518. ? 0
  2519. : parseFloat(this.form.blood_temperature);
  2520. this.form.accumulated_blood_volume =
  2521. parseFloat(this.form.accumulated_blood_volume) == NaN
  2522. ? 0
  2523. : parseFloat(this.form.accumulated_blood_volume);
  2524. this.form.urea_monitoring =
  2525. parseFloat(this.form.urea_monitoring) == NaN
  2526. ? 0
  2527. : parseFloat(this.form.urea_monitoring);
  2528. this.form.blood_thickness =
  2529. parseFloat(this.form.blood_thickness) == NaN
  2530. ? 0
  2531. : parseFloat(this.form.blood_thickness);
  2532. this.form.blood_monitor =
  2533. parseFloat(this.form.blood_monitor) == NaN
  2534. ? 0
  2535. : parseFloat(this.form.blood_monitor);
  2536. this.form.heparin_amount =
  2537. parseFloat(this.form.heparin_amount) == NaN
  2538. ? 0
  2539. : parseFloat(this.form.heparin_amount);
  2540. this.form.dehydration =
  2541. parseFloat(this.form.dehydration) == NaN
  2542. ? 0
  2543. : parseFloat(this.form.dehydration);
  2544. this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
  2545. this.form.replacement_speed =
  2546. parseFloat(this.form.replacement_speed) == NaN
  2547. ? 0
  2548. : parseFloat(this.form.replacement_speed);
  2549. this.form.dicarbonate =parseFloat(this.form.dicarbonate) == NaN ? 0: parseFloat(this.form.dicarbonate);
  2550. this.form.is_pressure = this.form.is_pressure
  2551. let mode = "1";
  2552. if (this.form.id > 0) {
  2553. mode = "2";
  2554. if (
  2555. this.creator > 0 &&
  2556. this.creator != this.$store.getters.xt_user.user.id
  2557. ) {
  2558. mode = "3";
  2559. }
  2560. }
  2561. editMonitor(this.patient_id, this.schedule_date, this.form, mode).then(
  2562. (rs) => {
  2563. var resp = rs.data;
  2564. if (resp.state == 1) {
  2565. var monitor = resp.data.monitor;
  2566. if (this.isAdd) {
  2567. this.monitors.unshift(monitor);
  2568. this.monitors.sort((a, b) => b.operate_time - a.operate_time);
  2569. this.monitors.reverse();
  2570. } else {
  2571. for (let index = 0; index < this.monitors.length; index++) {
  2572. const m = this.monitors[index];
  2573. if (m.id == monitor.id) {
  2574. for (const key in monitor) {
  2575. m[key] = monitor[key];
  2576. }
  2577. break;
  2578. }
  2579. }
  2580. }
  2581. this.reset();
  2582. } else {
  2583. this.form.systolic_bp =
  2584. parseFloat(this.form.systolic_bp) == NaN
  2585. ? 0
  2586. : parseFloat(this.form.systolic_bp);
  2587. this.form.diastolic_bp =
  2588. parseFloat(this.form.diastolic_bp) == NaN
  2589. ? 0
  2590. : parseFloat(this.form.diastolic_bp);
  2591. this.form.temperature =
  2592. parseFloat(this.form.temperature) == NaN
  2593. ? 0
  2594. : parseFloat(this.form.temperature);
  2595. this.form.pulse_frequency =parseFloat(this.form.pulse_frequency) == NaN? 0 : parseFloat(this.form.pulse_frequency);
  2596. this.form.breathing_rated = this.form.breathing_rated
  2597. this.form.blood_flow_volume =
  2598. parseFloat(this.form.blood_flow_volume) == NaN
  2599. ? 0
  2600. : parseFloat(this.form.blood_flow_volume);
  2601. this.form.venous_pressure =
  2602. parseFloat(this.form.venous_pressure) == NaN
  2603. ? 0
  2604. : parseFloat(this.form.venous_pressure);
  2605. this.form.venous_pressure_type =
  2606. parseFloat(this.form.venous_pressure_type) == NaN
  2607. ? 1
  2608. : parseFloat(this.form.venous_pressure_type);
  2609. this.form.transmembrane_pressure =
  2610. parseFloat(this.form.transmembrane_pressure) == NaN
  2611. ? 0
  2612. : parseFloat(this.form.transmembrane_pressure);
  2613. this.form.transmembrane_pressure_type =
  2614. parseFloat(this.form.transmembrane_pressure_type) == NaN
  2615. ? 1
  2616. : parseFloat(this.form.transmembrane_pressure_type);
  2617. this.form.ultrafiltration_volume =
  2618. parseFloat(this.form.ultrafiltration_volume) == NaN
  2619. ? 0
  2620. : parseFloat(this.form.ultrafiltration_volume);
  2621. this.form.ultrafiltration_rate =
  2622. parseFloat(this.form.ultrafiltration_rate) == NaN
  2623. ? 0
  2624. : parseFloat(this.form.ultrafiltration_rate);
  2625. this.form.arterial_pressure =
  2626. parseFloat(this.form.arterial_pressure) == NaN
  2627. ? 0
  2628. : parseFloat(this.form.arterial_pressure);
  2629. this.form.arterial_pressure_type =
  2630. parseFloat(this.form.arterial_pressure_type) == NaN
  2631. ? 1
  2632. : parseFloat(this.form.arterial_pressure_type);
  2633. this.form.sodium_concentration =
  2634. parseFloat(this.form.sodium_concentration) == NaN
  2635. ? 0
  2636. : parseFloat(this.form.sodium_concentration);
  2637. this.form.dialysate_temperature =
  2638. parseFloat(this.form.dialysate_temperature) == NaN
  2639. ? 0
  2640. : parseFloat(this.form.dialysate_temperature);
  2641. this.form.replacement_rate =
  2642. parseFloat(this.form.replacement_rate) == NaN
  2643. ? 0
  2644. : parseFloat(this.form.replacement_rate);
  2645. this.form.displacement_quantity =
  2646. parseFloat(this.form.displacement_quantity) == NaN
  2647. ? 0
  2648. : parseFloat(this.form.displacement_quantity);
  2649. this.form.conductivity =
  2650. parseFloat(this.form.conductivity) == NaN
  2651. ? 0
  2652. : parseFloat(this.form.conductivity);
  2653. this.form.displacement_flow_quantity =
  2654. parseFloat(this.form.displacement_flow_quantity) == NaN
  2655. ? 0
  2656. : parseFloat(this.form.displacement_flow_quantity);
  2657. this.form.heparin =
  2658. parseFloat(this.form.heparin) == NaN
  2659. ? 0
  2660. : parseFloat(this.form.heparin);
  2661. this.form.dialysate_flow =
  2662. parseFloat(this.form.dialysate_flow) == NaN
  2663. ? 0
  2664. : parseFloat(this.form.dialysate_flow);
  2665. this.form.ktv =
  2666. parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
  2667. this.form.urr = this.form.urr;
  2668. this.form.blood_sugar =
  2669. parseFloat(this.form.blood_sugar) == NaN
  2670. ? 0
  2671. : parseFloat(this.form.blood_sugar);
  2672. this.form.monitor_anticoagulant = parseInt(
  2673. this.form.monitor_anticoagulant
  2674. );
  2675. this.form.monitor_anticoagulant_value =
  2676. this.form.monitor_anticoagulant_value;
  2677. this.form.blood_pressure_monitoring_site =
  2678. this.form.blood_pressure_monitoring_site;
  2679. this.form.complication = this.form.complication;
  2680. this.form.blood_temperature =
  2681. parseFloat(this.form.blood_temperature) == NaN
  2682. ? 0
  2683. : parseFloat(this.form.blood_temperature);
  2684. this.form.accumulated_blood_volume =
  2685. parseFloat(this.form.accumulated_blood_volume) == NaN
  2686. ? 0
  2687. : parseFloat(this.form.accumulated_blood_volume);
  2688. this.form.urea_monitoring =
  2689. parseFloat(this.form.urea_monitoring) == NaN
  2690. ? 0
  2691. : parseFloat(this.form.urea_monitoring);
  2692. this.form.blood_thickness =
  2693. parseFloat(this.form.blood_thickness) == NaN
  2694. ? 0
  2695. : parseFloat(this.form.blood_thickness);
  2696. this.form.blood_monitor =
  2697. parseFloat(this.form.blood_monitor) == NaN
  2698. ? 0
  2699. : parseFloat(this.form.blood_monitor);
  2700. this.form.dehydration =
  2701. parseFloat(this.form.dehydration) == NaN
  2702. ? 0
  2703. : parseFloat(this.form.dehydration);
  2704. this.form.heparin_amount =
  2705. parseFloat(this.form.heparin_amount) == NaN
  2706. ? 0
  2707. : parseFloat(this.form.heparin_amount);
  2708. this.$message.error(resp.msg);
  2709. if(resp.code == 600000008){
  2710. this.infoDialogVisible = true
  2711. }
  2712. }
  2713. }
  2714. );
  2715. this.loading = false
  2716. } else {
  2717. console.log('error submit!!');
  2718. return false;
  2719. }
  2720. });
  2721. },
  2722. symptomTextareaBlur: function () {
  2723. if (this.form.symptom.length > 0) {
  2724. this.symptom_selecteds = this.form.symptom.split(",");
  2725. } else {
  2726. this.symptom_selecteds = [];
  2727. }
  2728. },
  2729. symptomSelectorChange: function () {
  2730. if (this.symptom_selecteds.length > 0) {
  2731. this.form.symptom = this.symptom_selecteds.join(",") + ",";
  2732. } else {
  2733. this.form.symptom = "";
  2734. }
  2735. },
  2736. disposeTextareaBlur: function () {
  2737. if (this.form.dispose.length > 0) {
  2738. this.dispose_selecteds = this.form.dispose.split(",");
  2739. } else {
  2740. this.dispose_selecteds = [];
  2741. }
  2742. },
  2743. disposeSelectorChange: function () {
  2744. if (this.dispose_selecteds.length > 0) {
  2745. this.form.dispose = this.dispose_selecteds.join(",") + ",";
  2746. } else {
  2747. this.form.dispose = "";
  2748. }
  2749. },
  2750. resultTextareaBlur: function () {
  2751. if (this.form.result.length > 0) {
  2752. this.result_selecteds = this.form.result.split(",");
  2753. } else {
  2754. this.result_selecteds = [];
  2755. }
  2756. },
  2757. setRecords(records) {
  2758. this.monitors = records;
  2759. },
  2760. resultSelectorChange: function () {
  2761. if (this.result_selecteds.length > 0) {
  2762. this.form.result = this.result_selecteds.join(",") + ",";
  2763. } else {
  2764. this.form.result = "";
  2765. }
  2766. },
  2767. deleteRecordAction: function () {
  2768. if (this.table_current_row == null) {
  2769. this.$message.error("请选择一条监测记录");
  2770. return;
  2771. }
  2772. this.$confirm("删除记录", "是否删除该监测记录", {
  2773. confirmButtonText: "确定",
  2774. cancelButtonText: "取消",
  2775. type: "warning",
  2776. })
  2777. .then(() => {
  2778. let mode = "4";
  2779. if (
  2780. this.table_current_row.creator > 0 &&
  2781. this.table_current_row.creator !=
  2782. this.$store.getters.xt_user.user.id
  2783. ) {
  2784. mode = "5";
  2785. }
  2786. const params = {
  2787. patient_id: this.patient_id,
  2788. record_id: this.table_current_row.id,
  2789. mode: mode,
  2790. };
  2791. postDelMonitorInfo(params).then((response) => {
  2792. if (response.data.state == 0) {
  2793. this.$message.error(response.data.msg);
  2794. return false;
  2795. } else {
  2796. const record_id = response.data.data.record_id;
  2797. for (let i = 0; i < this.monitors.length; i++) {
  2798. if (this.monitors[i].id == record_id) {
  2799. this.monitors.splice(i, 1);
  2800. }
  2801. }
  2802. this.$message.success("删除成功");
  2803. if(response.data.code =600000008){
  2804. this.infoDialogVisible = true
  2805. }
  2806. }
  2807. });
  2808. })
  2809. .catch(() => {});
  2810. },
  2811. getPermission() {
  2812. request
  2813. .get("/api/func_per/get", {
  2814. params: {
  2815. create_url: "/api/dislysis/monitor/edit?mode=1",
  2816. modify_url: "/api/dislysis/monitor/edit?mode=2",
  2817. modify_other_url: "/api/dislysis/monitor/edit?mode=3",
  2818. del_url: "/api/dialysis/monitor/del?mode=4",
  2819. del_other_url: "/api/dialysis/monitor/del?mode=5",
  2820. module: 7,
  2821. },
  2822. })
  2823. .then((res) => {
  2824. console.log(res);
  2825. if (res.data.state == 0) {
  2826. this.hasPermission = false;
  2827. } else if (res.data.state == 1) {
  2828. this.is_has_create = res.data.data.is_has_create;
  2829. this.is_has_exce = res.data.data.is_has_exce;
  2830. this.is_has_check = res.data.data.is_has_check;
  2831. this.is_has_modify = res.data.data.is_has_modify;
  2832. this.is_has_modify_other = res.data.data.is_has_modify_other;
  2833. this.is_has_modify_exce = res.data.data.is_has_modify_exce;
  2834. this.is_has_del = res.data.data.is_has_del;
  2835. this.is_has_del_other = res.data.data.is_has_del_other;
  2836. }
  2837. });
  2838. },
  2839. getBloodPressure(id) {
  2840. var name = "";
  2841. for (let i = 0; i < this.bloodPressureMmonitoringSite.length; i++) {
  2842. if (id == this.bloodPressureMmonitoringSite[i].id) {
  2843. name = this.bloodPressureMmonitoringSite[i].name;
  2844. }
  2845. }
  2846. return name;
  2847. },
  2848. getComplication(id) {
  2849. var name = "";
  2850. for (let i = 0; i < this.complicationList.length; i++) {
  2851. if (id == this.complicationList[i].id) {
  2852. name = this.complicationList[i].name;
  2853. }
  2854. }
  2855. return name;
  2856. },
  2857. saveInformation(){
  2858. var params = {
  2859. selected_date:this.selected_date,
  2860. patient_id:this.$route.query.patient_id,
  2861. record_date:this.$route.query.date,
  2862. module:7,
  2863. remark:this.remark,
  2864. }
  2865. saveInformation(params).then(response=>{
  2866. if(response.data.state == 1){
  2867. var information = response.data.data.information
  2868. this.$message.success("提交成功!")
  2869. this.infoDialogVisible = false
  2870. }
  2871. })
  2872. }
  2873. },
  2874. watch: {
  2875. patient: {
  2876. handler(newVal) {
  2877. this.patient_id = newVal.id;
  2878. },
  2879. deep: true,
  2880. },
  2881. },
  2882. };
  2883. </script>
  2884. <style style="stylesheet/scss" lang="scss" scoped>
  2885. .grid {
  2886. padding: 10px 0 20px 0;
  2887. .list {
  2888. ul {
  2889. @include display-flex;
  2890. @include align-items-center;
  2891. @include text-align;
  2892. @include justify-content-around;
  2893. cursor: pointer;
  2894. li {
  2895. font-size: 12px;
  2896. color: #5d6b7a;
  2897. margin-top: 20px;
  2898. p {
  2899. height: 30px;
  2900. line-height: 30px;
  2901. color: #34495e;
  2902. font-size: 14px;
  2903. }
  2904. img {
  2905. width: 50px;
  2906. height: 50px;
  2907. }
  2908. }
  2909. }
  2910. }
  2911. }
  2912. .txsj {
  2913. text-align: center;
  2914. margin-bottom: 20px;
  2915. }
  2916. .current-box-class::-webkit-scrollbar {
  2917. height: 20px; /*滚动条高度*/
  2918. }
  2919. </style>
  2920. <style style="stylesheet/scss" lang="scss">
  2921. .dialog_box .current-box-class .current-row > td {
  2922. background: #6fb5fa;
  2923. // color: #000;
  2924. /* font-size: 12px; */
  2925. }
  2926. .dialog_box .current-box-class .current-row:hover > td {
  2927. background: #6fb5fa;
  2928. // color: white;
  2929. /* font-size: 12px; */
  2930. }
  2931. .el-table__body-wrapper::-webkit-scrollbar {
  2932. height: 20px;
  2933. }
  2934. .dialog_box .current-box-class .current-row {
  2935. background: #87ceff;
  2936. }
  2937. .dialog_box tr:hover > td {
  2938. background-color: #ecf5ff !important;
  2939. color: #3a8ee6;
  2940. }
  2941. .dialog_box tr > td:hover {
  2942. background-color: #409eff !important;
  2943. color: #fff !important;
  2944. }
  2945. </style>