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
eced1d48
Commit
eced1d48
authored
Jun 09, 2023
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
styleFix
parent
78099157
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
80 additions
and
26 deletions
+80
-26
element.less
src/assets/common/element.less
+1
-1
Index.vue
src/components/Index.vue
+13
-11
Index.vue
src/components/construction/Index.vue
+42
-4
Index.vue
src/components/fallprotection/Index.vue
+0
-1
Index.vue
src/components/projectcheck/Index.vue
+3
-3
Index.vue
src/components/supervisory/Index.vue
+13
-3
Index.vue
src/components/tower/Index.vue
+8
-3
No files found.
src/assets/common/element.less
View file @
eced1d48
...
...
@@ -177,7 +177,7 @@
::v-deep .el-step__icon.is-text {
border-width: 4px !important;
border-color: #
22c2e
c;
border-color: #
c0c4c
c;
}
::v-deep .el-step__head.is-success {
...
...
src/components/Index.vue
View file @
eced1d48
...
...
@@ -126,6 +126,7 @@ export default {
leftNav
:
[],
rightNav
:
[],
childRouteName
:
""
,
totalMenu
:
[],
}
;
}
,
methods
:
{
...
...
@@ -205,16 +206,11 @@ export default {
setRoute
(
router
,
child
)
{
router
.
isActive
=
true
;
console
.
log
(
router
,
child
);
localStorage
.
setItem
(
"activeParentId"
,
router
.
id
);
localStorage
.
setItem
(
"activeChildId"
,
child
.
id
);
this
.
childRouteName
=
child
.
right_name
;
this
.
$forceUpdate
();
}
,
clearRoute
()
{
this
.
childRouteName
=
""
;
localStorage
.
setItem
(
"activeParentId"
,
""
);
localStorage
.
setItem
(
"activeChildId"
,
""
);
this
.
leftNav
=
this
.
leftNav
.
map
((
item
)
=>
{
return
{
...
item
,
...
...
@@ -243,15 +239,21 @@ export default {
return
{
...
item
,
isActive
:
localStorage
.
getItem
(
"activeParentId"
)
==
item
.
id
?
true
:
false
,
item
.
child
.
filter
((
item
)
=>
{
return
this
.
$route
.
path
==
item
.
menu_url
;
}
).
length
>
0
,
}
;
}
);
let
selectedMenu
=
res
.
data
.
menu
.
filter
((
item
)
=>
{
return
item
.
i
d
==
localStorage
.
getItem
(
"activeParentId"
)
;
let
selectedMenu
=
menu
.
filter
((
item
)
=>
{
return
item
.
i
sActive
;
}
);
if
(
selectedMenu
.
length
>
0
)
{
this
.
childRouteName
=
selectedMenu
[
0
].
child
.
filter
((
item
)
=>
{
return
item
.
id
==
localStorage
.
getItem
(
"activeChildId"
);
this
.
childRouteName
=
selectedMenu
[
0
].
child
.
filter
((
item
)
=>
{
return
this
.
$route
.
path
==
item
.
menu_url
;
}
)[
0
]
&&
selectedMenu
[
0
].
child
.
filter
((
item
)
=>
{
return
this
.
$route
.
path
==
item
.
menu_url
;
}
)[
0
].
right_name
;
}
if
(
res
.
data
.
menu
.
length
>=
3
)
{
...
...
src/components/construction/Index.vue
View file @
eced1d48
...
...
@@ -221,6 +221,10 @@
<el-step
v-for=
"(progress, index) in progressDetail.progress_data"
:key=
"index"
:class=
"[
progress.type ? progress.type : '',
index
<
=
progressDetail
.
step
-
1
?
'
success
'
:
'',
]"
>
<template
#
title
>
<div
class=
"step-title"
>
...
...
@@ -438,6 +442,7 @@ export default {
let
insertIndex
=
timeArray
.
findIndex
((
item
)
=>
{
return
item
>
todayTs
;
});
if
(
insertIndex
>
this
.
progressDetail
.
step
)
{
this
.
progressDetail
.
progress_data
.
splice
(
this
.
progressDetail
.
step
,
...
...
@@ -458,6 +463,17 @@ export default {
name
:
"当时日期"
,
});
}
this
.
$nextTick
(()
=>
{
let
wait_step
=
document
.
getElementById
(
"step-scroll"
)
.
getElementsByClassName
(
"el-step"
);
let
wait_line
=
wait_step
[
insertIndex
-
1
].
getElementsByClassName
(
"el-step__line-inner"
)[
0
];
wait_line
.
style
.
cssText
=
"transition-delay: 150ms; width: 100%!important;"
;
console
.
log
(
wait_line
);
});
}
this
.
$nextTick
(()
=>
{
...
...
@@ -737,19 +753,19 @@ table {
}
.step-title {
position: relative;
color: #
22c3ed
;
color: #
c0c4cc
;
font-size: 12px;
.step-status {
position: absolute;
top: -130%;
color: #
18d7b9
;
color: #
c0c4cc
;
font-size: 12px;
}
}
.step-description {
font-size: 14px;
color: #
fff
;
color: #
c0c4cc
;
}
.progress-contains {
...
...
@@ -832,6 +848,7 @@ table {
.status-count {
width: calc(100% / 3);
padding: 30px 0px;
text-align: center;
.status-img {
width: 50px;
}
...
...
@@ -842,13 +859,13 @@ table {
font-size: 14px;
font-weight: 400;
color: #ffffff;
padding-top: 12px;
}
.status-number {
font-weight: 400;
color: #25d2ff;
opacity: 0.7;
font-size: 22px;
text-align: left;
span {
font-size: 12px;
}
...
...
@@ -957,4 +974,25 @@ table {
width: 100%;
overflow-x: auto;
}
#scroll-container::-webkit-scrollbar {
display: inline !important;
}
::v-deep .el-step.wait {
.el-step__icon {
border-color: #ffb81e !important;
}
.step-status,
.step-description,
.step-title {
color: #ffb81e !important;
}
}
::v-deep .el-step.success {
.step-status,
.step-description,
.step-title {
color: #67c23a !important;
}
}
</
style
>
\ No newline at end of file
src/components/fallprotection/Index.vue
View file @
eced1d48
...
...
@@ -224,7 +224,6 @@ export default {
});
this
.
$nextTick
(()
=>
{
var
scale
=
window
.
innerHeight
/
1080
;
console
.
log
(
document
.
getElementById
(
"amap-container"
).
style
);
document
.
getElementById
(
"amap-container"
).
style
.
zoom
=
1
/
scale
;
});
this
.
map
.
on
(
"click"
,
()
=>
{
...
...
src/components/projectcheck/Index.vue
View file @
eced1d48
...
...
@@ -944,7 +944,7 @@ export default {
align-items: center;
flex-direction: column;
justify-content: center;
width: calc(100% -
30
0px);
width: calc(100% -
25
0px);
& > div {
padding: 0 20px;
font-size: 14px;
...
...
@@ -963,8 +963,8 @@ export default {
.chart-container {
position: relative;
width:
30
0px;
height:
30
0px;
width:
25
0px;
height:
25
0px;
.title {
position: absolute;
top: 50%;
...
...
src/components/supervisory/Index.vue
View file @
eced1d48
...
...
@@ -167,9 +167,18 @@ export default {
};
});
},
filterNode
(
value
,
data
)
{
if
(
!
value
)
return
true
;
return
data
.
label
.
indexOf
(
value
)
!==
-
1
;
filterNode
(
value
,
data
,
node
)
{
console
.
log
(
node
);
let
names
=
this
.
getParents
(
node
,
node
.
data
.
label
,
"label"
);
let
isName
=
names
.
indexOf
(
value
)
!==
-
1
;
return
!
value
||
isName
?
true
:
false
;
},
getParents
(
node
,
name
,
key
)
{
if
(
node
.
parent
&&
node
.
parent
.
data
[
key
])
{
name
+=
node
.
parent
.
data
[
key
];
return
this
.
getParents
(
node
.
parent
,
name
,
key
);
}
return
name
;
},
renderContent
(
h
,
{
node
,
data
})
{
return
(
...
...
@@ -293,6 +302,7 @@ export default {
item
.
id
=
""
;
item
.
live_address_url
=
""
;
});
this
.
cameraList
=
[];
const
allVideoIdArray
=
this
.
treeData
.
map
((
item
)
=>
{
...
...
src/components/tower/Index.vue
View file @
eced1d48
...
...
@@ -965,16 +965,21 @@ export default {
}
}
.warning-table-run-time {
width:
40
%;
width:
25
%;
white-space: pre-wrap;
}
.warning-table-device,
.warning-table-info {
.warning-table-device {
width: 20%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.warning-table-info {
width: 35%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.warning-table-status {
width: 20%;
}
...
...
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