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

assessmentAfter.vue 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  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.template_id == 38 || 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.template_id != 38 && 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 || this.$store.getters.xt_user.template_info.template_id != 40">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" v-if="this.$store.getters.xt_user.template_info.template_id != 36">{{ this.record.dialysis_during ? "ml" : "" }}</span>
  175. <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id == 36">{{ this.record.dialysis_during ? "g" : "" }}</span>
  176. </li>
  177. </ul>
  178. <ul>
  179. <li v-if="isShow('透后称重')">
  180. <label>透后称重 : </label>
  181. <span class="content" v-if="weight_after != '0'">{{ weight_after }}</span>
  182. <span class="unit" v-if="weight_after != '0'">kg</span>
  183. </li>
  184. <li v-if="isShow('内瘘')">
  185. <label>内瘘 : </label>
  186. <span class="content">{{ internal_fistula }}</span>
  187. </li>
  188. <li v-if="isShow('科室') && patient_gose == 3">
  189. <label>科室 : </label>
  190. <span class="content">{{ inpatient_department }}</span>
  191. </li>
  192. <li v-if="isShow('脉搏')">
  193. <label>脉搏 : </label>
  194. <span class="content" v-if="this.record.pulse_frequency">{{
  195. this.record.pulse_frequency
  196. }}</span>
  197. <span class="unit" v-if="this.record.pulse_frequency">次/分</span>
  198. </li>
  199. <li v-if="isShow('体重减少')">
  200. <label>体重减少 : </label>
  201. <span class="content" v-if="weight_loss != '0'">{{
  202. weight_loss
  203. }}</span>
  204. <span class="unit" v-if="weight_loss != '0'">kg</span>
  205. </li>
  206. <li v-if="isShow('并发症')">
  207. <label>并发症: </label>
  208. <span class="content">{{ this.record.complication }}</span>
  209. </li>
  210. <li
  211. v-if="patient_gose == 3 && isShow('交待病房护士/患者/陪人观察内容')"
  212. >
  213. <label>交待病房护士/患者/陪人观察内容 : </label>
  214. <span class="content">{{ this.record.observation_content }}</span>
  215. </li>
  216. <li v-if="isShow('患者去向')">
  217. <label>患者去向: </label>
  218. <span class="content">{{ patient_gose_name }}</span>
  219. </li>
  220. <li v-if="isShow('透析过程')">
  221. <label for="tw">透析过程 : </label>
  222. <span class="content" id="tw" v-if="this.record.dialysis_process == 1"
  223. >完成</span
  224. >
  225. <span class="content" id="tw" v-if="this.record.dialysis_process == 2"
  226. >提前{{ this.record.in_advance_minute }}min</span
  227. >
  228. </li>
  229. <li v-if="isShow('内瘘管拔针后压迫止血操作')">
  230. <label for="ml">内瘘管拔针后压迫止血操作 : </label>
  231. <span id="ml" class="content">{{
  232. getOpera(this.record.hemostasis_opera)
  233. }}</span>
  234. </li>
  235. <li
  236. v-if="
  237. this.record.disequilibrium_syndrome == 2 && isShow('失衡综合症症状')
  238. "
  239. >
  240. <label for="txzrl">失衡综合症症状: </label>
  241. <span id="txzrl" class="content">{{
  242. this.record.disequilibrium_syndrome_option
  243. }}</span>
  244. </li>
  245. <li v-if="isShow('透析器')">
  246. <label for="hzqx">透析器: </label>
  247. <span id="hzqx" class="content">{{
  248. getDialyzer(this.record.dialyzer)
  249. }}</span>
  250. </li>
  251. <li v-if="isShow('透析器')">
  252. <label for="hzqx">透析器: </label>
  253. <span id="hzqx" class="content">{{
  254. getDialyzer(this.record.dialyzer)
  255. }}</span>
  256. </li>
  257. <li v-if="isShow('中心静脉封管(肝素-A端)')">
  258. <label for="bzh">中心静脉封管(肝素-A端): </label>
  259. <span class="content" id="tzjs">{{
  260. this.record.cvc_a ? this.record.cvc_a : ""
  261. }}</span>
  262. <span class="unit">{{ this.record.cvc_a ? "ml" : "" }}</span>
  263. </li>
  264. <li v-if="isShow('中心静脉封管(肝素-V端)')">
  265. <label for="bzh">中心静脉封管(肝素-V端): </label>
  266. <span class="content" id="tzjs">{{ this.record.cvc_v ? this.record.cvc_v : "" }}</span>
  267. <span class="unit">{{ this.record.cvc_v ? "ml" : "" }}</span>
  268. </li>
  269. <li v-if="isShow('出量')">
  270. <label>出量: </label>
  271. <span class="content" >{{ this.record.stroke_volume ? this.record.stroke_volume : "" }}</span>
  272. <span class="unit">{{ this.record.stroke_volume ? "ml" : "" }}</span>
  273. </li>
  274. <li v-if="isShow('KT/V')">
  275. <label>KT/V: </label>
  276. <span class="content" >{{ this.record.ktv ? this.record.ktv : "" }}</span>
  277. </li>
  278. <li v-if="isShow('意识')">
  279. <label>意识: </label>
  280. <span class="content" >{{ getConsciousness(this.record.consciousness)}}</span>
  281. </li>
  282. <li v-if="isShow('跌倒风险')">
  283. <label>跌倒风险: </label>
  284. <span class="content" >{{ getFallrisk(this.record.fallrisk)}}</span>
  285. </li>
  286. <li v-if="isShow('机器运行')">
  287. <label>机器运行: </label>
  288. <span class="content" >{{ this.record.machine_run}}</span>
  289. </li>
  290. </ul>
  291. </div>
  292. <div class="note">
  293. 备注 : <span>{{ this.record.remark }}</span>
  294. </div>
  295. <div class="middleLine"></div>
  296. </div>
  297. </template>
  298. <script>
  299. import store from '@/store'
  300. import { getDataConfig } from '@/utils/data'
  301. export default {
  302. name: 'DialysisPrescription',
  303. data() {
  304. return {
  305. title: '透后评估 '
  306. }
  307. },
  308. props: {
  309. record: {
  310. type: Object
  311. }
  312. },
  313. computed: {
  314. weight_after: function() {
  315. if (this.record.id == 0) {
  316. return '-'
  317. }
  318. return this.record.weight_after
  319. },
  320. systolic_blood_pressure: function() {
  321. if (this.record.id == 0) {
  322. return '-'
  323. }
  324. return this.record.systolic_blood_pressure
  325. },
  326. actual_ultrafiltration: function() {
  327. if (this.record.id == 0) {
  328. return '-'
  329. }
  330. return this.record.actual_ultrafiltration
  331. },
  332. cruor: function() {
  333. if (this.record.id == 0) {
  334. return '-'
  335. }
  336. return this.record.cruor
  337. },
  338. internal_fistula: function() {
  339. if (this.record == null || this.record.id == '') {
  340. return '-'
  341. }
  342. return this.record.internal_fistula
  343. },
  344. weight_loss: function() {
  345. if (this.record.id == 0) {
  346. return '-'
  347. }
  348. return this.record.weight_loss
  349. },
  350. inpatient_department: function() {
  351. if (this.record.id == 0) {
  352. return '-'
  353. }
  354. return this.record.inpatient_department
  355. },
  356. patient_gose: function() {
  357. if (this.record.id == 0) {
  358. return 0
  359. }
  360. return this.record.patient_gose
  361. },
  362. diastolic_blood_pressure: function() {
  363. if (this.record.id == 0) {
  364. return '-'
  365. }
  366. return this.record.diastolic_blood_pressure
  367. },
  368. actual_displacement: function() {
  369. if (this.record.id == 0) {
  370. return '-'
  371. }
  372. return this.record.actual_displacement
  373. },
  374. symptom_after_dialysis: function() {
  375. if (this.record.id == 0) {
  376. return '-'
  377. }
  378. return this.record.symptom_after_dialysis
  379. },
  380. blood_access_part: function() {
  381. if (this.record.id == 0) {
  382. return '-'
  383. }
  384. const vascular_access = this.$store.getters.vascular_access
  385. const valen = vascular_access.length
  386. let name = '-'
  387. for (var index in vascular_access) {
  388. if (vascular_access[index].id == this.record.blood_access_part_id) {
  389. name = vascular_access[index].name
  390. break
  391. }
  392. }
  393. return name
  394. },
  395. puncture_point_oozing_blood_name: function() {
  396. if (this.record.id == 0) {
  397. return '-'
  398. }
  399. switch (this.record.puncture_point_oozing_blood) {
  400. case 1:
  401. return '有'
  402. break
  403. case 2:
  404. return '无'
  405. break
  406. default:
  407. return '-'
  408. break
  409. }
  410. },
  411. eat_name: function() {
  412. if (this.record == null || this.record.id == '') {
  413. return '-'
  414. }
  415. switch (this.record.is_eat) {
  416. case 1:
  417. return '有'
  418. break
  419. case 2:
  420. return '无'
  421. break
  422. default:
  423. return '-'
  424. break
  425. }
  426. },
  427. patient_gose_name: function() {
  428. if (this.record.id == 0) {
  429. return '-'
  430. }
  431. switch (this.record.patient_gose) {
  432. case 1:
  433. return '离院'
  434. break
  435. case 2:
  436. return '留观'
  437. break
  438. case 3:
  439. return '住院'
  440. break
  441. case 4:
  442. return '门诊'
  443. break
  444. default:
  445. return '-'
  446. break
  447. }
  448. },
  449. blood_access_opera: function() {
  450. if (this.record.id == 0) {
  451. return '-'
  452. }
  453. const vascular_access = this.$store.getters.vascular_access_desc
  454. // console.log(vascular_access);
  455. let name = '-'
  456. for (var index in vascular_access) {
  457. if (
  458. vascular_access[index].id == this.record.blood_access_part_opera_id
  459. ) {
  460. name = vascular_access[index].name
  461. break
  462. }
  463. }
  464. return name
  465. },
  466. catheter: function() {
  467. if (this.record.id == 0) {
  468. return '-'
  469. }
  470. return this.record.catheter
  471. },
  472. puncture_point_haematoma_name: function() {
  473. if (this.record.id == 0) {
  474. return
  475. }
  476. switch (this.record.puncture_point_haematoma) {
  477. case 1:
  478. return '有'
  479. break
  480. case 2:
  481. return '无'
  482. break
  483. default:
  484. return '-'
  485. break
  486. }
  487. },
  488. breathing_rate: function() {
  489. if (this.record.id == 0) {
  490. return '-'
  491. }
  492. return this.record.breathing_rate
  493. },
  494. temperature: function() {
  495. if (this.record.id == 0) {
  496. return '-'
  497. }
  498. return this.record.temperature
  499. },
  500. pulse_frequency: function() {
  501. if (this.record.id == 0) {
  502. return '-'
  503. }
  504. return this.record.pulse_frequency
  505. },
  506. actual_treatment_hour: function() {
  507. if (this.record.id == 0) {
  508. return '-'
  509. }
  510. return this.record.actual_treatment_hour
  511. },
  512. actual_treatment_minute: function() {
  513. if (this.record.id == 0) {
  514. return '-'
  515. }
  516. return this.record.actual_treatment_minute
  517. },
  518. observation_content_other: function() {
  519. if (this.record.id == 0) {
  520. return '-'
  521. }
  522. return this.record.observation_content_other
  523. },
  524. observation_content: function() {
  525. if (this.record.id == 0) {
  526. return '-'
  527. }
  528. return this.record.observation_content
  529. },
  530. complication: function() {
  531. if (this.record.id == 0) {
  532. return '-'
  533. }
  534. return this.record.complication
  535. },
  536. temperature: function() {
  537. if (this.record.id == 0) {
  538. return '-'
  539. }
  540. return this.record.temperature
  541. },
  542. pulse_frequency: function() {
  543. if (this.record.id == 0) {
  544. return '-'
  545. }
  546. return this.record.pulse_frequency
  547. },
  548. actual_treatment_hour: function() {
  549. if (this.record.id == 0) {
  550. return '-'
  551. }
  552. return this.record.actual_treatment_hour
  553. },
  554. actual_treatment_minute: function() {
  555. if (this.record.id == 0) {
  556. return '-'
  557. }
  558. return this.record.actual_treatment_minute
  559. },
  560. dialysis_intakes: function() {
  561. if (this.record.id == 0) {
  562. return '-'
  563. }
  564. return this.record.dialysis_intakes
  565. },
  566. observation_content_other: function() {
  567. if (this.record.id == 0) {
  568. return '-'
  569. }
  570. return this.record.observation_content_other
  571. },
  572. observation_content: function() {
  573. if (this.record.id == 0) {
  574. return '-'
  575. }
  576. return this.record.observation_content
  577. },
  578. complication: function() {
  579. if (this.record.id == 0) {
  580. return '-'
  581. }
  582. return this.record.complication
  583. },
  584. remark: function() {
  585. if (this.record.id == 0) {
  586. return ''
  587. }
  588. return this.record.remark
  589. },
  590. sealing_fluid_special: function() {
  591. if (this.record.id == 0) {
  592. return ''
  593. }
  594. return this.record.sealing_fluid_special
  595. },
  596. in_advance_minute: function() {
  597. if (this.record == null || this.record.id == '') {
  598. return ''
  599. }
  600. return this.record.in_advance_minute
  601. },
  602. in_advance_reason: function() {
  603. if (this.record == null || this.record.id == '') {
  604. return ''
  605. }
  606. return (
  607. this.record.in_advance_reason + ',' + this.record.in_advance_reason_other
  608. )
  609. },
  610. hemostasis_minute: function() {
  611. if (this.record == null || this.record.id == '') {
  612. return ''
  613. }
  614. return this.record.hemostasis_minute
  615. },
  616. in_advance_reason_other: function() {
  617. if (this.record == null || this.record.id == '') {
  618. return ''
  619. }
  620. return this.record.in_advance_reason_other
  621. },
  622. },
  623. methods: {
  624. getInternal: function() {
  625. if (this.record.id == 0) {
  626. return '-'
  627. }
  628. switch (this.record.internal_fistula_tremor_ac) {
  629. case 1:
  630. return '存在'
  631. break
  632. case 2:
  633. return '减弱'
  634. break
  635. case 3:
  636. return '无'
  637. break
  638. default:
  639. return '-'
  640. }
  641. },
  642. getOpera: function(id) {
  643. var hemostasis_opera = this.$store.getters.hemostasis_opera
  644. var hemostasisOperaName = ''
  645. for (let i = 0; i < hemostasis_opera.length; i++) {
  646. if (hemostasis_opera[i].id == id) {
  647. hemostasisOperaName = hemostasis_opera[i].name
  648. }
  649. }
  650. return hemostasisOperaName
  651. },
  652. getTremorNoise: function(id) {
  653. var tremor_noise = this.$store.getters.tremor_noise
  654. var tremorNoiseName = ''
  655. for (let i = 0; i < tremor_noise.length; i++) {
  656. if (tremor_noise[i].id == id) {
  657. tremorNoiseName = tremor_noise[i].name
  658. }
  659. }
  660. return tremorNoiseName
  661. },
  662. getUnit: function(val) {
  663. switch (val) {
  664. case 1:
  665. return 'g'
  666. break
  667. case 2:
  668. return 'ml'
  669. break
  670. }
  671. },
  672. getSealingFluidDisposeName: function(id) {
  673. var sealing_fluid_dispose_arr = getDataConfig('hemodialysis', 'sealing_fluid_dispose')
  674. var sealing_fluid_dispose_name = ''
  675. for (let i = 0; i < sealing_fluid_dispose_arr.length; i++) {
  676. if (sealing_fluid_dispose_arr[i].id == id) {
  677. sealing_fluid_dispose_name = sealing_fluid_dispose_arr[i].name
  678. }
  679. }
  680. return sealing_fluid_dispose_name
  681. },
  682. getDisequilibriumSyndrome: function(id) {
  683. var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome
  684. var disequilibriumSyndromeName = ''
  685. for (let i = 0; i < disequilibrium_syndrome.length; i++) {
  686. if (disequilibrium_syndrome[i].id == id) {
  687. disequilibriumSyndromeName = disequilibrium_syndrome[i].name
  688. }
  689. }
  690. return disequilibriumSyndromeName
  691. },
  692. getDisequilibriumSyndromeOptionName: function(id) {
  693. var disequilibrium_syndrome_option = this.$store.getters
  694. .disequilibrium_syndrome_option
  695. var disequilibriumSyndromeOptionName = ''
  696. for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
  697. if (disequilibrium_syndrome_option[i].id == id) {
  698. disequilibriumSyndromeOptionName =
  699. disequilibrium_syndrome_option[i].name
  700. }
  701. }
  702. return disequilibriumSyndromeOptionName
  703. },
  704. getArterialTubeName: function(id) {
  705. var arterial_tube = this.$store.getters.arterial_tube
  706. var arterialTubeName = ''
  707. for (let i = 0; i < arterial_tube.length; i++) {
  708. if (arterial_tube[i].id == id) {
  709. arterialTubeName = arterial_tube[i].name
  710. }
  711. }
  712. return arterialTubeName
  713. },
  714. getBloodFlowName: function(id) {
  715. var BloodFloowArr = getDataConfig('hemodialysis', 'blood_flow')
  716. var BloodFloowArrName = ''
  717. for (let i = 0; i < BloodFloowArr.length; i++) {
  718. if (BloodFloowArr[i].id == id) {
  719. BloodFloowArrName = BloodFloowArr[i].name
  720. }
  721. }
  722. return BloodFloowArrName
  723. },
  724. getIntravenousTubeName: function(id) {
  725. var intravenous_tube = this.$store.getters.intravenous_tube
  726. var intravenousTubeName = ''
  727. for (let i = 0; i < intravenous_tube.length; i++) {
  728. if (intravenous_tube[i].id == id) {
  729. intravenousTubeName = intravenous_tube[i].name
  730. }
  731. }
  732. return intravenousTubeName
  733. },
  734. getDialyzer: function(id) {
  735. var dialyzer = this.$store.getters.dialyzer
  736. var dialyzerName = ''
  737. for (let i = 0; i < dialyzer.length; i++) {
  738. if (dialyzer[i].id == id) {
  739. dialyzerName = dialyzer[i].name
  740. }
  741. }
  742. return dialyzerName
  743. },
  744. isShow(name) {
  745. var filedList = store.getters.xt_user.fileds
  746. for (let i = 0; i < filedList.length; i++) {
  747. if (
  748. filedList[i].module == 5 &&
  749. filedList[i].filed_name_cn == name &&
  750. filedList[i].is_show == 1
  751. ) {
  752. return true
  753. }
  754. }
  755. return false
  756. },
  757. getConsciousness:function(id){
  758. var consciousnessList = getDataConfig("hemodialysis","consciousness")
  759. var name = ""
  760. for(let i=0;i<consciousnessList.length;i++){
  761. if(id == consciousnessList[i].id){
  762. name= consciousnessList[i].name
  763. }
  764. }
  765. return name
  766. },
  767. getFallrisk:function(id){
  768. var fallriskList = getDataConfig("hemodialysis","fallrisk")
  769. var name = ""
  770. for(let i=0;i<fallriskList.length;i++){
  771. if(id == fallriskList[i].id){
  772. name = fallriskList[i].name
  773. }
  774. }
  775. return name
  776. }
  777. }
  778. }
  779. </script>
  780. <style rel="stylesheet/scss" lang="scss" scoped></style>