|
|
@@ -47,9 +47,9 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="登录账号" prop="username" >
|
|
|
+ <el-table-column label="登录账号" prop="username" width="150">
|
|
|
<template #default="scope">
|
|
|
- <div >
|
|
|
+ <div class="account">
|
|
|
{{ scope.row.username }}
|
|
|
<el-tooltip
|
|
|
class="box-item"
|
|
|
@@ -59,7 +59,7 @@
|
|
|
v-if="scope.row.roleType === RoleTypeEnum.TENANT_ADMIN"
|
|
|
>
|
|
|
<el-icon color="#409efc">
|
|
|
- <WarningFilled />
|
|
|
+ <Stamp />
|
|
|
</el-icon>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
@@ -129,7 +129,7 @@
|
|
|
import { reactive, ref, onMounted } from 'vue';
|
|
|
import { storeToRefs } from 'pinia';
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
- import { Plus, DocumentAdd, Edit, Delete, WarningFilled } from '@element-plus/icons-vue';
|
|
|
+ import { Plus, DocumentAdd, Edit, Delete, Stamp } from '@element-plus/icons-vue';
|
|
|
import { EditType, OptionsProps, SearchParamsProps } from './types';
|
|
|
import { RoleTypeEnum } from '@/types/role/constants';
|
|
|
import useSceneInfos from '@/hooks/useSceneInfos';
|
|
|
@@ -372,10 +372,16 @@
|
|
|
.box-item{
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
- right: 0;
|
|
|
+ left: 0;
|
|
|
}
|
|
|
|
|
|
.el-space__item:hover {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
+ .account {
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ }
|
|
|
</style>
|