[Update] 去掉一些import export

This commit is contained in:
ibuler
2020-05-22 18:37:34 +08:00
parent 11ec13ab6f
commit a54b8b3c8e
11 changed files with 42 additions and 14 deletions

View File

@@ -46,7 +46,7 @@ export default {
},
moreActionsType: {
type: String,
default: ''
default: 'default'
}
},
computed: {

View File

@@ -80,7 +80,9 @@ export default {
]
},
headerActions: {
hasLeftActions: false
hasLeftActions: false,
hasExport: false,
hasImport: false
}
}
},

View File

@@ -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": ""

View File

@@ -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)
}

View File

@@ -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;
}

View File

@@ -65,7 +65,8 @@ export default {
},
headerActions: {
hasLeftActions: false,
hasExport: false
hasExport: false,
hasImport: false
}
}
}

View File

@@ -55,7 +55,9 @@ export default {
}
},
headerActions: {
hasLeftActions: false
hasLeftActions: false,
hasImport: false,
hasExport: false
}
}
}

View File

@@ -29,7 +29,8 @@ export default {
},
headerActions: {
hasLeftActions: false,
hasImport: false
hasImport: false,
hasExport: false
}
}
}

View File

@@ -33,7 +33,9 @@ export default {
}
},
headerActions: {
hasLeftActions: false
hasLeftActions: false,
hasImport: false,
hasExport: false
}
}
}

View File

@@ -56,7 +56,9 @@ export default {
}
},
headerActions: {
hasLeftActions: false
hasLeftActions: false,
hasImport: false,
hasExport: false
}
}
}

View File

@@ -61,11 +61,7 @@ export default {
title: this.$t('users.tabs.databasePermissionRules'),
name: 'UserDatabasePermissionRules'
}
],
actions: {
canDelete: true,
canUpdate: true
}
]
}
}
},