|
|
@@ -9,9 +9,7 @@
|
|
9
|
9
|
</div>
|
|
10
|
10
|
</el-col>-->
|
|
11
|
11
|
<el-col :md="21">
|
|
12
|
|
- <h1 class="title">
|
|
13
|
|
- <svg-icon class="title_icon" icon-class="hongqi" />会员信息
|
|
14
|
|
- </h1>
|
|
|
12
|
+ <h1 class="title"><svg-icon class="title_icon" icon-class="hongqi" />会员信息</h1>
|
|
15
|
13
|
<!-- <p class="title_sub"><span class="green">{{ name }}</span> {{ createtime }}</p> -->
|
|
16
|
14
|
<p class="title_sub">
|
|
17
|
15
|
<span class="green">{{ name }}</span> 足力健
|
|
|
@@ -101,69 +99,28 @@
|
|
101
|
99
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
102
|
100
|
<el-tab-pane label="被推荐人信息" name="first">
|
|
103
|
101
|
<div class="tab_body">
|
|
104
|
|
- <el-table
|
|
105
|
|
- :data="workOrderCirculationList"
|
|
106
|
|
- border
|
|
107
|
|
- stripe
|
|
108
|
|
- >
|
|
109
|
|
- <el-table-column
|
|
110
|
|
- type="index"
|
|
111
|
|
- label="编号"
|
|
112
|
|
- align="center"
|
|
113
|
|
- width=""
|
|
114
|
|
- />
|
|
115
|
|
- <el-table-column
|
|
116
|
|
- prop="F_Name"
|
|
117
|
|
- label="推荐人"
|
|
118
|
|
- align="center"
|
|
119
|
|
- width=""
|
|
120
|
|
- />
|
|
121
|
|
- <el-table-column
|
|
122
|
|
- prop="F_Phone"
|
|
123
|
|
- label="联系方式"
|
|
124
|
|
- align="center"
|
|
125
|
|
- width=""
|
|
126
|
|
- />
|
|
|
102
|
+ <el-table :data="workOrderCirculationList" border stripe>
|
|
|
103
|
+ <el-table-column type="index" label="编号" align="center" width="" />
|
|
|
104
|
+ <el-table-column prop="F_Name" label="推荐人" align="center" width="" />
|
|
|
105
|
+ <el-table-column prop="F_Phone" label="联系方式" align="center" width="" />
|
|
127
|
106
|
</el-table>
|
|
128
|
|
- <pagination
|
|
129
|
|
- v-show="pageParamsSent.total > 0"
|
|
130
|
|
- :total="pageParamsSent.total"
|
|
131
|
|
- :pageindex.sync="pageParamsSent.pageindex"
|
|
132
|
|
- :pagesize.sync="pageParamsSent.pagesize"
|
|
133
|
|
- class="pagination"
|
|
134
|
|
- @pagination="paginationFun"
|
|
135
|
|
- />
|
|
|
107
|
+ <pagination v-show="pageParamsSent.total > 0" :total="pageParamsSent.total" :pageindex.sync="pageParamsSent.pageindex" :pagesize.sync="pageParamsSent.pagesize" class="pagination" @pagination="paginationFun" />
|
|
136
|
108
|
</div>
|
|
137
|
109
|
</el-tab-pane>
|
|
138
|
110
|
|
|
139
|
111
|
<el-tab-pane label="订单记录" name="second">
|
|
140
|
112
|
<div class="tab_body">
|
|
141
|
|
- <el-table
|
|
142
|
|
- :data="orderLists"
|
|
143
|
|
- border
|
|
144
|
|
- stripe
|
|
145
|
|
- >
|
|
146
|
|
- <el-table-column
|
|
147
|
|
- type="index"
|
|
148
|
|
- label="编号"
|
|
149
|
|
- align="center"
|
|
150
|
|
- width=""
|
|
151
|
|
- />
|
|
|
113
|
+ <el-table :data="orderLists" border stripe>
|
|
|
114
|
+ <el-table-column type="index" label="编号" align="center" width="" />
|
|
152
|
115
|
<el-table-column prop="F_Id" label="订单编号" align="center" min-width="180">
|
|
153
|
116
|
<template slot-scope="scope">
|
|
154
|
|
- <el-button
|
|
155
|
|
- type="text"
|
|
156
|
|
- size="small"
|
|
157
|
|
- @click="hadndleOrderCode(scope.row.F_Id)"
|
|
158
|
|
- >{{ scope.row.F_Id }}</el-button
|
|
159
|
|
- >
|
|
|
117
|
+ <el-button type="text" size="small" @click="hadndleOrderCode(scope.row.F_Id)">{{ scope.row.F_Id }}</el-button>
|
|
160
|
118
|
</template>
|
|
161
|
119
|
</el-table-column>
|
|
162
|
120
|
<el-table-column prop="F_Customer" label="客户姓名" align="center" min-width />
|
|
163
|
121
|
<el-table-column prop="F_CustomerPhone" label="手机号码" align="center" min-width="140">
|
|
164
|
122
|
<template slot-scope="scope">
|
|
165
|
123
|
{{ scope.row.F_CustomerPhone }}
|
|
166
|
|
-
|
|
167
|
124
|
</template>
|
|
168
|
125
|
</el-table-column>
|
|
169
|
126
|
<el-table-column label="订购商品" align="center" min-width>
|
|
|
@@ -186,19 +143,12 @@
|
|
186
|
143
|
</template>
|
|
187
|
144
|
</el-table-column>
|
|
188
|
145
|
</el-table>
|
|
189
|
|
- <pagination
|
|
190
|
|
- v-show="pageParams.total > 0"
|
|
191
|
|
- :total="pageParams.total"
|
|
192
|
|
- :pageindex.sync="pageParams.pageindex"
|
|
193
|
|
- :pagesize.sync="pageParams.pagesize"
|
|
194
|
|
- class="pagination"
|
|
195
|
|
- @pagination="getList"
|
|
196
|
|
- />
|
|
|
146
|
+ <pagination v-show="pageParams.total > 0" :total="pageParams.total" :pageindex.sync="pageParams.pageindex" :pagesize.sync="pageParams.pagesize" class="pagination" @pagination="getList" />
|
|
197
|
147
|
</div>
|
|
198
|
148
|
</el-tab-pane>
|
|
199
|
149
|
<el-tab-pane label="通话记录" name="third">
|
|
200
|
150
|
<div class="tab_body">
|
|
201
|
|
- <el-table v-loading="loading" :data="calldataLists" border stripe >
|
|
|
151
|
+ <el-table v-loading="loading" :data="calldataLists" border stripe>
|
|
202
|
152
|
<el-table-column type="index" label="编号" align="center" fixed width="80" />
|
|
203
|
153
|
<el-table-column prop="Caller" label="主叫号码" align="center" min-width />
|
|
204
|
154
|
<!-- <el-table-column prop="UserCode" label="坐席工号" align="center" min-width ></el-table-column> -->
|
|
|
@@ -208,11 +158,7 @@
|
|
208
|
158
|
</el-table-column>
|
|
209
|
159
|
<el-table-column label="呼叫状态" align="center" min-width>
|
|
210
|
160
|
<template slot-scope="scope">
|
|
211
|
|
- <el-tag
|
|
212
|
|
- :type="scope.row.CallState === 1 ? 'success' : 'danger'"
|
|
213
|
|
- size="mini"
|
|
214
|
|
- disable-transitions
|
|
215
|
|
- >{{ scope.row.CallState | statusFilter }}</el-tag>
|
|
|
161
|
+ <el-tag :type="scope.row.CallState === 1 ? 'success' : 'danger'" size="mini" disable-transitions>{{ scope.row.CallState | statusFilter }}</el-tag>
|
|
216
|
162
|
</template>
|
|
217
|
163
|
</el-table-column>
|
|
218
|
164
|
<!-- <el-table-column label="处理方式" align="center" min-width>
|
|
|
@@ -223,12 +169,7 @@
|
|
223
|
169
|
</el-table-column>-->
|
|
224
|
170
|
<el-table-column label="录音" align="center" min-width>
|
|
225
|
171
|
<template slot-scope="scope">
|
|
226
|
|
- <svg-icon
|
|
227
|
|
- v-if="scope.row.FilePath"
|
|
228
|
|
- class="rec_file"
|
|
229
|
|
- icon-class="bofangluyin"
|
|
230
|
|
- @click.native="playSound(scope.row.FilePath, scope.row.UserCode)"
|
|
231
|
|
- />
|
|
|
172
|
+ <svg-icon v-if="scope.row.FilePath" class="rec_file" icon-class="bofangluyin" @click.native="playSound(scope.row.FilePath, scope.row.UserCode)" />
|
|
232
|
173
|
<span v-else>-</span>
|
|
233
|
174
|
</template>
|
|
234
|
175
|
</el-table-column>
|
|
|
@@ -258,24 +199,17 @@
|
|
258
|
199
|
<template slot-scope="scope">{{ scope.row.callopttype | callopttypeFilter }}</template>
|
|
259
|
200
|
</el-table-column>-->
|
|
260
|
201
|
</el-table>
|
|
261
|
|
- <pagination
|
|
262
|
|
- v-show="pageParamsCall.total > 0"
|
|
263
|
|
- :total="pageParamsCall.total"
|
|
264
|
|
- :pageindex.sync="pageParamsCall.pageindex"
|
|
265
|
|
- :pagesize.sync="pageParamsCall.pagesize"
|
|
266
|
|
- class="pagination"
|
|
267
|
|
- @pagination="getCallList"
|
|
268
|
|
- />
|
|
|
202
|
+ <pagination v-show="pageParamsCall.total > 0" :total="pageParamsCall.total" :pageindex.sync="pageParamsCall.pageindex" :pagesize.sync="pageParamsCall.pagesize" class="pagination" @pagination="getCallList" />
|
|
269
|
203
|
</div>
|
|
270
|
204
|
</el-tab-pane>
|
|
271
|
205
|
<el-tab-pane label="档案转移记录" name="fourth">
|
|
272
|
206
|
<div class="tab_body">
|
|
273
|
207
|
<el-table :data="workOrderCirculationList2" border stripe>
|
|
274
|
208
|
<!-- <el-table-column type="selection" width="40"></el-table-column> -->
|
|
275
|
|
- <el-table-column prop="F_CreateOn" label="转移时间" align="center" fixed width/>
|
|
276
|
|
- <el-table-column prop="F_ToPerson" label="新负责人" align="center" fixed width/>
|
|
277
|
|
- <el-table-column prop="F_NotifyPerson" label="原负责人" align="center" fixed width/>
|
|
278
|
|
- <el-table-column prop="F_Notice" label="消息" align="center" fixed width/>
|
|
|
209
|
+ <el-table-column prop="F_CreateOn" label="转移时间" align="center" fixed width />
|
|
|
210
|
+ <el-table-column prop="F_ToPerson" label="新负责人" align="center" fixed width />
|
|
|
211
|
+ <el-table-column prop="F_NotifyPerson" label="原负责人" align="center" fixed width />
|
|
|
212
|
+ <el-table-column prop="F_Notice" label="消息" align="center" fixed width />
|
|
279
|
213
|
<el-table-column label="状态" align="center" fixed width>
|
|
280
|
214
|
<template slot-scope="scope">
|
|
281
|
215
|
<el-tag v-if="scope.row.F_State == 0">未读</el-tag>
|
|
|
@@ -285,14 +219,7 @@
|
|
285
|
219
|
</template>
|
|
286
|
220
|
</el-table-column>
|
|
287
|
221
|
</el-table>
|
|
288
|
|
- <pagination
|
|
289
|
|
- v-show="pageParamsfiled.total > 0"
|
|
290
|
|
- :total="pageParamsfiled.total"
|
|
291
|
|
- :pageindex.sync="pageParamsfiled.pageindex"
|
|
292
|
|
- :pagesize.sync="pageParamsfiled.pagesize"
|
|
293
|
|
- class="pagination"
|
|
294
|
|
- @pagination="paginationFun2"
|
|
295
|
|
- />
|
|
|
222
|
+ <pagination v-show="pageParamsfiled.total > 0" :total="pageParamsfiled.total" :pageindex.sync="pageParamsfiled.pageindex" :pagesize.sync="pageParamsfiled.pagesize" class="pagination" @pagination="paginationFun2" />
|
|
296
|
223
|
</div>
|
|
297
|
224
|
</el-tab-pane>
|
|
298
|
225
|
<el-tab-pane label="备注" name="fifth">
|
|
|
@@ -319,185 +246,181 @@
|
|
319
|
246
|
</el-tab-pane>
|
|
320
|
247
|
</el-tabs>
|
|
321
|
248
|
</el-card>
|
|
322
|
|
-
|
|
323
|
249
|
</div>
|
|
324
|
250
|
</template>
|
|
325
|
251
|
|
|
326
|
252
|
<script>
|
|
327
|
|
-import { getMemberInfo, getMemberOrderList } from '@/api/memberManagement/memberList'
|
|
328
|
|
-import { getOrderLists } from '@/api/orderManagement/orderList'
|
|
329
|
|
-import { mapGetters } from 'vuex'
|
|
330
|
|
-import Pagination from '@/components/Pagination' // 对el-pagination 二次封装
|
|
331
|
|
-import { filterContent } from '@/utils'
|
|
332
|
|
-import { getCallRecords } from '@/api/trafficData/trafficData'
|
|
333
|
|
-import audioPlayer from '@/components/audioPlayer'
|
|
334
|
|
-import { getFileTranserLists } from '@/api/memberManagement/memberList'
|
|
335
|
|
-import afterSale from '@/views/afterSaleManagement/addAfterSale/afterSale'
|
|
336
|
|
-import { getChatLogList } from '@/api/afterSaleManagement/afterSaleList'
|
|
|
253
|
+import { getMemberInfo, getMemberOrderList } from "@/api/memberManagement/memberList"
|
|
|
254
|
+import { getOrderLists } from "@/api/orderManagement/orderList"
|
|
|
255
|
+import { mapGetters } from "vuex"
|
|
|
256
|
+import Pagination from "@/components/Pagination" // 对el-pagination 二次封装
|
|
|
257
|
+import { filterContent } from "@/utils"
|
|
|
258
|
+import { getCallRecords } from "@/api/trafficData/trafficData"
|
|
|
259
|
+import audioPlayer from "@/components/audioPlayer"
|
|
|
260
|
+import { getFileTranserLists } from "@/api/memberManagement/memberList"
|
|
|
261
|
+import afterSale from "@/views/afterSaleManagement/addAfterSale/afterSale"
|
|
|
262
|
+import { getChatLogList } from "@/api/afterSaleManagement/afterSaleList"
|
|
337
|
263
|
import detail from "@/views/orderManagement/orderList/detail"
|
|
338
|
264
|
|
|
339
|
265
|
export default {
|
|
340
|
|
- name: 'Detail',
|
|
|
266
|
+ name: "Detail",
|
|
341
|
267
|
components: {
|
|
342
|
|
- Pagination
|
|
|
268
|
+ Pagination,
|
|
343
|
269
|
},
|
|
344
|
270
|
filters: {
|
|
345
|
271
|
phoneFilter(status) {
|
|
346
|
|
- const mtel = status.substr(0, 3) + '****' + status.substr(7)
|
|
|
272
|
+ const mtel = status.substr(0, 3) + "****" + status.substr(7)
|
|
347
|
273
|
return mtel
|
|
348
|
274
|
},
|
|
349
|
275
|
mobileFilter(status) {
|
|
350
|
276
|
if (status) {
|
|
351
|
|
- const arr = status.split(',')
|
|
352
|
|
- var mtel = ''
|
|
|
277
|
+ const arr = status.split(",")
|
|
|
278
|
+ var mtel = ""
|
|
353
|
279
|
for (let i = 0; i < arr.length; i++) {
|
|
354
|
|
- mtel += arr[i].substr(0, 3) + '****' + arr[i].substr(7) + ','
|
|
|
280
|
+ mtel += arr[i].substr(0, 3) + "****" + arr[i].substr(7) + ","
|
|
355
|
281
|
}
|
|
356
|
282
|
return mtel.substr(0, mtel.length - 1)
|
|
357
|
283
|
}
|
|
358
|
284
|
},
|
|
359
|
285
|
judgmentStateName(status) {
|
|
360
|
286
|
const statusMap = {
|
|
361
|
|
- '0': '未提交',
|
|
362
|
|
- '1': '待分仓',
|
|
363
|
|
- '2': '已退回',
|
|
364
|
|
- '3': '已分仓',
|
|
365
|
|
- '4': '无货',
|
|
366
|
|
- '5': '仓库待审核',
|
|
367
|
|
- '6': '已发货',
|
|
368
|
|
- '7': '付款待审核',
|
|
369
|
|
- '8': '待分物流',
|
|
370
|
|
- '9': '物流未通过'
|
|
|
287
|
+ 0: "未提交",
|
|
|
288
|
+ 1: "待分仓",
|
|
|
289
|
+ 2: "已退回",
|
|
|
290
|
+ 3: "已分仓",
|
|
|
291
|
+ 4: "无货",
|
|
|
292
|
+ 5: "仓库待审核",
|
|
|
293
|
+ 6: "已发货",
|
|
|
294
|
+ 7: "付款待审核",
|
|
|
295
|
+ 8: "待分物流",
|
|
|
296
|
+ 9: "物流未通过",
|
|
371
|
297
|
}
|
|
372
|
298
|
return statusMap[status]
|
|
373
|
299
|
},
|
|
374
|
300
|
judgmentStatusName(status) {
|
|
375
|
301
|
const statusMap = {
|
|
376
|
|
- 0: '未发出',
|
|
377
|
|
- 1: '未签收',
|
|
378
|
|
- 2: '签收',
|
|
379
|
|
- 3: '改代收',
|
|
380
|
|
- 4: '拒收'
|
|
|
302
|
+ 0: "未发出",
|
|
|
303
|
+ 1: "未签收",
|
|
|
304
|
+ 2: "签收",
|
|
|
305
|
+ 3: "改代收",
|
|
|
306
|
+ 4: "拒收",
|
|
381
|
307
|
}
|
|
382
|
308
|
return statusMap[status]
|
|
383
|
309
|
},
|
|
384
|
310
|
judgmentOrderGoods(status) {
|
|
385
|
|
- let orderGoodsNameQuantity = ''
|
|
|
311
|
+ let orderGoodsNameQuantity = ""
|
|
386
|
312
|
for (let i = 0; i < status.length; i++) {
|
|
387
|
313
|
orderGoodsNameQuantity = `${orderGoodsNameQuantity}${status[i].F_ProductName}*${status[i].F_Count},`
|
|
388
|
314
|
}
|
|
389
|
|
- orderGoodsNameQuantity = orderGoodsNameQuantity.substring(
|
|
390
|
|
- 0,
|
|
391
|
|
- orderGoodsNameQuantity.length - 1
|
|
392
|
|
- )
|
|
|
315
|
+ orderGoodsNameQuantity = orderGoodsNameQuantity.substring(0, orderGoodsNameQuantity.length - 1)
|
|
393
|
316
|
return orderGoodsNameQuantity
|
|
394
|
317
|
},
|
|
395
|
318
|
// 呼叫类型
|
|
396
|
319
|
calltypeFilter(status) {
|
|
397
|
320
|
const statusMap = {
|
|
398
|
|
- 0: '呼入',
|
|
399
|
|
- 1: '呼出'
|
|
|
321
|
+ 0: "呼入",
|
|
|
322
|
+ 1: "呼出",
|
|
400
|
323
|
}
|
|
401
|
324
|
return statusMap[status]
|
|
402
|
325
|
},
|
|
403
|
326
|
// 呼叫状态
|
|
404
|
327
|
statusFilter(status) {
|
|
405
|
328
|
const statusMap = {
|
|
406
|
|
- 0: '未接通',
|
|
407
|
|
- 1: '已接通'
|
|
|
329
|
+ 0: "未接通",
|
|
|
330
|
+ 1: "已接通",
|
|
408
|
331
|
}
|
|
409
|
332
|
return statusMap[status]
|
|
410
|
333
|
},
|
|
411
|
334
|
// 外呼类型
|
|
412
|
335
|
callopttypeFilter(status) {
|
|
413
|
336
|
const statusMap = {
|
|
414
|
|
- 0: '拨号外呼',
|
|
415
|
|
- 1: '回访外呼'
|
|
|
337
|
+ 0: "拨号外呼",
|
|
|
338
|
+ 1: "回访外呼",
|
|
416
|
339
|
}
|
|
417
|
340
|
return statusMap[status]
|
|
418
|
341
|
},
|
|
419
|
342
|
// 处理方式
|
|
420
|
343
|
dealtypeFilter(status) {
|
|
421
|
344
|
const statusMap = {
|
|
422
|
|
- 0: 'IVR处理',
|
|
423
|
|
- 1: '骚扰电话',
|
|
424
|
|
- 2: '自助服务',
|
|
425
|
|
- 3: '转值班电话',
|
|
426
|
|
- 4: '留言',
|
|
427
|
|
- 5: '呼损',
|
|
428
|
|
- 6: '人工处理'
|
|
|
345
|
+ 0: "IVR处理",
|
|
|
346
|
+ 1: "骚扰电话",
|
|
|
347
|
+ 2: "自助服务",
|
|
|
348
|
+ 3: "转值班电话",
|
|
|
349
|
+ 4: "留言",
|
|
|
350
|
+ 5: "呼损",
|
|
|
351
|
+ 6: "人工处理",
|
|
429
|
352
|
}
|
|
430
|
353
|
return statusMap[status]
|
|
431
|
354
|
},
|
|
432
|
355
|
// 满意度
|
|
433
|
356
|
evaluationFilter(status) {
|
|
434
|
357
|
const statusMap = {
|
|
435
|
|
- 0: '-',
|
|
436
|
|
- 1: '非常满意',
|
|
437
|
|
- 2: '基本满意',
|
|
438
|
|
- 3: '不满意'
|
|
|
358
|
+ 0: "-",
|
|
|
359
|
+ 1: "非常满意",
|
|
|
360
|
+ 2: "基本满意",
|
|
|
361
|
+ 3: "不满意",
|
|
439
|
362
|
}
|
|
440
|
363
|
return statusMap[status]
|
|
441
|
364
|
},
|
|
442
|
365
|
// 时间格式化
|
|
443
|
366
|
timesFilter(tm) {
|
|
444
|
|
- if (tm === '1970-01-01 08:00:00') {
|
|
445
|
|
- return '-'
|
|
|
367
|
+ if (tm === "1970-01-01 08:00:00") {
|
|
|
368
|
+ return "-"
|
|
446
|
369
|
} else {
|
|
447
|
370
|
return tm
|
|
448
|
371
|
}
|
|
449
|
|
- }
|
|
|
372
|
+ },
|
|
450
|
373
|
},
|
|
451
|
374
|
props: {
|
|
452
|
375
|
rowid: {
|
|
453
|
376
|
type: String,
|
|
454
|
|
- default: ''
|
|
|
377
|
+ default: "",
|
|
455
|
378
|
},
|
|
456
|
379
|
layerid: {
|
|
457
|
380
|
type: String,
|
|
458
|
|
- default: ''
|
|
459
|
|
- }
|
|
|
381
|
+ default: "",
|
|
|
382
|
+ },
|
|
460
|
383
|
},
|
|
461
|
384
|
data() {
|
|
462
|
385
|
return {
|
|
463
|
|
- activeName: 'first',
|
|
464
|
|
- name: '', // 姓名
|
|
465
|
|
- phone: '', // 固定电话
|
|
466
|
|
- sex: '', // 性别
|
|
467
|
|
- age: '', // 年龄
|
|
468
|
|
- mobile1: '', // 手机号码1
|
|
469
|
|
- type: '', // 会员类型
|
|
470
|
|
- F_Membership: '', // 会员等级
|
|
471
|
|
- F_Class: '', // 会员分类
|
|
472
|
|
- postcode: '', // 邮编
|
|
473
|
|
- shoesize: '', // 鞋码
|
|
474
|
|
- regtime: '', // 会员日期
|
|
475
|
|
- birthday: '', // 会员生日
|
|
476
|
|
- score: '', // 会员积分
|
|
477
|
|
- recommender: '', // 推荐人
|
|
478
|
|
- recommenderTel: '', // 推荐人手机号
|
|
479
|
|
- money: '', // 累计消费金额
|
|
480
|
|
- totalscore: '', // 累计积分
|
|
481
|
|
- province: '', // 省
|
|
482
|
|
- city: '', // 市
|
|
483
|
|
- area: '', // 县
|
|
484
|
|
- town: '', // 乡
|
|
485
|
|
- address: '', // 地址
|
|
486
|
|
- province1: '', // 省
|
|
487
|
|
- city1: '', // 市
|
|
488
|
|
- area1: '', // 县
|
|
489
|
|
- town1: '', // 乡
|
|
490
|
|
- address1: '', // 地址
|
|
491
|
|
- province2: '', // 省
|
|
492
|
|
- city2: '', // 市
|
|
493
|
|
- area2: '', // 县
|
|
494
|
|
- town2: '', // 乡
|
|
495
|
|
- address2: '', // 地址
|
|
496
|
|
- firstcalltime: '', // 首次通话记录
|
|
497
|
|
- lastholetime: '', // 末联通话记录
|
|
498
|
|
- F_LastModifyOn: '', // 修改时间
|
|
499
|
|
- F_Count: '', //购买次数
|
|
500
|
|
- F_LastModifyBy: '', // 修改人
|
|
|
386
|
+ activeName: "first",
|
|
|
387
|
+ name: "", // 姓名
|
|
|
388
|
+ phone: "", // 固定电话
|
|
|
389
|
+ sex: "", // 性别
|
|
|
390
|
+ age: "", // 年龄
|
|
|
391
|
+ mobile1: "", // 手机号码1
|
|
|
392
|
+ type: "", // 会员类型
|
|
|
393
|
+ F_Membership: "", // 会员等级
|
|
|
394
|
+ F_Class: "", // 会员分类
|
|
|
395
|
+ postcode: "", // 邮编
|
|
|
396
|
+ shoesize: "", // 鞋码
|
|
|
397
|
+ regtime: "", // 会员日期
|
|
|
398
|
+ birthday: "", // 会员生日
|
|
|
399
|
+ score: "", // 会员积分
|
|
|
400
|
+ recommender: "", // 推荐人
|
|
|
401
|
+ recommenderTel: "", // 推荐人手机号
|
|
|
402
|
+ money: "", // 累计消费金额
|
|
|
403
|
+ totalscore: "", // 累计积分
|
|
|
404
|
+ province: "", // 省
|
|
|
405
|
+ city: "", // 市
|
|
|
406
|
+ area: "", // 县
|
|
|
407
|
+ town: "", // 乡
|
|
|
408
|
+ address: "", // 地址
|
|
|
409
|
+ province1: "", // 省
|
|
|
410
|
+ city1: "", // 市
|
|
|
411
|
+ area1: "", // 县
|
|
|
412
|
+ town1: "", // 乡
|
|
|
413
|
+ address1: "", // 地址
|
|
|
414
|
+ province2: "", // 省
|
|
|
415
|
+ city2: "", // 市
|
|
|
416
|
+ area2: "", // 县
|
|
|
417
|
+ town2: "", // 乡
|
|
|
418
|
+ address2: "", // 地址
|
|
|
419
|
+ firstcalltime: "", // 首次通话记录
|
|
|
420
|
+ lastholetime: "", // 末联通话记录
|
|
|
421
|
+ F_LastModifyOn: "", // 修改时间
|
|
|
422
|
+ F_Count: "", //购买次数
|
|
|
423
|
+ F_LastModifyBy: "", // 修改人
|
|
501
|
424
|
orderLists: [], // 订单列表数据
|
|
502
|
425
|
dataLists: [], // 列表数据
|
|
503
|
426
|
workOrderCirculationList: [],
|
|
|
@@ -508,29 +431,27 @@ export default {
|
|
508
|
431
|
pageParams: {
|
|
509
|
432
|
pageindex: 1, // 当前第几页
|
|
510
|
433
|
pagesize: Number(this.$store.getters.serverConfig.PAGESIZE), // 每页几条数据
|
|
511
|
|
- total: 0 // 总共多少数据
|
|
|
434
|
+ total: 0, // 总共多少数据
|
|
512
|
435
|
},
|
|
513
|
436
|
pageParamsCall: {
|
|
514
|
437
|
pageindex: 1, // 当前第几页
|
|
515
|
438
|
pagesize: Number(this.$store.getters.serverConfig.PAGESIZE), // 每页几条数据
|
|
516
|
|
- total: 0 // 总共多少数据
|
|
|
439
|
+ total: 0, // 总共多少数据
|
|
517
|
440
|
},
|
|
518
|
441
|
pageParamsSent: {
|
|
519
|
442
|
pageindex: 1, // 当前第几页
|
|
520
|
443
|
pagesize: Number(this.$store.getters.serverConfig.PAGESIZE), // 每页几条数据
|
|
521
|
|
- total: 0 // 总共多少数据
|
|
|
444
|
+ total: 0, // 总共多少数据
|
|
522
|
445
|
},
|
|
523
|
446
|
pageParamsfiled: {
|
|
524
|
447
|
pageindex: 1, // 当前第几页
|
|
525
|
448
|
pagesize: Number(this.$store.getters.serverConfig.PAGESIZE), // 每页几条数据
|
|
526
|
|
- total: 0 // 总共多少数据
|
|
527
|
|
- }
|
|
|
449
|
+ total: 0, // 总共多少数据
|
|
|
450
|
+ },
|
|
528
|
451
|
}
|
|
529
|
452
|
},
|
|
530
|
453
|
computed: {
|
|
531
|
|
- ...mapGetters([
|
|
532
|
|
- 'avatar'
|
|
533
|
|
- ])
|
|
|
454
|
+ ...mapGetters(["avatar"]),
|
|
534
|
455
|
},
|
|
535
|
456
|
created() {
|
|
536
|
457
|
this.getCallList()
|
|
|
@@ -570,7 +491,7 @@ export default {
|
|
570
|
491
|
},
|
|
571
|
492
|
// 详情
|
|
572
|
493
|
getDetail(rid) {
|
|
573
|
|
- getMemberInfo(rid).then(response => {
|
|
|
494
|
+ getMemberInfo(rid).then((response) => {
|
|
574
|
495
|
const res = response.model
|
|
575
|
496
|
this.dataLists = response.viplist
|
|
576
|
497
|
if (this.dataLists.length > 0) {
|
|
|
@@ -588,8 +509,8 @@ export default {
|
|
588
|
509
|
this.mobile1 = res.F_Mobile // 手机号码1
|
|
589
|
510
|
this.phone = res.F_Phone // 固定电话
|
|
590
|
511
|
this.type = res.F_Label // 会员标签
|
|
591
|
|
- this.F_Membership = res.F_Membership// 会员等级
|
|
592
|
|
- this.F_Class = res.F_Class// 会员分类
|
|
|
512
|
+ this.F_Membership = res.F_Membership // 会员等级
|
|
|
513
|
+ this.F_Class = res.F_Class // 会员分类
|
|
593
|
514
|
this.postcode = res.F_Postcode // 邮编
|
|
594
|
515
|
this.shoesize = res.F_ShoeSize // 鞋码
|
|
595
|
516
|
this.regtime = res.F_RegTime // 会员日期
|
|
|
@@ -616,22 +537,21 @@ export default {
|
|
616
|
537
|
this.address2 = res.F_Address2 // 备用地址
|
|
617
|
538
|
this.firstcalltime = res.F_Firstcalltime // 首次通话记录
|
|
618
|
539
|
this.lastholetime = res.F_Lastholetime // 末联通话记录
|
|
619
|
|
- this.F_LastModifyOn = res.F_LastModifyOn// 修改时间
|
|
620
|
|
- this.F_Count = res.F_Count// 购买次数
|
|
621
|
|
- this.F_LastModifyBy = res.F_LastModifyBy// 修改人
|
|
|
540
|
+ this.F_LastModifyOn = res.F_LastModifyOn // 修改时间
|
|
|
541
|
+ this.F_Count = res.F_Count // 购买次数
|
|
|
542
|
+ this.F_LastModifyBy = res.F_LastModifyBy // 修改人
|
|
622
|
543
|
})
|
|
623
|
544
|
},
|
|
624
|
545
|
// 订单
|
|
625
|
546
|
getList() {
|
|
626
|
547
|
return new Promise((resolve) => {
|
|
627
|
548
|
const params = {
|
|
628
|
|
-
|
|
629
|
549
|
pageindex: this.pageParams.pageindex, // int 第几页
|
|
630
|
550
|
pagesize: this.pageParams.pagesize, // int 每页几条信息
|
|
631
|
|
- F_VipId: this.rowid
|
|
|
551
|
+ F_VipId: this.rowid,
|
|
632
|
552
|
}
|
|
633
|
553
|
getOrderLists(params).then((response) => {
|
|
634
|
|
- if (response.state.toLowerCase() === 'success') {
|
|
|
554
|
+ if (response.state.toLowerCase() === "success") {
|
|
635
|
555
|
this.pageParams.total = response.data.Totals
|
|
636
|
556
|
this.orderLists = response.data.Rows
|
|
637
|
557
|
}
|
|
|
@@ -640,16 +560,16 @@ export default {
|
|
640
|
560
|
})
|
|
641
|
561
|
},
|
|
642
|
562
|
//备注列表
|
|
643
|
|
- getRemarkList () {
|
|
|
563
|
+ getRemarkList() {
|
|
644
|
564
|
this.loading = true
|
|
645
|
|
- return new Promise(resolve => {
|
|
|
565
|
+ return new Promise((resolve) => {
|
|
646
|
566
|
const params = {
|
|
647
|
567
|
woid: this.rowid,
|
|
648
|
568
|
state: 1, // 否 string 模糊查询(呼叫号码)
|
|
649
|
569
|
}
|
|
650
|
|
- getChatLogList(params).then(response => {
|
|
|
570
|
+ getChatLogList(params).then((response) => {
|
|
651
|
571
|
this.loading = false
|
|
652
|
|
- if (response.state.toLowerCase() === 'success') {
|
|
|
572
|
+ if (response.state.toLowerCase() === "success") {
|
|
653
|
573
|
this.remarkDataLists = response.rows.Rows
|
|
654
|
574
|
}
|
|
655
|
575
|
})
|
|
|
@@ -659,13 +579,13 @@ export default {
|
|
659
|
579
|
//订单列表
|
|
660
|
580
|
getMemberOrderDataList() {
|
|
661
|
581
|
this.loading = true
|
|
662
|
|
- return new Promise(resolve => {
|
|
|
582
|
+ return new Promise((resolve) => {
|
|
663
|
583
|
const params = {
|
|
664
|
584
|
vipid: this.rowid,
|
|
665
|
585
|
}
|
|
666
|
|
- getMemberOrderList(params).then(response => {
|
|
|
586
|
+ getMemberOrderList(params).then((response) => {
|
|
667
|
587
|
this.loading = false
|
|
668
|
|
- if (response.state.toLowerCase() === 'success') {
|
|
|
588
|
+ if (response.state.toLowerCase() === "success") {
|
|
669
|
589
|
this.memberOrderDataLists = response.rows.Rows
|
|
670
|
590
|
}
|
|
671
|
591
|
})
|
|
|
@@ -675,15 +595,15 @@ export default {
|
|
675
|
595
|
// 通话记录列表
|
|
676
|
596
|
getCallList() {
|
|
677
|
597
|
this.loading = true
|
|
678
|
|
- return new Promise(resolve => {
|
|
|
598
|
+ return new Promise((resolve) => {
|
|
679
|
599
|
const params = {
|
|
680
|
600
|
pageindex: this.pageParamsCall.pageindex, // 第几页
|
|
681
|
601
|
pagesize: this.pageParamsCall.pagesize, // 每页几条信息
|
|
682
|
|
- CusId: this.rowid
|
|
|
602
|
+ CusId: this.rowid,
|
|
683
|
603
|
}
|
|
684
|
|
- getCallRecords(params).then(response => {
|
|
|
604
|
+ getCallRecords(params).then((response) => {
|
|
685
|
605
|
this.loading = false
|
|
686
|
|
- if (response.state.toLowerCase() === 'success') {
|
|
|
606
|
+ if (response.state.toLowerCase() === "success") {
|
|
687
|
607
|
this.recordpath = response.data.recordpath
|
|
688
|
608
|
this.pageParamsCall.total = response.data.Totals
|
|
689
|
609
|
this.calldataLists = response.data.Rows
|
|
|
@@ -698,10 +618,10 @@ export default {
|
|
698
|
618
|
content: {
|
|
699
|
619
|
content: afterSale, // 传递的组件对象
|
|
700
|
620
|
parent: this, // 当前的vue对象
|
|
701
|
|
- data: { rowid: id.toString() } // props
|
|
|
621
|
+ data: { rowid: id.toString() }, // props
|
|
702
|
622
|
},
|
|
703
|
|
- area: ['70%', '80%'],
|
|
704
|
|
- title: '添加售后'
|
|
|
623
|
+ area: ["70%", "80%"],
|
|
|
624
|
+ title: "添加售后",
|
|
705
|
625
|
})
|
|
706
|
626
|
},
|
|
707
|
627
|
// 已发货订单才能添加售后
|
|
|
@@ -718,11 +638,11 @@ export default {
|
|
718
|
638
|
content: {
|
|
719
|
639
|
content: audioPlayer, // 传递的组件对象
|
|
720
|
640
|
parent: this, // 当前的vue对象
|
|
721
|
|
- data: { 'recFiles': rec_file, 'artists': artist.toString() }// props//该方法会自动添加一个key为layerid的值, 该值为创建层的id, 可以直接使用
|
|
|
641
|
+ data: { recFiles: rec_file, artists: artist.toString() }, // props//该方法会自动添加一个key为layerid的值, 该值为创建层的id, 可以直接使用
|
|
722
|
642
|
},
|
|
723
|
|
- area: ['600px', '230px'],
|
|
|
643
|
+ area: ["600px", "230px"],
|
|
724
|
644
|
shadeClose: true,
|
|
725
|
|
- title: '录音详情'
|
|
|
645
|
+ title: "录音详情",
|
|
726
|
646
|
})
|
|
727
|
647
|
},
|
|
728
|
648
|
hadndleOrderCode(ordercode) {
|
|
|
@@ -730,13 +650,13 @@ export default {
|
|
730
|
650
|
content: {
|
|
731
|
651
|
content: detail, // 传递的组件对象
|
|
732
|
652
|
parent: this, // 当前的vue对象
|
|
733
|
|
- data: { rowid: ordercode } // props
|
|
|
653
|
+ data: { rowid: ordercode }, // props
|
|
734
|
654
|
},
|
|
735
|
|
- area: ['70%', '80%'],
|
|
736
|
|
- title: '订单详情'
|
|
|
655
|
+ area: ["70%", "80%"],
|
|
|
656
|
+ title: "订单详情",
|
|
737
|
657
|
})
|
|
738
|
658
|
},
|
|
739
|
|
- }
|
|
|
659
|
+ },
|
|
740
|
660
|
}
|
|
741
|
661
|
</script>
|
|
742
|
662
|
|