table,已选中人员回显 重置

This commit is contained in:
shijingjing
2022-07-26 10:32:07 +08:00
parent faea4c65bd
commit 601640eea1
6 changed files with 35 additions and 32 deletions

View File

@@ -65,11 +65,8 @@
:data="tableData"
:colConfigs="tabIndex==0? colConfigs0 : colConfigs1"
v-if="tableData.length">
<u-td slot="groupOwnerId" align="center">
<template #slot="{ row }">
<p>{{row}}</p>
<AiOpenData v-if="row.groupOwnerId" type="userName" :openid="row.groupOwnerId"/>
</template>
<u-td slot="groupOwnerId" slot-scope="{row}">
<AiOpenData v-if="row.groupOwnerId" type="userName" :openid="row.groupOwnerId"/>
</u-td>
</AiTable>
<AiEmpty v-if="!tableData.length" description="暂无数据"></AiEmpty>
@@ -107,7 +104,7 @@ export default {
computed: {
colConfigs0() {
return [
{ slot: "groupOwnerId",label: "成员" },
{ slot: "groupOwnerId",label: "成员",prop: "groupOwnerId" },
{ label: "预计送达居民群", prop: "groupCount" }
];
},
@@ -115,7 +112,7 @@ export default {
return [
{ label: "居民群",prop: "groupName" },
{ label: "群人数", prop: "memberCount"},
{ slot: "groupOwnerId",label: "群主"}
{ slot: "groupOwnerId",label: "群主",prop: "groupOwnerId" }
];
},
},