|
@@ -175,16 +175,16 @@ export default {
|
|
|
// console.dirxml(err)
|
|
|
// })
|
|
|
let param = {
|
|
|
- Filters: `CreateTime>='${this.dateValue[0]} 00:00:00';CreateTime<='${this.dateValue[1]} 23:59:59'`,
|
|
|
- PageNumber: pageNum,
|
|
|
- PageSize: 1000
|
|
|
+ filters: `createTime>='${this.dateValue[0]} 00:00:00';createTime<='${this.dateValue[1]} 23:59:59'`,
|
|
|
+ pageNumber: pageNum,
|
|
|
+ pageSize: 1000
|
|
|
}
|
|
|
if (this.searchValue) {
|
|
|
- param.Filters += `;Name contain '${this.searchValue}' or Phone contain '${this.searchValue}' or Action contain '${this.searchValue}' or Note contain '${this.searchValue}' or UserId contain '${this.searchValue}'`
|
|
|
+ param.filters += `;name contain '${this.searchValue}' or phone contain '${this.searchValue}' or action contain '${this.searchValue}' or note contain '${this.searchValue}' or userId contain '${this.searchValue}'`
|
|
|
}
|
|
|
queryUserLog(param, res => {
|
|
|
- this.exportData = this.exportData.concat(res.Content);
|
|
|
- if (res.Total / (res.PageSize * res.PageNumber) > 1) {
|
|
|
+ this.exportData = this.exportData.concat(res.content);
|
|
|
+ if (res.total / (res.pageSize * res.pageNumber) > 1) {
|
|
|
this.downExcel(pageNum++)
|
|
|
} else {
|
|
|
let time = +new Date()
|
|
@@ -208,17 +208,17 @@ export default {
|
|
|
},
|
|
|
getLogData() {
|
|
|
let param = {
|
|
|
- Filters: `CreateTime>='${this.dateValue[0]} 00:00:00';CreateTime<='${this.dateValue[1]} 23:59:59'`,
|
|
|
- PageNumber: this.page.pageNumber,
|
|
|
- PageSize: this.page.pageSize
|
|
|
+ filters: `createTime>='${this.dateValue[0]} 00:00:00';createTime<='${this.dateValue[1]} 23:59:59'`,
|
|
|
+ pageNumber: this.page.pageNumber,
|
|
|
+ pageSize: this.page.pageSize
|
|
|
}
|
|
|
if (this.searchValue) {
|
|
|
- param.Filters += `;Name contain '${this.searchValue}' or Phone contain '${this.searchValue}' or Action contain '${this.searchValue}' or Note contain '${this.searchValue}' or UserId contain '${this.searchValue}'`
|
|
|
+ param.filters += `;name contain '${this.searchValue}' or phone contain '${this.searchValue}' or action contain '${this.searchValue}' or note contain '${this.searchValue}' or userId contain '${this.searchValue}'`
|
|
|
}
|
|
|
queryUserLog(param, res => {
|
|
|
this.loading = false
|
|
|
- this.page.total = res.Total
|
|
|
- this.tableData = res.Content
|
|
|
+ this.page.total = res.total
|
|
|
+ this.tableData = res.content
|
|
|
})
|
|
|
},
|
|
|
init() {
|