OfficeApp/subpkg/property/agencyList.vue

80 lines
1.3 KiB
Vue
Raw Normal View History

2023-08-29 11:11:19 +08:00
<template>
<view class="box">
2023-08-31 10:44:45 +08:00
<view class="li" v-for="item,index in dataList" :key="index"
@tap="navgo(`/subpkg/property/chosseCompany?id=${item.id}`)">
<view class="">
<view style="display: flex;justify-content: space-between;">
<view class="">
2023-09-06 11:36:48 +08:00
签约申请列表
2023-08-31 10:44:45 +08:00
</view>
2023-09-06 11:36:48 +08:00
</view>
<view class="li">
<view class="date">
{{item.create_time.slice(0, 10)}}
</view>
2023-08-31 10:44:45 +08:00
<view class="">
2023-09-06 11:36:48 +08:00
{{item.company_b_name}}提出租赁车辆一辆
2023-08-31 10:44:45 +08:00
</view>
</view>
2023-09-06 11:36:48 +08:00
2023-08-29 11:11:19 +08:00
</view>
</view>
</view>
</template>
<script>
import {
2023-08-31 10:44:45 +08:00
getAgencyListApi,
2023-08-29 11:11:19 +08:00
} from "@/api/property.js"
export default {
data() {
return {
2023-08-31 10:44:45 +08:00
dataList: []
2023-08-29 11:11:19 +08:00
}
},
methods: {
navgo(url) {
uni.navigateTo({
url
})
}
},
onLoad() {
2023-08-31 10:44:45 +08:00
getAgencyListApi().then(res => {
this.dataList = res.data
2023-08-29 11:11:19 +08:00
})
}
}
</script>
2023-09-06 11:36:48 +08:00
<style lang="scss" scoped>
2023-08-29 11:11:19 +08:00
.box {
padding: 20rpx;
2023-09-06 11:36:48 +08:00
.li {
margin-top: 20rpx;
background-color: white;
padding: 10rpx;
border-radius: 20rpx;
display: flex;
}
.date {
background-color: #FF7C32;
color: white;
padding: 0 10rpx;
width: 200rpx;
height: 50rpx;
margin-right: 10rpx;
border-radius: 15rpx // width: 170rpx;
}
2023-08-31 10:44:45 +08:00
.li {
padding: 10rpx;
background-color: white;
2023-08-29 11:11:19 +08:00
border-radius: 15rpx;
2023-08-31 10:44:45 +08:00
margin-bottom: 10rpx;
2023-08-29 11:11:19 +08:00
}
}
</style>