|
|
@@ -1,14 +1,14 @@
|
|
|
<!--module/health/pages/report/report.wxml-->
|
|
|
-<t-navbar title="健康分析报告" left-arrow bind:fail="toHomePage"/>
|
|
|
+<t-navbar title="健康分析报告" left-arrow bind:fail="toHomePage" />
|
|
|
|
|
|
<scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
|
|
|
<view class="card-wrapper">
|
|
|
<t-cell t-class="card-header no-body {{schemeId ? '' : 'cell-border-gradient'}}" bordered="{{!schemeId}}">
|
|
|
<view slot="title">报告日期:{{dataset.reportTime}}</view>
|
|
|
- <form-button slot="right-icon" index="1" bind:tap="toSchemePage">调理方案</form-button>
|
|
|
+ <form-button wx:if="{{!!schemeId}}" slot="right-icon" index="1" bind:tap="toSchemePage">调理方案</form-button>
|
|
|
</t-cell>
|
|
|
|
|
|
- <view wx:if="{{!schemeId && dataset.isHaveConditioningProgram === 'Y'}}" class="card-body notification-wrapper">
|
|
|
+ <view wx:if="{{!schemeId && showScheme}}" class="card-body notification-wrapper">
|
|
|
<t-icon t-class="icon" name="chat-bubble-error" size="24px" />
|
|
|
<text>请找医生获取中医调理方案</text>
|
|
|
</view>
|
|
|
@@ -18,25 +18,9 @@
|
|
|
<view class="card-body report-wrapper">
|
|
|
<view class="content-wrapper">
|
|
|
<block wx:if="dataset">
|
|
|
- <span class="row">
|
|
|
- <text>结果显示您是:</text>
|
|
|
- <text>{{dataset.willillStateName}}</text>
|
|
|
- </span>
|
|
|
- <span class="row" wx:if="{{dataset.willillDegreeName}}">
|
|
|
- <text>程度:</text>
|
|
|
- <text>{{dataset.willillDegreeName}}</text>
|
|
|
- </span>
|
|
|
- <!-- <span class="row">
|
|
|
- <text>类型:</text>
|
|
|
- <text>{{dataset.willillSocialName}}</text>
|
|
|
- </span> -->
|
|
|
- <span class="row" wx:if="{{dataset.willillFunctionName}}">
|
|
|
- <text>表现:</text>
|
|
|
- <text>{{dataset.willillFunctionName}}</text>
|
|
|
- </span>
|
|
|
- <span class="row">
|
|
|
- <text>体质:</text>
|
|
|
- <text>{{dataset.constitutionGroupName}}</text>
|
|
|
+ <span class="row" wx:for="{{dataset.report}}" wx:key="value">
|
|
|
+ <text wx:if="{{item.label}}">{{item.label}}:</text>
|
|
|
+ <text>{{item.value}}</text>
|
|
|
</span>
|
|
|
</block>
|
|
|
</view>
|
|
|
@@ -50,133 +34,21 @@
|
|
|
<block wx:if="dataset">
|
|
|
<span class="row">
|
|
|
<text>体质:</text>
|
|
|
- <text>{{dataset.constitutionGroupDefinition}}</text>
|
|
|
+ <text>{{dataset.result}}</text>
|
|
|
</span>
|
|
|
</block>
|
|
|
<view class="talbel-wrapper">
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">总体特征</view>
|
|
|
- <view class="value">{{dataset.constitutionGroupGeneralCharacteristics}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">形体特征</view>
|
|
|
- <view class="value">{{dataset.constitutionGroupPhysicalCharacteristics}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">精神特征</view>
|
|
|
- <view class="value">{{dataset.constitutionGroupPsychicCharacteristics}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">常见表现</view>
|
|
|
- <view class="value">{{dataset.constitutionGroupCommonManifestations}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">发病倾向</view>
|
|
|
- <view class="value">{{dataset.constitutionGroupDiseaseTendency}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">环境适应能力</view>
|
|
|
- <view class="value">{{dataset.constitutionGroupAdaptability}}</view>
|
|
|
+ <view class="talbel-row" wx:for="{{dataset.physique}}" wx:key="value">
|
|
|
+ <view class="label">{{item.label}}</view>
|
|
|
+ <view class="value">{{item.value}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="card-wrapper">
|
|
|
- <t-cell t-class="card-header cell-border-gradient" title="舌象分析">
|
|
|
- <block wx:if="{{tongueAnalysis.length}}">
|
|
|
- <view class="extra-warapper" slot="right-icon" catch:tap="toTongueAnalysisResult">
|
|
|
- <text>详情</text>
|
|
|
- <t-icon t-class="icon" name="chevron-right-double-s" size="24px" />
|
|
|
- </view>
|
|
|
- </block>
|
|
|
- </t-cell>
|
|
|
- <view class="card-body">
|
|
|
- <!-- <view>  {{dataset.tongueAnalysisResult}}</view> -->
|
|
|
- <view class="picture-wrapper">
|
|
|
- <image src="{{dataset.upImg}}" mode="aspectFit" />
|
|
|
- <image src="{{dataset.downImg}}" mode="aspectFit" />
|
|
|
- </view>
|
|
|
+ <card-analysis-content tongue="{{dataset.tongue}}" face="{{dataset.face}}" simple="{{ {tongue: false, face: true} }}"></card-analysis-content>
|
|
|
|
|
|
- <view class="talbel-wrapper t-2">
|
|
|
- <view class="talbel-row title">
|
|
|
- <view class="label">舌象维度</view>
|
|
|
- <view class="value v-1">检测结果</view>
|
|
|
- <view class="value">标准值</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">舌色</view>
|
|
|
- <view class="value v-1">
|
|
|
- <span style="margin: 0 2px;" wx:for="{{dataset.tongueColor.actualList}}" wx:key="actualValue">
|
|
|
- <text>{{item.actualValue}}</text>
|
|
|
- <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
|
|
|
- </span>
|
|
|
- </view>
|
|
|
- <view class="value">{{dataset.tongueColor.standardValue}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">苔色</view>
|
|
|
- <view class="value v-1">
|
|
|
- <span style="margin: 0 2px;" wx:for="{{dataset.tongueCoatingColor.actualList}}" wx:key="actualValue">
|
|
|
- <text>{{item.actualValue}}</text>
|
|
|
- <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
|
|
|
- </span>
|
|
|
- </view>
|
|
|
- <view class="value">{{dataset.tongueCoatingColor.standardValue}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">舌形</view>
|
|
|
- <view class="value v-1">
|
|
|
- <span style="margin: 0 2px;" wx:for="{{dataset.tongueShape.actualList}}" wx:key="actualValue">
|
|
|
- <text>{{item.actualValue}}</text>
|
|
|
- <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
|
|
|
- </span>
|
|
|
- </view>
|
|
|
- <view class="value">{{dataset.tongueShape.standardValue}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">苔质</view>
|
|
|
- <view class="value v-1">
|
|
|
- <span style="margin: 0 2px;" wx:for="{{dataset.tongueCoating.actualList}}" wx:key="actualValue">
|
|
|
- <text>{{item.actualValue}}</text>
|
|
|
- <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
|
|
|
- </span>
|
|
|
- </view>
|
|
|
- <view class="value">{{dataset.tongueCoating.standardValue}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">津液</view>
|
|
|
- <view class="value v-1">
|
|
|
- <span style="margin: 0 2px;" wx:for="{{dataset.bodyFluid.actualList}}" wx:key="actualValue">
|
|
|
- <text>{{item.actualValue}}</text>
|
|
|
- <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
|
|
|
- </span>
|
|
|
- </view>
|
|
|
- <view class="value">{{dataset.bodyFluid.standardValue}}</view>
|
|
|
- </view>
|
|
|
- <view class="talbel-row">
|
|
|
- <view class="label">舌下</view>
|
|
|
- <view class="value v-1">
|
|
|
- <span style="margin: 0 2px;" wx:for="{{dataset.sublingualVein.actualList}}" wx:key="actualValue">
|
|
|
- <text>{{item.actualValue}}</text>
|
|
|
- <text wx:if="{{item.contrast !== 's'}}">({{item.contrast}})</text>
|
|
|
- </span>
|
|
|
- </view>
|
|
|
- <view class="value">{{dataset.sublingualVein.standardValue}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="card-wrapper" wx:if="{{dataset.faceAnalysisResult || dataset.faceImg}}">
|
|
|
- <t-cell t-class="card-header cell-border-gradient" title="面象分析" />
|
|
|
- <view class="card-body">
|
|
|
- <view>  {{dataset.faceAnalysisResult}}</view>
|
|
|
- <view class="picture-wrapper" wx:if="{{dataset.faceImg}}">
|
|
|
- <image src="{{dataset.faceImg}}" mode="aspectFit" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
<view class="card-wrapper">
|
|
|
<t-cell t-class="card-header cell-border-gradient" title="中医证素" />
|
|
|
<!-- <view class="card-body">{{dataset.factorItemSummary}}</view> -->
|