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)
+ })
+ },
}
}