@qqt-product/system 0.0.1

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 (198) hide show
  1. package/.eslintignore +4 -0
  2. package/.eslintrc.cjs +22 -0
  3. package/.prettierignore +4 -0
  4. package/.prettierrc.cjs +41 -0
  5. package/.vscode/extensions.json +3 -0
  6. package/README.md +16 -0
  7. package/dist/index.es.d.ts +1 -0
  8. package/dist/index.es.js +14234 -0
  9. package/dist/index.umd.js +311 -0
  10. package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +143 -0
  11. package/dist/lib/components/QAccountList/src/useConfigData.d.ts +37 -0
  12. package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +66 -0
  13. package/dist/lib/components/QBackgroundFileTaskList/src/useConfigData.d.ts +14 -0
  14. package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +80 -0
  15. package/dist/lib/components/QCompanyermissionList/src/types.d.ts +44 -0
  16. package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +68 -0
  17. package/dist/lib/components/QElsEmailSendLogList/src/useConfigData.d.ts +13 -0
  18. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +72 -0
  19. package/dist/lib/components/QElsMsgRecordList/src/useConfigData.d.ts +16 -0
  20. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +75 -0
  21. package/dist/lib/components/QI18nList/src/QI18nForm.vue.d.ts +47 -0
  22. package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +136 -0
  23. package/dist/lib/components/QI18nList/src/useConfigData.d.ts +31 -0
  24. package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +61 -0
  25. package/dist/lib/components/QImChatGroupList/src/useConfigData.d.ts +11 -0
  26. package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +60 -0
  27. package/dist/lib/components/QMqRecordList/src/useConfigData.d.ts +12 -0
  28. package/dist/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue.d.ts +49 -0
  29. package/dist/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue.d.ts +3 -0
  30. package/dist/lib/components/QPermissionDataList/src/form.vue.d.ts +50 -0
  31. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +86 -0
  32. package/dist/lib/components/QPurchaseNoticeList/src/useConfigData.d.ts +15 -0
  33. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +47 -0
  34. package/dist/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.d.ts +12 -0
  35. package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +129 -0
  36. package/dist/lib/components/QQuartzJobList/src/components/JCron.vue.d.ts +23 -0
  37. package/dist/lib/components/QQuartzJobList/src/components/JCronModal.vue.d.ts +100 -0
  38. package/dist/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue.d.ts +55 -0
  39. package/dist/lib/components/QQuartzJobList/src/useConfigData.d.ts +20 -0
  40. package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +100 -0
  41. package/dist/lib/components/QRoleList/src/components/content-header/index.d.ts +23 -0
  42. package/dist/lib/components/QRoleList/src/components/userAuthorization/index.d.ts +79 -0
  43. package/dist/lib/components/QRoleList/src/useConfigData.d.ts +30 -0
  44. package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue.d.ts +55 -0
  45. package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +104 -0
  46. package/dist/lib/components/QSupplierAccountList/src/useConfigData.d.ts +29 -0
  47. package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +49 -0
  48. package/dist/lib/components/QUsageList/src/useConfigData.d.ts +14 -0
  49. package/dist/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue.d.ts +31 -0
  50. package/dist/lib/components/QcustomConfigEdit/component/dataFormatComponent.d.ts +46 -0
  51. package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +41 -0
  52. package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigRender.d.ts +12 -0
  53. package/dist/lib/components/QcustomConfigEdit/src/types.d.ts +61 -0
  54. package/dist/lib/components/QcustomConfigEdit/src/useConfigComputed.d.ts +7 -0
  55. package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +85 -0
  56. package/dist/lib/components/QcustomConfigEdit/src/useConfigMethods.d.ts +16 -0
  57. package/dist/lib/components/QcustomConfigEdit/src/useConstant.d.ts +18 -0
  58. package/dist/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue.d.ts +50 -0
  59. package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +112 -0
  60. package/dist/lib/components/QcustomConfigList/src/useConfigData.d.ts +17 -0
  61. package/dist/lib/components/QcustomConfigList/src/useMethods.d.ts +15 -0
  62. package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +66 -0
  63. package/dist/lib/components/QsysConfigList/src/useConfigData.d.ts +11 -0
  64. package/dist/lib/components/QsysConfigList/src/useMethods.d.ts +6 -0
  65. package/dist/lib/components/index.d.ts +39 -0
  66. package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +107 -0
  67. package/dist/lib/components/integratedReportList/src/index.vue.d.ts +70 -0
  68. package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +61 -0
  69. package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +46 -0
  70. package/dist/lib/components/loginLogList/src/index.vue.d.ts +45 -0
  71. package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +45 -0
  72. package/dist/lib/components/operateLogList/src/index.vue.d.ts +53 -0
  73. package/dist/lib/index.d.ts +6 -0
  74. package/dist/lib/utils/global.hook.d.ts +31 -0
  75. package/dist/lib/utils/global.types.d.ts +41 -0
  76. package/dist/lib/utils/regexp.d.ts +27 -0
  77. package/dist/style.css +1 -0
  78. package/dist/vite-env.d.ts +13 -0
  79. package/dist/vite.svg +1 -0
  80. package/index.html +13 -0
  81. package/package.json +65 -0
  82. package/public/vite.svg +1 -0
  83. package/src/App.vue +8 -0
  84. package/src/lib/components/QAccountList/index.ts +6 -0
  85. package/src/lib/components/QAccountList/src/QAccountDetail.vue +191 -0
  86. package/src/lib/components/QAccountList/src/QAccountEdit.vue +241 -0
  87. package/src/lib/components/QAccountList/src/QAccountList.vue +530 -0
  88. package/src/lib/components/QAccountList/src/useConfigData.ts +53 -0
  89. package/src/lib/components/QBackgroundFileTaskList/index.ts +6 -0
  90. package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +137 -0
  91. package/src/lib/components/QBackgroundFileTaskList/src/useConfigData.ts +20 -0
  92. package/src/lib/components/QCompanyermissionList/src/editTree.vue +291 -0
  93. package/src/lib/components/QCompanyermissionList/src/form.vue +238 -0
  94. package/src/lib/components/QCompanyermissionList/src/index.vue +309 -0
  95. package/src/lib/components/QCompanyermissionList/src/types.ts +44 -0
  96. package/src/lib/components/QElsEmailSendLogList/index.ts +6 -0
  97. package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +166 -0
  98. package/src/lib/components/QElsEmailSendLogList/src/useConfigData.ts +19 -0
  99. package/src/lib/components/QElsMsgRecordList/index.ts +6 -0
  100. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue +148 -0
  101. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +124 -0
  102. package/src/lib/components/QElsMsgRecordList/src/useConfigData.ts +22 -0
  103. package/src/lib/components/QElsTenantPortalNewsList/index.ts +6 -0
  104. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue +139 -0
  105. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +196 -0
  106. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +122 -0
  107. package/src/lib/components/QElsTenantPortalNewsList/src/useConfigData.ts +20 -0
  108. package/src/lib/components/QI18nList/index.ts +6 -0
  109. package/src/lib/components/QI18nList/src/QI18nForm.vue +141 -0
  110. package/src/lib/components/QI18nList/src/QI18nList.vue +361 -0
  111. package/src/lib/components/QI18nList/src/useConfigData.ts +37 -0
  112. package/src/lib/components/QImChatGroupList/index.ts +6 -0
  113. package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +94 -0
  114. package/src/lib/components/QImChatGroupList/src/useConfigData.ts +17 -0
  115. package/src/lib/components/QMqRecordList/index.ts +6 -0
  116. package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +105 -0
  117. package/src/lib/components/QMqRecordList/src/useConfigData.ts +18 -0
  118. package/src/lib/components/QPasswordSecurityPolicy/index.ts +6 -0
  119. package/src/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue +266 -0
  120. package/src/lib/components/QPermissionDataList/index.ts +6 -0
  121. package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +3 -0
  122. package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +221 -0
  123. package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +117 -0
  124. package/src/lib/components/QPermissionDataList/src/form.vue +109 -0
  125. package/src/lib/components/QPurchaseNoticeList/index.ts +6 -0
  126. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +147 -0
  127. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +244 -0
  128. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +163 -0
  129. package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +22 -0
  130. package/src/lib/components/QPurchaseNoticeTemplateList/index.ts +6 -0
  131. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +85 -0
  132. package/src/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.ts +18 -0
  133. package/src/lib/components/QQuartzJobList/index.ts +6 -0
  134. package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +263 -0
  135. package/src/lib/components/QQuartzJobList/src/components/JCron.vue +82 -0
  136. package/src/lib/components/QQuartzJobList/src/components/JCronModal.vue +985 -0
  137. package/src/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue +176 -0
  138. package/src/lib/components/QQuartzJobList/src/useConfigData.ts +26 -0
  139. package/src/lib/components/QRoleList/index.ts +6 -0
  140. package/src/lib/components/QRoleList/src/QRoleList.vue +288 -0
  141. package/src/lib/components/QRoleList/src/components/content-header/contentHeader.less +31 -0
  142. package/src/lib/components/QRoleList/src/components/content-header/index.tsx +42 -0
  143. package/src/lib/components/QRoleList/src/components/userAuthorization/index.tsx +690 -0
  144. package/src/lib/components/QRoleList/src/components/userAuthorization/userAuthorization.less +97 -0
  145. package/src/lib/components/QRoleList/src/useConfigData.ts +33 -0
  146. package/src/lib/components/QSupplierAccountList/index.ts +6 -0
  147. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue +187 -0
  148. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +302 -0
  149. package/src/lib/components/QSupplierAccountList/src/useConfigData.ts +29 -0
  150. package/src/lib/components/QUsageList/index.ts +6 -0
  151. package/src/lib/components/QUsageList/src/QUsageList.vue +82 -0
  152. package/src/lib/components/QUsageList/src/useConfigData.ts +20 -0
  153. package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +140 -0
  154. package/src/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue +100 -0
  155. package/src/lib/components/QcustomConfigEdit/component/dataFormatComponent.tsx +100 -0
  156. package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +71 -0
  157. package/src/lib/components/QcustomConfigEdit/index.ts +6 -0
  158. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +1807 -0
  159. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +242 -0
  160. package/src/lib/components/QcustomConfigEdit/src/types.ts +71 -0
  161. package/src/lib/components/QcustomConfigEdit/src/useConfigComputed.ts +75 -0
  162. package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +123 -0
  163. package/src/lib/components/QcustomConfigEdit/src/useConfigMethods.ts +117 -0
  164. package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +301 -0
  165. package/src/lib/components/QcustomConfigEdit/style/index.less +41 -0
  166. package/src/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue +135 -0
  167. package/src/lib/components/QcustomConfigList/index.ts +6 -0
  168. package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +268 -0
  169. package/src/lib/components/QcustomConfigList/src/types.ts +1 -0
  170. package/src/lib/components/QcustomConfigList/src/useConfigData.ts +23 -0
  171. package/src/lib/components/QcustomConfigList/src/useMethods.ts +36 -0
  172. package/src/lib/components/QcustomConfigList/style/index.less +3 -0
  173. package/src/lib/components/QsysConfigList/index.ts +6 -0
  174. package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +125 -0
  175. package/src/lib/components/QsysConfigList/src/types.ts +1 -0
  176. package/src/lib/components/QsysConfigList/src/useConfigData.ts +17 -0
  177. package/src/lib/components/QsysConfigList/src/useMethods.ts +11 -0
  178. package/src/lib/components/QsysConfigList/style/index.less +3 -0
  179. package/src/lib/components/index.ts +78 -0
  180. package/src/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue +49 -0
  181. package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +143 -0
  182. package/src/lib/components/integratedNodesList/src/index.vue +136 -0
  183. package/src/lib/components/integratedReportList/src/index.vue +86 -0
  184. package/src/lib/components/integratedReportSearchList/src/index.vue +66 -0
  185. package/src/lib/components/loginAbnormalLogList/src/index.vue +50 -0
  186. package/src/lib/components/loginLogList/src/index.vue +57 -0
  187. package/src/lib/components/loginSupplierLogList/src/index.vue +63 -0
  188. package/src/lib/components/operateLogList/src/index.vue +57 -0
  189. package/src/lib/index.ts +15 -0
  190. package/src/lib/utils/constant.ts +1 -0
  191. package/src/lib/utils/global.hook.ts +337 -0
  192. package/src/lib/utils/global.types.ts +49 -0
  193. package/src/lib/utils/regexp.ts +143 -0
  194. package/src/main.ts +11 -0
  195. package/src/vite-env.d.ts +13 -0
  196. package/tsconfig.json +24 -0
  197. package/tsconfig.node.json +9 -0
  198. package/vite.config.ts +61 -0
@@ -0,0 +1,143 @@
1
+ import type { DefineComponent, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ import { GlobalListPageLayoutTypes } from '@qqt-product/ui';
4
+ declare const _sfc_main: DefineComponent<{
5
+ userInfo: {
6
+ type: ObjectConstructor;
7
+ defalut: () => {};
8
+ };
9
+ }, {
10
+ passwordModalFormRule: Ref<{
11
+ password: ({
12
+ required: boolean;
13
+ message: string;
14
+ validator?: undefined;
15
+ } | {
16
+ validator: (ErrMap: MapObjectNoneType) => Promise<undefined>;
17
+ required?: undefined;
18
+ message?: undefined;
19
+ })[];
20
+ confirmpassword: ({
21
+ required: boolean;
22
+ message: string;
23
+ validator?: undefined;
24
+ } | {
25
+ validator: (ErrMap: MapObjectNoneType) => Error | undefined;
26
+ required?: undefined;
27
+ message?: undefined;
28
+ })[];
29
+ }>;
30
+ passwordModalForm: Ref<any>;
31
+ passwordModalShow: ShallowRef<boolean>;
32
+ deliverTosubmitEvent: () => void;
33
+ deliverToFromRule: {
34
+ receiveId: {
35
+ required: boolean;
36
+ message: string;
37
+ }[];
38
+ businessDeliverToType: {
39
+ required: boolean;
40
+ message: string;
41
+ }[];
42
+ };
43
+ filterOption: (input: MapObjectNoneType, option: MapObjectNoneType) => boolean;
44
+ subAccountList: Ref<never[]>;
45
+ deliverToFrom: Ref<MapObjectNoneType>;
46
+ deliverToHandle: () => void;
47
+ deliverToShow: ShallowRef<boolean>;
48
+ listLayoutRef: Ref<any>;
49
+ showEditPage: ShallowRef<boolean>;
50
+ apiUrls: ShallowRef<{
51
+ add: string;
52
+ list: string;
53
+ delete: string;
54
+ copy: string;
55
+ columnsCode: string;
56
+ exportXlsUrl: string;
57
+ excelCode: string;
58
+ handlerName: string;
59
+ getDataByErpUrl: string;
60
+ pushDataToERPUrl: string;
61
+ pushDataToMallUrl: string;
62
+ }>;
63
+ pageData: {
64
+ statusConfig: {
65
+ show: boolean;
66
+ };
67
+ optColumn: {
68
+ attrs: {};
69
+ extend: {};
70
+ optColumnList: {
71
+ type: string;
72
+ title: string;
73
+ authorityCode: string;
74
+ click: ({ row, $rowIndex, column, $columnIndex }: GlobalListPageLayoutTypes.ListOptionsEventParams) => void;
75
+ }[];
76
+ };
77
+ buttonConfig: {
78
+ attrs: {};
79
+ extend: {};
80
+ buttons: ({
81
+ authorityCode: string;
82
+ label: string;
83
+ icon: {
84
+ type: string;
85
+ };
86
+ attrs: {
87
+ type: string;
88
+ };
89
+ click: ({ row, $rowIndex, column, $columnIndex }: GlobalListPageLayoutTypes.ListOptionsEventParams) => void;
90
+ type?: undefined;
91
+ } | {
92
+ authorityCode: string;
93
+ label: string;
94
+ click: () => void;
95
+ icon?: undefined;
96
+ attrs?: undefined;
97
+ type?: undefined;
98
+ } | {
99
+ label: string;
100
+ icon: {
101
+ type: string;
102
+ };
103
+ type: string;
104
+ authorityCode?: undefined;
105
+ attrs?: undefined;
106
+ click?: undefined;
107
+ } | {
108
+ authorityCode: string;
109
+ label: string;
110
+ icon: {
111
+ type: string;
112
+ };
113
+ type: string;
114
+ attrs?: undefined;
115
+ click?: undefined;
116
+ })[];
117
+ };
118
+ queryConfig: {
119
+ attrs: {};
120
+ extend: {};
121
+ form: {
122
+ type: string;
123
+ label: string;
124
+ fieldName: string;
125
+ placeholder: string;
126
+ }[];
127
+ formState: {};
128
+ };
129
+ pagerConfig: {};
130
+ };
131
+ passwordModalHandle: (handleType: string) => void;
132
+ passwordRef: Ref<any>;
133
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("create" | "edit" | "detail")[], "create" | "edit" | "detail", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
134
+ userInfo: {
135
+ type: ObjectConstructor;
136
+ defalut: () => {};
137
+ };
138
+ }>> & {
139
+ onCreate?: ((...args: any[]) => any) | undefined;
140
+ onEdit?: ((...args: any[]) => any) | undefined;
141
+ onDetail?: ((...args: any[]) => any) | undefined;
142
+ }, {}, {}>;
143
+ export default _sfc_main;
@@ -0,0 +1,37 @@
1
+ import type { Ref, ShallowRef } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ export declare function useConfigData(): {
4
+ passwordModalForm: Ref<any>;
5
+ passwordModalShow: ShallowRef<boolean>;
6
+ deliverToFromRule: {
7
+ receiveId: {
8
+ required: boolean;
9
+ message: string;
10
+ }[];
11
+ businessDeliverToType: {
12
+ required: boolean;
13
+ message: string;
14
+ }[];
15
+ };
16
+ subAccountList: Ref<never[]>;
17
+ deliverToFrom: Ref<MapObjectNoneType>;
18
+ deliverToShow: ShallowRef<boolean>;
19
+ apiUrls: ShallowRef<{
20
+ add: string;
21
+ list: string;
22
+ delete: string;
23
+ copy: string;
24
+ columnsCode: string;
25
+ exportXlsUrl: string;
26
+ excelCode: string;
27
+ handlerName: string;
28
+ getDataByErpUrl: string;
29
+ pushDataToERPUrl: string;
30
+ pushDataToMallUrl: string;
31
+ }>;
32
+ showEditPage: ShallowRef<boolean>;
33
+ currentEditRow: Ref<{}>;
34
+ listLayoutRef: Ref<any>;
35
+ uploadShow: ShallowRef<boolean>;
36
+ passwordRef: Ref<any>;
37
+ };
@@ -0,0 +1,66 @@
1
+ import type { DefineComponent, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ declare const _sfc_main: DefineComponent<{
4
+ userInfo: {
5
+ type: ObjectConstructor;
6
+ defalut: () => {};
7
+ };
8
+ }, {
9
+ listLayoutRef: Ref<any>;
10
+ showEditPage: ShallowRef<boolean>;
11
+ apiUrls: ShallowRef<{
12
+ list: string;
13
+ delete: string;
14
+ runTask: string;
15
+ downTaskFile: string;
16
+ columnsCode: string;
17
+ }>;
18
+ pageData: {
19
+ statusConfig: {
20
+ show: boolean;
21
+ };
22
+ optColumn: {
23
+ attrs: {};
24
+ extend: {};
25
+ optColumnList: ({
26
+ authorityCode: string;
27
+ type: string;
28
+ title: string;
29
+ click: ({ row }: {
30
+ row?: MapObjectNoneType | undefined;
31
+ }) => void;
32
+ disabled: ({ row }: {
33
+ row?: MapObjectNoneType | undefined;
34
+ }) => boolean;
35
+ args?: undefined;
36
+ } | {
37
+ authorityCode: string;
38
+ type: string;
39
+ title: string;
40
+ args: {
41
+ url: string;
42
+ };
43
+ click?: undefined;
44
+ disabled?: undefined;
45
+ })[];
46
+ };
47
+ buttonConfig: {
48
+ attrs: {};
49
+ extend: {};
50
+ buttons: never[];
51
+ };
52
+ queryConfig: {
53
+ attrs: {};
54
+ extend: {};
55
+ form: never[];
56
+ formState: {};
57
+ };
58
+ pagerConfig: {};
59
+ };
60
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
61
+ userInfo: {
62
+ type: ObjectConstructor;
63
+ defalut: () => {};
64
+ };
65
+ }>>, {}, {}>;
66
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { ShallowRef, Ref } from 'vue';
2
+ export declare function useConfigData(): {
3
+ apiUrls: ShallowRef<{
4
+ list: string;
5
+ delete: string;
6
+ runTask: string;
7
+ downTaskFile: string;
8
+ columnsCode: string;
9
+ }>;
10
+ showEditPage: ShallowRef<boolean>;
11
+ currentEditRow: Ref<{}>;
12
+ listLayoutRef: Ref<any>;
13
+ uploadShow: ShallowRef<boolean>;
14
+ };
@@ -0,0 +1,80 @@
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { VxeFormEvents, VxeFormPropTypes } from 'vxe-table';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ show: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ treeData: {
13
+ type: ObjectConstructor;
14
+ };
15
+ currentRow: {
16
+ type: ObjectConstructor;
17
+ };
18
+ menuTypes: {
19
+ type: ObjectConstructor;
20
+ };
21
+ menuAttributeTypes: {
22
+ type: ObjectConstructor;
23
+ };
24
+ }, {
25
+ modalTitle: Ref<string>;
26
+ previousMenus: Ref<never[]>;
27
+ previousMenusVisible: () => boolean;
28
+ showModal: Ref<boolean>;
29
+ hideModal: () => void;
30
+ menuTypesOpts: Ref<Record<string, any> | undefined>;
31
+ menuAttributeTypesOpts: Ref<Record<string, any> | undefined>;
32
+ permission: {
33
+ loading: boolean;
34
+ formData: {
35
+ id: null;
36
+ parentId: null;
37
+ menuType: null;
38
+ name: null;
39
+ nameI18nKey: null;
40
+ url: null;
41
+ menuAttribute: null;
42
+ component: null;
43
+ redirect: null;
44
+ perms: null;
45
+ keepAlive: null;
46
+ icon: null;
47
+ sortNo: null;
48
+ hidden: null;
49
+ mobile: null;
50
+ };
51
+ formRules: VxeFormPropTypes.Rules;
52
+ };
53
+ save: () => Promise<void>;
54
+ submitEvent: VxeFormEvents.Submit;
55
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
56
+ title: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ show: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ treeData: {
65
+ type: ObjectConstructor;
66
+ };
67
+ currentRow: {
68
+ type: ObjectConstructor;
69
+ };
70
+ menuTypes: {
71
+ type: ObjectConstructor;
72
+ };
73
+ menuAttributeTypes: {
74
+ type: ObjectConstructor;
75
+ };
76
+ }>>, {
77
+ title: string;
78
+ show: boolean;
79
+ }, {}>;
80
+ export default _sfc_main;
@@ -0,0 +1,44 @@
1
+ export interface PermissionDataType {
2
+ id?: string;
3
+ alwaysShow?: boolean;
4
+ children?: PermissionDataType[] | null;
5
+ companyMeunId?: string;
6
+ component?: string;
7
+ createBy?: string;
8
+ createTime?: string;
9
+ defaultMenu?: string;
10
+ deleted?: string | number;
11
+ description?: string;
12
+ helpDocUrl?: string;
13
+ hidden?: boolean;
14
+ icon?: string;
15
+ iconColor?: string;
16
+ internalOrExternal?: boolean;
17
+ isLeaf?: boolean;
18
+ keepAlive?: boolean;
19
+ key?: string;
20
+ leaf?: boolean;
21
+ menuAttribute?: number | string;
22
+ menuType?: string | number;
23
+ mobile?: boolean;
24
+ name?: string;
25
+ nameI18nKey?: string;
26
+ parentId?: string;
27
+ perms?: string;
28
+ permsType?: string | number;
29
+ purchasePermissionId?: string | number;
30
+ redirect?: string;
31
+ route?: boolean;
32
+ sortNo?: string | number | null;
33
+ status?: string | number;
34
+ superQueryFlag?: boolean;
35
+ title?: string;
36
+ updateBy?: string;
37
+ updateTime?: string;
38
+ url?: string;
39
+ }
40
+ export interface PermissionFormState {
41
+ username: string;
42
+ nickname: string;
43
+ checkNick: boolean;
44
+ }
@@ -0,0 +1,68 @@
1
+ import type { DefineComponent, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ declare const _sfc_main: DefineComponent<{
4
+ userInfo: {
5
+ type: ObjectConstructor;
6
+ defalut: () => {};
7
+ };
8
+ }, {
9
+ showEditPage: ShallowRef<boolean>;
10
+ apiUrls: ShallowRef<{
11
+ list: string;
12
+ columnsCode: string;
13
+ delete: string;
14
+ retry: string;
15
+ }>;
16
+ pageData: {
17
+ statusConfig: {
18
+ show: boolean;
19
+ };
20
+ optColumn: {
21
+ attrs: {};
22
+ extend: {};
23
+ optColumnList: ({
24
+ type: string;
25
+ title: string;
26
+ click: ({ row }: {
27
+ row?: MapObjectNoneType | undefined;
28
+ }) => void;
29
+ disabled: ({ row }: {
30
+ row?: MapObjectNoneType | undefined;
31
+ }) => boolean;
32
+ args?: undefined;
33
+ } | {
34
+ type: string;
35
+ title: string;
36
+ args: {
37
+ url: string;
38
+ };
39
+ click?: undefined;
40
+ disabled?: undefined;
41
+ })[];
42
+ };
43
+ buttonConfig: {
44
+ attrs: {};
45
+ extend: {};
46
+ buttons: never[];
47
+ };
48
+ queryConfig: {
49
+ attrs: {};
50
+ extend: {};
51
+ form: {
52
+ type: string;
53
+ label: string;
54
+ fieldName: string;
55
+ placeholder: string;
56
+ }[];
57
+ formState: {};
58
+ };
59
+ pagerConfig: {};
60
+ };
61
+ listLayoutRef: Ref<any>;
62
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
63
+ userInfo: {
64
+ type: ObjectConstructor;
65
+ defalut: () => {};
66
+ };
67
+ }>>, {}, {}>;
68
+ export default _sfc_main;
@@ -0,0 +1,13 @@
1
+ import type { ShallowRef, Ref } from 'vue';
2
+ export declare function useConfigData(): {
3
+ apiUrls: ShallowRef<{
4
+ list: string;
5
+ columnsCode: string;
6
+ delete: string;
7
+ retry: string;
8
+ }>;
9
+ showEditPage: ShallowRef<boolean>;
10
+ currentEditRow: Ref<{}>;
11
+ listLayoutRef: Ref<any>;
12
+ uploadShow: ShallowRef<boolean>;
13
+ };
@@ -0,0 +1,72 @@
1
+ import type { DefineComponent, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{
3
+ userInfo: {
4
+ type: ObjectConstructor;
5
+ defalut: () => {};
6
+ };
7
+ }, {
8
+ showEditPage: ShallowRef<boolean>;
9
+ apiUrls: ShallowRef<{
10
+ list: string;
11
+ columnsCode: string;
12
+ delete: string;
13
+ deleteBatch: string;
14
+ readBatch: string;
15
+ exportXlsUrl: string;
16
+ importExcelUrl: string;
17
+ }>;
18
+ pageData: {
19
+ statusConfig: {
20
+ show: boolean;
21
+ };
22
+ optColumn: {
23
+ attrs: {};
24
+ extend: {};
25
+ optColumnList: {
26
+ type: string;
27
+ title: string;
28
+ click: ({ row }: {
29
+ row: any;
30
+ }) => void;
31
+ }[];
32
+ };
33
+ buttonConfig: {
34
+ attrs: {};
35
+ extend: {};
36
+ buttons: ({
37
+ authorityCode: string;
38
+ label: string;
39
+ icon: string;
40
+ click: () => void;
41
+ type?: undefined;
42
+ } | {
43
+ label: string;
44
+ icon: {
45
+ type: string;
46
+ };
47
+ type: string;
48
+ authorityCode?: undefined;
49
+ click?: undefined;
50
+ })[];
51
+ };
52
+ queryConfig: {
53
+ attrs: {};
54
+ extend: {};
55
+ form: {
56
+ type: string;
57
+ label: string;
58
+ dictCode: string;
59
+ fieldName: string;
60
+ }[];
61
+ formState: {};
62
+ };
63
+ pagerConfig: {};
64
+ };
65
+ listLayoutRef: Ref<any>;
66
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
67
+ userInfo: {
68
+ type: ObjectConstructor;
69
+ defalut: () => {};
70
+ };
71
+ }>>, {}, {}>;
72
+ export default _sfc_main;
@@ -0,0 +1,16 @@
1
+ import type { ShallowRef, Ref } from 'vue';
2
+ export declare function useConfigData(): {
3
+ apiUrls: ShallowRef<{
4
+ list: string;
5
+ columnsCode: string;
6
+ delete: string;
7
+ deleteBatch: string;
8
+ readBatch: string;
9
+ exportXlsUrl: string;
10
+ importExcelUrl: string;
11
+ }>;
12
+ showEditPage: ShallowRef<boolean>;
13
+ currentEditRow: Ref<{}>;
14
+ listLayoutRef: Ref<any>;
15
+ uploadShow: ShallowRef<boolean>;
16
+ };
@@ -0,0 +1,75 @@
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{}, {
3
+ listLayoutRef: Ref<any>;
4
+ emit: (event: "create" | "edit" | "detail" | "delete" | "publish", ...args: any[]) => void;
5
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
6
+ apiUrls: {
7
+ list: string;
8
+ columnsCode: string;
9
+ };
10
+ pageData: {
11
+ statusConfig: {
12
+ show: boolean;
13
+ };
14
+ optColumn: {
15
+ attrs: {};
16
+ extend: {};
17
+ optColumnList: ({
18
+ type: string;
19
+ title: string;
20
+ click: ({ row }: {
21
+ row: any;
22
+ }) => void;
23
+ disabled?: undefined;
24
+ } | {
25
+ type: string;
26
+ title: string;
27
+ click: ({ row }: {
28
+ row: any;
29
+ }) => void;
30
+ disabled: ({ row }: {
31
+ row: any;
32
+ }) => boolean;
33
+ })[];
34
+ };
35
+ buttonConfig: {
36
+ attrs: {};
37
+ extend: {};
38
+ buttons: ({
39
+ label: string;
40
+ icon: {
41
+ type: string;
42
+ };
43
+ type: string;
44
+ click: () => void;
45
+ } | {
46
+ label: string;
47
+ icon: {
48
+ type: string;
49
+ };
50
+ type: string;
51
+ click?: undefined;
52
+ })[];
53
+ };
54
+ queryConfig: {
55
+ attrs: {};
56
+ extend: {};
57
+ form: {
58
+ type: string;
59
+ label: string;
60
+ fieldName: string;
61
+ placeholder: string;
62
+ }[];
63
+ formState: {};
64
+ };
65
+ pagerConfig: {};
66
+ };
67
+ refresh: () => void;
68
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("create" | "edit" | "detail" | "delete" | "publish")[], "create" | "edit" | "detail" | "delete" | "publish", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
69
+ onCreate?: ((...args: any[]) => any) | undefined;
70
+ onEdit?: ((...args: any[]) => any) | undefined;
71
+ onDetail?: ((...args: any[]) => any) | undefined;
72
+ onDelete?: ((...args: any[]) => any) | undefined;
73
+ onPublish?: ((...args: any[]) => any) | undefined;
74
+ }, {}, {}>;
75
+ export default _sfc_main;
@@ -0,0 +1,47 @@
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { VxeFormEvents, VxeFormPropTypes } from 'vxe-table';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ currentRow: {
9
+ type: ObjectConstructor;
10
+ };
11
+ itemTypeList: {
12
+ type: ObjectConstructor;
13
+ };
14
+ }, {
15
+ modalTitle: Ref<string>;
16
+ showModal: Ref<boolean>;
17
+ hideModal: () => void;
18
+ itemInfo: {
19
+ loading: boolean;
20
+ formData: {
21
+ i18nKey: string;
22
+ chinese: string;
23
+ english: string;
24
+ traditionalChinese: string;
25
+ french: string;
26
+ german: string;
27
+ vietnamese: string;
28
+ };
29
+ formRules: VxeFormPropTypes.Rules;
30
+ };
31
+ save: () => Promise<void>;
32
+ submitEvent: VxeFormEvents.Submit;
33
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
34
+ title: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ currentRow: {
39
+ type: ObjectConstructor;
40
+ };
41
+ itemTypeList: {
42
+ type: ObjectConstructor;
43
+ };
44
+ }>>, {
45
+ title: string;
46
+ }, {}>;
47
+ export default _sfc_main;