上饶市警务平台后台管理前端
zengh
2022-12-28 1cccf113a2bb2c2da38ee9c7e3ac01337b1b976f
整体样式风格修改
5 files modified
86 ■■■■ changed files
package-lock.json 11 ●●●●● patch | view | raw | blame | history
package.json 1 ●●●● patch | view | raw | blame | history
src/views/panorama/panorama.vue 18 ●●●●● patch | view | raw | blame | history
src/views/security/security.vue 54 ●●●● patch | view | raw | blame | history
vue.config.js 2 ●●● patch | view | raw | blame | history
package-lock.json
@@ -2187,6 +2187,17 @@
        }
      }
    },
    "avue-plugin-map": {
      "version": "1.0.1",
      "resolved": "https://registry.npmmirror.com/avue-plugin-map/-/avue-plugin-map-1.0.1.tgz",
      "integrity": "sha512-QpGiCJZxF/DptoJrZnZWwQSxA2oBI7S8Wog3CEh9EhwrAKb+I0Ct8PWO+hBH2Q+tXTv/glhSWMh9aUbQa0/YIg==",
      "requires": {
        "axios": "^0.18.0",
        "element-ui": "^2.4.6",
        "vue": "^2.5.17",
        "vue-router": "^3.0.1"
      }
    },
    "avue-plugin-ueditor": {
      "version": "0.1.7",
      "resolved": "https://registry.npmmirror.com/avue-plugin-ueditor/-/avue-plugin-ueditor-0.1.7.tgz",
package.json
@@ -12,6 +12,7 @@
  },
  "dependencies": {
    "@dvgis/dc-sdk": "^2.17.0",
    "avue-plugin-map": "^1.0.1",
    "avue-plugin-ueditor": "^0.1.4",
    "axios": "^0.18.0",
    "babel-polyfill": "^6.26.0",
src/views/panorama/panorama.vue
@@ -80,6 +80,24 @@
              }],
            },
            {
              label: "所属辖区",
              prop: "deptId",
              type: "tree",
              dicUrl: "api/blade-system/dept/lazy-list",
              props:{
                label:'deptName',
                value:'id',
                children:'children'
              },
              search: true,
              searchSpan:4,
              rules: [{
                required: true,
                message: "请选择所属辖区",
                trigger: "blur"
              }]
            },
            {
              label: "链接地址",
              prop: "vrUrl",
              type: "input",
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",
            },
            {
vue.config.js
@@ -26,7 +26,7 @@
    proxy: {
      '/api': {
        //本地服务接口地址
        target: 'http://192.168.0.115:82/',
        target: 'http://192.168.2.125:82/',
        //远程演示服务地址,可用于直接启动项目
        //target: 'https://saber.bladex.vip/api',
        ws: true,