Commit 731d64d55d8fdae5842138ed1a4ac2c179bd5c8b

Authored by xp.Huang
2 parents 6e2bc138 9fea7b85

Merge branch 'local_dev_ft' into 'main'

pref:优化设备命令记录

See merge request yunteng/thingskit-app!100
... ... @@ -22,9 +22,9 @@
22 22 <view class="detail-value">{{ format(commandDetail.createTime) }}</view>
23 23 </view>
24 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 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 28 </view>
29 29 <u-line length="90%" margin="0 auto" v-if="commandDetail.additionalInfo.cmdType"></u-line>
30 30 <view class="detail-item">
... ...
... ... @@ -18,9 +18,9 @@
18 18 <view class="item-right item-fail" v-else>响应失败</view>
19 19 </view>
20 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 24 </view>
25 25 <view v-if="item.statusName">
26 26 命令状态:
... ...