瀏覽代碼

commit origin verion
fix:修改态势分析同环比分析中的数据接口
fix:提供线索上图的线索统计分析中的数据接口
fix:提供处置力量的处置力量统计分析中的数据接口

xiatian 1 年之前
當前提交
a339e3c93a
共有 100 個文件被更改,包括 49619 次插入0 次删除
  1. 9 0
      .editorconfig
  2. 2 0
      .env.development
  3. 2 0
      .env.production
  4. 2 0
      .env.production.jd
  5. 2 0
      .env.production.sit
  6. 2 0
      .env.production.uat
  7. 4 0
      .eslintignore
  8. 36 0
      .eslintrc.js
  9. 22 0
      .gitignore
  10. 7 0
      Dockerfile
  11. 69 0
      README.md
  12. 5 0
      babel.config.js
  13. 84 0
      compress/main.js
  14. 15 0
      docker-compose.yml
  15. 103 0
      gulpfile.js
  16. 129 0
      nginx.conf
  17. 19980 0
      package-lock.json
  18. 109 0
      package.json
  19. 1307 0
      public/element-theme/blue/aui.css
  20. 二進制
      public/element-theme/blue/fonts/element-icons.ttf
  21. 二進制
      public/element-theme/blue/fonts/element-icons.woff
  22. 12738 0
      public/element-theme/blue/index.css
  23. 1 0
      public/element-theme/brown/aui.css
  24. 二進制
      public/element-theme/brown/fonts/element-icons.ttf
  25. 二進制
      public/element-theme/brown/fonts/element-icons.woff
  26. 1 0
      public/element-theme/brown/index.css
  27. 1 0
      public/element-theme/cyan/aui.css
  28. 二進制
      public/element-theme/cyan/fonts/element-icons.ttf
  29. 二進制
      public/element-theme/cyan/fonts/element-icons.woff
  30. 1 0
      public/element-theme/cyan/index.css
  31. 1 0
      public/element-theme/default/aui.css
  32. 二進制
      public/element-theme/default/fonts/element-icons.ttf
  33. 二進制
      public/element-theme/default/fonts/element-icons.woff
  34. 1 0
      public/element-theme/default/index.css
  35. 1 0
      public/element-theme/gray/aui.css
  36. 二進制
      public/element-theme/gray/fonts/element-icons.ttf
  37. 二進制
      public/element-theme/gray/fonts/element-icons.woff
  38. 1 0
      public/element-theme/gray/index.css
  39. 1 0
      public/element-theme/green/aui.css
  40. 二進制
      public/element-theme/green/fonts/element-icons.ttf
  41. 二進制
      public/element-theme/green/fonts/element-icons.woff
  42. 1 0
      public/element-theme/green/index.css
  43. 1 0
      public/element-theme/indigo/aui.css
  44. 二進制
      public/element-theme/indigo/fonts/element-icons.ttf
  45. 二進制
      public/element-theme/indigo/fonts/element-icons.woff
  46. 1 0
      public/element-theme/indigo/index.css
  47. 1310 0
      public/element-theme/lianchuang/aui.css
  48. 二進制
      public/element-theme/lianchuang/fonts/element-icons.ttf
  49. 二進制
      public/element-theme/lianchuang/fonts/element-icons.woff
  50. 12738 0
      public/element-theme/lianchuang/index.css
  51. 1 0
      public/element-theme/orange/aui.css
  52. 二進制
      public/element-theme/orange/fonts/element-icons.ttf
  53. 二進制
      public/element-theme/orange/fonts/element-icons.woff
  54. 1 0
      public/element-theme/orange/index.css
  55. 1 0
      public/element-theme/pink/aui.css
  56. 二進制
      public/element-theme/pink/fonts/element-icons.ttf
  57. 二進制
      public/element-theme/pink/fonts/element-icons.woff
  58. 1 0
      public/element-theme/pink/index.css
  59. 1 0
      public/element-theme/purple/aui.css
  60. 二進制
      public/element-theme/purple/fonts/element-icons.ttf
  61. 二進制
      public/element-theme/purple/fonts/element-icons.woff
  62. 1 0
      public/element-theme/purple/index.css
  63. 1 0
      public/element-theme/red/aui.css
  64. 二進制
      public/element-theme/red/fonts/element-icons.ttf
  65. 二進制
      public/element-theme/red/fonts/element-icons.woff
  66. 1 0
      public/element-theme/red/index.css
  67. 1 0
      public/element-theme/turquoise/aui.css
  68. 二進制
      public/element-theme/turquoise/fonts/element-icons.ttf
  69. 二進制
      public/element-theme/turquoise/fonts/element-icons.woff
  70. 1 0
      public/element-theme/turquoise/index.css
  71. 1 0
      public/element-theme/yellow/aui.css
  72. 二進制
      public/element-theme/yellow/fonts/element-icons.ttf
  73. 二進制
      public/element-theme/yellow/fonts/element-icons.woff
  74. 1 0
      public/element-theme/yellow/index.css
  75. 二進制
      public/favicon.ico
  76. 二進制
      public/favicon111.ico
  77. 44 0
      public/index-zw-realtime.html
  78. 134 0
      public/index.html
  79. 178 0
      public/kmedia/kmedia.js
  80. 二進制
      public/kmedia/yuanpan.png
  81. 2 0
      public/layui/css/layui.css
  82. 2 0
      public/layui/css/layui.mobile.css
  83. 2 0
      public/layui/css/modules/code.css
  84. 2 0
      public/layui/css/modules/laydate/default/laydate.css
  85. 二進制
      public/layui/css/modules/layer/default/icon-ext.png
  86. 二進制
      public/layui/css/modules/layer/default/icon.png
  87. 2 0
      public/layui/css/modules/layer/default/layer.css
  88. 二進制
      public/layui/css/modules/layer/default/loading-0.gif
  89. 二進制
      public/layui/css/modules/layer/default/loading-1.gif
  90. 二進制
      public/layui/css/modules/layer/default/loading-2.gif
  91. 二進制
      public/layui/font/iconfont.eot
  92. 554 0
      public/layui/font/iconfont.svg
  93. 二進制
      public/layui/font/iconfont.ttf
  94. 二進制
      public/layui/font/iconfont.woff
  95. 二進制
      public/layui/font/iconfont.woff2
  96. 二進制
      public/layui/images/face/0.gif
  97. 二進制
      public/layui/images/face/1.gif
  98. 二進制
      public/layui/images/face/10.gif
  99. 二進制
      public/layui/images/face/11.gif
  100. 0 0
      public/layui/images/face/12.gif

+ 9 - 0
.editorconfig

@@ -0,0 +1,9 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 2
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true

+ 2 - 0
.env.development

@@ -0,0 +1,2 @@
+NODE_ENV=development
+VUE_APP_NODE_ENV=dev

+ 2 - 0
.env.production

@@ -0,0 +1,2 @@
+NODE_ENV=production
+VUE_APP_NODE_ENV=prod

+ 2 - 0
.env.production.jd

@@ -0,0 +1,2 @@
+NODE_ENV=production
+VUE_APP_NODE_ENV=prod:jd

+ 2 - 0
.env.production.sit

@@ -0,0 +1,2 @@
+NODE_ENV=production
+VUE_APP_NODE_ENV=prod:sit

+ 2 - 0
.env.production.uat

@@ -0,0 +1,2 @@
+NODE_ENV=production
+VUE_APP_NODE_ENV=prod:uat

+ 4 - 0
.eslintignore

@@ -0,0 +1,4 @@
+/src/icons/
+/src/i18n/
+/src/element-ui/
+/public/

+ 36 - 0
.eslintrc.js

@@ -0,0 +1,36 @@
+// https://eslint.org/docs/user-guide/configuring
+
+module.exports = {
+  root: true,
+  parserOptions: {
+    parser: 'babel-eslint'
+  },
+  env: {
+    browser: true,
+  },
+  extends: [
+    // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
+    // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
+    'plugin:vue/essential', 
+    // https://github.com/standard/standard/blob/master/docs/RULES-en.md
+    'standard'
+  ],
+  // required to lint *.vue files
+  plugins: [
+    'vue'
+  ],
+  globals: {
+    "ol": true,
+    "UsbPhone": true,
+    "BMap": true
+  },
+  // add your custom rules here
+  rules: {
+    // allow async-await
+    'generator-star-spacing': 'off',
+    // allow debugger during development
+    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
+    // "no-eval": 1,
+    // "no-unused-vars": 1,
+  }
+}

+ 22 - 0
.gitignore

@@ -0,0 +1,22 @@
+.DS_Store
+node_modules
+dist
+
+# local env files
+.env.local
+.env.*.local
+
+# Log files
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw*
+*.lock

+ 7 - 0
Dockerfile

@@ -0,0 +1,7 @@
+FROM base/nginx1.14-alpine
+
+EXPOSE 80
+#设置时区
+#RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
+
+COPY dist/   /usr/share/nginx/html

+ 69 - 0
README.md

@@ -0,0 +1,69 @@
+# security-enterprise-admin
+
+## Project setup
+```
+npm install
+```
+
+### Compiles and hot-reloads for development
+```
+npm run serve
+```
+
+### Compiles and minifies for production
+```
+npm run build
+```
+
+### Lints and fixes files
+```
+npm run lint
+```
+
+### src目录说明
+```
+src
+├─api                    接口
+├─assets                 资源
+│  ├─css                 样式
+│  ├─img                 图片,可依模块划分子文件夹
+│  │  ├─common
+│  │  ├─demo
+│  │  ├─index
+│  │  ├─nav
+│  │  └─sidebar
+│  ├─js
+│  └─scss                页面样式
+│      ├─modules
+│      └─pages
+├─components             公用组件
+│  ├─chars
+│  ├─prints
+│  ├─smp-map
+│  └─table-tree-column
+├─element-ui
+│  └─theme
+│      └─fonts
+├─i18n                   语言包
+├─icons
+│  └─svg
+├─mixins                 混入文件夹
+├─mock                   本地测试数据
+│  └─modules
+├─router                 路由
+├─store
+│  └─modules
+├─utils                  工具类
+└─views                  主要页面文件夹
+    ├─business           业务页面,可依模块划分子文件夹
+    │  ├─home            首页
+    │  └─OtherFolders    无用
+    ├─main               主框架页面
+    ├─modules            功能模块
+    │  ├─demo            目前有列表和表单的demo
+    │  │  └─listDemo
+    │  ├─detailsPage     无用
+    │  ├─job             无用
+    │  └─sys             系统页面
+    └─pages              404和登录页
+```

+ 5 - 0
babel.config.js

@@ -0,0 +1,5 @@
+module.exports = {
+  presets: [
+    '@vue/app'
+  ]
+}

+ 84 - 0
compress/main.js

@@ -0,0 +1,84 @@
+var UglifyJS = require('uglify-es')
+var fs = require('fs')
+const { resolve } = require('path')
+// console.log(fs.existsSync)
+let ysNameArr = [
+  'marker-direction',
+  'map-easy-insert',
+  'map-easy-client',
+  'leaflet-src',
+  'layer.yj',
+  'FormatTime',
+  'hnCityTree',
+  'MovingMarker.zt',
+  'MovingMarker',
+  'poi',
+  'realtime',
+  'tileLayer.wmts',
+  'tileLayer.wmts.poi',
+  'tileLayer.wmts.realtime',
+  'titleLayer.wmts.realtime.zt'
+]// 需要加载的文件名
+let ysJsArr = []// 要压缩的JS文件路径数组
+let ysOutJsArr = []// 输出的JS文件路径数组
+let codeArray = []// 压缩后的代码集合
+const options = {
+  //* ******配置输入输出口*********/
+  Entrypath: '../public/map-easy-client', // 需要批量压缩js的文件夹入口
+  Outpath: '../dist/map-easy-client' // 批量压缩后js的文件夹
+}
+
+init()// 开始
+//* *********函数部分***************
+// 判断输出路径是否存在
+
+// 遍历入口文件夹
+function startLoop () {
+  ysNameArr.forEach(itemPath => {
+    ysJsArr.push(resolve(__dirname, options.Entrypath, itemPath + '.js'))
+    ysOutJsArr.push(resolve(__dirname, options.Outpath, itemPath + '.js'))
+  })
+  toUglify()
+}
+// 导入uglifyCode
+function toUglify () {
+  // console.log(ysJsArr)
+  ysJsArr.forEach((itemPath) => {
+    let code = fs.readFileSync(itemPath, 'utf8')
+    let uglifyCode = UglifyJS.minify(code).code
+    codeArray.push(uglifyCode)
+  })
+}
+function judgeDir () {
+  let isExists = fs.existsSync(resolve(__dirname, options.Outpath))
+  if (isExists) {
+    console.log(`${options.Outpath}目录已存在,进入下一步`)
+  } else {
+    console.log('指定目录不存在,进入下一步')
+    creatFolder(options.Outpath)
+  }
+  ysOutJsArr.forEach((itemPath, i) => {
+    startCompress(itemPath, codeArray[i], i + 1)
+  })
+}
+
+// 创建文件夹,默认dist
+function creatFolder () {
+  fs.mkdir(resolve(__dirname, options.Outpath))
+  console.log(`创建${options.Outpath}成功`)
+}
+// 执行写入压缩后的代码
+function startCompress (itemPath, item, n = 0) {
+  console.log(itemPath)
+  console.log(`开始写入第${n}条压缩后代码`)
+  fs.writeFileSync(itemPath, item)
+  console.log('写入代码成功')
+}
+
+// 初始化
+function init () {
+  console.log('初始化开始')
+  startLoop()
+  console.log('判断输出路径是否存在')
+  judgeDir()
+}

+ 15 - 0
docker-compose.yml

@@ -0,0 +1,15 @@
+version: '3'
+services:
+  sys-graph-mana:
+    build:
+      context: .
+      dockerfile: Dockerfile
+      image: sys-graph-mana:latest
+    container_name: sys-graph-mana
+    restart: always
+    ports:
+      - 9082:80
+#    volumes:
+#      - /Users/zhjh/Documents/front/wwwroot:/usr/share/nginx/html
+#      - /Users/zhjh/Documents/front/nginx:/etc/nginx
+#      - /Users/zhjh/Documents/front/logs:/var/log/nginx

+ 103 - 0
gulpfile.js

@@ -0,0 +1,103 @@
+var gulp   = require('gulp')
+var $      = require('gulp-load-plugins')()
+var fs     = require('fs')
+var path   = require('path')
+var del    = require('del')
+var colors = require('colors')
+var child_process = require('child_process')
+
+var theme            = {}
+var themeList        = require('./src/element-ui/config.js').filter(item => !item.hasBuild)
+var styleFileDir     = './src/assets/scss'
+var styleFileDirTemp = `${styleFileDir}-temp`
+var themeFileDir     = './public/element-theme'
+var et               = require('element-theme')
+var etOptions        = require('./package.json')['element-theme']
+var themeFileName    = etOptions.config.replace(/.*\/(.+\.scss)/, '$1')
+
+/**
+ * 构建生成主题
+ */
+gulp.task('themes', () => {
+  if (themeList.length <= 0) { return del(styleFileDirTemp) }
+
+  // 删除临时文件,保证本次操作正常执行
+  del(styleFileDirTemp)
+
+  // 拷贝一份scss样式文件夹,作为构建的临时处理文件夹
+  child_process.spawnSync('cp', ['-r', styleFileDir, styleFileDirTemp])
+
+  // 拷贝element组件scss变量样式文件至临时处理文件夹中,并修改相应配置信息
+  child_process.spawnSync('cp', ['-r', etOptions.config, styleFileDirTemp])
+  etOptions.config = `${styleFileDirTemp}/${themeFileName}`
+
+  // 开始构建生成
+  fnCreate(themeList)
+
+  function fnCreate (themeList) {
+    if (themeList.length >= 1) {
+      // 保存当前构建生成的主题对象
+      theme = themeList[0]
+
+      console.log('\n')
+      console.log(colors.green('-------------------- 待构建,主题 -------------------------'))
+      console.log(themeList)
+      console.log('\n')
+      console.log(colors.green('-------------------- 构建中,主题 -------------------------'))
+      console.log(theme)
+      console.log('\n')
+
+      // 修改.scss临时文件中的$--color-primary主题变量值
+      var data = fs.readFileSync(etOptions.config, 'utf8')
+      var result = data.replace(/\$--color-primary:(.*) !default;/, `$--color-primary:${theme.color} !default;`)
+      fs.writeFileSync(path.resolve(etOptions.config), result)
+
+      // 修改aui.scss临时文件中引入element组件主题变量文件路径
+      var data = fs.readFileSync(`${styleFileDirTemp}/aui.scss`, 'utf8')
+      var result = data.replace(new RegExp(`(@import \")(.*\/)(${themeFileName}\";)`), '$1./$3')
+      fs.writeFileSync(path.resolve(`${styleFileDirTemp}/aui.scss`), result)
+
+      // 调用element-theme插件,生成element组件主题
+      etOptions.out = `${themeFileDir}/${theme.name}`
+      et.run(etOptions, () => {
+        // 生成后,构建同主题色aui.css项目主题
+        gulp.start(['styles'], () => {
+          // 递归下一步
+          themeList.splice(0, 1)
+          fnCreate(themeList)
+        })
+      })
+    } else {
+      // 删除临时文件
+      del(styleFileDirTemp)
+      console.log('\n')
+      console.log(colors.green('-------------------- 构建完毕,删除临时文件 -------------------------'))
+      console.log(styleFileDirTemp)
+      console.log('\n')
+      
+      // 删除主题不需要的部分文件
+      var files = [
+        `${themeFileDir}/**/*.css`,
+        `!${themeFileDir}/**/index.css`,
+        `!${themeFileDir}/**/aui.css`,
+        `!${themeFileDir}/**/fonts`
+      ]
+      del(files)
+      console.log(colors.green('-------------------- 构建完毕,删除主题独立组件文件 -------------------------'))
+      console.log(files)
+      console.log('\n')
+    }
+  }
+})
+
+gulp.task('styles', () => {
+  return gulp.src([`${styleFileDirTemp}/aui.scss`])
+    .pipe($.sass().on('error', $.sass.logError))
+    .pipe($.autoprefixer({
+      browsers: etOptions.browsers,
+      cascade: false
+    }))
+    .pipe($.cleanCss())
+    .pipe($.rename('aui.css'))
+    .pipe(gulp.dest(`${themeFileDir}/${theme.name}`))
+})

+ 129 - 0
nginx.conf

@@ -0,0 +1,129 @@
+
+#user  nobody;
+worker_processes  1;
+
+#error_log  logs/error.log;
+#error_log  logs/error.log  notice;
+#error_log  logs/error.log  info;
+
+#pid        logs/nginx.pid;
+
+
+events {
+    worker_connections  1024;
+}
+
+
+http {
+    include       mime.types;
+    default_type  application/octet-stream;
+
+    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
+                     '$status $body_bytes_sent "$http_referer" '
+                     '"$http_user_agent" "$http_x_forwarded_for"';
+
+    #access_log  logs/access.log  main;
+
+    sendfile        on;
+    #tcp_nopush     on;
+
+    #keepalive_timeout  0;
+    keepalive_timeout  65;
+
+    #gzip  on;
+
+    server {
+        listen       80;
+        server_name  _;
+
+        #charset koi8-r;
+
+        #access_log  logs/host.access.log  main;
+
+        location / {
+            root   dist;
+            index  index.html index.htm;
+        }
+        location /login {    
+        proxy_pass http://192.168.12.225:31903/login;
+        proxy_set_header   X-Forwarded-Proto $scheme;
+        proxy_set_header   Host              $http_host;
+        proxy_set_header   X-Real-IP         $remote_addr;
+		}
+
+        location /sys/menu/list {    
+        proxy_pass http://192.168.12.225:31903/sys/menu/list;
+        proxy_set_header   X-Forwarded-Proto $scheme;
+        proxy_set_header   Host              $http_host;
+        proxy_set_header   X-Real-IP         $remote_addr;
+		}
+        #error_page  404              /404.html;
+
+        # redirect server error pages to the static page /50x.html
+        #
+        error_page   500 502 503 504  /50x.html;
+        location = /50x.html {
+            root   html;
+        }
+
+        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
+        #
+        #location ~ \.php$ {
+        #    proxy_pass   http://127.0.0.1;
+        #}
+
+        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
+        #
+        #location ~ \.php$ {
+        #    root           html;
+        #    fastcgi_pass   127.0.0.1:9000;
+        #    fastcgi_index  index.php;
+        #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
+        #    include        fastcgi_params;
+        #}
+
+        # deny access to .htaccess files, if Apache's document root
+        # concurs with nginx's one
+        #
+        #location ~ /\.ht {
+        #    deny  all;
+        #}
+    }
+
+
+    # another virtual host using mix of IP-, name-, and port-based configuration
+    #
+    #server {
+    #    listen       8000;
+    #    listen       somename:8080;
+    #    server_name  somename  alias  another.alias;
+
+    #    location / {
+    #        root   html;
+    #        index  index.html index.htm;
+    #    }
+    #}
+
+
+    # HTTPS server
+    #
+    #server {
+    #    listen       443 ssl;
+    #    server_name  localhost;
+
+    #    ssl_certificate      cert.pem;
+    #    ssl_certificate_key  cert.key;
+
+    #    ssl_session_cache    shared:SSL:1m;
+    #    ssl_session_timeout  5m;
+
+    #    ssl_ciphers  HIGH:!aNULL:!MD5;
+    #    ssl_prefer_server_ciphers  on;
+
+    #    location / {
+    #        root   html;
+    #        index  index.html index.htm;
+    #    }
+    #}
+
+}

File diff suppressed because it is too large
+ 19980 - 0
package-lock.json


+ 109 - 0
package.json

@@ -0,0 +1,109 @@
+{
+  "name": "front-manager",
+  "version": "2.0.0",
+  "private": true,
+  "scripts": {
+    "serve": "vue-cli-service serve",
+    "build": "vue-cli-service build && npm run buildPublicPartFile",
+    "build:sit": "vue-cli-service build --mode production.sit",
+    "build:uat": "vue-cli-service build --mode production.uat",
+    "build:jd": "vue-cli-service build --mode production.jd",
+    "build:prod": "vue-cli-service build --mode production",
+    "lint": "vue-cli-service lint",
+    "et": "node_modules/.bin/et",
+    "et:init": "node_modules/.bin/et -i",
+    "et:list": "gulp themes",
+    "buildPublicPartFile": "node ./compress/main.js"
+  },
+  "dependencies": {
+    "axios": "^0.18.0",
+    "babel-plugin-component": "^1.1.1",
+    "echarts": "^4.9.0",
+    "element-theme": "^2.0.1",
+    "element-theme-chalk": "^2.4.7",
+    "element-ui": "2.12.0",
+    "gulp-autoprefixer": "^6.0.0",
+    "gulp-clean-css": "^3.10.0",
+    "gulp-load-plugins": "^1.5.0",
+    "gulp-rename": "^1.4.0",
+    "gulp-sass": "^4.0.2",
+    "heatmap.js": "^2.0.5",
+    "js-cookie": "^2.2.0",
+    "leaflet": "^1.7.1",
+    "lodash": "^4.17.11",
+    "moment": "^2.24.0",
+    "node-sass": "^4.9.3",
+    "qs": "^6.5.2",
+    "quill": "^1.3.6",
+    "sass-loader": "^7.1.0",
+    "screenfull": "^3.3.3",
+    "svg-sprite-loader": "^4.1.1",
+    "vue": "^2.5.17",
+    "vue-baidu-map": "^0.21.22",
+    "vue-echarts": "^5.0.0-beta.0",
+    "vue-i18n": "^8.1.0",
+    "vue-router": "^3.0.1",
+    "vuex": "^3.0.1"
+  },
+  "devDependencies": {
+    "@vue/cli-plugin-babel": "^3.3.0",
+    "@vue/cli-plugin-eslint": "^3.3.0",
+    "@vue/cli-service": "^3.3.0",
+    "@vue/eslint-config-standard": "^3.0.4",
+    "babel-eslint": "8.0.1",
+    "eslint": "^4.15.0",
+    "eslint-config-standard": "^10.2.1",
+    "eslint-friendly-formatter": "^3.0.0",
+    "eslint-loader": "^1.7.1",
+    "eslint-plugin-import": "^2.7.0",
+    "eslint-plugin-node": "^5.2.0",
+    "eslint-plugin-promise": "^3.4.0",
+    "eslint-plugin-standard": "^3.0.1",
+    "eslint-plugin-vue": "^4.0.0",
+    "less": "^3.9.0",
+    "less-loader": "^4.1.0",
+    "mockjs": "^1.1.0",
+    "node-sass": "^9.0.0",
+    "sass-loader": "^10.2.0",
+    "uglify-es": "^3.3.9",
+    "vue-template-compiler": "^2.5.17"
+  },
+  "eslintConfig": {
+    "root": true,
+    "env": {
+      "node": true
+    },
+    "extends": [
+      "plugin:vue/essential",
+      "@vue/standard"
+    ],
+    "rules": {},
+    "parserOptions": {
+      "parser": "babel-eslint"
+    }
+  },
+  "postcss": {
+    "plugins": {
+      "autoprefixer": {}
+    }
+  },
+  "engines": {
+    "node": ">= 8.11.1",
+    "npm": ">= 5.6.0"
+  },
+  "browserslist": [
+    "> 1%",
+    "last 2 versions",
+    "not ie <= 10"
+  ],
+  "element-theme": {
+    "config": "./src/element-ui/theme-variables.scss",
+    "out": "./src/element-ui/theme",
+    "minimize": true,
+    "browsers": [
+      "> 1%",
+      "last 2 versions",
+      "not ie <= 10"
+    ]
+  }
+}

File diff suppressed because it is too large
+ 1307 - 0
public/element-theme/blue/aui.css


二進制
public/element-theme/blue/fonts/element-icons.ttf


二進制
public/element-theme/blue/fonts/element-icons.woff


File diff suppressed because it is too large
+ 12738 - 0
public/element-theme/blue/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/brown/aui.css


二進制
public/element-theme/brown/fonts/element-icons.ttf


二進制
public/element-theme/brown/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/brown/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/cyan/aui.css


二進制
public/element-theme/cyan/fonts/element-icons.ttf


二進制
public/element-theme/cyan/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/cyan/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/default/aui.css


二進制
public/element-theme/default/fonts/element-icons.ttf


二進制
public/element-theme/default/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/default/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/gray/aui.css


二進制
public/element-theme/gray/fonts/element-icons.ttf


二進制
public/element-theme/gray/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/gray/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/green/aui.css


二進制
public/element-theme/green/fonts/element-icons.ttf


二進制
public/element-theme/green/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/green/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/indigo/aui.css


二進制
public/element-theme/indigo/fonts/element-icons.ttf


二進制
public/element-theme/indigo/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/indigo/index.css


File diff suppressed because it is too large
+ 1310 - 0
public/element-theme/lianchuang/aui.css


二進制
public/element-theme/lianchuang/fonts/element-icons.ttf


二進制
public/element-theme/lianchuang/fonts/element-icons.woff


File diff suppressed because it is too large
+ 12738 - 0
public/element-theme/lianchuang/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/orange/aui.css


二進制
public/element-theme/orange/fonts/element-icons.ttf


二進制
public/element-theme/orange/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/orange/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/pink/aui.css


二進制
public/element-theme/pink/fonts/element-icons.ttf


二進制
public/element-theme/pink/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/pink/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/purple/aui.css


二進制
public/element-theme/purple/fonts/element-icons.ttf


二進制
public/element-theme/purple/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/purple/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/red/aui.css


二進制
public/element-theme/red/fonts/element-icons.ttf


二進制
public/element-theme/red/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/red/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/turquoise/aui.css


二進制
public/element-theme/turquoise/fonts/element-icons.ttf


二進制
public/element-theme/turquoise/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/turquoise/index.css


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/yellow/aui.css


二進制
public/element-theme/yellow/fonts/element-icons.ttf


二進制
public/element-theme/yellow/fonts/element-icons.woff


File diff suppressed because it is too large
+ 1 - 0
public/element-theme/yellow/index.css


二進制
public/favicon.ico


二進制
public/favicon111.ico


+ 44 - 0
public/index-zw-realtime.html

@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html  style="overflow : hidden; ">
+<head>
+    <title>测绘局图接入</title>
+    <meta name="keywords" content="矢量瓦片,矢量索引">
+    <meta name="description" content="矢量瓦片">
+    <meta name="content-type" content="text/html; charset=UTF-8">
+    <meta name="viewport" content="width=device-width,target-densitydpi=high-dpi,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
+    <!-- <link rel="stylesheet" href="leaflet.css" />
+	<script src="leaflet-src.js"></script>
+	 <script src="CustomWebSDK.min.js"></script>
+	<script src="leaflet-omnivore.min.js"></script>
+    <script src="tileLayer.wmts.js"></script>
+	 <script src="tileLayer.wmts.realtime.js"></script>
+	 <script src="MovingMarker.js"></script>
+		<script src="realtime.js"></script> -->
+		
+	<!--script src="CustomWebSDK.min.js"></script-->
+	
+	<script>
+		window.SITE_CONFIG = {};
+		window.SITE_CONFIG['isMapOnProduct'] = true
+		// window.SITE_CONFIG['mapConfigName'] = 'mapConfig_4326'
+		// window.SITE_CONFIG['poihost'] = 'http://10.110.35.104:80/sgyztapi'
+	</script>
+	<script src="./libs/jquery-1.11.3.min.js"></script>
+	<script src="./map-easy-client/map-easy-insert.js" charset="utf-8" type="text/javascript"></script>
+</head>
+
+<body style="margin : 0; " onload="load()">
+<div id="map" class="map" style ="position:absolute;bottom:0px;top:0px;width:100%"></div>
+<span id="jwd" style="position:absolute;bottom:5px;left:100px;z-index: 1000;font-size: 12px;"></span>
+
+<script>
+	var map;
+	function load(){
+		map = window.initMap('map')
+		var layer = loadRealtimePOI();
+		map.addLayer(layer);
+	}
+</script>
+
+</body>
+</html>

+ 134 - 0
public/index.html

@@ -0,0 +1,134 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+  <meta charset="UTF-8">
+  <meta http-equiv="X-UA-Compatible" content="ie=edge">
+  <script src="./libs/d3.v4.min.js"></script>
+  <script src="./libs/d3.layout.cloud.js"></script>
+  <script src="./libs/jquery-1.11.3.min.js"></script>
+  <script src="./libs/commonArrayList.js"></script>
+  <script src="./libs/commonMap.js"></script>
+  <link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
+  <link rel="base_aui" href="./element-theme/blue/aui.css">
+  <script type="text/javascript" src="./kmedia/kmedia.js"></script>
+
+
+  <!-- 站点配置 -->
+  <script>
+    window.SITE_CONFIG = {};
+    window.SITE_CONFIG['isMapOnProduct'] = true
+    window.SITE_CONFIG['jsCookies'] = {}
+    window.SITE_CONFIG['version'] = 'v2.0.0';
+    window.SITE_CONFIG['nodeEnv'] = '<%= process.env.VUE_APP_NODE_ENV %>';
+    window.SITE_CONFIG['apiURL'] = '';                      // api请求地址
+    window.SITE_CONFIG['storeState'] = {};                  // vuex本地储存初始化状态(用于不刷新页面的情况下,也能重置初始化项目中所有状态)
+    window.SITE_CONFIG['contentTabDefault'] = {             // 内容标签页默认属性对象
+      'name': '',        // 名称, 由 this.$route.name 自动赋值(默认,名称 === 路由名称 === 路由路径)
+      'params': {},      // 参数, 由 this.$route.params 自动赋值
+      'query': {},       // 查询参数, 由 this.$route.query 自动赋值
+      'menuId': '',      // 菜单id(用于选中侧边栏菜单,与this.$store.state.sidebarMenuActiveName进行匹配)
+      // 'currentMenuItem': {},      // 当前选中一级菜单菜单
+      'title': '',       // 标题
+      'isTab': true,     // 是否通过tab展示内容?
+      'iframeURL': ''    // 是否通过iframe嵌套展示内容? (以http[s]://开头, 自动匹配)
+    };
+    window.SITE_CONFIG['menuList'] = [];                     // 左侧菜单列表(后台返回,未做处理)
+    window.SITE_CONFIG['permissions'] = [];                  // 页面按钮操作权限(后台返回,未做处理)
+    window.SITE_CONFIG['dynamicRoutes'] = [];                // 动态路由列表
+    window.SITE_CONFIG['dynamicMenuRoutes'] = [];            // 动态(菜单)路由列表
+    window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] = false; // 动态(菜单)路由是否已经添加的状态标示(用于判断是否需要重新拉取数据并进行动态添加操作)
+    window.SITE_CONFIG['isNavbar'] = true;// 是否展示navbar内容?
+    window.SITE_CONFIG['isSidebar'] = true;// 是否展示sidebar内容?
+  </script>
+
+  <!-- 开发环境 -->
+  <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %>
+    <script>
+      // window.SITE_CONFIG['apiURL'] = 'http://124.225.17.80:8120/sgyztapi';
+      // window.SITE_CONFIG['mapConfigName'] = 'mapConfig_3857'; // 高德地图
+      // window.SITE_CONFIG['poihost'] = 'http://124.225.17.80:8120/sgyztapi'; // 互联网接口地址
+      // window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc'; // 互联网船舶图层名
+      // window.SITE_CONFIG['apiURL'] = 'http://localhost:8200/sgyztapi';
+      window.SITE_CONFIG['lockURL'] = 'http://10.110.31.81/odae/clue/Anticipation/getLock'
+      window.SITE_CONFIG['fxypURL'] = 'http://10.110.31.81/#/clueJudge/clueAllocation'
+      // window.SITE_CONFIG['apiURL'] = 'http://127.0.0.1:8200/sgyztapi';
+      window.SITE_CONFIG['apiURL'] = 'http://10.110.35.104/sgyztapi';
+      window.SITE_CONFIG['mapConfigName'] = 'mapConfig_4326'; // 测绘局地图
+      // window.SITE_CONFIG['poihost'] = 'http://localhost:8082'; // 政务外网接口地址
+      window.SITE_CONFIG['poihost'] = 'http://10.110.35.104'; // 政务外网接口地址
+      window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc_ss,zt_cbzt_hc_ss,zt_cbzt_yc_ss,zt_cbzt_qt_ss,zt_cbzt_ld_ss,zt_cbzt_sw_ss,zt_cbzt_wz_ss,zt_cbzt_gz_ss,zt_cbzt_tc_ss,zt_cbzt_yhc_ss,zt_cbzt_gc_ss'; // 政务外网船舶图层名
+      window.SITE_CONFIG['carListName'] = 'zt_clzt_gps_ss,zt_clzt_gps_gj'; // 政务外网车辆图层名
+      window.SITE_CONFIG['mainLoginPage'] = 'http://10.110.35.47:80/#/login'; // 总平台登陆页面
+      window.SITE_CONFIG['tuliUrl'] = 'http://10.110.35.104/api/poi/allPOILayerImgInfo'; // 图例接口
+
+      // window.SITE_CONFIG['apiURL'] = 'http://10.110.37.15:31420/sgyztapi'; // 本地测试环境
+      // window.SITE_CONFIG['apiURL'] = 'http://59.212.10.39:8200/sgyztapi'; // 本地测试环境
+      // window.SITE_CONFIG['mapConfigName'] = 'mapConfig_4326'; // 测绘局地图
+      // window.SITE_CONFIG['poihost'] = 'http://10.110.35.104:80/sgyztapi'; // 互联网接口地址
+      // window.SITE_CONFIG['shipListName'] = 'zt_cbzt_sw_ss,zt_cbzt_zc_ss'; // 互联网船舶图层名
+      window.SITE_CONFIG['lssListName'] = 'zt_lsszt_ss,zt_lsszt_gj'; // 政务外网低慢小图层名
+      window.SITE_CONFIG['wgyListName'] = 'cz_czlltc_wgy';
+      window.SITE_CONFIG['lssName'] = 'zt_lsszt_ss'; // 政务外网低慢小图层名
+      window.SITE_CONFIG['wgyName'] = 'cz_czlltc_wgy'; // 政务外网网格员图层名
+      window.SITE_CONFIG['routeUrl'] = 'http://59.212.37.22:80/ime-cloud/rest/route/plan'; // 政务外网-测绘局路线规划地址
+      window.SITE_CONFIG['jingqing'] = 'xs_dmxjcyj,xs_cydtjkyj,xs_znydwxdyc,xs_axtxsbbdyj,xs_czfwfxfx,xs_ryjcyj,xs_jrfxpg,xs_zdsxwdfxpgmx,xs_wghjxpjmx,xs_shwdzsfxmx,xs_sjflgfsqgzmx,xs_dspyqcjfxxt,xs_qmcj,xs_ymlrydr,xs_appsb,xs_ptlz,xs_cljcyj,xs_ssp,xs_cb_cbyj'; // 警情图层名
+    </script>
+    <% } %>
+      <!-- 集成测试环境 -->
+      <% if (process.env.VUE_APP_NODE_ENV==='prod:sit' ) { %>
+        <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.12.225:31904';</script>
+        <% } %>
+          <!-- 验收测试环境 -->
+          <% if (process.env.VUE_APP_NODE_ENV==='prod:uat' ) { %>
+            <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.12.225:31904';</script>
+            <% } %>
+              <!-- 江东测试环境 -->
+              <% if (process.env.VUE_APP_NODE_ENV==='prod:jd' ) { %>
+                <script>
+                  window.SITE_CONFIG['apiURL'] = 'http://124.225.17.80:8120/sgyztapi';
+                  window.SITE_CONFIG['lockURL'] = 'http://10.110.31.81/odae/clue/Anticipation/getLock'
+                  window.SITE_CONFIG['fxypURL'] = 'http://10.110.31.81/#/clueJudge/clueAllocation'
+                  window.SITE_CONFIG['mapConfigName'] = 'mapConfig_3857';
+                  window.SITE_CONFIG['poihost'] = 'http://124.225.17.80:8120/sgyztapi';
+                  window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc';
+                  window.SITE_CONFIG['carListName'] = 'zt_clzt_gps_ss';
+                  window.SITE_CONFIG['lssListName'] = 'zt_lsszt_ss';
+                  window.SITE_CONFIG['wgyListName'] = 'cz_czlltc_wgy';
+                  window.SITE_CONFIG['lssName'] = 'zt_lsszt_ss';
+                  window.SITE_CONFIG['wgyName'] = 'cz_czlltc_wgy'; // 政务外网网格员图层名
+                  window.SITE_CONFIG['jingqing'] = 'xs_dmxjcyj,xs_cydtjkyj,xs_znydwxdyc,xs_axtxsbbdyj,xs_czfwfxfx,xs_ryjcyj,xs_jrfxpg,xs_zdsxwdfxpgmx,xs_wghjxpjmx,xs_shwdzsfxmx,xs_sjflgfsqgzmx,xs_dspyqcjfxxt,xs_qmcj,xs_ymlrydr,xs_appsb,xs_ptlz,xs_cljcyj,xs_ssp,xs_cb_cbyj'; // 警情图层名
+    // window.SITE_CONFIG['mapLoadUrl'] = 'http://124.225.17.80:8115/dist/'
+                </script>
+                <% } %>
+                  <!-- 生产环境 -->
+                  <% if (process.env.VUE_APP_NODE_ENV==='prod' ) { %>
+                    <script>
+                      window.SITE_CONFIG['apiURL'] = 'http://10.110.35.104:80/sgyztapi';
+                      window.SITE_CONFIG['lockURL'] = 'http://10.110.31.81/odae/clue/Anticipation/getLock'
+                      window.SITE_CONFIG['fxypURL'] = 'http://10.110.31.81/#/clueJudge/clueAllocation'
+                      window.SITE_CONFIG['mapConfigName'] = 'mapConfig_4326';
+                      window.SITE_CONFIG['poihost'] = 'http://10.110.35.104:80';
+                      // window.SITE_CONFIG['poihost'] = 'http://10.110.35.104:80/sgyztapi';
+                      window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc_ss,zt_cbzt_hc_ss,zt_cbzt_yc_ss,zt_cbzt_qt_ss,zt_cbzt_ld_ss,zt_cbzt_sw_ss,zt_cbzt_wz_ss,zt_cbzt_gz_ss,zt_cbzt_tc_ss,zt_cbzt_yhc_ss,zt_cbzt_gc_ss';
+                      window.SITE_CONFIG['carListName'] = 'zt_clzt_gps_ss,zt_clzt_gps_gj';
+                      window.SITE_CONFIG['lssListName'] = 'zt_lsszt_ss,zt_lsszt_gj';
+                      window.SITE_CONFIG['wgyListName'] = 'cz_czlltc_wgy';
+                      window.SITE_CONFIG['lssName'] = 'zt_lsszt_ss';
+                      window.SITE_CONFIG['wgyName'] = 'cz_czlltc_wgy'; // 政务外网网格员图层名
+                      window.SITE_CONFIG['jingqing'] = 'xs_dmxjcyj,xs_cydtjkyj,xs_znydwxdyc,xs_axtxsbbdyj,xs_czfwfxfx,xs_ry_ryyj,xs_jrfxpg,xs_zdsxwdfxpgmx,xs_wghjxpjmx,xs_shwdzsfxmx,xs_sjflgfsqgzmx,xs_dspyqcjfxxt,xs_qmcj,xs_ymlrydr,xs_appsb,xs_ptlz,xs_cl_clyj,xs_ssp,xs_cb_cbyj'; // 警情图层名
+                      window.SITE_CONFIG['routeUrl'] = 'http://59.212.37.22:80/ime-cloud/rest/route/plan'; // 政务外网-测绘局路线规划地址
+                      window.SITE_CONFIG['mainLoginPage'] = 'http://10.110.35.47:80/#/login'; // 政务外网测试地址
+                      // window.SITE_CONFIG['mapLoadUrl'] = 'http://10.110.35.104/dist/';
+                      window.SITE_CONFIG['tuliUrl'] = 'http://10.110.35.104/api/poi/allPOILayerImgInfo'; // 图例接口
+                    </script>
+                    <% } %>
+                      <script src="./map-easy-client/map-easy-insert.js" charset="utf-8"
+                        type="text/javascript"></script>
+</head>
+
+<body>
+  <div id="app"></div>
+</body>
+
+</html>

File diff suppressed because it is too large
+ 178 - 0
public/kmedia/kmedia.js


二進制
public/kmedia/yuanpan.png


File diff suppressed because it is too large
+ 2 - 0
public/layui/css/layui.css


File diff suppressed because it is too large
+ 2 - 0
public/layui/css/layui.mobile.css


File diff suppressed because it is too large
+ 2 - 0
public/layui/css/modules/code.css


File diff suppressed because it is too large
+ 2 - 0
public/layui/css/modules/laydate/default/laydate.css


二進制
public/layui/css/modules/layer/default/icon-ext.png


二進制
public/layui/css/modules/layer/default/icon.png


File diff suppressed because it is too large
+ 2 - 0
public/layui/css/modules/layer/default/layer.css


二進制
public/layui/css/modules/layer/default/loading-0.gif


二進制
public/layui/css/modules/layer/default/loading-1.gif


二進制
public/layui/css/modules/layer/default/loading-2.gif


二進制
public/layui/font/iconfont.eot


File diff suppressed because it is too large
+ 554 - 0
public/layui/font/iconfont.svg


二進制
public/layui/font/iconfont.ttf


二進制
public/layui/font/iconfont.woff


二進制
public/layui/font/iconfont.woff2


二進制
public/layui/images/face/0.gif


二進制
public/layui/images/face/1.gif


二進制
public/layui/images/face/10.gif


二進制
public/layui/images/face/11.gif


+ 0 - 0
public/layui/images/face/12.gif


Some files were not shown because too many files changed in this diff