|
@@ -1,9 +1,9 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="home" v-loading="loading">
|
3
|
|
- <div class="tipsBox">管理员{{ adminName }}给你分配了{{ customeNum }}个客户还未添加,快去复制电话号码添加客户吧,管理员在微伴后台可查看添加状态哦~</div>
|
|
3
|
+ <div class="tipsBox">管理员给你分配了{{ tableData&&tableData.length }}个客户还未添加,快去复制电话号码添加客户吧,管理员在微伴后台可查看添加状态哦~</div>
|
4
|
4
|
<div class="operateArea">
|
5
|
5
|
<div>
|
6
|
|
- <el-select v-model="addStatus_val" placeholder="请选择添加状态" @change="statusChange" style="width: 160px">
|
|
6
|
+ <el-select v-model="addStatus_val" placeholder="请选择添加状态" @change="statusChange">
|
7
|
7
|
<el-option
|
8
|
8
|
v-for="item in addStatusArrs"
|
9
|
9
|
:key="item.value"
|
|
@@ -65,8 +65,6 @@ export default class HomeView extends Vue {
|
65
|
65
|
noMore = false
|
66
|
66
|
loading=false
|
67
|
67
|
disabled = this.load_loading || this.noMore
|
68
|
|
- adminName = '刘晓娜'
|
69
|
|
- customeNum = 1
|
70
|
68
|
page=1
|
71
|
69
|
page_size=20
|
72
|
70
|
addStatus_val = ''
|
|
@@ -92,14 +90,14 @@ export default class HomeView extends Vue {
|
92
|
90
|
value: '2',
|
93
|
91
|
label: '待通过'
|
94
|
92
|
},
|
95
|
|
- {
|
96
|
|
- value: '3',
|
97
|
|
- label: '已添加'
|
98
|
|
- },
|
99
|
|
- {
|
100
|
|
- value: '4',
|
101
|
|
- label: '待分配'
|
102
|
|
- }
|
|
93
|
+ // {
|
|
94
|
+ // value: '3',
|
|
95
|
+ // label: '已添加'
|
|
96
|
+ // },
|
|
97
|
+ // {
|
|
98
|
+ // value: '4',
|
|
99
|
+ // label: '待分配'
|
|
100
|
+ // }
|
103
|
101
|
]
|
104
|
102
|
|
105
|
103
|
created () {
|
|
@@ -115,6 +113,7 @@ export default class HomeView extends Vue {
|
115
|
113
|
duration:5000
|
116
|
114
|
})
|
117
|
115
|
}else{
|
|
116
|
+ this.loading = true
|
118
|
117
|
this.get_customerList()
|
119
|
118
|
}
|
120
|
119
|
}
|
|
@@ -150,7 +149,7 @@ export default class HomeView extends Vue {
|
150
|
149
|
}
|
151
|
150
|
|
152
|
151
|
getAuthInfo (item) {
|
153
|
|
- axios.get('/api/jsapi/auth', {
|
|
152
|
+ axios.get('/jsapi/auth', {
|
154
|
153
|
params: {
|
155
|
154
|
corpid: this.$route.query.corpid,
|
156
|
155
|
user_id: this.$route.query.user_id,
|
|
@@ -217,7 +216,7 @@ export default class HomeView extends Vue {
|
217
|
216
|
}
|
218
|
217
|
|
219
|
218
|
get_dataReporting (item) { // 复制上报
|
220
|
|
- axios.get('/api/addCustomer/dataReporting', {
|
|
219
|
+ axios.get('/addCustomer/dataReporting', {
|
221
|
220
|
params: {
|
222
|
221
|
corpid: this.$route.query.corpid,
|
223
|
222
|
user_id: this.$route.query.user_id,
|