From 21de3221f1599c6c31154ad6427f455264d28aa9 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 25 Aug 2025 15:03:08 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=205=E6=A5=BC=E5=B7=A5=E5=BA=8F?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=B4=BE=E5=B7=A5=E5=AE=8C=E5=B7=A5=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E6=98=BE=E7=A4=BA=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/board/fifthFloor/index.vue | 28 +++++++++++++++++----- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/hw-ui/src/views/board/fifthFloor/index.vue b/hw-ui/src/views/board/fifthFloor/index.vue index 6fe57b2c..e6dbf4f7 100644 --- a/hw-ui/src/views/board/fifthFloor/index.vue +++ b/hw-ui/src/views/board/fifthFloor/index.vue @@ -96,7 +96,7 @@ 继续 - + {{ showTitle }}完工 { + getProductPlans({pageNum: this.nowNum1, pageSize: 5, incompleteFlag: this.IS_SHOW_FINISH}).then(e => { this.tableData = e.rows this.totalNum1 = Math.ceil(e.total / 5) this.tableClick(e.rows[0]) @@ -1081,14 +1083,14 @@ export default { }, next1() { this.nowNum1 += 1 - getProductPlans({pageNum: this.nowNum1, pageSize: 5}).then(e => { + getProductPlans({pageNum: this.nowNum1, pageSize: 5, incompleteFlag: this.IS_SHOW_FINISH}).then(e => { this.tableData = e.rows this.totalNum1 = Math.ceil(e.total / 5) }) }, pre1() { this.nowNum1 -= 1 - getProductPlans({pageNum: this.nowNum1, pageSize: 5}).then(e => { + getProductPlans({pageNum: this.nowNum1, pageSize: 5, incompleteFlag: this.IS_SHOW_FINISH}).then(e => { this.tableData = e.rows this.totalNum1 = Math.ceil(e.total / 5) }) @@ -2045,7 +2047,21 @@ export default { }); } - } + }, + + showFinish() { + if (this.IS_SHOW_FINISH === "1"){ + this.showTitle = "隐藏"; + this.IS_SHOW_FINISH = ""; + } else { + this.showTitle = "显示"; + this.IS_SHOW_FINISH = "1"; + } + getProductPlans({pageNum: this.nowNum1, pageSize: 5, incompleteFlag: this.IS_SHOW_FINISH}).then(e => { + this.tableData = e.rows + this.totalNum1 = Math.ceil(e.total / 5) + }) + }, } }