艺易修小程序24.08.21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.4 KiB

  1. <!-- 订单流转页面 -->
  2. <template>
  3. <view class="roam">
  4. <view v-if="list.length > 0" v-for="item in list" :key="item.id" class="context">
  5. <view class="time">{{ item.createTime }}</view>
  6. <view class="desc">
  7. <view>流转说明:</view>
  8. <view>{{ item.centext }}</view>
  9. <view v-if="item.textCentext" style="margin-top: 10rpx;">驳回备注:</view>
  10. <view v-if="item.textCentext" class="">{{ item.textCentext }}</view>
  11. </view>
  12. </view>
  13. <uv-empty v-else mode="data" :width="500" :textSize="30" text="暂无流转记录"
  14. icon="/static/empty/empty.png"></uv-empty>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. list: [],
  22. form: {
  23. orderId: undefined
  24. }
  25. }
  26. },
  27. onShow() {
  28. this.getOrderFlowList()
  29. },
  30. onLoad: function(options) {
  31. this.form.orderId = options.orderId || ''
  32. },
  33. methods: {
  34. //获取订单流转记录
  35. getOrderFlowList() {
  36. this.$api('getOrderFlowList', this.form, res => {
  37. if (res.code == 200) {
  38. this.list = res.result
  39. }
  40. })
  41. },
  42. }
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .roam {
  47. width: 96%;
  48. margin: 0rpx auto;
  49. .context {
  50. align-items: center;
  51. box-sizing: border-box;
  52. margin: 20rpx 0rpx;
  53. border-radius: 10rpx;
  54. padding: 20rpx;
  55. box-shadow: 0rpx 0rpx 15rpx rgba(0, 0, 0, .2);
  56. .desc {}
  57. .time {
  58. text-align: right;
  59. font-size: 26rpx;
  60. color: #585858;
  61. }
  62. }
  63. }
  64. </style>