CN-32 CN-33 : 角色菜单添加 用户管理界面bug修改

This commit is contained in:
zhangyu
2021-06-16 15:01:58 +08:00
parent e5823523cc
commit a808dae7c1
9 changed files with 424 additions and 10 deletions

View File

@@ -45,6 +45,7 @@
v-model="scope.row.status"
:active-color="theme.themeColor"
active-value="1"
:disabled="(scope.row.username === loginName) || (scope.row.username==='admin' && scope.row.id==1) "
inactive-value="0"
@change="()=>{statusChange(scope.row)}">
</el-switch>
@@ -88,6 +89,7 @@ export default {
mixins: [table],
data () {
return {
loginName: localStorage.getItem('cn-username'),
tableTitle: [ // 原始table列
{
label: 'ID',