|  |  |  | 
|---|
|  |  |  | handleCall(item) { | 
|---|
|  |  |  | // const activePlatform = this.activePlat | 
|---|
|  |  |  | platformJobSign({ jobId: item.id, signType: '2' }).then(res => { | 
|---|
|  |  |  | Message.success('签到成功') | 
|---|
|  |  |  | this.$emit('success') | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | if (res.code == 200) { | 
|---|
|  |  |  | Message.success('签到成功') | 
|---|
|  |  |  | this.$emit('success') | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getList(page) { | 
|---|
|  |  |  | const { activePlat, pagination, carCodeFront } = this | 
|---|
|  |  |  | if(page){ | 
|---|
|  |  |  | if (page) { | 
|---|
|  |  |  | pagination.page = page | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | platformJobPage({ | 
|---|
|  |  |  | model: { platformGroupId: activePlat.id, queryStatus: '0,1', carCodeFront }, | 
|---|
|  |  |  | page: pagination.page, | 
|---|
|  |  |  | capacity: pagination.pageSize | 
|---|
|  |  |  | }).then(res => { | 
|---|
|  |  |  | }).then(res => { | 
|---|
|  |  |  | this.dataList = res.records | 
|---|
|  |  |  | this.pagination.total = res.total | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleSizeChange(e) { | 
|---|
|  |  |  | this.pagination.pageSize = e | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | this.getList(1) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handlePageChange(e) { | 
|---|
|  |  |  | this.pagination.page = e | 
|---|