|
@@ -1,4 +1,12 @@
|
|
|
<!--module/health/pages/report/report.wxml-->
|
|
<!--module/health/pages/report/report.wxml-->
|
|
|
|
|
+<wxs module="tool">
|
|
|
|
|
+module.exports = {
|
|
|
|
|
+ replace : function (value) {
|
|
|
|
|
+ if (typeof value === 'string') return value.replace(':', '').replace(':', '');
|
|
|
|
|
+ return ''
|
|
|
|
|
+ },
|
|
|
|
|
+}
|
|
|
|
|
+</wxs>
|
|
|
<view class="report-container">
|
|
<view class="report-container">
|
|
|
<t-navbar title="{{i18n.report.title}}" left-arrow bind:fail="toHomePage" />
|
|
<t-navbar title="{{i18n.report.title}}" left-arrow bind:fail="toHomePage" />
|
|
|
|
|
|
|
@@ -67,7 +75,7 @@
|
|
|
<view>
|
|
<view>
|
|
|
<image src="../../assets/icon/icon_zhengsu@2x.png" class="icon-title" />
|
|
<image src="../../assets/icon/icon_zhengsu@2x.png" class="icon-title" />
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="text-title">{{i18n.common.zy}}{{i18n.report.resultTable[5]}}</view>
|
|
|
|
|
|
|
+ <view class="text-title">{{i18n.common.zy}}{{tool.replace(i18n.health.statusTable[5])}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="rows" wx:for="{{dataset.factorItems}}" wx:key="*this">
|
|
<view class="rows" wx:for="{{dataset.factorItems}}" wx:key="*this">
|
|
|
<view class="primary">{{item.factorItemName}}</view>
|
|
<view class="primary">{{item.factorItemName}}</view>
|
|
@@ -81,7 +89,7 @@
|
|
|
<view>
|
|
<view>
|
|
|
<image src="../../assets/icon/icon_zhengxing@2x.png" class="icon-title" />
|
|
<image src="../../assets/icon/icon_zhengxing@2x.png" class="icon-title" />
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="text-title">{{i18n.common.zy}}{{i18n.report.resultTable[6]}}</view>
|
|
|
|
|
|
|
+ <view class="text-title">{{i18n.common.zy}}{{tool.replace(i18n.health.statusTable[6])}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="rows" wx:for="{{dataset.diagnoseSyndromes}}" wx:key="*this">
|
|
<view class="rows" wx:for="{{dataset.diagnoseSyndromes}}" wx:key="*this">
|
|
|
<view class="primary">{{item.diagnoseSyndromeName}}</view>
|
|
<view class="primary">{{item.diagnoseSyndromeName}}</view>
|