@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,129 @@
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
+ editPage: Ref<any>;
10
+ hideEditPage: () => void;
11
+ currentEditRow: Ref<MapObjectNoneType>;
12
+ listLayoutRef: Ref<any>;
13
+ showEditPage: ShallowRef<boolean>;
14
+ apiUrls: ShallowRef<{
15
+ list: string;
16
+ delete: string;
17
+ deleteBatch: string;
18
+ pause: string;
19
+ manualExecute: string;
20
+ resume: string;
21
+ exportXlsUrl: string;
22
+ importExcelUrl: string;
23
+ columnsCode: string;
24
+ }>;
25
+ pageData: {
26
+ statusConfig: {
27
+ show: boolean;
28
+ };
29
+ optColumn: {
30
+ attrs: {};
31
+ extend: {};
32
+ optColumnList: ({
33
+ authorityCode: string;
34
+ type: string;
35
+ title: string;
36
+ click: ({ row }: {
37
+ row?: MapObjectNoneType | undefined;
38
+ }) => void;
39
+ disabled: ({ row }: {
40
+ row?: MapObjectNoneType | undefined;
41
+ }) => boolean;
42
+ start2?: undefined;
43
+ args?: undefined;
44
+ } | {
45
+ authorityCode: string;
46
+ start2: string;
47
+ title: string;
48
+ click: ({ row }: {
49
+ row?: MapObjectNoneType | undefined;
50
+ }) => void;
51
+ type?: undefined;
52
+ disabled?: undefined;
53
+ args?: undefined;
54
+ } | {
55
+ authorityCode: string;
56
+ type: string;
57
+ title: string;
58
+ click: ({ row }: {
59
+ row?: MapObjectNoneType | undefined;
60
+ }) => void;
61
+ disabled?: undefined;
62
+ start2?: undefined;
63
+ args?: undefined;
64
+ } | {
65
+ authorityCode: string;
66
+ args: {
67
+ url: string;
68
+ };
69
+ type: string;
70
+ title: string;
71
+ disabled: ({ row }: {
72
+ row?: MapObjectNoneType | undefined;
73
+ }) => boolean;
74
+ click?: undefined;
75
+ start2?: undefined;
76
+ })[];
77
+ };
78
+ buttonConfig: {
79
+ attrs: {};
80
+ extend: {};
81
+ buttons: ({
82
+ authorityCode: string;
83
+ label: string;
84
+ icon: {
85
+ type: string;
86
+ };
87
+ attrs: {
88
+ type: string;
89
+ };
90
+ click: () => void;
91
+ args: {
92
+ type: string;
93
+ };
94
+ } | {
95
+ authorityCode: string;
96
+ label: string;
97
+ click: () => void;
98
+ icon?: undefined;
99
+ attrs?: undefined;
100
+ args?: undefined;
101
+ })[];
102
+ };
103
+ queryConfig: {
104
+ attrs: {};
105
+ extend: {};
106
+ form: ({
107
+ type: string;
108
+ label: string;
109
+ fieldName: string;
110
+ placeholder: string;
111
+ dictCode?: undefined;
112
+ } | {
113
+ type: string;
114
+ label: string;
115
+ fieldName: string;
116
+ dictCode: string;
117
+ placeholder: string;
118
+ })[];
119
+ formState: {};
120
+ };
121
+ pagerConfig: {};
122
+ };
123
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
124
+ userInfo: {
125
+ type: ObjectConstructor;
126
+ defalut: () => {};
127
+ };
128
+ }>>, {}, {}>;
129
+ export default _sfc_main;
@@ -0,0 +1,23 @@
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{
3
+ value: {
4
+ required: false;
5
+ type: StringConstructor;
6
+ };
7
+ }, {
8
+ innerVueCron: Ref<any>;
9
+ }, {
10
+ cron: string | undefined;
11
+ }, {}, {
12
+ openModal(): void;
13
+ handleOK(val: any): void;
14
+ handleEmpty(): void;
15
+ }, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
16
+ value: {
17
+ required: false;
18
+ type: StringConstructor;
19
+ };
20
+ }>> & {
21
+ onChange?: ((...args: any[]) => any) | undefined;
22
+ }, {}, {}>;
23
+ export default _sfc_main;
@@ -0,0 +1,100 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { MapObjectNoneType } from '../../../../utils/global.types';
3
+ declare const _sfc_main: DefineComponent<Readonly<{
4
+ data?: any;
5
+ }>, unknown, {
6
+ visible: boolean;
7
+ confirmLoading: boolean;
8
+ size: string;
9
+ weekDays: string[];
10
+ result: MapObjectNoneType;
11
+ defaultValue: {
12
+ second: {
13
+ cronEvery: string;
14
+ incrementStart: number;
15
+ incrementIncrement: number;
16
+ rangeStart: number;
17
+ rangeEnd: number;
18
+ specificSpecific: never[];
19
+ };
20
+ minute: {
21
+ cronEvery: string;
22
+ incrementStart: number;
23
+ incrementIncrement: number;
24
+ rangeStart: number;
25
+ rangeEnd: string;
26
+ specificSpecific: never[];
27
+ };
28
+ hour: {
29
+ cronEvery: string;
30
+ incrementStart: number;
31
+ incrementIncrement: number;
32
+ rangeStart: string;
33
+ rangeEnd: string;
34
+ specificSpecific: never[];
35
+ };
36
+ day: {
37
+ cronEvery: string;
38
+ incrementStart: number;
39
+ incrementIncrement: string;
40
+ rangeStart: string;
41
+ rangeEnd: string;
42
+ specificSpecific: never[];
43
+ cronLastSpecificDomDay: number;
44
+ cronDaysBeforeEomMinus: number;
45
+ cronDaysNearestWeekday: number;
46
+ };
47
+ week: {
48
+ cronEvery: string;
49
+ incrementStart: number;
50
+ incrementIncrement: number;
51
+ specificSpecific: never[];
52
+ cronNthDayDay: number;
53
+ cronNthDayNth: number;
54
+ };
55
+ month: {
56
+ cronEvery: string;
57
+ incrementStart: number;
58
+ incrementIncrement: number;
59
+ rangeStart: number;
60
+ rangeEnd: number;
61
+ specificSpecific: never[];
62
+ };
63
+ year: {
64
+ cronEvery: string;
65
+ incrementStart: number;
66
+ incrementIncrement: number;
67
+ rangeStart: number;
68
+ rangeEnd: number;
69
+ specificSpecific: never[];
70
+ };
71
+ label: string;
72
+ };
73
+ }, {
74
+ modalWidth(): 608;
75
+ secondsText(): string;
76
+ minutesText(): string;
77
+ hoursText(): string;
78
+ daysText(): string;
79
+ weeksText(): string;
80
+ monthsText(): string;
81
+ yearsText(): string;
82
+ cron(): string;
83
+ }, {
84
+ show(): void;
85
+ handleSubmit(): void;
86
+ close(): void;
87
+ secondsReverseExp(seconds: any): void;
88
+ minutesReverseExp(minutes: any): void;
89
+ hoursReverseExp(hours: any): void;
90
+ daysReverseExp(cron: any): void;
91
+ monthsReverseExp(cron: any): void;
92
+ yearReverseExp(cron: any): void;
93
+ }, ComponentOptionsMixin, ComponentOptionsMixin, "ok"[], "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<Readonly<{
94
+ data?: any;
95
+ }>>> & {
96
+ onOk?: ((...args: any[]) => any) | undefined;
97
+ }, {
98
+ readonly data?: any;
99
+ }, {}>;
100
+ export default _sfc_main;
@@ -0,0 +1,55 @@
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { HttpClient, MapObjectNoneType } from '../../../../utils/global.types';
3
+ declare const _sfc_main: DefineComponent<{}, {
4
+ Aform: Ref<any>;
5
+ qHttp: HttpClient;
6
+ }, {
7
+ title: string;
8
+ visible: boolean;
9
+ isJobNameKey: boolean;
10
+ model: MapObjectNoneType;
11
+ labelCol: {
12
+ xs: {
13
+ span: number;
14
+ };
15
+ sm: {
16
+ span: number;
17
+ };
18
+ };
19
+ wrapperCol: {
20
+ xs: {
21
+ span: number;
22
+ };
23
+ sm: {
24
+ span: number;
25
+ };
26
+ };
27
+ cron: {
28
+ label: string;
29
+ value: string;
30
+ };
31
+ confirmLoading: boolean;
32
+ form: {
33
+ jobNameKey: string;
34
+ jobClassName: string;
35
+ cronExpression: string;
36
+ parameter: undefined;
37
+ description: string;
38
+ status: undefined;
39
+ };
40
+ url: {
41
+ add: string;
42
+ edit: string;
43
+ };
44
+ }, {}, {
45
+ add(): void;
46
+ edit(record: MapObjectNoneType): void;
47
+ close(): void;
48
+ handleOk(): void;
49
+ handleCancel(): void;
50
+ setCorn(data: string): void;
51
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("close" | "ok")[], "close" | "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
52
+ onOk?: ((...args: any[]) => any) | undefined;
53
+ onClose?: ((...args: any[]) => any) | undefined;
54
+ }, {}, {}>;
55
+ export default _sfc_main;
@@ -0,0 +1,20 @@
1
+ import type { Ref, ShallowRef } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ export declare function useConfigData(): {
4
+ editPage: Ref<any>;
5
+ apiUrls: ShallowRef<{
6
+ list: string;
7
+ delete: string;
8
+ deleteBatch: string;
9
+ pause: string;
10
+ manualExecute: string;
11
+ resume: string;
12
+ exportXlsUrl: string;
13
+ importExcelUrl: string;
14
+ columnsCode: string;
15
+ }>;
16
+ showEditPage: ShallowRef<boolean>;
17
+ currentEditRow: Ref<MapObjectNoneType>;
18
+ listLayoutRef: Ref<any>;
19
+ uploadShow: ShallowRef<boolean>;
20
+ };
@@ -0,0 +1,100 @@
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
+ userInformsFromRules: Ref<{
10
+ roleName: {
11
+ required: boolean;
12
+ message: string;
13
+ }[];
14
+ roleCode: {
15
+ required: boolean;
16
+ message: string;
17
+ }[];
18
+ }>;
19
+ userInformFormEvent: () => void;
20
+ userInformsFromShow: ShallowRef<boolean>;
21
+ userInformsFrom: Ref<MapObjectNoneType>;
22
+ listLayoutRef: Ref<any>;
23
+ copyRolesubmitEvent: () => void;
24
+ copyRoleFrom: Ref<MapObjectNoneType>;
25
+ showEditPage: ShallowRef<boolean>;
26
+ apiUrls: ShallowRef<{
27
+ list: string;
28
+ columnsCode: string;
29
+ delete: string;
30
+ copy: string;
31
+ userRoleList: string;
32
+ }>;
33
+ pageData: {
34
+ statusConfig: {
35
+ show: boolean;
36
+ };
37
+ optColumn: {
38
+ attrs: {};
39
+ extend: {};
40
+ optColumnList: ({
41
+ type: string;
42
+ title: string;
43
+ click: ({ row }: {
44
+ row: never;
45
+ }) => void;
46
+ authorityCode: string;
47
+ args?: undefined;
48
+ disabled?: undefined;
49
+ } | {
50
+ authorityCode: string;
51
+ type: string;
52
+ title: string;
53
+ args: {
54
+ url: string;
55
+ };
56
+ disabled: ({ row }: {
57
+ row?: MapObjectNoneType | undefined;
58
+ }) => boolean;
59
+ click?: undefined;
60
+ })[];
61
+ };
62
+ buttonConfig: {
63
+ attrs: {};
64
+ extend: {};
65
+ buttons: {
66
+ authorityCode: string;
67
+ label: string;
68
+ icon: {
69
+ type: string;
70
+ };
71
+ attrs: {
72
+ type: string;
73
+ };
74
+ click: () => void;
75
+ }[];
76
+ };
77
+ queryConfig: {
78
+ attrs: {};
79
+ extend: {};
80
+ form: {
81
+ type: string;
82
+ label: string;
83
+ fieldName: string;
84
+ placeholder: string;
85
+ }[];
86
+ formState: {};
87
+ };
88
+ pagerConfig: {};
89
+ };
90
+ copyRoleShow: ShallowRef<boolean>;
91
+ showAuth: Ref<boolean>;
92
+ currentRows: Ref<never[]>;
93
+ handleAuthCancel: () => void;
94
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
95
+ userInfo: {
96
+ type: ObjectConstructor;
97
+ defalut: () => {};
98
+ };
99
+ }>>, {}, {}>;
100
+ export default _sfc_main;
@@ -0,0 +1,23 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, PropType, ExtractPropTypes } from 'vue';
2
+ import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
3
+ declare const headerProps: {
4
+ buttons: {
5
+ type: PropType<GlobalPageLayoutTypes.PageButton[]>;
6
+ default(): never[];
7
+ };
8
+ };
9
+ export type HeaderProps = ExtractPropTypes<typeof headerProps>;
10
+ declare const _default: DefineComponent<{
11
+ buttons: {
12
+ type: PropType<GlobalPageLayoutTypes.PageButton[]>;
13
+ default(): never[];
14
+ };
15
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
16
+ buttons: {
17
+ type: PropType<GlobalPageLayoutTypes.PageButton[]>;
18
+ default(): never[];
19
+ };
20
+ }>>, {
21
+ buttons: GlobalPageLayoutTypes.PageButton[];
22
+ }, {}>;
23
+ export default _default;
@@ -0,0 +1,79 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, PropType, ExtractPropTypes } from 'vue';
2
+ import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
3
+ declare const authProps: {
4
+ rows: {
5
+ type: PropType<GlobalPageLayoutTypes.RecordStringNumber[]>;
6
+ default(): never[];
7
+ };
8
+ /**
9
+ |--------------------------------------------------
10
+ | 目前为止该授权组件主要应用于三个页面
11
+ | 租户管理 TenantList(默认)
12
+ | 角色管理 RoleList
13
+ | 供应商权限组 SupplierGroupList
14
+ | 其中 租户管理 列表页面有批量、单选功能需要区分
15
+ |--------------------------------------------------
16
+ */
17
+ parentPath: {
18
+ type: PropType<"TenantList" | "RoleList" | "SupplierGroupList">;
19
+ default: string;
20
+ };
21
+ };
22
+ export type AuthProps = ExtractPropTypes<typeof authProps>;
23
+ export interface TreeNode {
24
+ __show?: boolean;
25
+ __checkall?: boolean;
26
+ __indeterminate?: boolean;
27
+ __checked?: boolean;
28
+ __has_children?: boolean;
29
+ __sibling_has_children?: boolean;
30
+ level: number;
31
+ isLeaf: boolean;
32
+ key: string;
33
+ menuType: number;
34
+ parentId: string;
35
+ slotTitle: string;
36
+ value: string;
37
+ children?: null | TreeNode[];
38
+ }
39
+ declare const _default: DefineComponent<{
40
+ rows: {
41
+ type: PropType<GlobalPageLayoutTypes.RecordStringNumber[]>;
42
+ default(): never[];
43
+ };
44
+ /**
45
+ |--------------------------------------------------
46
+ | 目前为止该授权组件主要应用于三个页面
47
+ | 租户管理 TenantList(默认)
48
+ | 角色管理 RoleList
49
+ | 供应商权限组 SupplierGroupList
50
+ | 其中 租户管理 列表页面有批量、单选功能需要区分
51
+ |--------------------------------------------------
52
+ */
53
+ parentPath: {
54
+ type: PropType<"TenantList" | "RoleList" | "SupplierGroupList">;
55
+ default: string;
56
+ };
57
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
58
+ rows: {
59
+ type: PropType<GlobalPageLayoutTypes.RecordStringNumber[]>;
60
+ default(): never[];
61
+ };
62
+ /**
63
+ |--------------------------------------------------
64
+ | 目前为止该授权组件主要应用于三个页面
65
+ | 租户管理 TenantList(默认)
66
+ | 角色管理 RoleList
67
+ | 供应商权限组 SupplierGroupList
68
+ | 其中 租户管理 列表页面有批量、单选功能需要区分
69
+ |--------------------------------------------------
70
+ */
71
+ parentPath: {
72
+ type: PropType<"TenantList" | "RoleList" | "SupplierGroupList">;
73
+ default: string;
74
+ };
75
+ }>>, {
76
+ rows: GlobalPageLayoutTypes.RecordStringNumber[];
77
+ parentPath: "TenantList" | "RoleList" | "SupplierGroupList";
78
+ }, {}>;
79
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import type { Ref, ShallowRef } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ export declare function useConfigData(): {
4
+ userInformsFromRules: Ref<{
5
+ roleName: {
6
+ required: boolean;
7
+ message: string;
8
+ }[];
9
+ roleCode: {
10
+ required: boolean;
11
+ message: string;
12
+ }[];
13
+ }>;
14
+ userInformsFromShow: ShallowRef<boolean>;
15
+ userInformsFrom: Ref<MapObjectNoneType>;
16
+ itemRow: Ref<any>;
17
+ copyRoleFrom: Ref<MapObjectNoneType>;
18
+ copyRoleShow: ShallowRef<boolean>;
19
+ apiUrls: ShallowRef<{
20
+ list: string;
21
+ columnsCode: string;
22
+ delete: string;
23
+ copy: string;
24
+ userRoleList: string;
25
+ }>;
26
+ showEditPage: ShallowRef<boolean>;
27
+ currentEditRow: Ref<{}>;
28
+ listLayoutRef: Ref<any>;
29
+ uploadShow: ShallowRef<boolean>;
30
+ };
@@ -0,0 +1,55 @@
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
+ selectedrolesList: {
12
+ type: ObjectConstructor;
13
+ };
14
+ itemTypeList: {
15
+ type: ObjectConstructor;
16
+ };
17
+ }, {
18
+ modalTitle: Ref<string>;
19
+ showModal: Ref<boolean>;
20
+ hideModal: () => void;
21
+ itemInfo: {
22
+ loading: boolean;
23
+ formData: {
24
+ elsAccount: string;
25
+ subAccount: string;
26
+ realname: string;
27
+ password: string;
28
+ selectedroles: undefined;
29
+ email: string;
30
+ phone: string;
31
+ workNo: string;
32
+ accountValidityDate: string;
33
+ };
34
+ formRules: VxeFormPropTypes.Rules;
35
+ };
36
+ save: () => Promise<void>;
37
+ submitEvent: VxeFormEvents.Submit;
38
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
39
+ title: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ currentRow: {
44
+ type: ObjectConstructor;
45
+ };
46
+ selectedrolesList: {
47
+ type: ObjectConstructor;
48
+ };
49
+ itemTypeList: {
50
+ type: ObjectConstructor;
51
+ };
52
+ }>>, {
53
+ title: string;
54
+ }, {}>;
55
+ export default _sfc_main;