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

monitor_dialog.vue 106KB

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