Browse Source

新增报修流转

master
longjieli 4 months ago
parent
commit
dda3161e99
1 changed files with 69 additions and 0 deletions
  1. +69
    -0
      pages/roam/roam.vue

+ 69
- 0
pages/roam/roam.vue View File

@ -0,0 +1,69 @@
<!-- 订单流转页面 -->
<template>
<view class="roam">
<view v-if="list.length > 0" v-for="item in list" :key="item.id" class="context">
<view class="time">{{ item.createTime }}</view>
<view class="desc">
<view>流转说明:</view>
<view>{{ item.centext }}</view>
<view v-if="item.textCentext" style="margin-top: 10rpx;">驳回备注:</view>
<view v-if="item.textCentext" class="">{{ item.textCentext }}</view>
</view>
</view>
<uv-empty v-else mode="data" :width="500" :textSize="30" text="暂无流转记录"
icon="/static/empty/empty.png"></uv-empty>
</view>
</template>
<script>
export default {
data() {
return {
list: [],
form: {
orderId: undefined
}
}
},
onShow() {
this.getOrderFlowList()
},
onLoad: function(options) {
this.form.orderId = options.orderId || ''
},
methods: {
//
getOrderFlowList() {
this.$api('getOrderFlowList', this.form, res => {
if (res.code == 200) {
this.list = res.result
}
})
},
}
}
</script>
<style lang="scss" scoped>
.roam {
width: 96%;
margin: 0rpx auto;
.context {
align-items: center;
box-sizing: border-box;
margin: 20rpx 0rpx;
border-radius: 10rpx;
padding: 20rpx;
box-shadow: 0rpx 0rpx 15rpx rgba(0, 0, 0, .2);
.desc {}
.time {
text-align: right;
font-size: 26rpx;
color: #585858;
}
}
}
</style>

Loading…
Cancel
Save