From d84ad62a9da0119caf0e659066a67da80c6fa6f0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 19 四月 2024 10:47:37 +0800 Subject: [PATCH] 11 --- src/views/project/fund/performanceApply/index.vue | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/project/fund/performanceApply/index.vue b/src/views/project/fund/performanceApply/index.vue index c0c94db..349ee31 100644 --- a/src/views/project/fund/performanceApply/index.vue +++ b/src/views/project/fund/performanceApply/index.vue @@ -210,10 +210,11 @@ v-if="scope.row.recordstatus == -1 || scope.row.recordstatus == 1" size="mini" type="text" - icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['project:medicalfund:delete']" - >鍒犻櫎</el-button + ><span class="button-delete" + ><i class="el-icon-delete"></i>鍒犻櫎</span + ></el-button > <el-button size="mini" @@ -233,6 +234,13 @@ </template> </el-table-column> </el-table> + <pagination + v-show="total > 0" + :total="total" + :page.sync="queryParams.pageNum" + :limit.sync="queryParams.pageSize" + @pagination="getList" + /> </div> </template> @@ -531,6 +539,7 @@ console.log(11); this.loading = false; this.donateconsolationfundList = response.rows; + this.total=response.total; }); }, // 鎹愮尞鑰呭尰瀛︾粺璁℃墦鍗� @@ -596,7 +605,7 @@ //this.totaldayin(id); }, rowClassName({ row, column, rowIndex, columnIndex }) { - if (row.recordstatus == -1 && row.backflowlevel >= 0) { + if (row.recordstatus == -1 && row.backflowlevel != null) { return "error-row"; } return ""; @@ -621,6 +630,9 @@ </script> <style lang="scss" scoped> /* @import url(); 寮曞叆鍏叡css绫� */ +.button-delete { + color: rgb(236, 69, 69); +} ::v-deep.el-table .error-row { background: #fcebeb; } -- Gitblit v1.9.3