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
7433f5c6
Commit
7433f5c6
authored
Sep 21, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
变形监测部分接口对接
parent
c1e410ce
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
395 additions
and
805 deletions
+395
-805
shape-monitor.html
public/datav/detail/shape-monitor.html
+221
-690
public-detail.css
public/datav/detail/static/css/public-detail.css
+112
-0
public-detail.js
public/datav/detail/static/js/public-detail.js
+56
-0
wind-monitor.html
public/datav/detail/wind-monitor.html
+6
-115
No files found.
public/datav/detail/shape-monitor.html
View file @
7433f5c6
This diff is collapsed.
Click to expand it.
public/datav/detail/static/css/public-detail.css
0 → 100644
View file @
7433f5c6
.mineInfo
{
padding-left
:
10px
;
}
.mineInfo
p
{
margin-top
:
6px
;
margin-bottom
:
6px
;
}
.menuInfo
{
overflow
:
hidden
;
margin-top
:
28px
;
margin-left
:
10px
;
}
.menuInfo
li
{
float
:
left
;
margin-right
:
16px
;
margin-bottom
:
16px
;
width
:
100px
;
height
:
30px
;
text-align
:
center
;
line-height
:
30px
;
cursor
:
pointer
;
background-image
:
url('../detail/menuBtnBg.png')
;
background-size
:
cover
;
}
.menuInfo
li
:hover
{
background-color
:
#084291
;
}
.menuInfo
li
.active
{
background-color
:
#084291
;
}
/*elementui 样式重写*/
.el-range-editor
.el-range-input
{
background
:
transparent
;
color
:
#dbdbdb
;
}
.el-date-editor.el-range-editor.el-input__inner.el-date-editor--datetimerange
{
background
:
transparent
;
}
.el-range-editor.el-input__inner
{
border
:
1px
solid
#7c7e7f
!important
;
}
.el-date-editor
.el-range-separator
{
color
:
#bababa
;
margin-top
:
6px
;
}
.el-input--small
.el-input__inner
{
color
:
#bababa
!important
;
font-size
:
16px
!important
;
border
:
1px
solid
#efdada
!important
;
text-align
:
center
;
}
.el-date-editor
.el-range__icon
{
margin-left
:
5px
;
}
section
{
width
:
440px
;
}
section
.header
{
height
:
40px
;
background-color
:
#b8b1b266
;
line-height
:
40px
;
border-bottom
:
1px
solid
#9797ac
;
cursor
:
pointer
;
}
section
.header
.el-icon-caret-right
:before
,
section
.header
.el-icon-caret-down
:before
{
content
:
"\e791"
;
color
:
#a5a4a4
;
font-size
:
22px
;
}
section
.list-wrapper
{
max-height
:
300px
;
overflow-y
:
auto
;
}
section
.list-item
{
height
:
40px
;
margin-left
:
20px
;
line-height
:
40px
;
border-bottom
:
1px
solid
#735b5b
;
cursor
:
pointer
;
}
section
.list-item
span
{
margin-left
:
10px
;
}
section
.list-item
.el-icon-caret-right
:before
{
content
:
"\e791"
;
color
:
#a5a4a4
;
font-size
:
18px
;
}
/*列表list*/
.tableList
.bg-list-item
{
background
:
transparent
;
}
\ No newline at end of file
public/datav/detail/static/js/public-detail.js
0 → 100644
View file @
7433f5c6
let
jessibucaPlayer
=
{};
//const host = location.protocol + '//' + window.location.host;
window
.
detail_token
=
Cookies
.
get
(
'
ELADMIN-TOEKN
'
);
console
.
log
(
'
axios
'
,
axios
)
window
.
detail_axios
=
axios
.
create
({
headers
:
{
'
Authorization
'
:
window
.
detail_token
}
});
window
.
detail_axios
.
defaults
.
headers
[
'
Content-Type
'
]
=
'
application/x-www-form-urlencoded; charset=UTF-8
'
;
console
.
log
(
'
window.detail_axios
'
,
window
.
detail_axios
)
window
.
detail_axios
.
interceptors
.
response
.
use
(
response
=>
{
return
response
},
error
=>
{
console
.
error
(
error
)
let
code
=
0
try
{
code
=
error
.
response
.
data
.
status
}
catch
(
e
)
{
if
(
error
.
toString
().
indexOf
(
'
Error: timeout
'
)
!==
-
1
)
{
console
.
error
(
'
当前网络不佳
'
)
return
}
}
if
(
!
code
)
{
console
.
error
(
'
当前网络不佳
'
)
return
}
if
(
code
===
401
)
{
alert
(
'
登录信息失效,请重新登录
'
)
window
.
open
(
host
+
'
/#/login
'
,
'
_self
'
)
return
}
if
(
code
===
400
&&
message
===
'
不允许访问
'
)
{
alert
(
'
您没有权限使用此功能,请联系管理员开通
'
)
return
}
}
);
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.38
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
const
selfHost
=
location
.
hostname
===
'
192.168.3.38
'
?
'
http://192.168.3.226:8057
'
:
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
if
(
!
window
.
detail_token
)
{
window
.
open
(
host
+
'
/#/login
'
,
'
_self
'
)
return
}
// if (this.selectedMine.mineType != 2) {
// alert('您当前选择的不是露天矿山,请先选择露天矿山,再查看此大屏')
// window.history.go(-1)
// return
// }
\ No newline at end of file
public/datav/detail/wind-monitor.html
View file @
7433f5c6
...
@@ -10,124 +10,16 @@
...
@@ -10,124 +10,16 @@
<link
rel=
"stylesheet"
href=
"../css/element-ui.css"
>
<link
rel=
"stylesheet"
href=
"../css/element-ui.css"
>
<!-- 引入样式文件 -->
<!-- 引入样式文件 -->
<link
rel=
"stylesheet"
href=
"../css/vant@4.css"
/>
<link
rel=
"stylesheet"
href=
"../css/vant@4.css"
/>
<!-- 引入大屏内页公共样式 -->
<link
rel=
"stylesheet"
href=
"./static/css/public-detail.css"
/>
<!-- 先引入 Vue -->
<!-- 先引入 Vue -->
<script
src=
"../js/vue.min.js"
></script>
<script
src=
"../js/vue.min.js"
></script>
<!-- 引入 Vue 和 Vant 的 JS 文件 -->
<!-- 引入 Vue 和 Vant 的 JS 文件 -->
<script
src=
"../js/vue@2.6.14"
></script>
<script
src=
"../js/vue@2.6.14"
></script>
<script
src=
"../js/vant.min.js"
></script>
<script
src=
"../js/vant.min.js"
></script>
<style>
<style>
.el-autocomplete-suggestion
{
width
:
330px
!important
;
}
.mineInfo
{
padding-left
:
10px
;
}
.mineInfo
p
{
margin-top
:
6px
;
margin-bottom
:
6px
;
}
.menuInfo
{
overflow
:
hidden
;
margin-top
:
28px
;
margin-left
:
10px
;
}
.menuInfo
li
{
float
:
left
;
margin-right
:
16px
;
margin-bottom
:
16px
;
width
:
100px
;
height
:
30px
;
text-align
:
center
;
line-height
:
30px
;
cursor
:
pointer
;
background-image
:
url('./static/detail/menuBtnBg.png')
;
background-size
:
cover
;
}
.menuInfo
li
:hover
{
background-color
:
#084291
;
}
.menuInfo
li
.active
{
background-color
:
#084291
;
}
/*elementui 样式重写*/
.el-range-editor
.el-range-input
{
background
:
transparent
;
color
:
#dbdbdb
;
}
.el-date-editor.el-range-editor.el-input__inner.el-date-editor--datetimerange
{
background
:
transparent
;
}
.el-range-editor.el-input__inner
{
border
:
1px
solid
#7c7e7f
!important
;
}
.el-date-editor
.el-range-separator
{
color
:
#bababa
;
margin-top
:
6px
;
}
.el-input--small
.el-input__inner
{
color
:
#bababa
!important
;
font-size
:
16px
!important
;
border
:
1px
solid
#efdada
!important
;
text-align
:
center
;
}
.el-date-editor
.el-range__icon
{
margin-left
:
5px
;
}
section
{
width
:
440px
;
}
section
.header
{
height
:
40px
;
background-color
:
#b8b1b266
;
line-height
:
40px
;
border-bottom
:
1px
solid
#9797ac
;
cursor
:
pointer
;
}
section
.header
.el-icon-caret-right
:before
,
section
.header
.el-icon-caret-down
:before
{
content
:
"\e791"
;
color
:
#a5a4a4
;
font-size
:
22px
;
}
section
.list-wrapper
{
max-height
:
300px
;
overflow-y
:
auto
;
}
section
.list-item
{
height
:
40px
;
margin-left
:
20px
;
line-height
:
40px
;
border-bottom
:
1px
solid
#fff
;
cursor
:
pointer
;
}
section
.list-item
.el-icon-caret-right
:before
{
content
:
"\e791"
;
color
:
#a5a4a4
;
font-size
:
18px
;
}
/*列表list*/
.tableList
.bg-list-item
{
background
:
transparent
;
}
</style>
</style>
</head>
</head>
...
@@ -158,7 +50,6 @@
...
@@ -158,7 +50,6 @@
<div
class=
"flex-text ml10 mr10 mt15"
>
<div
class=
"flex-text ml10 mr10 mt15"
>
<div
style=
"width: 490px;height: calc(100vh - 110px);"
>
<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));"
>
<div
style=
"background: linear-gradient(to bottom, rgba(13,27,48,.7), rgba(13,27,48,0));"
>
<div
class=
"mineInfo"
>
<div
class=
"mineInfo"
>
<p>
矿山名称: 淄博红圈石料厂
</p>
<p>
矿山名称: 淄博红圈石料厂
</p>
...
@@ -180,8 +71,6 @@
...
@@ -180,8 +71,6 @@
</div>
</div>
</div>
</div>
<!-- 视频监控列表 -->
<div
class=
"relative mt20"
style=
"width: 490px;height: calc(100vh - 170px);"
>
<div
class=
"relative mt20"
style=
"width: 490px;height: calc(100vh - 170px);"
>
<section>
<section>
<div
class=
"list-wrapper"
v-show=
"showMenu4bianpo"
>
<div
class=
"list-wrapper"
v-show=
"showMenu4bianpo"
>
...
@@ -258,6 +147,8 @@
...
@@ -258,6 +147,8 @@
<script
src=
"../js/axios.min.js"
></script>
<script
src=
"../js/axios.min.js"
></script>
<!-- cookie -->
<!-- cookie -->
<script
src=
"../js/js.cookie.js"
></script>
<script
src=
"../js/js.cookie.js"
></script>
<!-- 详情内页公用js -->
<script
src=
"./static/js/public-detail.js"
></script>
<script>
<script>
let
jessibucaPlayer
=
{};
let
jessibucaPlayer
=
{};
...
...
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