diff --git a/src/views/invoiceManagement/workManage.vue b/src/views/invoiceManagement/workManage.vue index e76c9c4..2e41566 100644 --- a/src/views/invoiceManagement/workManage.vue +++ b/src/views/invoiceManagement/workManage.vue @@ -176,6 +176,9 @@ + + + @@ -207,6 +210,28 @@ + + + @@ -243,10 +268,16 @@ - + + + @@ -267,6 +298,11 @@ :disabled="viewType == 'view' || errorForm.repairStatus != 1"> + + + + + @@ -302,7 +338,7 @@ - + @@ -473,11 +509,20 @@ export default { }, methods:{ onLoad(){ - getList().then(res =>{ + getList({current:this.page.currentPage,size:this.page.pageSize}).then(res =>{ console.log('res==========>',res) this.data = res.data.data.records + this.page.total = res.data.data.total }) }, + currentChange(currentPage) { + this.page.currentPage = currentPage; + this.onLoad() + }, + sizeChange(pageSize) { + this.page.pageSize = pageSize; + this.onLoad() + }, selectSection(selection) { this.selectList = selection }, @@ -508,6 +553,7 @@ export default { console.log('res----------->',res) this.detailForm = res.data.data this.detailForm.errorVideo = res.data.data.videoAttaches.length > 0 ? res.data.data.videoAttaches[0].link : '' + this.detailForm.totalCost = this.detailForm.totalCost == -1 ? '' : this.detailForm.totalCost this.dialogView = true }) }else{ @@ -517,6 +563,7 @@ export default { let data = this.checkDeepData(res.data.data.details) if (this.errorForm.repairStatus > 1) { data.forEach(item => { + item.completeImgList = item.completeImgList != '' ? JSON.parse(item.completeImgList) : [] if (item.detailGoodsList.length > 0) { item.isNeed = '1' } else {