mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 14:34:46 +00:00
perf: update icon
This commit is contained in:
@@ -316,7 +316,6 @@ $color-drop-menu-border: #e4e7ed;
|
||||
// 下拉 options
|
||||
.el-dropdown-menu {
|
||||
::v-deep .more-batch-processing {
|
||||
text-align: center;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent !important;
|
||||
|
||||
@@ -246,7 +246,8 @@ export default {
|
||||
|
||||
.page-content {
|
||||
height: unset;
|
||||
padding-right: 20px;
|
||||
padding-right: 10px;
|
||||
padding-left: 20px;
|
||||
|
||||
& > div {
|
||||
margin-bottom: 1px;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
:title="drawerTitle"
|
||||
:visible.sync="drawerVisible"
|
||||
class="page-drawer"
|
||||
@reload-table="reloadTable"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -123,11 +122,6 @@ export default {
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
drawerVisible(val) {
|
||||
if (!val) {
|
||||
// this.$store.dispatch('common/cleanDrawerActionMeta')
|
||||
}
|
||||
},
|
||||
inDrawer(val) {
|
||||
if (!this.drawerVisible) {
|
||||
return
|
||||
|
||||
@@ -88,8 +88,6 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async getCount(item) {
|
||||
if (item.count) {
|
||||
@@ -104,7 +102,6 @@ export default {
|
||||
}
|
||||
const res = await this.$axios.get(url, { raw: 1 })
|
||||
item.count = res.data.count
|
||||
console.log('............get count: ', item.count)
|
||||
return item.count
|
||||
},
|
||||
cleanSummary() {
|
||||
@@ -160,9 +157,9 @@ export default {
|
||||
})
|
||||
}
|
||||
option.active = !option.active
|
||||
this.activeFilters.forEach(item => {
|
||||
this.filtered = { ...item.filter }
|
||||
})
|
||||
this.filtered = this.activeFilters.reduce((acc, item) => {
|
||||
return { ...acc, ...item.filter }
|
||||
}, {})
|
||||
this.$emit('filter', this.filtered)
|
||||
}
|
||||
}
|
||||
|
||||
7
src/icons/svg/push.svg
Normal file
7
src/icons/svg/push.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<svg t="1735890127229" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
p-id="16089" width="200" height="200">
|
||||
<path d="M339.2 648c16 6.4 25.6 24 19.2 40-6.4 16-24 25.6-40 19.2L24 606.4c-27.2-9.6-28.8-46.4-4.8-59.2L976 51.2c24-12.8 51.2 8 46.4 33.6L875.2 862.4c-3.2 19.2-24 30.4-41.6 24l-304-105.6c-16-6.4-25.6-24-19.2-40s24-25.6 40-19.2l268.8 92.8 128-676.8-832 433.6 224 76.8z"
|
||||
p-id="16090"></path>
|
||||
<path d="M462.4 792v152c0 17.6-14.4 32-32 32s-32-14.4-32-32V792c0-59.2 12.8-107.2 38.4-139.2L950.4 91.2c11.2-12.8 32-14.4 44.8-1.6 12.8 11.2 14.4 32 1.6 44.8l-512 558.4c-14.4 20.8-22.4 54.4-22.4 99.2z"
|
||||
p-id="16091"></path>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 701 B |
@@ -137,14 +137,14 @@ export default {
|
||||
handleTabClick(tab) {
|
||||
this.$emit('tab-click', tab)
|
||||
this.iActiveMenu = tab.name
|
||||
this.$cookie.set(this.$route.name, tab.name, 1)
|
||||
// this.$cookie.set(this.$route.name, tab.name, 1)
|
||||
},
|
||||
getPropActiveTab() {
|
||||
let activeTab = ''
|
||||
|
||||
const preActiveTabs = [
|
||||
this.$route.query['tab'],
|
||||
this.$cookie.get(this.$route.name),
|
||||
// this.$cookie.get(this.$route.name),
|
||||
this.activeMenu
|
||||
]
|
||||
|
||||
|
||||
@@ -149,7 +149,7 @@ export default [
|
||||
},
|
||||
{
|
||||
path: 'executions',
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'),
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'),
|
||||
name: 'AccountChangeSecretExecutionList',
|
||||
hidden: true,
|
||||
meta: {
|
||||
@@ -159,7 +159,7 @@ export default [
|
||||
},
|
||||
{
|
||||
path: 'executions/:id',
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/index.vue'),
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/index.vue'),
|
||||
name: 'AccountChangeSecretExecutionDetail',
|
||||
hidden: true,
|
||||
meta: {
|
||||
@@ -180,7 +180,7 @@ export default [
|
||||
app: 'accounts',
|
||||
name: 'BaseAccountPushList',
|
||||
resource: 'pushaccountautomation',
|
||||
icon: 'change-password'
|
||||
icon: 'push'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
import { GenericDetailPage } from '@/layout/components'
|
||||
import AccountChangeSecretInfo from './AccountChangeSecretInfo.vue'
|
||||
import AccountChangeSecretAsset from './AccountChangeSecretAsset/index.vue'
|
||||
import AccountChangeSecretExecutionList from './AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'
|
||||
import AccountChangeSecretExecutionList
|
||||
from '@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
||||
@@ -31,7 +31,7 @@ export default {
|
||||
name: 'AccountChangeSecretExecutionList',
|
||||
hidden: () => !this.$hasPerm('accounts.view_changesecretexecution'),
|
||||
component: () => import(
|
||||
'@/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'
|
||||
'@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'
|
||||
)
|
||||
}
|
||||
]
|
||||
|
||||
@@ -99,11 +99,6 @@ export default {
|
||||
headerActions: gatherAccountHeaderActions(this)
|
||||
}
|
||||
},
|
||||
activated() {
|
||||
setTimeout(() => {
|
||||
this.$refs.AssetTreeTable.$refs.TreeList.reloadTable()
|
||||
}, 300)
|
||||
},
|
||||
mounted() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
:url="secretUrl"
|
||||
:visible.sync="showViewSecretDialog"
|
||||
/>
|
||||
<HomeCard ref="HomeCard" :table-config="tableConfig" v-bind="cardConfig" />
|
||||
<HomeCard ref="HomeCard" :table-config="tableConfig" class="failed-accounts" v-bind="cardConfig" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -143,4 +143,12 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.failed-accounts {
|
||||
|
||||
::v-deep {
|
||||
.el-table {
|
||||
min-height: 260px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user