血透系统PC前端

assessmentBefore.vue 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="DetailsTit"><span>{{title}}</span></h2>
  4. <div class="plate " >
  5. <ul>
  6. <li>
  7. <label>透前体重 : </label>
  8. <span class="content" v-if="weight_before!='0'">{{ weight_before }}</span>
  9. <span class="unit" v-if="weight_before!='0'">kg</span>
  10. </li>
  11. <li>
  12. <label>收缩压 : </label>
  13. <span class="content" v-if="systolic_blood_pressure!='0'">{{ systolic_blood_pressure }}</span>
  14. <span class="unit" v-if="systolic_blood_pressure!='0'">mmhg</span>
  15. </li>
  16. <li>
  17. <label>前次透析后: </label>
  18. <span class="content" v-if="last_post_dialysis!='0'">{{ last_post_dialysis }}</span>
  19. <span class="unit" v-if="last_post_dialysis!='0'"></span>
  20. </li>
  21. <li>
  22. <label>导管 : </label>
  23. <span class="content">{{ catheter }}</span>
  24. <span class="unit"></span>
  25. </li>
  26. </ul>
  27. <ul>
  28. <li>
  29. <label>干体重 : </label>
  30. <span class="content" v-if="dry_weight!='0'">{{ dry_weight }}</span>
  31. <span class="unit" v-if="dry_weight!='0'">kg</span>
  32. </li>
  33. <li>
  34. <label>舒张压 : </label>
  35. <span class="content" v-if="diastolic_blood_pressure!='0'">{{ diastolic_blood_pressure }}</span>
  36. <span class="unit" v-if="diastolic_blood_pressure!='0'">mmhg</span>
  37. </li>
  38. <li>
  39. <label>透析期间 : </label>
  40. <span class="content" v-if="dialysis_interphase!='0'">{{ dialysis_interphase }}</span>
  41. <span class="unit" v-if="dialysis_interphase!='0'"></span>
  42. </li>
  43. <li>
  44. <label>合并症: </label>
  45. <span class="content">{{ complication }}</span>
  46. <span class="unit"></span>
  47. </li>
  48. </ul>
  49. <ul>
  50. <li>
  51. <label>体温 : </label>
  52. <span class="content" v-if="temperature!='0'">{{ temperature }}</span>
  53. <span class="unit" v-if="temperature!='0'">℃</span>
  54. </li>
  55. <li>
  56. <label>心率 : </label>
  57. <span class="content" v-if="pulse_frequency!='0'">{{ pulse_frequency }}</span>
  58. <span class="unit" v-if="pulse_frequency!='0'">次/分</span>
  59. </li>
  60. <li>
  61. <label>透析前症状 : </label>
  62. <span class="content">{{ symptom_before_dialysis }}</span>
  63. <span class="unit"></span>
  64. </li>
  65. <li>
  66. <label>出血</label>
  67. <span class="content">{{ is_hemorrhage ? hemorrhage + ";" + hemorrhage_other : "无" }}</span>
  68. <span class="unit"> </span>
  69. </li>
  70. </ul>
  71. </div>
  72. <div class="note">备注 : <span>{{ remark }}</span></div>
  73. <!-- <div class="note">处方医生 : {{doctor}}</div> -->
  74. <div class="middleLine"></div>
  75. </div>
  76. </template>
  77. <script>
  78. export default {
  79. name: "assessmentBefore",
  80. data() {
  81. return {
  82. title: "透前评估 ",
  83. };
  84. },
  85. props: {
  86. record: {
  87. type: Object
  88. }
  89. },
  90. computed: {
  91. weight_before: function() {
  92. if (this.record.id == 0) {
  93. return "-"
  94. }
  95. return this.record.weight_before
  96. },
  97. systolic_blood_pressure: function() {
  98. if (this.record.id == 0) {
  99. return "-"
  100. }
  101. return this.record.systolic_blood_pressure
  102. },
  103. last_post_dialysis: function() {
  104. if (this.record.id == 0) {
  105. return "-"
  106. }
  107. return this.record.last_post_dialysis
  108. },
  109. dry_weight: function() {
  110. if (this.record.id == 0) {
  111. return "-"
  112. }
  113. return this.record.dry_weight
  114. },
  115. diastolic_blood_pressure: function() {
  116. if (this.record.id == 0) {
  117. return "-"
  118. }
  119. return this.record.diastolic_blood_pressure
  120. },
  121. dialysis_interphase: function() {
  122. if (this.record.id == 0) {
  123. return "-"
  124. }
  125. return this.record.dialysis_interphase
  126. },
  127. catheter: function() {
  128. if (this.record.id == 0) {
  129. return "-"
  130. }
  131. return this.record.catheter
  132. },
  133. temperature: function() {
  134. if (this.record.id == 0) {
  135. return "-"
  136. }
  137. return this.record.temperature
  138. },
  139. pulse_frequency: function() {
  140. if (this.record.id == 0) {
  141. return "-"
  142. }
  143. return this.record.pulse_frequency
  144. },
  145. symptom_before_dialysis: function() {
  146. if (this.record.id == 0) {
  147. return "-"
  148. }
  149. return this.record.symptom_before_dialysis
  150. },
  151. complication: function() {
  152. if (this.record.id == 0) {
  153. return "-"
  154. }
  155. return this.record.complication
  156. },
  157. internal_fistula: function() {
  158. if (this.record.id == 0) {
  159. return "-"
  160. }
  161. return this.record.internal_fistula
  162. },
  163. is_hemorrhage: function() {
  164. if (this.record.id == 0) {
  165. return false
  166. }
  167. return this.record.is_hemorrhage == 1
  168. },
  169. hemorrhage: function() {
  170. if (this.record.id == 0) {
  171. return "-"
  172. }
  173. return this.record.hemorrhage
  174. },
  175. hemorrhage_other: function() {
  176. if (this.record.id == 0) {
  177. return "-"
  178. }
  179. return this.record.hemorrhage_other
  180. },
  181. remark: function() {
  182. if (this.record.id == 0) {
  183. return ""
  184. }
  185. return this.record.remark
  186. }
  187. },
  188. methods: {
  189. }
  190. };
  191. </script>
  192. <style rel="stylesheet/scss" lang="scss" scoped>
  193. </style>