errCode.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <template>
  2. <view class="container">
  3. <u-navbar leftIconColor="#fff" titleStyle="color:#fff;fontSize:36rpx;" :autoBack="true" bgColor="#2C6FF3"
  4. :placeholder="true" title="常见错误码"></u-navbar>
  5. <scroll-view scroll-y="true" scroll-with-animation="true" lower-threshold="100">
  6. <view class="log-item" v-for="(item,index) in logs" :key="index">
  7. <view class="logs">
  8. <view class="name">错误码</view>
  9. <view class="val">{{item.code}}</view>
  10. </view>
  11. <view class="logs">
  12. <view class="name">错误描述</view>
  13. <view class="val">{{item.describe}}</view>
  14. </view>
  15. <view class="logs">
  16. <view class="name">建议处理方案</view>
  17. <view class="val">{{item.deal}}</view>
  18. </view>
  19. </view>
  20. </scroll-view>
  21. </view>
  22. </template>
  23. <script>
  24. import {
  25. byId,
  26. orderLogs,
  27. refundDetail
  28. } from "@/api/order/order.js"
  29. export default {
  30. data() {
  31. return {
  32. logs: [
  33. {
  34. code:'IPC1001',
  35. describe:'IPC子板无法连接',
  36. deal:'请重启设备,若故障未恢复,请报修;'
  37. },
  38. {
  39. code:'IPC1002',
  40. describe:'IPC子板网络连接正常,但无法通讯',
  41. deal:'请重启设备,若故障未恢复,请报修;'
  42. },
  43. {
  44. code:'IPC1101',
  45. describe:'IPC无法识别摄像头',
  46. deal:'请重启设备,若故障未恢复,请报修;'
  47. },
  48. {
  49. code:'CTRL1001',
  50. describe:'控制板无法连接',
  51. deal:'请重启设备,若故障未恢复,请报修;'
  52. },
  53. {
  54. code:'CTRL1002',
  55. describe:'控制板网络连接正常,但无法通讯',
  56. deal:'请重启设备,若故障未恢复,请报修;'
  57. },
  58. {
  59. code:'CTRL1102',
  60. describe:'电插锁发送关门命令后锁芯无法落下',
  61. deal:'请检查柜门是否关到位,如无法顺畅关门,请报修;'
  62. },
  63. {
  64. code:'TRA1001',
  65. describe:'在非交易状态下检测到门处于开启状态',
  66. deal:'请检查柜门是否关到位,如无法顺畅关门,请报修;'
  67. },
  68. {
  69. code:'Z1002',
  70. describe:'刷脸摄像头异常,请重启设备后再试(Z1002)',
  71. deal:'请重启设备,若故障未恢复,请报修;'
  72. },
  73. {
  74. code:'Z1020',
  75. describe:'刷脸摄像头异常,请重启设备后再试(Z1020)',
  76. deal:'请重启设备,若故障未恢复,请报修;'
  77. },
  78. {
  79. code:'Z1021',
  80. describe:'刷脸摄像头异常,请重启设备后再试(Z1021)',
  81. deal:'请重启设备,若故障未恢复,请报修;'
  82. },
  83. {
  84. code:'LCN1001',
  85. describe:'网络问题/后台服务器无法连接',
  86. deal:'请检查网络连接,切换可用网络;'
  87. },
  88. {
  89. code:'HRD1002',
  90. describe:'设备断电',
  91. deal:'设备断电,请到现场恢复供电'
  92. },
  93. {
  94. code:'33019',
  95. describe:'用户授权异常(上一笔交易未结束,或存在未解约的协议)',
  96. deal:'账号存在未解约协议,请联系商户处理'
  97. },
  98. {
  99. code:'33004',
  100. describe:'找不到商品列表',
  101. deal:'设备未配置商品'
  102. },
  103. {
  104. code:'33005',
  105. describe:'商品列表下没有商品',
  106. deal:''
  107. },
  108. {
  109. code:'33015',
  110. describe:'授权处理超时',
  111. deal:''
  112. }
  113. ]
  114. }
  115. },
  116. onLoad(o) {
  117. },
  118. methods: {
  119. },
  120. }
  121. </script>
  122. <style scoped lang="scss">
  123. .container {
  124. padding: 24rpx;
  125. line-height: 50rpx;
  126. .text {
  127. color: #2C6FF3;
  128. }
  129. .log-item {
  130. width: 702rpx;
  131. margin-bottom: 50rpx;
  132. .logs {
  133. overflow: hidden;
  134. width: 100%;
  135. }
  136. .name {
  137. float: left;
  138. margin-right: 24rpx;
  139. width: 26%;
  140. color: gray;
  141. }
  142. .val {
  143. float: left;
  144. word-wrap: break-word;
  145. word-break: break-all;
  146. width: 70%;
  147. }
  148. }
  149. }
  150. </style>