From 1cccf113a2bb2c2da38ee9c7e3ac01337b1b976f Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 28 Dec 2022 09:37:54 +0800
Subject: [PATCH] 整体样式风格修改

---
 src/views/security/security.vue |   54 ++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 38 insertions(+), 16 deletions(-)

diff --git a/src/views/security/security.vue b/src/views/security/security.vue
index 2250a4e..27d5f51 100644
--- a/src/views/security/security.vue
+++ b/src/views/security/security.vue
@@ -33,6 +33,7 @@
 
 <script>
   import {getPage, getDetail, add, update, remove} from "@/api/security/security";
+  import AvueMap from 'avue-plugin-map';
   import {mapGetters} from "vuex";
 
   export default {
@@ -50,6 +51,7 @@
         option: {
           height: 'auto',
           calcHeight: 30,
+          labelWidth: "100",
           dialogWidth: 950,
           tip: false,
           searchShow: true,
@@ -68,8 +70,23 @@
               searchSpan:4,
             },
             {
+              label: "负责单位",
+              prop: "company",
+            },
+            {
               label: "负责人",
               prop: "person",
+            },
+            {
+              label: "联系方式",
+              prop: "contact",
+            },
+            {
+              label: "活动地点",
+              prop: "place",
+              // addDisplay: false,
+              // editDisplay: false,
+              // viewDisplay: false,
             },
             {
               label: "所属辖区",
@@ -95,13 +112,6 @@
             //   type: "map",
             // },
             {
-              label: "地址",
-              prop: "place",
-              // addDisplay: false,
-              // editDisplay: false,
-              // viewDisplay: false,
-            },
-            {
               label: "开始时间",
               prop: "startTime",
               type: "datetime",
@@ -119,8 +129,8 @@
               prop: "endTime",
               type: "datetime",
               defaultTime: '23:59:59',
-              format: "yyyy-MM-dd HH:mm:ss",
-              valueFormat: "yyyy-MM-dd HH:mm:ss",
+              format: "yyyy-MM-dd HH:mm",
+              valueFormat: "yyyy-MM-dd HH:mm",
               rules: [{
                 required: true,
                 message: "请输入结束时间",
@@ -128,17 +138,29 @@
               }],
             },
             {
-              label: "经纬度",
-              prop: "position",
-              type: "input",
-              hide:true
-            },
-            {
               label: "活动内容",
               prop: "content",
             },
             {
-              label: "申报人数",
+              label: "经纬度",
+              prop: "position",
+              type: "input",
+              span: 9,
+              hide:true
+            },
+            {
+              label: "",
+              prop: "map",
+              labelWidth: 10,
+              searchSpan: 0,
+              // maxlength: 5,
+              hide: true,
+              span: 3,
+              // display:false,
+              component: "AvueMap",
+            },
+            {
+              label: "人数",
               prop: "number",
             },
             {

--
Gitblit v1.9.3