|
|
@ -1044,7 +1044,7 @@ export default { |
|
|
this.getTableUserColumn(this.$route.meta.menuId+'table',1) |
|
|
this.getTableUserColumn(this.$route.meta.menuId+'table',1) |
|
|
if (!this.authSearch) { |
|
|
if (!this.authSearch) { |
|
|
// 获取数据列表 |
|
|
// 获取数据列表 |
|
|
this.getDataList() |
|
|
|
|
|
|
|
|
//this.getDataList() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -1115,6 +1115,19 @@ export default { |
|
|
|
|
|
|
|
|
// 查询获取数据列表 |
|
|
// 查询获取数据列表 |
|
|
getDataList () { |
|
|
getDataList () { |
|
|
|
|
|
let searchFlag = true |
|
|
|
|
|
Object.keys(this.searchData).forEach(val=>{ |
|
|
|
|
|
if (val !== 'userName' && val !== 'inspectionTypeNo' && val !== 'page' && val !== 'limit' && val !== 'downloadType') { |
|
|
|
|
|
if (this.searchData[val].length > 0) { |
|
|
|
|
|
searchFlag = false |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
if (searchFlag) { |
|
|
|
|
|
this.$message.warning('数据量过大,请填写查询条件后再执行操作!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
this.searchLoading = true |
|
|
this.searchLoading = true |
|
|
this.searchData.limit = this.pageSize |
|
|
this.searchData.limit = this.pageSize |
|
|
this.searchData.page = this.pageIndex |
|
|
this.searchData.page = this.pageIndex |
|
|
|