3f535f30
杨鑫
'初始'
|
1
2
3
|
<template>
<view class="page">
<view class="screen-list">
|
3f535f30
杨鑫
'初始'
|
4
|
<view class="list">
|
20f3f580
wesley88
1
|
5
|
<u-input type="select" @click="typeShow = true":placeholder="pageindex.auditStatus == '1'?'待审核':pageindex.auditStatus == '2'?'待签约':pageindex.auditStatus == '3'?'已驳回':'状态筛选'" />
|
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>
|
20f3f580
wesley88
1
|
21
|
<view v-if="recordList.length == 0" style="text-align: center;margin-top: 60rpx;color:#808080;">暂无数据</view>
|
60cd6339
杨鑫
'最新'
|
22
|
<u-select v-model="typeShow" :list="activesType" @confirm="typeChange"></u-select>
|
3f535f30
杨鑫
'初始'
|
23
24
25
26
27
28
29
|
</view>
</template>
<script>
export default {
data() {
return {
|
e5b57447
杨鑫
'分包问卷'
|
30
31
|
recordList:'',
pageindex: {
|
45318813
杨鑫
'最新版本'
|
32
|
auditStatus:1,
|
2a109046
杨鑫
'最新小程序'
|
33
|
pageNumber: 0,
|
e5b57447
杨鑫
'分包问卷'
|
34
35
|
pageSize: 10
},
|
60cd6339
杨鑫
'最新'
|
36
37
|
activesType: [
{
|
60cd6339
杨鑫
'最新'
|
38
|
value: 1,
|
45318813
杨鑫
'最新版本'
|
39
40
41
42
|
label: '待审核'
},{
value:2,
label: '待签约'
|
60cd6339
杨鑫
'最新'
|
43
44
|
},
{
|
45318813
杨鑫
'最新版本'
|
45
46
|
value: 3,
label: '已驳回'
|
60cd6339
杨鑫
'最新'
|
47
48
49
|
}
],
typeShow:false,
|
3f535f30
杨鑫
'初始'
|
50
51
|
};
},
|
e5b57447
杨鑫
'分包问卷'
|
52
53
54
|
mounted(){
this.getALL()
},
|
3f535f30
杨鑫
'初始'
|
55
|
methods: {
|
e5b57447
杨鑫
'分包问卷'
|
56
|
getALL(){
|
0fd8b750
杨鑫
'最新落地1'
|
57
|
this.pageindex.applicant =uni.getStorageSync('user').phone
|
e5b57447
杨鑫
'分包问卷'
|
58
59
|
this.$http.sendRequest('/cereBusinessInfo/queryByPage', 'POST', this.pageindex,1).then(res => {
//成功回调
|
440bccda
wesley88
1
|
60
|
this.recordList = res.data.data.records
|
20f3f580
wesley88
1
|
61
62
|
this.$http.sendRequest('/cereAdvertiserInfo/queryByPage', 'POST', this.pageindex, 1).then(item => {
|
440bccda
wesley88
1
|
63
64
|
if(item.data.data.records !=undefined &&item.data.data.records.length !=0){
item.data.data.records.map(val=>{
|
20f3f580
wesley88
1
|
65
66
67
68
69
70
71
72
73
74
75
|
this.recordList.push(val)
})
}
})
})
return
this.pageindex.applicant =uni.getStorageSync('user').phone
this.$http.sendRequest('/cereBusinessInfo/queryByPage', 'POST', this.pageindex,1).then(res => {
//成功回调
|
e5b57447
杨鑫
'分包问卷'
|
76
77
78
79
|
this.$http.sendRequest('/cereAdvertiserInfo/queryByPage', 'POST', this.pageindex, 1).then(item => {
this.recordList = [...res.data.data.content,...item.data.data.content]
|
60cd6339
杨鑫
'最新'
|
80
|
|
e5b57447
杨鑫
'分包问卷'
|
81
82
83
84
|
})
})
},
|
3f535f30
杨鑫
'初始'
|
85
86
87
88
89
90
|
recordXq(item){
const encodedItem = encodeURIComponent(JSON.stringify(item));
uni.navigateTo({
url: `/pages/accepting/accepting?item=${encodedItem}`,
})
},
|
60cd6339
杨鑫
'最新'
|
91
|
typeChange(e) {
|
60cd6339
杨鑫
'最新'
|
92
|
this.pageindex.start = e[0].labels
|
45318813
杨鑫
'最新版本'
|
93
94
|
this.pageindex.auditStatus = e[0].value
this.getALL()
|
60cd6339
杨鑫
'最新'
|
95
|
},
|
3f535f30
杨鑫
'初始'
|
96
97
98
99
100
101
102
|
}
}
</script>
<style scoped lang="scss">
@import 'record.scss';
</style>
|