From 8a6ebefd7583478aec94b6d5fd3d5a22d2245991 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 20 Dec 2023 18:53:16 +0800
Subject: [PATCH] 展示顺序调整,标签统计的样式调整
---
src/views/district/index.vue | 102 +++++++++++++++++++++++++++++----------------------
1 files changed, 58 insertions(+), 44 deletions(-)
diff --git a/src/views/district/index.vue b/src/views/district/index.vue
index e813a13..66d5cd9 100644
--- a/src/views/district/index.vue
+++ b/src/views/district/index.vue
@@ -47,6 +47,62 @@
dialogClickModal: false,
column: [
{
+ parent: false,
+ label: "小区名称",
+ prop: "name",
+ searchSpan: 5,
+ search: true,
+ type: 'tree',
+ dicUrl: `/api/blade-district/district/getDistrictTree`,
+ props: {
+ label: "name",
+ value: "id"
+ },
+ defaultExpandedKeys: ["361102003"],
+ span: 12,
+ labelWidth: 120,
+ width: 220,
+ overHidden: true,
+ rules: [
+ {
+ required: true,
+ message: "请选择小区",
+ trigger: "blur",
+ },
+ ],
+ },
+
+ {
+ label: "小区图片",
+ prop: "picUrl",
+ width: 80,
+ type: "upload",
+ listType: "picture-img",
+ action: "/api/blade-resource/oss/endpoint/put-file",
+ propsHttp: {
+ res: "data",
+ url: "link",
+ },
+ span: 24,
+ },
+
+ {
+ label: "小区简介",
+ prop: "remark",
+ component: "AvueUeditor",
+ options: {
+ action: "/api/blade-resource/oss/endpoint/put-file",
+ props: {
+ res: "data",
+ url: "link",
+ },
+ },
+ hide: true,
+ minRows: 6,
+ span: 24,
+ },
+
+ {
addDisplay: false,
editDisplay: false,
viewDisplay: false,
@@ -54,6 +110,7 @@
label: "所属街道",
prop: "townStreetName",
},
+
{
label: "所属社区",
prop: "communityCode",
@@ -74,6 +131,7 @@
},
],
},
+
{
addDisplay: false,
editDisplay: false,
@@ -83,34 +141,6 @@
prop: "gridName",
},
- {
- label: "小区名称",
- prop: "name",
- searchSpan: 4,
- search: true,
- width: 260,
- rules: [
- {
- required: true,
- message: "请输入小区名称",
- trigger: "blur",
- },
- ],
- },
-
- {
- label: "小区图片",
- prop: "picUrl",
- width: 80,
- type: "upload",
- listType: "picture-img",
- action: "/api/blade-resource/oss/endpoint/put-file",
- propsHttp: {
- res: "data",
- url: "link",
- },
- span: 24,
- },
{
label: "地址",
prop: "address",
@@ -122,22 +152,6 @@
trigger: "blur",
},
],
- },
-
- {
- label: "小区简介",
- prop: "remark",
- component: "AvueUeditor",
- options: {
- action: "/api/blade-resource/oss/endpoint/put-file",
- props: {
- res: "data",
- url: "link",
- },
- },
- hide: true,
- minRows: 6,
- span: 24,
},
],
},
--
Gitblit v1.9.3