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
a321d892
Commit
a321d892
authored
Nov 21, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线上地址ip更改
parent
cf376333
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
18 deletions
+25
-18
.env.production
.env.production
+9
-2
public-detail.js
public/datav/detail/static/js/public-detail.js
+1
-1
env.html
public/datav/env.html
+3
-3
index.html
public/datav/index.html
+3
-3
natural.html
public/datav/natural.html
+4
-4
open-air.html
public/datav/open-air.html
+1
-1
tailings.html
public/datav/tailings.html
+1
-1
watersource.html
public/datav/watersource.html
+3
-3
No files found.
.env.production
View file @
a321d892
...
...
@@ -4,8 +4,15 @@ ENV = 'production'
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
# 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_BASE_API = 'http://192.168.13.200:8057'
# VUE_APP_BASE_API = 'http://218.56.105.134:8057'
VUE_APP_BASE_API = 'http://218.56.105.134:8057'
# ------------------------
VUE_APP_LOCAL_API = 'http://192.168.13.200:8013'
# VUE_APP_LOCAL_API = 'http://218.56.105.134:8013'
VUE_APP_LOCAL_API = 'http://218.56.105.134:8013'
#VUE_APP_weather = 'http://60.217.78.10:9003'
public/datav/detail/static/js/public-detail.js
View file @
a321d892
...
...
@@ -33,7 +33,7 @@ let jessibucaPlayer = {};
}
);
var
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
var
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.2.11
'
?
'
192.168.2.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
var
selfHost
=
location
.
hostname
===
'
192.168.2.11
'
?
'
http://192.168.2.11:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
...
...
public/datav/env.html
View file @
a321d892
...
...
@@ -734,10 +734,10 @@
<!-- cookie -->
<script
src=
"js/js.cookie.js"
></script>
<script>
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
: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.180' ? '192.168.2.200' : '
192.168.13.200
') + ':8013';
//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
;
...
...
@@ -1331,7 +1331,7 @@ const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:805
},
// 跳转到后台管理
gotoManagement
()
{
window
.
open
(
'
http://
192.168.13.200
:8057
'
,
'
_self
'
)
window
.
open
(
'
http://
218.56.105.134
:8057
'
,
'
_self
'
)
},
gotoManagement1
(){
...
...
public/datav/index.html
View file @
a321d892
...
...
@@ -892,10 +892,10 @@
<!-- cookie -->
<script
src=
"js/js.cookie.js"
></script>
<script>
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
: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' : '
192.168.13.200
') + ':8013';
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '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
;
...
...
@@ -1364,7 +1364,7 @@
},
// 跳转到后台管理
gotoManagement
()
{
window
.
open
(
'
http://
192.168.13.200
:8057
'
,
'
_self
'
)
window
.
open
(
'
http://
218.56.105.134
:8057
'
,
'
_self
'
)
},
gotoManagement1
(){
...
...
public/datav/natural.html
View file @
a321d892
...
...
@@ -755,11 +755,11 @@
<script
src=
"js/js.cookie.js"
></script>
<script>
// 小黄
//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.3.38
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
//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' : '
192.168.13.200
') + ':8013';
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '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
;
...
...
@@ -1353,7 +1353,7 @@
},
// 跳转到后台管理
gotoManagement
()
{
window
.
open
(
'
http://
192.168.13.200
:8057
'
,
'
_self
'
)
window
.
open
(
'
http://
218.56.105.134
:8057
'
,
'
_self
'
)
},
gotoManagement1
(){
...
...
public/datav/open-air.html
View file @
a321d892
...
...
@@ -345,7 +345,7 @@
}
);
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
const
selfHost
=
location
.
hostname
===
'
192.168.3.38
'
?
'
http://192.168.3.38:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
...
...
public/datav/tailings.html
View file @
a321d892
...
...
@@ -421,7 +421,7 @@
//const host = location.protocol + '//' + window.location.host;
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
const
selfHost
=
'
http://192.168.3.38:8057
'
;
...
...
public/datav/watersource.html
View file @
a321d892
...
...
@@ -863,10 +863,10 @@
<script
src=
"js/highcharts.js"
></script>
<script>
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
: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' : '
192.168.13.200
') + ':8013';
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '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
;
...
...
@@ -2146,7 +2146,7 @@
},
// 跳转到后台管理
gotoManagement
()
{
window
.
open
(
'
http://
192.168.13.200
:8057
'
,
'
_self
'
)
window
.
open
(
'
http://
218.56.105.134
:8057
'
,
'
_self
'
)
},
gotoManagement1
(){
...
...
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