From a531e8cce9f8d30a2ef9789eb04eb00b73f16a2b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 06 Jan 2024 16:01:19 +0800
Subject: [PATCH] 数据管理下所有模块对应页面调整:搜索、字段展示; 搜索后,分页切换显示异常BUG
---
src/views/userHouse/houseHoldList.vue | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/views/userHouse/houseHoldList.vue b/src/views/userHouse/houseHoldList.vue
index 089cb7b..6ff6c2c 100644
--- a/src/views/userHouse/houseHoldList.vue
+++ b/src/views/userHouse/houseHoldList.vue
@@ -224,11 +224,14 @@
},
option: {
labelWidth: 144,
+ searchLabelWidth: 96,
+ searchShow: true,
+ searchMenuSpan: 3,
+ menuWidth: 280,
+
height: 'auto',
calcHeight: 80,
tip: false,
- searchShow: true,
- searchMenuSpan: 3,
border: true,
index: true,
selection: true,
@@ -236,7 +239,6 @@
addBtn: true,
dialogType: 'drawer',
dialogClickModal: false,
- menuWidth: 280,
menuFixed: 'right',
column: [
{
@@ -263,8 +265,9 @@
width: 110,
label: "姓名",
prop: "name",
- search: true,
searchSpan: 3,
+ searchLabelWidth: 66,
+ search: true,
rules: [
{
required: true,
@@ -346,7 +349,7 @@
label: "手机号码",
prop: "phoneNumber",
search: true,
- searchSpan: 3,
+ searchSpan: 4,
slot: true,
rules: [
{
@@ -455,7 +458,8 @@
},
{
- width: 140,
+ width: 156,
+ overHidden: true,
label: "地址",
prop: "address",
display: false
@@ -543,6 +547,7 @@
{
width: 210,
+ overHidden: true,
label: "标签",
prop: "householdLabelList",
display: false
@@ -1083,6 +1088,7 @@
onLoad (page, params = {}) {
this.loading = true
+
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
const data = {
...res.data.data,
--
Gitblit v1.9.3