Commit 837331fb by Tianqing Liu

feat: 聚类结果,增加刷新功能

1 parent 1efe7e37
......@@ -206,9 +206,9 @@
<DetailDialogComparison ref="DetailDialogComparisonRef" />
<singleImgComparisonDialog ref="singleImgComparisonRef"></singleImgComparisonDialog>
<PersonGroupEditor ref='personGroupEditorRef' @refresh="confirmSearch" />
<PersonGroupMover ref='personGroupMoverRef' :data-list="dataList" @refresh="confirmSearch" />
<PersonGroupDialog ref='personGroupDialogRef' @refresh="confirmSearch" />
<PersonGroupEditor ref='personGroupEditorRef' @refresh="handleRefresh" />
<PersonGroupMover ref='personGroupMoverRef' :data-list="dataList" @refresh="handleRefresh" />
<PersonGroupDialog ref='personGroupDialogRef' @refresh="handleRefresh" />
</template>
<script>
......@@ -456,6 +456,10 @@ export default {
pageNum.value = 1
confirmSearch()
}
const handleRefresh = function() {
selectedPersonList.value = []
confirmSearch()
}
const confirmSearch = function() {
isLoading.value = true
const rawData = toRaw(queryForm)
......@@ -667,6 +671,7 @@ export default {
}
const handleClick = function(data, event){
console.log('handleClick', event)
// 多选
if (event.metaKey || event.altKey) {
selectedPersonList.value.push(data)
} else {
......@@ -847,6 +852,7 @@ export default {
formatGender,
downloadTrajectoryFile,
clickSearch,
handleRefresh,
// ref
// imgModelRef,
DetailDialogRef,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!