@befly-addon/admin 1.0.32 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -4
- package/views/403/index.vue +0 -1
- package/views/admin/index.vue +0 -6
- package/views/dict/index.vue +1 -6
- package/views/index/components/addonList.vue +1 -3
- package/views/index/components/environmentInfo.vue +1 -2
- package/views/index/components/operationLogs.vue +1 -3
- package/views/index/components/performanceMetrics.vue +1 -6
- package/views/index/components/quickActions.vue +1 -2
- package/views/index/components/serviceStatus.vue +1 -12
- package/views/index/components/systemNotifications.vue +1 -9
- package/views/index/components/systemOverview.vue +1 -6
- package/views/index/components/systemResources.vue +1 -5
- package/views/index/components/userInfo.vue +1 -6
- package/views/login/components/emailLoginForm.vue +1 -4
- package/views/login/components/registerForm.vue +1 -5
- package/views/menu/index.vue +1 -7
- package/views/role/index.vue +1 -7
- package/views/user/index.vue +1 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@befly-addon/admin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"description": "Befly - 管理后台功能组件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -39,9 +39,8 @@
|
|
|
39
39
|
"url": "https://github.com/chenbimo/befly.git",
|
|
40
40
|
"directory": "packages/addon-admin"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "e4130ff7b23ea4f0913969220c6374d550d2acc5",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"befly": "3.8.12"
|
|
45
|
-
"tdesign-vue-next": "^1.10.6"
|
|
44
|
+
"befly": "3.8.12"
|
|
46
45
|
}
|
|
47
46
|
}
|
package/views/403/index.vue
CHANGED
package/views/admin/index.vue
CHANGED
|
@@ -68,12 +68,6 @@
|
|
|
68
68
|
</template>
|
|
69
69
|
|
|
70
70
|
<script setup>
|
|
71
|
-
import IconLucidePlus from '~icons/lucide/plus';
|
|
72
|
-
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
73
|
-
import IconLucidePencil from '~icons/lucide/pencil';
|
|
74
|
-
import IconLucideUser from '~icons/lucide/user';
|
|
75
|
-
import IconLucideTrash2 from '~icons/lucide/trash-2';
|
|
76
|
-
|
|
77
71
|
import EditDialog from './components/edit.vue';
|
|
78
72
|
import RoleDialog from './components/role.vue';
|
|
79
73
|
import { $Http } from '@/plugins/http';
|
package/views/dict/index.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="page-dict page-table">
|
|
3
3
|
<div class="main-tool">
|
|
4
4
|
<div class="left">
|
|
@@ -53,11 +53,6 @@
|
|
|
53
53
|
</template>
|
|
54
54
|
|
|
55
55
|
<script setup>
|
|
56
|
-
import IconLucidePlus from '~icons/lucide/plus';
|
|
57
|
-
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
58
|
-
import IconLucidePencil from '~icons/lucide/pencil';
|
|
59
|
-
import IconLucideTrash2 from '~icons/lucide/trash-2';
|
|
60
|
-
|
|
61
56
|
import EditDialog from './components/edit.vue';
|
|
62
57
|
import { $Http } from '@/plugins/http';
|
|
63
58
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucidePackage />
|
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
</template>
|
|
25
25
|
|
|
26
26
|
<script setup>
|
|
27
|
-
import IconLucideBox from '~icons/lucide/box';
|
|
28
|
-
import IconLucidePackage from '~icons/lucide/package';
|
|
29
27
|
import { $Http } from '@/plugins/http';
|
|
30
28
|
|
|
31
29
|
// 组件内部数据
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucideServer />
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
</template>
|
|
37
37
|
|
|
38
38
|
<script setup>
|
|
39
|
-
import IconLucideServer from '~icons/lucide/server';
|
|
40
39
|
import { $Http } from '@/plugins/http';
|
|
41
40
|
|
|
42
41
|
// 组件内部数据
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucideFileText />
|
|
@@ -34,8 +34,6 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
36
|
<script setup>
|
|
37
|
-
import IconLucideFileText from '~icons/lucide/file-text';
|
|
38
|
-
|
|
39
37
|
// 组件内部数据
|
|
40
38
|
const operationLogs = $ref([
|
|
41
39
|
{ id: 1, userName: '管理员', action: '创建角色', module: '权限管理', ip: '192.168.1.100', status: 'success', createdAt: Date.now() - 120000 },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucideActivity />
|
|
@@ -53,11 +53,6 @@
|
|
|
53
53
|
</template>
|
|
54
54
|
|
|
55
55
|
<script setup>
|
|
56
|
-
import IconLucideActivity from '~icons/lucide/activity';
|
|
57
|
-
import IconLucideTrendingUp from '~icons/lucide/trending-up';
|
|
58
|
-
import IconLucideAlertCircle from '~icons/lucide/alert-circle';
|
|
59
|
-
import IconLucideClock from '~icons/lucide/clock';
|
|
60
|
-
import IconLucideAlertTriangle from '~icons/lucide/alert-triangle';
|
|
61
56
|
import { $Http } from '@/plugins/http';
|
|
62
57
|
|
|
63
58
|
// 组件内部数据
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-content">
|
|
4
4
|
<t-button type="primary" size="large" @click="handleClearCache">
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script setup>
|
|
15
|
-
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
16
15
|
const handleClearCache = () => {
|
|
17
16
|
console.log('刷新缓存');
|
|
18
17
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucideCheckCircle />
|
|
@@ -35,17 +35,6 @@
|
|
|
35
35
|
</template>
|
|
36
36
|
|
|
37
37
|
<script setup>
|
|
38
|
-
import IconLucideCheckCircle from '~icons/lucide/check-circle';
|
|
39
|
-
import IconLucideZap from '~icons/lucide/zap';
|
|
40
|
-
import IconLucideCloud from '~icons/lucide/cloud';
|
|
41
|
-
import IconLucideCircle from '~icons/lucide/circle';
|
|
42
|
-
import IconLucideXCircle from '~icons/lucide/x-circle';
|
|
43
|
-
import IconLucideCheck from '~icons/lucide/check';
|
|
44
|
-
import IconLucideX from '~icons/lucide/x';
|
|
45
|
-
import IconLucideAlertCircle from '~icons/lucide/alert-circle';
|
|
46
|
-
import IconLucideDatabase from '~icons/lucide/database';
|
|
47
|
-
import IconLucideMail from '~icons/lucide/mail';
|
|
48
|
-
import IconLucideHardDrive from '~icons/lucide/hard-drive';
|
|
49
38
|
import { $Http } from '@/plugins/http';
|
|
50
39
|
|
|
51
40
|
// 组件内部数据
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucideBell />
|
|
@@ -26,14 +26,6 @@
|
|
|
26
26
|
</template>
|
|
27
27
|
|
|
28
28
|
<script setup>
|
|
29
|
-
import IconLucideBell from '~icons/lucide/bell';
|
|
30
|
-
import IconLucideCheckCircle from '~icons/lucide/check-circle';
|
|
31
|
-
import IconLucideAlertTriangle from '~icons/lucide/alert-triangle';
|
|
32
|
-
import IconLucideXCircle from '~icons/lucide/x-circle';
|
|
33
|
-
import IconLucideInfo from '~icons/lucide/info';
|
|
34
|
-
import IconLucideCheck from '~icons/lucide/check';
|
|
35
|
-
import IconLucideX from '~icons/lucide/x';
|
|
36
|
-
|
|
37
29
|
// 组件内部数据
|
|
38
30
|
const notifications = $ref([
|
|
39
31
|
{ id: 1, type: 'warning', title: '系统更新提醒 - v1.1.0 版本已发布', isRead: false, createdAt: Date.now() - 3600000 },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucideInfo />
|
|
@@ -39,11 +39,6 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
|
|
41
41
|
<script setup>
|
|
42
|
-
import IconLucideWebhook from '~icons/lucide/webhook';
|
|
43
|
-
import IconLucideUsers from '~icons/lucide/users';
|
|
44
|
-
import IconLucideUser from '~icons/lucide/user';
|
|
45
|
-
import IconLucideMenu from '~icons/lucide/menu';
|
|
46
|
-
import IconLucideInfo from '~icons/lucide/info';
|
|
47
42
|
import { $Http } from '@/plugins/http';
|
|
48
43
|
|
|
49
44
|
// 组件内部数据
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block">
|
|
3
3
|
<div class="section-header flex items-center gap-2">
|
|
4
4
|
<IconLucideActivity />
|
|
@@ -39,10 +39,6 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
|
|
41
41
|
<script setup>
|
|
42
|
-
import IconLucideDisc from '~icons/lucide/disc';
|
|
43
|
-
import IconLucideCpu from '~icons/lucide/cpu';
|
|
44
|
-
import IconLucideHardDrive from '~icons/lucide/hard-drive';
|
|
45
|
-
import IconLucideActivity from '~icons/lucide/activity';
|
|
46
42
|
import { $Http } from '@/plugins/http';
|
|
47
43
|
|
|
48
44
|
// 组件内部数据
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="section-block user-info-card">
|
|
3
3
|
<div class="user-header">
|
|
4
4
|
<div class="user-avatar">
|
|
@@ -37,11 +37,6 @@
|
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script setup>
|
|
40
|
-
import IconLucidePhone from '~icons/lucide/phone';
|
|
41
|
-
import IconLucideClock from '~icons/lucide/clock';
|
|
42
|
-
import IconLucideUser from '~icons/lucide/user';
|
|
43
|
-
import IconLucideMail from '~icons/lucide/mail';
|
|
44
|
-
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
45
40
|
import { $Http } from '@/plugins/http';
|
|
46
41
|
|
|
47
42
|
// 响应式数据
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<t-form :model="$Data.formData" :rules="$Data2.formRules" :ref="(el) => ($From.form = el)" class="login-form" label-width="90px" label-position="left" :show-message="false">
|
|
3
3
|
<t-form-item prop="account" label="账号">
|
|
4
4
|
<t-input v-model="$Data.formData.account" placeholder="请输入用户名或邮箱" size="large" clearable>
|
|
@@ -25,9 +25,6 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<script setup>
|
|
28
|
-
import { useRouter } from 'vue-router';
|
|
29
|
-
import IconLucideUser from '~icons/lucide/user';
|
|
30
|
-
import IconLucideLock from '~icons/lucide/lock';
|
|
31
28
|
import { $Http } from '@/plugins/http';
|
|
32
29
|
import { $Storage } from '@/plugins/storage';
|
|
33
30
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<t-form :model="$Data.formData" :rules="$Data2.formRules" :ref="(el) => ($From.form = el)" class="login-form" label-width="70px" label-position="left">
|
|
3
3
|
<t-form-item prop="username" label="用户名">
|
|
4
4
|
<t-input v-model="$Data.formData.username" placeholder="请输入用户名" size="large" clearable>
|
|
@@ -37,10 +37,6 @@
|
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script setup>
|
|
40
|
-
import IconLucideUser from '~icons/lucide/user';
|
|
41
|
-
import IconLucideMail from '~icons/lucide/mail';
|
|
42
|
-
import IconLucideLock from '~icons/lucide/lock';
|
|
43
|
-
import IconLucideSmile from '~icons/lucide/smile';
|
|
44
40
|
import { $Http } from '@/plugins/http';
|
|
45
41
|
|
|
46
42
|
const emit = defineEmits(['success']);
|
package/views/menu/index.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="page-menu page-table">
|
|
3
3
|
<div class="main-tool">
|
|
4
4
|
<div class="left">
|
|
@@ -57,12 +57,6 @@
|
|
|
57
57
|
</template>
|
|
58
58
|
|
|
59
59
|
<script setup>
|
|
60
|
-
import IconLucidePlus from '~icons/lucide/plus';
|
|
61
|
-
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
62
|
-
import IconLucideSquare from '~icons/lucide/square';
|
|
63
|
-
import IconLucidePencil from '~icons/lucide/pencil';
|
|
64
|
-
import IconLucideTrash2 from '~icons/lucide/trash-2';
|
|
65
|
-
|
|
66
60
|
import EditDialog from './components/edit.vue';
|
|
67
61
|
import { $Http } from '@/plugins/http';
|
|
68
62
|
|
package/views/role/index.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="page-role page-table">
|
|
3
3
|
<div class="main-tool">
|
|
4
4
|
<div class="left">
|
|
@@ -67,12 +67,6 @@
|
|
|
67
67
|
</template>
|
|
68
68
|
|
|
69
69
|
<script setup>
|
|
70
|
-
import IconLucidePlus from '~icons/lucide/plus';
|
|
71
|
-
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
72
|
-
import IconLucidePencil from '~icons/lucide/pencil';
|
|
73
|
-
import IconLucideSettings from '~icons/lucide/settings';
|
|
74
|
-
import IconLucideCode from '~icons/lucide/code';
|
|
75
|
-
import IconLucideTrash2 from '~icons/lucide/trash-2';
|
|
76
70
|
import EditDialog from './components/edit.vue';
|
|
77
71
|
import MenuDialog from './components/menu.vue';
|
|
78
72
|
import ApiDialog from './components/api.vue';
|
package/views/user/index.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<template>
|
|
2
2
|
<div class="user-manage">
|
|
3
3
|
<!-- 上:过滤和操作栏 -->
|
|
4
4
|
<div class="toolbar">
|
|
@@ -74,9 +74,6 @@
|
|
|
74
74
|
</template>
|
|
75
75
|
|
|
76
76
|
<script setup>
|
|
77
|
-
import IconLucidePlus from '~icons/lucide/plus';
|
|
78
|
-
import IconLucideSearch from '~icons/lucide/search';
|
|
79
|
-
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
80
77
|
import { $Http } from '@/plugins/http';
|
|
81
78
|
|
|
82
79
|
// 响应式数据
|