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
be1b5992
Commit
be1b5992
authored
Nov 19, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
落表检查详情-下拉菜单
parent
b6de5b32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
index.ts
src/router/routes/index.ts
+1
-1
index.vue
...s/dataStandards/labelDropInspection/labelDetail/index.vue
+12
-6
No files found.
src/router/routes/index.ts
View file @
be1b5992
...
...
@@ -478,7 +478,7 @@ export const DataStandardRoute: AppRouteRecordRaw = {
name
:
'labelReport'
,
component
:
()
=>
import
(
'@/views/dataStandards/labelDropInspection/labelReport/index.vue'
),
meta
:
{
title
:
'
落标检查详情
'
,
title
:
'
查看落标报告
'
,
icon
:
''
,
},
},
...
...
src/views/dataStandards/labelDropInspection/labelDetail/index.vue
View file @
be1b5992
...
...
@@ -73,16 +73,22 @@
@
click=
"handleDelete"
><DeleteOutlined
/></a-button>
<!--
<a-button
type=
"primary"
>
添加元数据
</a-button>
-->
<a-button
:disabled=
"disabled"
type=
"primary"
@
click=
"handleExcel"
>
Excel导入
</a-button>
<a-button
:disabled=
"disabled"
type=
"primary"
@
click=
"handleAdd"
>
手动添加
</a-button>
<Dropdown
:disabled=
"disabled"
>
<a-button
type=
"primary"
>
添加元数据
</a-button>
<template
#
overlay
>
<Menu>
<MenuItem
@
click=
"handleExcel"
>
Excel导入
</MenuItem>
<MenuItem
@
click=
"handleAdd"
>
手动添加
</MenuItem>
</Menu>
</
template
>
</Dropdown>
</template>
<
template
#
name=
"{ text, record }"
>
<div>
{{
text
}}
</div>
<div
style=
"color: #9195a4"
>
{{
record
.
nameTxt
}}
</div>
</
template
>
<
template
#
check=
"{ text, record }"
>
<Switch
v-model:checked=
"record['check']"
/>
<Switch
:disabled=
"disabled"
v-model:checked=
"record['check']"
/>
</
template
>
</BasicTable>
</template>
...
...
@@ -92,7 +98,7 @@
</template>
<
script
lang=
"ts"
setup
>
import
{
Radio
,
Select
,
Switch
}
from
'ant-design-vue'
;
import
{
Radio
,
Select
,
Switch
,
Dropdown
,
Menu
,
MenuItem
}
from
'ant-design-vue'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
DeleteOutlined
,
QuestionCircleOutlined
}
from
'@ant-design/icons-vue'
;
import
{
BasicTable
,
useTable
}
from
'@/components/Table'
;
...
...
@@ -160,7 +166,7 @@
function
handleOperation
()
{
router
.
push
({
path
:
'/dataQuality/dataSheet/task/taskOperation'
,
})
})
;
}
const
[
excelModel
,
{
openModal
:
openExcelModal
}]
=
useModal
();
const
[
addMetadataModel
,
{
openModal
:
openAddMetadataModel
}]
=
useModal
();
...
...
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