NEZ-1027 feat: alert rule & datacenter 编辑页面 user 下拉列表修改

This commit is contained in:
zhangyu
2021-09-24 14:10:50 +08:00
parent 74e089a820
commit 3f62634ccd
5 changed files with 13 additions and 2 deletions

View File

@@ -58,7 +58,7 @@
<span v-else>-</span>
</template>
<template v-else-if="item.prop === 'receivers'">
<el-tag v-for="(user, index) in scope.row[item.prop]" v-if="user&&user.username" :key="index" class="alert-rule-tag" effect="dark" size="mini">{{user.username}}&nbsp;</el-tag>
<el-tag v-for="(user, index) in scope.row[item.prop]" v-if="user&&user.username" :key="index" class="alert-rule-tag" effect="dark" size="mini">{{user.name}}&nbsp;&nbsp;@{{user.username}}&nbsp;</el-tag>
</template>
<template v-else-if="item.prop === 'state'">
<el-popover