Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
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
中汽测评-信息安全测评系统
web
Commits
0aa1f3e0
Commit
0aa1f3e0
authored
Mar 13, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(任务概览): 样品
parent
025eb195
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
10 deletions
+29
-10
index.vue
src/views/setting/sample/taskDetails/index.vue
+29
-10
No files found.
src/views/setting/sample/taskDetails/index.vue
View file @
0aa1f3e0
...
...
@@ -507,7 +507,7 @@
:percentage=
"
percentageChange(dataStatistic.testDetailsUnderNum)
"
:format=
"
testStandards
"
:format=
"
progressLine
"
text-color=
"#fff"
></el-progress>
<el-progress
...
...
@@ -516,7 +516,7 @@
:percentage=
"
percentageChange(dataStatistic.testStandardsPassNum)
"
:format=
"
testStandards
"
:format=
"
progressLine
"
status=
"success"
text-color=
"#fff"
></el-progress>
...
...
@@ -526,7 +526,7 @@
:percentage=
"
percentageChange(dataStatistic.testStandardsNoPassNum)
"
:format=
"
testStandards
"
:format=
"
progressLine
"
status=
"warning"
text-color=
"#fff"
></el-progress>
...
...
@@ -536,7 +536,7 @@
:percentage=
"
percentageChange(dataStatistic.testStandardsUnderNum)
"
:format=
"
testStandards
"
:format=
"
progressLine
"
status=
"exception"
color=
"#f98921"
text-color=
"#fff"
...
...
@@ -576,15 +576,23 @@
<div
class=
"bottom"
>
{{
item
.
sampleName
}}
</div>
</div>
</div>
<div
style=
"margin-left: 4.8rem"
>
<div
style=
"margin-left: 4.8rem
; margin-top: 20px
"
>
<div
v-if=
"item.samplePhotos"
>
<image-preview
v-for=
"(item, index) in returnArray(item.samplePhotos)"
:key=
"index"
width=
"32px"
height=
"32px"
:src=
"item.samplePhotos"
style=
"margin-right: 10px"
:src=
"item"
></image-preview>
</div>
<div
v-else
>
暂无样品照片
</div>
<div
v-else
style=
"font-size: 14px; font-weight: 400; color: #bababa"
>
暂无样品照片
</div>
</div>
<el-divider></el-divider>
<el-row
:gutter=
"20"
style=
"margin-bottom: 20px"
>
...
...
@@ -687,15 +695,23 @@
<div
class=
"bottom"
>
{{
item
.
sampleName
}}
</div>
</div>
</div>
<div
style=
"margin-left: 4.8rem"
>
<div
style=
"margin-left: 4.8rem
; margin-top: 20px
"
>
<div
v-if=
"item.samplePhotos"
>
<image-preview
v-for=
"(item, index) in returnArray(item.samplePhotos)"
:key=
"index"
width=
"32px"
height=
"32px"
:src=
"item.samplePhotos"
:src=
"item"
style=
"margin-right: 10px"
></image-preview>
</div>
<div
v-else
>
暂无样品照片
</div>
<div
v-else
style=
"font-size: 14px; font-weight: 400; color: #bababa"
>
暂无样品照片
</div>
</div>
<el-divider></el-divider>
<el-row
:gutter=
"20"
style=
"margin-bottom: 20px"
>
...
...
@@ -802,6 +818,9 @@ export default {
console
.
log
(
'任务详情'
,
res
)
})
},
returnArray
(
data
)
{
return
data
.
split
(
','
)
},
tabClick
()
{},
formatTest
(
percentage
)
{
return
(
percentage
=
`测试通过率\n\n
${
percentage
}
%`
)
...
...
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