血透系统pad前端

assessmentAfter.vue 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="title"><span class="line"></span>
  4. <p>{{title}}</p><span class="line"></span></h2>
  5. <div class="plate ">
  6. <ul>
  7. <li v-if="isShow('透后体重')">
  8. <label for="thtz">透后体重 : </label>
  9. <span class="content" id="thtz">{{weight_after?weight_after:''}}</span>
  10. <span class="unit">{{weight_after?"kg":''}}</span>
  11. </li>
  12. <li v-if="isShow('收缩压')">
  13. <label for="ssy">收缩压 : </label>
  14. <span class="content" id="ssy">{{systolic_blood_pressure?systolic_blood_pressure:''}}</span>
  15. <span class="unit">{{systolic_blood_pressure?"mmHg":''}}</span>
  16. </li>
  17. <li v-if="isShow('实际超滤量')">
  18. <label for="sjcll">实际超滤量: </label>
  19. <span class="content" id="sjcll">{{actual_ultrafiltration?actual_ultrafiltration:''}}</span>
  20. <span class="unit">{{actual_ultrafiltration?"L":''}}</span>
  21. </li>
  22. <li v-if="isShow('透析器凝血')">
  23. <label for="nx">透析器凝血 : </label>
  24. <span class="content" id="nx">{{cruor}}</span>
  25. </li>
  26. <li v-if="isShow('内瘘')">
  27. <label for="nw">内瘘 : </label>
  28. <span id="nw" class="content">{{internal_fistula}}</span>
  29. </li>
  30. <li v-if="isShow('导管')">
  31. <label for="dg">导管 : </label>
  32. <span id="dg" class="content">{{catheter}}</span>
  33. </li>
  34. <li v-if="isShow('穿刺处血肿')">
  35. <label for="jccxz">穿刺处血肿 : </label>
  36. <span id="jccxz" class="content">{{puncture_point_haematoma_name}}</span>
  37. </li>
  38. <li v-if="patient_gose==3&&isShow('科室')">
  39. <label for="ks">科室 : </label>
  40. <span id="ks" class="content">{{inpatient_department}}</span>
  41. </li>
  42. <li v-if="isShow('体温')">
  43. <label for="tw">体温 : </label>
  44. <span class="content" id="tw">{{temperature?temperature:''}}</span>
  45. <span class="unit">{{temperature?"℃":''}}</span>
  46. </li>
  47. <li v-if="isShow('脉率')">
  48. <label for="ml">脉率 : </label>
  49. <span id="ml" class="content">{{pulse_frequency?pulse_frequency:''}}</span>
  50. <span class="unit">{{pulse_frequency?"次/分":''}}</span>
  51. </li>
  52. <li v-if="isShow('血管通路操作')">
  53. <label for="xgtlcz">血管通路操作: </label>
  54. <span id="xgtlcz" class="content">{{blood_access_opera}}</span>
  55. </li>
  56. </ul>
  57. <ul>
  58. <li v-if="isShow('体重减少')">
  59. <label for="tzjs">体重减少 : </label>
  60. <span class="content" id="tzjs">{{weight_loss?weight_loss:''}}</span>
  61. <span class="unit">{{weight_loss?"kg":''}}</span>
  62. </li>
  63. <li v-if="isShow('舒张压')">
  64. <label for="szy">舒张压 : </label>
  65. <span id="szy" class="content">{{diastolic_blood_pressure?diastolic_blood_pressure:''}}</span>
  66. <span class="unit">{{diastolic_blood_pressure?"mmHg":''}}</span>
  67. </li>
  68. <li v-if="isShow('实际置换量')">
  69. <label for="sjzhl">实际置换量 : </label>
  70. <span id="sjzhl" class="content">{{actual_displacement?actual_displacement:''}}</span>
  71. <span class="unit">{{actual_displacement?"ml":''}}</span>
  72. </li>
  73. <li v-if="isShow('透后症状')">
  74. <label for="thzz">透后症状 : </label>
  75. <span id="thzz" class="content">{{symptom_after_dialysis}}</span>
  76. </li>
  77. <li v-if="isShow('血管通路部位')">
  78. <label for="xgtl">血管通路部位 : </label>
  79. <span id="xgtl" class="content">{{blood_access_part}}</span>
  80. </li>
  81. <li v-if="isShow('并发症')">
  82. <label for="bfz">并发症: </label>
  83. <span id="bfz" class="content">{{complication}}</span>
  84. </li>
  85. <li v-if="isShow('压迫后内瘘震颤')">
  86. <label for="yph">压迫后内瘘震颤: </label>
  87. <span id="yph" class="content">{{internal_fistula_tremor_ac_name}}</span>
  88. </li>
  89. <li v-if="patient_gose==3&&isShow('交待病房护士/患者/陪人观察内容')">
  90. <label for="jdbf">交待病房护士/患者/陪人观察内容 : </label>
  91. <span class="content" id="jdbf">{{observation_content}}</span>
  92. </li>
  93. <li v-if="isShow('实际治疗时长')">
  94. <label for="sjzl">实际治疗时长 : </label>
  95. <span id="sjzl" class="content">{{actual_treatment_hour}}时{{actual_treatment_minute}}分</span>
  96. </li>
  97. <li v-if="isShow('透析中入量')">
  98. <label for="txzrl">透析中入量: </label>
  99. <span id="txzrl" class="content">{{dialysis_intakes_feed?dialysis_intakes_feed:''}}</span>
  100. </li>
  101. <li v-if="isShow('患者去向')">
  102. <label for="hzqx">患者去向: </label>
  103. <span id="hzqx" class="content">{{patient_gose_name}}</span>
  104. </li>
  105. <li v-if="patient_gose==3&&isShow('其他观察内容')">
  106. <label for="qtgcnr">其他观察内容 : </label>
  107. <span id="qtgcnr" class="content">{{observation_content_other}}</span>
  108. </li >
  109. <li v-if="isShow('拔针后穿刺点渗血')">
  110. <label for="bzh">拔针后穿刺点渗血: </label>
  111. <span id="bzh" class="content">{{puncture_point_oozing_blood_name}}</span>
  112. </li>
  113. </ul>
  114. <ul >
  115. <li v-if="isShow('透析过程')">
  116. <label for="tw">透析过程 : </label>
  117. <span class="content" id="tw" v-if="this.record.dialysis_process == 1">完成</span>
  118. <span class="content" id="tw" v-if="this.record.dialysis_process == 2">提前{{in_advance_minute}}min</span>
  119. </li>
  120. <li v-if="this.record.dialysis_process == 2&&isShow('透析过程提前原因')">
  121. <label for="tw">透析过程提前原因 : </label>
  122. <span class="content" id="tw" >{{in_advance_reason}}</span>
  123. </li>
  124. <li v-if="isShow('内瘘管拔针后压迫止血时间')">
  125. <label for="ml">内瘘管拔针后压迫止血时间 : </label>
  126. <span id="ml" class="content" v-if="hemostasis_minute">{{hemostasis_minute}}min</span>
  127. <span id="ml" class="content" v-else>-min</span>
  128. </li>
  129. <li v-if="isShow('内瘘管拔针后压迫止血操作')">
  130. <label for="ml">内瘘管拔针后压迫止血操作 : </label>
  131. <span id="ml" class="content">{{getOpera(this.record.hemostasis_opera)}}</span>
  132. </li>
  133. <li v-if="isShow('血管震颤和血管杂音')">
  134. <label for="sjzl">血管震颤和血管杂音 : </label>
  135. <span id="sjzl" class="content">{{getTremorNoise(this.record.tremor_noise)}}</span>
  136. </li>
  137. <li v-if="isShow('失衡综合症')">
  138. <label for="txzrl">失衡综合症: </label>
  139. <span id="txzrl" class="content">{{getDisequilibriumSyndrome(this.record.disequilibrium_syndrome)}}</span>
  140. </li>
  141. <li v-if="this.record.disequilibrium_syndrome == 2&&isShow('失衡综合症症状')">
  142. <label for="txzrl">失衡综合症症状: </label>
  143. <span id="txzrl" class="content">{{this.record.disequilibrium_syndrome_option}}</span>
  144. </li>
  145. <li v-if="isShow('动脉管道')">
  146. <label for="xgtlcz">动脉管道: </label>
  147. <span id="xgtlcz" class="content">{{getArterialTubeName(this.record.arterial_tube)}}</span>
  148. </li>
  149. <li v-if="isShow('静脉管道')">
  150. <label for="bzh">静脉管道: </label>
  151. <span id="bzh" class="content">{{getIntravenousTubeName(this.record.intravenous_tube)}}</span>
  152. </li>
  153. <li v-if="isShow('透析器')">
  154. <label for="hzqx">透析器: </label>
  155. <span id="hzqx" class="content">{{getDialyzer(this.record.dialyzer)}}</span>
  156. </li>
  157. </ul>
  158. </div>
  159. <div class="note">备注 : <span>{{remark}}</span></div>
  160. </div>
  161. </template>
  162. <script>
  163. export default {
  164. name: "DialysisPrescription",
  165. data() {
  166. return {
  167. title: "透后评估 ",
  168. // note: "无明显异常",
  169. // doctor: "刘小军 医生",
  170. // info1: [
  171. // { value: "1", label: "透后体重 : ", content: "55", unit: "kg" },
  172. // { value: "2", label: "收缩压 : ", content: "174", unit: "mmHg" },
  173. // { value: "3", label: "实际超滤量: ", content: "20", unit: "ml" },
  174. // { value: "4", label: "疑血 : ", content: "无震颤", unit: "" },
  175. // { value: "5", label: "", content: "", unit: "" }
  176. // ],
  177. // info2: [
  178. // { value: "1", label: "体重减少 : ", content: "3", unit: "kg" },
  179. // { value: "2", label: "舒张压 : ", content: "200", unit: "mmHg" },
  180. // { value: "3", label: "实际置换量 : ", content: "20", unit: "ml" },
  181. // { value: "3", label: "透后症状 : ", content: "无症状", unit: "" },
  182. // { value: "4", label: "导管 : ", content: "导管堵塞", unit: "" }
  183. // ],
  184. // info3: [
  185. // { value: "1", label: "体温 : ", content: "14", unit: "℃" },
  186. // { value: "2", label: "心率 : ", content: "2", unit: "次/分" },
  187. // { value: "3", label: "实际治疗时长 : ", content: "4时4分", unit: "" },
  188. // { value: "4", label: "透析中入量: ", content: "一般", unit: "" },
  189. // { value: "4", label: "并发症: ", content: "痔疮出血", unit: "" }
  190. // ]
  191. };
  192. },
  193. props: {
  194. record: {
  195. type: Object,
  196. }
  197. },
  198. computed: {
  199. weight_after: function () {
  200. if (this.record == null || this.record.id == "") {
  201. return "-"
  202. }
  203. return this.record.weight_after
  204. },
  205. systolic_blood_pressure: function () {
  206. if (this.record == null || this.record.id == "") {
  207. return "-"
  208. }
  209. return this.record.systolic_blood_pressure
  210. },
  211. actual_ultrafiltration: function () {
  212. if (this.record == null || this.record.id == "") {
  213. return "-"
  214. }
  215. return this.record.actual_ultrafiltration
  216. },
  217. cruor: function () {
  218. if (this.record == null || this.record.id == "") {
  219. return "-"
  220. }
  221. return this.record.cruor
  222. },
  223. internal_fistula: function () {
  224. if (this.record == null || this.record.id == "") {
  225. return "-"
  226. }
  227. return this.record.internal_fistula;
  228. },
  229. weight_loss: function () {
  230. if (this.record == null || this.record.id == "") {
  231. return "-"
  232. }
  233. return this.record.weight_loss
  234. },
  235. inpatient_department: function () {
  236. if (this.record == null || this.record.id == "") {
  237. return "-"
  238. }
  239. return this.record.inpatient_department
  240. },
  241. patient_gose: function () {
  242. if (this.record == null || this.record.id == "") {
  243. return 0
  244. }
  245. return this.record.patient_gose
  246. },
  247. diastolic_blood_pressure: function () {
  248. if (this.record == null || this.record.id == "") {
  249. return "-"
  250. }
  251. return this.record.diastolic_blood_pressure
  252. },
  253. actual_displacement: function () {
  254. if (this.record == null || this.record.id == "") {
  255. return "-"
  256. }
  257. return this.record.actual_displacement
  258. },
  259. symptom_after_dialysis: function () {
  260. if (this.record == null || this.record.id == "") {
  261. return "-"
  262. }
  263. return this.record.symptom_after_dialysis
  264. },
  265. blood_access_part: function () {
  266. if (this.record == null || this.record.id == "") {
  267. return "-"
  268. }
  269. let vascular_access = this.$store.getters.vascular_access;
  270. let valen = vascular_access.length
  271. let name = '-';
  272. for (let index = 0; index < valen; index++) {
  273. if (vascular_access[index].id == this.record.blood_access_part_id) {
  274. name = vascular_access[index].name;
  275. break;
  276. }
  277. }
  278. return name
  279. },
  280. puncture_point_oozing_blood_name: function () {
  281. if (this.record == null || this.record.id == "") {
  282. return "-"
  283. }
  284. switch (this.record.puncture_point_oozing_blood) {
  285. case 1:
  286. return '有'
  287. break;
  288. case 2:
  289. return '无'
  290. break
  291. default:
  292. return '-'
  293. break;
  294. }
  295. },
  296. patient_gose_name: function () {
  297. if (this.record == null || this.record.id == "") {
  298. return "-"
  299. }
  300. switch (this.record.patient_gose) {
  301. case 1:
  302. return '离院'
  303. break;
  304. case 2:
  305. return '留观'
  306. break
  307. case 3:
  308. return '住院'
  309. break
  310. default:
  311. return '-'
  312. break;
  313. }
  314. },
  315. blood_access_opera: function () {
  316. if (this.record == null || this.record.id == "") {
  317. return "-"
  318. }
  319. let vascular_access = this.$store.getters.vascular_access_desc;
  320. let valen = vascular_access.length
  321. let name = '-';
  322. for (let index = 0; index < valen; index++) {
  323. if (vascular_access[index].id == this.record.blood_access_part_opera_id) {
  324. name = vascular_access[index].name;
  325. break;
  326. }
  327. }
  328. return name
  329. },
  330. catheter: function () {
  331. if (this.record == null || this.record.id == "") {
  332. return "-"
  333. }
  334. return this.record.catheter
  335. },
  336. puncture_point_haematoma_name: function () {
  337. if (this.record == null || this.record.id == "") {
  338. return "-"
  339. }
  340. switch (this.record.puncture_point_haematoma) {
  341. case 1:
  342. return '有'
  343. break;
  344. case 2:
  345. return '无'
  346. break
  347. default:
  348. return '-'
  349. break;
  350. }
  351. },
  352. temperature: function () {
  353. if (this.record == null || this.record.id == "") {
  354. return "-"
  355. }
  356. return this.record.temperature
  357. },
  358. pulse_frequency: function () {
  359. if (this.record == null || this.record.id == "") {
  360. return "-"
  361. }
  362. return this.record.pulse_frequency
  363. },
  364. actual_treatment_hour: function () {
  365. if (this.record == null || this.record.id == "") {
  366. return "-"
  367. }
  368. return this.record.actual_treatment_hour
  369. },
  370. actual_treatment_minute: function () {
  371. if (this.record == null || this.record.id == "") {
  372. return "-"
  373. }
  374. return this.record.actual_treatment_minute
  375. },
  376. dialysis_intakes_feed: function () {
  377. if (this.record == null || this.record.id == "") {
  378. return "-"
  379. }
  380. return this.record.dialysis_intakes
  381. },
  382. observation_content_other: function () {
  383. if (this.record == null || this.record.id == "") {
  384. return "-"
  385. }
  386. return this.record.observation_content_other
  387. },
  388. observation_content: function () {
  389. if (this.record == null || this.record.id == "") {
  390. return "-"
  391. }
  392. return this.record.observation_content
  393. },
  394. complication: function () {
  395. if (this.record == null || this.record.id == "") {
  396. return "-"
  397. }
  398. return this.record.complication
  399. },
  400. internal_fistula_tremor_ac_name: function () {
  401. if (this.record == null || this.record.id == "") {
  402. return "-"
  403. }
  404. switch (this.record.internal_fistula_tremor_ac) {
  405. case 1:
  406. return '存在'
  407. break;
  408. case 2:
  409. return '减弱'
  410. break;
  411. case 3:
  412. return '无';
  413. break
  414. default:
  415. return '-'
  416. break;
  417. }
  418. },
  419. remark: function () {
  420. if (this.record == null || this.record.id == "") {
  421. return ""
  422. }
  423. return this.record.remark
  424. },in_advance_minute:function () {
  425. if (this.record == null || this.record.id == "") {
  426. return ""
  427. }
  428. return this.record.in_advance_minute
  429. },in_advance_reason:function () {
  430. if (this.record == null || this.record.id == "") {
  431. return ""
  432. }
  433. return this.record.in_advance_reason + ","+this.record.in_advance_reason_other
  434. },hemostasis_minute:function () {
  435. if (this.record == null || this.record.id == "") {
  436. return ""
  437. }
  438. return this.record.hemostasis_minute
  439. },in_advance_reason_other:function () {
  440. if (this.record == null || this.record.id == "") {
  441. return ""
  442. }
  443. return this.record.in_advance_reason_other
  444. }
  445. },
  446. methods: {
  447. isShow(name){
  448. var filedList = this.$store.getters.user.fileds
  449. for (let i = 0; i < filedList.length; i++){
  450. if(filedList[i].module == 5 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
  451. return true
  452. }
  453. }
  454. return false
  455. },
  456. getOpera:function (id) {
  457. var hemostasis_opera = this.$store.getters.hemostasis_opera;
  458. var hemostasisOperaName = "";
  459. for (let i = 0; i < hemostasis_opera.length; i++){
  460. if(hemostasis_opera[i].id == id){
  461. hemostasisOperaName = hemostasis_opera[i].name
  462. }
  463. }
  464. return hemostasisOperaName
  465. },getTremorNoise:function (id) {
  466. var tremor_noise = this.$store.getters.tremor_noise;
  467. var tremorNoiseName = "";
  468. for (let i = 0; i < tremor_noise.length; i++){
  469. if(tremor_noise[i].id == id){
  470. tremorNoiseName = tremor_noise[i].name
  471. }
  472. }
  473. return tremorNoiseName
  474. },getDisequilibriumSyndrome:function (id) {
  475. var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome;
  476. var disequilibriumSyndromeName = "";
  477. for (let i = 0; i < disequilibrium_syndrome.length; i++){
  478. if(disequilibrium_syndrome[i].id == id){
  479. disequilibriumSyndromeName = disequilibrium_syndrome[i].name
  480. }
  481. }
  482. return disequilibriumSyndromeName
  483. },getDisequilibriumSyndromeOptionName:function (id) {
  484. var disequilibrium_syndrome_option = this.$store.getters.disequilibrium_syndrome_option;
  485. var disequilibriumSyndromeOptionName = "";
  486. for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
  487. if (disequilibrium_syndrome_option[i].id == id) {
  488. disequilibriumSyndromeOptionName = disequilibrium_syndrome_option[i].name
  489. }
  490. }
  491. return disequilibriumSyndromeOptionName
  492. },getArterialTubeName:function (id) {
  493. var arterial_tube = this.$store.getters.arterial_tube;
  494. var arterialTubeName = "";
  495. for (let i = 0; i < arterial_tube.length; i++) {
  496. if (arterial_tube[i].id == id) {
  497. arterialTubeName = arterial_tube[i].name
  498. }
  499. }
  500. return arterialTubeName
  501. },getIntravenousTubeName:function (id) {
  502. var intravenous_tube = this.$store.getters.intravenous_tube;
  503. var intravenousTubeName = "";
  504. for (let i = 0; i < intravenous_tube.length; i++) {
  505. if (intravenous_tube[i].id == id) {
  506. intravenousTubeName = intravenous_tube[i].name
  507. }
  508. }
  509. return intravenousTubeName
  510. },getDialyzer:function (id) {
  511. var dialyzer = this.$store.getters.dialyzer;
  512. var dialyzerName = "";
  513. for (let i = 0; i < dialyzer.length; i++) {
  514. if (dialyzer[i].id == id) {
  515. dialyzerName = dialyzer[i].name
  516. }
  517. }
  518. return dialyzerName
  519. }
  520. // setRecord(record) {
  521. // if (record == null) {
  522. // this.info1[0].content = ""
  523. // this.info1[1].content = ""
  524. // this.info1[2].content = ""
  525. // this.info1[3].content = ""
  526. // this.info1[4].content = ""
  527. // this.info2[0].content = ""
  528. // this.info2[1].content = ""
  529. // this.info2[2].content = ""
  530. // this.info2[3].content = ""
  531. // this.info2[4].content = ""
  532. // this.info3[0].content = ""
  533. // this.info3[1].content = ""
  534. // this.info3[2].content = ""
  535. // this.info3[3].content = ""
  536. // this.info3[4].content = ""
  537. // this.note = ""
  538. // } else {
  539. // this.info1[0].content = record.weight_after
  540. // this.info1[1].content = record.systolic_blood_pressure
  541. // this.info1[2].content = record.actual_ultrafiltration
  542. // this.info1[3].content = record.cruor
  543. // // this.info1[4].content = record.systolic_blood_pressure
  544. // this.info2[0].content = record.weight_loss
  545. // this.info2[1].content = record.diastolic_blood_pressure
  546. // this.info2[2].content = record.actual_displacement
  547. // this.info2[3].content = record.symptom_after_dialysis
  548. // this.info2[4].content = record.catheter
  549. // this.info3[0].content = record.temperature
  550. // this.info3[1].content = record.pulse_frequency
  551. // this.info3[2].content = record.actual_treatment_hour
  552. // this.info3[3].content = record.dialysis_intakes_feed
  553. // this.info3[4].content = record.complication
  554. // this.note = record.remark
  555. // }
  556. // }
  557. }
  558. };
  559. </script>
  560. <style rel="stylesheet/scss" lang="scss" scoped>
  561. </style>