assessmentAfter.vue 28KB

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