| | |
| | | this.loading = true |
| | | getZGQKList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | console.log('getZGQKList', res.data.data) |
| | | const data = { |
| | | ...res.data.data, |
| | | records: res.data.data.records.map(item => { |
| | | return { |
| | | ...item, |
| | | |
| | | 'principalPhoneflag': false |
| | | } |
| | | }) |
| | | } |
| | | const data = res.data.data |
| | | data.records.forEach(item => { |
| | | item.createTime = item.createTime ? item.createTime.slice(0, 10) : '' |
| | | item.rectificationEndTime = item.rectificationEndTime ? item.rectificationEndTime.slice(0, 10) : '' |
| | | }) |
| | | this.page.total = data.total |
| | | this.data = data.records |
| | | this.loading = false |