|
@@ -17,17 +17,16 @@
|
|
|
{{ dateFormat(scope.row.createdTime) }}
|
|
|
</template>
|
|
|
<template #state="scope">
|
|
|
- <el-tag size="small" :type="scope.row.state ? 'default' : 'success'">{{ scope.row.state ? '未启用' : '已启用' }}</el-tag>
|
|
|
+ <el-tag :type="scope.row.state ? 'default' : 'success'">{{ scope.row.state ? '未启用' : '已启用' }}</el-tag>
|
|
|
</template>
|
|
|
<template #role="scope">
|
|
|
<template v-if="scope.row.companyInfo?.homeUserId === scope.row.id">
|
|
|
- <el-tag size="small" type="danger">超级管理员</el-tag>
|
|
|
+ <el-tag type="danger">超级管理员</el-tag>
|
|
|
</template>
|
|
|
<template v-if="scope.row.role && scope.row.role.length">
|
|
|
<el-tag
|
|
|
v-for="item in scope.row.role"
|
|
|
:key="item.id"
|
|
|
- size="small"
|
|
|
>{{ item.roleName }}</el-tag>
|
|
|
</template>
|
|
|
</template>
|