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
7aa45e24
Commit
7aa45e24
authored
Dec 09, 2024
by
袁家斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change
parent
d8264f27
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
14 deletions
+23
-14
ZLJC.vue
src/views/DataStatis/Dialogs/GCZLDialog/ZLJC.vue
+4
-1
Index.vue
src/views/DataStatis/Index.vue
+19
-13
No files found.
src/views/DataStatis/Dialogs/GCZLDialog/ZLJC.vue
View file @
7aa45e24
...
...
@@ -6,7 +6,7 @@
{{
data
.
project_name
}}
</div>
<div>
质量检测得分:
<span
class=
"count"
>
{{
data
.
quality_check_scor
e
}}
</span>
质量检测得分:
<span
class=
"count"
>
{{
scoreValu
e
}}
</span>
</div>
</div>
<el-table
...
...
@@ -65,6 +65,7 @@ export default {
loadingBG
:
"rgba(0, 0, 0, 0.2)"
,
columns
:
[],
allData
:
[],
scoreValue
:
''
};
},
...
...
@@ -124,6 +125,8 @@ export default {
let
id
=
this
.
tabnamenow
==
'ZLPD'
?
this
.
data
.
id
:
this
.
data
.
project_id
getZLJCList
(
id
).
then
((
res
)
=>
{
this
.
allData
=
[...
res
.
data
.
score_data
];
this
.
infoData
=
res
.
data
.
project_info
this
.
scoreValue
=
this
.
tabnamenow
==
'ZLPD'
?
this
.
data
.
quality_check_score
:
this
.
infoData
.
quality_check_score
let
arr
=
[];
res
.
data
.
score_data
.
forEach
((
item
)
=>
{
...
...
src/views/DataStatis/Index.vue
View file @
7aa45e24
...
...
@@ -134,7 +134,7 @@
:style=
"{ marginTop: '.1rem', height: 'calc(100% - .6rem)' }"
:headers=
"header4_1"
:table-data=
"data4"
@
row-click=
"
rowClickArea
"
@
row-click=
"
(e)=>{rowClickArea(0, e)}
"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'regulation_score'"
>
...
...
@@ -300,27 +300,33 @@
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'score1'"
>
<span>
{{
scope
.
row
.
field_1
||
0
}}
<span
v-if=
"scope.row.check_type_3"
:style=
"
{
color: '#f86262',
}">
{{
scope
.
row
.
check_type_3
||
0
}}
%
</span>
<span>
{{
scope
.
row
.
unqualified_percent
||
0
}}
%
<span
v-else
>
0
%
</span>
</
template
>
<
template
v-if=
"scope.header.slot == 'score2'"
>
<span>
{{
scope
.
row
.
check_type_2
||
0
}}
<span
v-if=
"scope.row.check_type_2"
:style=
"
{
color: '#f86262',
}">
{{
scope
.
row
.
check_type_2
||
0
}}
%
</span>
<span>
{{
scope
.
row
.
unqualified_percent
||
0
}}
%
<span
v-else
>
0
%
</span>
</
template
>
<
template
v-if=
"scope.header.slot == 'score3'"
>
<span>
{{
scope
.
row
.
check_type_1
||
0
}}
<span
v-if=
"scope.row.check_type_1"
:style=
"
{
color: '#f86262',
}">
{{
scope
.
row
.
check_type_1
||
0
}}
%
</span>
<span>
{{
scope
.
row
.
unqualified_percent
||
0
}}
%
<span
v-else
>
0
%
</span>
</
template
>
</template>
...
...
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