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/community/index.vue |   23 ++++++++++-------------
 1 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/src/views/community/index.vue b/src/views/community/index.vue
index 40705e7..d213782 100644
--- a/src/views/community/index.vue
+++ b/src/views/community/index.vue
@@ -32,6 +32,7 @@
             datetime: "",
             selectionList: [],
             option: {
+                labelWidth: 120,
                 height: "auto",
                 calcHeight: 54,
                 dialogWidth: 950,
@@ -47,14 +48,13 @@
                 dialogClickModal: false,
                 column: [
                     {
+                        width: 220,
+                        overHidden: true,
                         label: "社区名称",
                         prop: "name",
                         searchSpan: 5,
                         search: true,
                         span: 12,
-                        labelWidth: 120,
-                        width: 220,
-                        overHidden: true,
                         rules: [
                             {
                                 required: true,
@@ -64,14 +64,13 @@
                         ],
                     },
                     {
+                        width: 110,
+                        overHidden: true,
                         label: "社区编号",
                         prop: "code",
                         searchSpan: 5,
                         search: true,
                         span: 12,
-                        labelWidth: 120,
-                        width: 220,
-                        overHidden: true,
                         rules: [
                             {
                                 required: true,
@@ -82,11 +81,11 @@
                     },
 
                     {
+                        width: 110,
                         parent: false,
                         addDisplay: false,
                         editDisplay: false,
                         viewDisplay: false,
-                        width: 96,
                         label: "所属街道",
                         prop: "townName",
                         search: true,
@@ -94,11 +93,11 @@
                     },
 
                     {
+                        width: 110,
                         hide: true,
                         parent: false,
                         label: "所属街道",
                         prop: "streetCode",
-                        width: 150,
                         type: "tree",
                         dicUrl: "/api/blade-system/region/getTownTree",
                         props: {
@@ -115,9 +114,9 @@
                     },
 
                     {
+                        width: 110,
                         label: "社区民警",
                         prop: "resPoliceUserId",
-                        labelWidth: 120,
                         type: "tree",
                         dicUrl: "/api/blade-system/user/getUserListByParam?roleName=民警",
                         props: {
@@ -133,10 +132,9 @@
                         ],
                     },
                     {
+                        width: 110,
                         label: "社区图片",
                         prop: "picUrl",
-                        width: 80,
-                        labelWidth: 120,
                         type: "upload",
                         listType: "picture-img",
                         action: "/api/blade-resource/oss/endpoint/put-file",
@@ -148,10 +146,10 @@
                     },
 
                     {
+                        overHidden: true,
                         label: "地址",
                         prop: "address",
                         span: 24,
-                        labelWidth: 120,
                         rules: [
                             {
                                 required: false,
@@ -163,7 +161,6 @@
                     {
                         label: "社区简介",
                         prop: "remark",
-                        labelWidth: 120,
                         component: "AvueUeditor",
                         options: {
                             action: "/api/blade-resource/oss/endpoint/put-file",

--
Gitblit v1.9.3