|
@@ -145,6 +145,8 @@ export default {
|
|
collectFansDlgItem: {},
|
|
collectFansDlgItem: {},
|
|
addAuthorDlgVisible: false,
|
|
addAuthorDlgVisible: false,
|
|
topLableList: [],
|
|
topLableList: [],
|
|
|
|
+ sortType: "",
|
|
|
|
+ sortParam: "",
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -229,9 +231,9 @@ export default {
|
|
// 排序事件
|
|
// 排序事件
|
|
sortChangeHandle(params) {
|
|
sortChangeHandle(params) {
|
|
this.page_no = 1;
|
|
this.page_no = 1;
|
|
- let order = params.order === "descending" ? "desc" : "asc";
|
|
|
|
- // let prop = params.prop=='CreateTime'?
|
|
|
|
- this.getyanxuanReportSpecial(order, params.prop);
|
|
|
|
|
|
+ this.sortType = params.order === "descending" ? "desc" : "asc";
|
|
|
|
+ this.sortParam = params.prop;
|
|
|
|
+ this.getyanxuanReportSpecial();
|
|
},
|
|
},
|
|
// 选择的change事件
|
|
// 选择的change事件
|
|
conditionChange() {
|
|
conditionChange() {
|
|
@@ -239,7 +241,7 @@ export default {
|
|
this.getyanxuanReportSpecial();
|
|
this.getyanxuanReportSpecial();
|
|
},
|
|
},
|
|
// 获取数据
|
|
// 获取数据
|
|
- async getyanxuanReportSpecial(SortType, SortParam) {
|
|
|
|
|
|
+ async getyanxuanReportSpecial() {
|
|
let params = {
|
|
let params = {
|
|
CurrentIndex: this.page_no,
|
|
CurrentIndex: this.page_no,
|
|
PageSize: this.PageSize,
|
|
PageSize: this.PageSize,
|
|
@@ -248,8 +250,8 @@ export default {
|
|
Type: this.reportStatus,
|
|
Type: this.reportStatus,
|
|
StartDate: this.issueTime[0],
|
|
StartDate: this.issueTime[0],
|
|
EndDate: this.issueTime[1],
|
|
EndDate: this.issueTime[1],
|
|
- SortType,
|
|
|
|
- SortParam,
|
|
|
|
|
|
+ SortType: this.sortType,
|
|
|
|
+ SortParam: this.sortParam,
|
|
};
|
|
};
|
|
const res =
|
|
const res =
|
|
this.topLableActive == 1 && (this.reportStatusActive == 1 || this.reportStatusActive == 2)
|
|
this.topLableActive == 1 && (this.reportStatusActive == 1 || this.reportStatusActive == 2)
|