55 lines
1.2 KiB
Vue
55 lines
1.2 KiB
Vue
<template>
|
|
<div class="page">
|
|
<a-page-header :ghost="false" title="扩展插件">
|
|
<div class="ele-text-secondary"> 通过扩展插件可以满足更多个性化需求 </div>
|
|
</a-page-header>
|
|
<div class="ele-body">
|
|
<a-card :bordered="false" :body-style="{ padding: '16px' }">
|
|
<a-tabs type="card" tabPosition="top" v-model:activeKey="activeKey">
|
|
<a-tab-pane v-for="(d, index) in data" :key="index" :tab="d.label">
|
|
<list :activeKey="activeKey" :type="d" />
|
|
</a-tab-pane>
|
|
</a-tabs>
|
|
</a-card>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue';
|
|
import List from './list.vue';
|
|
import { appstoreType } from '@/api/system/appstore';
|
|
|
|
// 加载状态
|
|
const loading = ref(true);
|
|
|
|
// 当前选项卡
|
|
const activeKey = ref(0);
|
|
|
|
// 获取字典数据
|
|
const data = appstoreType();
|
|
|
|
/* 查询 */
|
|
const query = () => {
|
|
loading.value = true;
|
|
};
|
|
|
|
query();
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
export default {
|
|
name: 'AppStore'
|
|
};
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.sys-organization-list {
|
|
padding: 12px 6px;
|
|
height: calc(100vh - 242px);
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
overflow: auto;
|
|
}
|
|
</style>
|