Add the latest frontend reference code
@ -1,15 +0,0 @@
|
||||
{
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"modules": false,
|
||||
"targets": {
|
||||
"browsers": ["> 1%", "last 2 versions", "ie >= 10"]
|
||||
}
|
||||
}
|
||||
],
|
||||
"@vue/cli-plugin-babel/preset"
|
||||
],
|
||||
"plugins": ["@babel/plugin-transform-runtime"]
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
> 1%
|
||||
last 2 versions
|
||||
@ -1,12 +0,0 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
@ -1,6 +0,0 @@
|
||||
/lib/
|
||||
/libs/
|
||||
/web/
|
||||
/pack/
|
||||
/dist/
|
||||
pages/
|
||||
@ -1,39 +0,0 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
extends: ['plugin:vue/essential', '@vue/prettier'],
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'global-require': 0,
|
||||
//强制使用单引号
|
||||
quotes: ['error', 'single'],
|
||||
indent: 0,
|
||||
'no-new': 0,
|
||||
camelcase: 0,
|
||||
'padded-blocks': 0,
|
||||
'no-unused-vars': 0,
|
||||
'no-trailing-spaces': 0,
|
||||
'no-mixed-spaces-and-tabs': 0,
|
||||
'space-before-function-paren': [0, 'always'],
|
||||
'no-multiple-empty-lines': 0
|
||||
},
|
||||
globals: {
|
||||
__SERVICE_URL__: false,
|
||||
Vue: false,
|
||||
Vuex: false,
|
||||
VueRouter: false,
|
||||
Fetch: false,
|
||||
Hub: false,
|
||||
echarts: false,
|
||||
axios: false,
|
||||
Cesium: false,
|
||||
DC: false,
|
||||
'%=': false
|
||||
},
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint'
|
||||
}
|
||||
}
|
||||
22
frontend/.gitignore
vendored
@ -1,22 +0,0 @@
|
||||
node_modules/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
web/
|
||||
pack/
|
||||
/dist/
|
||||
.VSCodeCounter/
|
||||
# Editor directories and files
|
||||
/*.zip
|
||||
/*.rar
|
||||
!public.zip
|
||||
!node_modules.zip
|
||||
.idea
|
||||
.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
package-lock.json
|
||||
.DS_Store
|
||||
.history
|
||||
/*.lock
|
||||
@ -1,5 +0,0 @@
|
||||
{
|
||||
"eslintIntegration": true,
|
||||
"singleQuote": true,
|
||||
"semi": false
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
# 乐智行
|
||||
@ -1,11 +0,0 @@
|
||||
const prodPlugins = []
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
prodPlugins.push('transform-remove-console')
|
||||
}
|
||||
module.exports = {
|
||||
presets: [[
|
||||
"@babel/preset-env",
|
||||
{ targets: "> 1% in AU and not dead", shippedProposals: true },
|
||||
],'@vue/cli-plugin-babel/preset'],
|
||||
plugins:[...prodPlugins]
|
||||
}
|
||||
BIN
frontend/dt-lzx-dev.zip
Normal file
@ -1,60 +0,0 @@
|
||||
{
|
||||
"name": "dt-vue",
|
||||
"version": "0.1.0",
|
||||
"repository": "https://github.com/dvgis/vue-dc.git",
|
||||
"keywords": [
|
||||
"3D",
|
||||
"webgl",
|
||||
"map",
|
||||
"globe",
|
||||
"cesium",
|
||||
"dt-sdk",
|
||||
"vue"
|
||||
],
|
||||
"scripts": {
|
||||
"serve": "cross-env NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@turf/turf": "^7.1.0",
|
||||
"axios": "^0.21.1",
|
||||
"core-js": "^3.6.4",
|
||||
"dt-sdk": "^0.1.0",
|
||||
"element-ui": "^2.15.6",
|
||||
"js-cookie": "^2.2.1",
|
||||
"js-md5": "^0.7.3",
|
||||
"loadsh": "^0.0.4",
|
||||
"moment": "^2.29.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"remixicon": "^4.6.0",
|
||||
"screenfull": "^5.2.0",
|
||||
"sockjs-client": "^1.5.1",
|
||||
"stompjs": "^2.3.3",
|
||||
"vue": "^2.6.11",
|
||||
"vue-router": "^3.1.5",
|
||||
"vuex": "^3.1.2",
|
||||
"vuex-persistedstate": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "~4.4.0",
|
||||
"@vue/cli-plugin-eslint": "~4.4.0",
|
||||
"@vue/cli-plugin-router": "~4.4.0",
|
||||
"@vue/cli-plugin-vuex": "~4.4.0",
|
||||
"@vue/cli-service": "~4.4.0",
|
||||
"@vue/eslint-config-prettier": "^6.0.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"compression-webpack-plugin": "^6.1.1",
|
||||
"copy-webpack-plugin": "^5.0.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-plugin-prettier": "^3.1.1",
|
||||
"eslint-plugin-vue": "^5.0.0",
|
||||
"postcss-pxtorem": "^5.1.1",
|
||||
"prettier": "^1.19.1",
|
||||
"sass": "~1.29.0",
|
||||
"sass-loader": "^9.0.1",
|
||||
"svg-sprite-loader": "^5.0.0",
|
||||
"url-loader": "^4.1.0"
|
||||
}
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
autoprefixer: {}
|
||||
}
|
||||
}
|
||||
@ -1,15 +0,0 @@
|
||||
window.config = {
|
||||
env: 'offline', //online
|
||||
api: 'http://127.0.0.1:9116/', // 外网服务器,
|
||||
// socket: 'http://127.0.0.1:9116', 外网服务器,
|
||||
imagePath: 'http://192.168.112.181:9000/files',
|
||||
arithmeticPath: 'http://127.0.0.1:18090/ktkx/UavPlanning/SAR',
|
||||
tokenKey: 'accessToken',
|
||||
refreshTokenKey: 'refreshToken',
|
||||
loginUrl: 'http://192.168.99.57:8080',
|
||||
arcgisUrl: 'http://61.48.133.44:14001/map/arcgisMap',
|
||||
minMapLevel: 1,
|
||||
maxMapLevel: 16,
|
||||
defaultLocation: [115.91531500114789, 40.35940233391189],
|
||||
tdtToken: '316ac2812387c2cbff7a6f2f4e7f5bdc'
|
||||
}
|
||||
@ -1,39 +0,0 @@
|
||||
{
|
||||
"asset": {
|
||||
"version": "1.0"
|
||||
},
|
||||
"geometricError": 17.32,
|
||||
"root": {
|
||||
"transform": [
|
||||
0.968635634376879,
|
||||
0.24848542777253735,
|
||||
0,
|
||||
0,
|
||||
-0.15986460794399626,
|
||||
0.6231776137472074,
|
||||
0.7655670897127491,
|
||||
0,
|
||||
0.190232265775849,
|
||||
-0.7415555636019701,
|
||||
0.6433560687121489,
|
||||
0,
|
||||
1215012.8828876738,
|
||||
-4736313.051199594,
|
||||
4081605.22126042,
|
||||
1
|
||||
],
|
||||
"refine": "ADD",
|
||||
"boundingVolume": {
|
||||
"sphere": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
5
|
||||
]
|
||||
},
|
||||
"geometricError": 0,
|
||||
"content": {
|
||||
"uri": "test.pnts"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 390 B |
|
Before Width: | Height: | Size: 466 B |
|
Before Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 199 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 50 KiB |
@ -1,26 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="dark">
|
||||
|
||||
<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.png" />
|
||||
<link href="static/css/superTimeline.css" type="text/css" rel="stylesheet"></link>
|
||||
<script src="./config.js"></script>
|
||||
<!--title>灵动孪生智控系统</title-->
|
||||
<title>SkyEye Sysetem</title>
|
||||
<!-- <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>
|
||||
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 45 KiB |