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
a034bb62
Commit
a034bb62
authored
Dec 26, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑页面
parent
0a21974d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
index.vue
src/views/dataStandards/labelDropInspection/index.vue
+13
-3
index.vue
...s/dataStandards/labelDropInspection/labelDetail/index.vue
+4
-2
No files found.
src/views/dataStandards/labelDropInspection/index.vue
View file @
a034bb62
...
...
@@ -73,7 +73,7 @@
// 编辑
icon: 'ant-design:edit-outlined',
tooltip: '编辑',
onClick: handle
Detail
.bind(null, record),
onClick: handle
Update
.bind(null, record),
},
{
// 移动
...
...
@@ -99,8 +99,10 @@
tooltip: '复制到',
},
{
//
移动
//
详情
icon: 'ion:document-text-outline',
tooltip: '详情',
onClick: handleDetail.bind(null, record),
},
]"
/>
...
...
@@ -190,12 +192,20 @@
}
// 跳转详情页
function
handle
Detail
(
record
)
{
function
handle
Update
(
record
)
{
push
({
path
:
'/dataStandards/labelDropInspection/labelDetail'
,
query
:
{
...
record
,
...{
path
:
path
.
value
+
'/'
+
record
.
name
}
},
});
}
// 跳转详情页
function
handleDetail
(
record
)
{
push
({
path
:
'/dataStandards/labelDropInspection/labelDetail'
,
query
:
{
...
record
,
...{
path
:
path
.
value
+
'/'
+
record
.
name
,
isDetail
:
true
}
},
});
}
// 列表删除
function
handleRemove
(
record
)
{
createMessage
.
success
(
'删除成功!'
);
...
...
src/views/dataStandards/labelDropInspection/labelDetail/index.vue
View file @
a034bb62
...
...
@@ -61,7 +61,7 @@
</div>
<div
class=
"flex"
style=
"gap: 10px"
>
<span>
是否运行质量检查
</span>
<
QuestionCircleOutlined
/>
<
BasicHelp
text=
"是否运行质量检查"
/>
<RadioGroup
:disabled=
"disabled"
v-model:value=
"checkType"
>
<Radio
:value=
"item"
v-for=
"item in ['是', '否']"
:key=
"item"
>
{{
item
}}
</Radio>
</RadioGroup>
...
...
@@ -167,6 +167,7 @@
import
AddMetadataModel
from
'./addMetadataModel.vue'
;
import
AddStandardModel
from
'./AddStandardModel.vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
BasicHelp
from
"@/components/Basic/src/BasicHelp.vue"
;
// 初始化
const
{
createMessage
,
createConfirm
}
=
useMessage
();
...
...
@@ -174,7 +175,8 @@
const
route
=
useRoute
();
const
searchInfo
=
reactive
<
Recordable
>
({});
const
isOnline
=
ref
(
false
);
const
disabled
=
computed
(()
=>
isOnline
.
value
);
// 上线或者编辑页面,都禁用修改
const
disabled
=
computed
(()
=>
isOnline
.
value
||
route
.
query
.
isDetail
);
const
checkType
=
ref
(
'否'
);
const
searchBasic
=
ref
();
const
searchPath
=
ref
();
...
...
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