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
f371f505
Commit
f371f505
authored
Apr 28, 2023
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
04fb8503
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
5 deletions
+29
-5
Index.vue
src/components/construction/Index.vue
+29
-5
No files found.
src/components/construction/Index.vue
View file @
f371f505
...
@@ -111,7 +111,20 @@
...
@@ -111,7 +111,20 @@
<td>
<td>
<div
class=
"table-label"
>
勘察单位
</div>
<div
class=
"table-label"
>
勘察单位
</div>
</td>
</td>
<td></td>
<td>
<div>
<div
v-for=
"(unit, index) in screenDetail.unitList.kcList"
:key=
"index"
class=
"table-unit"
>
<div
class=
"unit-name"
>
{{
unit
.
company_name
}}
</div>
<div
class=
"unit-contact"
>
{{
unit
.
contact_person
}}
(
{{
unit
.
contact_mobile
}}
)
</div>
</div>
</div>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
...
@@ -123,14 +136,14 @@
...
@@ -123,14 +136,14 @@
<div
class=
"checks"
>
<div
class=
"checks"
>
<div
class=
"title"
>
管理人员/考勤率
</div>
<div
class=
"title"
>
管理人员/考勤率
</div>
<div
class=
"count"
style=
"color: rgba(254, 186, 1, 1)"
>
<div
class=
"count"
style=
"color: rgba(254, 186, 1, 1)"
>
98.2
<span>
%
</span>
{{
screenDetail
.
today_manage_attendance_rate
}}
<span>
%
</span>
</div>
</div>
<img
src=
"@/assets/icon-person.png"
alt=
""
/>
<img
src=
"@/assets/icon-person.png"
alt=
""
/>
</div>
</div>
<div
class=
"checks"
>
<div
class=
"checks"
>
<div
class=
"title"
>
普通工人/考勤率
</div>
<div
class=
"title"
>
普通工人/考勤率
</div>
<div
class=
"count"
style=
"color: rgba(24, 215, 185, 1)"
>
<div
class=
"count"
style=
"color: rgba(24, 215, 185, 1)"
>
98.2
<span>
%
</span>
{{
screenDetail
.
today_normal_attendance_rate
}}
<span>
%
</span>
</div>
</div>
<img
src=
"@/assets/icon-person.png"
alt=
""
/>
<img
src=
"@/assets/icon-person.png"
alt=
""
/>
</div>
</div>
...
@@ -173,7 +186,7 @@
...
@@ -173,7 +186,7 @@
</div>
</div>
<div
class=
"progress-day"
>
<div
class=
"progress-day"
>
<div
class=
"progress-count"
style=
"color: #ff5151"
>
<div
class=
"progress-count"
style=
"color: #ff5151"
>
{{
progressDetail
.
sg_num
}}
{{
progressDetail
.
current_progress_over_day
}}
</div>
</div>
<div
class=
"progress-text"
>
距离当前工期结束(天)
</div>
<div
class=
"progress-text"
>
距离当前工期结束(天)
</div>
</div>
</div>
...
@@ -184,7 +197,6 @@
...
@@ -184,7 +197,6 @@
<el-step
<el-step
v-for=
"(progress, index) in progressDetail.progress_data"
v-for=
"(progress, index) in progressDetail.progress_data"
:key=
"index"
:key=
"index"
status=
"error"
>
>
<template
#
title
>
<template
#
title
>
<div
class=
"step-title"
>
<div
class=
"step-title"
>
...
@@ -326,6 +338,7 @@ export default {
...
@@ -326,6 +338,7 @@ export default {
jsList
:
[],
jsList
:
[],
jlList
:
[],
jlList
:
[],
sjList
:
[],
sjList
:
[],
kcList
:
[],
},
},
manageList
:
[],
manageList
:
[],
plane_image_arr
:
[],
plane_image_arr
:
[],
...
@@ -335,6 +348,7 @@ export default {
...
@@ -335,6 +348,7 @@ export default {
sg_num
:
0
,
sg_num
:
0
,
zgq_num
:
0
,
zgq_num
:
0
,
step
:
0
,
step
:
0
,
current_progress_over_day
:
0
,
},
},
aiwarningData
:
[],
aiwarningData
:
[],
};
};
...
@@ -450,6 +464,16 @@ export default {
...
@@ -450,6 +464,16 @@ export default {
getProgressDetail
().
then
((
res
)
=>
{
getProgressDetail
().
then
((
res
)
=>
{
if
(
res
.
status
==
200
)
{
if
(
res
.
status
==
200
)
{
this
.
progressDetail
=
res
.
data
;
this
.
progressDetail
=
res
.
data
;
this
.
$nextTick
(()
=>
{
const
lines
=
document
.
getElementsByClassName
(
"el-step__line-inner"
);
lines
[
this
.
progressDetail
.
step
-
1
].
style
.
width
=
res
.
data
.
current_progress_rate
+
"%"
;
lines
[
this
.
progressDetail
.
step
-
1
].
style
.
borderWidth
=
"1px"
;
console
.
log
(
document
.
getElementsByClassName
(
"el-step__line-inner"
));
});
}
}
});
});
getAIWarningData
().
then
((
res
)
=>
{
getAIWarningData
().
then
((
res
)
=>
{
...
...
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