|
@@ -108,7 +108,21 @@ export default {
|
|
|
totalFollow:0,
|
|
|
begindate:'',
|
|
|
enddate:'',
|
|
|
- select:'周'
|
|
|
+ select:'周',
|
|
|
+ sort:[
|
|
|
+ {
|
|
|
+ reversed : 0,
|
|
|
+ sorted: 1,
|
|
|
+ sortid: 207,
|
|
|
+ sortname: "新增,更新排序"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reversed : 0,
|
|
|
+ sorted: 1,
|
|
|
+ sortid: 208,
|
|
|
+ sortname: "跟进排序"
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -119,6 +133,7 @@ export default {
|
|
|
this.param.content.where.begindate = this.select ? '' :this.begindate
|
|
|
this.param.content.where.enddate = this.select ? '' : this.enddate
|
|
|
this.param.content.dateType = this.select
|
|
|
+ this.param.content.sort = [this.sort[0]]
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
this.listAdd = res.data
|
|
|
this.currentPageAdd = res.pageNumber
|
|
@@ -141,6 +156,7 @@ export default {
|
|
|
this.param.content.where.begindate = this.select ? '' :this.begindate
|
|
|
this.param.content.where.enddate = this.select ? '' : this.enddate
|
|
|
this.param.content.dateType = this.select
|
|
|
+ this.param.content.sort = [this.sort[0]]
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
this.listUpdate = res.data
|
|
|
this.currentPageUpdate = res.pageNumber
|
|
@@ -163,6 +179,7 @@ export default {
|
|
|
this.param.content.where.begindate = this.select ? '' :this.begindate
|
|
|
this.param.content.where.enddate = this.select ? '' : this.enddate
|
|
|
this.param.content.dateType = this.select
|
|
|
+ this.param.content.sort = [this.sort[1]]
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
this.listFollow = res.data
|
|
|
this.currentPageFollow = res.pageNumber
|