Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
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
张伯涛
bigDataSystem
Commits
253d2036
Commit
253d2036
authored
Dec 16, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
落标检查报告-改
parent
de720ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
29 deletions
+26
-29
index.vue
...s/dataStandards/labelDropInspection/labelReport/index.vue
+26
-29
No files found.
src/views/dataStandards/labelDropInspection/labelReport/index.vue
View file @
253d2036
...
@@ -15,13 +15,15 @@
...
@@ -15,13 +15,15 @@
</div>
</div>
</div>
</div>
<span>
执行批次
</span>
<span>
执行批次
</span>
<Select
<div>
@
change=
"getTimeDifference()"
<Select
:options=
"options"
@
change=
"getTimeDifference()"
style=
"width: 320px"
:options=
"options"
v-model:value=
"selectBatch"
style=
"width: 320px"
/>
v-model:value=
"selectBatch"
<a-button>
导出报告
</a-button>
/>
</div>
<a-button
@
click=
"handleExport"
>
导出报告
</a-button>
</div>
</div>
</
template
>
</
template
>
<
template
#
footer
>
<
template
#
footer
>
...
@@ -29,13 +31,13 @@
...
@@ -29,13 +31,13 @@
<Descriptions
.
Item
label=
"任务名称"
>
<Descriptions
.
Item
label=
"任务名称"
>
{{
modelName
}}
{{
modelName
}}
</Descriptions
.Item
>
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"开始时间
:
"
>
<Descriptions
.
Item
label=
"开始时间"
>
{{
timeList
?
timeList
[
0
]
:
''
}}
{{
timeList
?
timeList
[
0
]
:
''
}}
</Descriptions
.Item
>
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"结束时间
:
"
>
<Descriptions
.
Item
label=
"结束时间"
>
{{
timeList
?
timeList
[
1
]
:
''
}}
{{
timeList
?
timeList
[
1
]
:
''
}}
</Descriptions
.Item
>
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"耗时
:
"
>
{{
runTime
}}
s 0ms
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"耗时"
>
{{
runTime
}}
s 0ms
</Descriptions
.Item
>
</Descriptions>
</Descriptions>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<div
style=
"flex: 1"
>
<div
style=
"flex: 1"
>
...
@@ -77,21 +79,8 @@
...
@@ -77,21 +79,8 @@
</div>
</div>
</template>
</template>
<
template
#
toolbar
>
</
template
>
<
template
#
toolbar
>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<template
v-if=
"column.key === 'action'"
>
<TableAction
v-if=
"record.result === '未通过'"
:actions=
"[
{
// 编辑
icon: 'clarity:contract-line',
},
]"
/>
</
template
>
</template>
<
template
#
standard=
"{ text, record }"
>
<
template
#
standard=
"{ text, record }"
>
<a>
{{
text
}}
</a>
<a
@
click=
"handleStandard"
>
{{
text
}}
</a>
</
template
>
</
template
>
<
template
#
result=
"{ text, record }"
>
<
template
#
result=
"{ text, record }"
>
<CheckCircleOutlined
v-if=
"text === '通过'"
style=
"color: #25a665"
/>
<CheckCircleOutlined
v-if=
"text === '通过'"
style=
"color: #25a665"
/>
...
@@ -127,8 +116,10 @@
...
@@ -127,8 +116,10 @@
}
from
'@/views/dataStandards/labelDropInspection/labelReport/report.data'
;
}
from
'@/views/dataStandards/labelDropInspection/labelReport/report.data'
;
import
{
reportData
}
from
'@/views/dataStandards/labelDropInspection/labelReport/reportData'
;
import
{
reportData
}
from
'@/views/dataStandards/labelDropInspection/labelReport/reportData'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
type
EChartsOption
=
echarts
.
EChartsOption
;
type
EChartsOption
=
echarts
.
EChartsOption
;
const
{
createMessage
}
=
useMessage
();
const
route
=
useRoute
();
const
route
=
useRoute
();
const
modelName
=
route
.
query
.
name
;
const
modelName
=
route
.
query
.
name
;
const
path
=
route
.
query
.
path
;
const
path
=
route
.
query
.
path
;
...
@@ -181,12 +172,15 @@
...
@@ -181,12 +172,15 @@
useSearchForm
:
false
,
useSearchForm
:
false
,
showTableSetting
:
false
,
showTableSetting
:
false
,
bordered
:
true
,
bordered
:
true
,
actionColumn
:
{
width
:
60
,
title
:
'操作'
,
dataIndex
:
'action'
,
},
});
});
function
handleStandard
()
{
router
.
push
({
path
:
'/dataStandards/basicStandards/detailStandard'
,
query
:
{
businessId
:
201
,
},
});
}
function
getEcharts1
()
{
function
getEcharts1
()
{
const
chartDom
=
document
.
getElementById
(
'echarts1'
)
!
;
const
chartDom
=
document
.
getElementById
(
'echarts1'
)
!
;
const
myChart
=
echarts
.
init
(
chartDom
);
const
myChart
=
echarts
.
init
(
chartDom
);
...
@@ -304,6 +298,9 @@
...
@@ -304,6 +298,9 @@
function
handleBack
()
{
function
handleBack
()
{
router
.
go
(
-
1
);
router
.
go
(
-
1
);
}
}
function
handleExport
()
{
createMessage
.
success
(
'导出成功!'
);
}
onMounted
(()
=>
{
onMounted
(()
=>
{
getTimeDifference
();
getTimeDifference
();
getEcharts1
();
getEcharts1
();
...
...
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