上饶市警务平台后台管理前端
guoshilong
2022-11-28 d1490ddad2f4bd33fe348d813d5d151269677c7b
活动时间选择改为时间选择器;
2 files modified
43 ■■■■ changed files
public/index.html 9 ●●●●● patch | view | raw | blame | history
src/views/security/security.vue 34 ●●●● patch | view | raw | blame | history
public/index.html
@@ -18,6 +18,15 @@
  <link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/2.9.12/index.css">
  <script src="<%= BASE_URL %>cdn/xlsx/FileSaver.min.js"></script>
  <script src="<%= BASE_URL %>cdn/xlsx/xlsx.full.min.js"></script>
  <!-- AvueMap-begin-->
<!--  <script>-->
<!--    window._AMapSecurityConfig = {-->
<!--      securityJsCode: '8ac9e5f522c62ed6e3a5800a87b0d140',-->
<!--    }-->
<!--  </script>-->
<!--  <script type="text/javascript" src='https://webapi.amap.com/maps?v=1.4.11&key=7fa69abe1defd5888bb85bc736cda874&plugin=AMap.PlaceSearch'></script>-->
<!--  <script src="https://webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>-->
  <!-- AvueMap-end-->
  <link rel="icon" href="<%= BASE_URL %>icon.png">
  <title>社区警务平台运维</title>
  <style>
src/views/security/security.vue
@@ -70,29 +70,51 @@
              label: "负责人",
              prop: "person",
            },
            // {
            //   label: "地址",
            //   prop: "avueMap",
            //   type: "map",
            // },
            {
              label: "地址",
              prop: "place",
              // addDisplay: false,
              // editDisplay: false,
              // viewDisplay: false,
            },
            {
              label: "经纬度",
              prop: "position",
              type: "input",
              hide:true
            },
            {
              label: "时间",
              prop: "time",
              type: "datetime",
              format: "yyyy-MM-dd hh:mm:ss",
              valueFormat: "yyyy-MM-dd hh:mm:ss",
            },
            {
              label: "活动内容",
              prop: "content",
            },
            {
              label: "位置",
              prop: "position",
              type: "input",
              hide:true
            },
          ]
        },
        data: []
      };
    },
    // watch: {
    //   //latitude   longitude   formattedAddress
    //   "form.avueMap":{
    //     handler (newObj) {
    //       if (newObj.length>0) {
    //         this.form.place = newObj[2]
    //         this.form.position = newObj[0]+","+newObj[1]
    //       }
    //     }
    //   }
    // },
    computed: {
      ...mapGetters(["permission"]),
      permissionList() {