优化租户类型显示逻辑
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
<el-table-column prop="tenantName" label="租户名称" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column prop="tenantType" label="租户类型" show-overflow-tooltip>
|
||||
<template #default="scope">
|
||||
<el-tag v-if="scope.row.tenantType === 1">普通</el-tag>
|
||||
<el-tag v-if="scope.row.tenantType === 1 || scope.row.tenantType === 0">普通</el-tag>
|
||||
<el-tag v-else-if="scope.row.tenantType === 2" type="warning">代理</el-tag>
|
||||
<el-tag v-else type="info">未知</el-tag>
|
||||
<!-- <el-tag v-else type="info">普通</el-tag> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="cityName" label="所属城市" show-overflow-tooltip>
|
||||
|
||||
Reference in New Issue
Block a user