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

assessmentAfter.vue 26KB

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