Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
digital-construction
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
张牧越
digital-construction
Commits
8bf2476e
Commit
8bf2476e
authored
Jun 07, 2023
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动填满视频监控
parent
a00ebf12
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
90 additions
and
21 deletions
+90
-21
dist.zip
dist.zip
+0
-0
icon-long-bg.png
src/assets/icon-long-bg.png
+0
-0
icon-short-bg.png
src/assets/icon-short-bg.png
+0
-0
Index.vue
src/components/Index.vue
+4
-0
Index.vue
src/components/construction/Index.vue
+29
-15
Index.vue
src/components/elevator/Index.vue
+4
-2
Index.vue
src/components/noise/Index.vue
+4
-2
CorrectDialog.vue
src/components/projectcheck/CorrectDialog.vue
+4
-1
Index.vue
src/components/supervisory/Index.vue
+45
-1
No files found.
dist.zip
View file @
8bf2476e
No preview for this file type
src/assets/icon-long-bg.png
View replaced file @
a00ebf12
View file @
8bf2476e
173 KB
|
W:
|
H:
187 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/icon-short-bg.png
View replaced file @
a00ebf12
View file @
8bf2476e
93.4 KB
|
W:
|
H:
63 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/Index.vue
View file @
8bf2476e
...
...
@@ -338,6 +338,7 @@ export default {
}
a
,
.
parent
-
router
{
white
-
space
:
nowrap
;
cursor
:
pointer
;
min
-
width
:
66
px
;
text
-
align
:
center
;
...
...
@@ -446,4 +447,7 @@ a,
display
:
inline
-
block
;
vertical
-
align
:
top
;
}
.
temperature
{
white
-
space
:
nowrap
;
}
<
/style>
\ No newline at end of file
src/components/construction/Index.vue
View file @
8bf2476e
...
...
@@ -5,29 +5,40 @@
<ShadowContainer
class=
"long-container"
>
<div
class=
"construction-status"
>
<div
class=
"construction-details"
>
<div
class=
"construction-detail"
>
<div
class=
"data"
>
{{
screenDetail
.
project_cost
}}
</div>
<div
class=
"text"
>
工程造价(万元)
</div>
</div>
<div
class=
"construction-detail"
>
<div
class=
"data"
>
{{
screenDetail
.
build_area
}}
</div>
<div
class=
"text"
>
建筑面积(㎡)
</div>
<div
style=
"display: flex; justify-content: center"
>
<div
class=
"construction-detail"
style=
"border-right: 1px solid rgba(9, 124, 167, 0.5)"
>
<div
class=
"data"
>
{{
screenDetail
.
project_cost
}}
</div>
<div
class=
"text"
>
工程造价(万元)
</div>
</div>
<div
class=
"construction-detail"
>
<div
class=
"data"
>
{{
screenDetail
.
build_area
}}
</div>
<div
class=
"text"
>
建筑面积(㎡)
</div>
</div>
</div>
<div
class=
"construction-detail"
>
<div
class=
"data small"
>
{{
<div
style=
"
border-top: 1px solid rgba(9, 124, 167, 0.5);
width: 90%;
margin: 0 auto;
padding-top: 12px;
"
>
<div
style=
"font-size: 14px; color: #ffaf51"
>
项目经理:
{{
screenDetail
.
manageList
&&
screenDetail
.
manageList
[
0
]
&&
screenDetail
.
manageList
[
0
].
person_name
}}
<br
/>
/
{{
screenDetail
.
manageList
&&
screenDetail
.
manageList
[
0
]
&&
screenDetail
.
manageList
[
0
].
person_mobile
}}
</div>
<div
class=
"text"
>
项目经理
</div>
</div>
</div>
<div
class=
"divider"
>
...
...
@@ -510,14 +521,17 @@ export default {
margin-top: 0;
}
.construction-details {
display: flex;
justify-content: space-between;
text-align: center;
margin-bottom: 28px;
position: relative;
padding:
24px 0
;
padding:
18px 0 12px
;
background: url("@/assets/icon-short-bg.png") no-repeat;
background-size: 100% 100%;
.construction-detail {
width: calc(50% - 18px);
padding-bottom: 6px;
margin-bottom: 10px;
}
img {
position: absolute;
width: 100%;
...
...
src/components/elevator/Index.vue
View file @
8bf2476e
...
...
@@ -594,13 +594,15 @@ export default {
}
}
.warning-table-time {
width:
4
0%;
width:
3
0%;
}
.warning-table-device,
.warning-table-message,
.warning-table-status {
width: 20%;
}
.warning-table-message {
width: 30%;
}
.warning-table-message {
text-overflow: ellipsis;
overflow: hidden;
...
...
src/components/noise/Index.vue
View file @
8bf2476e
...
...
@@ -863,13 +863,15 @@ export default {
}
}
.warning-table-time {
width:
4
0%;
width:
3
0%;
}
.warning-table-device,
.warning-table-message,
.warning-table-status {
width: 20%;
}
.warning-table-message {
width: 30%;
}
}
#stats-container {
position: relative;
...
...
src/components/projectcheck/CorrectDialog.vue
View file @
8bf2476e
...
...
@@ -144,7 +144,10 @@
审核备注:
{{
correct
.
check_examine_remark
}}
</div>
</div>
<div
class=
"dialog-form border"
>
<div
class=
"dialog-form border"
v-if=
"correct.check_examine_status != 3"
>
<div
class=
"dialog-item"
>
负责人复查:
{{
correct
.
duty_person_name
}}
/
...
...
src/components/supervisory/Index.vue
View file @
8bf2476e
...
...
@@ -93,7 +93,8 @@ export default {
activeIndex
:
null
,
liveVisible
:
false
,
singlePlayer
:
null
,
activeSplice
:
4
,
activeSplice
:
9
,
videoURLArray
:
[],
};
},
mounted
()
{
...
...
@@ -103,6 +104,49 @@ export default {
getVideoTreeData
()
{
getVideoTreeData
().
then
((
res
)
=>
{
this
.
treeData
=
this
.
handleData
(
res
.
data
);
this
.
videoURLArray
=
this
.
treeData
.
map
((
item
)
=>
{
return
item
.
children
.
map
((
items
)
=>
{
return
items
.
id
;
});
})
.
flat
();
if
(
this
.
videoURLArray
.
length
>
9
)
{
this
.
videoURLArray
=
this
.
videoURLArray
.
slice
(
0
,
9
);
}
this
.
videoURLArray
.
map
((
id
,
index
)
=>
{
this
.
cameraList
.
push
({
player
:
undefined
,
id
:
id
,
});
getVideoLiveAddressUrl
(
id
).
then
((
res
)
=>
{
this
.
$nextTick
(()
=>
{
const
myVideoDiv
=
document
.
getElementById
(
`video-container-
${
index
+
1
}
`
);
myVideoDiv
.
innerHTML
=
`<video
id="singleVideo
${
index
+
1
}
"
autoplay="autoplay"
class="video-js vjs-default-skin"
></video>`
;
const
singlePlayer
=
videojs
(
`singleVideo
${
index
+
1
}
`
,
{
autoplay
:
true
,
// 自动播放
controls
:
true
,
// 控件显示
preload
:
"auto"
,
//定义视频加载模式
loop
:
true
,
//是否循环播放
});
singlePlayer
.
src
({
src
:
res
.
data
.
live_address_url
,
type
:
"application/x-mpegURL"
,
});
singlePlayer
.
play
();
this
.
cameraList
[
index
].
player
=
singlePlayer
;
});
});
});
});
},
handleData
(
data
)
{
...
...
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