report.wxml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <!--module/health/pages/report/report.wxml-->
  2. <t-navbar title="健康分析报告" left-arrow bind:fail="toHomePage"/>
  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 no-body {{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">
  15. <view class="card-body report-wrapper">
  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" wx:if="{{dataset.willillDegreeName}}">
  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" wx:if="{{dataset.willillFunctionName}}">
  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">
  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.constitutionGroupDefinition}}</text>
  50. </span>
  51. </block>
  52. <view class="talbel-wrapper">
  53. <view class="talbel-row">
  54. <view class="label">总体特征</view>
  55. <view class="value">{{dataset.constitutionGroupGeneralCharacteristics}}</view>
  56. </view>
  57. <view class="talbel-row">
  58. <view class="label">形体特征</view>
  59. <view class="value">{{dataset.constitutionGroupPhysicalCharacteristics}}</view>
  60. </view>
  61. <view class="talbel-row">
  62. <view class="label">精神特征</view>
  63. <view class="value">{{dataset.constitutionGroupPsychicCharacteristics}}</view>
  64. </view>
  65. <view class="talbel-row">
  66. <view class="label">常见表现</view>
  67. <view class="value">{{dataset.constitutionGroupCommonManifestations}}</view>
  68. </view>
  69. <view class="talbel-row">
  70. <view class="label">发病倾向</view>
  71. <view class="value">{{dataset.constitutionGroupDiseaseTendency}}</view>
  72. </view>
  73. <view class="talbel-row">
  74. <view class="label">环境适应能力</view>
  75. <view class="value">{{dataset.constitutionGroupAdaptability}}</view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="card-wrapper">
  82. <t-cell t-class="card-header cell-border-gradient" title="舌象分析">
  83. <block wx:if="{{tongueAnalysis.length}}">
  84. <view class="extra-warapper" slot="right-icon" catch:tap="toTongueAnalysisResult">
  85. <text>详情</text>
  86. <t-icon t-class="icon" name="chevron-right-double-s" size="24px" />
  87. </view>
  88. </block>
  89. </t-cell>
  90. <view class="card-body">
  91. <!-- <view>&emsp;&emsp;{{dataset.tongueAnalysisResult}}</view> -->
  92. <view class="picture-wrapper">
  93. <image src="{{dataset.upImg}}" mode="aspectFit" />
  94. <image src="{{dataset.downImg}}" mode="aspectFit" />
  95. </view>
  96. <view class="talbel-wrapper t-2">
  97. <view class="talbel-row title">
  98. <view class="label">舌象维度</view>
  99. <view class="value v-1">检测结果</view>
  100. <view class="value">标准值</view>
  101. </view>
  102. <view class="talbel-row">
  103. <view class="label">舌色</view>
  104. <view class="value v-1">
  105. <span style="margin: 0 2px;" wx:for="{{dataset.tongueColor.actualList}}" wx:key="actualValue">
  106. <text>{{item.actualValue}}</text>
  107. <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
  108. </span>
  109. </view>
  110. <view class="value">{{dataset.tongueColor.standardValue}}</view>
  111. </view>
  112. <view class="talbel-row">
  113. <view class="label">苔色</view>
  114. <view class="value v-1">
  115. <span style="margin: 0 2px;" wx:for="{{dataset.tongueCoatingColor.actualList}}" wx:key="actualValue">
  116. <text>{{item.actualValue}}</text>
  117. <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
  118. </span>
  119. </view>
  120. <view class="value">{{dataset.tongueCoatingColor.standardValue}}</view>
  121. </view>
  122. <view class="talbel-row">
  123. <view class="label">舌形</view>
  124. <view class="value v-1">
  125. <span style="margin: 0 2px;" wx:for="{{dataset.tongueShape.actualList}}" wx:key="actualValue">
  126. <text>{{item.actualValue}}</text>
  127. <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
  128. </span>
  129. </view>
  130. <view class="value">{{dataset.tongueShape.standardValue}}</view>
  131. </view>
  132. <view class="talbel-row">
  133. <view class="label">苔质</view>
  134. <view class="value v-1">
  135. <span style="margin: 0 2px;" wx:for="{{dataset.tongueCoating.actualList}}" wx:key="actualValue">
  136. <text>{{item.actualValue}}</text>
  137. <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
  138. </span>
  139. </view>
  140. <view class="value">{{dataset.tongueCoating.standardValue}}</view>
  141. </view>
  142. <view class="talbel-row">
  143. <view class="label">津液</view>
  144. <view class="value v-1">
  145. <span style="margin: 0 2px;" wx:for="{{dataset.bodyFluid.actualList}}" wx:key="actualValue">
  146. <text>{{item.actualValue}}</text>
  147. <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
  148. </span>
  149. </view>
  150. <view class="value">{{dataset.bodyFluid.standardValue}}</view>
  151. </view>
  152. <view class="talbel-row">
  153. <view class="label">舌下</view>
  154. <view class="value v-1">
  155. <span style="margin: 0 2px;" wx:for="{{dataset.sublingualVein.actualList}}" wx:key="actualValue">
  156. <text>{{item.actualValue}}</text>
  157. <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
  158. </span>
  159. </view>
  160. <view class="value">{{dataset.sublingualVein.standardValue}}</view>
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. <view class="card-wrapper" wx:if="{{dataset.faceAnalysisResult || dataset.faceImg}}">
  166. <t-cell t-class="card-header cell-border-gradient" title="面象分析" />
  167. <view class="card-body">
  168. <view>&emsp;&emsp;{{dataset.faceAnalysisResult}}</view>
  169. <view class="picture-wrapper" wx:if="{{dataset.faceImg}}">
  170. <image src="{{dataset.faceImg}}" mode="aspectFit" />
  171. </view>
  172. </view>
  173. </view>
  174. <view class="card-wrapper">
  175. <t-cell t-class="card-header cell-border-gradient" title="中医证素" />
  176. <!-- <view class="card-body">{{dataset.factorItemSummary}}</view> -->
  177. <view class="card-body">
  178. <view class="row" wx:for="{{dataset.factorItems}}" wx:key="*this">
  179. <view class="primary">{{item.factorItemName}}</view>
  180. <view style="margin-top: 4px;" wx:if="{{item.factorItemDescription}}">&emsp;&emsp;{{item.factorItemDescription}}</view>
  181. </view>
  182. </view>
  183. </view>
  184. <view class="card-wrapper">
  185. <t-cell t-class="card-header cell-border-gradient" title="中医证型" />
  186. <!-- <view class="card-body">{{dataset.diagnoseSyndromeSummary}}</view> -->
  187. <view class="card-body">
  188. <view class="row" wx:for="{{dataset.diagnoseSyndromes}}" wx:key="*this">
  189. <view class="primary">{{item.diagnoseSyndromeName}}</view>
  190. <view style="margin-top: 4px;" wx:if="{{item.diagnoseSyndromeAnalysis}}">&emsp;&emsp;{{item.diagnoseSyndromeAnalysis}}</view>
  191. </view>
  192. </view>
  193. </view>
  194. <report-health-index dataset="{{healthIndex.data}}" loading="{{healthIndex.loading}}" message="{{healthIndex.message}}">
  195. </report-health-index>
  196. </scroll-view>
  197. <t-message id="{{$messageId}}"></t-message>