|
@@ -112,8 +112,8 @@ export default {
|
112
|
112
|
enterprise: {}, // 当前选择的企微信息
|
113
|
113
|
|
114
|
114
|
filter: {
|
115
|
|
- sort_field: '', // 排序字段 - 默认值
|
116
|
|
- sort_type: '', // 升序/降序
|
|
115
|
+ sort_field: 'daily_new_contact_cnt', // 排序字段 - 默认值 daily_new_contact_cnt
|
|
116
|
+ sort_type: 'desc', // 升序/降序
|
117
|
117
|
corpid: '', // 企微主体
|
118
|
118
|
user_name: '', // 成员
|
119
|
119
|
status: '', // 客服状态
|
|
@@ -217,8 +217,8 @@ export default {
|
217
|
217
|
if (this.filter.sort_field === sort_field) {
|
218
|
218
|
if (this.filter.sort_type === sort_type) {
|
219
|
219
|
// 点击的是当前排序字段 && 是当前排序类型 => 重置 取消排序
|
220
|
|
- this.filter.sort_field = ''
|
221
|
|
- this.filter.sort_type = ''
|
|
220
|
+ this.filter.sort_field = 'daily_new_contact_cnt'
|
|
221
|
+ this.filter.sort_type = 'desc'
|
222
|
222
|
} else {
|
223
|
223
|
// 点击的是当前排序字段 && 非当前排序类型 => 设置排序类型
|
224
|
224
|
this.filter.sort_type = sort_type
|
|
@@ -273,8 +273,8 @@ export default {
|
273
|
273
|
this.filter.operator_uid = ''
|
274
|
274
|
this.filter.active_status = ''
|
275
|
275
|
|
276
|
|
- this.filter.sort_field = ''
|
277
|
|
- this.filter.sort_type = ''
|
|
276
|
+ this.filter.sort_field = 'daily_new_contact_cnt'
|
|
277
|
+ this.filter.sort_type = 'desc'
|
278
|
278
|
this.pagination.page = 1
|
279
|
279
|
this.handleGetData()
|
280
|
280
|
},
|