From aca8d06f5a0b8eea2e4f30c7fe8366b2dc42bffc Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 05 Jan 2024 17:30:27 +0800
Subject: [PATCH] 字段宽度调整(小区)
---
src/views/district/index.vue | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/views/district/index.vue b/src/views/district/index.vue
index dd07e86..b47dd06 100644
--- a/src/views/district/index.vue
+++ b/src/views/district/index.vue
@@ -32,6 +32,7 @@
datetime: "",
selectionList: [],
option: {
+ labelWidth: 120,
height: "auto",
calcHeight: 54,
dialogWidth: 950,
@@ -47,13 +48,13 @@
dialogClickModal: false,
column: [
{
- label: "小区名称",
+ width: 220,
+ overHidden: true,
+ label: '小区名称',
prop: "name",
searchSpan: 4,
search: true,
span: 12,
- labelWidth: 120,
- width: 220,
rules: [
{
required: true,
@@ -65,11 +66,12 @@
{
+ width: 110,
+ overHidden: true,
parent: false,
addDisplay: false,
editDisplay: false,
viewDisplay: false,
- width: 96,
label: "所属街道",
prop: "townStreetName",
search: true,
@@ -77,13 +79,14 @@
},
{
+ width: 156,
+ overHidden: true,
parent: false,
label: "所属社区",
prop: "communityCode",
search: true,
searchSpan: 4,
searchType: 'input',
- width: 150,
type: "tree",
dicUrl: "/api/blade-system/region/tree",
props: {
@@ -100,18 +103,19 @@
},
{
+ width: 110,
+ overHidden: true,
addDisplay: false,
editDisplay: false,
viewDisplay: false,
- width: 96,
label: "所属网格",
prop: "gridName",
},
{
+ width: 110,
label: "小区图片",
prop: "picUrl",
- width: 80,
type: "upload",
listType: "picture-img",
action: "/api/blade-resource/oss/endpoint/put-file",
@@ -142,6 +146,7 @@
label: "地址",
prop: "address",
span: 24,
+ overHidden: true,
rules: [
{
required: true,
--
Gitblit v1.9.3