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/components/householdManager.vue | 25 ++++++++++++++++---------
1 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/src/views/userHouse/components/householdManager.vue b/src/views/userHouse/components/householdManager.vue
index 9341a25..64a3374 100644
--- a/src/views/userHouse/components/householdManager.vue
+++ b/src/views/userHouse/components/householdManager.vue
@@ -129,12 +129,15 @@
total: 0
},
option: {
- labelWidth: 144,
+ labelWidth: 120,
+ searchLabelWidth: 96,
+ searchShow: true,
+ searchMenuSpan: 4,
+ menuWidth: 210,
+
height: 420,
calcHeight: 80,
tip: false,
- searchShow: true,
- searchMenuSpan: 6,
border: true,
index: true,
selection: true,
@@ -164,11 +167,12 @@
},
{
- width: 96,
+ width: 110,
label: "姓名",
prop: "name",
+ searchSpan: 4,
+ searchLabelWidth: 66,
search: true,
- searchSpan: 3,
rules: [
{
required: true,
@@ -192,12 +196,12 @@
},
{
- display: true,
width: 160,
+ display: true,
label: "身份证号",
prop: "idCard",
search: true,
- searchSpan: 4,
+ searchSpan: 5,
slot: true,
rules: [
{
@@ -208,9 +212,9 @@
},
{
+ width: 160,
hide: true,
display: false,
- width: 160,
label: "证件号码",
prop: "cardNo",
},
@@ -227,6 +231,7 @@
{
+ width: 60,
label: "性别",
prop: "gender",
type: "select",
@@ -251,7 +256,7 @@
label: "手机号码",
prop: "phoneNumber",
search: true,
- searchSpan: 3,
+ searchSpan: 5,
slot: true,
rules: [
{
@@ -313,6 +318,7 @@
},
{
+ overHidden: true,
label: "地址",
prop: "address",
display: false
@@ -805,6 +811,7 @@
onLoad (page, params = {}) {
params['houseCode'] = this.houseCode
this.loading = true
+
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
const data = res.data.data
this.page.total = data.total
--
Gitblit v1.9.3