mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
perf: 修改 col 宽度
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24" class="resource-activity">
|
||||
<el-col :md="20" :sm="24" class="resource-activity">
|
||||
<IBox :title="title" class="block" v-bind="$attrs">
|
||||
<el-timeline>
|
||||
<el-timeline-item
|
||||
|
||||
20
src/components/Col/index.vue
Normal file
20
src/components/Col/index.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<el-col />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Col',
|
||||
props: {
|
||||
xs: [Number, Object],
|
||||
sm: [Number, Object],
|
||||
md: [Number, Object],
|
||||
lg: [Number, Object],
|
||||
xl: [Number, Object]
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24" class="auto-detail-card">
|
||||
<el-col :md="24" :sm="24" class="auto-detail-card">
|
||||
<AutoDetailCard :object="object" v-bind="detail" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24" class="quick-actions">
|
||||
<el-col :md="20" :sm="24" class="quick-actions">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
<ViewSecret
|
||||
v-if="showViewSecretDialog"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -9,20 +9,18 @@
|
||||
<script>
|
||||
import { GenericDetailPage } from '@/layout/components'
|
||||
import AccountBackupInfo from './AccountBackupInfo.vue'
|
||||
import AccountBackupExecutionList
|
||||
from '@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue'
|
||||
|
||||
export default {
|
||||
name: 'AccountBackupDetail',
|
||||
components: {
|
||||
GenericDetailPage,
|
||||
AccountBackupInfo,
|
||||
AccountBackupExecutionList
|
||||
AccountBackupInfo
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
plan: { name: '', comment: '' },
|
||||
config: {
|
||||
url: `/api/v1/accounts/account-backup-plans/`,
|
||||
activeMenu: 'AccountBackupInfo',
|
||||
submenu: [
|
||||
{
|
||||
@@ -31,8 +29,7 @@ export default {
|
||||
}
|
||||
],
|
||||
actions: {
|
||||
detailApiUrl: `/api/v1/accounts/account-backup-plans/${this.$route.params.id}/`,
|
||||
deleteApiUrl: `/api/v1/accounts/account-backup-plans/${this.$route.params.id}/`,
|
||||
detailApiUrl: `/api/v1/accounts/account-backup-plans/`,
|
||||
deleteSuccessRoute: 'AccountBackupList'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -66,8 +66,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
<template>
|
||||
<GenericListTable :header-actions="headerActions" :table-config="tableConfig" />
|
||||
<GenericListTable
|
||||
:create-drawer="createDrawer"
|
||||
:detail-drawer="detailDrawer"
|
||||
:header-actions="headerActions"
|
||||
:table-config="tableConfig"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -16,6 +21,8 @@ export default {
|
||||
const vm = this
|
||||
return {
|
||||
drawerTitle: '',
|
||||
createDrawer: () => import('@/views/accounts/AccountBackup/AccountBackupCreateUpdate.vue'),
|
||||
detailDrawer: () => import('@/views/accounts/AccountBackup/AccountBackupDetail/index.vue'),
|
||||
showTableUpdateDrawer: false,
|
||||
currentTemplate: null,
|
||||
tableConfig: {
|
||||
@@ -44,7 +51,8 @@ export default {
|
||||
name: 'AccountBackupDetail',
|
||||
params: { id: row.id },
|
||||
query: { type: 'pam' }
|
||||
})
|
||||
}),
|
||||
drawer: true
|
||||
}
|
||||
},
|
||||
types: {
|
||||
@@ -75,16 +83,6 @@ export default {
|
||||
onClone: ({ row }) => {
|
||||
vm.$router.push({ name: 'AccountBackupCreate', query: { clone_from: row.id }})
|
||||
},
|
||||
onUpdate: ({ row }) => {
|
||||
this.$route.params.id = row.id
|
||||
|
||||
// 解决表单详情中的跳转
|
||||
this.$route.query.type = 'pam'
|
||||
|
||||
this.currentTemplate = 'AccountBackupUpdate'
|
||||
this.drawerTitle = this.$t('AccountBackupUpdate')
|
||||
this.showTableUpdateDrawer = true
|
||||
},
|
||||
extraActions: [
|
||||
{
|
||||
title: vm.$t('Execute'),
|
||||
@@ -111,17 +109,7 @@ export default {
|
||||
headerActions: {
|
||||
hasRefresh: true,
|
||||
hasExport: false,
|
||||
hasImport: false,
|
||||
createRoute: () => {
|
||||
return {
|
||||
name: 'AccountBackupCreate'
|
||||
}
|
||||
},
|
||||
onCreate: () => {
|
||||
this.currentTemplate = 'AccountBackupCreate'
|
||||
this.drawerTitle = this.$t('AccountBackupCreate')
|
||||
this.showTableUpdateDrawer = true
|
||||
}
|
||||
hasImport: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<GenericListTable
|
||||
ref="listTable"
|
||||
:header-actions="headerActions"
|
||||
:table-config="tableConfig"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AssetRelationCard type="primary" v-bind="assetRelationConfig" />
|
||||
<RelationCard style="margin-top: 15px" type="info" v-bind="nodeRelationConfig" />
|
||||
</el-col>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -50,8 +50,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :object="detail" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24" class="generic-list-table">
|
||||
<el-col :md="24" :sm="24" class="generic-list-table">
|
||||
<GenericListTable ref="listTable" :header-actions="headerActions" :table-config="tableConfig" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24" class="quick-actions">
|
||||
<el-col :md="20" :sm="24" class="quick-actions">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
<ViewSecret
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24" class="auto-detail-card">
|
||||
<el-col :md="24" :sm="24" class="auto-detail-card">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24" class="quick-actions">
|
||||
<el-col :md="20" :sm="24" class="quick-actions">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :object="object" v-bind="detail" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -17,7 +17,8 @@ export default {
|
||||
props: {
|
||||
object: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
default: () => {
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -38,8 +38,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -17,7 +17,8 @@ export default {
|
||||
props: {
|
||||
object: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
default: () => {
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -41,8 +42,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -17,7 +17,8 @@ export default {
|
||||
props: {
|
||||
object: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
default: () => {
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -25,8 +26,7 @@ export default {
|
||||
url: `/api/v1/acls/command-groups/${this.object.id}/`
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -38,8 +38,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="24">
|
||||
<el-col :md="15" :sm="24" class="generic-list-table">
|
||||
<el-col :md="24" :sm="24" class="generic-list-table">
|
||||
<AccountListTable
|
||||
ref="ListTable"
|
||||
:asset="object"
|
||||
@@ -21,7 +21,7 @@
|
||||
@onConfirm="onConfirm"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24" class="quick-actions">
|
||||
<el-col :md="20" :sm="24" class="quick-actions">
|
||||
<QuickActions :actions="quickActions" :title="title" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24" class="list-table">
|
||||
<el-col :md="24" :sm="24" class="list-table">
|
||||
<ListTable ref="ListTable" :header-actions="headerActions" :table-config="tableConfig" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24" class="perm-user-group-card">
|
||||
<el-col :md="20" :sm="24" class="perm-user-group-card">
|
||||
<PermUserGroupCard v-bind="UserGroupCardConfig" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :excludes="excludes" :object="object" :url="url" />
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :title="$tc('TaskDetail')" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickEditActions" type="primary" />
|
||||
<QuickActions :actions="quickExecuteActions" type="primary" />
|
||||
<RelationCard
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
<IBox :title="$tc('Protocols')">
|
||||
<ProtocolSelector
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -19,7 +19,8 @@ export default {
|
||||
props: {
|
||||
object: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
default: () => {
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -30,8 +31,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions
|
||||
v-if="object.id"
|
||||
:actions="quickActions"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard
|
||||
:excludes="excludes"
|
||||
:fields="detailFields"
|
||||
@@ -8,7 +8,7 @@
|
||||
:url="url"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col v-if="hasSummary" :md="9" :sm="24">
|
||||
<el-col v-if="hasSummary" :md="20" :sm="24">
|
||||
<IBox
|
||||
v-if="object.summary.ok"
|
||||
:title="`${$tc('SuccessAsset')} (${object.summary.ok.length})` "
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :excludes="excludes" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -45,8 +45,7 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
computed: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AccountListTable
|
||||
ref="ListTable"
|
||||
:asset="object"
|
||||
@@ -13,7 +13,7 @@
|
||||
:url="url"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<IBox :title="$tc('Account')" type="primary">
|
||||
<AccountFormatter
|
||||
:assets="assetIds"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<ListTable ref="ListTable" :header-actions="headerActions" :table-config="tableConfig" class- />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AssetRelationCard type="primary" v-bind="assetRelationConfig" />
|
||||
<RelationCard style="margin-top: 15px" type="info" v-bind="nodeRelationConfig" />
|
||||
</el-col>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<ListTable ref="ListTable" :header-actions="headerActions" :table-config="tableConfig" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<RelationCard type="primary" v-bind="userRelationConfig" />
|
||||
<RelationCard style="margin-top: 15px" type="info" v-bind="groupRelationConfig" />
|
||||
</el-col>
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<Page v-bind="$attrs">
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<DetailCard :items="detailCardItems" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions
|
||||
:actions="authQuickActions"
|
||||
:title="$tc('AuthSettings')"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<DetailCard v-if="object" :items="detailItems" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions v-if="object" :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<ListTable :header-actions="headerConfig" :table-config="config" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<ListTable :header-actions="headerConfig" :table-config="config" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<ListTable :header-actions="headerConfig" :table-config="config" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard v-bind="detailBasicConfig" />
|
||||
<AutoDetailCard v-bind="detailSpecInfoConfig" />
|
||||
<AutoDetailCard v-bind="detailInfoConfig" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
<RelationCard
|
||||
ref="LabelRelation"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<ListTable :header-actions="headerConfig" :table-config="config" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
{{ this.$t('ImportLicenseTip') }}
|
||||
</el-alert>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<DetailCard :items="detailItems" :title="cardTitle" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24" />
|
||||
<el-col :md="20" :sm="24" />
|
||||
</el-row>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<DetailCard :items="detailCardItems" :title="cardTitle" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -19,7 +19,8 @@ export default {
|
||||
props: {
|
||||
object: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
default: () => {
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="16" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<AutoDetailCard :excludes="excludes" :object="object" :url="url" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -26,16 +26,14 @@ export default {
|
||||
excludes: ['users']
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
computed: {},
|
||||
watch: {
|
||||
group(iNew, iOld) {
|
||||
this.$log.debug('Group has changed')
|
||||
this.relationConfig.hasObjectsId = iNew.users
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<GenericListTable ref="listTable" :header-actions="headerActions" :table-config="tableConfig" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<RelationCard :key="relationKey" v-bind="relationConfig" @addSuccess="addSuccess" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<ListTable
|
||||
ref="ListTable"
|
||||
:header-actions="headerActions"
|
||||
:table-config="tableConfig"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<RelationCard v-if="!loading" ref="userRelation" v-bind="relationConfig" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<el-row :gutter="20">
|
||||
<el-col :md="15" :sm="24">
|
||||
<el-col :md="24" :sm="24">
|
||||
<AutoDetailCard :fields="detailFields" :formatters="detailFormatters" :object="object" :url="url" />
|
||||
</el-col>
|
||||
<el-col :md="9" :sm="24">
|
||||
<el-col :md="20" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
<RelationCard style="margin-top: 15px" type="info" v-bind="relationConfig" />
|
||||
</el-col>
|
||||
|
||||
Reference in New Issue
Block a user