@qqt-product/system 0.0.2 → 0.0.16

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 (105) hide show
  1. package/dist/index.es.js +53240 -10634
  2. package/dist/index.umd.js +94 -21
  3. package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +2878 -0
  4. package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +2871 -0
  5. package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +2878 -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 +2864 -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 +2864 -0
  12. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +2876 -0
  13. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +29 -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/QPermissionDataEdit.vue.d.ts +2872 -0
  18. package/dist/lib/components/QPermissionDataList/src/QPermissionDataList.vue.d.ts +126 -0
  19. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +2864 -0
  20. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +2887 -0
  21. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +25 -5
  22. package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +7 -0
  23. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +221 -28
  24. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue.d.ts +45 -0
  25. package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +24 -5
  26. package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +23 -7
  27. package/dist/lib/components/QRoleList/src/useConfigData.d.ts +1 -11
  28. package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +7 -3
  29. package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +15 -35
  30. package/dist/lib/components/QUsageList/src/useConfigData.d.ts +111 -10
  31. package/dist/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue.d.ts +25 -0
  32. package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +9 -10
  33. package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +1209 -0
  34. package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +1 -1
  35. package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +8 -7
  36. package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +2 -3
  37. package/dist/lib/components/index.d.ts +2 -2
  38. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +2863 -0
  39. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +2872 -0
  40. package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +8 -11
  41. package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +16 -10
  42. package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +2 -9
  43. package/dist/lib/components/loginLogList/src/index.vue.d.ts +2 -8
  44. package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +2 -12
  45. package/dist/lib/components/operateLogList/src/index.vue.d.ts +2 -13
  46. package/dist/style.css +1 -1
  47. package/dist/vite-env.d.ts +13 -13
  48. package/package.json +13 -11
  49. package/src/lib/components/QAccountList/src/QAccountCreate.vue +272 -0
  50. package/src/lib/components/QAccountList/src/QAccountDetail.vue +82 -14
  51. package/src/lib/components/QAccountList/src/QAccountEdit.vue +65 -33
  52. package/src/lib/components/QAccountList/src/QAccountList.vue +532 -530
  53. package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +143 -137
  54. package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +172 -166
  55. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +123 -124
  56. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +66 -18
  57. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +151 -122
  58. package/src/lib/components/QI18nList/src/QI18nList.vue +365 -361
  59. package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +103 -94
  60. package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +109 -105
  61. package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +3 -3
  62. package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +218 -221
  63. package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +110 -117
  64. package/src/lib/components/QPermissionDataList/src/form.vue +109 -109
  65. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +1 -1
  66. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +120 -32
  67. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +189 -163
  68. package/src/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.ts +84 -0
  69. package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +22 -22
  70. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +134 -85
  71. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue +91 -0
  72. package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +276 -263
  73. package/src/lib/components/QRoleList/src/QRoleList.vue +332 -288
  74. package/src/lib/components/QRoleList/src/useConfigData.ts +1 -6
  75. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +304 -302
  76. package/src/lib/components/QUsageList/src/QUsageList.vue +287 -82
  77. package/src/lib/components/QUsageList/src/useConfigData.ts +147 -13
  78. package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +140 -140
  79. package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +28 -28
  80. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +130 -42
  81. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +2 -2
  82. package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +2 -2
  83. package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +12 -12
  84. package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +276 -268
  85. package/src/lib/components/QcustomConfigList/src/useConfigData.ts +1 -1
  86. package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +124 -125
  87. package/src/lib/components/index.ts +78 -78
  88. package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +2 -10
  89. package/src/lib/components/integratedNodesList/src/index.vue +130 -136
  90. package/src/lib/components/integratedReportList/src/index.vue +55 -30
  91. package/src/lib/components/integratedReportSearchList/src/index.vue +106 -66
  92. package/src/lib/components/loginAbnormalLogList/src/index.vue +43 -50
  93. package/src/lib/components/loginLogList/src/index.vue +51 -57
  94. package/src/lib/components/loginSupplierLogList/src/index.vue +53 -63
  95. package/src/lib/components/operateLogList/src/index.vue +46 -57
  96. package/src/vite-env.d.ts +13 -13
  97. package/tsconfig.json +24 -24
  98. package/vite.config.ts +1 -1
  99. package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +0 -80
  100. package/dist/lib/components/QCompanyermissionList/src/types.d.ts +0 -44
  101. package/dist/lib/components/integratedReportList/src/index.vue.d.ts +0 -70
  102. package/src/lib/components/QCompanyermissionList/src/editTree.vue +0 -291
  103. package/src/lib/components/QCompanyermissionList/src/form.vue +0 -238
  104. package/src/lib/components/QCompanyermissionList/src/index.vue +0 -309
  105. package/src/lib/components/QCompanyermissionList/src/types.ts +0 -44
@@ -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.RecordStringNumber[]) => void) | null>;
7
+ };
@@ -1,47 +1,240 @@
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]: unknown;
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
+ };
8
190
  showEditPage: ShallowRef<boolean>;
9
191
  apiUrls: ShallowRef<{
10
192
  list: string;
11
193
  columnsCode: string;
12
194
  delete: string;
13
195
  }>;
14
- pageData: {
15
- statusConfig: {
16
- show: boolean;
196
+ userInfo: Ref<any>;
197
+ QPurchaseNoticeTemplateModal: DefineComponent<{
198
+ modelValue: {
199
+ type: BooleanConstructor;
200
+ required: true;
17
201
  };
18
- optColumn: {
19
- attrs: {};
20
- extend: {};
21
- optColumnList: never[];
202
+ currentRow: {
203
+ type: ObjectConstructor;
204
+ required: true;
22
205
  };
23
- buttonConfig: {
24
- attrs: {};
25
- extend: {};
26
- buttons: never[];
206
+ }, {
207
+ qHttp: Request;
208
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
209
+ modalTitle: Ref<string>;
210
+ props: any;
211
+ modelValue: Ref<any>;
212
+ emit: (event: "update:modelValue" | "fetch-list-data", ...args: any[]) => void;
213
+ form: {
214
+ templateName: string;
215
+ id: string;
216
+ templateContent: string;
27
217
  };
28
- queryConfig: {
29
- attrs: {};
30
- extend: {};
31
- form: {
32
- type: string;
33
- label: string;
34
- fieldName: string;
35
- placeholder: string;
36
- }[];
37
- formState: {};
218
+ handleCancel: () => void;
219
+ handleOk: (e: MouseEvent) => void;
220
+ postData: () => void;
221
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "fetch-list-data")[], "update:modelValue" | "fetch-list-data", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
222
+ modelValue: {
223
+ type: BooleanConstructor;
224
+ required: true;
38
225
  };
39
- pagerConfig: {};
40
- };
226
+ currentRow: {
227
+ type: ObjectConstructor;
228
+ required: true;
229
+ };
230
+ }>> & {
231
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
232
+ "onFetch-list-data"?: ((...args: any[]) => any) | undefined;
233
+ }, {}, {}>;
41
234
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
42
235
  userInfo: {
43
- type: ObjectConstructor;
44
- defalut: () => {};
236
+ type: null;
237
+ required: true;
45
238
  };
46
239
  }>>, {}, {}>;
47
240
  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,17 @@ declare const _sfc_main: DefineComponent<{
72
79
  type: string;
73
80
  };
74
81
  click: () => void;
75
- }[];
82
+ type?: undefined;
83
+ } | {
84
+ label: string;
85
+ icon: {
86
+ type: string;
87
+ };
88
+ type: string;
89
+ authorityCode?: undefined;
90
+ attrs?: undefined;
91
+ click?: undefined;
92
+ })[];
76
93
  };
77
94
  queryConfig: {
78
95
  attrs: {};
@@ -83,7 +100,6 @@ declare const _sfc_main: DefineComponent<{
83
100
  fieldName: string;
84
101
  placeholder: string;
85
102
  }[];
86
- formState: {};
87
103
  };
88
104
  pagerConfig: {};
89
105
  };
@@ -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>;
@@ -34,10 +34,10 @@ declare const _sfc_main: DefineComponent<{
34
34
  statusConfig: {
35
35
  show: boolean;
36
36
  };
37
- optColumn: {
37
+ optionConfig: {
38
38
  attrs: {};
39
39
  extend: {};
40
- optColumnList: {
40
+ options: {
41
41
  authorityCode: string;
42
42
  type: string;
43
43
  title: string;
@@ -59,10 +59,14 @@ declare const _sfc_main: DefineComponent<{
59
59
  };
60
60
  authorityCode: string;
61
61
  click: () => Promise<void>;
62
+ args?: undefined;
62
63
  type?: undefined;
63
64
  } | {
64
65
  authorityCode: string;
65
66
  label: string;
67
+ args: {
68
+ url: string;
69
+ };
66
70
  icon: {
67
71
  type: string;
68
72
  };
@@ -78,6 +82,7 @@ declare const _sfc_main: DefineComponent<{
78
82
  attrs?: undefined;
79
83
  authorityCode?: undefined;
80
84
  click?: undefined;
85
+ args?: undefined;
81
86
  })[];
82
87
  };
83
88
  queryConfig: {
@@ -89,7 +94,6 @@ declare const _sfc_main: DefineComponent<{
89
94
  fieldName: string;
90
95
  placeholder: string;
91
96
  }[];
92
- formState: {};
93
97
  };
94
98
  pagerConfig: {};
95
99
  };
@@ -1,45 +1,25 @@
1
- import type { DefineComponent, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { MapObjectNoneType } from '../../../utils/global.types';
2
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  declare const _sfc_main: DefineComponent<{
3
4
  userInfo: {
4
5
  type: ObjectConstructor;
5
6
  defalut: () => {};
6
7
  };
7
8
  }, {
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: {};
9
+ useChartRef: Ref<any>;
10
+ apiUrls: {
11
+ moduleOptList: string;
12
+ useOptList: string;
42
13
  };
14
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
15
+ moduleOptains: MapObjectNoneType;
16
+ useOptains: MapObjectNoneType;
17
+ moduleChartoption: Ref<{}>;
18
+ chartRef: Ref<any>;
19
+ month: Ref<any>;
20
+ getYearMonth: (date: any) => string;
21
+ disabledDate: (current: any) => boolean;
22
+ datePickerChange: () => void;
43
23
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
44
24
  userInfo: {
45
25
  type: ObjectConstructor;