zant-admin 2.0.2 → 2.0.4
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/.editorconfig +6 -0
- package/.env.development +3 -0
- package/.env.production +1 -0
- package/.env.test +1 -0
- package/.gitignore +36 -0
- package/.prettierrc.json +9 -0
- package/README.en.md +461 -272
- package/README.md +4 -3
- package/bin/cli.js +1 -1
- package/eslint.config.js +30 -0
- package/index.html +13 -0
- package/jsconfig.json +8 -0
- package/package.json +11 -3
- package/src/App.vue +16 -16
- package/src/api/methods/logError.js +8 -8
- package/src/api/methods/logOperation.js +8 -8
- package/src/api/methods/login.js +6 -6
- package/src/api/methods/quartz.js +36 -36
- package/src/api/methods/region.js +16 -16
- package/src/api/methods/sysAccount.js +29 -29
- package/src/api/methods/sysDict.js +29 -29
- package/src/api/methods/sysDictItem.js +26 -26
- package/src/api/methods/sysMenu.js +42 -42
- package/src/api/methods/sysRole.js +35 -35
- package/src/api/methods/sysUser.js +25 -25
- package/src/api/methods/system.js +15 -15
- package/src/api/request.js +225 -225
- package/src/assets/css/zcui.css +1023 -1023
- package/src/components/IconPicker.vue +351 -351
- package/src/components/MainPage.vue +838 -838
- package/src/components/details/logErrorDetails.vue +58 -58
- package/src/components/details/logOperationDetails.vue +76 -76
- package/src/components/edit/QuartzEdit.vue +221 -221
- package/src/components/edit/SysAccountEdit.vue +185 -185
- package/src/components/edit/SysDictEdit.vue +116 -116
- package/src/components/edit/SysDictItemEdit.vue +136 -136
- package/src/components/edit/SysRoleEdit.vue +111 -111
- package/src/config/index.js +74 -74
- package/src/directives/permission.js +49 -49
- package/src/main.js +37 -37
- package/src/stores/config.js +43 -43
- package/src/stores/dict.js +33 -33
- package/src/stores/menu.js +81 -81
- package/src/stores/user.js +21 -21
- package/src/utils/baseEcharts.js +661 -661
- package/src/utils/dictTemplate.js +26 -26
- package/src/utils/regionUtils.js +173 -173
- package/src/utils/useFormCRUD.js +59 -59
- package/src/views/baiscstatis/center.vue +474 -474
- package/src/views/baiscstatis/iframePage.vue +29 -29
- package/src/views/baiscstatis/notFound.vue +192 -192
- package/src/views/console.vue +821 -821
- package/src/views/demo/button.vue +269 -269
- package/src/views/demo/importexport.vue +119 -119
- package/src/views/demo/region.vue +322 -322
- package/src/views/demo/statistics.vue +214 -214
- package/src/views/home.vue +6 -6
- package/src/views/operations/log/logError.vue +78 -78
- package/src/views/operations/log/logLogin.vue +66 -66
- package/src/views/operations/log/logOperation.vue +103 -103
- package/src/views/operations/log/logQuartz.vue +56 -56
- package/src/views/operations/quartz.vue +179 -179
- package/src/views/operations/serviceMonitoring.vue +134 -134
- package/src/views/system/sysAccount.vue +128 -128
- package/src/views/system/sysDict.vue +159 -159
- package/src/views/system/sysDictItem.vue +118 -118
- package/src/views/system/sysMenu.vue +225 -225
- package/src/views/system/sysRole.vue +207 -207
- package/vite.config.js +33 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-modal
|
|
3
|
-
:open="open"
|
|
4
|
-
title="详情"
|
|
5
|
-
width="60%"
|
|
6
|
-
wrap-class-name="full-modal"
|
|
7
|
-
@cancel="onClose"
|
|
8
|
-
>
|
|
9
|
-
<a-descriptions title="" bordered :column="2">
|
|
10
|
-
<a-descriptions-item label="ID">
|
|
11
|
-
{{ info.id }}
|
|
12
|
-
</a-descriptions-item>
|
|
13
|
-
<a-descriptions-item label="方法">
|
|
14
|
-
{{ info.actionName }}
|
|
15
|
-
</a-descriptions-item>
|
|
16
|
-
<a-descriptions-item label="异常码">
|
|
17
|
-
{{ info.code }}
|
|
18
|
-
</a-descriptions-item>
|
|
19
|
-
<a-descriptions-item label="异常内容"
|
|
20
|
-
>{{ info.message }}
|
|
21
|
-
</a-descriptions-item>
|
|
22
|
-
<a-descriptions-item label="异常时间">
|
|
23
|
-
{{ info.createTime }}
|
|
24
|
-
</a-descriptions-item>
|
|
25
|
-
<a-descriptions-item label="备注">
|
|
26
|
-
{{ info.remark }}
|
|
27
|
-
</a-descriptions-item>
|
|
28
|
-
</a-descriptions>
|
|
29
|
-
<a-divider orientation="left" plain="true"></a-divider>
|
|
30
|
-
<a-descriptions title="" :column="1" bordered>
|
|
31
|
-
<a-descriptions-item label="异常完整内容">
|
|
32
|
-
{{ info.exception }}
|
|
33
|
-
</a-descriptions-item>
|
|
34
|
-
</a-descriptions>
|
|
35
|
-
<template #footer>
|
|
36
|
-
<a-button key="submit" type="primary" @click="onClose">关闭</a-button>
|
|
37
|
-
</template>
|
|
38
|
-
</a-modal>
|
|
39
|
-
</template>
|
|
40
|
-
<script setup>
|
|
41
|
-
import { defineProps, defineEmits } from 'vue'
|
|
42
|
-
|
|
43
|
-
const props = defineProps({
|
|
44
|
-
open: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
required: true,
|
|
47
|
-
},
|
|
48
|
-
info: {
|
|
49
|
-
type: Object,
|
|
50
|
-
required: true,
|
|
51
|
-
},
|
|
52
|
-
})
|
|
53
|
-
// 定义 emits,用于触发关闭事件
|
|
54
|
-
const emit = defineEmits(['close'])
|
|
55
|
-
const onClose = () => {
|
|
56
|
-
emit('close')
|
|
57
|
-
}
|
|
58
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<a-modal
|
|
3
|
+
:open="open"
|
|
4
|
+
title="详情"
|
|
5
|
+
width="60%"
|
|
6
|
+
wrap-class-name="full-modal"
|
|
7
|
+
@cancel="onClose"
|
|
8
|
+
>
|
|
9
|
+
<a-descriptions title="" bordered :column="2">
|
|
10
|
+
<a-descriptions-item label="ID">
|
|
11
|
+
{{ info.id }}
|
|
12
|
+
</a-descriptions-item>
|
|
13
|
+
<a-descriptions-item label="方法">
|
|
14
|
+
{{ info.actionName }}
|
|
15
|
+
</a-descriptions-item>
|
|
16
|
+
<a-descriptions-item label="异常码">
|
|
17
|
+
{{ info.code }}
|
|
18
|
+
</a-descriptions-item>
|
|
19
|
+
<a-descriptions-item label="异常内容"
|
|
20
|
+
>{{ info.message }}
|
|
21
|
+
</a-descriptions-item>
|
|
22
|
+
<a-descriptions-item label="异常时间">
|
|
23
|
+
{{ info.createTime }}
|
|
24
|
+
</a-descriptions-item>
|
|
25
|
+
<a-descriptions-item label="备注">
|
|
26
|
+
{{ info.remark }}
|
|
27
|
+
</a-descriptions-item>
|
|
28
|
+
</a-descriptions>
|
|
29
|
+
<a-divider orientation="left" plain="true"></a-divider>
|
|
30
|
+
<a-descriptions title="" :column="1" bordered>
|
|
31
|
+
<a-descriptions-item label="异常完整内容">
|
|
32
|
+
{{ info.exception }}
|
|
33
|
+
</a-descriptions-item>
|
|
34
|
+
</a-descriptions>
|
|
35
|
+
<template #footer>
|
|
36
|
+
<a-button key="submit" type="primary" @click="onClose">关闭</a-button>
|
|
37
|
+
</template>
|
|
38
|
+
</a-modal>
|
|
39
|
+
</template>
|
|
40
|
+
<script setup>
|
|
41
|
+
import { defineProps, defineEmits } from 'vue'
|
|
42
|
+
|
|
43
|
+
const props = defineProps({
|
|
44
|
+
open: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
required: true,
|
|
47
|
+
},
|
|
48
|
+
info: {
|
|
49
|
+
type: Object,
|
|
50
|
+
required: true,
|
|
51
|
+
},
|
|
52
|
+
})
|
|
53
|
+
// 定义 emits,用于触发关闭事件
|
|
54
|
+
const emit = defineEmits(['close'])
|
|
55
|
+
const onClose = () => {
|
|
56
|
+
emit('close')
|
|
57
|
+
}
|
|
58
|
+
</script>
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-modal
|
|
3
|
-
:open="open"
|
|
4
|
-
title="详情"
|
|
5
|
-
width="60%"
|
|
6
|
-
wrap-class-name="full-modal"
|
|
7
|
-
@cancel="onClose"
|
|
8
|
-
>
|
|
9
|
-
<a-descriptions title="" bordered :column="2">
|
|
10
|
-
<a-descriptions-item label="控制器名称">
|
|
11
|
-
{{ info.controllerName }}
|
|
12
|
-
</a-descriptions-item>
|
|
13
|
-
<a-descriptions-item label="请求Ip">
|
|
14
|
-
{{ info.operationIp }}
|
|
15
|
-
</a-descriptions-item>
|
|
16
|
-
<a-descriptions-item label="操作方法">
|
|
17
|
-
{{ info.operationMethod }}
|
|
18
|
-
</a-descriptions-item>
|
|
19
|
-
<a-descriptions-item label="请求端源"
|
|
20
|
-
>{{ info.requestFrom }}
|
|
21
|
-
</a-descriptions-item>
|
|
22
|
-
<a-descriptions-item label="请求地址">
|
|
23
|
-
{{ info.requestAddress }}
|
|
24
|
-
</a-descriptions-item>
|
|
25
|
-
<a-descriptions-item label="请求方式">
|
|
26
|
-
{{ info.requestMethod }}
|
|
27
|
-
</a-descriptions-item>
|
|
28
|
-
<a-descriptions-item label="执行耗时">
|
|
29
|
-
{{ info.elapsedMilliseconds }}
|
|
30
|
-
</a-descriptions-item>
|
|
31
|
-
<a-descriptions-item label="请求时间">
|
|
32
|
-
{{ info.createTime }}
|
|
33
|
-
</a-descriptions-item>
|
|
34
|
-
<a-descriptions-item label="操作人员">
|
|
35
|
-
{{ info.operationPersonnel }}
|
|
36
|
-
</a-descriptions-item>
|
|
37
|
-
</a-descriptions>
|
|
38
|
-
<a-divider orientation="left" plain="true"></a-divider>
|
|
39
|
-
<a-descriptions title="" :column="1" bordered>
|
|
40
|
-
<a-descriptions-item label="userAgent">
|
|
41
|
-
{{ info.userAgent }}
|
|
42
|
-
</a-descriptions-item>
|
|
43
|
-
<a-descriptions-item label="授权信息">
|
|
44
|
-
{{ info.asccessToken }}
|
|
45
|
-
</a-descriptions-item>
|
|
46
|
-
<a-descriptions-item label="请求参数">
|
|
47
|
-
{{ info.requestParameters }}
|
|
48
|
-
</a-descriptions-item>
|
|
49
|
-
<a-descriptions-item label="返回参数">
|
|
50
|
-
{{ info.returnParameters }}
|
|
51
|
-
</a-descriptions-item>
|
|
52
|
-
</a-descriptions>
|
|
53
|
-
<template #footer>
|
|
54
|
-
<a-button key="submit" type="primary" @click="onClose">关闭</a-button>
|
|
55
|
-
</template>
|
|
56
|
-
</a-modal>
|
|
57
|
-
</template>
|
|
58
|
-
<script setup>
|
|
59
|
-
import { defineProps, defineEmits } from 'vue'
|
|
60
|
-
|
|
61
|
-
const props = defineProps({
|
|
62
|
-
open: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
required: true,
|
|
65
|
-
},
|
|
66
|
-
info: {
|
|
67
|
-
type: Object,
|
|
68
|
-
required: true,
|
|
69
|
-
},
|
|
70
|
-
})
|
|
71
|
-
// 定义 emits,用于触发关闭事件
|
|
72
|
-
const emit = defineEmits(['close'])
|
|
73
|
-
const onClose = () => {
|
|
74
|
-
emit('close')
|
|
75
|
-
}
|
|
76
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<a-modal
|
|
3
|
+
:open="open"
|
|
4
|
+
title="详情"
|
|
5
|
+
width="60%"
|
|
6
|
+
wrap-class-name="full-modal"
|
|
7
|
+
@cancel="onClose"
|
|
8
|
+
>
|
|
9
|
+
<a-descriptions title="" bordered :column="2">
|
|
10
|
+
<a-descriptions-item label="控制器名称">
|
|
11
|
+
{{ info.controllerName }}
|
|
12
|
+
</a-descriptions-item>
|
|
13
|
+
<a-descriptions-item label="请求Ip">
|
|
14
|
+
{{ info.operationIp }}
|
|
15
|
+
</a-descriptions-item>
|
|
16
|
+
<a-descriptions-item label="操作方法">
|
|
17
|
+
{{ info.operationMethod }}
|
|
18
|
+
</a-descriptions-item>
|
|
19
|
+
<a-descriptions-item label="请求端源"
|
|
20
|
+
>{{ info.requestFrom }}
|
|
21
|
+
</a-descriptions-item>
|
|
22
|
+
<a-descriptions-item label="请求地址">
|
|
23
|
+
{{ info.requestAddress }}
|
|
24
|
+
</a-descriptions-item>
|
|
25
|
+
<a-descriptions-item label="请求方式">
|
|
26
|
+
{{ info.requestMethod }}
|
|
27
|
+
</a-descriptions-item>
|
|
28
|
+
<a-descriptions-item label="执行耗时">
|
|
29
|
+
{{ info.elapsedMilliseconds }}
|
|
30
|
+
</a-descriptions-item>
|
|
31
|
+
<a-descriptions-item label="请求时间">
|
|
32
|
+
{{ info.createTime }}
|
|
33
|
+
</a-descriptions-item>
|
|
34
|
+
<a-descriptions-item label="操作人员">
|
|
35
|
+
{{ info.operationPersonnel }}
|
|
36
|
+
</a-descriptions-item>
|
|
37
|
+
</a-descriptions>
|
|
38
|
+
<a-divider orientation="left" plain="true"></a-divider>
|
|
39
|
+
<a-descriptions title="" :column="1" bordered>
|
|
40
|
+
<a-descriptions-item label="userAgent">
|
|
41
|
+
{{ info.userAgent }}
|
|
42
|
+
</a-descriptions-item>
|
|
43
|
+
<a-descriptions-item label="授权信息">
|
|
44
|
+
{{ info.asccessToken }}
|
|
45
|
+
</a-descriptions-item>
|
|
46
|
+
<a-descriptions-item label="请求参数">
|
|
47
|
+
{{ info.requestParameters }}
|
|
48
|
+
</a-descriptions-item>
|
|
49
|
+
<a-descriptions-item label="返回参数">
|
|
50
|
+
{{ info.returnParameters }}
|
|
51
|
+
</a-descriptions-item>
|
|
52
|
+
</a-descriptions>
|
|
53
|
+
<template #footer>
|
|
54
|
+
<a-button key="submit" type="primary" @click="onClose">关闭</a-button>
|
|
55
|
+
</template>
|
|
56
|
+
</a-modal>
|
|
57
|
+
</template>
|
|
58
|
+
<script setup>
|
|
59
|
+
import { defineProps, defineEmits } from 'vue'
|
|
60
|
+
|
|
61
|
+
const props = defineProps({
|
|
62
|
+
open: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
required: true,
|
|
65
|
+
},
|
|
66
|
+
info: {
|
|
67
|
+
type: Object,
|
|
68
|
+
required: true,
|
|
69
|
+
},
|
|
70
|
+
})
|
|
71
|
+
// 定义 emits,用于触发关闭事件
|
|
72
|
+
const emit = defineEmits(['close'])
|
|
73
|
+
const onClose = () => {
|
|
74
|
+
emit('close')
|
|
75
|
+
}
|
|
76
|
+
</script>
|