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
aa566217
Commit
aa566217
authored
Sep 23, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公共代码抽取
parent
4363260e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
people-location.html
public/datav/detail/people-location.html
+4
-3
shape-monitor.html
public/datav/detail/shape-monitor.html
+2
-2
public-detail.js
public/datav/detail/static/js/public-detail.js
+4
-0
No files found.
public/datav/detail/people-location.html
View file @
aa566217
...
...
@@ -50,7 +50,7 @@
<div class="f20 color-theme ml10">后台管理</div>
</div> -->
<div
class=
"flex-text ml10 mr10 mt
40
"
style=
"align-items: start;"
>
<div
class=
"flex-text ml10 mr10 mt
15
"
style=
"align-items: start;"
>
<div
style=
"width: 490px;height: calc(100vh - 110px);"
>
<!-- 通知公告 -->
<div
style=
"background: linear-gradient(to bottom, rgba(13,27,48,.7), rgba(13,27,48,0));"
>
...
...
@@ -84,7 +84,8 @@
<!-- 右侧容器 -->
<div
style=
"width: calc(100vw - 490px); height: calc(100vh - 110px);"
>
<img
:src=
"filePath"
alt=
""
srcset=
""
>
<img
:src=
"filePath"
alt=
""
srcset=
""
style=
"width: 100%; height: 100%;"
>
<!-- <img src="https://dummyimage.com/200x275" alt="" srcset="" style="width: 100%; height: 100%;"> -->
</div>
</div>
...
...
@@ -134,7 +135,7 @@
type
:
'
1
'
// 1:矿山全景2:资源储量3:开发利用4:地质环境5:绿色矿山6:水监测 7:土监测
}
}).
then
(
res
=>
{
this
.
filePath
=
host
+
res
.
data
.
body
this
.
filePath
=
host
+
'
/file
'
+
res
.
data
.
body
});
this
.
isReady
=
true
...
...
public/datav/detail/shape-monitor.html
View file @
aa566217
...
...
@@ -230,8 +230,8 @@
}
}).
then
(
res
=>
{
this
.
sensorLIst
=
res
.
data
.
body
||
[];
if
(
this
.
sensorLIst
.
length
)
{
this
.
c
urrentSensorId
=
this
.
sensorLIst
[
0
].
equipNo
if
(
this
.
sensorLIst
.
length
)
{
// 如果列表有值,默认取第1个设备的值
this
.
c
hangeSensor
({
equipNo
:
this
.
sensorLIst
[
0
].
equipNo
})
}
console
.
log
(
'
sdfsdf
'
,
res
)
// fn && fn()
...
...
public/datav/detail/static/js/public-detail.js
View file @
aa566217
...
...
@@ -62,6 +62,10 @@ var gemhoUtil = {
};
},
mounted
()
{
window
.
onresize
=
()
=>
{
location
.
reload
()
}
if
(
!
token
)
{
window
.
open
(
host
+
'
/#/login
'
,
'
_self
'
)
return
...
...
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