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

monitor_dialog.vue 107KB

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