opinionInfo.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <template>
  2. <view class="main">
  3. <view class="opinionList bg-white">
  4. <view class="margin-top-sm margin-lr-sm">
  5. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  6. <text class="text-leftstyle">订单号:</text><text style="color: rgb(51,51,51);">{{infodata.order.order_sn}}</text>
  7. </view>
  8. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  9. <text class="text-leftstyle">填写医生:</text><text style="color: rgb(51,51,51);">{{infodata.order.docter.name}}</text>
  10. </view>
  11. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  12. <text class="text-leftstyle">填写时间:</text><text style="color: rgb(51,51,51);">{{infodata.created_at}}</text>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="margin-top-sm bg-white padding-sm">
  17. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  18. <text class="text-leftstyle1">病症:</text><text style="color: rgb(51,51,51);">{{infodata.symptoms}}</text>
  19. </view>
  20. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  21. <text class="text-leftstyle1">病因:</text><text style="color: rgb(51,51,51);">{{infodata.pathogen}}</text>
  22. </view>
  23. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  24. <text class="text-leftstyle1">结论建议:</text>
  25. <view style="color: rgb(51,51,51);margin-top: 10rpx;line-height: 43rpx;">{{infodata.suggest}}</view>
  26. </view>
  27. </view>
  28. <view class="margin-top-sm bg-white padding-sm" style="border-top: 2rpx solid #efefef;">
  29. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  30. <text class="text-leftstyle1" style="font-weight: bold;">补充意见</text>
  31. </view>
  32. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  33. <text class="text-leftstyle1">补充原因:</text><text style="color: rgb(51,51,51);">{{infodata.supplement_reason}}</text>
  34. </view>
  35. <view class="text-df margin-top-sm" style="color: rgb(102,102,102);">
  36. <text class="text-leftstyle1">补充内容:</text>
  37. <view style="color: rgb(51,51,51);margin-top: 10rpx;line-height: 43rpx;">{{infodata.supplement_content}}</view>
  38. </view>
  39. </view>
  40. <view class="cu-tabbar-height"></view>
  41. </view>
  42. </template>
  43. <script>
  44. export default {
  45. onLoad(op) {
  46. this.infoid = op.id
  47. },
  48. mounted() {
  49. this.getopinionInfo()
  50. },
  51. data() {
  52. return {
  53. infoid: "",
  54. infodata: {}
  55. }
  56. },
  57. methods: {
  58. getopinionInfo: async function() {
  59. let res = await this.$request.post("/api/v1/suggest/suggestDetail", {
  60. suggest_id: this.infoid
  61. })
  62. console.log(res)
  63. if (res.status == 0) {
  64. this.infodata = res.data
  65. }
  66. }
  67. },
  68. onShow() {
  69. }
  70. }
  71. </script>
  72. <style lang="scss">
  73. page {
  74. background-color: #fff;
  75. }
  76. .opinionList {
  77. padding-top: 20rpx;
  78. padding-bottom: 20rpx;
  79. }
  80. .text-leftstyle {
  81. text-align: right;
  82. width: 60px;
  83. display: inline-block;
  84. }
  85. .text-leftstyle1 {
  86. text-align: left;
  87. width: 60px;
  88. display: inline-block;
  89. }
  90. </style>