Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0b60252a
authored
Apr 10, 2024
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 聚类弹窗,优化
1 parent
0931e64f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/ClusterResult/PersonGroupDialog.vue
src/views/SnapshotCluster/ClusterResult/PersonGroupEditor.vue
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
0b60252
...
@@ -133,12 +133,12 @@
...
@@ -133,12 +133,12 @@
<span
class=
"expandWord"
@
click=
'expandChange(person)'
>
{{
person
.
expand
?
'收起'
:
'展开'
}}
</span>
<span
class=
"expandWord"
@
click=
'expandChange(person)'
>
{{
person
.
expand
?
'收起'
:
'展开'
}}
</span>
<!--修正组类型数据-->
<!--修正组类型数据-->
<a-popconfirm
<a-popconfirm
title=
"
您确认要删除此记录
吗?"
title=
"
将从本组中剔除,您确认
吗?"
ok-text=
"是"
ok-text=
"是"
cancel-text=
"否"
cancel-text=
"否"
@
confirm=
"deletePersonRecord(person)"
@
confirm=
"deletePersonRecord(person)"
>
>
<span
class=
"expandWord"
>
删
除
</span>
<span
class=
"expandWord"
>
剔
除
</span>
</a-popconfirm>
</a-popconfirm>
<span
class=
"expandWord"
@
click=
'updatePersonInfoByGroup(person)'
>
类型修正
</span>
<span
class=
"expandWord"
@
click=
'updatePersonInfoByGroup(person)'
>
类型修正
</span>
<span
class=
"expandWord"
@
click=
'searchPersonInfoByGroup(person)'
>
搜索
</span>
<span
class=
"expandWord"
@
click=
'searchPersonInfoByGroup(person)'
>
搜索
</span>
...
@@ -577,7 +577,7 @@ export default {
...
@@ -577,7 +577,7 @@ export default {
// isShowGroupEditor.value = true
// isShowGroupEditor.value = true
personGroupEditorRef
.
value
.
initDialog
(
data
);
personGroupEditorRef
.
value
.
initDialog
(
data
);
}
}
//
删
除人员
//
剔
除人员
const
selectedPersonList
=
ref
([])
const
selectedPersonList
=
ref
([])
const
deletePersonRecord
=
(
data
)
=>
{
const
deletePersonRecord
=
(
data
)
=>
{
console
.
log
(
'deletePersonRecord'
,
data
)
console
.
log
(
'deletePersonRecord'
,
data
)
...
@@ -585,7 +585,7 @@ export default {
...
@@ -585,7 +585,7 @@ export default {
(
r
)
=>
{
(
r
)
=>
{
if
(
r
.
msg_code
==
200
){
if
(
r
.
msg_code
==
200
){
ElMessage
({
ElMessage
({
message
:
`
删
除成功`
,
message
:
`
剔
除成功`
,
type
:
'success'
type
:
'success'
})
})
selectedPersonList
.
value
=
[]
selectedPersonList
.
value
=
[]
...
...
src/views/SnapshotCluster/ClusterResult/PersonGroupDialog.vue
View file @
0b60252
...
@@ -79,6 +79,10 @@
...
@@ -79,6 +79,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--<div v-if="" class="preview-image">
<a-image :width="200" src="" />
</div>-->
<
template
#
footer
>
<
template
#
footer
>
<a-button
@
click=
"onCancel"
>
返回
</a-button>
<a-button
@
click=
"onCancel"
>
返回
</a-button>
</
template
>
</
template
>
...
...
src/views/SnapshotCluster/ClusterResult/PersonGroupEditor.vue
View file @
0b60252
<
template
>
<
template
>
<a-modal
<a-modal
title=
"
人员
类型修正"
title=
"类型修正"
v-if=
'isVisible'
v-if=
'isVisible'
v-model:visible=
"isVisible"
v-model:visible=
"isVisible"
width=
"400px"
width=
"400px"
...
...
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
View file @
0b60252
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
特征
特征
</span>
</span>
<a-popconfirm
<a-popconfirm
title=
"
您确认要删除此记录
吗?"
title=
"
删除后无法恢复,确认删除
吗?"
ok-text=
"是"
ok-text=
"是"
cancel-text=
"否"
cancel-text=
"否"
@
confirm=
"handleDeleteFileConfirm(item)"
@
confirm=
"handleDeleteFileConfirm(item)"
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment