Commit 0931e64f by Tianqing Liu

feat: 聚类弹窗,人员分类完成,op

1 parent d12d07cd
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
</el-row> </el-row>
</div> </div>
<div class="right-part"> <div class="right-part">
<template v-if="groupList.length > 0">
<div class="classBox" v-for="row in groupList" :key="row.person_unid"> <div class="classBox" v-for="row in groupList" :key="row.person_unid">
<el-row> <el-row>
<el-col :span="3" v-for="item in row.personList" :key="item.id"> <el-col :span="3" v-for="item in row.personList" :key="item.id">
...@@ -73,6 +74,8 @@ ...@@ -73,6 +74,8 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
</template>
<a-empty style="margin-top: 200px;" v-else />
</div> </div>
</div> </div>
</div> </div>
...@@ -95,6 +98,7 @@ export default { ...@@ -95,6 +98,7 @@ export default {
setup(props, { emit }) { setup(props, { emit }) {
const isVisible = ref(false); const isVisible = ref(false);
const personList = ref([]) const personList = ref([])
// 右侧分组
const groupList = ref([]) const groupList = ref([])
const currentPerson = ref({}) const currentPerson = ref({})
// 表单 // 表单
...@@ -185,6 +189,7 @@ export default { ...@@ -185,6 +189,7 @@ export default {
} }
const onCancel = () => { const onCancel = () => {
isVisible.value = false; isVisible.value = false;
groupList.value = []
}; };
const isLoading = ref(false) const isLoading = ref(false)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!