3f535f30
杨鑫
'初始'
|
1
2
3
|
<template>
<view class="page">
<view class="screen-list">
|
3f535f30
杨鑫
'初始'
|
4
|
<view class="list">
|
60cd6339
杨鑫
'最新'
|
5
|
<u-input v-model="pageindex.start" type="select" @click="typeShow = true" placeholder='租赁申请记录' />
|
3f535f30
杨鑫
'初始'
|
6
7
8
9
10
11
|
</view>
</view>
<!-- 记录列表 -->
<view class="record-list">
<view class="record-list-box" v-for="(item,index) in recordList" :key="index" @click="recordXq(item)">
<view class="list">
|
e5b57447
杨鑫
'分包问卷'
|
12
13
14
|
<view class="title">
<view class="left">{{item.cereBasicInformationShop&&item.cereBasicInformationShop.shopName?item.cereBasicInformationShop.shopName:item.cereBasicInformationVenue&&item.cereBasicInformationVenue.venueName?item.cereBasicInformationVenue.venueName:item.cereAdvertisingInformation&&item.cereAdvertisingInformation.advertisingName?item.cereAdvertisingInformation.advertisingName:''}}</view>
<view class="right"><u-icon name="arrow-rightward"></u-icon></view>
|
3f535f30
杨鑫
'初始'
|
15
|
</view>
|
e5b57447
杨鑫
'分包问卷'
|
16
|
<view class="info-item">申请时间:{{item.applicationTime}}</view>
|
0fd8b750
杨鑫
'最新落地1'
|
17
|
<view class="info-item">状态:<span style="color: #0FBB59;">{{item.auditStatus =='1'?'待审核':item.auditStatus =='2'?'待签约':item.auditStatus =='3'?'已驳回':item.auditStatus =='4'?'已签约':'已终止'}}</span></view>
|
3f535f30
杨鑫
'初始'
|
18
|
</view>
|
3f535f30
杨鑫
'初始'
|
19
20
|
</view>
</view>
|
60cd6339
杨鑫
'最新'
|
21
|
<u-select v-model="typeShow" :list="activesType" @confirm="typeChange"></u-select>
|
3f535f30
杨鑫
'初始'
|
22
23
24
25
26
27
28
|
</view>
</template>
<script>
export default {
data() {
return {
|
e5b57447
杨鑫
'分包问卷'
|
29
30
|
recordList:'',
pageindex: {
|
45318813
杨鑫
'最新版本'
|
31
|
auditStatus:1,
|
2a109046
杨鑫
'最新小程序'
|
32
|
pageNumber: 0,
|
e5b57447
杨鑫
'分包问卷'
|
33
34
|
pageSize: 10
},
|
60cd6339
杨鑫
'最新'
|
35
36
|
activesType: [
{
|
60cd6339
杨鑫
'最新'
|
37
|
value: 1,
|
45318813
杨鑫
'最新版本'
|
38
39
40
41
|
label: '待审核'
},{
value:2,
label: '待签约'
|
60cd6339
杨鑫
'最新'
|
42
43
|
},
{
|
45318813
杨鑫
'最新版本'
|
44
45
|
value: 3,
label: '已驳回'
|
60cd6339
杨鑫
'最新'
|
46
47
48
|
}
],
typeShow:false,
|
3f535f30
杨鑫
'初始'
|
49
50
|
};
},
|
e5b57447
杨鑫
'分包问卷'
|
51
52
53
|
mounted(){
this.getALL()
},
|
3f535f30
杨鑫
'初始'
|
54
|
methods: {
|
e5b57447
杨鑫
'分包问卷'
|
55
|
getALL(){
|
0fd8b750
杨鑫
'最新落地1'
|
56
|
this.pageindex.applicant =uni.getStorageSync('user').phone
|
e5b57447
杨鑫
'分包问卷'
|
57
58
59
60
61
62
|
this.$http.sendRequest('/cereBusinessInfo/queryByPage', 'POST', this.pageindex,1).then(res => {
//成功回调
this.$http.sendRequest('/cereAdvertiserInfo/queryByPage', 'POST', this.pageindex, 1).then(item => {
this.recordList = [...res.data.data.content,...item.data.data.content]
|
60cd6339
杨鑫
'最新'
|
63
|
|
e5b57447
杨鑫
'分包问卷'
|
64
65
66
67
|
})
})
},
|
3f535f30
杨鑫
'初始'
|
68
69
70
71
72
73
|
recordXq(item){
const encodedItem = encodeURIComponent(JSON.stringify(item));
uni.navigateTo({
url: `/pages/accepting/accepting?item=${encodedItem}`,
})
},
|
60cd6339
杨鑫
'最新'
|
74
|
typeChange(e) {
|
60cd6339
杨鑫
'最新'
|
75
|
this.pageindex.start = e[0].labels
|
45318813
杨鑫
'最新版本'
|
76
77
|
this.pageindex.auditStatus = e[0].value
this.getALL()
|
60cd6339
杨鑫
'最新'
|
78
|
},
|
3f535f30
杨鑫
'初始'
|
79
80
81
82
83
84
85
|
}
}
</script>
<style scoped lang="scss">
@import 'record.scss';
</style>
|