report.wxml 8.7 KB

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