From e7dce36f4b45d4986b8b09781e3c822c00d3f4e1 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 21 Feb 2024 17:08:08 +0800
Subject: [PATCH] 维修基金申请优化
---
src/views/article/components/deitDiscussion.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/views/article/components/deitDiscussion.vue b/src/views/article/components/deitDiscussion.vue
index 3f399a0..8e43bb7 100644
--- a/src/views/article/components/deitDiscussion.vue
+++ b/src/views/article/components/deitDiscussion.vue
@@ -211,7 +211,7 @@
calcHeight: 54,
dialogWidth: 950,
tip: false,
- border: false,
+ border: true,
//stripe:true,
index: true,
editBtn: false,
@@ -260,6 +260,7 @@
total: 0
},
query: {},
+ newData: {},
}
},
@@ -273,14 +274,16 @@
},
searchReset() {
- this.query = {}
- this.getUserPage(this.userPage)
+ this.query.articleId = this.articleId
+ this.userPage.currentPage = 1
+ this.getUserPage(this.userPage, this.query)
},
searchChange(params, done) {
this.query = params
+ this.query.articleId = this.articleId
this.userPage.currentPage = 1
- this.getUserPage(this.userPage, params)
+ this.getUserPage(this.userPage, this.query)
done()
},
initData(newData) {
@@ -411,6 +414,7 @@
openUser(row, type = 0) {
this.popupTableUserShow = true
this.query = {}
+ this.articleId = row.id
if (type == 0) {
this.userParams = {
articleId: row.id
--
Gitblit v1.9.3