From 4c47995afd18c31cfb9547f8254b0c4472aa94a4 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Sat, 07 Oct 2023 09:30:08 +0800 Subject: [PATCH] fix:立行立改 --- src/views/toCarryOutLegislativeReforms/reform/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/toCarryOutLegislativeReforms/reform/index.vue b/src/views/toCarryOutLegislativeReforms/reform/index.vue index 5af2319..ea5f8c4 100644 --- a/src/views/toCarryOutLegislativeReforms/reform/index.vue +++ b/src/views/toCarryOutLegislativeReforms/reform/index.vue @@ -151,7 +151,7 @@ <el-button v-if="scope.row.state===9" type="text" size="medium" @click="handleOpenDialog(scope.row,'edit')">������</el-button> <el-button v-if="scope.row.state>30&&scope.row.isInvalid===0" type="text" size="medium" @click="handleCancel(scope.row)">������</el-button> <el-button v-if="scope.row.state===20" type="text" size="medium" @click="openWorkOrdinDialog(scope.row,'work')">������</el-button> - <el-button v-if="scope.row.state===30" type="text" size="medium" @click="openWorkOrdinDialog(scope.row,'approve')">������</el-button> + <el-button v-if="scope.row.state===30&&scope.row.isApprove===1" type="text" size="medium" @click="openWorkOrdinDialog(scope.row,'approve')">������</el-button> <el-button v-if="scope.row.state===20&&scope.row.changeType===2&&scope.row.applyState===0" type="text" size="medium" @click="openWorkOrdinDialog(scope.row,'delay')">������������</el-button> </template> </el-table-column> @@ -162,9 +162,9 @@ background :current-page="pagination.currentPage" :page-sizes="pagination.pageSizes" - :page-size="pagination.PageSize" + :page-size="pagination.pageSize" :total="pagination.totalCount" - layout="sizes,prev, pager, next, jumper" + layout="total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange" @current-change="handleCurrentChange" /> @@ -403,7 +403,7 @@ // ��������������������� handleSizeChange(val) { // ��������������������������� - this.pagination.PageSize = val + this.pagination.pageSize = val // ��������������������������������������������������������������������������� this.pagination.currentPage = 1 this.handleSearch() -- Gitblit v1.8.0