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

assessmentBefore.vue 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  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="weight_before != '0'">{{
  11. weight_before
  12. }}</span>
  13. <span class="unit" v-if="weight_before != '0'">kg</span>
  14. </li>
  15. <li v-if="isShow('干体重')">
  16. <label>干体重 : </label>
  17. <span class="content" v-if="dry_weight != '0'">{{ dry_weight }}</span>
  18. <span class="unit" v-if="dry_weight != '0'">kg</span>
  19. </li>
  20. <li v-if="isShow('脉搏')">
  21. <label>脉搏 : </label>
  22. <span class="content" v-if="pulse_frequency != '0'">{{
  23. pulse_frequency
  24. }}</span>
  25. <span class="unit" v-if="pulse_frequency != '0'">次/分</span>
  26. </li>
  27. <li v-if="isShow('出血')">
  28. <label>出血</label>
  29. <span class="content">{{
  30. is_hemorrhage ? hemorrhage + ";" + hemorrhage_other : "无"
  31. }}</span>
  32. <span class="unit"> </span>
  33. </li>
  34. <li v-if="isShow('透析频次')">
  35. <label>透析频次: </label>
  36. <span class="content">{{
  37. dialysis_count ? dialysis_count : ""
  38. }}</span>
  39. <span class="unit">{{ dialysis_count ? "次/周" : "" }}</span>
  40. </li>
  41. <li v-if="isShow('穿刺针')">
  42. <label>穿刺针 : </label>
  43. <span class="content">{{ this.record.puncture_needle }}</span>
  44. </li>
  45. <li v-if="isShow('位置')">
  46. <label>位置</label>
  47. <span
  48. class="content"
  49. v-if="this.record.venous_catheterization_part != -1"
  50. >{{
  51. getVenousCatheterizationPart(
  52. this.record.venous_catheterization_part
  53. )
  54. }}</span
  55. >
  56. </li>
  57. <li v-if="isShow('其他中心静脉导管')">
  58. <label>其他中心静脉导管:</label>
  59. <span class="content">{{ ductus_arantii_other }}</span>
  60. <span class="unit"> </span>
  61. </li>
  62. <li v-if="isShow('体液过多症状')">
  63. <label>体液过多症状 : </label>
  64. <!-- <span class="content">{{ getHumorExcessiveSymptom(this.record.humor_excessive_symptom) }}</span> -->
  65. <span>{{this.record.humor_excessive_symptom}}</span>
  66. </li>
  67. <li v-if="isShow('其他感染情况')">
  68. <label>其他感染情况:</label>
  69. <span class="content">{{ infect_other }}</span>
  70. <span class="unit"> </span>
  71. </li>
  72. <li v-if="isShow('其他皮肤情况')">
  73. <label>其他皮肤情况:</label>
  74. <span class="content">{{ skin_other }}</span>
  75. <span class="unit"> </span>
  76. </li>
  77. </ul>
  78. <ul>
  79. <li v-if="isShow('收缩压')">
  80. <label>收缩压 : </label>
  81. <span class="content" v-if="systolic_blood_pressure != '0'">{{
  82. systolic_blood_pressure
  83. }}</span>
  84. <span class="unit" v-if="systolic_blood_pressure != '0'">mmHg</span>
  85. </li>
  86. <li v-if="isShow('导管打折')">
  87. <label>导管打折 : </label>
  88. <span class="content" v-if="this.record.catheter_bend == 0"></span>
  89. <span class="content" v-if="this.record.catheter_bend == 1">{{
  90. "有"
  91. }}</span>
  92. <span class="content" v-if="this.record.catheter_bend == 2">{{
  93. "无"
  94. }}</span>
  95. <span class="unit"></span>
  96. </li>
  97. <li v-if="isShow('导管')">
  98. <label>导管 : </label>
  99. <span class="content">{{ catheter }}</span>
  100. <span class="unit"></span>
  101. </li>
  102. <li v-if="isShow('呼吸频率')">
  103. <label>呼吸频率 : </label>
  104. <span class="content" v-if="breathing_rate != '0'">{{
  105. breathing_rate
  106. }}</span>
  107. <span class="unit" v-if="breathing_rate != '0'">次/分</span>
  108. </li>
  109. <li v-if="isShow('并发症')">
  110. <label>并发症: </label>
  111. <span class="content">{{ complication }}</span>
  112. <span class="unit"></span>
  113. </li>
  114. <li v-if="isShow('内瘘')">
  115. <label>内瘘: </label>
  116. <span class="content">{{ internal_fistula }}</span>
  117. <span class="unit"></span>
  118. </li>
  119. <li v-if="isShow('血管通路(内瘘)')">
  120. <label>血管通路(内瘘) : </label>
  121. <span class="content">{{ blood_access_internal_fistula }}</span>
  122. </li>
  123. <li v-if="isShow('穿刺方式')">
  124. <label>穿刺方式 : </label>
  125. <!-- <span class="content">{{ getWay(this.record.puncture_way) }}</span> -->
  126. <span class="content">{{record.puncture_way}}</span>
  127. </li>
  128. <li v-if="isShow('其他位置')">
  129. <label>其他位置</label>
  130. <span
  131. class="content"
  132. v-if="
  133. this.record.venous_catheterization_part_other &&
  134. this.record.venous_catheterization_part_other.length > 0
  135. "
  136. >{{ venous_catheterization_part_other }}</span
  137. >
  138. </li>
  139. <li v-if="isShow('急诊')">
  140. <label>急诊: </label>
  141. <span class="content">{{
  142. getEmergencyTreatment(this.record.emergency_treatment)
  143. }}</span>
  144. <span
  145. class="content"
  146. v-if="
  147. this.record.emergency_treatment_other &&
  148. this.record.emergency_treatment_other.length > 0
  149. "
  150. >,{{ emergency_treatment_other }}</span
  151. >
  152. </li>
  153. <li v-if="isShow('外露')">
  154. <label>外露:</label>
  155. <span class="content">{{
  156. this.record.exposed ? this.record.exposed : ""
  157. }}</span>
  158. <span class="unit">cm</span>
  159. </li>
  160. <li v-if="isShow('血管通路部位')">
  161. <label>血管通路部位:</label>
  162. <!-- <span class="content">{{getBloodAccessPart(this.record.blood_access_part_id)}}</span> -->
  163. <span class="content">{{this.record.blood_access_part_id}}</span>
  164. <span class="unit"> </span>
  165. </li>
  166. </ul>
  167. <ul>
  168. <li v-if="isShow('舒张压')">
  169. <label>舒张压 : </label>
  170. <span class="content" v-if="diastolic_blood_pressure != '0'">{{
  171. diastolic_blood_pressure
  172. }}</span>
  173. <span class="unit" v-if="diastolic_blood_pressure != '0'">mmHg</span>
  174. </li>
  175. <li v-if="isShow('衣物重')">
  176. <label>衣物重 : </label>
  177. <span class="content" v-if="additional_weight != '0'">{{
  178. additional_weight
  179. }}</span>
  180. <span class="unit" v-if="additional_weight != '0'">kg</span>
  181. </li>
  182. <li v-if="isShow('体温')">
  183. <label>体温 : </label>
  184. <span class="content" v-if="temperature != '0'">{{
  185. temperature
  186. }}</span>
  187. <span class="unit" v-if="temperature != '0'">℃</span>
  188. </li>
  189. <li v-if="isShow('前次透析后症状')">
  190. <label>前次透析后症状: </label>
  191. <span class="content" v-if="last_post_dialysis != '0'">{{
  192. last_post_dialysis
  193. }}</span>
  194. <span class="unit" v-if="last_post_dialysis != '0'"></span>
  195. </li>
  196. <li v-if="isShow('透析前症状')">
  197. <label>透析前症状 : </label>
  198. <span class="content">{{ symptom_before_dialysis }}</span>
  199. <span class="unit"></span>
  200. </li>
  201. <li v-if="isShow('透析期间')">
  202. <label>透析期间 : </label>
  203. <span class="content" v-if="dialysis_interphase != '0'">{{
  204. dialysis_interphase
  205. }}</span>
  206. <span class="unit" v-if="dialysis_interphase != '0'"></span>
  207. </li>
  208. <li v-if="isShow('透析机型号')">
  209. <label>透析机型号:</label>
  210. <span class="content" v-if="machine_type != '0'">
  211. {{ machine_type }}
  212. </span>
  213. </li>
  214. <li v-if="isShow('血管杂音')">
  215. <label>血管杂音 : </label>
  216. <span class="content">{{
  217. getBloodAccessNoise(this.record.blood_access_noise)
  218. }}</span>
  219. </li>
  220. <li v-if="isShow('中心静脉置管')">
  221. <label>中心静脉置管</label>
  222. <span class="content">{{
  223. getVenousCatheterization(this.record.venous_catheterization)
  224. }}</span>
  225. <span class="unit"> </span>
  226. </li>
  227. <li v-if="isShow('中心静脉导管')">
  228. <label>中心静脉导管: </label>
  229. <span class="content">{{ this.record.ductus_arantii }}</span>
  230. </li>
  231. <li v-if="isShow('感染')">
  232. <label>感染:</label>
  233. <span class="content">{{
  234. this.record.is_infect == 1 ? "无" : "有"
  235. }}</span>
  236. <span class="unit"> </span>
  237. </li>
  238. <li v-if="isShow('皮肤')">
  239. <label>皮肤:</label>
  240. <!-- <span class="content">{{ getSkin(this.record.skin) }}</span> -->
  241. <span class="content">{{this.record.skin}}</span>
  242. <span class="unit"></span>
  243. </li>
  244. <li v-if="isShow('血管通路操作')">
  245. <label>血管通路操作:</label>
  246. <span class="content">{{
  247. getBloodAccessOpera(this.record.blood_access_part_opera_id)
  248. }}</span>
  249. <span class="unit"> </span>
  250. </li>
  251. <li v-if="isShow('血管通路皮肤情况')">
  252. <label>血管通路皮肤情况: </label>
  253. <span class="content">{{ internal_fistula_skin }}</span>
  254. <span class="unit"></span>
  255. </li>
  256. <li v-if="isShow('导管缝线')">
  257. <label>导管缝线: </label>
  258. <span class="content" v-if="this.record && this.record.catheter_suture.length > 0 && this.record.catheter_suture_other.length > 0 ">{{this.record.catheter_suture }},{{this.record.catheter_suture_other }}</span>
  259. <span class="content" v-if="this.record &&this.record.catheter_suture.length > 0 && this.record.catheter_suture_other.length == 0 ">{{this.record.catheter_suture }}</span>
  260. <span class="content" v-if="this.record &&this.record.catheter_suture.length == 0 && this.record.catheter_suture_other.length > 0 ">{{this.record.catheter_suture_other }}</span>
  261. <span class="content" v-if="this.record && this.record.catheter_suture.length == 0 && this.record.catheter_suture_other.length == 0 "></span>
  262. <span class="unit"></span>
  263. </li>
  264. <li v-if="isShow('尿量')">
  265. <label>尿量(ml): </label>
  266. <span class="content">{{ this.record.urine_volume ? this.record.urine_volume : ''}}</span>
  267. <span class="unit" v-if="this.record.urine_volume">ml</span>
  268. </li>
  269. <li v-if="isShow('水肿')">
  270. <label>水肿: </label>
  271. <span class="content">{{ this.record.edema}}</span>
  272. <span class="unit"></span>
  273. </li>
  274. <li v-if="isShow('特殊处理情况')">
  275. <label>特殊处理情况: </label>
  276. <span class="content">{{ this.record.special_treatment}}</span>
  277. <span class="unit"></span>
  278. </li>
  279. <li v-if="isShow('血栓')">
  280. <label>血栓: </label>
  281. <span class="content" v-if="this.record.thromubus_type == 1">有</span>
  282. <span class="content" v-if="this.record.thromubus_type == 2">无</span>
  283. <span class="unit"></span>
  284. </li>
  285. <li v-if="isShow('血栓')">
  286. <label>导管AV端约为(cm): </label>
  287. <span class="content">{{this.record.thrombus_av}}</span>
  288. <span class="unit"></span>
  289. </li>
  290. <li v-if="isShow('血栓')">
  291. <label>导管A端约(cm): </label>
  292. <span class="content">{{this.record.thromubus_a}}</span>
  293. <span class="unit"></span>
  294. </li>
  295. <li v-if="isShow('血栓')">
  296. <label>导管V端约(cm): </label>
  297. <span class="content">{{this.record.thromubus_v}}</span>
  298. <span class="unit"></span>
  299. </li>
  300. <li v-if="isShow('预增脱水量')">
  301. <label>预增脱水量(L): </label>
  302. <span class="content">{{this.record.dehydration}}</span>
  303. <span class="unit"></span>
  304. </li>
  305. <li v-if="isShow('透析前药物')">
  306. <label>透析前药物: </label>
  307. <span class="content">{{this.record.pre_dialysis_drugs}}</span>
  308. <span class="unit"></span>
  309. </li>
  310. <li v-if="isShow('围手术期')">
  311. <label>围手术期: </label>
  312. <span class="content">
  313. <span v-if="this.record.period==1">无</span>
  314. <span v-if="this.record.period==2">有</span>
  315. </span>
  316. <span class="unit"></span>
  317. </li>
  318. <li v-if="isShow('预计进食量')">
  319. <label>预计进食量: </label>
  320. <span class="content">{{this.record.estimated_food_intake}}</span>
  321. <span class="unit"></span>
  322. </li>
  323. <li v-if="isShow('透析期间血压')">
  324. <label>透析期间血压: </label>
  325. <span class="content">{{this.record.blood_pressure_during_dialysis}}</span>
  326. <span class="unit"></span>
  327. </li>
  328. </ul>
  329. </div>
  330. <div class="note">
  331. 备注 : <span>{{ remark }}</span>
  332. </div>
  333. <!-- <div class="note">处方医生 : {{doctor}}</div> -->
  334. <div class="middleLine"></div>
  335. </div>
  336. </template>
  337. <script>
  338. import store from '@/store'
  339. import { getDataConfig } from '@/utils/data'
  340. export default {
  341. name: 'assessmentBefore',
  342. data() {
  343. return {
  344. title: '透前评估 '
  345. }
  346. },
  347. props: {
  348. record: {
  349. type: Object
  350. }
  351. },
  352. created(){
  353. console.log("血栓22222",this.record)
  354. },
  355. computed: {
  356. weight_before: function() {
  357. if (this.record.id == 0) {
  358. return '-'
  359. }
  360. return this.record.weight_before
  361. },
  362. additional_weight: function() {
  363. if (this.record.id == 0) {
  364. return '-'
  365. }
  366. return this.record.additional_weight
  367. },
  368. systolic_blood_pressure: function() {
  369. if (this.record.id == 0) {
  370. return '-'
  371. }
  372. return this.record.systolic_blood_pressure
  373. },
  374. last_post_dialysis: function() {
  375. if (this.record.id == 0) {
  376. return '-'
  377. }
  378. return this.record.last_post_dialysis
  379. },
  380. dry_weight: function() {
  381. if (this.record.id == 0) {
  382. return '-'
  383. }
  384. return this.record.dry_weight
  385. },
  386. diastolic_blood_pressure: function() {
  387. if (this.record.id == 0) {
  388. return '-'
  389. }
  390. return this.record.diastolic_blood_pressure
  391. },
  392. dialysis_interphase: function() {
  393. if (this.record.id == 0) {
  394. return '-'
  395. }
  396. return this.record.dialysis_interphase
  397. },
  398. catheter: function() {
  399. if (this.record.id == 0) {
  400. return '-'
  401. }
  402. return this.record.catheter
  403. },
  404. temperature: function() {
  405. if (this.record.id == 0) {
  406. return '-'
  407. }
  408. return this.record.temperature
  409. },
  410. pulse_frequency: function() {
  411. if (this.record.id == 0) {
  412. return '-'
  413. }
  414. return this.record.pulse_frequency
  415. },
  416. machine_type: function() {
  417. if (this.record.id == 0) {
  418. return '-'
  419. }
  420. return this.record.machine_type
  421. },
  422. breathing_rate: function() {
  423. if (this.record.id == 0) {
  424. return '-'
  425. }
  426. return this.record.breathing_rate
  427. },
  428. symptom_before_dialysis: function() {
  429. if (this.record.id == 0) {
  430. return '-'
  431. }
  432. return this.record.symptom_before_dialysis
  433. },
  434. complication: function() {
  435. if (this.record.id == 0) {
  436. return '-'
  437. }
  438. return this.record.complication
  439. },
  440. internal_fistula: function() {
  441. if (this.record.id == 0) {
  442. return '-'
  443. }
  444. return this.record.internal_fistula
  445. },
  446. internal_fistula_skin: function() {
  447. if (this.record.id == 0) {
  448. return '-'
  449. }
  450. return this.record.internal_fistula_skin
  451. },
  452. is_hemorrhage: function() {
  453. if (this.record.id == 0) {
  454. return false
  455. }
  456. return this.record.is_hemorrhage == 1
  457. },
  458. hemorrhage: function() {
  459. if (this.record.id == 0) {
  460. return '-'
  461. }
  462. return this.record.hemorrhage
  463. },
  464. hemorrhage_other: function() {
  465. if (this.record.id == 0) {
  466. return '-'
  467. }
  468. return this.record.hemorrhage_other
  469. },
  470. remark: function() {
  471. if (this.record.id == 0) {
  472. return ''
  473. }
  474. return this.record.remark
  475. },
  476. dialysis_count: function() {
  477. if (this.record == null || this.record.id == '') {
  478. return '-'
  479. }
  480. return this.record.dialysis_count
  481. },
  482. internal_fistula_other: function() {
  483. if (this.record == null || this.record.id == '') {
  484. return '-'
  485. }
  486. return this.record.internal_fistula_other
  487. },
  488. venous_catheterization_part_other: function() {
  489. if (this.record == null || this.record.id == '') {
  490. return '-'
  491. }
  492. return this.record.venous_catheterization_part_other
  493. },
  494. emergency_treatment_other: function() {
  495. if (this.record == null || this.record.id == '') {
  496. return '-'
  497. }
  498. return this.record.emergency_treatment_other
  499. },
  500. blood_access_internal_fistula: function() {
  501. var name1 = ''
  502. var name2 = ''
  503. if (this.record == null || this.record.id == '') {
  504. return '-'
  505. }
  506. if (this.record.blood_access_internal_fistula == undefined) {
  507. name1 = ''
  508. } else {
  509. name1 = this.record.blood_access_internal_fistula + ','
  510. }
  511. if (this.record.internal_fistula_other == undefined) {
  512. name2 = ''
  513. } else {
  514. name2 = this.record.internal_fistula_other
  515. }
  516. return name1 + name2
  517. },
  518. ductus_arantii_other: function() {
  519. if (this.record == null || this.record.id == '') {
  520. return '-'
  521. }
  522. return this.record.ductus_arantii_other
  523. },
  524. infect_other: function() {
  525. if (this.record == null || this.record.id == '') {
  526. return '-'
  527. }
  528. return this.record.infect_other
  529. },
  530. skin_other: function() {
  531. if (this.record == null || this.record.id == '') {
  532. return '-'
  533. }
  534. return this.record.skin_other
  535. }
  536. },
  537. methods: {
  538. getBloodAccessPart: function(id) {
  539. var BloodAccessPart = getDataConfig('hemodialysis', 'vascular_access')
  540. var BloodAccessPartName = ''
  541. for (let i = 0; i < BloodAccessPart.length; i++) {
  542. if (BloodAccessPart[i].id == id) {
  543. BloodAccessPartName = BloodAccessPart[i].name
  544. }
  545. }
  546. return BloodAccessPartName
  547. },
  548. getBloodAccessOpera: function(id) {
  549. var BloodAccessOpera = getDataConfig(
  550. 'hemodialysis',
  551. 'vascular_access_desc'
  552. )
  553. var BloodAccessOperaName = ''
  554. for (let i = 0; i < BloodAccessOpera.length; i++) {
  555. if (BloodAccessOpera[i].id == id) {
  556. BloodAccessOperaName = BloodAccessOpera[i].name
  557. }
  558. }
  559. return BloodAccessOperaName
  560. },
  561. getBloodAccessInternalFistula: function(id) {
  562. var BloodAccessInternalFistulaOptions = this.$store.getters
  563. .blood_access_internal_fistula
  564. var BloodAccessInternalFistulaName = ''
  565. for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++) {
  566. if (BloodAccessInternalFistulaOptions[i].id == id) {
  567. BloodAccessInternalFistulaName =
  568. BloodAccessInternalFistulaOptions[i].name
  569. }
  570. }
  571. return BloodAccessInternalFistulaName
  572. },
  573. getBloodAccessNoise: function(id) {
  574. var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise
  575. var BloodAccessNoiseName = ''
  576. for (let i = 0; i < BloodAccessNoiseOptions.length; i++) {
  577. if (BloodAccessNoiseOptions[i].id == id) {
  578. BloodAccessNoiseName = BloodAccessNoiseOptions[i].name
  579. }
  580. }
  581. return BloodAccessNoiseName
  582. },
  583. getVenousCatheterization: function(id) {
  584. var VenousCatheterizationOptions = this.$store.getters
  585. .venous_catheterization
  586. var VenousCatheterizationName = ''
  587. for (let i = 0; i < VenousCatheterizationOptions.length; i++) {
  588. if (VenousCatheterizationOptions[i].id == id) {
  589. VenousCatheterizationName = VenousCatheterizationOptions[i].name
  590. }
  591. }
  592. return VenousCatheterizationName
  593. },
  594. getWay: function(id) {
  595. var PunctureWayOptions = getDataConfig('hemodialysis', 'puncture_method')
  596. var PunctureWayOptionsName = ''
  597. for (let i = 0; i < PunctureWayOptions.length; i++) {
  598. if (PunctureWayOptions[i].id == id) {
  599. PunctureWayOptionsName = PunctureWayOptions[i].name
  600. }
  601. }
  602. return PunctureWayOptionsName
  603. },
  604. getHumorExcessiveSymptom: function(id) {
  605. var HumorExcessiveSymptoms = getDataConfig('hemodialysis', 'humor_excessive_symptom')
  606. var HumorExcessiveSymptomName = ''
  607. for (let i = 0; i < HumorExcessiveSymptoms.length; i++) {
  608. if (HumorExcessiveSymptoms[i].id == id) {
  609. HumorExcessiveSymptomName = HumorExcessiveSymptoms[i].name
  610. }
  611. }
  612. return HumorExcessiveSymptomName
  613. },
  614. getVenousCatheterizationPart: function(id) {
  615. var venousCatheterizationPartOptions = this.$store.getters
  616. .venous_catheterization_part
  617. var venousCatheterizationPartName = ''
  618. for (let i = 0; i < venousCatheterizationPartOptions.length; i++) {
  619. if (venousCatheterizationPartOptions[i].id == id) {
  620. venousCatheterizationPartName =
  621. venousCatheterizationPartOptions[i].name
  622. }
  623. }
  624. return venousCatheterizationPartName
  625. },
  626. getDuctusArantii: function(id) {
  627. var ductusArantiiOptions = this.$store.getters.ductus_arantii
  628. var ductusArantiiOptionsName = ''
  629. for (let i = 0; i < ductusArantiiOptions.length; i++) {
  630. if (ductusArantiiOptions[i].id == id) {
  631. ductusArantiiOptionsName = ductusArantiiOptions[i].name
  632. }
  633. }
  634. return ductusArantiiOptionsName
  635. },
  636. getEmergencyTreatment: function(id) {
  637. var emergencyTreatmentOptions = this.$store.getters.emergency_treatment
  638. var emergencyTreatmentName = ''
  639. for (let i = 0; i < emergencyTreatmentOptions.length; i++) {
  640. if (emergencyTreatmentOptions[i].id == id) {
  641. emergencyTreatmentName = emergencyTreatmentOptions[i].name
  642. }
  643. }
  644. return emergencyTreatmentName
  645. },
  646. isShow(name) {
  647. var filedList = store.getters.xt_user.fileds
  648. var arr = []
  649. for (let i = 0; i < filedList.length; i++) {
  650. if (
  651. filedList[i].module == 3 &&
  652. filedList[i].filed_name_cn == name &&
  653. filedList[i].is_show == 1
  654. ) {
  655. return true
  656. }
  657. }
  658. return false
  659. },
  660. getSkin: function(id) {
  661. var skinOptions = this.$store.getters.skin
  662. var skinName = ''
  663. for (let i = 0; i < skinOptions.length; i++) {
  664. if (skinOptions[i].id == id) {
  665. skinName = skinOptions[i].name
  666. }
  667. }
  668. return skinName
  669. }
  670. }
  671. }
  672. </script>
  673. <style rel="stylesheet/scss" lang="scss" scoped></style>