mirror of
https://github.com/jumpserver/lina.git
synced 2025-04-28 03:20:24 +00:00
perf: 优化布局
This commit is contained in:
parent
f2cf4fb4a0
commit
a860cf1a13
@ -21,13 +21,13 @@
|
||||
}
|
||||
|
||||
.el-alert--info.is-light {
|
||||
background-color: light-9;
|
||||
color: light-2;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
color: info;
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.el-alert--info .el-alert__description {
|
||||
color: light-2;
|
||||
color: info;
|
||||
}
|
||||
|
||||
.el-pagination.is-background .el-pager li:not(.disabled):hover {
|
||||
@ -87,6 +87,10 @@
|
||||
td .el-button.el-button--mini {
|
||||
padding: 2px 4px;
|
||||
line-height: 1.5;
|
||||
|
||||
.el-icon--right {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.el-tabs__item.is-active, .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
|
||||
|
@ -151,7 +151,7 @@ export const accountFieldsMeta = (vm) => {
|
||||
}
|
||||
},
|
||||
push_now: {
|
||||
helpText: vm.$t('AccountPush.WindowsPushHelpText'),
|
||||
helpText: vm.$t('WindowsPushHelpText'),
|
||||
hidden: (formValue) => {
|
||||
const automation = vm.iPlatform.automation || {}
|
||||
return !automation.push_account_enabled ||
|
||||
|
@ -221,6 +221,11 @@ export default {
|
||||
|
||||
.el-button-ungroup .action-item {
|
||||
margin-left: 4px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.action-item.el-dropdown {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.el-button-ungroup .action-item:first-child {
|
||||
|
@ -4,7 +4,7 @@
|
||||
:disabled="disabled"
|
||||
:fields="iFields"
|
||||
:form="value"
|
||||
style="margin-left: -26%;margin-right: -6%"
|
||||
style="margin-left: -36%;margin-right: -6%"
|
||||
v-bind="kwargs"
|
||||
@change="updateValue($event)"
|
||||
@input="updateValue($event)"
|
||||
|
@ -26,7 +26,6 @@
|
||||
{{ itemValue }}
|
||||
</div>
|
||||
<div v-else-if="data.type === 'select'">
|
||||
<span> is select</span>
|
||||
<template>
|
||||
{{ multipleValue }}
|
||||
</template>
|
||||
|
@ -5,6 +5,7 @@
|
||||
:more-actions="moreActions"
|
||||
:more-actions-title="moreActionsTitle"
|
||||
:size="'mini'"
|
||||
class="table-actions"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@ -141,7 +142,7 @@ export default {
|
||||
colActions: colActions,
|
||||
defaultActions: defaultActions,
|
||||
extraActions: colActions.extraActions,
|
||||
moreActionsTitle: colActions.moreActionsTitle || this.$t('More')
|
||||
moreActionsTitle: colActions.moreActionsTitle || this.$t('...')
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@ -216,5 +217,10 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.table-actions >>> {
|
||||
.el-icon-arrow-down {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@ -1 +1 @@
|
||||
<svg t="1707190169322" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17866" width="230" height="240"><path d="M895.36 113.376a64 64 0 0 1 64 64V896a64 64 0 0 1-64 64H522.144a63.68 63.68 0 0 1-32.064-8.576c-9.408 5.44-20.352 8.576-32 8.576H183.68a64 64 0 0 1-64-64V391.424a64 64 0 0 1 64-64h274.432V177.344a64 64 0 0 1 64-64H895.36z m0 64H522.144V896h373.152V177.376z m-437.28 214.08H183.712V896h274.368V391.424zM812.48 735.264v64h-207.36v-64h207.36z m-400.96 0v64H233.28v-64h178.24z m400.96-106.432v64h-207.36v-64h207.36z m-400.96 0v64H233.28v-64h178.24z m400.96-106.432v64h-207.36v-64h207.36z" fill="#000000" p-id="17867"></path></svg>
|
||||
<svg t="1711360810799" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15356" width="200" height="200"><path d="M0 46.545455v418.90909h1024V46.545455H0z m930.909091 325.818181H93.090909V139.636364h837.818182v232.727272z" fill="#111111" p-id="15357"></path><path d="M186.181818 232.727273h93.090909v93.090909H186.181818zM325.818182 232.727273h93.090909v93.090909H325.818182zM0 977.454545h1024v-418.90909H0v418.90909z m93.090909-325.818181h837.818182v232.727272H93.090909v-232.727272z" fill="#111111" p-id="15358"></path><path d="M186.181818 744.727273h93.090909v93.090909H186.181818zM325.818182 744.727273h93.090909v93.090909H325.818182z" fill="#111111" p-id="15359"></path></svg>
|
||||
|
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 724 B |
@ -1,3 +1 @@
|
||||
<!-- <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1584946536066" class="icon" viewBox="0 0 1098 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1157" xmlns:xlink="http://www.w3.org/1999/xlink" width="214.453125" height="200"><defs><style type="text/css"></style></defs><path d="M338.857143 512q-92.571429 2.857143-151.428571 73.142857l-76.571429 0q-46.857143 0-78.857143-23.142857t-32-67.714286q0-201.714286 70.857143-201.714286 3.428571 0 24.857143 12t55.714286 24.285714 68 12.285714q38.285714 0 76-13.142857-2.857143 21.142857-2.857143 37.714286 0 79.428571 46.285714 146.285714zm612 364q0 68.571429-41.714286 108.285714t-110.857143 39.714286l-499.428571 0q-69.142857 0-110.857143-39.714286t-41.714286-108.285714q0-30.285714 2-59.142857t8-62.285714 15.142857-62 24.571429-55.714286 35.428571-46.285714 48.857143-30.571429 63.714286-11.428571q5.714286 0 24.571429 12.285714t41.714286 27.428571 61.142857 27.428571 77.142857 12.285714 77.142857-12.285714 61.142857-27.428571 41.714286-27.428571 24.571429-12.285714q34.857143 0 63.714286 11.428571t48.857143 30.571429 35.428571 46.285714 24.571429 55.714286 15.142857 62 8 62.285714 2 59.142857zm-585.142857-729.714286q0 60.571429-42.857143 103.428571t-103.428571 42.857143-103.428571-42.857143-42.857143-103.428571 42.857143-103.428571 103.428571-42.857143 103.428571 42.857143 42.857143 103.428571zm402.285714 219.428571q0 90.857143-64.285714 155.142857t-155.142857 64.285714-155.142857-64.285714-64.285714-155.142857 64.285714-155.142857 155.142857-64.285714 155.142857 64.285714 64.285714 155.142857zm329.142857 128.571429q0 44.571429-32 67.714286t-78.857143 23.142857l-76.571429 0q-58.857143-70.285714-151.428571-73.142857 46.285714-66.857143 46.285714-146.285714 0-16.571429-2.857143-37.714286 37.714286 13.142857 76 13.142857 33.714286 0 68-12.285714t55.714286-24.285714 24.857143-12q70.857143 0 70.857143 201.714286zm-73.142857-348q0 60.571429-42.857143 103.428571t-103.428571 42.857143-103.428571-42.857143-42.857143-103.428571 42.857143-103.428571 103.428571-42.857143 103.428571 42.857143 42.857143 103.428571z" p-id="1158"></path></svg> -->
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#646A73" d="M8.5 5a2.5 2.5 0 1 0 .001 5.001A2.5 2.5 0 0 0 8.5 5ZM4 7.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM5.835 15C4.015 15 2.5 16.498 2.5 18.4V20h12v-1.6c0-1.901-1.515-3.4-3.335-3.4h-5.33ZM.5 18.4c0-2.982 2.39-5.4 5.335-5.4h5.33c2.945 0 5.335 2.418 5.335 5.4v2.7c0 .497-.4.9-.89.9H1.39a.896.896 0 0 1-.89-.9v-2.7ZM22.835 21h-4.47v-2H21.5v-.6c0-1.002-.845-1.9-2-1.9h-1.31a5.46 5.46 0 0 0-.985-2H19.5c2.21 0 4 1.746 4 3.9v1.95c0 .359-.3.65-.665.65ZM16.5 10c0-.553.45-1 1-1s1 .447 1 1c0 .553-.45 1-1 1s-1-.447-1-1Zm1-3a3.001 3.001 0 0 0 0 6 3.001 3.001 0 0 0 0-6Z" clip-rule="evenodd" fill-rule="evenodd"/><path fill-opacity=".2" fill="#000" d="M8.5 5a2.5 2.5 0 1 0 .001 5.001A2.5 2.5 0 0 0 8.5 5ZM4 7.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM5.835 15C4.015 15 2.5 16.498 2.5 18.4V20h12v-1.6c0-1.901-1.515-3.4-3.335-3.4h-5.33ZM.5 18.4c0-2.982 2.39-5.4 5.335-5.4h5.33c2.945 0 5.335 2.418 5.335 5.4v2.7c0 .497-.4.9-.89.9H1.39a.896.896 0 0 1-.89-.9v-2.7ZM22.835 21h-4.47v-2H21.5v-.6c0-1.002-.845-1.9-2-1.9h-1.31a5.46 5.46 0 0 0-.985-2H19.5c2.21 0 4 1.746 4 3.9v1.95c0 .359-.3.65-.665.65ZM16.5 10c0-.553.45-1 1-1s1 .447 1 1c0 .553-.45 1-1 1s-1-.447-1-1Zm1-3a3.001 3.001 0 0 0 0 6 3.001 3.001 0 0 0 0-6Z" clip-rule="evenodd" fill-rule="evenodd"/></svg>
|
||||
<svg t="1711361640359" class="icon" viewBox="0 0 1109 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17713" width="200" height="200"><path d="M665.570715 853.340842a34.131832 34.131832 0 0 0 34.131831 34.131832h375.450147a34.131832 34.131832 0 0 0 0-68.263663h-375.450147a34.131832 34.131832 0 0 0-34.131831 34.131831zM1075.152693 955.736337h-375.450147a34.131832 34.131832 0 0 0 0 68.263663h375.450147a34.131832 34.131832 0 0 0 0-68.263663z" fill="#2c2c2c" p-id="17714"></path><path d="M887.42762 757.771714a34.131832 34.131832 0 1 0 58.024113-35.497105A508.56429 508.56429 0 0 0 662.157532 501.100341a273.054652 273.054652 0 1 0-300.360118 0A512.66011 512.66011 0 0 0 0 989.868168a34.131832 34.131832 0 0 0 68.263663 0 443.71381 443.71381 0 0 1 819.163957-232.096454zM307.186484 273.099706a204.790989 204.790989 0 1 1 204.790989 204.790989 204.790989 204.790989 0 0 1-204.790989-204.790989z" fill="#2c2c2c" p-id="17715"></path></svg>
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 950 B |
@ -52,6 +52,7 @@ export default {
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
background-color: #ffffff;
|
||||
border-bottom: solid 1px #ebeef5;
|
||||
.el-row {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
|
@ -182,6 +182,9 @@ export default {
|
||||
}
|
||||
|
||||
.tab-page {
|
||||
>>> .page-heading {
|
||||
border-bottom: none;
|
||||
}
|
||||
>>> .page-content {
|
||||
overflow-y: hidden;
|
||||
padding: 0;
|
||||
|
@ -51,7 +51,7 @@ export default {
|
||||
width: '240px'
|
||||
},
|
||||
summary: {
|
||||
label: this.$t('Summary(success/total)'),
|
||||
label: this.$t('Ok/total'),
|
||||
formatter: (row) => {
|
||||
return row.summary['success'] + '/' + row.summary['total']
|
||||
}
|
||||
|
@ -297,7 +297,7 @@ export default {
|
||||
if (data.length === 0) return
|
||||
this.$axios.patch(url, data).then(() => {
|
||||
reloadTable()
|
||||
vm.$message.success(vm.$t(`common.${actionType}SuccessMsg`))
|
||||
vm.$message.success(vm.$t(`${actionType}SuccessMsg`))
|
||||
})
|
||||
},
|
||||
handleInviteDialogClose() {
|
||||
|
Loading…
Reference in New Issue
Block a user