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

assessmentAfter.vue 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  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. <li v-if="isShow('KT/V')">
  274. <label>KT/V: </label>
  275. <span class="content" >{{ this.record.ktv ? this.record.ktv : "" }}</span>
  276. </li>
  277. </ul>
  278. </div>
  279. <div class="note">
  280. 备注 : <span>{{ this.record.remark }}</span>
  281. </div>
  282. <div class="middleLine"></div>
  283. </div>
  284. </template>
  285. <script>
  286. import store from '@/store'
  287. import { getDataConfig } from '@/utils/data'
  288. export default {
  289. name: 'DialysisPrescription',
  290. data() {
  291. return {
  292. title: '透后评估 '
  293. }
  294. },
  295. props: {
  296. record: {
  297. type: Object
  298. }
  299. },
  300. computed: {
  301. weight_after: function() {
  302. if (this.record.id == 0) {
  303. return '-'
  304. }
  305. return this.record.weight_after
  306. },
  307. systolic_blood_pressure: function() {
  308. if (this.record.id == 0) {
  309. return '-'
  310. }
  311. return this.record.systolic_blood_pressure
  312. },
  313. actual_ultrafiltration: function() {
  314. if (this.record.id == 0) {
  315. return '-'
  316. }
  317. return this.record.actual_ultrafiltration
  318. },
  319. cruor: function() {
  320. if (this.record.id == 0) {
  321. return '-'
  322. }
  323. return this.record.cruor
  324. },
  325. internal_fistula: function() {
  326. if (this.record == null || this.record.id == '') {
  327. return '-'
  328. }
  329. return this.record.internal_fistula
  330. },
  331. weight_loss: function() {
  332. if (this.record.id == 0) {
  333. return '-'
  334. }
  335. return this.record.weight_loss
  336. },
  337. inpatient_department: function() {
  338. if (this.record.id == 0) {
  339. return '-'
  340. }
  341. return this.record.inpatient_department
  342. },
  343. patient_gose: function() {
  344. if (this.record.id == 0) {
  345. return 0
  346. }
  347. return this.record.patient_gose
  348. },
  349. diastolic_blood_pressure: function() {
  350. if (this.record.id == 0) {
  351. return '-'
  352. }
  353. return this.record.diastolic_blood_pressure
  354. },
  355. actual_displacement: function() {
  356. if (this.record.id == 0) {
  357. return '-'
  358. }
  359. return this.record.actual_displacement
  360. },
  361. symptom_after_dialysis: function() {
  362. if (this.record.id == 0) {
  363. return '-'
  364. }
  365. return this.record.symptom_after_dialysis
  366. },
  367. blood_access_part: function() {
  368. if (this.record.id == 0) {
  369. return '-'
  370. }
  371. const vascular_access = this.$store.getters.vascular_access
  372. const valen = vascular_access.length
  373. let name = '-'
  374. for (var index in vascular_access) {
  375. if (vascular_access[index].id == this.record.blood_access_part_id) {
  376. name = vascular_access[index].name
  377. break
  378. }
  379. }
  380. return name
  381. },
  382. puncture_point_oozing_blood_name: function() {
  383. if (this.record.id == 0) {
  384. return '-'
  385. }
  386. switch (this.record.puncture_point_oozing_blood) {
  387. case 1:
  388. return '有'
  389. break
  390. case 2:
  391. return '无'
  392. break
  393. default:
  394. return '-'
  395. break
  396. }
  397. },
  398. eat_name: function() {
  399. if (this.record == null || this.record.id == '') {
  400. return '-'
  401. }
  402. switch (this.record.is_eat) {
  403. case 1:
  404. return '有'
  405. break
  406. case 2:
  407. return '无'
  408. break
  409. default:
  410. return '-'
  411. break
  412. }
  413. },
  414. patient_gose_name: function() {
  415. if (this.record.id == 0) {
  416. return '-'
  417. }
  418. switch (this.record.patient_gose) {
  419. case 1:
  420. return '离院'
  421. break
  422. case 2:
  423. return '留观'
  424. break
  425. case 3:
  426. return '住院'
  427. break
  428. case 4:
  429. return '门诊'
  430. break
  431. default:
  432. return '-'
  433. break
  434. }
  435. },
  436. blood_access_opera: function() {
  437. if (this.record.id == 0) {
  438. return '-'
  439. }
  440. const vascular_access = this.$store.getters.vascular_access_desc
  441. // console.log(vascular_access);
  442. let name = '-'
  443. for (var index in vascular_access) {
  444. if (
  445. vascular_access[index].id == this.record.blood_access_part_opera_id
  446. ) {
  447. name = vascular_access[index].name
  448. break
  449. }
  450. }
  451. return name
  452. },
  453. catheter: function() {
  454. if (this.record.id == 0) {
  455. return '-'
  456. }
  457. return this.record.catheter
  458. },
  459. puncture_point_haematoma_name: function() {
  460. if (this.record.id == 0) {
  461. return
  462. }
  463. switch (this.record.puncture_point_haematoma) {
  464. case 1:
  465. return '有'
  466. break
  467. case 2:
  468. return '无'
  469. break
  470. default:
  471. return '-'
  472. break
  473. }
  474. },
  475. breathing_rate: function() {
  476. if (this.record.id == 0) {
  477. return '-'
  478. }
  479. return this.record.breathing_rate
  480. },
  481. temperature: function() {
  482. if (this.record.id == 0) {
  483. return '-'
  484. }
  485. return this.record.temperature
  486. },
  487. pulse_frequency: function() {
  488. if (this.record.id == 0) {
  489. return '-'
  490. }
  491. return this.record.pulse_frequency
  492. },
  493. actual_treatment_hour: function() {
  494. if (this.record.id == 0) {
  495. return '-'
  496. }
  497. return this.record.actual_treatment_hour
  498. },
  499. actual_treatment_minute: function() {
  500. if (this.record.id == 0) {
  501. return '-'
  502. }
  503. return this.record.actual_treatment_minute
  504. },
  505. observation_content_other: function() {
  506. if (this.record.id == 0) {
  507. return '-'
  508. }
  509. return this.record.observation_content_other
  510. },
  511. observation_content: function() {
  512. if (this.record.id == 0) {
  513. return '-'
  514. }
  515. return this.record.observation_content
  516. },
  517. complication: function() {
  518. if (this.record.id == 0) {
  519. return '-'
  520. }
  521. return this.record.complication
  522. },
  523. temperature: function() {
  524. if (this.record.id == 0) {
  525. return '-'
  526. }
  527. return this.record.temperature
  528. },
  529. pulse_frequency: function() {
  530. if (this.record.id == 0) {
  531. return '-'
  532. }
  533. return this.record.pulse_frequency
  534. },
  535. actual_treatment_hour: function() {
  536. if (this.record.id == 0) {
  537. return '-'
  538. }
  539. return this.record.actual_treatment_hour
  540. },
  541. actual_treatment_minute: function() {
  542. if (this.record.id == 0) {
  543. return '-'
  544. }
  545. return this.record.actual_treatment_minute
  546. },
  547. dialysis_intakes: function() {
  548. if (this.record.id == 0) {
  549. return '-'
  550. }
  551. return this.record.dialysis_intakes
  552. },
  553. observation_content_other: function() {
  554. if (this.record.id == 0) {
  555. return '-'
  556. }
  557. return this.record.observation_content_other
  558. },
  559. observation_content: function() {
  560. if (this.record.id == 0) {
  561. return '-'
  562. }
  563. return this.record.observation_content
  564. },
  565. complication: function() {
  566. if (this.record.id == 0) {
  567. return '-'
  568. }
  569. return this.record.complication
  570. },
  571. remark: function() {
  572. if (this.record.id == 0) {
  573. return ''
  574. }
  575. return this.record.remark
  576. },
  577. sealing_fluid_special: function() {
  578. if (this.record.id == 0) {
  579. return ''
  580. }
  581. return this.record.sealing_fluid_special
  582. },
  583. in_advance_minute: function() {
  584. if (this.record == null || this.record.id == '') {
  585. return ''
  586. }
  587. return this.record.in_advance_minute
  588. },
  589. in_advance_reason: function() {
  590. if (this.record == null || this.record.id == '') {
  591. return ''
  592. }
  593. return (
  594. this.record.in_advance_reason + ',' + this.record.in_advance_reason_other
  595. )
  596. },
  597. hemostasis_minute: function() {
  598. if (this.record == null || this.record.id == '') {
  599. return ''
  600. }
  601. return this.record.hemostasis_minute
  602. },
  603. in_advance_reason_other: function() {
  604. if (this.record == null || this.record.id == '') {
  605. return ''
  606. }
  607. return this.record.in_advance_reason_other
  608. }
  609. },
  610. methods: {
  611. getInternal: function() {
  612. if (this.record.id == 0) {
  613. return '-'
  614. }
  615. switch (this.record.internal_fistula_tremor_ac) {
  616. case 1:
  617. return '存在'
  618. break
  619. case 2:
  620. return '减弱'
  621. break
  622. case 3:
  623. return '无'
  624. break
  625. default:
  626. return '-'
  627. }
  628. },
  629. getOpera: function(id) {
  630. var hemostasis_opera = this.$store.getters.hemostasis_opera
  631. var hemostasisOperaName = ''
  632. for (let i = 0; i < hemostasis_opera.length; i++) {
  633. if (hemostasis_opera[i].id == id) {
  634. hemostasisOperaName = hemostasis_opera[i].name
  635. }
  636. }
  637. return hemostasisOperaName
  638. },
  639. getTremorNoise: function(id) {
  640. var tremor_noise = this.$store.getters.tremor_noise
  641. var tremorNoiseName = ''
  642. for (let i = 0; i < tremor_noise.length; i++) {
  643. if (tremor_noise[i].id == id) {
  644. tremorNoiseName = tremor_noise[i].name
  645. }
  646. }
  647. return tremorNoiseName
  648. },
  649. getUnit: function(val) {
  650. switch (val) {
  651. case 1:
  652. return 'g'
  653. break
  654. case 2:
  655. return 'ml'
  656. break
  657. }
  658. },
  659. getSealingFluidDisposeName: function(id) {
  660. var sealing_fluid_dispose_arr = getDataConfig('hemodialysis', 'sealing_fluid_dispose')
  661. var sealing_fluid_dispose_name = ''
  662. for (let i = 0; i < sealing_fluid_dispose_arr.length; i++) {
  663. if (sealing_fluid_dispose_arr[i].id == id) {
  664. sealing_fluid_dispose_name = sealing_fluid_dispose_arr[i].name
  665. }
  666. }
  667. return sealing_fluid_dispose_name
  668. },
  669. getDisequilibriumSyndrome: function(id) {
  670. var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome
  671. var disequilibriumSyndromeName = ''
  672. for (let i = 0; i < disequilibrium_syndrome.length; i++) {
  673. if (disequilibrium_syndrome[i].id == id) {
  674. disequilibriumSyndromeName = disequilibrium_syndrome[i].name
  675. }
  676. }
  677. return disequilibriumSyndromeName
  678. },
  679. getDisequilibriumSyndromeOptionName: function(id) {
  680. var disequilibrium_syndrome_option = this.$store.getters
  681. .disequilibrium_syndrome_option
  682. var disequilibriumSyndromeOptionName = ''
  683. for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
  684. if (disequilibrium_syndrome_option[i].id == id) {
  685. disequilibriumSyndromeOptionName =
  686. disequilibrium_syndrome_option[i].name
  687. }
  688. }
  689. return disequilibriumSyndromeOptionName
  690. },
  691. getArterialTubeName: function(id) {
  692. var arterial_tube = this.$store.getters.arterial_tube
  693. var arterialTubeName = ''
  694. for (let i = 0; i < arterial_tube.length; i++) {
  695. if (arterial_tube[i].id == id) {
  696. arterialTubeName = arterial_tube[i].name
  697. }
  698. }
  699. return arterialTubeName
  700. },
  701. getBloodFlowName: function(id) {
  702. var BloodFloowArr = getDataConfig('hemodialysis', 'blood_flow')
  703. var BloodFloowArrName = ''
  704. for (let i = 0; i < BloodFloowArr.length; i++) {
  705. if (BloodFloowArr[i].id == id) {
  706. BloodFloowArrName = BloodFloowArr[i].name
  707. }
  708. }
  709. return BloodFloowArrName
  710. },
  711. getIntravenousTubeName: function(id) {
  712. var intravenous_tube = this.$store.getters.intravenous_tube
  713. var intravenousTubeName = ''
  714. for (let i = 0; i < intravenous_tube.length; i++) {
  715. if (intravenous_tube[i].id == id) {
  716. intravenousTubeName = intravenous_tube[i].name
  717. }
  718. }
  719. return intravenousTubeName
  720. },
  721. getDialyzer: function(id) {
  722. var dialyzer = this.$store.getters.dialyzer
  723. var dialyzerName = ''
  724. for (let i = 0; i < dialyzer.length; i++) {
  725. if (dialyzer[i].id == id) {
  726. dialyzerName = dialyzer[i].name
  727. }
  728. }
  729. return dialyzerName
  730. },
  731. isShow(name) {
  732. var filedList = store.getters.xt_user.fileds
  733. for (let i = 0; i < filedList.length; i++) {
  734. if (
  735. filedList[i].module == 5 &&
  736. filedList[i].filed_name_cn == name &&
  737. filedList[i].is_show == 1
  738. ) {
  739. return true
  740. }
  741. }
  742. return false
  743. }
  744. }
  745. }
  746. </script>
  747. <style rel="stylesheet/scss" lang="scss" scoped></style>