@qqt-product/system 0.0.2 → 0.0.17

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 (179) hide show
  1. package/dist/index.es.js +53481 -10448
  2. package/dist/index.umd.js +94 -22
  3. package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +2881 -0
  4. package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +2874 -0
  5. package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +2882 -0
  6. package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +23 -4
  7. package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +9 -4
  8. package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +9 -4
  9. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +2867 -0
  10. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +2 -3
  11. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +2867 -0
  12. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +2879 -0
  13. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +38 -14
  14. package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +2 -6
  15. package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +5 -8
  16. package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +9 -4
  17. package/dist/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue.d.ts +387 -3
  18. package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +2875 -0
  19. package/dist/lib/components/QPermissionDataList/src/QPermissionDataList.vue.d.ts +126 -0
  20. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +2867 -0
  21. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +2890 -0
  22. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +25 -5
  23. package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +7 -0
  24. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +222 -28
  25. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue.d.ts +45 -0
  26. package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +24 -5
  27. package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +32 -7
  28. package/dist/lib/components/QRoleList/src/components/userAuthorization/index.d.ts +4 -4
  29. package/dist/lib/components/QRoleList/src/useConfigData.d.ts +1 -11
  30. package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +25 -4
  31. package/dist/lib/components/QSupplierAccountList/src/useConfigData.d.ts +9 -0
  32. package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +15 -35
  33. package/dist/lib/components/QUsageList/src/useConfigData.d.ts +111 -10
  34. package/dist/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue.d.ts +25 -0
  35. package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +9 -10
  36. package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +1208 -0
  37. package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +1 -1
  38. package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +8 -7
  39. package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +2 -3
  40. package/dist/lib/components/index.d.ts +2 -2
  41. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +2866 -0
  42. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +2875 -0
  43. package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +8 -11
  44. package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +16 -10
  45. package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +2 -9
  46. package/dist/lib/components/loginLogList/src/index.vue.d.ts +2 -8
  47. package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +2 -12
  48. package/dist/lib/components/operateLogList/src/index.vue.d.ts +2 -13
  49. package/dist/style.css +1 -1
  50. package/dist/vite-env.d.ts +13 -13
  51. package/package.json +24 -11
  52. package/.eslintignore +0 -4
  53. package/.eslintrc.cjs +0 -22
  54. package/.prettierignore +0 -4
  55. package/.prettierrc.cjs +0 -41
  56. package/.vscode/extensions.json +0 -3
  57. package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +0 -80
  58. package/dist/lib/components/QCompanyermissionList/src/types.d.ts +0 -44
  59. package/dist/lib/components/integratedReportList/src/index.vue.d.ts +0 -70
  60. package/dist/vite.svg +0 -1
  61. package/index.html +0 -13
  62. package/public/vite.svg +0 -1
  63. package/src/App.vue +0 -8
  64. package/src/lib/components/QAccountList/index.ts +0 -6
  65. package/src/lib/components/QAccountList/src/QAccountDetail.vue +0 -191
  66. package/src/lib/components/QAccountList/src/QAccountEdit.vue +0 -241
  67. package/src/lib/components/QAccountList/src/QAccountList.vue +0 -530
  68. package/src/lib/components/QAccountList/src/useConfigData.ts +0 -53
  69. package/src/lib/components/QBackgroundFileTaskList/index.ts +0 -6
  70. package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +0 -137
  71. package/src/lib/components/QBackgroundFileTaskList/src/useConfigData.ts +0 -20
  72. package/src/lib/components/QCompanyermissionList/src/editTree.vue +0 -291
  73. package/src/lib/components/QCompanyermissionList/src/form.vue +0 -238
  74. package/src/lib/components/QCompanyermissionList/src/index.vue +0 -309
  75. package/src/lib/components/QCompanyermissionList/src/types.ts +0 -44
  76. package/src/lib/components/QElsEmailSendLogList/index.ts +0 -6
  77. package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +0 -166
  78. package/src/lib/components/QElsEmailSendLogList/src/useConfigData.ts +0 -19
  79. package/src/lib/components/QElsMsgRecordList/index.ts +0 -6
  80. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue +0 -148
  81. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +0 -124
  82. package/src/lib/components/QElsMsgRecordList/src/useConfigData.ts +0 -22
  83. package/src/lib/components/QElsTenantPortalNewsList/index.ts +0 -6
  84. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue +0 -139
  85. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +0 -196
  86. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +0 -122
  87. package/src/lib/components/QElsTenantPortalNewsList/src/useConfigData.ts +0 -20
  88. package/src/lib/components/QI18nList/index.ts +0 -6
  89. package/src/lib/components/QI18nList/src/QI18nForm.vue +0 -141
  90. package/src/lib/components/QI18nList/src/QI18nList.vue +0 -361
  91. package/src/lib/components/QI18nList/src/useConfigData.ts +0 -37
  92. package/src/lib/components/QImChatGroupList/index.ts +0 -6
  93. package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +0 -94
  94. package/src/lib/components/QImChatGroupList/src/useConfigData.ts +0 -17
  95. package/src/lib/components/QMqRecordList/index.ts +0 -6
  96. package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +0 -105
  97. package/src/lib/components/QMqRecordList/src/useConfigData.ts +0 -18
  98. package/src/lib/components/QPasswordSecurityPolicy/index.ts +0 -6
  99. package/src/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue +0 -266
  100. package/src/lib/components/QPermissionDataList/index.ts +0 -6
  101. package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +0 -3
  102. package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +0 -221
  103. package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +0 -117
  104. package/src/lib/components/QPermissionDataList/src/form.vue +0 -109
  105. package/src/lib/components/QPurchaseNoticeList/index.ts +0 -6
  106. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +0 -147
  107. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +0 -244
  108. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +0 -163
  109. package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +0 -22
  110. package/src/lib/components/QPurchaseNoticeTemplateList/index.ts +0 -6
  111. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +0 -85
  112. package/src/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.ts +0 -18
  113. package/src/lib/components/QQuartzJobList/index.ts +0 -6
  114. package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +0 -263
  115. package/src/lib/components/QQuartzJobList/src/components/JCron.vue +0 -82
  116. package/src/lib/components/QQuartzJobList/src/components/JCronModal.vue +0 -985
  117. package/src/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue +0 -176
  118. package/src/lib/components/QQuartzJobList/src/useConfigData.ts +0 -26
  119. package/src/lib/components/QRoleList/index.ts +0 -6
  120. package/src/lib/components/QRoleList/src/QRoleList.vue +0 -288
  121. package/src/lib/components/QRoleList/src/components/content-header/contentHeader.less +0 -31
  122. package/src/lib/components/QRoleList/src/components/content-header/index.tsx +0 -42
  123. package/src/lib/components/QRoleList/src/components/userAuthorization/index.tsx +0 -690
  124. package/src/lib/components/QRoleList/src/components/userAuthorization/userAuthorization.less +0 -97
  125. package/src/lib/components/QRoleList/src/useConfigData.ts +0 -33
  126. package/src/lib/components/QSupplierAccountList/index.ts +0 -6
  127. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue +0 -187
  128. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +0 -302
  129. package/src/lib/components/QSupplierAccountList/src/useConfigData.ts +0 -29
  130. package/src/lib/components/QUsageList/index.ts +0 -6
  131. package/src/lib/components/QUsageList/src/QUsageList.vue +0 -82
  132. package/src/lib/components/QUsageList/src/useConfigData.ts +0 -20
  133. package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +0 -140
  134. package/src/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue +0 -100
  135. package/src/lib/components/QcustomConfigEdit/component/dataFormatComponent.tsx +0 -100
  136. package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +0 -71
  137. package/src/lib/components/QcustomConfigEdit/index.ts +0 -6
  138. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +0 -1807
  139. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +0 -242
  140. package/src/lib/components/QcustomConfigEdit/src/types.ts +0 -71
  141. package/src/lib/components/QcustomConfigEdit/src/useConfigComputed.ts +0 -75
  142. package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +0 -123
  143. package/src/lib/components/QcustomConfigEdit/src/useConfigMethods.ts +0 -117
  144. package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +0 -301
  145. package/src/lib/components/QcustomConfigEdit/style/index.less +0 -41
  146. package/src/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue +0 -135
  147. package/src/lib/components/QcustomConfigList/index.ts +0 -6
  148. package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +0 -268
  149. package/src/lib/components/QcustomConfigList/src/types.ts +0 -1
  150. package/src/lib/components/QcustomConfigList/src/useConfigData.ts +0 -23
  151. package/src/lib/components/QcustomConfigList/src/useMethods.ts +0 -36
  152. package/src/lib/components/QcustomConfigList/style/index.less +0 -3
  153. package/src/lib/components/QsysConfigList/index.ts +0 -6
  154. package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +0 -125
  155. package/src/lib/components/QsysConfigList/src/types.ts +0 -1
  156. package/src/lib/components/QsysConfigList/src/useConfigData.ts +0 -17
  157. package/src/lib/components/QsysConfigList/src/useMethods.ts +0 -11
  158. package/src/lib/components/QsysConfigList/style/index.less +0 -3
  159. package/src/lib/components/index.ts +0 -78
  160. package/src/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue +0 -49
  161. package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +0 -143
  162. package/src/lib/components/integratedNodesList/src/index.vue +0 -136
  163. package/src/lib/components/integratedReportList/src/index.vue +0 -86
  164. package/src/lib/components/integratedReportSearchList/src/index.vue +0 -66
  165. package/src/lib/components/loginAbnormalLogList/src/index.vue +0 -50
  166. package/src/lib/components/loginLogList/src/index.vue +0 -57
  167. package/src/lib/components/loginSupplierLogList/src/index.vue +0 -63
  168. package/src/lib/components/operateLogList/src/index.vue +0 -57
  169. package/src/lib/index.ts +0 -15
  170. package/src/lib/utils/constant.ts +0 -1
  171. package/src/lib/utils/global.hook.ts +0 -337
  172. package/src/lib/utils/global.types.ts +0 -49
  173. package/src/lib/utils/regexp.ts +0 -143
  174. package/src/main.ts +0 -11
  175. package/src/vite-env.d.ts +0 -13
  176. package/tsconfig.json +0 -24
  177. package/tsconfig.node.json +0 -9
  178. package/vite.config.ts +0 -61
  179. /package/dist/{index.es.d.ts → index.d.ts} +0 -0
@@ -1,10 +1,11 @@
1
- import type { DefineComponent, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  userInfo: {
4
4
  type: ObjectConstructor;
5
5
  defalut: () => {};
6
6
  };
7
7
  }, {
8
+ listLayoutRef: Ref<any>;
8
9
  apiUrls: ShallowRef<{
9
10
  list: string;
10
11
  columnsCode: string;
@@ -17,10 +18,10 @@ declare const _sfc_main: DefineComponent<{
17
18
  statusConfig: {
18
19
  show: boolean;
19
20
  };
20
- optColumn: {
21
+ optionConfig: {
21
22
  attrs: {};
22
23
  extend: {};
23
- optColumnList: ({
24
+ options: ({
24
25
  authorityCode: string;
25
26
  type: string;
26
27
  title: string;
@@ -28,6 +29,7 @@ declare const _sfc_main: DefineComponent<{
28
29
  row: any;
29
30
  }) => void;
30
31
  disabled?: undefined;
32
+ args?: undefined;
31
33
  } | {
32
34
  authorityCode: string;
33
35
  type: string;
@@ -36,6 +38,18 @@ declare const _sfc_main: DefineComponent<{
36
38
  disabled: ({ row }: {
37
39
  row: any;
38
40
  }) => boolean;
41
+ args?: undefined;
42
+ } | {
43
+ type: string;
44
+ title: string;
45
+ authorityCode: string;
46
+ args: {
47
+ url: string;
48
+ };
49
+ disabled: ({ row }: {
50
+ row: any;
51
+ }) => boolean;
52
+ click?: undefined;
39
53
  })[];
40
54
  };
41
55
  buttonConfig: {
@@ -44,8 +58,13 @@ declare const _sfc_main: DefineComponent<{
44
58
  buttons: ({
45
59
  authorityCode: string;
46
60
  label: string;
61
+ icon: {
62
+ type: string;
63
+ };
64
+ attrs: {
65
+ type: string;
66
+ };
47
67
  click: ({ row }: any) => void;
48
- icon?: undefined;
49
68
  type?: undefined;
50
69
  } | {
51
70
  label: string;
@@ -54,6 +73,7 @@ declare const _sfc_main: DefineComponent<{
54
73
  };
55
74
  type: string;
56
75
  authorityCode?: undefined;
76
+ attrs?: undefined;
57
77
  click?: undefined;
58
78
  })[];
59
79
  };
@@ -73,10 +93,10 @@ declare const _sfc_main: DefineComponent<{
73
93
  dictCode: string;
74
94
  placeholder: string;
75
95
  })[];
76
- formState: {};
77
96
  };
78
97
  pagerConfig: {};
79
98
  };
99
+ handleTopSet: (row: any) => Promise<void>;
80
100
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
81
101
  userInfo: {
82
102
  type: ObjectConstructor;
@@ -0,0 +1,7 @@
1
+ import type { Ref, ComponentPublicInstance } from 'vue';
2
+ import { GlobalPageLayoutTypes } from '@qqt-product/ui';
3
+ export default function useFieldSelectModal(layoutRef: Ref<ComponentPublicInstance | null>, srmI18n: any): {
4
+ fieldSelectModal: Ref<any>;
5
+ handleSupplierListRowAdd: Ref<((btn: GlobalPageLayoutTypes.PageButtonWithGroupCode) => void) | null>;
6
+ ok: Ref<((data: GlobalPageLayoutTypes.RecordString[]) => void) | null>;
7
+ };
@@ -1,47 +1,241 @@
1
- import type { DefineComponent, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { Request } from '@qqt-product/api/dist/utils/request';
2
+ import type { SizeType, VxePagerPropTypes } from 'vxe-table';
3
+ import type { ListMergeDataItem } from '@qqt-product/ui/dist/lib/components/list-page-layout';
4
+ import type { DefineComponent, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
+ import type { GlobalListPageLayoutTypes } from '@qqt-product/ui';
2
6
  declare const _sfc_main: DefineComponent<{
3
7
  userInfo: {
4
- type: ObjectConstructor;
5
- defalut: () => {};
8
+ type: null;
9
+ required: true;
6
10
  };
7
11
  }, {
12
+ props: any;
13
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
14
+ listLayoutRef: Ref<any>;
15
+ fetchListData: () => void;
16
+ visible: Ref<boolean>;
17
+ viewTemplateVisible: Ref<boolean>;
18
+ viewTemplateModalTitle: Ref<string>;
19
+ handleViewCancel: () => void;
20
+ viewTemplateRow: Ref<{
21
+ [x: string]: unknown;
22
+ templateNumber: string;
23
+ templateVersion: number;
24
+ templateAccount: string;
25
+ busAccount: string;
26
+ elsAccount: string;
27
+ } | {
28
+ templateName: string;
29
+ templateContent: string;
30
+ }>;
31
+ noticeTemplateRow: Ref<{}>;
32
+ handleEdit: (payload: GlobalListPageLayoutTypes.ListOptionsEventParams) => void;
33
+ handleView: (payload: GlobalListPageLayoutTypes.ListOptionsEventParams) => void;
34
+ pageData: {
35
+ [x: string]: any;
36
+ onlyShowNav?: boolean | undefined;
37
+ isAggregate?: "0" | "1" | undefined;
38
+ isUseLocalColumns?: boolean | undefined;
39
+ localColumns?: {
40
+ [x: string]: any;
41
+ field?: string | undefined;
42
+ property?: string | undefined;
43
+ columnId?: string | undefined;
44
+ sorter?: string | undefined;
45
+ fixType?: string | undefined;
46
+ hidden?: string | undefined;
47
+ link?: string | undefined;
48
+ fieldColors?: string | {
49
+ [x: string]: unknown;
50
+ fieldName?: string | undefined;
51
+ filterColor?: string | undefined;
52
+ }[] | undefined;
53
+ }[] | undefined;
54
+ optionConfig?: {
55
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
56
+ extend?: GlobalListPageLayoutTypes.ObjectMap | undefined;
57
+ options: {
58
+ type?: string | undefined;
59
+ title: string;
60
+ authorityCode?: string | undefined;
61
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
62
+ args?: {
63
+ [x: string]: unknown;
64
+ url?: string | undefined;
65
+ method?: string | undefined;
66
+ params?: GlobalListPageLayoutTypes.ObjectMap | (({ currentOpt, row }: {
67
+ currentOpt: GlobalListPageLayoutTypes.OptColumnListItem;
68
+ row: GlobalListPageLayoutTypes.ObjectMap;
69
+ }) => void | object) | undefined;
70
+ } | undefined;
71
+ click?: ((args: GlobalListPageLayoutTypes.ListOptionsEventParams) => void) | undefined;
72
+ disabled?: boolean | (({ currentOpt, row }: {
73
+ currentOpt: GlobalListPageLayoutTypes.OptColumnListItem;
74
+ row: GlobalListPageLayoutTypes.ObjectMap;
75
+ }) => boolean | void) | undefined;
76
+ }[];
77
+ } | undefined;
78
+ buttonConfig?: {
79
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
80
+ extend?: GlobalListPageLayoutTypes.ObjectMap | undefined;
81
+ buttons: {
82
+ label?: string | undefined;
83
+ icon?: string | GlobalListPageLayoutTypes.ObjectMap | undefined;
84
+ type?: string | undefined;
85
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
86
+ args?: {
87
+ [x: string]: unknown;
88
+ url?: string | undefined;
89
+ } | undefined;
90
+ authorityCode?: string | undefined;
91
+ disabled?: boolean | (<T>(args: T) => boolean | void) | undefined;
92
+ click?: ((args: GlobalListPageLayoutTypes.ButtonItem) => void) | undefined;
93
+ handleBefore?: (<T_1>(args: T_1) => void | Promise<T_1>) | undefined;
94
+ handleAfter?: (<T_2>(args: T_2) => void | Promise<T_2>) | undefined;
95
+ }[];
96
+ } | undefined;
97
+ toolsConfig?: {
98
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
99
+ extend?: GlobalListPageLayoutTypes.ObjectMap | undefined;
100
+ buttons: {
101
+ toggleIcon?: string | GlobalListPageLayoutTypes.ObjectMap | undefined;
102
+ label?: string | undefined;
103
+ icon?: string | GlobalListPageLayoutTypes.ObjectMap | undefined;
104
+ type?: string | undefined;
105
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
106
+ args?: {
107
+ [x: string]: unknown;
108
+ url?: string | undefined;
109
+ } | undefined;
110
+ authorityCode?: string | undefined;
111
+ disabled?: boolean | (<T>(args: T) => boolean | void) | undefined;
112
+ click?: ((args: GlobalListPageLayoutTypes.ButtonItem) => void) | undefined;
113
+ handleBefore?: (<T_1>(args: T_1) => void | Promise<T_1>) | undefined;
114
+ handleAfter?: (<T_2>(args: T_2) => void | Promise<T_2>) | undefined;
115
+ }[];
116
+ } | undefined;
117
+ queryConfig?: {
118
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
119
+ extend?: GlobalListPageLayoutTypes.ObjectMap | undefined;
120
+ customSearch?: ((args: GlobalListPageLayoutTypes.ObjectMap) => void) | undefined;
121
+ form: {
122
+ type: string;
123
+ label: string;
124
+ fieldName: string;
125
+ placeholder?: string | undefined;
126
+ options?: GlobalListPageLayoutTypes.ObjectMap[] | undefined;
127
+ attrs?: GlobalListPageLayoutTypes.ObjectMap | undefined;
128
+ dictCode?: string | undefined;
129
+ change?: ((args: GlobalListPageLayoutTypes.QueryFormItem) => void) | undefined;
130
+ }[];
131
+ needAdvancedQuery?: boolean | undefined;
132
+ formState?: GlobalListPageLayoutTypes.ObjectMap | undefined;
133
+ } | undefined;
134
+ statusConfig?: {
135
+ show?: boolean | (() => boolean | void) | undefined;
136
+ filter?: GlobalListPageLayoutTypes.ObjectMap | undefined;
137
+ currentValue?: {
138
+ [x: string]: any;
139
+ proName: string;
140
+ rejectReason: string;
141
+ title: string;
142
+ total: string | number;
143
+ flag?: string | undefined;
144
+ } | undefined;
145
+ } | undefined;
146
+ filterConfig?: {
147
+ show?: boolean | (() => boolean | void) | undefined;
148
+ filter?: GlobalListPageLayoutTypes.ObjectMap | undefined;
149
+ } | undefined;
150
+ navConfig?: {
151
+ show?: boolean | (() => boolean | void) | undefined;
152
+ } | undefined;
153
+ listMergeConfig?: {
154
+ show?: boolean | (() => boolean | void) | undefined;
155
+ options: {
156
+ title: string;
157
+ key: string | number;
158
+ }[];
159
+ currentValue: string | number;
160
+ change: (event: Event, value?: string | number | undefined, options?: ListMergeDataItem[] | undefined) => void;
161
+ } | undefined;
162
+ pagerConfig?: {
163
+ enabled?: boolean | undefined;
164
+ slots?: any;
165
+ size?: SizeType | undefined;
166
+ layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
167
+ currentPage?: number | undefined;
168
+ loading?: boolean | undefined;
169
+ pageSize?: number | undefined;
170
+ total?: number | undefined;
171
+ pagerCount?: number | undefined;
172
+ pageSizes?: (number | {
173
+ label?: string | number | undefined;
174
+ value?: string | number | undefined;
175
+ })[] | undefined;
176
+ align?: string | undefined;
177
+ border?: boolean | undefined;
178
+ background?: boolean | undefined;
179
+ perfect?: boolean | undefined;
180
+ autoHidden?: boolean | undefined;
181
+ transfer?: boolean | undefined;
182
+ className?: VxePagerPropTypes.ClassName | undefined;
183
+ iconPrevPage?: string | undefined;
184
+ iconJumpPrev?: string | undefined;
185
+ iconJumpNext?: string | undefined;
186
+ iconNextPage?: string | undefined;
187
+ iconJumpMore?: string | undefined;
188
+ } | undefined;
189
+ cacheParams?: GlobalListPageLayoutTypes.ObjectMap | undefined;
190
+ };
8
191
  showEditPage: ShallowRef<boolean>;
9
192
  apiUrls: ShallowRef<{
10
193
  list: string;
11
194
  columnsCode: string;
12
195
  delete: string;
13
196
  }>;
14
- pageData: {
15
- statusConfig: {
16
- show: boolean;
197
+ userInfo: Ref<any>;
198
+ QPurchaseNoticeTemplateModal: DefineComponent<{
199
+ modelValue: {
200
+ type: BooleanConstructor;
201
+ required: true;
17
202
  };
18
- optColumn: {
19
- attrs: {};
20
- extend: {};
21
- optColumnList: never[];
203
+ currentRow: {
204
+ type: ObjectConstructor;
205
+ required: true;
22
206
  };
23
- buttonConfig: {
24
- attrs: {};
25
- extend: {};
26
- buttons: never[];
207
+ }, {
208
+ qHttp: Request;
209
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
210
+ modalTitle: Ref<string>;
211
+ props: any;
212
+ modelValue: Ref<any>;
213
+ emit: (event: "update:modelValue" | "fetch-list-data", ...args: any[]) => void;
214
+ form: {
215
+ templateName: string;
216
+ id: string;
217
+ templateContent: string;
27
218
  };
28
- queryConfig: {
29
- attrs: {};
30
- extend: {};
31
- form: {
32
- type: string;
33
- label: string;
34
- fieldName: string;
35
- placeholder: string;
36
- }[];
37
- formState: {};
219
+ handleCancel: () => void;
220
+ handleOk: (e: MouseEvent) => void;
221
+ postData: () => void;
222
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "fetch-list-data")[], "update:modelValue" | "fetch-list-data", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
223
+ modelValue: {
224
+ type: BooleanConstructor;
225
+ required: true;
38
226
  };
39
- pagerConfig: {};
40
- };
227
+ currentRow: {
228
+ type: ObjectConstructor;
229
+ required: true;
230
+ };
231
+ }>> & {
232
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
233
+ "onFetch-list-data"?: ((...args: any[]) => any) | undefined;
234
+ }, {}, {}>;
41
235
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
42
236
  userInfo: {
43
- type: ObjectConstructor;
44
- defalut: () => {};
237
+ type: null;
238
+ required: true;
45
239
  };
46
240
  }>>, {}, {}>;
47
241
  export default _sfc_main;
@@ -0,0 +1,45 @@
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import qqtApi from '@qqt-product/api';
3
+ export interface Values {
4
+ templateName: string;
5
+ id: string;
6
+ templateContent: string;
7
+ }
8
+ declare const _sfc_main: DefineComponent<{
9
+ modelValue: {
10
+ type: BooleanConstructor;
11
+ required: true;
12
+ };
13
+ currentRow: {
14
+ type: ObjectConstructor;
15
+ required: true;
16
+ };
17
+ }, {
18
+ qHttp: qqtApi.Request;
19
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
20
+ modalTitle: Ref<string>;
21
+ props: any;
22
+ modelValue: Ref<any>;
23
+ emit: (event: "update:modelValue" | "fetch-list-data", ...args: any[]) => void;
24
+ form: {
25
+ templateName: string;
26
+ id: string;
27
+ templateContent: string;
28
+ };
29
+ handleCancel: () => void;
30
+ handleOk: (e: MouseEvent) => void;
31
+ postData: () => void;
32
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "fetch-list-data")[], "update:modelValue" | "fetch-list-data", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
33
+ modelValue: {
34
+ type: BooleanConstructor;
35
+ required: true;
36
+ };
37
+ currentRow: {
38
+ type: ObjectConstructor;
39
+ required: true;
40
+ };
41
+ }>> & {
42
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
+ "onFetch-list-data"?: ((...args: any[]) => any) | undefined;
44
+ }, {}, {}>;
45
+ export default _sfc_main;
@@ -26,10 +26,10 @@ declare const _sfc_main: DefineComponent<{
26
26
  statusConfig: {
27
27
  show: boolean;
28
28
  };
29
- optColumn: {
29
+ optionConfig: {
30
30
  attrs: {};
31
31
  extend: {};
32
- optColumnList: ({
32
+ options: ({
33
33
  authorityCode: string;
34
34
  type: string;
35
35
  title: string;
@@ -90,13 +90,33 @@ declare const _sfc_main: DefineComponent<{
90
90
  click: () => void;
91
91
  args: {
92
92
  type: string;
93
+ fileName?: undefined;
94
+ url?: undefined;
93
95
  };
96
+ type?: undefined;
94
97
  } | {
95
98
  authorityCode: string;
96
99
  label: string;
97
- click: () => void;
98
- icon?: undefined;
100
+ args: {
101
+ fileName: string;
102
+ url: string;
103
+ type?: undefined;
104
+ };
105
+ icon: {
106
+ type: string;
107
+ };
108
+ type: string;
99
109
  attrs?: undefined;
110
+ click?: undefined;
111
+ } | {
112
+ label: string;
113
+ icon: {
114
+ type: string;
115
+ };
116
+ type: string;
117
+ authorityCode?: undefined;
118
+ attrs?: undefined;
119
+ click?: undefined;
100
120
  args?: undefined;
101
121
  })[];
102
122
  };
@@ -116,7 +136,6 @@ declare const _sfc_main: DefineComponent<{
116
136
  dictCode: string;
117
137
  placeholder: string;
118
138
  })[];
119
- formState: {};
120
139
  };
121
140
  pagerConfig: {};
122
141
  };
@@ -11,10 +11,17 @@ declare const _sfc_main: DefineComponent<{
11
11
  required: boolean;
12
12
  message: string;
13
13
  }[];
14
- roleCode: {
14
+ roleCode: ({
15
15
  required: boolean;
16
16
  message: string;
17
- }[];
17
+ validator?: undefined;
18
+ } | {
19
+ validator: ({ itemValue }: {
20
+ itemValue: any;
21
+ }) => Promise<void>;
22
+ required?: undefined;
23
+ message?: undefined;
24
+ })[];
18
25
  }>;
19
26
  userInformFormEvent: () => void;
20
27
  userInformsFromShow: ShallowRef<boolean>;
@@ -34,10 +41,10 @@ declare const _sfc_main: DefineComponent<{
34
41
  statusConfig: {
35
42
  show: boolean;
36
43
  };
37
- optColumn: {
44
+ optionConfig: {
38
45
  attrs: {};
39
46
  extend: {};
40
- optColumnList: ({
47
+ options: ({
41
48
  type: string;
42
49
  title: string;
43
50
  click: ({ row }: {
@@ -62,7 +69,7 @@ declare const _sfc_main: DefineComponent<{
62
69
  buttonConfig: {
63
70
  attrs: {};
64
71
  extend: {};
65
- buttons: {
72
+ buttons: ({
66
73
  authorityCode: string;
67
74
  label: string;
68
75
  icon: {
@@ -72,7 +79,26 @@ declare const _sfc_main: DefineComponent<{
72
79
  type: string;
73
80
  };
74
81
  click: () => void;
75
- }[];
82
+ type?: undefined;
83
+ } | {
84
+ authorityCode: string;
85
+ label: string;
86
+ click: () => void;
87
+ icon: {
88
+ type: string;
89
+ };
90
+ type: string;
91
+ attrs?: undefined;
92
+ } | {
93
+ label: string;
94
+ icon: {
95
+ type: string;
96
+ };
97
+ type: string;
98
+ authorityCode?: undefined;
99
+ attrs?: undefined;
100
+ click?: undefined;
101
+ })[];
76
102
  };
77
103
  queryConfig: {
78
104
  attrs: {};
@@ -83,7 +109,6 @@ declare const _sfc_main: DefineComponent<{
83
109
  fieldName: string;
84
110
  placeholder: string;
85
111
  }[];
86
- formState: {};
87
112
  };
88
113
  pagerConfig: {};
89
114
  };
@@ -2,7 +2,7 @@ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedCompone
2
2
  import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
3
3
  declare const authProps: {
4
4
  rows: {
5
- type: PropType<GlobalPageLayoutTypes.RecordStringNumber[]>;
5
+ type: PropType<GlobalPageLayoutTypes.RecordString[]>;
6
6
  default(): never[];
7
7
  };
8
8
  /**
@@ -38,7 +38,7 @@ export interface TreeNode {
38
38
  }
39
39
  declare const _default: DefineComponent<{
40
40
  rows: {
41
- type: PropType<GlobalPageLayoutTypes.RecordStringNumber[]>;
41
+ type: PropType<GlobalPageLayoutTypes.RecordString[]>;
42
42
  default(): never[];
43
43
  };
44
44
  /**
@@ -56,7 +56,7 @@ declare const _default: DefineComponent<{
56
56
  };
57
57
  }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
58
58
  rows: {
59
- type: PropType<GlobalPageLayoutTypes.RecordStringNumber[]>;
59
+ type: PropType<GlobalPageLayoutTypes.RecordString[]>;
60
60
  default(): never[];
61
61
  };
62
62
  /**
@@ -73,7 +73,7 @@ declare const _default: DefineComponent<{
73
73
  default: string;
74
74
  };
75
75
  }>>, {
76
- rows: GlobalPageLayoutTypes.RecordStringNumber[];
76
+ rows: GlobalPageLayoutTypes.RecordString[];
77
77
  parentPath: "TenantList" | "RoleList" | "SupplierGroupList";
78
78
  }, {}>;
79
79
  export default _default;
@@ -1,16 +1,6 @@
1
- import type { Ref, ShallowRef } from 'vue';
1
+ import type { ShallowRef, Ref } from 'vue';
2
2
  import { MapObjectNoneType } from '../../../utils/global.types';
3
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
4
  userInformsFromShow: ShallowRef<boolean>;
15
5
  userInformsFrom: Ref<MapObjectNoneType>;
16
6
  itemRow: Ref<any>;
@@ -22,6 +22,12 @@ declare const _sfc_main: DefineComponent<{
22
22
  }[];
23
23
  }>;
24
24
  passwordModalForm: Ref<any>;
25
+ phoneModalFormRule: Ref<{
26
+ phone: {
27
+ required: boolean;
28
+ message: string;
29
+ }[];
30
+ }>;
25
31
  passwordModalHandle: (handleType: string) => void;
26
32
  listLayoutRef: Ref<any>;
27
33
  showEditPage: ShallowRef<boolean>;
@@ -34,17 +40,24 @@ declare const _sfc_main: DefineComponent<{
34
40
  statusConfig: {
35
41
  show: boolean;
36
42
  };
37
- optColumn: {
43
+ optionConfig: {
38
44
  attrs: {};
39
45
  extend: {};
40
- optColumnList: {
46
+ options: ({
47
+ type: string;
48
+ title: string;
49
+ click: ({ row }: {
50
+ row?: MapObjectNoneType | undefined;
51
+ }) => void;
52
+ authorityCode?: undefined;
53
+ } | {
41
54
  authorityCode: string;
42
55
  type: string;
43
56
  title: string;
44
57
  click: ({ row }: {
45
58
  row?: MapObjectNoneType | undefined;
46
59
  }) => void;
47
- }[];
60
+ })[];
48
61
  };
49
62
  buttonConfig: {
50
63
  attrs: {};
@@ -59,10 +72,14 @@ declare const _sfc_main: DefineComponent<{
59
72
  };
60
73
  authorityCode: string;
61
74
  click: () => Promise<void>;
75
+ args?: undefined;
62
76
  type?: undefined;
63
77
  } | {
64
78
  authorityCode: string;
65
79
  label: string;
80
+ args: {
81
+ url: string;
82
+ };
66
83
  icon: {
67
84
  type: string;
68
85
  };
@@ -78,6 +95,7 @@ declare const _sfc_main: DefineComponent<{
78
95
  attrs?: undefined;
79
96
  authorityCode?: undefined;
80
97
  click?: undefined;
98
+ args?: undefined;
81
99
  })[];
82
100
  };
83
101
  queryConfig: {
@@ -89,10 +107,13 @@ declare const _sfc_main: DefineComponent<{
89
107
  fieldName: string;
90
108
  placeholder: string;
91
109
  }[];
92
- formState: {};
93
110
  };
94
111
  pagerConfig: {};
95
112
  };
113
+ phoneModalShow: ShallowRef<boolean>;
114
+ phoneModalForm: Ref<any>;
115
+ phoneRef: Ref<any>;
116
+ phoneModalHandle: () => void;
96
117
  passwordModalShow: ShallowRef<boolean>;
97
118
  selectedrolesList: Ref<any>;
98
119
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{