mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 15:36:56 +00:00
perf: 修改 cloud privider
This commit is contained in:
parent
500d3e15c3
commit
897198b785
@ -36,7 +36,7 @@
|
||||
"decimal.js": "^10.4.3",
|
||||
"deepmerge": "^4.2.2",
|
||||
"echarts": "4.7.0",
|
||||
"element-ui": "2.13.2",
|
||||
"element-ui": "2.15.14",
|
||||
"eslint-plugin-html": "^6.0.0",
|
||||
"highlight.js": "^11.9.0",
|
||||
"install": "^0.13.0",
|
||||
|
@ -7,6 +7,9 @@
|
||||
v-bind="headerActions"
|
||||
/>
|
||||
<el-row :gutter="10" class="the-row">
|
||||
<IBox v-if="totalData.length === 0">
|
||||
<el-empty :description="$t('NoData')" class="no-data" style="padding: 20px" />
|
||||
</IBox>
|
||||
<el-col v-for="(d, index) in totalData" :key="index" :lg="8" :md="12" :sm="24" style="min-width: 335px;">
|
||||
<el-card
|
||||
:body-style="{ 'text-align': 'center', 'padding': '15px' }"
|
||||
@ -68,12 +71,14 @@ import TableAction from '@/components/Table/ListTable/TableAction'
|
||||
import { Pagination } from '@/components'
|
||||
import Icon from '@/components/Widgets/Icon/index.vue'
|
||||
import { mapGetters } from 'vuex'
|
||||
import IBox from '@/components/IBox/index.vue'
|
||||
|
||||
const defaultFirstPage = 1
|
||||
|
||||
export default {
|
||||
name: 'CardTable',
|
||||
components: {
|
||||
IBox,
|
||||
TableAction,
|
||||
Pagination,
|
||||
Icon
|
||||
@ -372,4 +377,9 @@ export default {
|
||||
border-top: 1px solid #e7eaec;
|
||||
}
|
||||
|
||||
.no-data {
|
||||
width: 300px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@ -1 +1 @@
|
||||
<svg t="1716519974859" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4301" width="200" height="200"><path d="M355.744 568.096a32.32 32.32 0 0 1-3.744 0.224c-141.536 0-256 112.192-256 250.24a32 32 0 0 1-64 0c0-132.768 83.776-246.144 202.112-292.224-56-40-92.384-104.864-92.384-178.176 0-121.728 100.416-220.16 224-220.16a32 32 0 1 1 0 64c-88.512 0-160 70.08-160 156.16s71.488 156.16 160 156.16a32 32 0 1 1 0 64c-3.36 0-6.688-0.064-9.984-0.224z m148.096 0.736a256 256 0 1 1 272.32 0C921.024 623.776 1024 763.872 1024 928a32 32 0 0 1-64 0c0-176.736-143.264-320-320-320s-320 143.264-320 320a32 32 0 0 1-64 0c0-164.16 102.976-304.224 247.84-359.168zM640 544a192 192 0 1 0 0-384 192 192 0 0 0 0 384z" p-id="4302"></path></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="64" height="64" fill="currentColor"><path d="M2 22C2 17.5817 5.58172 14 10 14C14.4183 14 18 17.5817 18 22H16C16 18.6863 13.3137 16 10 16C6.68629 16 4 18.6863 4 22H2ZM10 13C6.685 13 4 10.315 4 7C4 3.685 6.685 1 10 1C13.315 1 16 3.685 16 7C16 10.315 13.315 13 10 13ZM10 11C12.21 11 14 9.21 14 7C14 4.79 12.21 3 10 3C7.79 3 6 4.79 6 7C6 9.21 7.79 11 10 11ZM18.2837 14.7028C21.0644 15.9561 23 18.752 23 22H21C21 19.564 19.5483 17.4671 17.4628 16.5271L18.2837 14.7028ZM17.5962 3.41321C19.5944 4.23703 21 6.20361 21 8.5C21 11.3702 18.8042 13.7252 16 13.9776V11.9646C17.6967 11.7222 19 10.264 19 8.5C19 7.11935 18.2016 5.92603 17.041 5.35635L17.5962 3.41321Z"></path></svg>
|
||||
|
Before Width: | Height: | Size: 767 B After Width: | Height: | Size: 734 B |
@ -1 +1 @@
|
||||
<svg t="1716519874100" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1601" width="200" height="200"><path d="M772.016477 696.022177c-39.228443-39.229466-85.763292-68.49807-136.530536-86.546122 26.774807-13.283538 51.500954-30.976502 73.254398-52.729945 52.55189-52.550867 81.494059-122.422214 81.494059-196.74085s-28.941146-144.189983-81.494059-196.741873c-52.550867-52.550867-122.422214-81.493036-196.74085-81.493036s-144.189983 28.942169-196.741873 81.493036c-52.55189 52.550867-81.494059 122.422214-81.494059 196.741873s28.941146 144.189983 81.494059 196.74085c21.753443 21.753443 46.480614 39.446407 73.256444 52.729945-50.76929 18.049075-97.303116 47.316655-136.532583 86.546122-66.188468 66.187445-104.009865 153.166425-107.422591 246.208495l48.730864 0c3.387144-80.028685 36.140105-154.783249 93.129051-211.770148 55.771211-55.771211 128.557958-88.326675 206.650547-92.867084 6.27389 0.418532 12.582573 0.645706 18.929118 0.645706 6.345522 0 12.656251-0.227174 18.929118-0.645706 78.091566 4.54041 150.880359 37.095873 206.650547 92.867084 56.987922 56.986899 89.741907 131.741463 93.129051 211.770148l48.730864 0C876.027365 849.188602 838.204945 762.209622 772.016477 696.022177zM282.466792 360.004237c0-126.564557 102.96814-229.53372 229.53372-229.53372 126.564557 0 229.53372 102.969163 229.53372 229.53372 0 120.304993-93.040023 219.280192-210.942293 228.77545-6.170536-0.304945-12.369725-0.460488-18.591427-0.460488-6.222725 0-12.420891 0.155543-18.59245 0.460488C375.505791 579.284429 282.466792 480.30923 282.466792 360.004237z" fill="#272636" p-id="1602"></path></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z"></path></svg>
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 413 B |
@ -3,17 +3,17 @@
|
||||
:close-on-click-modal="false"
|
||||
:close-on-press-escape="false"
|
||||
:destroy-on-close="true"
|
||||
:title="$tc('CloudSyncConfig')"
|
||||
:show-buttons="false"
|
||||
:show-close="false"
|
||||
:title="$tc('CloudSyncConfig')"
|
||||
:visible.sync="iVisible"
|
||||
width="70%"
|
||||
v-bind="$attrs"
|
||||
width="70%"
|
||||
v-on="$listeners"
|
||||
>
|
||||
<el-row>
|
||||
<el-row style="padding: 10px">
|
||||
<el-col :span="4" style="height: 300px;">
|
||||
<el-steps direction="vertical" :active="active">
|
||||
<el-steps :active="active" direction="vertical">
|
||||
<el-step :description="firstStepDesc" />
|
||||
<el-step :description="$tc('Authentication')" />
|
||||
<el-step :description="$tc('Sync')" />
|
||||
@ -23,11 +23,11 @@
|
||||
<el-col :span="20">
|
||||
<component
|
||||
:is="activeMenu"
|
||||
:active.sync="active"
|
||||
:object.sync="account"
|
||||
:provider="iSelected"
|
||||
:providers="providers"
|
||||
:selected.sync="iSelected"
|
||||
:active.sync="active"
|
||||
:object.sync="account"
|
||||
:visible.sync="iVisible"
|
||||
/>
|
||||
</el-col>
|
||||
|
@ -3,16 +3,16 @@
|
||||
<el-row :gutter="12" style="min-height: 280px;">
|
||||
<el-col v-for="p in providers" :key="p.name" :span="6" style="margin-bottom: 10px">
|
||||
<el-card
|
||||
shadow="hover"
|
||||
:body-style="{ padding: '15px', position: 'relative', height: '100px', point: 'cursor' }"
|
||||
:class="selected === p.name ? 'active': ''"
|
||||
:body-style="{ padding: '15px', position: 'relative', height: '100px' }"
|
||||
shadow="hover"
|
||||
@dblclick.native="handleCardDBClick(p.name)"
|
||||
@click.native="handleCardClick(p.name)"
|
||||
>
|
||||
<el-image
|
||||
shape="square"
|
||||
:src="p.image"
|
||||
:style="p.imageCSS ? p.imageCSS : {'padding': '1.5em 0.5em'}"
|
||||
shape="square"
|
||||
/>
|
||||
</el-card>
|
||||
</el-col>
|
||||
|
@ -4409,10 +4409,10 @@ element-theme-chalk@^2.13.1:
|
||||
resolved "https://registry.npmmirror.com/element-theme-chalk/-/element-theme-chalk-2.15.14.tgz"
|
||||
integrity sha512-jgMTD6Qg6UPRDjBzARl42xit7lfCg+gE8x+QaUmmrhWv2TsnFoerhOupn0smxKTfO0Oh9Kh53Q+thXeZO7/0rQ==
|
||||
|
||||
element-ui@2.13.2:
|
||||
version "2.13.2"
|
||||
resolved "https://registry.npmmirror.com/element-ui/-/element-ui-2.13.2.tgz"
|
||||
integrity sha512-r761DRPssMPKDiJZWFlG+4e4vr0cRG/atKr3Eqr8Xi0tQMNbtmYU1QXvFnKiFPFFGkgJ6zS6ASkG+sellcoHlQ==
|
||||
element-ui@2.15.14:
|
||||
version "2.15.14"
|
||||
resolved "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.14.tgz#3c34df79467636592812d720d2e6784e7a6ec2ea"
|
||||
integrity sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==
|
||||
dependencies:
|
||||
async-validator "~1.8.1"
|
||||
babel-helper-vue-jsx-merge-props "^2.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user