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
package/.editorconfig CHANGED
@@ -1,6 +1,6 @@
1
- [*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
2
- charset = utf-8
3
- indent_size = 2
4
- indent_style = space
5
- insert_final_newline = true
6
- trim_trailing_whitespace = true
1
+ [*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
2
+ charset = utf-8
3
+ indent_size = 2
4
+ indent_style = space
5
+ insert_final_newline = true
6
+ trim_trailing_whitespace = true
package/.prettierrc.json CHANGED
@@ -1,7 +1,7 @@
1
-
2
- {
3
- "$schema": "https://json.schemastore.org/prettierrc",
4
- "semi": false,
5
- "singleQuote": true,
6
- "printWidth": 100
7
- }
1
+
2
+ {
3
+ "$schema": "https://json.schemastore.org/prettierrc",
4
+ "semi": false,
5
+ "singleQuote": true,
6
+ "printWidth": 100
7
+ }
@@ -1,8 +1,8 @@
1
- {
2
- "recommendations": [
3
- "Vue.volar",
4
- "dbaeumer.vscode-eslint",
5
- "EditorConfig.EditorConfig",
6
- "esbenp.prettier-vscode"
7
- ]
8
- }
1
+ {
2
+ "recommendations": [
3
+ "Vue.volar",
4
+ "dbaeumer.vscode-eslint",
5
+ "EditorConfig.EditorConfig",
6
+ "esbenp.prettier-vscode"
7
+ ]
8
+ }
package/README.md CHANGED
@@ -1,39 +1,39 @@
1
- # adtec-core-package
2
-
3
- This template should help get you started developing with Vue 3 in Vite.
4
-
5
- ## Recommended IDE Setup
6
-
7
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8
-
9
- ## Type Support for `.vue` Imports in TS
10
-
11
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
12
-
13
- ## Customize configuration
14
-
15
- See [Vite Configuration Reference](https://vite.dev/config/).
16
-
17
- ## Project Setup
18
-
19
- ```sh
20
- npm install
21
- ```
22
-
23
- ### Compile and Hot-Reload for Development
24
-
25
- ```sh
26
- npm run dev
27
- ```
28
-
29
- ### Type-Check, Compile and Minify for Production
30
-
31
- ```sh
32
- npm run build
33
- ```
34
-
35
- ### Lint with [ESLint](https://eslint.org/)
36
-
37
- ```sh
38
- npm run lint
39
- ```
1
+ # adtec-core-package
2
+
3
+ This template should help get you started developing with Vue 3 in Vite.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8
+
9
+ ## Type Support for `.vue` Imports in TS
10
+
11
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
12
+
13
+ ## Customize configuration
14
+
15
+ See [Vite Configuration Reference](https://vite.dev/config/).
16
+
17
+ ## Project Setup
18
+
19
+ ```sh
20
+ npm install
21
+ ```
22
+
23
+ ### Compile and Hot-Reload for Development
24
+
25
+ ```sh
26
+ npm run dev
27
+ ```
28
+
29
+ ### Type-Check, Compile and Minify for Production
30
+
31
+ ```sh
32
+ npm run build
33
+ ```
34
+
35
+ ### Lint with [ESLint](https://eslint.org/)
36
+
37
+ ```sh
38
+ npm run lint
39
+ ```
package/env.d.ts CHANGED
@@ -1 +1 @@
1
- /// <reference types="vite/client" />
1
+ /// <reference types="vite/client" />
package/eslint.config.js CHANGED
@@ -1,56 +1,56 @@
1
- import pluginVue from 'eslint-plugin-vue';
2
- import vueTsEslintConfig from '@vue/eslint-config-typescript';
3
- import skipFormatting from '@vue/eslint-config-prettier/skip-formatting';
4
- export default [
5
- {
6
- name: 'app/files-to-lint',
7
- files: ['**/*.{js,ts,mts,tsx,vue}'],
8
- rules: {
9
- 'no-console': 'off',
10
- 'no-debugger': 'off',
11
- 'no-undef': 'off',
12
- 'no-unused-vars': 'off',
13
- 'no-restricted-syntax': 'off',
14
- 'no-plusplus': 'off',
15
- 'no-param-reassign': 'off',
16
- '@typescript-eslint/no-explicit-any': 'off',
17
- parserOptions: {
18
- parser: '@typescript-eslint/parser',
19
- },
20
- },
21
- },
22
- {
23
- name: 'app/files-to-ignore',
24
- ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
25
- rules: {
26
- 'no-console': 'off',
27
- 'no-debugger': 'off',
28
- 'no-undef': 'off',
29
- 'no-unused-vars': 'off',
30
- 'no-restricted-syntax': 'off',
31
- 'no-plusplus': 'off',
32
- 'no-param-reassign': 'off',
33
- '@typescript-eslint/no-explicit-any': 'off',
34
- parserOptions: {
35
- parser: '@typescript-eslint/parser',
36
- },
37
- },
38
- },
39
- {
40
- files: ['**/*.{ts,mts,tsx,vue}'],
41
- rules: {
42
- 'no-console': 'off',
43
- 'no-debugger': 'off',
44
- 'no-undef': 'off',
45
- 'no-unused-vars': 'off',
46
- 'no-restricted-syntax': 'off',
47
- 'no-plusplus': 'off',
48
- 'no-param-reassign': 'off',
49
- '@typescript-eslint/no-explicit-any': 'off',
50
- },
51
- ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
52
- },
53
- ...pluginVue.configs['flat/essential'],
54
- ...vueTsEslintConfig(),
55
- skipFormatting,
56
- ];
1
+ import pluginVue from 'eslint-plugin-vue';
2
+ import vueTsEslintConfig from '@vue/eslint-config-typescript';
3
+ import skipFormatting from '@vue/eslint-config-prettier/skip-formatting';
4
+ export default [
5
+ {
6
+ name: 'app/files-to-lint',
7
+ files: ['**/*.{js,ts,mts,tsx,vue}'],
8
+ rules: {
9
+ 'no-console': 'off',
10
+ 'no-debugger': 'off',
11
+ 'no-undef': 'off',
12
+ 'no-unused-vars': 'off',
13
+ 'no-restricted-syntax': 'off',
14
+ 'no-plusplus': 'off',
15
+ 'no-param-reassign': 'off',
16
+ '@typescript-eslint/no-explicit-any': 'off',
17
+ parserOptions: {
18
+ parser: '@typescript-eslint/parser',
19
+ },
20
+ },
21
+ },
22
+ {
23
+ name: 'app/files-to-ignore',
24
+ ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
25
+ rules: {
26
+ 'no-console': 'off',
27
+ 'no-debugger': 'off',
28
+ 'no-undef': 'off',
29
+ 'no-unused-vars': 'off',
30
+ 'no-restricted-syntax': 'off',
31
+ 'no-plusplus': 'off',
32
+ 'no-param-reassign': 'off',
33
+ '@typescript-eslint/no-explicit-any': 'off',
34
+ parserOptions: {
35
+ parser: '@typescript-eslint/parser',
36
+ },
37
+ },
38
+ },
39
+ {
40
+ files: ['**/*.{ts,mts,tsx,vue}'],
41
+ rules: {
42
+ 'no-console': 'off',
43
+ 'no-debugger': 'off',
44
+ 'no-undef': 'off',
45
+ 'no-unused-vars': 'off',
46
+ 'no-restricted-syntax': 'off',
47
+ 'no-plusplus': 'off',
48
+ 'no-param-reassign': 'off',
49
+ '@typescript-eslint/no-explicit-any': 'off',
50
+ },
51
+ ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
52
+ },
53
+ ...pluginVue.configs['flat/essential'],
54
+ ...vueTsEslintConfig(),
55
+ skipFormatting,
56
+ ];
package/index.html CHANGED
@@ -1,13 +1,13 @@
1
- <!DOCTYPE html>
2
- <html lang="">
3
- <head>
4
- <meta charset="UTF-8">
5
- <link rel="icon" href="/favicon.ico">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>Vite App</title>
8
- </head>
9
- <body>
10
- <div id="app"></div>
11
- <script type="module" src="/src/main.ts"></script>
12
- </body>
13
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <link rel="icon" href="/favicon.ico">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Vite App</title>
8
+ </head>
9
+ <body>
10
+ <div id="app"></div>
11
+ <script type="module" src="/src/main.ts"></script>
12
+ </body>
13
+ </html>
package/package.json CHANGED
@@ -1,56 +1,56 @@
1
- {
2
- "name": "adtec-core-package",
3
- "version": "0.2.4",
4
- "private": false,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "vite",
8
- "build": "run-p type-check \"build-only {@}\" --",
9
- "preview": "vite preview",
10
- "build-only": "vite build",
11
- "type-check": "vue-tsc --build",
12
- "lint": "eslint . --fix",
13
- "format": "prettier --write src/"
14
- },
15
- "dependencies": {
16
- "@onlyoffice/document-editor-vue": "1.4.0",
17
- "@element-plus/icons-vue": "^2.3.1",
18
- "pinia-plugin-store": "^2.2.9",
19
- "crypto-js": "^4.2.0",
20
- "axios": "^1.7.7",
21
- "element-plus": "^2.8.7",
22
- "pinia": "^2.3.0",
23
- "scss": "^0.2.4",
24
- "scss-loader": "^0.0.1",
25
- "vue": "^3.5.13",
26
- "vue-focus-lock": "^3.0.0",
27
- "vue-router": "^4.5.0",
28
- "uuid": "^11.0.3",
29
- "socket.io-client": "^2.3.1",
30
- "vue-img-viewr": "2.0.11"
31
- },
32
- "devDependencies": {
33
- "@tsconfig/node22": "^22.0.0",
34
- "@types/node": "^22.10.2",
35
- "@types/crypto-js": "^4.2.2",
36
- "@vitejs/plugin-vue": "^5.2.1",
37
- "@vitejs/plugin-vue-jsx": "^4.1.1",
38
- "@vue/eslint-config-prettier": "^10.1.0",
39
- "@vue/eslint-config-typescript": "^14.1.3",
40
- "@vue/tsconfig": "^0.7.0",
41
- "eslint": "^9.14.0",
42
- "eslint-plugin-vue": "^9.30.0",
43
- "less": "^4.2.0",
44
- "npm-run-all2": "^7.0.2",
45
- "prettier": "^3.3.3",
46
- "sass-embedded": "^1.83.1",
47
- "typescript": "~5.6.3",
48
- "vite": "^6.0.5",
49
- "vite-plugin-vue-devtools": "^7.6.8",
50
- "vue-tsc": "^2.1.10"
51
- },
52
- "description": "This template should help get you started developing with Vue 3 in Vite.",
53
- "main": "/adtec-core-package/adtec-core-package.umd.cjs",
54
- "author": "",
55
- "license": "ISC"
56
- }
1
+ {
2
+ "name": "adtec-core-package",
3
+ "version": "0.2.6",
4
+ "private": false,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "run-p type-check \"build-only {@}\" --",
9
+ "preview": "vite preview",
10
+ "build-only": "vite build",
11
+ "type-check": "vue-tsc --build",
12
+ "lint": "eslint . --fix",
13
+ "format": "prettier --write src/"
14
+ },
15
+ "dependencies": {
16
+ "@onlyoffice/document-editor-vue": "1.4.0",
17
+ "@element-plus/icons-vue": "^2.3.1",
18
+ "pinia-plugin-store": "^2.2.9",
19
+ "crypto-js": "^4.2.0",
20
+ "jsencrypt": "^3.3.2",
21
+ "axios": "^1.7.7",
22
+ "element-plus": "^2.8.7",
23
+ "pinia": "^2.3.0",
24
+ "scss": "^0.2.4",
25
+ "scss-loader": "^0.0.1",
26
+ "vue": "^3.5.13",
27
+ "vue-focus-lock": "^3.0.0",
28
+ "vue-router": "^4.5.0",
29
+ "uuid": "^11.0.3",
30
+ "socket.io-client": "^2.3.1",
31
+ "vue-img-viewr": "2.0.11"
32
+ },
33
+ "devDependencies": {
34
+ "@tsconfig/node22": "^22.0.0",
35
+ "@types/node": "^22.10.2",
36
+ "@types/crypto-js": "^4.2.2",
37
+ "@vitejs/plugin-vue": "^5.2.1",
38
+ "@vitejs/plugin-vue-jsx": "^4.1.1",
39
+ "@vue/eslint-config-prettier": "^10.1.0",
40
+ "@vue/eslint-config-typescript": "^14.1.3",
41
+ "@vue/tsconfig": "^0.7.0",
42
+ "eslint": "^9.14.0",
43
+ "eslint-plugin-vue": "^9.30.0",
44
+ "less": "^4.2.0",
45
+ "npm-run-all2": "^7.0.2",
46
+ "prettier": "^3.3.3",
47
+ "sass-embedded": "^1.83.1",
48
+ "typescript": "~5.6.3",
49
+ "vite": "^6.0.5",
50
+ "vite-plugin-vue-devtools": "^7.6.8",
51
+ "vue-tsc": "^2.1.10"
52
+ },
53
+ "description": "This template should help get you started developing with Vue 3 in Vite.",
54
+ "author": "",
55
+ "license": "ISC"
56
+ }
package/src/App.vue CHANGED
@@ -1,9 +1,9 @@
1
- <script setup lang="ts">
2
- </script>
3
-
4
- <template>
5
-
6
- </template>
7
-
8
- <style scoped>
9
- </style>
1
+ <script setup lang="ts">
2
+ </script>
3
+
4
+ <template>
5
+
6
+ </template>
7
+
8
+ <style scoped>
9
+ </style>
@@ -0,0 +1,17 @@
1
+ import request from '../utils/request'
2
+ import type { IOrgDeptInfo } from '../interface/IOrgDeptInfo'
3
+
4
+ /**
5
+ * Create by丁盼
6
+ * 说明: BasicApi 基础数据接口
7
+ * 创建时间: 2024/12/9 上午11:05
8
+ * 修改时间: 2024/12/9 上午11:05
9
+ */
10
+ export default {
11
+ /**
12
+ * 获取MDM部门树
13
+ */
14
+ getMdmOrgDeptTree(): Promise<IOrgDeptInfo[]> {
15
+ return request.post('/api/base/mdmDept/getMdmOrgDeptTree', {})
16
+ },
17
+ }
@@ -1,5 +1,6 @@
1
1
  import request from '../utils/request'
2
2
  import type { ISysDictDataCacheVo } from '../interface/ISysDictDataCacheVo'
3
+ import type { dictMapType } from '../interface/dictMapType'
3
4
 
4
5
  /**
5
6
  * Create by丁盼
@@ -8,9 +9,6 @@ import type { ISysDictDataCacheVo } from '../interface/ISysDictDataCacheVo'
8
9
  * 修改时间: 2024/11/3 上午9:11
9
10
  */
10
11
  // 定义包含map的整体类型
11
- interface dictMapType {
12
- [key: string]: ISysDictDataCacheVo[]
13
- }
14
12
  const basePath = '/api/system/dict/data/'
15
13
  export default {
16
14
  /**
@@ -0,0 +1,35 @@
1
+ import request from '../utils/request'
2
+ import type { ISysUserInfo } from '../interface/ISysUserInfo'
3
+
4
+ /**
5
+ * Create by丁盼
6
+ * 说明: SysUserApi
7
+ * 创建时间: 2024/11/5 上午11:13
8
+ * 修改时间: 2024/11/5 上午11:13
9
+ */
10
+ const basePath = '/api/system/sysUserInfo/'
11
+ export default {
12
+ /**
13
+ * 保存用户信息
14
+ * @param obj
15
+ */
16
+ add(obj: ISysUserInfo[]) {
17
+ return request.post<ISysUserInfo[]>(basePath + 'add', obj)
18
+ },
19
+
20
+
21
+ /**
22
+ * 选择用户组件获取用户信息
23
+ * @param userIds
24
+ */
25
+ getInitUserListComp(userIds: string[]) {
26
+ return request.post<ISysUserInfo[]>(basePath + 'getInitUserListComp', userIds)
27
+ },
28
+
29
+ /**
30
+ * 选择人员组件获取用户信息
31
+ */
32
+ getSysUserInfoUserSelectComp(): Promise<ISysUserInfo[]> {
33
+ return request.post(basePath + 'getSysUserInfoUserSelectComp')
34
+ },
35
+ }
@@ -1,86 +1,86 @@
1
- /* color palette from <https://github.com/vuejs/theme> */
2
- :root {
3
- --vt-c-white: #ffffff;
4
- --vt-c-white-soft: #f8f8f8;
5
- --vt-c-white-mute: #f2f2f2;
6
-
7
- --vt-c-black: #181818;
8
- --vt-c-black-soft: #222222;
9
- --vt-c-black-mute: #282828;
10
-
11
- --vt-c-indigo: #2c3e50;
12
-
13
- --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
14
- --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
15
- --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
16
- --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
17
-
18
- --vt-c-text-light-1: var(--vt-c-indigo);
19
- --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
20
- --vt-c-text-dark-1: var(--vt-c-white);
21
- --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
22
- }
23
-
24
- /* semantic color variables for this project */
25
- :root {
26
- --color-background: var(--vt-c-white);
27
- --color-background-soft: var(--vt-c-white-soft);
28
- --color-background-mute: var(--vt-c-white-mute);
29
-
30
- --color-border: var(--vt-c-divider-light-2);
31
- --color-border-hover: var(--vt-c-divider-light-1);
32
-
33
- --color-heading: var(--vt-c-text-light-1);
34
- --color-text: var(--vt-c-text-light-1);
35
-
36
- --section-gap: 160px;
37
- }
38
-
39
- @media (prefers-color-scheme: dark) {
40
- :root {
41
- --color-background: var(--vt-c-black);
42
- --color-background-soft: var(--vt-c-black-soft);
43
- --color-background-mute: var(--vt-c-black-mute);
44
-
45
- --color-border: var(--vt-c-divider-dark-2);
46
- --color-border-hover: var(--vt-c-divider-dark-1);
47
-
48
- --color-heading: var(--vt-c-text-dark-1);
49
- --color-text: var(--vt-c-text-dark-2);
50
- }
51
- }
52
-
53
- *,
54
- *::before,
55
- *::after {
56
- box-sizing: border-box;
57
- margin: 0;
58
- font-weight: normal;
59
- }
60
-
61
- body {
62
- min-height: 100vh;
63
- color: var(--color-text);
64
- background: var(--color-background);
65
- transition:
66
- color 0.5s,
67
- background-color 0.5s;
68
- line-height: 1.6;
69
- font-family:
70
- Inter,
71
- -apple-system,
72
- BlinkMacSystemFont,
73
- 'Segoe UI',
74
- Roboto,
75
- Oxygen,
76
- Ubuntu,
77
- Cantarell,
78
- 'Fira Sans',
79
- 'Droid Sans',
80
- 'Helvetica Neue',
81
- sans-serif;
82
- font-size: 15px;
83
- text-rendering: optimizeLegibility;
84
- -webkit-font-smoothing: antialiased;
85
- -moz-osx-font-smoothing: grayscale;
86
- }
1
+ /* color palette from <https://github.com/vuejs/theme> */
2
+ :root {
3
+ --vt-c-white: #ffffff;
4
+ --vt-c-white-soft: #f8f8f8;
5
+ --vt-c-white-mute: #f2f2f2;
6
+
7
+ --vt-c-black: #181818;
8
+ --vt-c-black-soft: #222222;
9
+ --vt-c-black-mute: #282828;
10
+
11
+ --vt-c-indigo: #2c3e50;
12
+
13
+ --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
14
+ --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
15
+ --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
16
+ --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
17
+
18
+ --vt-c-text-light-1: var(--vt-c-indigo);
19
+ --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
20
+ --vt-c-text-dark-1: var(--vt-c-white);
21
+ --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
22
+ }
23
+
24
+ /* semantic color variables for this project */
25
+ :root {
26
+ --color-background: var(--vt-c-white);
27
+ --color-background-soft: var(--vt-c-white-soft);
28
+ --color-background-mute: var(--vt-c-white-mute);
29
+
30
+ --color-border: var(--vt-c-divider-light-2);
31
+ --color-border-hover: var(--vt-c-divider-light-1);
32
+
33
+ --color-heading: var(--vt-c-text-light-1);
34
+ --color-text: var(--vt-c-text-light-1);
35
+
36
+ --section-gap: 160px;
37
+ }
38
+
39
+ @media (prefers-color-scheme: dark) {
40
+ :root {
41
+ --color-background: var(--vt-c-black);
42
+ --color-background-soft: var(--vt-c-black-soft);
43
+ --color-background-mute: var(--vt-c-black-mute);
44
+
45
+ --color-border: var(--vt-c-divider-dark-2);
46
+ --color-border-hover: var(--vt-c-divider-dark-1);
47
+
48
+ --color-heading: var(--vt-c-text-dark-1);
49
+ --color-text: var(--vt-c-text-dark-2);
50
+ }
51
+ }
52
+
53
+ *,
54
+ *::before,
55
+ *::after {
56
+ box-sizing: border-box;
57
+ margin: 0;
58
+ font-weight: normal;
59
+ }
60
+
61
+ body {
62
+ min-height: 100vh;
63
+ color: var(--color-text);
64
+ background: var(--color-background);
65
+ transition:
66
+ color 0.5s,
67
+ background-color 0.5s;
68
+ line-height: 1.6;
69
+ font-family:
70
+ Inter,
71
+ -apple-system,
72
+ BlinkMacSystemFont,
73
+ 'Segoe UI',
74
+ Roboto,
75
+ Oxygen,
76
+ Ubuntu,
77
+ Cantarell,
78
+ 'Fira Sans',
79
+ 'Droid Sans',
80
+ 'Helvetica Neue',
81
+ sans-serif;
82
+ font-size: 15px;
83
+ text-rendering: optimizeLegibility;
84
+ -webkit-font-smoothing: antialiased;
85
+ -moz-osx-font-smoothing: grayscale;
86
+ }
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>