From 335642b3d8a4cdda3d43ea5a784087bdccdd2f73 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 05 Jan 2024 17:51:17 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_web
---
src/views/community/index.vue | 28 ++++++++++++----------------
1 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/src/views/community/index.vue b/src/views/community/index.vue
index 40705e7..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,
@@ -82,23 +81,22 @@
},
{
+ width: 110,
+ label: "所属街道",
parent: false,
addDisplay: false,
editDisplay: false,
viewDisplay: false,
- width: 96,
- label: "所属街道",
prop: "townName",
search: true,
searchSpan: 4
},
{
+ label: "所属街道",
hide: true,
parent: false,
- label: "所属街道",
prop: "streetCode",
- width: 150,
type: "tree",
dicUrl: "/api/blade-system/region/getTownTree",
props: {
@@ -115,9 +113,9 @@
},
{
+ width: 110,
label: "社区民警",
prop: "resPoliceUserId",
- labelWidth: 120,
type: "tree",
dicUrl: "/api/blade-system/user/getUserListByParam?roleName=民警",
props: {
@@ -127,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",
@@ -148,10 +145,10 @@
},
{
+ overHidden: true,
label: "地址",
prop: "address",
span: 24,
- labelWidth: 120,
rules: [
{
required: false,
@@ -163,7 +160,6 @@
{
label: "社区简介",
prop: "remark",
- labelWidth: 120,
component: "AvueUeditor",
options: {
action: "/api/blade-resource/oss/endpoint/put-file",
--
Gitblit v1.9.3