7 files modified
1 files added
| | |
| | | <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, |
| | |
| | | * 全局配置文件 |
| | | */ |
| | | export default { |
| | | title: "群防群控后台管理系统", |
| | | title: "警群联控后台管理系统", |
| | | logo: "S", |
| | | key: '群防群控后台管理系统',//配置主键,目前用于存储 |
| | | indexTitle: '群防群控后台管理系统', |
| | | key: '警群联控后台管理系统',//配置主键,目前用于存储 |
| | | indexTitle: '警群联控后台管理系统', |
| | | clientId: 'saber', // 客户端id |
| | | clientSecret: 'saber_secret', // 客户端密钥 |
| | | tenantMode: true, // 是否开启租户模式 |
| | |
| | | export default { |
| | | tip: '提示', |
| | | title: '群防群控后台管理系统', |
| | | title: '警群联控后台管理系统', |
| | | logoutTip: '退出系统, 是否继续?', |
| | | submitText: '确定', |
| | | cancelText: '取消', |
| | |
| | | test: '测试页面' |
| | | }, |
| | | login: { |
| | | title: '群防群控后台管理系统 ', |
| | | info: '群防群控后台管理系统', |
| | | title: '警群联控后台管理系统 ', |
| | | info: '警群联控后台管理系统', |
| | | tenantId: '请输入租户ID', |
| | | username: '请输入账号', |
| | | password: '请输入密码', |
| | |
| | | }, |
| | | }).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) { |
| | |
| | | } |
| | | 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); |
| | |
| | | Recorder.getPermission().then(() => {}); |
| | | this.videoConversationReal = true; |
| | | var userId = JSON.parse( |
| | | window.localStorage.getItem("群防群控后台管理系统-userInfo") |
| | | window.localStorage.getItem("警群联控后台管理系统-userInfo") |
| | | ).content.user_id; |
| | | newAxios |
| | | .post( |
| | |
| | | <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"> |
| | |
| | | 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 != ""){ |
| | |
| | | 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) { |
| | |
| | | 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") { |
| New file |
| | |
| | | /* |
| | | * @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': '/' |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }; |