| | |
| | | }, |
| | | modalReset() { |
| | | this.modelParam = {} |
| | | this.search = { |
| | | queryType: 0 |
| | | } |
| | | this.pagination.page = 0 |
| | | this.dataList = [] |
| | | this.showFilter = false |
| | |
| | | ...search |
| | | } |
| | | }).then(res => { |
| | | this.dataList = [...this.dataList, ...res.data.records] |
| | | this.total = res.data.total |
| | | this.dataList.forEach(i => { |
| | | if(res.data && res.data.records){ |
| | | res.data.records.forEach(i => { |
| | | if (i.param1) { |
| | | i.param1 = JSON.parse(i.param1) |
| | | } |
| | | }) |
| | | } |
| | | this.dataList = [...this.dataList, ...res.data.records] |
| | | this.total = res.data.total |
| | | |
| | | }) |
| | | }, |
| | | getHeadList() { |