report.wxml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <!--module/health/pages/report/report.wxml-->
  2. <t-navbar title="健康分析报告" left-arrow />
  3. <scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
  4. <view class="card-wrapper">
  5. <t-cell t-class="card-header {{schemeId ? '' : 'cell-border-gradient'}}" bordered="{{!schemeId}}">
  6. <view slot="title">报告日期:{{dataset.reportTime}}</view>
  7. <form-button slot="right-icon" index="1" bind:tap="toSchemePage">调理方案</form-button>
  8. </t-cell>
  9. <view wx:if="{{!schemeId && dataset.isHaveConditioningProgram === 'Y'}}" class="card-body notification-wrapper">
  10. <t-icon t-class="icon" name="chat-bubble-error" size="24px" />
  11. <text>请找医生获取中医调理方案</text>
  12. </view>
  13. </view>
  14. <view class="card-wrapper report-data-wrapper">
  15. <view class="card-body">
  16. <view class="content-wrapper">
  17. <block wx:if="dataset">
  18. <span class="row">
  19. <text>结果显示您是:</text>
  20. <text>{{dataset.willillStateName}}</text>
  21. </span>
  22. <span class="row">
  23. <text>程度:</text>
  24. <text>{{dataset.willillDegreeName}}</text>
  25. </span>
  26. <span class="row">
  27. <text>类型:</text>
  28. <text>{{dataset.willillSocialName}}</text>
  29. </span>
  30. <span class="row">
  31. <text>表现:</text>
  32. <text>{{dataset.willillFunctionName}}</text>
  33. </span>
  34. <span class="row">
  35. <text>体质:</text>
  36. <text>{{dataset.constitutionGroupName}}</text>
  37. </span>
  38. </block>
  39. </view>
  40. <image class="image-wrapper" src="../../assets/image/health-report.png" mode="aspectFill" />
  41. </view>
  42. </view>
  43. <view class="card-wrapper report-data-wrapper">
  44. <view class="card-body">
  45. <view class="content-wrapper">
  46. <block wx:if="dataset">
  47. <span class="row">
  48. <text>体质:</text>
  49. <text>{{dataset.constitutionGroupName}}是</text>
  50. <text>{{dataset.constitutionGroupDefinition}}</text>
  51. </span>
  52. </block>
  53. <view class="talbel-wrapper">
  54. <view class="talbel-row">
  55. <view class="label">总体特征</view>
  56. <view class="value">{{dataset.constitutionGroupGeneralCharacteristics}}</view>
  57. </view>
  58. <view class="talbel-row">
  59. <view class="label">形体特征</view>
  60. <view class="value">{{dataset.constitutionGroupPhysicalCharacteristics}}</view>
  61. </view>
  62. <view class="talbel-row">
  63. <view class="label">常见表现</view>
  64. <view class="value">{{dataset.constitutionGroupCommonManifestations}}</view>
  65. </view>
  66. <view class="talbel-row">
  67. <view class="label">发病倾向</view>
  68. <view class="value">{{dataset.constitutionGroupDiseaseTendency}}</view>
  69. </view>
  70. <view class="talbel-row">
  71. <view class="label">外界适应能力</view>
  72. <view class="value">{{dataset.constitutionGroupPsychicCharacteristics}}</view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. <view class="card-wrapper">
  79. <t-cell t-class="card-header cell-border-gradient" title="舌象分析" description="{{dataset.tongueAnalysisResult}}" />
  80. <view class="picture-wrapper">
  81. <image src="{{dataset.upImg}}" mode="aspectFit" />
  82. <image src="{{dataset.downImg}}" mode="aspectFit" />
  83. </view>
  84. </view>
  85. <view class="card-wrapper">
  86. <t-cell t-class="card-header cell-border-gradient" title="面象分析" description="{{dataset.faceAnalysisResult}}" />
  87. <view class="picture-wrapper">
  88. <image src="{{dataset.faceImg}}" mode="aspectFit" />
  89. </view>
  90. </view>
  91. <view class="card-wrapper">
  92. <t-cell t-class="card-header cell-border-gradient" title="中医证素" />
  93. <view class="card-body">
  94. {{dataset.factorItemSummary}}
  95. </view>
  96. </view>
  97. <view class="card-wrapper">
  98. <t-cell t-class="card-header cell-border-gradient" title="中医证型" />
  99. <view class="card-body">
  100. {{dataset.diagnoseSyndromeSummary}}
  101. </view>
  102. </view>
  103. <report-health-index dataset="{{healthIndex.data}}" loading="{{healthIndex.loading}}" message="{{healthIndex.message}}">
  104. </report-health-index>
  105. </scroll-view>
  106. <t-message id="{{$messageId}}"></t-message>