|
|
|
@ -195,6 +195,7 @@ export default { |
|
|
|
calendarId: '', |
|
|
|
startDate: '', |
|
|
|
endDate: '', |
|
|
|
searchFlag: false, |
|
|
|
}, |
|
|
|
currentRow: {}, |
|
|
|
currentInstanceRow: {}, |
|
|
|
@ -845,10 +846,11 @@ export default { |
|
|
|
|
|
|
|
//导出excel |
|
|
|
async createExportData() { |
|
|
|
this.searchData.limit = -1 |
|
|
|
this.searchData.page = 1 |
|
|
|
this.searchData.pageSize = 10000 |
|
|
|
this.searchData.pageIndex = 1 |
|
|
|
await getToolInfoList(this.searchData).then(({data}) => { |
|
|
|
this.exportList = data.page.list; |
|
|
|
debugger; |
|
|
|
this.exportList = data.rows; |
|
|
|
}) |
|
|
|
|
|
|
|
return this.exportList; |
|
|
|
@ -1027,6 +1029,7 @@ export default { |
|
|
|
|
|
|
|
// 获取数据列表 |
|
|
|
search() { |
|
|
|
this.searchData.searchFlag = true; |
|
|
|
getToolInfoList(this.searchData).then(({data}) => { |
|
|
|
if (data.code == 200) { |
|
|
|
this.dataList = data.rows; |
|
|
|
|