@ -1,43 +1,39 @@
|
||||
{
|
||||
"name": "intelligent",
|
||||
"name": "sheyang_coastal_system",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"dev": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@liveqing/liveplayer": "^2.6.9",
|
||||
"axios": "^1.6.0",
|
||||
"copy-webpack-plugin": "^4.6.0",
|
||||
"core-js": "^3.8.3",
|
||||
"vue": "^2.6.14"
|
||||
"echarts": "^5.4.3",
|
||||
"element-ui": "^2.15.14",
|
||||
"js-cookie": "^3.0.5",
|
||||
"vue": "^2.6.14",
|
||||
"vue-router": "^3.5.1",
|
||||
"vuex": "^3.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.16",
|
||||
"@babel/eslint-parser": "^7.12.16",
|
||||
"@vue/cli-plugin-babel": "~5.0.0",
|
||||
"@vue/cli-plugin-eslint": "~5.0.0",
|
||||
"@vue/cli-plugin-router": "~5.0.0",
|
||||
"@vue/cli-plugin-vuex": "~5.0.0",
|
||||
"@vue/cli-service": "~5.0.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-vue": "^8.0.3",
|
||||
"prettier": "^2.4.1",
|
||||
"sass": "^1.32.7",
|
||||
"sass-loader": "^12.0.0",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"plugin:vue/essential",
|
||||
"eslint:recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
"parser": "@babel/eslint-parser"
|
||||
},
|
||||
"rules": {}
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions",
|
||||
"not dead"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.2 KiB |
@ -1,17 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
<script type="text/javascript" src="<%= BASE_URL %>js/liveplayer-lib.min.js"></script>
|
||||
<!-- 引入MineMap API插件 -->
|
||||
<link rel="stylesheet" href="http://50.144.11.244:21009/support/static/api/demo/js-api/zh/css/demo.css">
|
||||
<link rel="stylesheet" href="http://50.144.11.244:21009/minemapapi/v2.1.0/minemap.css">
|
||||
<script src="http://50.144.11.244:21009/minemapapi/v2.1.0/minemap.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||
Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,28 +1,27 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<img alt="Vue logo" src="./assets/logo.png">
|
||||
<HelloWorld msg="Welcome to Your Vue.js App"/>
|
||||
<!-- <img alt="Vue logo" src="./assets/logo.png">
|
||||
<HelloWorld msg="Welcome to Your Vue.js App"/> -->
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import HelloWorld from './components/HelloWorld.vue'
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
HelloWorld
|
||||
}
|
||||
}
|
||||
name: "App",
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style lang="scss">
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#app {
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
color: #2c3e50;
|
||||
margin-top: 60px;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
|
@ -0,0 +1,36 @@
|
||||
import http from '@/utils/http'
|
||||
|
||||
// * 获取实有地址
|
||||
/**
|
||||
*
|
||||
* @param {*} params 实有地址分页参数
|
||||
* @returns 服务器响应数据
|
||||
*/
|
||||
export const getRealAddressAPI = (params) => {
|
||||
return http.get('/sheyang/page', { params })
|
||||
}
|
||||
|
||||
// * 获取人口
|
||||
export const getPeopleAPI = (params) => {
|
||||
return http.get(`/sheyang/rkdz`, { params })
|
||||
}
|
||||
|
||||
// * 获取单位
|
||||
export const getUnitsAPI = (params) => {
|
||||
return http.get(`/sheyang/dwdz`, { params })
|
||||
}
|
||||
|
||||
// * 获取接警地信息
|
||||
export const getAlarmAddressAPI = (params) => {
|
||||
return http.get('JJxx/page', { params })
|
||||
}
|
||||
|
||||
// * 根据接警编号获取接警信息
|
||||
export const getAlarmInfoAPI = (params) => {
|
||||
return http.get('JJxx/jjdbh', { params })
|
||||
}
|
||||
|
||||
// * 获取感知设备
|
||||
export const getPerceptionDeviceAPI = (params) => {
|
||||
return http.get('sheBei/page', { params })
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
// 资源概况
|
||||
import request from '@/utils/request'
|
||||
// 实有人口查询
|
||||
export function get_person_num(params) {
|
||||
return request({
|
||||
url: '/base/metaActualUserInfo',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
//
|
||||
export function getData(params){
|
||||
return request({
|
||||
url:'/base/metaHandleAlarmInfo',
|
||||
method:'get',
|
||||
params
|
||||
})
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
// 查询在控人员数据
|
||||
export function get_list(params) {
|
||||
return request({
|
||||
url:'/sheyang/gambler',
|
||||
method:'get',
|
||||
params
|
||||
})
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
import request from '../utils/request'
|
||||
import { getToken } from '@/utils/token'
|
||||
import axios from 'axios'
|
||||
|
||||
const token = getToken()
|
||||
|
||||
// * 登录接口获取 token
|
||||
export const login = () => {
|
||||
return request.get('/api/v1/login', {
|
||||
params: {
|
||||
username: 'admin',
|
||||
password: 'AF7548EEDFF8e737C0E4B2A669497290',
|
||||
url_token_only: true
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// * 获取设备信息列表
|
||||
export const getDeviceListAPI = (params) => {
|
||||
return request.get(
|
||||
`/api/v1/device/channellist?start=${params.start}&limit=${params.limit}&online=${params.online}&token=${token}`
|
||||
)
|
||||
}
|
||||
|
||||
// * 获取视频列表
|
||||
export const getVideoListAPI = (channel) => {
|
||||
return request.get(
|
||||
`/api/v1/stream/start?serial=${'32092400002005063063'}&channel=${channel}&timeout=${500}&check_channel_status=${true}&token=${token}`
|
||||
)
|
||||
}
|
||||
|
||||
// * 退出登录
|
||||
export const logoutAPI = () => {
|
||||
return request.get('/api/v1/logout')
|
||||
}
|
||||
|
||||
// * 关闭视频流
|
||||
export const getCloseVideoAPI = (channel) => {
|
||||
return request.get(
|
||||
`/api/v1/stream/stop?serial=${'32092400002005063063'}&channel=${channel}&token=${token}`
|
||||
)
|
||||
}
|
||||
|
||||
// * gbs数据发送
|
||||
export const postGbsDataAPI = (data) => {
|
||||
return axios.post('http://50.146.63.43:12000/live', data)
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
// 查询所有菜单内容
|
||||
export function get_menu(params) {
|
||||
return request({
|
||||
url:'/system/menu/list',
|
||||
method:'get',
|
||||
params
|
||||
})
|
||||
}
|
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 133 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 250 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 2.7 MiB |
After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 367 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 312 KiB |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 620 B |
After Width: | Height: | Size: 170 B |
After Width: | Height: | Size: 259 B |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 417 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 299 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 206 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 173 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 217 KiB |
After Width: | Height: | Size: 254 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 176 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 6.9 KiB |