From 8d1f2f2e82f3f7512930c536e91ee7c92315f3d6 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 11 三月 2025 19:55:00 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- admin/src/views/platform/components/PlatformSign.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/admin/src/views/platform/components/PlatformSign.vue b/admin/src/views/platform/components/PlatformSign.vue index d357401..ca3075d 100644 --- a/admin/src/views/platform/components/PlatformSign.vue +++ b/admin/src/views/platform/components/PlatformSign.vue @@ -96,21 +96,23 @@ 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 }) @@ -140,7 +142,7 @@ }, handleSizeChange(e) { this.pagination.pageSize = e - this.getList() + this.getList(1) }, handlePageChange(e) { this.pagination.page = e -- Gitblit v1.9.3