Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kimber
ZiBoYingJI
Commits
a2fc9bb9
Commit
a2fc9bb9
authored
Nov 21, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amap key更换
parent
a321d892
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
49 additions
and
16 deletions
+49
-16
.env.production
.env.production
+3
-3
env.html
public/datav/env.html
+5
-1
index.html
public/datav/index.html
+8
-2
maps-MouseTool.js
public/datav/js/maps-MouseTool.js
+1
-1
maps.js
public/datav/js/maps.js
+1
-1
natural.html
public/datav/natural.html
+9
-1
open-air.html
public/datav/open-air.html
+5
-1
tailings.html
public/datav/tailings.html
+5
-1
watersource.html
public/datav/watersource.html
+8
-1
index.html
public/index.html
+1
-1
AMapSearchPoint.vue
src/components/AMap/AMapSearchPoint.vue
+1
-1
AMapSearchPointAdd.vue
src/components/AMap/AMapSearchPointAdd.vue
+1
-1
home4Enterprise.vue
src/views/home4Enterprise.vue
+1
-1
No files found.
.env.production
View file @
a2fc9bb9
...
...
@@ -4,14 +4,14 @@ ENV = 'production'
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
# 如果接口是 http 形式, wss 需要改为 ws
# VUE_APP_BASE_API = 'http://
218.56.105.134
:8057'
# VUE_APP_BASE_API = 'http://
192.168.13.200
:8057'
VUE_APP_BASE_API = 'http://218.56.105.134:8057'
# ------------------------
# VUE_APP_LOCAL_API = 'http://
218.56.105.134
:8013'
# VUE_APP_LOCAL_API = 'http://
192.168.13.200
:8013'
VUE_APP_LOCAL_API = 'http://218.56.105.134:8013'
...
...
public/datav/env.html
View file @
a2fc9bb9
...
...
@@ -734,12 +734,16 @@
<!-- cookie -->
<script
src=
"js/js.cookie.js"
></script>
<script>
<<<<<<<
Updated
upstream
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
=======
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
>>>>>>>
Stashed
changes
// 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '218.56.105.134') + ':8013';
const
selfHost
=
location
.
hostname
===
'
192.168.
3.38
'
?
'
http://192.168.3.38
:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
const
selfHost
=
location
.
hostname
===
'
192.168.
2.11
'
?
'
http://192.168.2.11
:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
const
token
=
Cookies
.
get
(
'
ELADMIN-TOEKN
'
);
axios
=
axios
.
create
({
...
...
public/datav/index.html
View file @
a2fc9bb9
...
...
@@ -875,7 +875,6 @@
</div>
</div>
</body>
<script
src=
"/static/js/qf_web_ui.min.js"
></script>
<!-- 引入echarts -->
<script
src=
"js/echarts.min.js"
></script>
...
...
@@ -892,12 +891,19 @@
<!-- cookie -->
<script
src=
"js/js.cookie.js"
></script>
<script>
<<<<<<<
Updated
upstream
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
// 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '218.56.105.134') + ':8013';
=======
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
// 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.2.11' ? '192.168.2.200' : '192.168.13.200') + ':8013';
>>>>>>>
Stashed
changes
const
selfHost
=
location
.
hostname
===
'
192.168.
3.38
'
?
'
http://192.168.3.38
:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
const
selfHost
=
location
.
hostname
===
'
192.168.
2.11
'
?
'
http://192.168.2.11
:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
const
token
=
Cookies
.
get
(
'
ELADMIN-TOEKN
'
);
axios
=
axios
.
create
({
...
...
public/datav/js/maps-MouseTool.js
View file @
a2fc9bb9
This diff is collapsed.
Click to expand it.
public/datav/js/maps.js
View file @
a2fc9bb9
This diff is collapsed.
Click to expand it.
public/datav/natural.html
View file @
a2fc9bb9
...
...
@@ -755,13 +755,21 @@
<script
src=
"js/js.cookie.js"
></script>
<script>
// 小黄
<<<<<<<
Updated
upstream
//const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '218.56.105.134') + ':8013';
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
// 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '218.56.105.134') + ':8013';
=======
//const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '192.168.13.200') + ':8013';
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
const
selfHost
=
location
.
hostname
===
'
192.168.3.38
'
?
'
http://192.168.3.38:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
// 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.2.11' ? '192.168.2.200' : '192.168.13.200') + ':8013';
>>>>>>>
Stashed
changes
const
selfHost
=
location
.
hostname
===
'
192.168.2.11
'
?
'
http://192.168.2.11:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
const
token
=
Cookies
.
get
(
'
ELADMIN-TOEKN
'
);
axios
=
axios
.
create
({
...
...
public/datav/open-air.html
View file @
a2fc9bb9
...
...
@@ -345,9 +345,13 @@
}
);
<<<<<<<
Updated
upstream
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
=======
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
>>>>>>>
Stashed
changes
const
selfHost
=
location
.
hostname
===
'
192.168.
3.38
'
?
'
http://192.168.3.38
:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
const
selfHost
=
location
.
hostname
===
'
192.168.
2.11
'
?
'
http://192.168.2.11
:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
// 请求 token 用
...
...
public/datav/tailings.html
View file @
a2fc9bb9
...
...
@@ -421,9 +421,13 @@
//const host = location.protocol + '//' + window.location.host;
<<<<<<<
Updated
upstream
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
=======
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
>>>>>>>
Stashed
changes
const
selfHost
=
'
http://192.168.
3.38
:8057
'
;
const
selfHost
=
'
http://192.168.
2.11
:8057
'
;
...
...
public/datav/watersource.html
View file @
a2fc9bb9
...
...
@@ -863,12 +863,19 @@
<script
src=
"js/highcharts.js"
></script>
<script>
<<<<<<<
Updated
upstream
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
// 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '218.56.105.134') + ':8013';
=======
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
const
selfHost
=
location
.
hostname
===
'
192.168.3.38
'
?
'
http://192.168.3.38:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
// 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.2.11' ? '192.168.2.200' : '192.168.13.200') + ':8013';
>>>>>>>
Stashed
changes
const
selfHost
=
location
.
hostname
===
'
192.168.2.11
'
?
'
http://192.168.2.11:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
const
token
=
Cookies
.
get
(
'
ELADMIN-TOEKN
'
);
axios
=
axios
.
create
({
...
...
public/index.html
View file @
a2fc9bb9
...
...
@@ -28,7 +28,7 @@
<script
type=
"text/javascript"
src=
"./static/js/config.js"
></script>
<script
type=
"text/javascript"
>
window
.
_AMapSecurityConfig
=
{
securityJsCode
:
'
063051f26bc0d70690b78bccfcab2236
'
securityJsCode
:
'
43b719b484e2691a32a7c4fc2b3814a3
'
}
</script>
<div
id=
"app"
></div>
...
...
src/components/AMap/AMapSearchPoint.vue
View file @
a2fc9bb9
...
...
@@ -92,7 +92,7 @@ export default {
},
initMap
()
{
AMapLoader
.
load
({
key
:
'
a0efee399e638b35211705625d786e83
'
,
key
:
'
031fffe3bf7ba63fd7ed383da7e61702
'
,
version
:
'
2.0
'
,
plugins
:
[]
}).
then
((
AMap
)
=>
{
...
...
src/components/AMap/AMapSearchPointAdd.vue
View file @
a2fc9bb9
...
...
@@ -92,7 +92,7 @@ export default {
},
initMap
()
{
AMapLoader
.
load
({
key
:
'
a0efee399e638b35211705625d786e83
'
,
key
:
'
031fffe3bf7ba63fd7ed383da7e61702
'
,
version
:
'
2.0
'
,
plugins
:
[]
}).
then
((
AMap
)
=>
{
...
...
src/views/home4Enterprise.vue
View file @
a2fc9bb9
...
...
@@ -47,7 +47,7 @@ export default {
methods
:
{
initMap
()
{
AMapLoader
.
load
({
key
:
'
a0efee399e638b35211705625d786e83
'
,
key
:
'
031fffe3bf7ba63fd7ed383da7e61702
'
,
version
:
'
2.0
'
,
plugins
:
[]
}).
then
((
AMap
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment