mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
[Update] 去掉一些import export
This commit is contained in:
@@ -46,7 +46,7 @@ export default {
|
||||
},
|
||||
moreActionsType: {
|
||||
type: String,
|
||||
default: ''
|
||||
default: 'default'
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
@@ -80,7 +80,9 @@ export default {
|
||||
]
|
||||
},
|
||||
headerActions: {
|
||||
hasLeftActions: false
|
||||
hasLeftActions: false,
|
||||
hasExport: false,
|
||||
hasImport: false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"Gateway": "网关",
|
||||
"Hardware": "硬件",
|
||||
"Hostname": "主机名",
|
||||
"IP": "",
|
||||
"IP": "IP",
|
||||
"IsActive": "激活",
|
||||
"Label": "标签",
|
||||
"LoginModel": "登录模式",
|
||||
@@ -82,7 +82,7 @@
|
||||
"date_joined": "创建日期",
|
||||
"date_password_last_updated": "最后更新密码",
|
||||
"detail": "",
|
||||
"hostname": "",
|
||||
"hostname": "hostname",
|
||||
"ip": "IP",
|
||||
"last_login": "最后登录日期",
|
||||
"sshkey": ""
|
||||
|
||||
@@ -102,6 +102,8 @@ export default {
|
||||
{
|
||||
name: 'delete',
|
||||
title: this.$t('common.Delete'),
|
||||
type: 'danger',
|
||||
plain: true,
|
||||
can: this.validActions.canDelete,
|
||||
callback: this.validActions.deleteCallback.bind(this)
|
||||
}
|
||||
|
||||
@@ -410,3 +410,23 @@ a {
|
||||
.el-table__empty-block {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.el-dialog__headerbtn .el-dialog__close {
|
||||
font-size: 21px;
|
||||
font-weight: 700;
|
||||
color: #000;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
.el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close {
|
||||
color: #000;
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
//color: red;
|
||||
}
|
||||
|
||||
.el-button--danger.is-plain {
|
||||
color: $--color-danger;
|
||||
background: white;
|
||||
border-color: $--color-danger;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,8 @@ export default {
|
||||
},
|
||||
headerActions: {
|
||||
hasLeftActions: false,
|
||||
hasExport: false
|
||||
hasExport: false,
|
||||
hasImport: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,9 @@ export default {
|
||||
}
|
||||
},
|
||||
headerActions: {
|
||||
hasLeftActions: false
|
||||
hasLeftActions: false,
|
||||
hasImport: false,
|
||||
hasExport: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,8 @@ export default {
|
||||
},
|
||||
headerActions: {
|
||||
hasLeftActions: false,
|
||||
hasImport: false
|
||||
hasImport: false,
|
||||
hasExport: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,9 @@ export default {
|
||||
}
|
||||
},
|
||||
headerActions: {
|
||||
hasLeftActions: false
|
||||
hasLeftActions: false,
|
||||
hasImport: false,
|
||||
hasExport: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,9 @@ export default {
|
||||
}
|
||||
},
|
||||
headerActions: {
|
||||
hasLeftActions: false
|
||||
hasLeftActions: false,
|
||||
hasImport: false,
|
||||
hasExport: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,11 +61,7 @@ export default {
|
||||
title: this.$t('users.tabs.databasePermissionRules'),
|
||||
name: 'UserDatabasePermissionRules'
|
||||
}
|
||||
],
|
||||
actions: {
|
||||
canDelete: true,
|
||||
canUpdate: true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user