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
6c9e4708
Commit
6c9e4708
authored
Dec 18, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏本地请求地址修改 搜素条件4个全部展示 本地运行报错处理
parent
6ff128c1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
66 additions
and
28 deletions
+66
-28
env.html
public/datav/env.html
+17
-7
index.html
public/datav/index.html
+15
-6
natural.html
public/datav/natural.html
+14
-5
open-air.html
public/datav/open-air.html
+2
-2
tailings.html
public/datav/tailings.html
+2
-2
watersource.html
public/datav/watersource.html
+15
-5
vue.config.js
vue.config.js
+1
-1
No files found.
public/datav/env.html
View file @
6c9e4708
...
...
@@ -734,12 +734,12 @@
<!-- cookie -->
<script
src=
"js/js.cookie.js"
></script>
<script>
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
'
:
'
218.56.105.134
'
)
+
'
: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
;
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
({
...
...
@@ -993,13 +993,23 @@ const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:805
};
gitem
.
id
=
id
;
if
(
gitem
.
id
===
(
pervItem
&&
pervItem
.
id
)){
gitem
.
select
.
style
.
display
=
'
none
'
;
}
else
{
gitem
.
select
.
style
.
display
=
'
block
'
;
};
//
if(gitem.id === (pervItem && pervItem.id)){
//
gitem.select.style.display = 'none';
//
}else{
//
gitem.select.style.display = 'block';
//
};
gitem
.
select
.
dataset
.
type
=
gitem
.
type
;
// 2024-12-18 添加逻辑,如果id为24(默认初始化时,且当前select的类型为area的,则将list置为空数组)
if
(
id
===
24
&&
gitem
.
type
===
'
area
'
){
list
=
[{
name
:
"
全部
"
,
label
:
"
全部
"
,
id
:
id
,
}]
}
!
selectbox
.
contains
(
gitem
.
select
)
&&
selectbox
.
appendChild
(
gitem
.
select
);
qf
.
UI
.
selectRender
(
gitem
.
select
,
list
,
{
'
value
'
:
'
id
'
,
...
...
public/datav/index.html
View file @
6c9e4708
...
...
@@ -892,12 +892,12 @@
<!-- cookie -->
<script
src=
"js/js.cookie.js"
></script>
<script>
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
'
:
'
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.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
({
...
...
@@ -1128,7 +1128,7 @@
methods
:
{
reqSelectArea
(
guides
){
var
that
=
this
,
i
=
0
,
compselect
;
// 区域选择列表
var
selectbox
=
this
.
$el
.
querySelector
(
"
#mselect
"
);
return
(
function
reqiust
(
id
,
i
){
...
...
@@ -1151,13 +1151,22 @@
};
gitem
.
id
=
id
;
if
(
gitem
.
id
===
(
pervItem
&&
pervItem
.
id
)){
// 2024-12-17 添加逻辑,如果id为24(默认初始化时,所有的下拉都显示出来。原来的area也不做id)
/*if(gitem.id === (pervItem && pervItem.id)){
gitem.select.style.display = 'none';
}else{
gitem.select.style.display = 'block';
};
};
*/
gitem
.
select
.
dataset
.
type
=
gitem
.
type
;
// 2024-12-17 添加逻辑,如果id为24(默认初始化时,且当前select的类型为area的,则将list置为空数组)
if
(
id
===
24
&&
gitem
.
type
===
'
area
'
){
list
=
[{
name
:
"
全部
"
,
label
:
"
全部
"
,
id
:
id
,
}]
}
!
selectbox
.
contains
(
gitem
.
select
)
&&
selectbox
.
appendChild
(
gitem
.
select
);
qf
.
UI
.
selectRender
(
gitem
.
select
,
list
,
{
'
value
'
:
'
id
'
,
...
...
public/datav/natural.html
View file @
6c9e4708
...
...
@@ -756,12 +756,12 @@
<script>
// 小黄
//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.
2.11
'
?
'
192.168.2
.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.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
({
...
...
@@ -1015,13 +1015,22 @@
};
gitem
.
id
=
id
;
if
(
gitem
.
id
===
(
pervItem
&&
pervItem
.
id
)){
/*
if(gitem.id === (pervItem && pervItem.id)){
gitem.select.style.display = 'none';
}else{
gitem.select.style.display = 'block';
};
};
*/
gitem
.
select
.
dataset
.
type
=
gitem
.
type
;
// 2024-12-18 添加逻辑,如果id为24(默认初始化时,且当前select的类型为area的,则将list置为空数组)
if
(
id
===
24
&&
gitem
.
type
===
'
area
'
){
list
=
[{
name
:
"
全部
"
,
label
:
"
全部
"
,
id
:
id
,
}]
}
!
selectbox
.
contains
(
gitem
.
select
)
&&
selectbox
.
appendChild
(
gitem
.
select
);
qf
.
UI
.
selectRender
(
gitem
.
select
,
list
,
{
'
value
'
:
'
id
'
,
...
...
public/datav/open-air.html
View file @
6c9e4708
...
...
@@ -345,9 +345,9 @@
}
);
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
'
:
'
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
;
// 请求 token 用
...
...
public/datav/tailings.html
View file @
6c9e4708
...
...
@@ -421,9 +421,9 @@
//const host = location.protocol + '//' + window.location.host;
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
'
:
'
218.56.105.134
'
)
+
'
:8013
'
;
const
selfHost
=
'
http://192.168.
3.38
:8057
'
;
const
selfHost
=
'
http://192.168.
2.11
:8057
'
;
...
...
public/datav/watersource.html
View file @
6c9e4708
...
...
@@ -863,12 +863,12 @@
<script
src=
"js/highcharts.js"
></script>
<script>
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
'
:
'
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.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
({
...
...
@@ -1243,13 +1243,23 @@
};
gitem
.
id
=
id
;
if
(
gitem
.
id
===
(
pervItem
&&
pervItem
.
id
)){
/*
if(gitem.id === (pervItem && pervItem.id)){
gitem.select.style.display = 'none';
}else{
gitem.select.style.display = 'block';
};
};
*/
gitem
.
select
.
dataset
.
type
=
gitem
.
type
;
// 2024-12-17 添加逻辑,如果id为24(默认初始化时,且当前select的类型为area的,则将list置为空数组)
if
(
id
===
24
&&
gitem
.
type
===
'
area
'
){
list
=
[{
name
:
"
全部
"
,
label
:
"
全部
"
,
id
:
id
,
}]
}
!
selectbox
.
contains
(
gitem
.
select
)
&&
selectbox
.
appendChild
(
gitem
.
select
);
qf
.
UI
.
selectRender
(
gitem
.
select
,
list
,
{
'
value
'
:
'
id
'
,
...
...
vue.config.js
View file @
6c9e4708
...
...
@@ -25,7 +25,7 @@ module.exports = {
devServer
:
{
port
:
port
,
host
:
VUE_APP_BASE_API
&&
VUE_APP_BASE_API
.
split
(
/
\/\/
|:/
).
slice
(
-
2
)[
0
],
open
:
true
,
//
open: true,
overlay
:
{
warnings
:
false
,
errors
:
true
,
...
...
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