Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
quality-dynamic
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
张牧越
quality-dynamic
Commits
33f8370f
Commit
33f8370f
authored
Dec 06, 2024
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ced7199f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
18 deletions
+51
-18
index.html
public/index.html
+11
-0
dataStatis.js
src/api/dataStatis.js
+1
-1
zt.png
src/assets/images/dialogs/zt.png
+0
-0
Dialog.vue
src/components/common/Dialog.vue
+6
-1
AreaProjectDetail.vue
src/views/DataStatis/Dialogs/AreaProjectDetail.vue
+33
-16
No files found.
public/index.html
View file @
33f8370f
...
@@ -28,6 +28,17 @@
...
@@ -28,6 +28,17 @@
.el-loading-mask
{
.el-loading-mask
{
z-index
:
99999
!important
;
z-index
:
99999
!important
;
}
}
.full-screen
.el-dialog
{
width
:
100%
!important
;
margin
:
0
!important
;
height
:
100%
!important
;
}
#full-screen
.el-dialog
.el-dialog__body
{
height
:
calc
(
100%
-
.54rem
)
!important
;
overflow
:
auto
;
}
</style>
</style>
</head>
</head>
...
...
src/api/dataStatis.js
View file @
33f8370f
...
@@ -175,7 +175,7 @@ export async function getZLJCList(id) {
...
@@ -175,7 +175,7 @@ export async function getZLJCList(id) {
export
async
function
getAreaDetail
(
projectId
)
{
export
async
function
getAreaDetail
(
projectId
)
{
return
await
request
({
return
await
request
({
url
:
`/site/index/whole/
${
projectId
}
`
,
url
:
`/site/index/whole/
${
86
}
`
,
method
:
'get'
,
method
:
'get'
,
})
})
}
}
...
...
src/assets/images/dialogs/zt.png
View replaced file @
ced7199f
View file @
33f8370f
59.6 KB
|
W:
|
H:
59.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/common/Dialog.vue
View file @
33f8370f
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<el-dialog
<el-dialog
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
:class=
"[isFullScreen ? 'full-screen' : '']"
:class=
"[isFullScreen ? 'full-screen' : '']"
:id=
"[isFullScreen ? 'full-screen' : '']"
:append-to-body=
"true"
:append-to-body=
"true"
:width=
"width"
:width=
"width"
top=
".98rem"
top=
".98rem"
...
@@ -40,10 +41,14 @@ export default {
...
@@ -40,10 +41,14 @@ export default {
type
:
[
String
,
Number
],
type
:
[
String
,
Number
],
default
:
1200
,
default
:
1200
,
},
},
isFullScreen
:
{
type
:
Boolean
,
default
:
false
,
},
},
},
data
()
{
data
()
{
return
{
return
{
isFullScreen
:
false
,
//
isFullScreen: false,
};
};
},
},
computed
:
{
computed
:
{
...
...
src/views/DataStatis/Dialogs/AreaProjectDetail.vue
View file @
33f8370f
...
@@ -2,53 +2,62 @@
...
@@ -2,53 +2,62 @@
<Dialog
<Dialog
:title=
"data.project_name"
:title=
"data.project_name"
:visible=
"dialogVisible"
:visible=
"dialogVisible"
width=
"1
6rem
"
width=
"1
200px
"
@
change-visible=
"changeVisible"
@
change-visible=
"changeVisible"
:destroy-on-close=
"true"
:destroy-on-close=
"true"
is-full-screen
>
>
<div
class=
"top-scores"
>
<div
class=
"top-scores"
>
<div
class=
"top-score"
>
<div
class=
"top-score"
>
<img
src=
"@/assets/images/dialogs/zt.png"
alt=
""
/>
<img
src=
"@/assets/images/dialogs/zt.png"
alt=
""
/>
工程整体得分
<div>
工程整体得分
</div>
<span
<div
class=
"count"
:style=
"
{
:style=
"
{
color: project_info.total_score
<
warningNum
[
6
]
?
'#
f86262
'
:
'',
color: project_info.total_score
<
warningNum
[
6
]
?
'#
f86262
'
:
'',
}"
}"
>
{{
project_info
.
total_score
}}
</span
>
>
{{
project_info
.
total_score
}}
</div>
</div>
</div>
<div
class=
"top-score"
>
<div
class=
"top-score"
>
<img
src=
"@/assets/images/dialogs/zfjg.png"
alt=
""
/>
<img
src=
"@/assets/images/dialogs/zfjg.png"
alt=
""
/>
政府监管得分
<div>
政府监管得分
</div>
<span
<div
class=
"count"
:style=
"
{
:style=
"
{
color:
color:
project_info.regulation_score
<
warningNum
[
2
]
?
'#
f86262
'
:
'',
project_info.regulation_score
<
warningNum
[
2
]
?
'#
f86262
'
:
'',
}"
}"
>
{{
project_info
.
regulation_score
}}
</span
>
>
{{
project_info
.
regulation_score
}}
</div>
</div>
</div>
<div
class=
"top-score"
>
<div
class=
"top-score"
>
<img
src=
"@/assets/images/dialogs/gczl.png"
alt=
""
/>
<img
src=
"@/assets/images/dialogs/gczl.png"
alt=
""
/>
工程质量得分
<div>
工程质量得分
</div>
<span
<div
class=
"count"
:style=
"
{
:style=
"
{
color:
color:
project_info.quality_total_score
<
warningNum
[
7
]
?
'#
f86262
'
:
'',
project_info.quality_total_score
<
warningNum
[
7
]
?
'#
f86262
'
:
'',
}"
}"
>
{{
project_info
.
quality_total_score
}}
</span
>
>
{{
project_info
.
quality_total_score
}}
</div>
</div>
</div>
<div
class=
"top-score"
>
<div
class=
"top-score"
>
<img
src=
"@/assets/images/dialogs/cxcy.png"
alt=
""
/>
<img
src=
"@/assets/images/dialogs/cxcy.png"
alt=
""
/>
创新创优得分
<div>
创新创优得分
</div>
<span
<div
class=
"count"
:style=
"
{
:style=
"
{
color:
color:
project_info.excellence_score
<
warningNum
[
3
]
?
'#
f86262
'
:
'',
project_info.excellence_score
<
warningNum
[
3
]
?
'#
f86262
'
:
'',
}"
}"
>
{{
project_info
.
excellence_score
}}
</span
>
>
{{
project_info
.
excellence_score
}}
</div>
</div>
</div>
</div>
</div>
...
@@ -152,7 +161,7 @@
...
@@ -152,7 +161,7 @@
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
<div
class=
"score-detail"
style=
"max-height: 6rem; overflow-y: auto"
>
<div
class=
"score-detail"
>
<div
class=
"inner-title"
>
<div
class=
"inner-title"
>
质量检测
<span>
(得分:
{{
project_info
.
quality_check_score
}}
)
</span>
质量检测
<span>
(得分:
{{
project_info
.
quality_check_score
}}
)
</span>
</div>
</div>
...
@@ -194,6 +203,7 @@
...
@@ -194,6 +203,7 @@
:data=
"pd_info"
:data=
"pd_info"
style=
"margin-top: 0"
style=
"margin-top: 0"
:span-method=
"handleSpan"
:span-method=
"handleSpan"
:max-height=
"400"
>
>
<el-table-column
<el-table-column
label=
"单位工程名称"
label=
"单位工程名称"
...
@@ -560,16 +570,23 @@ export default {
...
@@ -560,16 +570,23 @@ export default {
background: #12407f;
background: #12407f;
color: #d9d9d9;
color: #d9d9d9;
white-space: nowrap;
white-space: nowrap;
div {
line-height: 40px;
display: inline-block;
vertical-align: top;
}
&:first-child {
&:first-child {
background: #117093;
background: #117093;
border: 4px solid #1d81a6;
border: 4px solid #1d81a6;
}
}
span
{
.count
{
font-size: 28px;
font-size: 28px;
vertical-align: top;
line-height: 40px;
line-height: 40px;
vertical-align: top;
font-weight: bold;
font-weight: bold;
margin-left: 20px;
margin-left: 20px;
display: inline-block;
}
}
img {
img {
width: 40px;
width: 40px;
...
...
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