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

@@ -35,7 +35,9 @@
</template>
<template slot-scope="scope" :column="item">
<template v-if="item.prop === 'principal'">
<template v-if="scope.row.adminUser">{{ scope.row.adminUser.username }}</template>
<template v-if="scope.row.adminUser">
<span class="user-name">{{scope.row.adminUser.name}}</span><span class="user-username">@{{scope.row.adminUser.username}}</span>
</template>
<template v-else>-</template>
</template>
<template v-else-if="item.prop === 'state'">