ce4d4090466d95343c09546f7368ded7d336b7d7..1e944c8a804ef62122920b2838a9b76837bb7faf
2021-06-19 zengh
名称修改
1e944c diff | tree
2021-06-19 zengh
逻辑修改
b8f436 diff | tree
7 files modified
1 files added
78 ■■■■ changed files
public/index.html 2 ●●● patch | view | raw | blame | history
src/config/website.js 6 ●●●● patch | view | raw | blame | history
src/lang/zh.js 6 ●●●● patch | view | raw | blame | history
src/page/index/logo.vue 6 ●●●● patch | view | raw | blame | history
src/views/dataL/homeL.vue 2 ●●● patch | view | raw | blame | history
src/views/policeTracking/policeTracking.vue 2 ●●● patch | view | raw | blame | history
src/views/realTimePolice/real.vue 4 ●●●● patch | view | raw | blame | history
vue.config.js 50 ●●●●● patch | view | raw | blame | history
public/index.html
@@ -19,7 +19,7 @@
  <script type="text/javascript" src='https://webapi.amap.com/maps?v=1.4.11&key=7ab53b28352e55dc5754699add0ad862&plugin=AMap.PlaceSearch'></script>
  <script src="https://webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>
  <link rel="icon" href="img/1.jpg">
  <title>群防群控后台管理系统</title>
  <title>警群联控后台管理系统</title>
  <style>
    html,
    body,
src/config/website.js
@@ -2,10 +2,10 @@
 * 全局配置文件
 */
export default {
  title: "群防群控后台管理系统",
  title: "警群联控后台管理系统",
  logo: "S",
  key: '群防群控后台管理系统',//配置主键,目前用于存储
  indexTitle: '群防群控后台管理系统',
  key: '警群联控后台管理系统',//配置主键,目前用于存储
  indexTitle: '警群联控后台管理系统',
  clientId: 'saber', // 客户端id
  clientSecret: 'saber_secret', // 客户端密钥
  tenantMode: true, // 是否开启租户模式
src/lang/zh.js
@@ -1,6 +1,6 @@
export default {
  tip: '提示',
  title: '群防群控后台管理系统',
  title: '警群联控后台管理系统',
  logoutTip: '退出系统, 是否继续?',
  submitText: '确定',
  cancelText: '取消',
@@ -66,8 +66,8 @@
    test: '测试页面'
  },
  login: {
    title: '群防群控后台管理系统 ',
    info: '群防群控后台管理系统',
    title: '警群联控后台管理系统 ',
    info: '警群联控后台管理系统',
    tenantId: '请输入租户ID',
    username: '请输入账号',
    password: '请输入密码',
src/page/index/logo.vue
@@ -364,7 +364,7 @@
        },
      }).then(function (response) {
        var userId = JSON.parse(
          window.localStorage.getItem("群防群控后台管理系统-userInfo")
          window.localStorage.getItem("警群联控后台管理系统-userInfo")
        ).content.user_id;
        if (response.data.data.records.length > 0) {
@@ -822,7 +822,7 @@
        }
        if (window.socket.readyState == WebSocket.OPEN) {
          var userId = JSON.parse(
            window.localStorage.getItem("群防群控后台管理系统-userInfo")
            window.localStorage.getItem("警群联控后台管理系统-userInfo")
          ).content.user_id;
          window.socket.send(userId);
@@ -852,7 +852,7 @@
      Recorder.getPermission().then(() => {});
      this.videoConversationReal = true;
      var userId = JSON.parse(
        window.localStorage.getItem("群防群控后台管理系统-userInfo")
        window.localStorage.getItem("警群联控后台管理系统-userInfo")
      ).content.user_id;
      newAxios
        .post(
src/views/dataL/homeL.vue
@@ -1,7 +1,7 @@
<template>
  <div id="homeL">
    <div class="homeL-up">
      <span class="h1">群防群控后台管理系统</span>
      <span class="h1">警群联控后台管理系统</span>
<!--      <span class="h2">IoT security cloud service platform</span>-->
    </div>
    <div class="homeL-bar">
src/views/policeTracking/policeTracking.vue
@@ -550,7 +550,7 @@
        var that = this;
        var userId = JSON.parse(
          window.localStorage.getItem("群防群控后台管理系统-userInfo")
          window.localStorage.getItem("警群联控后台管理系统-userInfo")
        ).content.real_name;
        if (that.form.securityArr != null && that.form.securityArr != ""){
src/views/realTimePolice/real.vue
@@ -473,7 +473,7 @@
          row.securityArr = security.substring(0, security.length - 1);
        }
        var userId = JSON.parse(
          window.localStorage.getItem("群防群控后台管理系统-userInfo")
          window.localStorage.getItem("警群联控后台管理系统-userInfo")
        ).content.real_name;
        if (row.securityArr == "" || row.securityArr == null) {
@@ -502,7 +502,7 @@
      rowUpdate(row, index, done, loading) {
        var userId = JSON.parse(
          window.localStorage.getItem("群防群控后台管理系统-userInfo")
          window.localStorage.getItem("警群联控后台管理系统-userInfo")
        ).content.real_name;
        if (typeof row.securityArr != "string") {
vue.config.js
New file
@@ -0,0 +1,50 @@
/*
 * @Descripttion:
 * @version:
 * @Author: song
 * @Date: 2021-01-26 08:56:34
 * @LastEditors: song
 * @LastEditTime: 2021-01-29 15:58:39
 */
module.exports = {
  //路径前缀
  publicPath: "./",
  lintOnSave: true,
  productionSourceMap: false,
  chainWebpack: (config) => {
    //忽略的打包文件
    config.externals({
      'vue': 'Vue',
      'vue-router': 'VueRouter',
      'vuex': 'Vuex',
      'axios': 'axios',
      'element-ui': 'ELEMENT',
    });
    const entry = config.entry('app');
    entry.add('babel-polyfill').end();
    entry.add('classlist-polyfill').end();
    entry.add('@/mock').end();
  },
  css: {
    extract: {
      ignoreOrder: true
    }
  },
  //开发模式反向代理配置,生产模式请使用Nginx部署并配置反向代理
  devServer: {
    port: 1888,
    proxy: {
      '/api': {
        //本地服务接口地址
        target: 'http://192.168.0.105:82/',
        //target: 'https://web.byisf.com/api/',
        //远程演示服务地址,可用于直接启动项目
        //target: 'https://saber.bladex.vip/api',
        ws: true,
        pathRewrite: {
          '^/api': '/'
        }
      }
    }
  }
};