adtec-core-package 0.2.4 → 0.2.6

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.
Files changed (158) hide show
  1. package/.editorconfig +6 -6
  2. package/.prettierrc.json +7 -7
  3. package/.vscode/extensions.json +8 -8
  4. package/README.md +39 -39
  5. package/env.d.ts +1 -1
  6. package/eslint.config.js +56 -56
  7. package/index.html +13 -13
  8. package/package.json +56 -56
  9. package/src/App.vue +9 -9
  10. package/src/api/BasicApi.ts +17 -0
  11. package/src/api/SysDictCacheApi.ts +1 -3
  12. package/src/api/SysUserApi.ts +35 -0
  13. package/src/assets/base.css +86 -86
  14. package/src/assets/logo.svg +1 -1
  15. package/src/assets/main.css +35 -35
  16. package/src/assets/style/transition.scss +49 -49
  17. package/src/components/OperationAuth/operationAuth.vue +26 -26
  18. package/src/components/Search/ElIconSearch.vue +239 -239
  19. package/src/components/Search/ElSearch.vue +132 -132
  20. package/src/components/business/userSelect.vue +412 -0
  21. package/src/components/icon/ElIconBtn.vue +182 -182
  22. package/src/components/icon/ElIcons.vue +38 -38
  23. package/src/components/upload/ElUploads.vue +279 -279
  24. package/src/css/elementUI/affix.scss +7 -7
  25. package/src/css/elementUI/alert.scss +115 -115
  26. package/src/css/elementUI/anchor-link.scss +41 -41
  27. package/src/css/elementUI/anchor.scss +88 -88
  28. package/src/css/elementUI/aside.scss +8 -8
  29. package/src/css/elementUI/avatar.scss +55 -55
  30. package/src/css/elementUI/backtop.scss +29 -29
  31. package/src/css/elementUI/badge.scss +58 -58
  32. package/src/css/elementUI/base.scss +3 -3
  33. package/src/css/elementUI/breadcrumb.scss +62 -62
  34. package/src/css/elementUI/button-group.scss +80 -80
  35. package/src/css/elementUI/button.scss +304 -304
  36. package/src/css/elementUI/calendar.scss +80 -80
  37. package/src/css/elementUI/card.scss +45 -45
  38. package/src/css/elementUI/carousel-item.scss +58 -58
  39. package/src/css/elementUI/carousel.scss +188 -188
  40. package/src/css/elementUI/cascader-panel.scss +138 -138
  41. package/src/css/elementUI/cascader.scss +230 -230
  42. package/src/css/elementUI/check-tag.scss +60 -60
  43. package/src/css/elementUI/checkbox-button.scss +140 -140
  44. package/src/css/elementUI/checkbox-group.scss +7 -7
  45. package/src/css/elementUI/checkbox.scss +298 -298
  46. package/src/css/elementUI/col.scss +48 -48
  47. package/src/css/elementUI/collapse.scss +70 -70
  48. package/src/css/elementUI/color/index.scss +20 -20
  49. package/src/css/elementUI/color-picker.scss +392 -392
  50. package/src/css/elementUI/common/popup.scss +47 -47
  51. package/src/css/elementUI/common/transition.scss +122 -122
  52. package/src/css/elementUI/container.scss +14 -14
  53. package/src/css/elementUI/dark/css-vars.scss +39 -39
  54. package/src/css/elementUI/dark/var.scss +222 -222
  55. package/src/css/elementUI/date-picker/date-picker.scss +110 -110
  56. package/src/css/elementUI/date-picker/date-range-picker.scss +113 -113
  57. package/src/css/elementUI/date-picker/date-table.scss +158 -158
  58. package/src/css/elementUI/date-picker/month-table.scss +112 -112
  59. package/src/css/elementUI/date-picker/picker-panel.scss +131 -131
  60. package/src/css/elementUI/date-picker/time-picker.scss +90 -90
  61. package/src/css/elementUI/date-picker/time-range-picker.scss +33 -33
  62. package/src/css/elementUI/date-picker/time-spinner.scss +111 -111
  63. package/src/css/elementUI/date-picker/year-table.scss +108 -108
  64. package/src/css/elementUI/date-picker.scss +9 -9
  65. package/src/css/elementUI/descriptions-item.scss +73 -73
  66. package/src/css/elementUI/descriptions.scss +152 -152
  67. package/src/css/elementUI/dialog.scss +199 -199
  68. package/src/css/elementUI/display.scss +12 -12
  69. package/src/css/elementUI/divider.scss +48 -48
  70. package/src/css/elementUI/dropdown.scss +208 -208
  71. package/src/css/elementUI/empty.scss +49 -49
  72. package/src/css/elementUI/footer.scss +12 -12
  73. package/src/css/elementUI/form.scss +243 -243
  74. package/src/css/elementUI/header.scss +12 -12
  75. package/src/css/elementUI/icon.scss +45 -45
  76. package/src/css/elementUI/image-viewer.scss +139 -139
  77. package/src/css/elementUI/image.scss +49 -49
  78. package/src/css/elementUI/index.scss +110 -110
  79. package/src/css/elementUI/input-number.scss +178 -178
  80. package/src/css/elementUI/input.scss +478 -478
  81. package/src/css/elementUI/link.scss +90 -90
  82. package/src/css/elementUI/loading.scss +104 -104
  83. package/src/css/elementUI/main.scss +14 -14
  84. package/src/css/elementUI/mention.scss +88 -88
  85. package/src/css/elementUI/menu.scss +339 -339
  86. package/src/css/elementUI/message-box.scss +213 -213
  87. package/src/css/elementUI/message.scss +98 -98
  88. package/src/css/elementUI/mixins/_button.scss +165 -165
  89. package/src/css/elementUI/mixins/_col.scss +33 -33
  90. package/src/css/elementUI/mixins/_var.scss +67 -67
  91. package/src/css/elementUI/mixins/config.scss +5 -5
  92. package/src/css/elementUI/mixins/function.scss +88 -88
  93. package/src/css/elementUI/mixins/mixins.scss +237 -237
  94. package/src/css/elementUI/mixins/utils.scss +39 -39
  95. package/src/css/elementUI/notification.scss +104 -104
  96. package/src/css/elementUI/option-group.scss +33 -33
  97. package/src/css/elementUI/option.scss +71 -71
  98. package/src/css/elementUI/overlay.scss +17 -17
  99. package/src/css/elementUI/page-header.scss +60 -60
  100. package/src/css/elementUI/pagination.scss +238 -238
  101. package/src/css/elementUI/popconfirm.scss +16 -16
  102. package/src/css/elementUI/popover.scss +61 -61
  103. package/src/css/elementUI/popper.scss +106 -106
  104. package/src/css/elementUI/progress.scss +179 -179
  105. package/src/css/elementUI/radio-button.scss +169 -169
  106. package/src/css/elementUI/radio-group.scss +9 -9
  107. package/src/css/elementUI/radio.scss +215 -215
  108. package/src/css/elementUI/rate.scss +108 -108
  109. package/src/css/elementUI/reset.scss +98 -98
  110. package/src/css/elementUI/result.scss +57 -57
  111. package/src/css/elementUI/row.scss +35 -35
  112. package/src/css/elementUI/scrollbar.scss +97 -97
  113. package/src/css/elementUI/segmented.scss +183 -183
  114. package/src/css/elementUI/select-dropdown-v2.scss +1 -1
  115. package/src/css/elementUI/select-dropdown.scss +57 -57
  116. package/src/css/elementUI/select-v2.scss +4 -4
  117. package/src/css/elementUI/select.scss +253 -253
  118. package/src/css/elementUI/skeleton-item.scss +83 -83
  119. package/src/css/elementUI/skeleton.scss +44 -44
  120. package/src/css/elementUI/slider.scss +212 -212
  121. package/src/css/elementUI/space.scss +20 -20
  122. package/src/css/elementUI/spinner.scss +43 -43
  123. package/src/css/elementUI/statistic.scss +35 -35
  124. package/src/css/elementUI/step.scss +316 -316
  125. package/src/css/elementUI/steps.scss +21 -21
  126. package/src/css/elementUI/switch.scss +300 -300
  127. package/src/css/elementUI/table-column.scss +98 -98
  128. package/src/css/elementUI/table-v2.scss +236 -236
  129. package/src/css/elementUI/tag.scss +181 -181
  130. package/src/css/elementUI/text.scss +51 -51
  131. package/src/css/elementUI/time-picker.scss +5 -5
  132. package/src/css/elementUI/time-select.scss +37 -37
  133. package/src/css/elementUI/timeline-item.scss +84 -84
  134. package/src/css/elementUI/timeline.scss +46 -46
  135. package/src/css/elementUI/tooltip-v2.scss +95 -95
  136. package/src/css/elementUI/tour.scss +187 -187
  137. package/src/css/elementUI/transfer.scss +203 -203
  138. package/src/css/elementUI/tree-select.scss +41 -41
  139. package/src/css/elementUI/tree.scss +134 -134
  140. package/src/css/elementUI/upload.scss +654 -654
  141. package/src/css/elementUI/var.scss +87 -87
  142. package/src/css/elementUI/virtual-list.scss +40 -40
  143. package/src/hooks/useDictHooks.ts +77 -0
  144. package/src/interface/IMdmDept.ts +82 -0
  145. package/src/interface/IOrgDeptInfo.ts +12 -0
  146. package/src/interface/ISysUserInfo.ts +70 -0
  147. package/src/interface/dictMapType.ts +11 -0
  148. package/src/interface/enum/FlexEnum.ts +85 -85
  149. package/src/main.ts +14 -14
  150. package/src/mixin/globalMixin.ts +34 -31
  151. package/src/router/index.ts +23 -23
  152. package/src/utils/encrypt.ts +10 -10
  153. package/src/utils/request.ts +55 -55
  154. package/tsconfig.app.json +12 -12
  155. package/tsconfig.json +11 -11
  156. package/tsconfig.node.json +18 -18
  157. package/vite.config.ts +38 -38
  158. /package/src/components/autoToolTip/{index.vue → ElAutoToolTip.vue} +0 -0
@@ -1,87 +1,87 @@
1
- // CSS3 var
2
- @use 'common/var' as *;
3
- @use 'mixins/var' as *;
4
- @use 'mixins/mixins' as *;
5
-
6
- // for better performance do not dynamically change the root variable if you really
7
- // do not need that, since this could introduce recalculation overhead for rendering.
8
- // https://lisilinhart.info/posts/css-variables-performance/
9
-
10
- // common
11
- :root {
12
- @include set-css-var-value('color-white', $color-white);
13
- @include set-css-var-value('color-black', $color-black);
14
-
15
- // get rgb
16
- @each $type in (primary, success, warning, danger, error, info) {
17
- @include set-css-color-rgb($type);
18
- }
19
-
20
- // Typography
21
- @include set-component-css-var('font-size', $font-size);
22
- @include set-component-css-var('font-family', $font-family);
23
-
24
- @include set-css-var-value('font-weight-primary', 500);
25
- @include set-css-var-value('font-line-height-primary', 24px);
26
-
27
- // z-index --el-index-#{$type}
28
- @include set-component-css-var('index', $z-index);
29
-
30
- // --el-border-radius-#{$type}
31
- @include set-component-css-var('border-radius', $border-radius);
32
-
33
- // Transition
34
- // refer to this website to get the bezier motion function detail
35
- // https://cubic-bezier.com/#p1,p2,p3,p4 (change px as your function parameter)
36
- @include set-component-css-var('transition-duration', $transition-duration);
37
-
38
- @include set-component-css-var('transition-function', $transition-function);
39
- @include set-component-css-var('transition', $transition);
40
-
41
- // common component size
42
- @include set-component-css-var('component-size', $common-component-size);
43
- }
44
-
45
- // for light
46
- :root {
47
- color-scheme: light;
48
-
49
- // --el-color-#{$type}
50
- // --el-color-#{$type}-light-{$i}
51
- @each $type in (primary, success, warning, danger, error, info) {
52
- @include set-css-color-type($colors, $type);
53
- }
54
-
55
- // color-scheme
56
- // Background --el-bg-color-#{$type}
57
- @include set-component-css-var('bg-color', $bg-color);
58
- // --el-text-color-#{$type}
59
- @include set-component-css-var('text-color', $text-color);
60
- // --el-border-color-#{$type}
61
- @include set-component-css-var('border-color', $border-color);
62
- // Fill --el-fill-color-#{$type}
63
- @include set-component-css-var('fill-color', $fill-color);
64
-
65
- // Box-shadow
66
- // --el-box-shadow-#{$type}
67
- @include set-component-css-var('box-shadow', $box-shadow);
68
- // Disable base
69
- @include set-component-css-var('disabled', $disabled);
70
-
71
- // overlay & mask
72
- @include set-component-css-var('overlay-color', $overlay-color);
73
- @include set-component-css-var('mask-color', $mask-color);
74
-
75
- // Border
76
- @include set-css-var-value('border-width', $border-width);
77
- @include set-css-var-value('border-style', $border-style);
78
- @include set-css-var-value('border-color-hover', $border-color-hover);
79
- @include set-css-var-value(
80
- 'border',
81
- getCssVar('border-width') getCssVar('border-style')
82
- getCssVar('border-color')
83
- );
84
-
85
- // Svg
86
- @include css-var-from-global('svg-monochrome-grey', 'border-color');
87
- }
1
+ // CSS3 var
2
+ @use 'common/var' as *;
3
+ @use 'mixins/var' as *;
4
+ @use 'mixins/mixins' as *;
5
+
6
+ // for better performance do not dynamically change the root variable if you really
7
+ // do not need that, since this could introduce recalculation overhead for rendering.
8
+ // https://lisilinhart.info/posts/css-variables-performance/
9
+
10
+ // common
11
+ :root {
12
+ @include set-css-var-value('color-white', $color-white);
13
+ @include set-css-var-value('color-black', $color-black);
14
+
15
+ // get rgb
16
+ @each $type in (primary, success, warning, danger, error, info) {
17
+ @include set-css-color-rgb($type);
18
+ }
19
+
20
+ // Typography
21
+ @include set-component-css-var('font-size', $font-size);
22
+ @include set-component-css-var('font-family', $font-family);
23
+
24
+ @include set-css-var-value('font-weight-primary', 500);
25
+ @include set-css-var-value('font-line-height-primary', 24px);
26
+
27
+ // z-index --el-index-#{$type}
28
+ @include set-component-css-var('index', $z-index);
29
+
30
+ // --el-border-radius-#{$type}
31
+ @include set-component-css-var('border-radius', $border-radius);
32
+
33
+ // Transition
34
+ // refer to this website to get the bezier motion function detail
35
+ // https://cubic-bezier.com/#p1,p2,p3,p4 (change px as your function parameter)
36
+ @include set-component-css-var('transition-duration', $transition-duration);
37
+
38
+ @include set-component-css-var('transition-function', $transition-function);
39
+ @include set-component-css-var('transition', $transition);
40
+
41
+ // common component size
42
+ @include set-component-css-var('component-size', $common-component-size);
43
+ }
44
+
45
+ // for light
46
+ :root {
47
+ color-scheme: light;
48
+
49
+ // --el-color-#{$type}
50
+ // --el-color-#{$type}-light-{$i}
51
+ @each $type in (primary, success, warning, danger, error, info) {
52
+ @include set-css-color-type($colors, $type);
53
+ }
54
+
55
+ // color-scheme
56
+ // Background --el-bg-color-#{$type}
57
+ @include set-component-css-var('bg-color', $bg-color);
58
+ // --el-text-color-#{$type}
59
+ @include set-component-css-var('text-color', $text-color);
60
+ // --el-border-color-#{$type}
61
+ @include set-component-css-var('border-color', $border-color);
62
+ // Fill --el-fill-color-#{$type}
63
+ @include set-component-css-var('fill-color', $fill-color);
64
+
65
+ // Box-shadow
66
+ // --el-box-shadow-#{$type}
67
+ @include set-component-css-var('box-shadow', $box-shadow);
68
+ // Disable base
69
+ @include set-component-css-var('disabled', $disabled);
70
+
71
+ // overlay & mask
72
+ @include set-component-css-var('overlay-color', $overlay-color);
73
+ @include set-component-css-var('mask-color', $mask-color);
74
+
75
+ // Border
76
+ @include set-css-var-value('border-width', $border-width);
77
+ @include set-css-var-value('border-style', $border-style);
78
+ @include set-css-var-value('border-color-hover', $border-color-hover);
79
+ @include set-css-var-value(
80
+ 'border',
81
+ getCssVar('border-width') getCssVar('border-style')
82
+ getCssVar('border-color')
83
+ );
84
+
85
+ // Svg
86
+ @include css-var-from-global('svg-monochrome-grey', 'border-color');
87
+ }
@@ -1,40 +1,40 @@
1
- @use 'mixins/mixins' as *;
2
- @use 'common/var' as *;
3
-
4
- @mixin showScrollbar {
5
- @include b(virtual-scrollbar) {
6
- opacity: 1;
7
- }
8
- }
9
-
10
- @include b(vl) {
11
- @include e(wrapper) {
12
- position: relative;
13
- &:hover {
14
- @include showScrollbar();
15
- }
16
- &.always-on {
17
- @include showScrollbar();
18
- }
19
- }
20
- }
21
-
22
- .#{$namespace}-vl__window {
23
- scrollbar-width: none;
24
- &::-webkit-scrollbar {
25
- display: none;
26
- }
27
- }
28
- @include b(virtual-scrollbar) {
29
- opacity: 0;
30
- transition: opacity 340ms ease-out;
31
- &.always-on {
32
- opacity: 1;
33
- }
34
- }
35
-
36
- @include b(vg) {
37
- @include e(wrapper) {
38
- position: relative;
39
- }
40
- }
1
+ @use 'mixins/mixins' as *;
2
+ @use 'common/var' as *;
3
+
4
+ @mixin showScrollbar {
5
+ @include b(virtual-scrollbar) {
6
+ opacity: 1;
7
+ }
8
+ }
9
+
10
+ @include b(vl) {
11
+ @include e(wrapper) {
12
+ position: relative;
13
+ &:hover {
14
+ @include showScrollbar();
15
+ }
16
+ &.always-on {
17
+ @include showScrollbar();
18
+ }
19
+ }
20
+ }
21
+
22
+ .#{$namespace}-vl__window {
23
+ scrollbar-width: none;
24
+ &::-webkit-scrollbar {
25
+ display: none;
26
+ }
27
+ }
28
+ @include b(virtual-scrollbar) {
29
+ opacity: 0;
30
+ transition: opacity 340ms ease-out;
31
+ &.always-on {
32
+ opacity: 1;
33
+ }
34
+ }
35
+
36
+ @include b(vg) {
37
+ @include e(wrapper) {
38
+ position: relative;
39
+ }
40
+ }
@@ -0,0 +1,77 @@
1
+ /**
2
+ * 创建人 胡啸东
3
+ * 说明: 查询字典Hooks
4
+ * 创建时间: 2024/11/28 下午10:27
5
+ * 修改时间: 2024/11/28 下午10:27
6
+ */
7
+ import { onBeforeUnmount, ref } from 'vue'
8
+ import type { ISysDictDataCacheVo } from '../interface/ISysDictDataCacheVo'
9
+ import { ElMessage } from 'element-plus'
10
+ import SysDictCacheApi from '../api/SysDictCacheApi.ts'
11
+ import type { dictMapType } from '../interface/dictMapType.ts'
12
+
13
+ export default function useDictHooks(dictTypes: string[]) {
14
+ const dictMap = ref<dictMapType>({})
15
+ const dictDataMap = ref<Map<string, Map<string, ISysDictDataCacheVo>>>(new Map())
16
+ const dictDefaultValueMap = ref<Map<string, ISysDictDataCacheVo>>(new Map())
17
+ const getDict = async (dictTypes: string[]) => {
18
+ try {
19
+ const data = await SysDictCacheApi.batchGetSysDictDataCacheVo(dictTypes)
20
+ dictMap.value = { ...dictMap.value, ...data }
21
+ //获取默认值
22
+ Object.keys(data).forEach((item: string) => {
23
+ findDefaultValue(data[item], item)
24
+ const dataMap = new Map<string, ISysDictDataCacheVo>()
25
+ packageDictDataMap(dataMap, data[item])
26
+ dictDataMap.value.set(item, dataMap)
27
+ })
28
+ } catch (error: any) {
29
+ ElMessage.error(error.msg || error.message)
30
+ }
31
+ }
32
+
33
+ const packageDictDataMap = async (
34
+ map: Map<string, ISysDictDataCacheVo>,
35
+ list?: ISysDictDataCacheVo[],
36
+ ) => {
37
+ if (list && list.length) {
38
+ list.forEach((item: ISysDictDataCacheVo) => {
39
+ map.set(item.value, { ...item, ...{ children: undefined } })
40
+ packageDictDataMap(map, item.children)
41
+ })
42
+ }
43
+ }
44
+ const findDefaultValue = async (list: ISysDictDataCacheVo[], type: string) => {
45
+ const find = getDefaultValue(list)
46
+ find && dictDefaultValueMap.value.set(type, find)
47
+ }
48
+ const getDefaultValue = (list?: ISysDictDataCacheVo[]): ISysDictDataCacheVo | undefined => {
49
+ if (list && list.length) {
50
+ const find = list.find((item: ISysDictDataCacheVo) => item.isDefault === '1')
51
+ if (find) return find
52
+ for (const iSysDictDataCacheVo of list) {
53
+ const res = getDefaultValue(iSysDictDataCacheVo.children)
54
+ if (res) return res
55
+ }
56
+ }
57
+ }
58
+
59
+ const getDictName = (value?: string, dictType?: string) => {
60
+ return dictDataMap.value.get(dictType!)?.get(value!)?.label || value
61
+ }
62
+ const getDictData = (value: string, dictType: string) => {
63
+ return dictDataMap.value.get(dictType)?.get(value)
64
+ }
65
+ getDict(dictTypes).then(() => {})
66
+ onBeforeUnmount(() => {
67
+ dictDefaultValueMap.value.clear()
68
+ dictDataMap.value.clear()
69
+ })
70
+ return {
71
+ dictMap,
72
+ dictDefaultValueMap,
73
+ getDict,
74
+ getDictName,
75
+ getDictData,
76
+ }
77
+ }
@@ -0,0 +1,82 @@
1
+ import type { IpageDataQuery } from './PageData.ts'
2
+
3
+ /**
4
+ * 创建人 胡啸东
5
+ * 说明: Isss
6
+ * 创建时间: 2024/11/22 上午11:28
7
+ * 修改时间: 2024/11/22 上午11:28
8
+ */
9
+ export interface IMdmDept extends IpageDataQuery {
10
+ /**
11
+ * 主键id
12
+ */
13
+ id?: string
14
+
15
+ /**
16
+ * 排序号 自增长,可修改
17
+ */
18
+ orderNum?: string
19
+
20
+ /**
21
+ * 父部门id
22
+ */
23
+ parentId?: string
24
+
25
+ /**
26
+ * 部门编码
27
+ */
28
+ code?: string
29
+
30
+ /**
31
+ * 部门名称
32
+ */
33
+ name?: string
34
+
35
+ /**
36
+ * 部门简称
37
+ */
38
+ shortName?: string
39
+
40
+ /**
41
+ * 部门类别 存部门类别字典“SysDeptClass”的值。
42
+ */
43
+ deptClass?: string
44
+
45
+ /**
46
+ * 部门性质 存部门性质字典“SysDeptNature”的值。
47
+ */
48
+ deptNature?: string
49
+
50
+ /**
51
+ * 是否有效 1=是,0=否。
52
+ */
53
+ isValid?: string
54
+
55
+ /**
56
+ * 组织id
57
+ */
58
+ mdmOrgId?: string
59
+
60
+ // 是否删除,1=是,0=否。
61
+ isDelete?: string
62
+
63
+ // 创建者
64
+ createBy?: string
65
+
66
+ // 创建者
67
+ createByName?: string
68
+
69
+ // 创建时间
70
+ createTime?: string
71
+
72
+ // 更新者
73
+ updateBy?: string
74
+
75
+ // 更新时间
76
+ updateTime?: string
77
+
78
+ // 更新者
79
+ updateByName?: string
80
+
81
+ level?: string
82
+ }
@@ -0,0 +1,12 @@
1
+ import type { IMdmDept } from './IMdmDept.ts'
2
+
3
+ /**
4
+ * 创建人 胡啸东
5
+ * 说明: Isss
6
+ * 创建时间: 2024/11/22 上午11:28
7
+ * 修改时间: 2024/11/22 上午11:28
8
+ */
9
+ export interface IOrgDeptInfo extends IMdmDept {
10
+ children?: IOrgDeptInfo[]
11
+ remark?: string
12
+ }
@@ -0,0 +1,70 @@
1
+ import type { BaseEntity } from './BaseEntity.ts'
2
+
3
+ /**
4
+ * Create by丁盼
5
+ * 说明: ISysUserInfo
6
+ * 创建时间: 2024/11/5 下午8:13
7
+ * 修改时间: 2024/11/5 下午8:13
8
+ */
9
+ export interface ISysUserInfo extends BaseEntity {
10
+ // 主键id
11
+ id?: string
12
+
13
+ // 组织id
14
+ orgId?: string
15
+
16
+ // 登录名,存mdm_employee的code值。
17
+ loginName?: string
18
+
19
+ // 用户姓名
20
+ userName?: string
21
+
22
+ // 密码
23
+ password?: string
24
+
25
+ // 用户邮箱
26
+ email?: string
27
+
28
+ // 手机号码
29
+ phonenumber?: string
30
+
31
+ // 头像地址
32
+ avatar?: string
33
+
34
+ // 备注
35
+ remark?: string
36
+
37
+ // 最后登录IP
38
+ loginIp?: string
39
+
40
+ // 最后登录时间
41
+ loginDate?: string
42
+
43
+ //最近修改密码时间
44
+ updatePasswordTime?: string
45
+
46
+ // 是否有效,取值为 1(是)或 0(否)
47
+ isValid?: '1' | '0'
48
+
49
+ // 角色ID数组
50
+ roleIds?: string[]
51
+
52
+ sex?: string
53
+
54
+ orgName?: string
55
+ deptName?: string
56
+ postName?: string
57
+ /**
58
+ * 编码
59
+ */
60
+ code?: string
61
+
62
+ /**
63
+ * 姓名
64
+ */
65
+ name?: string
66
+ /**
67
+ * 部门ID
68
+ */
69
+ mdmDeptId?: string
70
+ }
@@ -0,0 +1,11 @@
1
+ import type { ISysDictDataCacheVo } from '../interface/ISysDictDataCacheVo.ts'
2
+
3
+ /**
4
+ * Create by丁盼
5
+ * 说明: dictMapType
6
+ * 创建时间: 2025/1/15 21:08
7
+ * 修改时间: 2025/1/15 21:08
8
+ */
9
+ export interface dictMapType {
10
+ [key: string]: ISysDictDataCacheVo[]
11
+ }
@@ -1,85 +1,85 @@
1
- /**
2
- * Create by丁盼
3
- * 说明: FlexEnum.ts
4
- * 创建时间: 2024/9/5 下午3:29
5
- * 修改时间: 2024/9/5 下午3:29
6
- */
7
- /**
8
- * flex横向布局枚举
9
- */
10
- export enum justifyContentEnum {
11
- /**
12
- * 子元素在容器内左对齐
13
- */
14
- flexStart = 'flex-start',
15
- /**
16
- * 子元素在容器内居中
17
- */
18
- center = 'center',
19
- /**
20
- * 子元素在容器内右对齐
21
- */
22
- flexEnd = 'flex-end',
23
- /**
24
- *
25
- * 子元素在容器内分散对齐,第一个元素在开始,最后一个元素在末尾
26
- */
27
- spaceBetween = 'space-between',
28
- /**
29
- * 子元素在容器内分散对齐,相对于容器两端有相等的空间
30
- */
31
- spaceAround = 'space-around',
32
- /**
33
- * 子元素在容器内分散对齐,相邻元素之间的空间相等
34
- */
35
- spaceEvenly = 'space-evenly'
36
- }
37
- /**
38
- * flex布局纵向枚举
39
- */
40
- export enum alignItemsEnum {
41
- /**
42
- *居上对齐
43
- */
44
- flexStart = 'flex-start',
45
- /**
46
- * 居中对齐
47
- */
48
- center = 'center',
49
- /**
50
- * 局下对齐
51
- */
52
- flexEnd = 'flex-end'
53
- }
54
-
55
- /**
56
- * 是否允许换行
57
- */
58
- export enum flexWrapEnum {
59
- /**
60
- * 默认不换行,元素可能会溢出
61
- */
62
- nowrap = 'nowrap',
63
- /**
64
- * 换行显示
65
- */
66
- wrap = 'wrap',
67
- /**
68
- * 换行显示,与wrap元素位置调换
69
- */
70
- wrapReverse = 'wrap-reverse'
71
- }
72
- export enum gapEnum {
73
- /**
74
- * 8px
75
- */
76
- small = '8px',
77
- /**
78
- * 16px
79
- */
80
- middle = '16px',
81
- /**
82
- * 24px
83
- */
84
- large = '24px'
85
- }
1
+ /**
2
+ * Create by丁盼
3
+ * 说明: FlexEnum.ts
4
+ * 创建时间: 2024/9/5 下午3:29
5
+ * 修改时间: 2024/9/5 下午3:29
6
+ */
7
+ /**
8
+ * flex横向布局枚举
9
+ */
10
+ export enum justifyContentEnum {
11
+ /**
12
+ * 子元素在容器内左对齐
13
+ */
14
+ flexStart = 'flex-start',
15
+ /**
16
+ * 子元素在容器内居中
17
+ */
18
+ center = 'center',
19
+ /**
20
+ * 子元素在容器内右对齐
21
+ */
22
+ flexEnd = 'flex-end',
23
+ /**
24
+ *
25
+ * 子元素在容器内分散对齐,第一个元素在开始,最后一个元素在末尾
26
+ */
27
+ spaceBetween = 'space-between',
28
+ /**
29
+ * 子元素在容器内分散对齐,相对于容器两端有相等的空间
30
+ */
31
+ spaceAround = 'space-around',
32
+ /**
33
+ * 子元素在容器内分散对齐,相邻元素之间的空间相等
34
+ */
35
+ spaceEvenly = 'space-evenly'
36
+ }
37
+ /**
38
+ * flex布局纵向枚举
39
+ */
40
+ export enum alignItemsEnum {
41
+ /**
42
+ *居上对齐
43
+ */
44
+ flexStart = 'flex-start',
45
+ /**
46
+ * 居中对齐
47
+ */
48
+ center = 'center',
49
+ /**
50
+ * 局下对齐
51
+ */
52
+ flexEnd = 'flex-end'
53
+ }
54
+
55
+ /**
56
+ * 是否允许换行
57
+ */
58
+ export enum flexWrapEnum {
59
+ /**
60
+ * 默认不换行,元素可能会溢出
61
+ */
62
+ nowrap = 'nowrap',
63
+ /**
64
+ * 换行显示
65
+ */
66
+ wrap = 'wrap',
67
+ /**
68
+ * 换行显示,与wrap元素位置调换
69
+ */
70
+ wrapReverse = 'wrap-reverse'
71
+ }
72
+ export enum gapEnum {
73
+ /**
74
+ * 8px
75
+ */
76
+ small = '8px',
77
+ /**
78
+ * 16px
79
+ */
80
+ middle = '16px',
81
+ /**
82
+ * 24px
83
+ */
84
+ large = '24px'
85
+ }