上饶市警务平台后台管理前端
zengh
2022-12-28 1cccf113a2bb2c2da38ee9c7e3ac01337b1b976f
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",
            },
            {