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
e5dc7d2e
Commit
e5dc7d2e
authored
Jun 06, 2023
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
styleFix
parent
b8e95357
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
91 additions
and
59 deletions
+91
-59
element.less
src/assets/common/element.less
+8
-0
Index.vue
src/components/Index.vue
+33
-16
Index.vue
src/components/construction/Index.vue
+0
-14
Index.vue
src/components/earlywarning/Index.vue
+4
-0
Index.vue
src/components/elevator/Index.vue
+5
-3
Index.vue
src/components/fallprotection/Index.vue
+12
-7
Index.vue
src/components/management/Index.vue
+1
-1
preComDialog.vue
src/components/management/preComDialog.vue
+1
-1
sampleDialog.vue
src/components/management/sampleDialog.vue
+1
-1
CorrectDialog.vue
src/components/projectcheck/CorrectDialog.vue
+1
-1
Index.vue
src/components/projectcheck/Index.vue
+4
-2
Index.vue
src/components/realname/Index.vue
+4
-0
Index.vue
src/components/safecap/Index.vue
+4
-4
mapDialog.vue
src/components/safecap/mapDialog.vue
+1
-1
Index.vue
src/components/tower/Index.vue
+5
-3
deviceDialog.vue
src/components/tower/deviceDialog.vue
+1
-1
Index.vue
src/components/unloadingplatform/Index.vue
+6
-4
No files found.
src/assets/common/element.less
View file @
e5dc7d2e
...
@@ -200,4 +200,12 @@
...
@@ -200,4 +200,12 @@
::v-deep .el-step__line {
::v-deep .el-step__line {
top: 50% !important;
top: 50% !important;
transform: translateY(-50%) !important;
transform: translateY(-50%) !important;
}
::v-deep .el-dialog {
margin: 0 auto !important;
position: fixed;
left: 50%;
top: 50%;
transform: translateX(-50%)translateY(-50%);
}
}
\ No newline at end of file
src/components/Index.vue
View file @
e5dc7d2e
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
v-if=
"router.child && router.child.length == 0"
v-if=
"router.child && router.child.length == 0"
:key=
"index"
:key=
"index"
class=
"router-link"
class=
"router-link"
@
click=
"childRouteName = ''"
>
>
<router-link
<router-link
:to=
"
{ path: router.menu_url, query: { token_code: token } }"
:to=
"
{ path: router.menu_url, query: { token_code: token } }"
...
@@ -30,19 +31,22 @@
...
@@ -30,19 +31,22 @@
</div>
</div>
<el-dropdown
v-else
:key=
"index"
placement=
"bottom"
>
<el-dropdown
v-else
:key=
"index"
placement=
"bottom"
>
<div
class=
"parent-router"
>
<div
:class=
"['parent-router', childRouteName ? 'active' : '']"
>
{{
router
.
right_name
}}
{{
router
.
right_name
}}{{
childRouteName
?
`/${childRouteName
}
`
:
""
}}
<
/div
>
<
/div
>
<
el
-
dropdown
-
menu
slot
=
"dropdown"
>
<
el
-
dropdown
-
menu
slot
=
"dropdown"
>
<
el
-
dropdown
-
item
<
el
-
dropdown
-
item
v
-
for
=
"(child, cIndex) in router.child"
v
-
for
=
"(child, cIndex) in router.child"
:
key
=
"cIndex"
:
key
=
"cIndex"
>
>
<router-link
<
div
@
click
=
"setRoute(router, child)"
>
:to=
"
{ path: child.menu_url, query: { token_code: token } }"
<
router
-
link
>
:
to
=
"{ path: child.menu_url, query: { token_code: token
}
}
"
{{
child
.
right_name
}}
</router-link
>
>
{{
child
.
right_name
}}
<
/router-lin
k
>
<
/div
>
<
/el-dropdown-item
>
<
/el-dropdown-item
>
<
/el-dropdown-menu
>
<
/el-dropdown-menu
>
<
/el-dropdown
>
<
/el-dropdown
>
...
@@ -66,23 +70,28 @@
...
@@ -66,23 +70,28 @@
:
key
=
"index"
:
key
=
"index"
:
to
=
"{ path: router.menu_url, query: { token_code: token
}
}
"
:
to
=
"{ path: router.menu_url, query: { token_code: token
}
}
"
>
>
{{
router
.
right_name
}}
</router-link
<
span
@
click
=
"childRouteName = ''"
>
{{
router
.
right_name
}}
<
/span></
router
-
link
>
>
<
el
-
dropdown
v
-
else
:
key
=
"index"
placement
=
"bottom"
>
<
el
-
dropdown
v
-
else
:
key
=
"index"
placement
=
"bottom"
>
<div
class=
"parent-router"
>
<
div
:
class
=
"['parent-router', childRouteName ? 'active' : '']"
>
{{
router
.
right_name
}}
{{
router
.
right_name
}}
{{
router
.
childRoute
?
`/${childRouteName
}
`
:
""
}}
<
/div
>
<
/div
>
<
el
-
dropdown
-
menu
slot
=
"dropdown"
>
<
el
-
dropdown
-
menu
slot
=
"dropdown"
>
<
el
-
dropdown
-
item
<
el
-
dropdown
-
item
v
-
for
=
"(child, cIndex) in router.child"
v
-
for
=
"(child, cIndex) in router.child"
:
key
=
"cIndex"
:
key
=
"cIndex"
>
>
<router-link
<
div
@
click
=
"setRoute(router, child)"
>
:to=
"
{ path: child.menu_url, query: { token_code: token } }"
<
router
-
link
>
:
to
=
"{ path: child.menu_url, query: { token_code: token
}
}
"
{{
child
.
right_name
}}
</router-link
>
>
{{
child
.
right_name
}}
<
/router-lin
k
>
<
/div
>
<
/el-dropdown-item
>
<
/el-dropdown-item
>
<
/el-dropdown-menu
>
<
/el-dropdown-menu
>
<
/el-dropdown
>
<
/el-dropdown
>
...
@@ -117,6 +126,7 @@ export default {
...
@@ -117,6 +126,7 @@ export default {
screenDetail
:
{
}
,
screenDetail
:
{
}
,
leftNav
:
[],
leftNav
:
[],
rightNav
:
[],
rightNav
:
[],
childRouteName
:
""
,
}
;
}
;
}
,
}
,
methods
:
{
methods
:
{
...
@@ -192,6 +202,10 @@ export default {
...
@@ -192,6 +202,10 @@ export default {
jumpBack
()
{
jumpBack
()
{
window
.
location
.
href
=
window
.
location
.
origin
+
"/pweb/m/"
;
window
.
location
.
href
=
window
.
location
.
origin
+
"/pweb/m/"
;
}
,
}
,
setRoute
(
router
,
child
)
{
console
.
log
(
router
,
child
);
this
.
childRouteName
=
child
.
right_name
;
}
,
}
,
}
,
computed
:
{
computed
:
{
token
()
{
token
()
{
...
@@ -275,6 +289,7 @@ export default {
...
@@ -275,6 +289,7 @@ export default {
}
}
}
}
.
parent
-
router
{
.
parent
-
router
{
position
:
relative
;
margin
-
right
:
0
!
important
;
margin
-
right
:
0
!
important
;
}
}
.
router
-
link
{
.
router
-
link
{
...
@@ -301,7 +316,9 @@ a,
...
@@ -301,7 +316,9 @@ a,
&
:
last
-
child
{
&
:
last
-
child
{
margin
-
right
:
0
;
margin
-
right
:
0
;
}
}
&:hover {
&
:
hover
,
&
.
active
{
color
:
#
fff
;
color
:
#
fff
;
border
-
color
:
#
27
acfb
;
border
-
color
:
#
27
acfb
;
position
:
relative
;
position
:
relative
;
...
...
src/components/construction/Index.vue
View file @
e5dc7d2e
...
@@ -218,20 +218,6 @@
...
@@ -218,20 +218,6 @@
<div
class=
"step-description"
>
{{
progress
.
name
}}
</div>
<div
class=
"step-description"
>
{{
progress
.
name
}}
</div>
</
template
>
</
template
>
</el-step>
</el-step>
<el-step
v-for=
"(progress, index) in progressDetail.progress_data"
:key=
"index"
>
<
template
#
title
>
<div
class=
"step-title"
>
{{
progress
.
over_date
}}
<div
class=
"step-status"
>
{{
progress
.
status_text
}}
</div>
</div>
</
template
>
<
template
#
description
>
<div
class=
"step-description"
>
{{
progress
.
name
}}
</div>
</
template
>
</el-step>
</el-steps>
</el-steps>
</div>
</div>
</div>
</div>
...
...
src/components/earlywarning/Index.vue
View file @
e5dc7d2e
...
@@ -635,9 +635,13 @@ export default {
...
@@ -635,9 +635,13 @@ export default {
}
}
}
}
.no-data {
.no-data {
position: absolute;
text-align: center;
text-align: center;
font-size: 14px;
font-size: 14px;
color: #86919e;
color: #86919e;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
img {
img {
width: 300px;
width: 300px;
margin: 0 auto;
margin: 0 auto;
...
...
src/components/elevator/Index.vue
View file @
e5dc7d2e
...
@@ -405,7 +405,8 @@ export default {
...
@@ -405,7 +405,8 @@ export default {
height: 100%;
height: 100%;
}
}
.side-area {
.side-area {
width: 400px;
width: 25%;
min-width: 400px;
}
}
#elevator-description {
#elevator-description {
...
@@ -461,7 +462,8 @@ export default {
...
@@ -461,7 +462,8 @@ export default {
}
}
}
}
.elevator-container {
.elevator-container {
width: calc(100% - 412px);
width: 75%;
margin-left: 12px;
}
}
.platform {
.platform {
img {
img {
...
@@ -540,7 +542,7 @@ export default {
...
@@ -540,7 +542,7 @@ export default {
font-size: 14px;
font-size: 14px;
text-align: center;
text-align: center;
color: #c6def9;
color: #c6def9;
height: calc(100% - 1
05
px);
height: calc(100% - 1
32
px);
.warning-table-list {
.warning-table-list {
height: calc(100% - 50px);
height: calc(100% - 50px);
overflow-y: auto;
overflow-y: auto;
...
...
src/components/fallprotection/Index.vue
View file @
e5dc7d2e
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
</ShadowContainer>
</ShadowContainer>
<Title
text=
"近24小时报警分析"
></Title>
<Title
text=
"近24小时报警分析"
></Title>
<ShadowContainer
class=
"
short
-container"
>
<ShadowContainer
class=
"
long
-container"
>
<div
id=
"today-warning-chart"
ref=
"today24hourWarningChart"
></div>
<div
id=
"today-warning-chart"
ref=
"today24hourWarningChart"
></div>
</ShadowContainer>
</ShadowContainer>
</div>
</div>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</div>
</div>
</ShadowContainer>
</ShadowContainer>
<Title
text=
"报警信息"
></Title>
<Title
text=
"报警信息"
></Title>
<ShadowContainer
class=
"
short
-container"
>
<ShadowContainer
class=
"
long
-container"
>
<div
id=
"warning-info"
>
<div
id=
"warning-info"
>
<div>
<div>
<div
class=
"warning-info-text"
>
今日报警
</div>
<div
class=
"warning-info-text"
>
今日报警
</div>
...
@@ -426,10 +426,12 @@ export default {
...
@@ -426,10 +426,12 @@ export default {
height: calc(100% - 24px);
height: calc(100% - 24px);
}
}
.side-area {
.side-area {
width: 400px;
width: 25%;
min-width: 400px;
}
}
.mid-area {
.mid-area {
width: calc(100% - 824px);
width: 50%;
margin: 0 12px;
position: relative;
position: relative;
}
}
.swagger-container {
.swagger-container {
...
@@ -588,7 +590,7 @@ export default {
...
@@ -588,7 +590,7 @@ export default {
font-size: 14px;
font-size: 14px;
text-align: center;
text-align: center;
color: #c6def9;
color: #c6def9;
height: calc(100% - 1
05
px);
height: calc(100% - 1
32
px);
.warning-table-list {
.warning-table-list {
height: calc(100% - 50px);
height: calc(100% - 50px);
overflow-y: auto;
overflow-y: auto;
...
@@ -673,7 +675,10 @@ export default {
...
@@ -673,7 +675,10 @@ export default {
}
}
}
}
.short-container {
.short-container {
height: calc(50% - 108px);
height: calc(42.5% - 108px);
}
.long-container {
height: calc(58% - 108px);
}
}
.cover-area {
.cover-area {
position: absolute;
position: absolute;
...
@@ -681,7 +686,7 @@ export default {
...
@@ -681,7 +686,7 @@ export default {
height: 100%;
height: 100%;
left: 0;
left: 0;
top: 0;
top: 0;
z-index: 999
99
;
z-index: 999;
box-shadow: #1f81ef 0px 0px 8px inset;
box-shadow: #1f81ef 0px 0px 8px inset;
pointer-events: none;
pointer-events: none;
}
}
...
...
src/components/management/Index.vue
View file @
e5dc7d2e
...
@@ -293,7 +293,7 @@ export default {
...
@@ -293,7 +293,7 @@ export default {
width: 25%;
width: 25%;
}
}
.mid-area {
.mid-area {
width: calc(50% -
40
px);
width: calc(50% -
24
px);
margin: 0 20px;
margin: 0 20px;
.status-container {
.status-container {
display: flex;
display: flex;
...
...
src/components/management/preComDialog.vue
View file @
e5dc7d2e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
title=
"近三日预委托记录"
title=
"近三日预委托记录"
width=
"80vw"
width=
"80vw"
top=
"
10vh
"
top=
"
0
"
>
>
<div>
<div>
<el-table
:data=
"tableData"
height=
"550px"
stripe
>
<el-table
:data=
"tableData"
height=
"550px"
stripe
>
...
...
src/components/management/sampleDialog.vue
View file @
e5dc7d2e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
title=
"取样详情"
title=
"取样详情"
width=
"80vw"
width=
"80vw"
top=
"
10vh
"
top=
"
0
"
>
>
<div
id=
"sample-container"
>
<div
id=
"sample-container"
>
<div
id=
"sample-map-container"
></div>
<div
id=
"sample-map-container"
></div>
...
...
src/components/projectcheck/CorrectDialog.vue
View file @
e5dc7d2e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
title=
"整改详情"
title=
"整改详情"
width=
"70vw"
width=
"70vw"
top=
"
20px
"
top=
"
0
"
append-to-body
append-to-body
>
>
<div
id=
"scroll-dialog"
>
<div
id=
"scroll-dialog"
>
...
...
src/components/projectcheck/Index.vue
View file @
e5dc7d2e
...
@@ -590,11 +590,13 @@ export default {
...
@@ -590,11 +590,13 @@ export default {
padding-bottom: 0;
padding-bottom: 0;
height: 100%;
height: 100%;
.side-area {
.side-area {
width: 460px;
width: 25%;
min-width: 400px;
height: 100%;
height: 100%;
}
}
.right-area {
.right-area {
width: calc(100% - 472px);
width: 75%;
margin-left: 12px;
height: 100%;
height: 100%;
}
}
}
}
...
...
src/components/realname/Index.vue
View file @
e5dc7d2e
...
@@ -913,6 +913,10 @@ export default {
...
@@ -913,6 +913,10 @@ export default {
text-align: center;
text-align: center;
font-size: 14px;
font-size: 14px;
color: #86919e;
color: #86919e;
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
img {
img {
width: 200px;
width: 200px;
margin: 0 auto;
margin: 0 auto;
...
...
src/components/safecap/Index.vue
View file @
e5dc7d2e
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
:visible
.
sync=
"historyRouteVisible"
:visible
.
sync=
"historyRouteVisible"
append-to-body
append-to-body
title=
"历史使用记录"
title=
"历史使用记录"
top=
"
3vh
"
top=
"
0
"
>
>
<el-form
inline
:model=
"searchForm"
>
<el-form
inline
:model=
"searchForm"
>
<el-form-item
label=
"使用日期"
>
<el-form-item
label=
"使用日期"
>
...
@@ -415,10 +415,10 @@ export default {
...
@@ -415,10 +415,10 @@ export default {
padding-bottom: 0;
padding-bottom: 0;
height: calc(100% - 24px);
height: calc(100% - 24px);
.side-area {
.side-area {
width:
4
00px;
width:
3
00px;
}
}
#map-area {
#map-area {
width: calc(100% -
4
12px);
width: calc(100% -
3
12px);
height: 100%;
height: 100%;
position: relative;
position: relative;
.cover-area {
.cover-area {
...
@@ -427,7 +427,7 @@ export default {
...
@@ -427,7 +427,7 @@ export default {
height: 100%;
height: 100%;
left: 0;
left: 0;
top: 0;
top: 0;
z-index: 999
99
;
z-index: 999;
box-shadow: #1f81ef 0px 0px 8px inset;
box-shadow: #1f81ef 0px 0px 8px inset;
pointer-events: none;
pointer-events: none;
}
}
...
...
src/components/safecap/mapDialog.vue
View file @
e5dc7d2e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
title=
"使用轨迹"
title=
"使用轨迹"
width=
"1200px"
width=
"1200px"
top=
"
3vh
"
top=
"
0
"
append-to-body
append-to-body
>
>
<div>
<div>
...
...
src/components/tower/Index.vue
View file @
e5dc7d2e
...
@@ -725,10 +725,12 @@ export default {
...
@@ -725,10 +725,12 @@ export default {
padding-bottom: 0;
padding-bottom: 0;
height: calc(100% - 24px);
height: calc(100% - 24px);
.side-area {
.side-area {
width: 360px;
width: 25%;
min-width: 400px;
}
}
#mid-area {
#mid-area {
width: calc(100% - 744px);
width: 50%;
margin: 0 12px;
position: relative;
position: relative;
}
}
}
}
...
@@ -990,7 +992,7 @@ export default {
...
@@ -990,7 +992,7 @@ export default {
height: 100%;
height: 100%;
left: 0;
left: 0;
top: 0;
top: 0;
z-index: 999
99
;
z-index: 999;
box-shadow: #1f81ef 0px 0px 8px inset;
box-shadow: #1f81ef 0px 0px 8px inset;
pointer-events: none;
pointer-events: none;
}
}
...
...
src/components/tower/deviceDialog.vue
View file @
e5dc7d2e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
:title=
"deviceData.device_sn"
:title=
"deviceData.device_sn"
@
opened=
"openedEvents"
@
opened=
"openedEvents"
width=
"1820px"
width=
"1820px"
top=
"
5vh
"
top=
"
0
"
>
>
<div
id=
"device-container"
>
<div
id=
"device-container"
>
<div
class=
"left-info"
>
<div
class=
"left-info"
>
...
...
src/components/unloadingplatform/Index.vue
View file @
e5dc7d2e
...
@@ -504,10 +504,12 @@ export default {
...
@@ -504,10 +504,12 @@ export default {
height: calc(100% - 24px);
height: calc(100% - 24px);
}
}
.side-area {
.side-area {
width: 400px;
width: 25%;
min-width: 400px;
}
}
.mid-area {
.mid-area {
width: calc(100% - 824px);
width: 50%;
margin: 0 12px;
position: relative;
position: relative;
height: 100%;
height: 100%;
}
}
...
@@ -665,7 +667,7 @@ export default {
...
@@ -665,7 +667,7 @@ export default {
font-size: 14px;
font-size: 14px;
text-align: center;
text-align: center;
color: #c6def9;
color: #c6def9;
height: calc(100% - 1
05
px);
height: calc(100% - 1
32
px);
.warning-table-list {
.warning-table-list {
height: calc(100% - 50px);
height: calc(100% - 50px);
overflow-y: auto;
overflow-y: auto;
...
@@ -831,7 +833,7 @@ export default {
...
@@ -831,7 +833,7 @@ export default {
height: 100%;
height: 100%;
left: 0;
left: 0;
top: 0;
top: 0;
z-index: 999
99
;
z-index: 999;
box-shadow: #1f81ef 0px 0px 8px inset;
box-shadow: #1f81ef 0px 0px 8px inset;
pointer-events: none;
pointer-events: none;
}
}
...
...
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