新增版本检测,合同记录,业绩账户调整
This commit is contained in:
80
pages/user/signLog.vue
Normal file
80
pages/user/signLog.vue
Normal file
@@ -0,0 +1,80 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="log-blcok" v-for="(item, index) in logs" :key="index" @click="onInfo(item.business_order_id)">
|
||||
<view class="flex">
|
||||
<label>订单编号:</label>
|
||||
<view class="val">{{item.order_no}}</view>
|
||||
</view>
|
||||
<view class="flex">
|
||||
<label>业务类型:</label>
|
||||
<view class="val">
|
||||
<text v-for="(titem, tindex) in item.item_type" :key="tindex">{{titem.title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex">
|
||||
<label>签约时间:</label>
|
||||
<view class="val">{{item.created_at}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getSignLogs, getFlows } from '@/apis/interfaces/user.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
logs: [],
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getLog()
|
||||
},
|
||||
methods: {
|
||||
getLog(){
|
||||
uni.showLoading({
|
||||
title: '加载中...',
|
||||
mask : true
|
||||
})
|
||||
getSignLogs({
|
||||
page: 1
|
||||
}).then(res => {
|
||||
this.logs = res.data
|
||||
this.page = res.page
|
||||
uni.hideLoading()
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
},
|
||||
onInfo(id){
|
||||
this.$Router.push({
|
||||
name : 'SignContract',
|
||||
params : { id }
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.content{ padding: 30rpx 30rpx 10rpx; box-sizing: border-box; }
|
||||
|
||||
// 订单列表
|
||||
.log-blcok{
|
||||
background: white;
|
||||
border-radius: $radius;
|
||||
padding: $padding;
|
||||
position: relative;
|
||||
// .log-icon{ position: absolute; right: $margin; top: 50%; margin-top: -14rpx; }
|
||||
.flex{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 30rpx;
|
||||
line-height: 60rpx;
|
||||
label{ color: gray; }
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user