assessmentAfter.vue 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857
  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.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10495 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 ) " >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.template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!= 10387 && this.$store.getters.xt_user.template_info.org_id!= 10430 && this.$store.getters.xt_user.template_info.org_id!= 10432 && this.$store.getters.xt_user.template_info.org_id!= 10441 && this.$store.getters.xt_user.template_info.org_id!= 10445 && this.$store.getters.xt_user.template_info.org_id!= 10495 && this.$store.getters.xt_user.template_info.org_id!= 10597 && this.$store.getters.xt_user.template_info.org_id!= 10599 && this.$store.getters.xt_user.template_info.org_id!= 10612 && this.$store.getters.xt_user.template_info.org_id!= 10617" >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 == 20 || this.$store.getters.xt_user.template_info.template_id == 21">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.$store.getters.xt_user.template_info.template_id != 6">{{ this.record.dialysis_during ? "ml" : "" }}</span>
  178. <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 6">{{ 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. <li v-if="isShow('透后尿素')">
  294. <label>透后尿素(mmol/L): </label>
  295. <span class="content" >{{ this.record.after_urea}}</span>
  296. </li>
  297. <li v-if="isShow('管路凝血')">
  298. <label>管路凝血: </label>
  299. <span class="content" >{{ this.record.pip_coagulation}}</span>
  300. </li>
  301. <li v-if="isShow('累计血容量')">
  302. <label>透析血容量: </label>
  303. <span class="content" >{{ this.record.accumulated_blood_volume}}L</span>
  304. </li>
  305. <li v-if="isShow('输液量')">
  306. <label>输液量(ml): </label>
  307. <span class="content" >{{ this.record.transfusion_volume}}</span>
  308. </li>
  309. <li v-if="isShow('灌流器凝血')">
  310. <label>灌流器凝血: </label>
  311. <span class="content" >{{ this.record.condenser}}</span>
  312. </li>
  313. <li v-if="isShow('上次透后体重')">
  314. <label>上次透后体重: </label>
  315. <span class="content" >{{ this.record.last_after_weight}}</span>
  316. </li>
  317. <li v-if="isShow('置换液总量')">
  318. <label>置换液总量: </label>
  319. <span class="content" >{{ this.record.displace_liqui_value}}</span>
  320. </li>
  321. </ul>
  322. </div>
  323. <!-- <div class="note">
  324. 备注 : <span>{{ this.record.remark }}</span>
  325. </div> -->
  326. <div class="middleLine"></div>
  327. </div>
  328. </template>
  329. <script>
  330. import store from '@/store'
  331. import { getDataConfig } from '@/utils/data'
  332. export default {
  333. name: 'DialysisPrescription',
  334. data() {
  335. return {
  336. title: '透后评估 '
  337. }
  338. },
  339. props: {
  340. record: {
  341. type: Object
  342. }
  343. },
  344. computed: {
  345. weight_after: function() {
  346. if (this.record.id == 0) {
  347. return '-'
  348. }
  349. return this.record.weight_after
  350. },
  351. systolic_blood_pressure: function() {
  352. if (this.record.id == 0) {
  353. return '-'
  354. }
  355. return this.record.systolic_blood_pressure
  356. },
  357. actual_ultrafiltration: function() {
  358. if (this.record.id == 0) {
  359. return '-'
  360. }
  361. return this.record.actual_ultrafiltration
  362. },
  363. cruor: function() {
  364. if (this.record.id == 0) {
  365. return '-'
  366. }
  367. return this.record.cruor
  368. },
  369. internal_fistula: function() {
  370. if (this.record == null || this.record.id == '') {
  371. return '-'
  372. }
  373. return this.record.internal_fistula
  374. },
  375. weight_loss: function() {
  376. if (this.record.id == 0) {
  377. return '-'
  378. }
  379. return this.record.weight_loss
  380. },
  381. inpatient_department: function() {
  382. if (this.record.id == 0) {
  383. return '-'
  384. }
  385. return this.record.inpatient_department
  386. },
  387. patient_gose: function() {
  388. if (this.record.id == 0) {
  389. return 0
  390. }
  391. return this.record.patient_gose
  392. },
  393. diastolic_blood_pressure: function() {
  394. if (this.record.id == 0) {
  395. return '-'
  396. }
  397. return this.record.diastolic_blood_pressure
  398. },
  399. actual_displacement: function() {
  400. if (this.record.id == 0) {
  401. return '-'
  402. }
  403. return this.record.actual_displacement
  404. },
  405. symptom_after_dialysis: function() {
  406. if (this.record.id == 0) {
  407. return '-'
  408. }
  409. return this.record.symptom_after_dialysis
  410. },
  411. blood_access_part: function() {
  412. if (this.record.id == 0) {
  413. return '-'
  414. }
  415. const vascular_access = this.$store.getters.vascular_access
  416. const valen = vascular_access.length
  417. let name = '-'
  418. for (var index in vascular_access) {
  419. if (vascular_access[index].id == this.record.blood_access_part_id) {
  420. name = vascular_access[index].name
  421. break
  422. }
  423. }
  424. return name
  425. },
  426. puncture_point_oozing_blood_name: function() {
  427. if (this.record.id == 0) {
  428. return '-'
  429. }
  430. switch (this.record.puncture_point_oozing_blood) {
  431. case 1:
  432. return '有'
  433. break
  434. case 2:
  435. return '无'
  436. break
  437. default:
  438. return '-'
  439. break
  440. }
  441. },
  442. eat_name: function() {
  443. if (this.record == null || this.record.id == '') {
  444. return '-'
  445. }
  446. switch (this.record.is_eat) {
  447. case 1:
  448. return '有'
  449. break
  450. case 2:
  451. return '无'
  452. break
  453. default:
  454. return '-'
  455. break
  456. }
  457. },
  458. patient_gose_name: function() {
  459. if (this.record.id == 0) {
  460. return '-'
  461. }
  462. switch (this.record.patient_gose) {
  463. case 1:
  464. return '离院'
  465. break
  466. case 2:
  467. return '留观'
  468. break
  469. case 3:
  470. return '住院'
  471. break
  472. case 4:
  473. return '门诊'
  474. break
  475. default:
  476. return '-'
  477. break
  478. }
  479. },
  480. blood_access_opera: function() {
  481. if (this.record.id == 0) {
  482. return '-'
  483. }
  484. const vascular_access = this.$store.getters.vascular_access_desc
  485. // console.log(vascular_access);
  486. let name = '-'
  487. for (var index in vascular_access) {
  488. if (
  489. vascular_access[index].id == this.record.blood_access_part_opera_id
  490. ) {
  491. name = vascular_access[index].name
  492. break
  493. }
  494. }
  495. return name
  496. },
  497. catheter: function() {
  498. if (this.record.id == 0) {
  499. return '-'
  500. }
  501. return this.record.catheter
  502. },
  503. puncture_point_haematoma_name: function() {
  504. if (this.record.id == 0) {
  505. return
  506. }
  507. switch (this.record.puncture_point_haematoma) {
  508. case 1:
  509. return '有'
  510. break
  511. case 2:
  512. return '无'
  513. break
  514. default:
  515. return '-'
  516. break
  517. }
  518. },
  519. breathing_rate: function() {
  520. if (this.record.id == 0) {
  521. return '-'
  522. }
  523. return this.record.breathing_rate
  524. },
  525. temperature: function() {
  526. if (this.record.id == 0) {
  527. return '-'
  528. }
  529. return this.record.temperature
  530. },
  531. pulse_frequency: function() {
  532. if (this.record.id == 0) {
  533. return '-'
  534. }
  535. return this.record.pulse_frequency
  536. },
  537. actual_treatment_hour: function() {
  538. if (this.record.id == 0) {
  539. return '-'
  540. }
  541. return this.record.actual_treatment_hour
  542. },
  543. actual_treatment_minute: function() {
  544. if (this.record.id == 0) {
  545. return '-'
  546. }
  547. return this.record.actual_treatment_minute
  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. temperature: function() {
  568. if (this.record.id == 0) {
  569. return '-'
  570. }
  571. return this.record.temperature
  572. },
  573. pulse_frequency: function() {
  574. if (this.record.id == 0) {
  575. return '-'
  576. }
  577. return this.record.pulse_frequency
  578. },
  579. actual_treatment_hour: function() {
  580. if (this.record.id == 0) {
  581. return '-'
  582. }
  583. return this.record.actual_treatment_hour
  584. },
  585. actual_treatment_minute: function() {
  586. if (this.record.id == 0) {
  587. return '-'
  588. }
  589. return this.record.actual_treatment_minute
  590. },
  591. dialysis_intakes: function() {
  592. if (this.record.id == 0) {
  593. return '-'
  594. }
  595. return this.record.dialysis_intakes
  596. },
  597. observation_content_other: function() {
  598. if (this.record.id == 0) {
  599. return '-'
  600. }
  601. return this.record.observation_content_other
  602. },
  603. observation_content: function() {
  604. if (this.record.id == 0) {
  605. return '-'
  606. }
  607. return this.record.observation_content
  608. },
  609. complication: function() {
  610. if (this.record.id == 0) {
  611. return '-'
  612. }
  613. return this.record.complication
  614. },
  615. remark: function() {
  616. if (this.record.id == 0) {
  617. return ''
  618. }
  619. return this.record.remark
  620. },
  621. sealing_fluid_special: function() {
  622. if (this.record.id == 0) {
  623. return ''
  624. }
  625. return this.record.sealing_fluid_special
  626. },
  627. in_advance_minute: function() {
  628. if (this.record == null || this.record.id == '') {
  629. return ''
  630. }
  631. return this.record.in_advance_minute
  632. },
  633. in_advance_reason: function() {
  634. if (this.record == null || this.record.id == '') {
  635. return ''
  636. }
  637. return (
  638. this.record.in_advance_reason + ',' + this.record.in_advance_reason_other
  639. )
  640. },
  641. hemostasis_minute: function() {
  642. if (this.record == null || this.record.id == '') {
  643. return ''
  644. }
  645. return this.record.hemostasis_minute
  646. },
  647. in_advance_reason_other: function() {
  648. if (this.record == null || this.record.id == '') {
  649. return ''
  650. }
  651. return this.record.in_advance_reason_other
  652. },
  653. },
  654. methods: {
  655. getInternal: function() {
  656. if (this.record.id == 0) {
  657. return '-'
  658. }
  659. switch (this.record.internal_fistula_tremor_ac) {
  660. case 1:
  661. return '存在'
  662. break
  663. case 2:
  664. return '减弱'
  665. break
  666. case 3:
  667. return '无'
  668. break
  669. default:
  670. return '-'
  671. }
  672. },
  673. getOpera: function(id) {
  674. var hemostasis_opera = this.$store.getters.hemostasis_opera
  675. var hemostasisOperaName = ''
  676. for (let i = 0; i < hemostasis_opera.length; i++) {
  677. if (hemostasis_opera[i].id == id) {
  678. hemostasisOperaName = hemostasis_opera[i].name
  679. }
  680. }
  681. return hemostasisOperaName
  682. },
  683. getTremorNoise: function(id) {
  684. var tremor_noise = this.$store.getters.tremor_noise
  685. var tremorNoiseName = ''
  686. for (let i = 0; i < tremor_noise.length; i++) {
  687. if (tremor_noise[i].id == id) {
  688. tremorNoiseName = tremor_noise[i].name
  689. }
  690. }
  691. return tremorNoiseName
  692. },
  693. getUnit: function(val) {
  694. switch (val) {
  695. case 1:
  696. return 'g'
  697. break
  698. case 2:
  699. return 'ml'
  700. break
  701. case 3:
  702. return 'kg'
  703. break
  704. }
  705. },
  706. getSealingFluidDisposeName: function(id) {
  707. var sealing_fluid_dispose_arr = getDataConfig('hemodialysis', 'sealing_fluid_dispose')
  708. var sealing_fluid_dispose_name = ''
  709. for (let i = 0; i < sealing_fluid_dispose_arr.length; i++) {
  710. if (sealing_fluid_dispose_arr[i].id == id) {
  711. sealing_fluid_dispose_name = sealing_fluid_dispose_arr[i].name
  712. }
  713. }
  714. return sealing_fluid_dispose_name
  715. },
  716. getDisequilibriumSyndrome: function(id) {
  717. var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome
  718. var disequilibriumSyndromeName = ''
  719. for (let i = 0; i < disequilibrium_syndrome.length; i++) {
  720. if (disequilibrium_syndrome[i].id == id) {
  721. disequilibriumSyndromeName = disequilibrium_syndrome[i].name
  722. }
  723. }
  724. return disequilibriumSyndromeName
  725. },
  726. getDisequilibriumSyndromeOptionName: function(id) {
  727. var disequilibrium_syndrome_option = this.$store.getters
  728. .disequilibrium_syndrome_option
  729. var disequilibriumSyndromeOptionName = ''
  730. for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
  731. if (disequilibrium_syndrome_option[i].id == id) {
  732. disequilibriumSyndromeOptionName =
  733. disequilibrium_syndrome_option[i].name
  734. }
  735. }
  736. return disequilibriumSyndromeOptionName
  737. },
  738. getArterialTubeName: function(id) {
  739. var arterial_tube = this.$store.getters.arterial_tube
  740. var arterialTubeName = ''
  741. for (let i = 0; i < arterial_tube.length; i++) {
  742. if (arterial_tube[i].id == id) {
  743. arterialTubeName = arterial_tube[i].name
  744. }
  745. }
  746. return arterialTubeName
  747. },
  748. getBloodFlowName: function(id) {
  749. var BloodFloowArr = getDataConfig('hemodialysis', 'blood_flow')
  750. var BloodFloowArrName = ''
  751. for (let i = 0; i < BloodFloowArr.length; i++) {
  752. if (BloodFloowArr[i].id == id) {
  753. BloodFloowArrName = BloodFloowArr[i].name
  754. }
  755. }
  756. return BloodFloowArrName
  757. },
  758. getIntravenousTubeName: function(id) {
  759. var intravenous_tube = this.$store.getters.intravenous_tube
  760. var intravenousTubeName = ''
  761. for (let i = 0; i < intravenous_tube.length; i++) {
  762. if (intravenous_tube[i].id == id) {
  763. intravenousTubeName = intravenous_tube[i].name
  764. }
  765. }
  766. return intravenousTubeName
  767. },
  768. getDialyzer: function(id) {
  769. var dialyzer = this.$store.getters.dialyzer
  770. var dialyzerName = ''
  771. for (let i = 0; i < dialyzer.length; i++) {
  772. if (dialyzer[i].id == id) {
  773. dialyzerName = dialyzer[i].name
  774. }
  775. }
  776. return dialyzerName
  777. },
  778. isShow(name) {
  779. var filedList = store.getters.xt_user.fileds
  780. for (let i = 0; i < filedList.length; i++) {
  781. if (
  782. filedList[i].module == 5 &&
  783. filedList[i].filed_name_cn == name &&
  784. filedList[i].is_show == 1
  785. ) {
  786. return true
  787. }
  788. }
  789. return false
  790. },
  791. getConsciousness:function(id){
  792. var consciousnessList = getDataConfig("hemodialysis","consciousness")
  793. var name = ""
  794. for(let i=0;i<consciousnessList.length;i++){
  795. if(id == consciousnessList[i].id){
  796. name= consciousnessList[i].name
  797. }
  798. }
  799. return name
  800. },
  801. getFallrisk:function(id){
  802. var fallriskList = getDataConfig("hemodialysis","fallrisk")
  803. var name = ""
  804. for(let i=0;i<fallriskList.length;i++){
  805. if(id == fallriskList[i].id){
  806. name = fallriskList[i].name
  807. }
  808. }
  809. return name
  810. }
  811. }
  812. }
  813. </script>
  814. <style rel="stylesheet/scss" lang="scss" scoped></style>