血透系统pad前端

treatmentOf.vue 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="title"><span class="line"></span><p>{{title}}</p><span class="line"></span> </h2>
  4. <div class="plate " >
  5. <ul>
  6. <li>
  7. <label>透后宣教 : </label>
  8. <span class="content">{{mission}}</span>
  9. </li>
  10. <li>
  11. <label>透析小结 : </label>
  12. <span class="content">{{dialysis_summary}}</span>
  13. </li>
  14. </ul>
  15. </div>
  16. <!-- <div class="note">处方医生 : {{doctor}}</div> -->
  17. </div>
  18. </template>
  19. <script>
  20. export default {
  21. name: 'DialysisPrescription',
  22. data () {
  23. return {
  24. title: '治疗小结 ',
  25. doctor: '刘小花 护士'
  26. // info1: [
  27. // { value: "1", label: "透后宣教 : ", content: "", unit: "" },
  28. // { value: "1", label: "透析小结 : ", content: "", unit: "" }
  29. // ]
  30. }
  31. },
  32. props: {
  33. record: {
  34. type: Object
  35. }
  36. },
  37. computed: {
  38. mission: function () {
  39. if (this.record == null || this.record.id == '') {
  40. return ''
  41. }
  42. return this.record.mission
  43. },
  44. dialysis_summary: function () {
  45. if (this.record == null || this.record.id == '') {
  46. return ''
  47. }
  48. return this.record.dialysis_summary
  49. }
  50. },
  51. methods: {
  52. // setRecord(record) {
  53. // this.info1[0].content = record.mission
  54. // this.info1[1].content = record.dialysis_summary
  55. // }
  56. }
  57. }
  58. </script>
  59. <style rel="stylesheet/scss" lang="scss" scoped>
  60. </style>