Commit 731d64d55d8fdae5842138ed1a4ac2c179bd5c8b
Merge branch 'local_dev_ft' into 'main'
pref:优化设备命令记录 See merge request yunteng/thingskit-app!100
Showing
2 changed files
with
4 additions
and
4 deletions
@@ -22,9 +22,9 @@ | @@ -22,9 +22,9 @@ | ||
22 | <view class="detail-value">{{ format(commandDetail.createTime) }}</view> | 22 | <view class="detail-value">{{ format(commandDetail.createTime) }}</view> |
23 | </view> | 23 | </view> |
24 | <u-line length="90%" margin="0 auto"></u-line> | 24 | <u-line length="90%" margin="0 auto"></u-line> |
25 | - <view class="detail-item" v-if="commandDetail.additionalInfo.cmdType"> | 25 | + <view class="detail-item"> |
26 | <view class="detail-label">命令类型</view> | 26 | <view class="detail-label">命令类型</view> |
27 | - <view class="detail-value">{{ commandDetail.additionalInfo.cmdType }}</view> | 27 | + <view class="detail-value">{{ commandDetail.additionalInfo.cmdType===0?'自定义':'服务' }}</view> |
28 | </view> | 28 | </view> |
29 | <u-line length="90%" margin="0 auto" v-if="commandDetail.additionalInfo.cmdType"></u-line> | 29 | <u-line length="90%" margin="0 auto" v-if="commandDetail.additionalInfo.cmdType"></u-line> |
30 | <view class="detail-item"> | 30 | <view class="detail-item"> |
@@ -18,9 +18,9 @@ | @@ -18,9 +18,9 @@ | ||
18 | <view class="item-right item-fail" v-else>响应失败</view> | 18 | <view class="item-right item-fail" v-else>响应失败</view> |
19 | </view> | 19 | </view> |
20 | </view> | 20 | </view> |
21 | - <view v-if="item.additionalInfo.cmdType"> | 21 | + <view> |
22 | 命令类型: | 22 | 命令类型: |
23 | - <text style="margin-left: 16rpx;">{{ item.additionalInfo.cmdType }}</text> | 23 | + <text style="margin-left: 16rpx;">{{ item.additionalInfo.cmdType===0?'自定义':'服务' }}</text> |
24 | </view> | 24 | </view> |
25 | <view v-if="item.statusName"> | 25 | <view v-if="item.statusName"> |
26 | 命令状态: | 26 | 命令状态: |