adtec-core-package 0.3.4 → 0.3.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 (58) hide show
  1. package/README.en.md +36 -36
  2. package/package.json +59 -58
  3. package/src/api/BasicApi.ts +17 -17
  4. package/src/api/DocumentApi.ts +18 -18
  5. package/src/api/SysDictCacheApi.ts +26 -26
  6. package/src/api/SysUserApi.ts +35 -35
  7. package/src/api/framework.ts +12 -12
  8. package/src/assets/style/ant.scss +19 -19
  9. package/src/assets/style/index.less +180 -180
  10. package/src/components/ElFlex/ElFlex.vue +297 -297
  11. package/src/components/Search/ElSearch.vue +154 -150
  12. package/src/components/Table/ElTableColumnEdit.vue +218 -218
  13. package/src/components/Title/ElTitle.vue +49 -49
  14. package/src/components/autoToolTip/ElAutoToolTip.vue +61 -61
  15. package/src/components/baseEcharts/index.vue +48 -48
  16. package/src/components/business/userSelect.vue +412 -412
  17. package/src/components/upload/FileView.vue +158 -158
  18. package/src/components/upload/FileViewComponents.vue +57 -57
  19. package/src/config/ElementPlusConfig.ts +95 -95
  20. package/src/css/elementUI/autocomplete.scss +89 -89
  21. package/src/css/elementUI/common/var.scss +1549 -1549
  22. package/src/css/elementUI/date-picker/picker.scss +219 -219
  23. package/src/css/elementUI/drawer.scss +164 -164
  24. package/src/css/elementUI/table.scss +694 -694
  25. package/src/css/elementUI/tabs.scss +659 -659
  26. package/src/directives/vKeydown.ts +93 -93
  27. package/src/hooks/useDictHooks.ts +76 -76
  28. package/src/hooks/useEcharts.ts +58 -58
  29. package/src/hooks/useFileView.ts +34 -34
  30. package/src/hooks/useMessageHooks.ts +132 -132
  31. package/src/hooks/useResetRefHooks.ts +18 -18
  32. package/src/interface/BaseEntity.ts +28 -28
  33. package/src/interface/IMdmDept.ts +82 -82
  34. package/src/interface/IOrgDeptInfo.ts +12 -12
  35. package/src/interface/ISysDictDataCacheVo.ts +46 -46
  36. package/src/interface/ISysDictType.ts +37 -37
  37. package/src/interface/ISysMenuDataVo.ts +22 -22
  38. package/src/interface/ISysMenuInfoVo.ts +83 -83
  39. package/src/interface/ISysMenuOperationVo.ts +21 -21
  40. package/src/interface/ISysUploadFiles.ts +16 -16
  41. package/src/interface/ISysUserInfo.ts +70 -70
  42. package/src/interface/IUserPermissionVo.ts +34 -34
  43. package/src/interface/Message.ts +69 -69
  44. package/src/interface/PageData.ts +17 -17
  45. package/src/interface/ResponseData.ts +16 -16
  46. package/src/interface/dictMapType.ts +11 -11
  47. package/src/interface/enum/MessageEnum.ts +41 -41
  48. package/src/mixin/globalMixin.ts +37 -37
  49. package/src/packages/index.ts +18 -18
  50. package/src/packages/text.vue +13 -13
  51. package/src/plugins/echartsConfig.ts +73 -80
  52. package/src/plugins/plugins.ts +12 -12
  53. package/src/stores/dictStore.ts +20 -20
  54. package/src/stores/messageStore.ts +49 -49
  55. package/src/stores/permissionStore.ts +108 -0
  56. package/src/stores/storeConfig.ts +23 -23
  57. package/src/stores/userInfoStore.ts +31 -31
  58. package/src/utils/AxiosConfig.ts +216 -216
@@ -1,181 +1,181 @@
1
- // @import './variables.scss';
2
- // @import './mixin.scss';
3
- // @import './transition.scss';
4
- // @import './element-ui.scss';
5
- // @import './sidebar.scss';
6
- // @import './btn.scss';
7
- @import './transition.scss';
8
-
9
- body {
10
- height: 100%;
11
- margin: 0;
12
- font-size: var(--el-font-size-base);
13
- -moz-osx-font-smoothing: grayscale;
14
- -webkit-font-smoothing: antialiased;
15
- text-rendering: optimizeLegibility;
16
- font-family:
17
- Helvetica Neue,
18
- Helvetica,
19
- PingFang SC,
20
- Hiragino Sans GB,
21
- Microsoft YaHei,
22
- Arial,
23
- sans-serif;
24
- }
25
- .overlay-drawer {
26
- position: absolute !important;
27
- top: 0;
28
- right: 0;
29
- bottom: 0;
30
- left: 0;
31
- z-index: 2000;
32
- height: 100%;
33
- }
34
- .border {
35
- border-radius: var(--el-border-radius-base);
36
- //border: 1px solid #d3d3d3 !important;
37
- //box-shadow: var(--el-box-shadow-lighter);
38
- }
39
-
40
- .dialog-form-border {
41
- border-radius: var(--el-border-radius-base);
42
- //border: 1px solid #d3d3d3 !important;
43
- //box-shadow: var(--el-box-shadow-lighter);
44
- //padding: 8px;
45
- background: #ffffff;
46
- // &.el-select {
47
- // --el-select-width: 220px;
48
- //}
49
- }
50
- //.dialog-form .el-select {
51
- // --el-select-width: 175px;
52
- //}
53
-
54
- html {
55
- height: 100%;
56
- box-sizing: border-box;
57
- }
58
-
59
- #app {
60
- height: 100%;
61
- }
62
-
63
- *,
64
- *:before,
65
- *:after {
66
- box-sizing: inherit;
67
- }
68
-
69
- a:focus,
70
- a:active {
71
- outline: none;
72
- }
73
-
74
- a,
75
- a:focus,
76
- a:hover {
77
- cursor: pointer;
78
- color: inherit;
79
- text-decoration: none;
80
- }
81
-
82
- div:focus {
83
- outline: none;
84
- }
85
-
86
- //main-container全局样式
87
- .app-container {
88
- //padding: 20px;
89
- //background-color: #fff;
90
- }
91
-
92
- .link-type,
93
- .link-type:focus {
94
- color: #337ab7;
95
- cursor: pointer;
96
-
97
- &:hover {
98
- color: rgb(32, 160, 255);
99
- }
100
- }
101
- :root {
102
- --border: 1px solid #f5f5f5;
103
- --padding-1: 1px;
104
- --padding-2: 2px;
105
- --padding-3: 3px;
106
- --padding-4: 4px;
107
- --padding-5: 5px;
108
- --padding-6: 6px;
109
- --padding-7: 7px;
110
- --padding-8: 8px;
111
- --padding-9: 9px;
112
- --padding-10: 10px;
113
- --margin-1: 1px;
114
- --margin-2: 2px;
115
- --margin-3: 3px;
116
- --margin-4: 4px;
117
- --margin-5: 5px;
118
- --margin-6: 6px;
119
- --margin-7: 7px;
120
- --margin-8: 8px;
121
- --margin-9: 9px;
122
- --margin-10: 10px;
123
- }
124
- .move-back {
125
- background: #f5f5f5 !important;
126
- }
127
-
128
- *::-webkit-scrollbar {
129
- width: 6px;
130
- height: 6px;
131
- background: transparent;
132
- }
133
-
134
- *::-webkit-scrollbar-thumb {
135
- background: transparent;
136
- border-radius: 4px;
137
- }
138
-
139
- *:hover::-webkit-scrollbar-thumb {
140
- background: #DDDEE0;
141
- }
142
-
143
- *:hover::-webkit-scrollbar-track {
144
- background: transparent;
145
- }
146
-
147
- //::-webkit-scrollbar {
148
- // width: 6px;
149
- // height: 6px;
150
- //}
151
- //// 滚动条的轨道的两端按钮,允许通过点击微调小方块的位置。
152
- //::-webkit-scrollbar-button {
153
- // display: none;
154
- //}
155
- //// 滚动条的轨道(里面装有Thumb)
156
- //::-webkit-scrollbar-track {
157
- // background: transparent;
158
- //}
159
- //// 滚动条的轨道(里面装有Thumb)
160
- //::-webkit-scrollbar-track-piece {
161
- // background-color: transparent;
162
- //}
163
- //// 滚动条里面的小方块,能向上向下移动(或往左往右移动,取决于是垂直滚动条还是水平滚动条)
164
- //::-webkit-scrollbar-thumb {
165
- // background: #DDDEE0;
166
- // opacity: var(--el-scrollbar-opacity, .3);
167
- // transition: var(--el-transition-duration) background-color;
168
- // cursor: pointer;
169
- // border-radius: 4px;
170
- //}
171
- //::-webkit-scrollbar-thumb:hover {
172
- // background: #C7C9CC;
173
- //}
174
- // 边角,即两个滚动条的交汇处
175
- ::-webkit-scrollbar-corner {
176
- display: none;
177
- }
178
- // 两个滚动条的交汇处上用于通过拖动调整元素大小的小控件
179
- *::-webkit-resizer {
180
- display: none;
1
+ // @import './variables.scss';
2
+ // @import './mixin.scss';
3
+ // @import './transition.scss';
4
+ // @import './element-ui.scss';
5
+ // @import './sidebar.scss';
6
+ // @import './btn.scss';
7
+ @import './transition.scss';
8
+
9
+ body {
10
+ height: 100%;
11
+ margin: 0;
12
+ font-size: var(--el-font-size-base);
13
+ -moz-osx-font-smoothing: grayscale;
14
+ -webkit-font-smoothing: antialiased;
15
+ text-rendering: optimizeLegibility;
16
+ font-family:
17
+ Helvetica Neue,
18
+ Helvetica,
19
+ PingFang SC,
20
+ Hiragino Sans GB,
21
+ Microsoft YaHei,
22
+ Arial,
23
+ sans-serif;
24
+ }
25
+ .overlay-drawer {
26
+ position: absolute !important;
27
+ top: 0;
28
+ right: 0;
29
+ bottom: 0;
30
+ left: 0;
31
+ z-index: 2000;
32
+ height: 100%;
33
+ }
34
+ .border {
35
+ border-radius: var(--el-border-radius-base);
36
+ //border: 1px solid #d3d3d3 !important;
37
+ //box-shadow: var(--el-box-shadow-lighter);
38
+ }
39
+
40
+ .dialog-form-border {
41
+ border-radius: var(--el-border-radius-base);
42
+ //border: 1px solid #d3d3d3 !important;
43
+ //box-shadow: var(--el-box-shadow-lighter);
44
+ //padding: 8px;
45
+ background: #ffffff;
46
+ // &.el-select {
47
+ // --el-select-width: 220px;
48
+ //}
49
+ }
50
+ //.dialog-form .el-select {
51
+ // --el-select-width: 175px;
52
+ //}
53
+
54
+ html {
55
+ height: 100%;
56
+ box-sizing: border-box;
57
+ }
58
+
59
+ #app {
60
+ height: 100%;
61
+ }
62
+
63
+ *,
64
+ *:before,
65
+ *:after {
66
+ box-sizing: inherit;
67
+ }
68
+
69
+ a:focus,
70
+ a:active {
71
+ outline: none;
72
+ }
73
+
74
+ a,
75
+ a:focus,
76
+ a:hover {
77
+ cursor: pointer;
78
+ color: inherit;
79
+ text-decoration: none;
80
+ }
81
+
82
+ div:focus {
83
+ outline: none;
84
+ }
85
+
86
+ //main-container全局样式
87
+ .app-container {
88
+ //padding: 20px;
89
+ //background-color: #fff;
90
+ }
91
+
92
+ .link-type,
93
+ .link-type:focus {
94
+ color: #337ab7;
95
+ cursor: pointer;
96
+
97
+ &:hover {
98
+ color: rgb(32, 160, 255);
99
+ }
100
+ }
101
+ :root {
102
+ --border: 1px solid #f5f5f5;
103
+ --padding-1: 1px;
104
+ --padding-2: 2px;
105
+ --padding-3: 3px;
106
+ --padding-4: 4px;
107
+ --padding-5: 5px;
108
+ --padding-6: 6px;
109
+ --padding-7: 7px;
110
+ --padding-8: 8px;
111
+ --padding-9: 9px;
112
+ --padding-10: 10px;
113
+ --margin-1: 1px;
114
+ --margin-2: 2px;
115
+ --margin-3: 3px;
116
+ --margin-4: 4px;
117
+ --margin-5: 5px;
118
+ --margin-6: 6px;
119
+ --margin-7: 7px;
120
+ --margin-8: 8px;
121
+ --margin-9: 9px;
122
+ --margin-10: 10px;
123
+ }
124
+ .move-back {
125
+ background: #f5f5f5 !important;
126
+ }
127
+
128
+ *::-webkit-scrollbar {
129
+ width: 6px;
130
+ height: 6px;
131
+ background: transparent;
132
+ }
133
+
134
+ *::-webkit-scrollbar-thumb {
135
+ background: transparent;
136
+ border-radius: 4px;
137
+ }
138
+
139
+ *:hover::-webkit-scrollbar-thumb {
140
+ background: #DDDEE0;
141
+ }
142
+
143
+ *:hover::-webkit-scrollbar-track {
144
+ background: transparent;
145
+ }
146
+
147
+ //::-webkit-scrollbar {
148
+ // width: 6px;
149
+ // height: 6px;
150
+ //}
151
+ //// 滚动条的轨道的两端按钮,允许通过点击微调小方块的位置。
152
+ //::-webkit-scrollbar-button {
153
+ // display: none;
154
+ //}
155
+ //// 滚动条的轨道(里面装有Thumb)
156
+ //::-webkit-scrollbar-track {
157
+ // background: transparent;
158
+ //}
159
+ //// 滚动条的轨道(里面装有Thumb)
160
+ //::-webkit-scrollbar-track-piece {
161
+ // background-color: transparent;
162
+ //}
163
+ //// 滚动条里面的小方块,能向上向下移动(或往左往右移动,取决于是垂直滚动条还是水平滚动条)
164
+ //::-webkit-scrollbar-thumb {
165
+ // background: #DDDEE0;
166
+ // opacity: var(--el-scrollbar-opacity, .3);
167
+ // transition: var(--el-transition-duration) background-color;
168
+ // cursor: pointer;
169
+ // border-radius: 4px;
170
+ //}
171
+ //::-webkit-scrollbar-thumb:hover {
172
+ // background: #C7C9CC;
173
+ //}
174
+ // 边角,即两个滚动条的交汇处
175
+ ::-webkit-scrollbar-corner {
176
+ display: none;
177
+ }
178
+ // 两个滚动条的交汇处上用于通过拖动调整元素大小的小控件
179
+ *::-webkit-resizer {
180
+ display: none;
181
181
  }