1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<template>
<div class="Sheepcommission">
<div class="query-box">
<ul>
<li>
<span>
<em>{{$t('system.query_airName')}}</em>
<el-input type="text" v-model="msg.Name" :placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('pub.mbPhone')}}</em>
<el-input type="text" v-model="msg.Moblie" :placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="getList()" />
</li>
</ul>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th>{{$t('objFill.v101.FinancialModule.yonghuid')}}</th>
<th>{{$t('hotel.hotel_nameOf')}}</th>
<th>{{$t('pub.mbPhone')}}</th>
<th>{{$t('objFill.v101.FinancialModule.fenxiaodj')}}</th>
<th>{{$t('objFill.v101.FinancialModule.leijiyoj')}}</th>
<th>{{$t('objFill.v101.FinancialModule.ketixiyj')}}</th>
<th>{{$t('objFill.v101.FinancialModule.daijisyj')}}</th>
<th>{{$t('objFill.v101.FinancialModule.yijiesyj')}}</th>
</tr>
<tr v-for="(item,i) in dataList" :key="i">
<td>{{item.UserId}}</td>
<td>{{item.Name}}</td>
<td>{{item.Moblie}}</td>
<td>{{item.GradeName}}</td>
<td>{{item.TotalCommission}}</td>
<td>{{item.CommissionWithdrawal}}</td>
<td>
<span @click="goUrl(item)" class="underline point">{{item.WaitCommission}}</span>
</td>
<td>
<span @click="goUrl(item)" class="underline point">{{item.Commission}}</span>
</td>
</tr>
<tr v-if="dataList.length==0">
<td colspan="15" align="center">{{$t('system.content_noData')}}</td>
</tr>
</table>
<el-pagination background @current-change="handleCurrentChange" layout="total,prev, pager, next, jumper"
:page-size="msg.pageSize" :total='total'>
</el-pagination>
</div>
</template>
<script>
import moment from "moment";
export default {
name: "Feedback",
data() {
return {
total: 0,
msg: {
pageIndex: 1,
pageSize: 10,
Name: '',
Moblie: '',
IsSelectCommpany: 1
},
dataList: [],
loading: false
};
},
created() {
this.getList();
},
mounted() {},
methods: {
goUrl(item) {
this.$router.push({
name: "commissionSubsidiary",
query: {
UserId: item.UserId,
blank: 'y'
}
})
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
getList() {
this.loading = true;
this.apipost('Financial_get_GetMallUserCommissionPageList', this.msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.total = res.data.data.count;
this.dataList = res.data.data.pageData;
} else {
this.$message.error(res.data.message);
}
}, err => {})
},
}
};
</script>
<style>
.Sheepcommission .underline {
text-decoration: underline;
}
.Sheepcommission .point {
cursor: pointer;
}
</style>