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
e780df3e
Commit
e780df3e
authored
Sep 27, 2024
by
Kimber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'update'
parent
18d5f37d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
11 deletions
+5
-11
index.html
public/datav/index.html
+1
-7
natural.html
public/datav/natural.html
+1
-1
watersource.html
public/datav/watersource.html
+1
-1
home4Index.vue
src/views/home4Index.vue
+2
-2
No files found.
public/datav/index.html
View file @
e780df3e
...
@@ -1267,13 +1267,7 @@
...
@@ -1267,13 +1267,7 @@
axios
.
get
(
host
+
'
/api/datav/mine
'
,
req
).
then
(
res
=>
{
axios
.
get
(
host
+
'
/api/datav/mine
'
,
req
).
then
(
res
=>
{
loading
.
close
();
loading
.
close
();
this
.
isReady
=
true
;
this
.
isReady
=
true
;
this
.
mineList
=
res
&&
res
.
data
&&
res
.
data
.
results
;
this
.
mineList
=
res
&&
res
.
data
&&
res
.
data
.
results
;
console
.
log
(
'
mineList ________________
'
,
this
.
mineList
);
this
.
mineNumber1
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
1
).
length
;
this
.
mineNumber1
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
1
).
length
;
this
.
mineNumber2
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
2
).
length
;
this
.
mineNumber2
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
2
).
length
;
this
.
mineNumber3
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
3
).
length
;
this
.
mineNumber3
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
3
).
length
;
...
@@ -1313,7 +1307,7 @@
...
@@ -1313,7 +1307,7 @@
//_5minus();
//_5minus();
//this.getData();
//this.getData();
// 获取数据
// 获取数据
this
.
getData
();
this
.
getData
();
});
});
},
},
...
...
public/datav/natural.html
View file @
e780df3e
...
@@ -1528,7 +1528,7 @@
...
@@ -1528,7 +1528,7 @@
const
mine
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
mineType
&&
x
.
id
==
mineId
)[
0
]
const
mine
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
mineType
&&
x
.
id
==
mineId
)[
0
]
window
.
localStorage
.
setItem
(
'
kd.selected.mine
'
,
JSON
.
stringify
(
mine
))
window
.
localStorage
.
setItem
(
'
kd.selected.mine
'
,
JSON
.
stringify
(
mine
))
window
.
localStorage
.
setItem
(
'
bigScreenDetailMenuModel
'
,
'
emergency
'
);
window
.
localStorage
.
setItem
(
'
bigScreenDetailMenuModel
'
,
'
natural
'
);
window
.
open
(
selfHost
+
'
/datav/detail/video-monitor.html
'
,
'
_self
'
)
window
.
open
(
selfHost
+
'
/datav/detail/video-monitor.html
'
,
'
_self
'
)
return
;
return
;
...
...
public/datav/watersource.html
View file @
e780df3e
...
@@ -2316,7 +2316,7 @@
...
@@ -2316,7 +2316,7 @@
const
mine
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
mineType
&&
x
.
id
==
mineId
)[
0
]
const
mine
=
this
.
mineList
.
filter
(
x
=>
x
.
mineType
==
mineType
&&
x
.
id
==
mineId
)[
0
]
window
.
localStorage
.
setItem
(
'
kd.selected.mine
'
,
JSON
.
stringify
(
mine
))
window
.
localStorage
.
setItem
(
'
kd.selected.mine
'
,
JSON
.
stringify
(
mine
))
window
.
localStorage
.
setItem
(
'
bigScreenDetailMenuModel
'
,
'
emergency
'
);
window
.
localStorage
.
setItem
(
'
bigScreenDetailMenuModel
'
,
'
watersystem
'
);
window
.
open
(
selfHost
+
'
/datav/detail/video-monitor.html
'
,
'
_self
'
)
window
.
open
(
selfHost
+
'
/datav/detail/video-monitor.html
'
,
'
_self
'
)
return
;
return
;
...
...
src/views/home4Index.vue
View file @
e780df3e
...
@@ -122,9 +122,9 @@ export default {
...
@@ -122,9 +122,9 @@ export default {
// location.href = 'http://192.168.3.226:8057/datav/index.html'
// location.href = 'http://192.168.3.226:8057/datav/index.html'
location
.
href
=
host
+
"
/datav/index.html
"
;
location
.
href
=
host
+
"
/datav/index.html
"
;
}
else
if
(
type
===
"
自然资源
"
)
{
}
else
if
(
type
===
"
自然资源
"
)
{
//
location.href = host + "/datav/natural.html";
location
.
href
=
host
+
"
/datav/natural.html
"
;
}
else
if
(
type
===
"
水利系统
"
)
{
}
else
if
(
type
===
"
水利系统
"
)
{
//
location.href = host + "/datav/watersource.html";
location
.
href
=
host
+
"
/datav/watersource.html
"
;
}
else
if
(
type
===
"
电子档案馆
"
)
{
}
else
if
(
type
===
"
电子档案馆
"
)
{
// this.$router.push({ path: "home4Center" });
// this.$router.push({ path: "home4Center" });
this
.
$router
.
push
({
path
:
"
/user/center
"
});
this
.
$router
.
push
({
path
:
"
/user/center
"
});
...
...
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