assessmentAfter.vue 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="DetailsTit">
  4. <span>{{ title }}</span>
  5. </h2>
  6. <div class="plate">
  7. <ul>
  8. <li v-if="isShow('舒张压')">
  9. <label>舒张压 : </label>
  10. <span class="content" v-if="diastolic_blood_pressure != '0'">{{
  11. diastolic_blood_pressure
  12. }}</span>
  13. <span class="unit" v-if="diastolic_blood_pressure != '0'">mmHg</span>
  14. </li>
  15. <li v-if="isShow('实际超滤量')">
  16. <label>实际超滤量: </label>
  17. <span class="content" v-if="actual_ultrafiltration != '0'">{{
  18. actual_ultrafiltration
  19. }}</span>
  20. <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 17) " >ml</span>
  21. <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 " >L</span>
  22. </li>
  23. <li v-if="isShow('导管')">
  24. <label>导管 : </label>
  25. <span class="content">{{ catheter }}</span>
  26. </li>
  27. <li v-if="isShow('体温')">
  28. <label>体温 : </label>
  29. <span class="content" v-if="this.record.temperature">{{
  30. this.record.temperature
  31. }}</span>
  32. <span class="unit" v-if="this.record.temperature">℃</span>
  33. </li>
  34. <li v-if="isShow('血管通路部位')">
  35. <label>血管通路部位 : </label>
  36. <span class="content">{{ blood_access_part }}</span>
  37. </li>
  38. <li v-if="isShow('实际置换量')">
  39. <label>实际置换量 : </label>
  40. <span class="content">{{ actual_displacement }}</span>
  41. <span class="unit">ml</span>
  42. </li>
  43. <li v-if="isShow('压迫后内瘘震颤')">
  44. <label>压迫后内瘘震颤: </label>
  45. <span class="content">{{ getInternal() }}</span>
  46. </li>
  47. <li v-if="isShow('实际治疗时长')">
  48. <label>实际治疗时长 : </label>
  49. <span class="content" v-if="this.record.actual_treatment_hour"
  50. >{{ this.record.actual_treatment_hour }}小时</span
  51. >
  52. <span class="content" v-if="this.record.actual_treatment_minute"
  53. >{{ this.record.actual_treatment_minute }}分钟</span
  54. >
  55. </li>
  56. <li v-if="isShow('其他观察内容') && patient_gose == 3">
  57. <label>其他观察内容 : </label>
  58. <span class="content">{{
  59. this.record.observation_content_other
  60. }}</span>
  61. </li>
  62. <li
  63. v-if="this.record.dialysis_process == 2 && isShow('透析过程提前原因')"
  64. >
  65. <label for="tw">透析过程提前原因 : </label>
  66. <span class="content" id="tw">{{
  67. this.record.in_advance_reason
  68. }}</span>
  69. </li>
  70. <li v-if="isShow('内瘘震颤和血管杂音')">
  71. <label for="sjzl">内瘘震颤和血管杂音 : </label>
  72. <span id="sjzl" class="content">{{
  73. getTremorNoise(this.record.tremor_noise)
  74. }}</span>
  75. </li>
  76. <li v-if="isShow('动脉管道')">
  77. <label for="xgtlcz">动脉管道: </label>
  78. <span id="xgtlcz" class="content">{{ getArterialTubeName(this.record.arterial_tube) }}</span>
  79. </li>
  80. <li v-if="isShow('透析期间进食')">
  81. <label for="bzh">透析期间进食: </label>
  82. <span id="bzh" class="content">{{ eat_name }}</span>
  83. </li>
  84. <li v-if="isShow('回血')">
  85. <label>回血: </label>
  86. <span class="content" >{{ this.record.return_blood ? this.record.return_blood : "" }}</span>
  87. <span class="unit">{{ this.record.return_blood ? "ml" : "" }}</span>
  88. </li>
  89. <li v-if="isShow('补液量')">
  90. <label>补液量: </label>
  91. <span class="content" >{{ this.record.rehydration_volume ? this.record.rehydration_volume : "" }}</span>
  92. <span class="unit">{{ this.record.rehydration_volume ? "ml" : "" }}</span>
  93. </li>
  94. <li v-if="isShow('血流量')">
  95. <label>血流量: </label>
  96. <span id="xgtlcz" class="content">{{ getBloodFlowName(this.record.blood_flow) }}</span>
  97. </li>
  98. <li v-if="isShow('封管液配置')">
  99. <label>封管液配置: </label>
  100. <span class="content">{{ getSealingFluidDisposeName(this.record.sealing_fluid_dispose) }}</span>
  101. </li>
  102. <li v-if="isShow('封管液特殊') && getSealingFluidDisposeName(this.record.sealing_fluid_dispose) == '特殊'">
  103. <label>封管液配置(特殊): </label>
  104. <span class="content">{{ sealing_fluid_special }}</span>
  105. </li>
  106. <!-- <li style="height: 0.6rem;">
  107. <label></label>
  108. </li> -->
  109. </ul>
  110. <ul>
  111. <li v-if="isShow('收缩压')">
  112. <label>收缩压 : </label>
  113. <span class="content" v-if="systolic_blood_pressure != '0'">{{
  114. systolic_blood_pressure
  115. }}</span>
  116. <span class="unit" v-if="systolic_blood_pressure != '0'">mmHg</span>
  117. </li>
  118. <li v-if="isShow('透析器凝血')">
  119. <label>透析器凝血 : </label>
  120. <span class="content">{{ cruor }}</span>
  121. </li>
  122. <li v-if="isShow('穿刺处血肿')">
  123. <label>穿刺处血肿 : </label>
  124. <span class="content">{{ puncture_point_haematoma_name }}</span>
  125. </li>
  126. <li v-if="isShow('呼吸频率')">
  127. <label>呼吸频率 : </label>
  128. <span class="content" v-if="this.record.breathing_rate">{{
  129. this.record.breathing_rate
  130. }}</span>
  131. <span class="unit" v-if="this.record.breathing_rate">次/min</span>
  132. </li>
  133. <li v-if="isShow('血管通路操作')">
  134. <label>血管通路操作: </label>
  135. <span class="content">{{ blood_access_opera }}</span>
  136. </li>
  137. <li v-if="isShow('透后症状')">
  138. <label>透后症状 : </label>
  139. <span class="content">{{ symptom_after_dialysis }}</span>
  140. </li>
  141. <li v-if="isShow('透析中入量')">
  142. <label>透析中入量: </label>
  143. <span class="content"
  144. >{{ this.record.dialysis_intakes
  145. }}{{ getUnit(this.record.dialysis_intakes_unit) }}</span
  146. >
  147. </li>
  148. <li v-if="isShow('拔针后穿刺点渗血')">
  149. <label>拔针后穿刺点渗血: </label>
  150. <span class="content">{{ puncture_point_oozing_blood_name }}</span>
  151. </li>
  152. <li v-if="isShow('内瘘管拔针后压迫止血时间')">
  153. <label for="ml">内瘘管拔针后压迫止血时间 : </label>
  154. <span id="ml" class="content" v-if="this.record.hemostasis_minute">{{ this.record.hemostasis_minute }}min</span>
  155. <span id="ml" class="content" v-else>-min</span>
  156. </li>
  157. <li v-if="isShow('失衡综合症')">
  158. <label for="txzrl">失衡综合症: </label>
  159. <span id="txzrl" class="content">{{
  160. getDisequilibriumSyndrome(this.record.disequilibrium_syndrome)
  161. }}</span>
  162. </li>
  163. <li v-if="isShow('静脉管道')">
  164. <label for="bzh">静脉管道: </label>
  165. <span id="bzh" class="content">{{
  166. getIntravenousTubeName(this.record.intravenous_tube)
  167. }}</span>
  168. </li>
  169. <li v-if="isShow('透析中进食')">
  170. <label>透析中进食: </label>
  171. <span class="content" >{{ this.record.dialysis_during ? this.record.dialysis_during : "" }}</span>
  172. <span class="unit">{{ this.record.dialysis_during ? "ml" : "" }}</span>
  173. </li>
  174. </ul>
  175. <ul>
  176. <li v-if="isShow('透后称重')">
  177. <label>透后称重 : </label>
  178. <span class="content" v-if="weight_after != '0'">{{ weight_after }}</span>
  179. <span class="unit" v-if="weight_after != '0'">kg</span>
  180. </li>
  181. <li v-if="isShow('内瘘')">
  182. <label>内瘘 : </label>
  183. <span class="content">{{ internal_fistula }}</span>
  184. </li>
  185. <li v-if="isShow('科室') && patient_gose == 3">
  186. <label>科室 : </label>
  187. <span class="content">{{ inpatient_department }}</span>
  188. </li>
  189. <li v-if="isShow('脉搏')">
  190. <label>脉搏 : </label>
  191. <span class="content" v-if="this.record.pulse_frequency">{{
  192. this.record.pulse_frequency
  193. }}</span>
  194. <span class="unit" v-if="this.record.pulse_frequency">次/分</span>
  195. </li>
  196. <li v-if="isShow('体重减少')">
  197. <label>体重减少 : </label>
  198. <span class="content" v-if="weight_loss != '0'">{{
  199. weight_loss
  200. }}</span>
  201. <span class="unit" v-if="weight_loss != '0'">kg</span>
  202. </li>
  203. <li v-if="isShow('并发症')">
  204. <label>并发症: </label>
  205. <span class="content">{{ this.record.complication }}</span>
  206. </li>
  207. <li
  208. v-if="patient_gose == 3 && isShow('交待病房护士/患者/陪人观察内容')"
  209. >
  210. <label>交待病房护士/患者/陪人观察内容 : </label>
  211. <span class="content">{{ this.record.observation_content }}</span>
  212. </li>
  213. <li v-if="isShow('患者去向')">
  214. <label>患者去向: </label>
  215. <span class="content">{{ patient_gose_name }}</span>
  216. </li>
  217. <li v-if="isShow('透析过程')">
  218. <label for="tw">透析过程 : </label>
  219. <span class="content" id="tw" v-if="this.record.dialysis_process == 1"
  220. >完成</span
  221. >
  222. <span class="content" id="tw" v-if="this.record.dialysis_process == 2"
  223. >提前{{ this.record.in_advance_minute }}min</span
  224. >
  225. </li>
  226. <li v-if="isShow('内瘘管拔针后压迫止血操作')">
  227. <label for="ml">内瘘管拔针后压迫止血操作 : </label>
  228. <span id="ml" class="content">{{
  229. getOpera(this.record.hemostasis_opera)
  230. }}</span>
  231. </li>
  232. <li
  233. v-if="
  234. this.record.disequilibrium_syndrome == 2 && isShow('失衡综合症症状')
  235. "
  236. >
  237. <label for="txzrl">失衡综合症症状: </label>
  238. <span id="txzrl" class="content">{{
  239. this.record.disequilibrium_syndrome_option
  240. }}</span>
  241. </li>
  242. <li v-if="isShow('透析器')">
  243. <label for="hzqx">透析器: </label>
  244. <span id="hzqx" class="content">{{
  245. getDialyzer(this.record.dialyzer)
  246. }}</span>
  247. </li>
  248. <li v-if="isShow('透析器')">
  249. <label for="hzqx">透析器: </label>
  250. <span id="hzqx" class="content">{{
  251. getDialyzer(this.record.dialyzer)
  252. }}</span>
  253. </li>
  254. <li v-if="isShow('中心静脉封管(肝素-A端)')">
  255. <label for="bzh">中心静脉封管(肝素-A端): </label>
  256. <span class="content" id="tzjs">{{
  257. this.record.cvc_a ? this.record.cvc_a : ""
  258. }}</span>
  259. <span class="unit">{{ this.record.cvc_a ? "ml" : "" }}</span>
  260. </li>
  261. <li v-if="isShow('中心静脉封管(肝素-V端)')">
  262. <label for="bzh">中心静脉封管(肝素-V端): </label>
  263. <span class="content" id="tzjs">{{ this.record.cvc_v ? this.record.cvc_v : "" }}</span>
  264. <span class="unit">{{ this.record.cvc_v ? "ml" : "" }}</span>
  265. </li>
  266. <li v-if="isShow('出量')">
  267. <label>出量: </label>
  268. <span class="content" >{{ this.record.stroke_volume ? this.record.stroke_volume : "" }}</span>
  269. <span class="unit">{{ this.record.stroke_volume ? "ml" : "" }}</span>
  270. </li>
  271. </ul>
  272. </div>
  273. <div class="note">
  274. 备注 : <span>{{ this.record.remark }}</span>
  275. </div>
  276. <div class="middleLine"></div>
  277. </div>
  278. </template>
  279. <script>
  280. import store from '@/store'
  281. import { getDataConfig } from '@/utils/data'
  282. export default {
  283. name: 'DialysisPrescription',
  284. data() {
  285. return {
  286. title: '透后评估 '
  287. }
  288. },
  289. props: {
  290. record: {
  291. type: Object
  292. }
  293. },
  294. computed: {
  295. weight_after: function() {
  296. if (this.record.id == 0) {
  297. return '-'
  298. }
  299. return this.record.weight_after
  300. },
  301. systolic_blood_pressure: function() {
  302. if (this.record.id == 0) {
  303. return '-'
  304. }
  305. return this.record.systolic_blood_pressure
  306. },
  307. actual_ultrafiltration: function() {
  308. if (this.record.id == 0) {
  309. return '-'
  310. }
  311. return this.record.actual_ultrafiltration
  312. },
  313. cruor: function() {
  314. if (this.record.id == 0) {
  315. return '-'
  316. }
  317. return this.record.cruor
  318. },
  319. internal_fistula: function() {
  320. if (this.record == null || this.record.id == '') {
  321. return '-'
  322. }
  323. return this.record.internal_fistula
  324. },
  325. weight_loss: function() {
  326. if (this.record.id == 0) {
  327. return '-'
  328. }
  329. return this.record.weight_loss
  330. },
  331. inpatient_department: function() {
  332. if (this.record.id == 0) {
  333. return '-'
  334. }
  335. return this.record.inpatient_department
  336. },
  337. patient_gose: function() {
  338. if (this.record.id == 0) {
  339. return 0
  340. }
  341. return this.record.patient_gose
  342. },
  343. diastolic_blood_pressure: function() {
  344. if (this.record.id == 0) {
  345. return '-'
  346. }
  347. return this.record.diastolic_blood_pressure
  348. },
  349. actual_displacement: function() {
  350. if (this.record.id == 0) {
  351. return '-'
  352. }
  353. return this.record.actual_displacement
  354. },
  355. symptom_after_dialysis: function() {
  356. if (this.record.id == 0) {
  357. return '-'
  358. }
  359. return this.record.symptom_after_dialysis
  360. },
  361. blood_access_part: function() {
  362. if (this.record.id == 0) {
  363. return '-'
  364. }
  365. const vascular_access = this.$store.getters.vascular_access
  366. const valen = vascular_access.length
  367. let name = '-'
  368. for (var index in vascular_access) {
  369. if (vascular_access[index].id == this.record.blood_access_part_id) {
  370. name = vascular_access[index].name
  371. break
  372. }
  373. }
  374. return name
  375. },
  376. puncture_point_oozing_blood_name: function() {
  377. if (this.record.id == 0) {
  378. return '-'
  379. }
  380. switch (this.record.puncture_point_oozing_blood) {
  381. case 1:
  382. return '有'
  383. break
  384. case 2:
  385. return '无'
  386. break
  387. default:
  388. return '-'
  389. break
  390. }
  391. },
  392. eat_name: function() {
  393. if (this.record == null || this.record.id == '') {
  394. return '-'
  395. }
  396. switch (this.record.is_eat) {
  397. case 1:
  398. return '有'
  399. break
  400. case 2:
  401. return '无'
  402. break
  403. default:
  404. return '-'
  405. break
  406. }
  407. },
  408. patient_gose_name: function() {
  409. if (this.record.id == 0) {
  410. return '-'
  411. }
  412. switch (this.record.patient_gose) {
  413. case 1:
  414. return '离院'
  415. break
  416. case 2:
  417. return '留观'
  418. break
  419. case 3:
  420. return '住院'
  421. break
  422. case 4:
  423. return '门诊'
  424. break
  425. default:
  426. return '-'
  427. break
  428. }
  429. },
  430. blood_access_opera: function() {
  431. if (this.record.id == 0) {
  432. return '-'
  433. }
  434. const vascular_access = this.$store.getters.vascular_access_desc
  435. // console.log(vascular_access);
  436. let name = '-'
  437. for (var index in vascular_access) {
  438. if (
  439. vascular_access[index].id == this.record.blood_access_part_opera_id
  440. ) {
  441. name = vascular_access[index].name
  442. break
  443. }
  444. }
  445. return name
  446. },
  447. catheter: function() {
  448. if (this.record.id == 0) {
  449. return '-'
  450. }
  451. return this.record.catheter
  452. },
  453. puncture_point_haematoma_name: function() {
  454. if (this.record.id == 0) {
  455. return
  456. }
  457. switch (this.record.puncture_point_haematoma) {
  458. case 1:
  459. return '有'
  460. break
  461. case 2:
  462. return '无'
  463. break
  464. default:
  465. return '-'
  466. break
  467. }
  468. },
  469. breathing_rate: function() {
  470. if (this.record.id == 0) {
  471. return '-'
  472. }
  473. return this.record.breathing_rate
  474. },
  475. temperature: function() {
  476. if (this.record.id == 0) {
  477. return '-'
  478. }
  479. return this.record.temperature
  480. },
  481. pulse_frequency: function() {
  482. if (this.record.id == 0) {
  483. return '-'
  484. }
  485. return this.record.pulse_frequency
  486. },
  487. actual_treatment_hour: function() {
  488. if (this.record.id == 0) {
  489. return '-'
  490. }
  491. return this.record.actual_treatment_hour
  492. },
  493. actual_treatment_minute: function() {
  494. if (this.record.id == 0) {
  495. return '-'
  496. }
  497. return this.record.actual_treatment_minute
  498. },
  499. observation_content_other: function() {
  500. if (this.record.id == 0) {
  501. return '-'
  502. }
  503. return this.record.observation_content_other
  504. },
  505. observation_content: function() {
  506. if (this.record.id == 0) {
  507. return '-'
  508. }
  509. return this.record.observation_content
  510. },
  511. complication: function() {
  512. if (this.record.id == 0) {
  513. return '-'
  514. }
  515. return this.record.complication
  516. },
  517. temperature: function() {
  518. if (this.record.id == 0) {
  519. return '-'
  520. }
  521. return this.record.temperature
  522. },
  523. pulse_frequency: function() {
  524. if (this.record.id == 0) {
  525. return '-'
  526. }
  527. return this.record.pulse_frequency
  528. },
  529. actual_treatment_hour: function() {
  530. if (this.record.id == 0) {
  531. return '-'
  532. }
  533. return this.record.actual_treatment_hour
  534. },
  535. actual_treatment_minute: function() {
  536. if (this.record.id == 0) {
  537. return '-'
  538. }
  539. return this.record.actual_treatment_minute
  540. },
  541. dialysis_intakes: function() {
  542. if (this.record.id == 0) {
  543. return '-'
  544. }
  545. return this.record.dialysis_intakes
  546. },
  547. observation_content_other: function() {
  548. if (this.record.id == 0) {
  549. return '-'
  550. }
  551. return this.record.observation_content_other
  552. },
  553. observation_content: function() {
  554. if (this.record.id == 0) {
  555. return '-'
  556. }
  557. return this.record.observation_content
  558. },
  559. complication: function() {
  560. if (this.record.id == 0) {
  561. return '-'
  562. }
  563. return this.record.complication
  564. },
  565. remark: function() {
  566. if (this.record.id == 0) {
  567. return ''
  568. }
  569. return this.record.remark
  570. },
  571. sealing_fluid_special: function() {
  572. if (this.record.id == 0) {
  573. return ''
  574. }
  575. return this.record.sealing_fluid_special
  576. },
  577. in_advance_minute: function() {
  578. if (this.record == null || this.record.id == '') {
  579. return ''
  580. }
  581. return this.record.in_advance_minute
  582. },
  583. in_advance_reason: function() {
  584. if (this.record == null || this.record.id == '') {
  585. return ''
  586. }
  587. return (
  588. this.record.in_advance_reason + ',' + this.record.in_advance_reason_other
  589. )
  590. },
  591. hemostasis_minute: function() {
  592. if (this.record == null || this.record.id == '') {
  593. return ''
  594. }
  595. return this.record.hemostasis_minute
  596. },
  597. in_advance_reason_other: function() {
  598. if (this.record == null || this.record.id == '') {
  599. return ''
  600. }
  601. return this.record.in_advance_reason_other
  602. }
  603. },
  604. methods: {
  605. getInternal: function() {
  606. if (this.record.id == 0) {
  607. return '-'
  608. }
  609. switch (this.record.internal_fistula_tremor_ac) {
  610. case 1:
  611. return '存在'
  612. break
  613. case 2:
  614. return '减弱'
  615. break
  616. case 3:
  617. return '无'
  618. break
  619. default:
  620. return '-'
  621. }
  622. },
  623. getOpera: function(id) {
  624. var hemostasis_opera = this.$store.getters.hemostasis_opera
  625. var hemostasisOperaName = ''
  626. for (let i = 0; i < hemostasis_opera.length; i++) {
  627. if (hemostasis_opera[i].id == id) {
  628. hemostasisOperaName = hemostasis_opera[i].name
  629. }
  630. }
  631. return hemostasisOperaName
  632. },
  633. getTremorNoise: function(id) {
  634. var tremor_noise = this.$store.getters.tremor_noise
  635. var tremorNoiseName = ''
  636. for (let i = 0; i < tremor_noise.length; i++) {
  637. if (tremor_noise[i].id == id) {
  638. tremorNoiseName = tremor_noise[i].name
  639. }
  640. }
  641. return tremorNoiseName
  642. },
  643. getUnit: function(val) {
  644. switch (val) {
  645. case 1:
  646. return 'g'
  647. break
  648. case 2:
  649. return 'ml'
  650. break
  651. }
  652. },
  653. getSealingFluidDisposeName: function(id) {
  654. var sealing_fluid_dispose_arr = getDataConfig('hemodialysis', 'sealing_fluid_dispose')
  655. var sealing_fluid_dispose_name = ''
  656. for (let i = 0; i < sealing_fluid_dispose_arr.length; i++) {
  657. if (sealing_fluid_dispose_arr[i].id == id) {
  658. sealing_fluid_dispose_name = sealing_fluid_dispose_arr[i].name
  659. }
  660. }
  661. return sealing_fluid_dispose_name
  662. },
  663. getDisequilibriumSyndrome: function(id) {
  664. var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome
  665. var disequilibriumSyndromeName = ''
  666. for (let i = 0; i < disequilibrium_syndrome.length; i++) {
  667. if (disequilibrium_syndrome[i].id == id) {
  668. disequilibriumSyndromeName = disequilibrium_syndrome[i].name
  669. }
  670. }
  671. return disequilibriumSyndromeName
  672. },
  673. getDisequilibriumSyndromeOptionName: function(id) {
  674. var disequilibrium_syndrome_option = this.$store.getters
  675. .disequilibrium_syndrome_option
  676. var disequilibriumSyndromeOptionName = ''
  677. for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
  678. if (disequilibrium_syndrome_option[i].id == id) {
  679. disequilibriumSyndromeOptionName =
  680. disequilibrium_syndrome_option[i].name
  681. }
  682. }
  683. return disequilibriumSyndromeOptionName
  684. },
  685. getArterialTubeName: function(id) {
  686. var arterial_tube = this.$store.getters.arterial_tube
  687. var arterialTubeName = ''
  688. for (let i = 0; i < arterial_tube.length; i++) {
  689. if (arterial_tube[i].id == id) {
  690. arterialTubeName = arterial_tube[i].name
  691. }
  692. }
  693. return arterialTubeName
  694. },
  695. getBloodFlowName: function(id) {
  696. var BloodFloowArr = getDataConfig('hemodialysis', 'blood_flow')
  697. var BloodFloowArrName = ''
  698. for (let i = 0; i < BloodFloowArr.length; i++) {
  699. if (BloodFloowArr[i].id == id) {
  700. BloodFloowArrName = BloodFloowArr[i].name
  701. }
  702. }
  703. return BloodFloowArrName
  704. },
  705. getIntravenousTubeName: function(id) {
  706. var intravenous_tube = this.$store.getters.intravenous_tube
  707. var intravenousTubeName = ''
  708. for (let i = 0; i < intravenous_tube.length; i++) {
  709. if (intravenous_tube[i].id == id) {
  710. intravenousTubeName = intravenous_tube[i].name
  711. }
  712. }
  713. return intravenousTubeName
  714. },
  715. getDialyzer: function(id) {
  716. var dialyzer = this.$store.getters.dialyzer
  717. var dialyzerName = ''
  718. for (let i = 0; i < dialyzer.length; i++) {
  719. if (dialyzer[i].id == id) {
  720. dialyzerName = dialyzer[i].name
  721. }
  722. }
  723. return dialyzerName
  724. },
  725. isShow(name) {
  726. var filedList = store.getters.xt_user.fileds
  727. for (let i = 0; i < filedList.length; i++) {
  728. if (
  729. filedList[i].module == 5 &&
  730. filedList[i].filed_name_cn == name &&
  731. filedList[i].is_show == 1
  732. ) {
  733. return true
  734. }
  735. }
  736. return false
  737. }
  738. }
  739. }
  740. </script>
  741. <style rel="stylesheet/scss" lang="scss" scoped></style>