From f2e4a9d500d2ae2a0ca0fe9ff8cb050c90ccaa2e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 05 Jan 2024 18:02:00 +0800
Subject: [PATCH] 所有图片字段需要调整
---
src/views/community/index.vue | 43 ++++++++++++++++++++++++++-----------------
1 files changed, 26 insertions(+), 17 deletions(-)
diff --git a/src/views/community/index.vue b/src/views/community/index.vue
index 3b043e0..4b197f1 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: 156,
+ 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,
@@ -80,13 +79,24 @@
},
],
},
+
+ {
+ width: 110,
+ label: "所属街道",
+ parent: false,
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ prop: "townName",
+ search: true,
+ searchSpan: 4
+ },
+
{
label: "所属街道",
+ hide: true,
+ parent: false,
prop: "streetCode",
- search: true,
- searchSpan: 4,
- width: 150,
- labelWidth: 120,
type: "tree",
dicUrl: "/api/blade-system/region/getTownTree",
props: {
@@ -101,10 +111,11 @@
},
],
},
+
{
+ width: 110,
label: "社区民警",
prop: "resPoliceUserId",
- labelWidth: 120,
type: "tree",
dicUrl: "/api/blade-system/user/getUserListByParam?roleName=民警",
props: {
@@ -114,16 +125,15 @@
rules: [
{
required: true,
- message: "请选择所属街道",
+ message: "请选择社区民警",
trigger: "blur",
},
],
},
{
+ width: 110,
label: "社区图片",
prop: "picUrl",
- width: 80,
- labelWidth: 120,
type: "upload",
listType: "picture-img",
action: "/api/blade-resource/oss/endpoint/put-file",
@@ -135,10 +145,10 @@
},
{
+ overHidden: true,
label: "地址",
prop: "address",
span: 24,
- labelWidth: 120,
rules: [
{
required: false,
@@ -150,7 +160,6 @@
{
label: "社区简介",
prop: "remark",
- labelWidth: 120,
component: "AvueUeditor",
options: {
action: "/api/blade-resource/oss/endpoint/put-file",
@@ -163,7 +172,7 @@
minRows: 6,
span: 24,
},
-
+
],
},
data: [],
--
Gitblit v1.9.3