From 15f8fa5b31a267c383fdf8c015352bef2967c52d Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Tue, 05 Mar 2024 18:06:53 +0800
Subject: [PATCH] bug修复
---
src/views/propertySupervision/ownersCommittee.vue | 47 +++++++++++++++++++++++++----------------------
1 files changed, 25 insertions(+), 22 deletions(-)
diff --git a/src/views/propertySupervision/ownersCommittee.vue b/src/views/propertySupervision/ownersCommittee.vue
index 5660e52..32717d2 100644
--- a/src/views/propertySupervision/ownersCommittee.vue
+++ b/src/views/propertySupervision/ownersCommittee.vue
@@ -73,6 +73,7 @@
searchShow: true,
searchMenuSpan: 3,
menuWidth: 450,
+ addBtn: false,
menu: false,
height: "auto",
calcHeight: 54,
@@ -88,21 +89,6 @@
// excelBtn: true,
dialogClickModal: false,
column: [{
- // hide: true,
- parent: false,
- label: "小区名称",
- prop: "districtId",
- type: 'tree',
- dicUrl: `/api/blade-district/district/getDistrictTree`,
- props: {
- label: "name",
- value: "id"
- },
- defaultExpandedKeys: ["361102003"],
- span: 12,
- width: 220,
- overHidden: true,
- }, {
label: "标题",
prop: "title",
span: 24,
@@ -188,14 +174,21 @@
}, ],
},
{
- width: 144,
- label: "发布时间",
- prop: "createTime",
- type: "date",
- format: "yyyy-MM-dd",
- valueFormat: "yyyy-MM-dd HH:mm:ss",
+ // hide: true,
+ parent: false,
+ label: "小区名称",
+ prop: "districtId",
+ type: 'tree',
+ dicUrl: `/api/blade-district/district/getDistrictTree`,
+ props: {
+ label: "name",
+ value: "id"
+ },
+ defaultExpandedKeys: ["361102003"],
+ span: 12,
+ width: 220,
+ overHidden: true,
},
-
{
width: 110,
label: "所属街道",
@@ -217,6 +210,14 @@
prop: "communityName",
search: true,
searchSpan: 4
+ },
+ {
+ width: 144,
+ label: "发布时间",
+ prop: "createTime",
+ type: "date",
+ format: "yyyy-MM-dd",
+ valueFormat: "yyyy-MM-dd HH:mm:ss",
},
{
@@ -477,6 +478,7 @@
},
searchChange(params, done) {
this.query = params
+ this.query.publish = 1
this.page.currentPage = 1
this.onLoad(this.page, params)
done()
@@ -556,6 +558,7 @@
values.dateTime = null
}
values.type = 5
+ values.publish = 1
this.loading = true
console.log(values)
getList(page.currentPage, page.pageSize, values).then((res) => {
--
Gitblit v1.9.3