zengh
2021-06-05 0e9f194f809ba734f4dddd70d71ff83f0776a6c6
公安版本前端初版
8 files modified
42 ■■■■ 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/page/index/top/index.vue 10 ●●●● patch | view | raw | blame | history
src/page/login/index.vue 2 ●●● patch | view | raw | blame | history
src/router/views/index.js 4 ●●●● patch | view | raw | blame | history
src/views/dataL/homeL.vue 6 ●●●● 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/page/index/top/index.vue
@@ -23,11 +23,11 @@
        <!--      </span>-->
      </div>
      <div class="top-bar__right">
        <img
          src="/img/ydlogo.png"
          style="height: 44px; vertical-align: middle"
          alt=""
        />
<!--        <img-->
<!--          src="/img/ydlogo.png"-->
<!--          style="height: 44px; vertical-align: middle"-->
<!--          alt=""-->
<!--        />-->
        <el-tooltip
          v-if="showColor"
          effect="dark"
src/page/login/index.vue
@@ -19,7 +19,7 @@
            {{ $t('login.title') }}
            <!--            <top-lang></top-lang>-->
          </h4>
          <h4 class="login-title-child">IoT security cloud service platform</h4>
<!--          <h4 class="login-title-child">IoT security cloud service platform</h4>-->
          <userLogin></userLogin>
          <!-- <codeLogin v-else-if="activeName==='code'"></codeLogin>-->
          <!--    <thirdLogin v-else-if="activeName==='third'"></thirdLogin>-->
src/router/views/index.js
@@ -11,7 +11,7 @@
            i18n: 'dashboard'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/dataL/homeL')
            import( /* webpackChunkName: "views" */ '@/views/home/home')
    }]
},
@@ -434,4 +434,4 @@
]
]
src/views/dataL/homeL.vue
@@ -1,8 +1,8 @@
<template>
  <div id="homeL">
    <div class="homeL-up">
      <span class="h1">物联网安保云服务平台</span>
      <span class="h2">IoT security cloud service platform</span>
      <span class="h1">警群联控后台管理系统</span>
<!--      <span class="h2">IoT security cloud service platform</span>-->
    </div>
    <div class="homeL-bar">
      <div class="outS" @click="down1">
@@ -146,4 +146,4 @@
    }
  }
}
</style>
</style>