mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 11:47:51 +08:00
[FIX][UI ] security user state tenantCode User Type Display abnormal (#4255)
* fix user state error * fix userType error * fix tenantCode error
This commit is contained in:
parent
6f72deff57
commit
3f7759ef64
@ -21,14 +21,18 @@
|
||||
<el-table-column type="index" :label="$t('#')" width="50"></el-table-column>
|
||||
<el-table-column prop="userName" :label="$t('User Name')"></el-table-column>
|
||||
<el-table-column :label="$t('User Type')">
|
||||
{{userType === 'GENERAL_USER' ? `${$t('Ordinary users')}` : `${$t('Administrator')}`}}
|
||||
<template slot-scope="scope">
|
||||
<span>{{scope.row.userType === 'GENERAL_USER'? `${$t('Ordinary users')}` : `${$t('Administrator')}`}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="tenantName" :label="$t('Tenant')" width="160"></el-table-column>
|
||||
<el-table-column prop="tenantCode" :label="$t('Tenant')" width="160"></el-table-column>
|
||||
<el-table-column prop="queue" :label="$t('Queue')"></el-table-column>
|
||||
<el-table-column prop="email" :label="$t('Email')" min-width="120"></el-table-column>
|
||||
<el-table-column prop="phone" :label="$t('Phone')" min-width="90"></el-table-column>
|
||||
<el-table-column :label="$t('State')">
|
||||
{{state === 1 ? `${$t('Enable')}` : `${$t('Disable')}`}}
|
||||
<el-table-column :label="$t('State')">
|
||||
<template slot-scope="scope">
|
||||
<span>{{scope.row.state === 1? `${$t('Enable')}` : `${$t('Disable')}`}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('Create Time')" min-width="120">
|
||||
<template slot-scope="scope">
|
||||
|
Loading…
Reference in New Issue
Block a user