From 34dbf82112e28c111ffb2efdf2653ee42df80b21 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Wed, 28 Feb 2024 14:15:49 +0800
Subject: [PATCH] 街道管理员查询不出物业公司(物业公司加一列)
---
src/views/article/components/deitDiscussion.vue | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/src/views/article/components/deitDiscussion.vue b/src/views/article/components/deitDiscussion.vue
index 3d2cc8a..bcdef3c 100644
--- a/src/views/article/components/deitDiscussion.vue
+++ b/src/views/article/components/deitDiscussion.vue
@@ -221,6 +221,7 @@
delBtn: false,
excelBtn: true,
dialogClickModal: false,
+ header:false,
column: [{
label: '姓名',
prop: 'name',
@@ -261,6 +262,7 @@
},
query: {},
newData: {},
+ articleRange: {},
}
},
@@ -274,8 +276,8 @@
},
searchReset() {
- if (this.newData.articleRange) {
- this.query.districtId = this.newData.articleRange[0][0]
+ if (this.articleRange) {
+ this.query.districtId = this.newData.articleRange
}
this.query.articleId = this.articleId
this.userPage.currentPage = 1
@@ -283,8 +285,8 @@
},
searchChange(params, done) {
- if (this.newData.articleRange) {
- this.query.districtId = this.newData.articleRange[0][0]
+ if (this.articleRange) {
+ this.query.districtId = this.newData.articleRange
}
this.query = params
this.query.articleId = this.articleId
@@ -298,6 +300,8 @@
this.articleId = newData.id
this.query.level = 1
this.query.articleId = this.articleId
+ this.newData = newData
+ this.query.districtId = newData.articleRange
this.onLoad(this.userPage, this.query)
},
// initData(newData) {
@@ -419,23 +423,18 @@
openUser(row, type = 0) {
this.popupTableUserShow = true
- this.newData = row
this.query = {}
this.articleId = row.id
let districtId
- if (this.newData.articleRange) {
- console.log(this.newData)
- // this.newData.articleRange = JSON.parse(this.newData.articleRange)
- districtId = this.newData.articleRange[0][0]
- console.log("********************" + districtId)
- }
- console.log(districtId)
if (type == 0) {
+ this.newData = row
+ districtId = this.newData.articleRange
this.userParams = {
articleId: row.id,
districtId: districtId
}
} else {
+ districtId = this.newData.articleRange
this.userParams = {
topicsId: row.id,
districtId: districtId
--
Gitblit v1.9.3