@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,104 @@
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
+ itemInfoRow: Ref<{
10
+ elsAccount: string;
11
+ }>;
12
+ afterHandleSaveItemInfoSuccess: () => void;
13
+ passwordRef: Ref<any>;
14
+ passwordModalFormRule: Ref<{
15
+ password: {
16
+ required: boolean;
17
+ message: string;
18
+ }[];
19
+ confirmpassword: {
20
+ required: boolean;
21
+ message: string;
22
+ }[];
23
+ }>;
24
+ passwordModalForm: Ref<any>;
25
+ passwordModalHandle: (handleType: string) => void;
26
+ listLayoutRef: Ref<any>;
27
+ showEditPage: ShallowRef<boolean>;
28
+ apiUrls: ShallowRef<{
29
+ list: string;
30
+ columnsCode: string;
31
+ exportXlsUrl: string;
32
+ }>;
33
+ pageData: {
34
+ statusConfig: {
35
+ show: boolean;
36
+ };
37
+ optColumn: {
38
+ attrs: {};
39
+ extend: {};
40
+ optColumnList: {
41
+ authorityCode: string;
42
+ type: string;
43
+ title: string;
44
+ click: ({ row }: {
45
+ row?: MapObjectNoneType | undefined;
46
+ }) => void;
47
+ }[];
48
+ };
49
+ buttonConfig: {
50
+ attrs: {};
51
+ extend: {};
52
+ buttons: ({
53
+ label: string;
54
+ icon: {
55
+ type: string;
56
+ };
57
+ attrs: {
58
+ type: string;
59
+ };
60
+ authorityCode: string;
61
+ click: () => Promise<void>;
62
+ type?: undefined;
63
+ } | {
64
+ authorityCode: string;
65
+ label: string;
66
+ icon: {
67
+ type: string;
68
+ };
69
+ type: string;
70
+ attrs?: undefined;
71
+ click?: undefined;
72
+ } | {
73
+ label: string;
74
+ icon: {
75
+ type: string;
76
+ };
77
+ type: string;
78
+ attrs?: undefined;
79
+ authorityCode?: undefined;
80
+ click?: undefined;
81
+ })[];
82
+ };
83
+ queryConfig: {
84
+ attrs: {};
85
+ extend: {};
86
+ form: {
87
+ type: string;
88
+ label: string;
89
+ fieldName: string;
90
+ placeholder: string;
91
+ }[];
92
+ formState: {};
93
+ };
94
+ pagerConfig: {};
95
+ };
96
+ passwordModalShow: ShallowRef<boolean>;
97
+ selectedrolesList: Ref<any>;
98
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
99
+ userInfo: {
100
+ type: ObjectConstructor;
101
+ defalut: () => {};
102
+ };
103
+ }>>, {}, {}>;
104
+ export default _sfc_main;
@@ -0,0 +1,29 @@
1
+ import type { Ref, ShallowRef } from 'vue';
2
+ export declare function useConfigData(): {
3
+ selectedrolesList: Ref<any>;
4
+ itemInfoRow: Ref<{
5
+ elsAccount: string;
6
+ }>;
7
+ passwordRef: Ref<any>;
8
+ passwordModalFormRule: Ref<{
9
+ password: {
10
+ required: boolean;
11
+ message: string;
12
+ }[];
13
+ confirmpassword: {
14
+ required: boolean;
15
+ message: string;
16
+ }[];
17
+ }>;
18
+ passwordModalForm: Ref<any>;
19
+ passwordModalShow: ShallowRef<boolean>;
20
+ apiUrls: ShallowRef<{
21
+ list: string;
22
+ columnsCode: string;
23
+ exportXlsUrl: string;
24
+ }>;
25
+ showEditPage: ShallowRef<boolean>;
26
+ currentEditRow: Ref<{}>;
27
+ listLayoutRef: Ref<any>;
28
+ uploadShow: ShallowRef<boolean>;
29
+ };
@@ -0,0 +1,49 @@
1
+ import type { DefineComponent, ShallowRef, 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
+ copy: string;
14
+ userRoleList: string;
15
+ }>;
16
+ pageData: {
17
+ statusConfig: {
18
+ show: boolean;
19
+ };
20
+ optColumn: {
21
+ attrs: {};
22
+ extend: {};
23
+ optColumnList: never[];
24
+ };
25
+ buttonConfig: {
26
+ attrs: {};
27
+ extend: {};
28
+ buttons: never[];
29
+ };
30
+ queryConfig: {
31
+ attrs: {};
32
+ extend: {};
33
+ form: {
34
+ type: string;
35
+ label: string;
36
+ fieldName: string;
37
+ placeholder: string;
38
+ }[];
39
+ formState: {};
40
+ };
41
+ pagerConfig: {};
42
+ };
43
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
44
+ userInfo: {
45
+ type: ObjectConstructor;
46
+ defalut: () => {};
47
+ };
48
+ }>>, {}, {}>;
49
+ 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
+ columnsCode: string;
6
+ delete: string;
7
+ copy: string;
8
+ userRoleList: string;
9
+ }>;
10
+ showEditPage: ShallowRef<boolean>;
11
+ currentEditRow: Ref<{}>;
12
+ listLayoutRef: Ref<any>;
13
+ uploadShow: ShallowRef<boolean>;
14
+ };
@@ -0,0 +1,31 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{
3
+ currentEditRow: {
4
+ type: ObjectConstructor;
5
+ default(): {};
6
+ };
7
+ openTure: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }, unknown, {
12
+ visible: boolean;
13
+ loading: boolean;
14
+ remoteJsFilePath: string;
15
+ modelLayout: string;
16
+ }, {}, {}, never, ComponentOptionsMixin, "update:openTure"[], "update:openTure", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
17
+ currentEditRow: {
18
+ type: ObjectConstructor;
19
+ default(): {};
20
+ };
21
+ openTure: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ }>> & {
26
+ "onUpdate:openTure"?: ((...args: any[]) => any) | undefined;
27
+ }, {
28
+ openTure: boolean;
29
+ currentEditRow: Record<string, any>;
30
+ }, {}>;
31
+ export default _sfc_main;
@@ -0,0 +1,46 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{
3
+ value: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ configData: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ dictCode: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }, unknown, {
16
+ dataFormatOptions: string[];
17
+ dataFloatOptions: {
18
+ key: number;
19
+ value: string;
20
+ }[];
21
+ realVue: string;
22
+ }, {}, {
23
+ inputChange(e: Event): void;
24
+ selectChange(val: string | number): void;
25
+ floatChange(val: string | number): void;
26
+ }, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
27
+ value: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ configData: {
32
+ type: ObjectConstructor;
33
+ default: () => {};
34
+ };
35
+ dictCode: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ }>> & {
40
+ onChange?: ((...args: any[]) => any) | undefined;
41
+ }, {
42
+ value: string;
43
+ dictCode: string;
44
+ configData: Record<string, any>;
45
+ }, {}>;
46
+ export default _default;
@@ -0,0 +1,41 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{
3
+ value: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ configData: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ dictCode: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }, unknown, {
16
+ dataFormatOptions: string[];
17
+ realVue: string;
18
+ }, {}, {
19
+ selectChange(val: string | number): void;
20
+ }, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "updateInfo")[], "change" | "updateInfo", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
21
+ value: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ configData: {
26
+ type: ObjectConstructor;
27
+ default: () => {};
28
+ };
29
+ dictCode: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ }>> & {
34
+ onChange?: ((...args: any[]) => any) | undefined;
35
+ onUpdateInfo?: ((...args: any[]) => any) | undefined;
36
+ }, {
37
+ value: string;
38
+ dictCode: string;
39
+ configData: Record<string, any>;
40
+ }, {}>;
41
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import type { customContentSlotParams, customEditSlotParams } from './types';
2
+ import { Ref } from 'vue';
3
+ export declare function useColumnSlots(elsAccount: Ref): {
4
+ purchaseOperation_defult: ({ row }: customContentSlotParams) => JSX.Element[];
5
+ purchaseOperation_edit: ({ row, column }: customEditSlotParams) => JSX.Element[];
6
+ saleOperation_default: ({ row }: customContentSlotParams) => JSX.Element[];
7
+ saleOperation_edit: ({ row, column }: customEditSlotParams) => JSX.Element[];
8
+ defaultValue_default: ({ row }: customContentSlotParams) => any[];
9
+ defaultValue_edit: ({ row }: customEditSlotParams) => any[];
10
+ defaultValue_header: () => JSX.Element[];
11
+ right_header: () => JSX.Element[];
12
+ };
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'vue';
2
+ import { VxeTableDefines, VxeColumnPropTypes, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor } from 'vxe-table';
3
+ export interface MapObjectNoneType {
4
+ [pro: string]: any;
5
+ }
6
+ export interface RequestConfig extends MapObjectNoneType {
7
+ baseURL?: string;
8
+ headers?: object;
9
+ timeout?: number;
10
+ url?: string;
11
+ params?: object;
12
+ data?: object;
13
+ }
14
+ export interface ResponseData extends MapObjectNoneType {
15
+ code?: number;
16
+ message?: string;
17
+ result?: any;
18
+ success?: boolean;
19
+ }
20
+ export interface HttpClient {
21
+ get(config: RequestConfig): Promise<ResponseData>;
22
+ post(config: RequestConfig): Promise<ResponseData>;
23
+ }
24
+ export declare const INJECT_HTTP = "http";
25
+ export declare function getProperty<T, K extends keyof T>(o: T, name: K): T[K];
26
+ export type GridQConfigEditRef = {
27
+ [pro: string]: Ref;
28
+ };
29
+ export interface GridQConfigUnkownObj {
30
+ sys?: string;
31
+ sortOrder?: number;
32
+ option?: any;
33
+ row?: any;
34
+ }
35
+ export interface customContentSlotParams {
36
+ column: VxeTableDefines.ColumnInfo;
37
+ columnIndex: number;
38
+ $columnIndex: number;
39
+ row: any;
40
+ rowIndex: number;
41
+ $rowIndex: number;
42
+ isHidden: boolean;
43
+ fixed: VxeColumnPropTypes.Fixed;
44
+ type: string;
45
+ }
46
+ export interface customEditSlotParams {
47
+ column: VxeTableDefines.ColumnInfo;
48
+ columnIndex: number;
49
+ $columnIndex: number;
50
+ row: any;
51
+ rowIndex: number;
52
+ $rowIndex: number;
53
+ }
54
+ export interface customActiveMethod {
55
+ row: any;
56
+ rowIndex: number;
57
+ column: VxeTableDefines.ColumnInfo;
58
+ columnIndex: number;
59
+ $table: VxeTableConstructor & VxeTablePrivateMethods;
60
+ $grid: VxeGridConstructor | null | undefined;
61
+ }
@@ -0,0 +1,7 @@
1
+ import type { ComputedRef } from 'vue';
2
+ import { MapObjectNoneType } from './types';
3
+ export declare function useConfigComputed(): {
4
+ showBusinessTips: ComputedRef<string | null>;
5
+ gridHeight: ComputedRef<number>;
6
+ commonDevelopTabs: ComputedRef<MapObjectNoneType[]>;
7
+ };
@@ -0,0 +1,85 @@
1
+ import type { Ref, ShallowRef } from 'vue';
2
+ import * as customConfigEdits from './types';
3
+ export declare function useConfigData(): {
4
+ formRef: Ref<any>;
5
+ groupGrid: Ref<any>;
6
+ form: {
7
+ templateName: string;
8
+ businessType: string;
9
+ company: string;
10
+ purchaseOrg: string;
11
+ purchaseGroup: string;
12
+ auditLayout: string;
13
+ sortOrder: number;
14
+ editLayout: string;
15
+ examineLayout: string;
16
+ defaultTypeFlag: boolean;
17
+ templateNumber: string;
18
+ templateVersion: string;
19
+ extend: string;
20
+ id: string;
21
+ elsAccount: string;
22
+ };
23
+ confirmLoading: Ref<boolean>;
24
+ currentStep: ShallowRef<number>;
25
+ companyCode: ShallowRef<string>;
26
+ purchaseOrganization: ShallowRef<string>;
27
+ purchaseGroup: ShallowRef<string>;
28
+ groupData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
29
+ headData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
30
+ itemData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
31
+ headGrid: Ref<any>;
32
+ fieldTypeOptain: {
33
+ value: string;
34
+ label: string;
35
+ }[];
36
+ headRules: ShallowRef<{
37
+ groupCode: {
38
+ required: boolean;
39
+ message: string;
40
+ }[];
41
+ fieldName: {
42
+ required: boolean;
43
+ message: string;
44
+ }[];
45
+ fieldLabel: {
46
+ required: boolean;
47
+ message: string;
48
+ }[];
49
+ fieldType: {
50
+ required: boolean;
51
+ message: string;
52
+ }[];
53
+ }>;
54
+ fieldData: Ref<customConfigEdits.MapObjectNoneType[] | undefined>;
55
+ visible: Ref<boolean>;
56
+ selectGrid: Ref<any>;
57
+ currentDrawer: Ref<customConfigEdits.MapObjectNoneType>;
58
+ dictCodeModal: Ref<any>;
59
+ currentDictRow: Ref<any>;
60
+ currentItemGrid: Ref<any>;
61
+ drawerVisible: Ref<boolean>;
62
+ codeEditorFields: ShallowRef<string[]>;
63
+ editorModalFlags: Ref<boolean>;
64
+ sampleCode: Ref<string | undefined>;
65
+ nowFieldType: Ref<string | undefined>;
66
+ switchFields: ShallowRef<string[]>;
67
+ itemRules: ShallowRef<{
68
+ fieldName: {
69
+ required: boolean;
70
+ message: string;
71
+ }[];
72
+ fieldLabel: {
73
+ required: boolean;
74
+ message: string;
75
+ }[];
76
+ fieldType: {
77
+ required: boolean;
78
+ message: string;
79
+ }[];
80
+ }>;
81
+ itemGrid: Ref<any>;
82
+ remoteJsFilePath: Ref<string>;
83
+ perviewOpen: ShallowRef<boolean>;
84
+ currentRow: Ref<{}>;
85
+ };
@@ -0,0 +1,16 @@
1
+ import { Ref } from 'vue';
2
+ import type { GridQConfigUnkownObj, customActiveMethod, MapObjectNoneType, HttpClient } from './types';
3
+ export declare function useConfigMethods(): {
4
+ filterFieldNameMethod: ({ option, row }: GridQConfigUnkownObj) => boolean;
5
+ filterFieldLabelMethod: ({ option, row }: GridQConfigUnkownObj) => boolean;
6
+ setGridValeByField: (currentRow: MapObjectNoneType, field: string, value: unknown) => void;
7
+ changeFilterEvent: (evnt: Event, option: MapObjectNoneType, $panel: MapObjectNoneType) => void;
8
+ filterGroupCodeMethod: ({ option, row }: GridQConfigUnkownObj) => boolean;
9
+ removeDictCode: (row: MapObjectNoneType) => void;
10
+ };
11
+ export declare function useConfigElsAccountMethods(elsAccount: Ref): {
12
+ activeCellMethod: ({ row, column }: customActiveMethod) => boolean;
13
+ };
14
+ export declare function useConigApiMethods(qHttp: HttpClient): {
15
+ handleExportXls: (fileName: string, headId: string, type: string, defineColumnCode: string, exportXlsUrl: string, callback: () => void) => void;
16
+ };
@@ -0,0 +1,18 @@
1
+ export declare const EditSample: {
2
+ bindFunctionHead: string;
3
+ initFunctionHead: string;
4
+ extendHead: string;
5
+ fieldValidatorHead: string;
6
+ formulaHead: string;
7
+ bindFunctionRow: string;
8
+ initFunctionRow: string;
9
+ extendRow: string;
10
+ fieldValidatorRow: string;
11
+ formulaRow: string;
12
+ };
13
+ export declare const url: {
14
+ add: string;
15
+ edit: string;
16
+ detail: string;
17
+ publish: string;
18
+ };
@@ -0,0 +1,50 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import { MapObjectNoneType } from '../../../utils/global.types';
3
+ declare const _sfc_main: DefineComponent<{
4
+ userToken: {
5
+ type: StringConstructor;
6
+ defalut: string;
7
+ };
8
+ isShow: {
9
+ type: BooleanConstructor;
10
+ defalut: boolean;
11
+ };
12
+ }, unknown, {
13
+ visible: boolean;
14
+ current: number;
15
+ confirmLoading: boolean;
16
+ accept: string;
17
+ uploadHeader: {
18
+ 'X-Access-Token': string | undefined;
19
+ };
20
+ isPreview: number;
21
+ tableColumns: never[];
22
+ tableData: never[];
23
+ dataKey: string;
24
+ isLoading: boolean;
25
+ percent: number;
26
+ importUrl: string;
27
+ }, {
28
+ lastStepIndex(): number;
29
+ }, {
30
+ open(): void;
31
+ ok(): void;
32
+ close(): void;
33
+ onChange(current: number): void;
34
+ imortChangeEvent(info: MapObjectNoneType): void;
35
+ beforeUpload(file: MapObjectNoneType): false | undefined;
36
+ }, ComponentOptionsMixin, ComponentOptionsMixin, "close"[], "close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
37
+ userToken: {
38
+ type: StringConstructor;
39
+ defalut: string;
40
+ };
41
+ isShow: {
42
+ type: BooleanConstructor;
43
+ defalut: boolean;
44
+ };
45
+ }>> & {
46
+ onClose?: ((...args: any[]) => any) | undefined;
47
+ }, {
48
+ isShow: boolean;
49
+ }, {}>;
50
+ export default _sfc_main;
@@ -0,0 +1,112 @@
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
+ pageData: {
10
+ statusConfig: {
11
+ show: boolean;
12
+ };
13
+ optColumn: {
14
+ attrs: {};
15
+ extend: {};
16
+ optColumnList: ({
17
+ authorityCode: string;
18
+ type: string;
19
+ title: string;
20
+ click: ({ row }: MapObjectNoneType) => void;
21
+ allow?: undefined;
22
+ } | {
23
+ authorityCode: string;
24
+ type: string;
25
+ title: string;
26
+ click: ({ row }: {
27
+ row?: MapObjectNoneType | undefined;
28
+ }) => void;
29
+ allow: ({ row }: {
30
+ row?: MapObjectNoneType | undefined;
31
+ }) => boolean;
32
+ })[];
33
+ };
34
+ buttonConfig: {
35
+ attrs: {};
36
+ extend: {};
37
+ buttons: ({
38
+ authorityCode: string;
39
+ label: string;
40
+ icon: {
41
+ type: string;
42
+ };
43
+ click: () => void;
44
+ attrs: {
45
+ type: string;
46
+ };
47
+ folded?: undefined;
48
+ } | {
49
+ authorityCode: string;
50
+ label: string;
51
+ icon: string;
52
+ click: () => false | undefined;
53
+ attrs?: undefined;
54
+ folded?: undefined;
55
+ } | {
56
+ authorityCode: string;
57
+ label: string;
58
+ icon: string;
59
+ folded: boolean;
60
+ click: () => void;
61
+ attrs?: undefined;
62
+ })[];
63
+ };
64
+ queryConfig: {
65
+ attrs: {};
66
+ extend: {};
67
+ form: ({
68
+ type: string;
69
+ label: string;
70
+ dictCode: string;
71
+ fieldName: string;
72
+ placeholder: string;
73
+ } | {
74
+ type: string;
75
+ label: string;
76
+ fieldName: string;
77
+ dictCode?: undefined;
78
+ placeholder?: undefined;
79
+ })[];
80
+ formState: {};
81
+ };
82
+ pagerConfig: {};
83
+ };
84
+ apiUrls: ShallowRef<{
85
+ list: string;
86
+ columnsCode: string;
87
+ delete: string;
88
+ upgrade: string;
89
+ copyData: string;
90
+ cancel: string;
91
+ batchGeneratorConfig: string;
92
+ exportJson: string;
93
+ }>;
94
+ showEditPage: ShallowRef<boolean>;
95
+ currentEditRow: Ref<{}>;
96
+ handleReturn: () => void;
97
+ batchGeneratorConfig: () => false | undefined;
98
+ listLayoutRef: Ref<any>;
99
+ handleExportJson: () => void;
100
+ uploadShow: ShallowRef<boolean>;
101
+ handleImportJson: () => void;
102
+ uploadClose: () => void;
103
+ handleCustomCancel: ({ row }: {
104
+ row?: MapObjectNoneType | undefined;
105
+ }) => void;
106
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
107
+ userInfo: {
108
+ type: ObjectConstructor;
109
+ defalut: () => {};
110
+ };
111
+ }>>, {}, {}>;
112
+ export default _sfc_main;