BUG 30132

This commit is contained in:
aixianling
2022-06-09 14:40:51 +08:00
parent c67633eda5
commit ccb99b00c1

View File

@@ -128,13 +128,7 @@
<ai-dialog :title="`${gridInfo.girdName}网格成员`" :visible.sync="dialog" customFooter @closed="gridInfo={}" <ai-dialog :title="`${gridInfo.girdName}网格成员`" :visible.sync="dialog" customFooter @closed="gridInfo={}"
width="700px"> width="700px">
<ai-table :tableData="gridInfo.tableData" :colConfigs="gridMemberColConfigs" :dict="dict" <ai-table :tableData="gridInfo.tableData" :colConfigs="gridMemberColConfigs" :dict="dict"
:isShowPagination="false" :show-header="false"> :isShowPagination="false" :show-header="false"/>
<el-table-column slot="tags">
<template slot-scope="{row}">
<el-tag v-if="row.label" effect="dark" size="small">{{ row.label }}</el-tag>
</template>
</el-table-column>
</ai-table>
<template #footer> <template #footer>
<el-button @click="dialog=false">关闭</el-button> <el-button @click="dialog=false">关闭</el-button>
</template> </template>
@@ -191,9 +185,8 @@ export default {
dialog: false, dialog: false,
gridInfo: {}, gridInfo: {},
gridMemberColConfigs: [ gridMemberColConfigs: [
{prop: "wxUserId", openType: 'userName'}, {prop: "name"},
{prop: "checkType", formart: v => v === '1' ? '网格员' : '网格长'}, {prop: "checkType", formart: v => v === '1' ? '网格员' : '网格长'}
{slot: "tags"}
] ]
}; };
}, },