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
cddbf02c
Commit
cddbf02c
authored
Sep 24, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情页跳转 返回逻辑处理
parent
53b30b7e
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
35 additions
and
25 deletions
+35
-25
daqi-monitor.html
public/datav/detail/daqi-monitor.html
+1
-1
dev-use.html
public/datav/detail/dev-use.html
+1
-1
dizhi-huanjing.html
public/datav/detail/dizhi-huanjing.html
+1
-1
green-mine.html
public/datav/detail/green-mine.html
+1
-1
humidity-monitor.html
public/datav/detail/humidity-monitor.html
+1
-1
mine-global.html
public/datav/detail/mine-global.html
+1
-1
people-location.html
public/datav/detail/people-location.html
+1
-1
people-monitor.html
public/datav/detail/people-monitor.html
+1
-1
resource-storage.html
public/datav/detail/resource-storage.html
+1
-1
shape-monitor.html
public/datav/detail/shape-monitor.html
+1
-1
shui-monitor.html
public/datav/detail/shui-monitor.html
+1
-1
shuitu-monitor.html
public/datav/detail/shuitu-monitor.html
+1
-1
shuizhi-monitor.html
public/datav/detail/shuizhi-monitor.html
+1
-1
public-detail.js
public/datav/detail/static/js/public-detail.js
+14
-4
temperature-monitor.html
public/datav/detail/temperature-monitor.html
+1
-1
tu-monitor.html
public/datav/detail/tu-monitor.html
+1
-1
turang-monitor.html
public/datav/detail/turang-monitor.html
+1
-1
video-monitor.html
public/datav/detail/video-monitor.html
+1
-1
water-monitor.html
public/datav/detail/water-monitor.html
+1
-1
wind-monitor.html
public/datav/detail/wind-monitor.html
+1
-1
yandao-monitor.html
public/datav/detail/yandao-monitor.html
+1
-1
zaosheng-monitor.html
public/datav/detail/zaosheng-monitor.html
+1
-1
No files found.
public/datav/detail/daqi-monitor.html
View file @
cddbf02c
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/dev-use.html
View file @
cddbf02c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/dizhi-huanjing.html
View file @
cddbf02c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/green-mine.html
View file @
cddbf02c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/humidity-monitor.html
View file @
cddbf02c
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</div>
</div>
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/mine-global.html
View file @
cddbf02c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/people-location.html
View file @
cddbf02c
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</div>
</div>
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/people-monitor.html
View file @
cddbf02c
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</div>
</div>
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/resource-storage.html
View file @
cddbf02c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/shape-monitor.html
View file @
cddbf02c
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/shui-monitor.html
View file @
cddbf02c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/shuitu-monitor.html
View file @
cddbf02c
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.watersystem.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.watersystem.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/shuizhi-monitor.html
View file @
cddbf02c
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/static/js/public-detail.js
View file @
cddbf02c
...
@@ -83,6 +83,9 @@ var gemhoUtil = {
...
@@ -83,6 +83,9 @@ var gemhoUtil = {
location
.
reload
()
location
.
reload
()
}
}
this
.
bigScreenDetailMenu
=
window
.
location
.
pathname
localStorage
.
setItem
(
'
bigScreenDetailMenu
'
,
this
.
bigScreenDetailMenu
)
if
(
!
token
)
{
if
(
!
token
)
{
window
.
open
(
host
+
'
/#/login
'
,
'
_self
'
)
window
.
open
(
host
+
'
/#/login
'
,
'
_self
'
)
return
return
...
@@ -100,15 +103,22 @@ var gemhoUtil = {
...
@@ -100,15 +103,22 @@ var gemhoUtil = {
}
}
},
},
methods
:
{
methods
:
{
goPrePage
(
url
)
{
goPrePage
()
{
// history.back()
// history.back()
if
(
url
===
'
emergency
'
){
const
type
=
localStorage
.
getItem
(
'
bigScreenDetailMenuModel
'
)
if
(
type
===
'
emergency
'
){
window
.
open
(
'
/datav/index.html
'
)
}
else
if
(
type
===
'
natural
'
){
window
.
open
(
'
/datav/natural.html
'
)
}
else
if
(
type
===
'
watersystem
'
){
window
.
open
(
'
/datav/watersource.html
'
)
}
else
if
(
type
===
'
ecosystem
'
){
window
.
open
(
'
/datav/index.html
'
)
window
.
open
(
'
/datav/index.html
'
)
}
}
},
},
changeMenu
(
item
)
{
changeMenu
(
item
)
{
localStorage
.
setItem
(
'
bigScreenDetailMenu
'
,
item
.
name
)
localStorage
.
setItem
(
'
bigScreenDetailMenu
'
,
item
.
url
)
localStorage
.
setItem
(
'
bigScreenDetailMenuModel
'
,
item
.
model
)
localStorage
.
setItem
(
'
bigScreenDetailMenuModel
'
,
item
.
model
)
this
.
bigScreenDetailMenu
=
item
.
name
this
.
bigScreenDetailMenu
=
item
.
name
...
...
public/datav/detail/temperature-monitor.html
View file @
cddbf02c
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</div>
</div>
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/tu-monitor.html
View file @
cddbf02c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.natural.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/turang-monitor.html
View file @
cddbf02c
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/video-monitor.html
View file @
cddbf02c
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/water-monitor.html
View file @
cddbf02c
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</div>
</div>
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/wind-monitor.html
View file @
cddbf02c
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</div>
</div>
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
<li
v-for=
"(item, index) in menuObj[bigScreenDetailMenuModel].menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/yandao-monitor.html
View file @
cddbf02c
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
public/datav/detail/zaosheng-monitor.html
View file @
cddbf02c
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
class=
"menuInfo"
>
<div
class=
"menuInfo"
>
<ul>
<ul>
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
<li
v-for=
"(item, index) in menuObj.ecosystem.menuList"
@
click=
"changeMenu(item)"
:class=
"{active: bigScreenDetailMenu===item.
name
}"
>
:class=
"{active: bigScreenDetailMenu===item.
url
}"
>
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
...
...
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