@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.
- package/.eslintignore +4 -0
- package/.eslintrc.cjs +22 -0
- package/.prettierignore +4 -0
- package/.prettierrc.cjs +41 -0
- package/.vscode/extensions.json +3 -0
- package/README.md +16 -0
- package/dist/index.es.d.ts +1 -0
- package/dist/index.es.js +14234 -0
- package/dist/index.umd.js +311 -0
- package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +143 -0
- package/dist/lib/components/QAccountList/src/useConfigData.d.ts +37 -0
- package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +66 -0
- package/dist/lib/components/QBackgroundFileTaskList/src/useConfigData.d.ts +14 -0
- package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +80 -0
- package/dist/lib/components/QCompanyermissionList/src/types.d.ts +44 -0
- package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +68 -0
- package/dist/lib/components/QElsEmailSendLogList/src/useConfigData.d.ts +13 -0
- package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +72 -0
- package/dist/lib/components/QElsMsgRecordList/src/useConfigData.d.ts +16 -0
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +75 -0
- package/dist/lib/components/QI18nList/src/QI18nForm.vue.d.ts +47 -0
- package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +136 -0
- package/dist/lib/components/QI18nList/src/useConfigData.d.ts +31 -0
- package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +61 -0
- package/dist/lib/components/QImChatGroupList/src/useConfigData.d.ts +11 -0
- package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +60 -0
- package/dist/lib/components/QMqRecordList/src/useConfigData.d.ts +12 -0
- package/dist/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue.d.ts +49 -0
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue.d.ts +3 -0
- package/dist/lib/components/QPermissionDataList/src/form.vue.d.ts +50 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +86 -0
- package/dist/lib/components/QPurchaseNoticeList/src/useConfigData.d.ts +15 -0
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +47 -0
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.d.ts +12 -0
- package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +129 -0
- package/dist/lib/components/QQuartzJobList/src/components/JCron.vue.d.ts +23 -0
- package/dist/lib/components/QQuartzJobList/src/components/JCronModal.vue.d.ts +100 -0
- package/dist/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue.d.ts +55 -0
- package/dist/lib/components/QQuartzJobList/src/useConfigData.d.ts +20 -0
- package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +100 -0
- package/dist/lib/components/QRoleList/src/components/content-header/index.d.ts +23 -0
- package/dist/lib/components/QRoleList/src/components/userAuthorization/index.d.ts +79 -0
- package/dist/lib/components/QRoleList/src/useConfigData.d.ts +30 -0
- package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue.d.ts +55 -0
- package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +104 -0
- package/dist/lib/components/QSupplierAccountList/src/useConfigData.d.ts +29 -0
- package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +49 -0
- package/dist/lib/components/QUsageList/src/useConfigData.d.ts +14 -0
- package/dist/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue.d.ts +31 -0
- package/dist/lib/components/QcustomConfigEdit/component/dataFormatComponent.d.ts +46 -0
- package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +41 -0
- package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigRender.d.ts +12 -0
- package/dist/lib/components/QcustomConfigEdit/src/types.d.ts +61 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigComputed.d.ts +7 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +85 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigMethods.d.ts +16 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConstant.d.ts +18 -0
- package/dist/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue.d.ts +50 -0
- package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +112 -0
- package/dist/lib/components/QcustomConfigList/src/useConfigData.d.ts +17 -0
- package/dist/lib/components/QcustomConfigList/src/useMethods.d.ts +15 -0
- package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +66 -0
- package/dist/lib/components/QsysConfigList/src/useConfigData.d.ts +11 -0
- package/dist/lib/components/QsysConfigList/src/useMethods.d.ts +6 -0
- package/dist/lib/components/index.d.ts +39 -0
- package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +107 -0
- package/dist/lib/components/integratedReportList/src/index.vue.d.ts +70 -0
- package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +61 -0
- package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +46 -0
- package/dist/lib/components/loginLogList/src/index.vue.d.ts +45 -0
- package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +45 -0
- package/dist/lib/components/operateLogList/src/index.vue.d.ts +53 -0
- package/dist/lib/index.d.ts +6 -0
- package/dist/lib/utils/global.hook.d.ts +31 -0
- package/dist/lib/utils/global.types.d.ts +41 -0
- package/dist/lib/utils/regexp.d.ts +27 -0
- package/dist/style.css +1 -0
- package/dist/vite-env.d.ts +13 -0
- package/dist/vite.svg +1 -0
- package/index.html +13 -0
- package/package.json +65 -0
- package/public/vite.svg +1 -0
- package/src/App.vue +8 -0
- package/src/lib/components/QAccountList/index.ts +6 -0
- package/src/lib/components/QAccountList/src/QAccountDetail.vue +191 -0
- package/src/lib/components/QAccountList/src/QAccountEdit.vue +241 -0
- package/src/lib/components/QAccountList/src/QAccountList.vue +530 -0
- package/src/lib/components/QAccountList/src/useConfigData.ts +53 -0
- package/src/lib/components/QBackgroundFileTaskList/index.ts +6 -0
- package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +137 -0
- package/src/lib/components/QBackgroundFileTaskList/src/useConfigData.ts +20 -0
- package/src/lib/components/QCompanyermissionList/src/editTree.vue +291 -0
- package/src/lib/components/QCompanyermissionList/src/form.vue +238 -0
- package/src/lib/components/QCompanyermissionList/src/index.vue +309 -0
- package/src/lib/components/QCompanyermissionList/src/types.ts +44 -0
- package/src/lib/components/QElsEmailSendLogList/index.ts +6 -0
- package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +166 -0
- package/src/lib/components/QElsEmailSendLogList/src/useConfigData.ts +19 -0
- package/src/lib/components/QElsMsgRecordList/index.ts +6 -0
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue +148 -0
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +124 -0
- package/src/lib/components/QElsMsgRecordList/src/useConfigData.ts +22 -0
- package/src/lib/components/QElsTenantPortalNewsList/index.ts +6 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue +139 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +196 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +122 -0
- package/src/lib/components/QElsTenantPortalNewsList/src/useConfigData.ts +20 -0
- package/src/lib/components/QI18nList/index.ts +6 -0
- package/src/lib/components/QI18nList/src/QI18nForm.vue +141 -0
- package/src/lib/components/QI18nList/src/QI18nList.vue +361 -0
- package/src/lib/components/QI18nList/src/useConfigData.ts +37 -0
- package/src/lib/components/QImChatGroupList/index.ts +6 -0
- package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +94 -0
- package/src/lib/components/QImChatGroupList/src/useConfigData.ts +17 -0
- package/src/lib/components/QMqRecordList/index.ts +6 -0
- package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +105 -0
- package/src/lib/components/QMqRecordList/src/useConfigData.ts +18 -0
- package/src/lib/components/QPasswordSecurityPolicy/index.ts +6 -0
- package/src/lib/components/QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue +266 -0
- package/src/lib/components/QPermissionDataList/index.ts +6 -0
- package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +3 -0
- package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +221 -0
- package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +117 -0
- package/src/lib/components/QPermissionDataList/src/form.vue +109 -0
- package/src/lib/components/QPurchaseNoticeList/index.ts +6 -0
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +147 -0
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +244 -0
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +163 -0
- package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +22 -0
- package/src/lib/components/QPurchaseNoticeTemplateList/index.ts +6 -0
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +85 -0
- package/src/lib/components/QPurchaseNoticeTemplateList/src/useConfigData.ts +18 -0
- package/src/lib/components/QQuartzJobList/index.ts +6 -0
- package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +263 -0
- package/src/lib/components/QQuartzJobList/src/components/JCron.vue +82 -0
- package/src/lib/components/QQuartzJobList/src/components/JCronModal.vue +985 -0
- package/src/lib/components/QQuartzJobList/src/components/QuartzJobModal.vue +176 -0
- package/src/lib/components/QQuartzJobList/src/useConfigData.ts +26 -0
- package/src/lib/components/QRoleList/index.ts +6 -0
- package/src/lib/components/QRoleList/src/QRoleList.vue +288 -0
- package/src/lib/components/QRoleList/src/components/content-header/contentHeader.less +31 -0
- package/src/lib/components/QRoleList/src/components/content-header/index.tsx +42 -0
- package/src/lib/components/QRoleList/src/components/userAuthorization/index.tsx +690 -0
- package/src/lib/components/QRoleList/src/components/userAuthorization/userAuthorization.less +97 -0
- package/src/lib/components/QRoleList/src/useConfigData.ts +33 -0
- package/src/lib/components/QSupplierAccountList/index.ts +6 -0
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountForm.vue +187 -0
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +302 -0
- package/src/lib/components/QSupplierAccountList/src/useConfigData.ts +29 -0
- package/src/lib/components/QUsageList/index.ts +6 -0
- package/src/lib/components/QUsageList/src/QUsageList.vue +82 -0
- package/src/lib/components/QUsageList/src/useConfigData.ts +20 -0
- package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +140 -0
- package/src/lib/components/QcustomConfigEdit/component/TempalePreviewModal.vue +100 -0
- package/src/lib/components/QcustomConfigEdit/component/dataFormatComponent.tsx +100 -0
- package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +71 -0
- package/src/lib/components/QcustomConfigEdit/index.ts +6 -0
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +1807 -0
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +242 -0
- package/src/lib/components/QcustomConfigEdit/src/types.ts +71 -0
- package/src/lib/components/QcustomConfigEdit/src/useConfigComputed.ts +75 -0
- package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +123 -0
- package/src/lib/components/QcustomConfigEdit/src/useConfigMethods.ts +117 -0
- package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +301 -0
- package/src/lib/components/QcustomConfigEdit/style/index.less +41 -0
- package/src/lib/components/QcustomConfigList/component/ImportJsonCustomConfig.vue +135 -0
- package/src/lib/components/QcustomConfigList/index.ts +6 -0
- package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +268 -0
- package/src/lib/components/QcustomConfigList/src/types.ts +1 -0
- package/src/lib/components/QcustomConfigList/src/useConfigData.ts +23 -0
- package/src/lib/components/QcustomConfigList/src/useMethods.ts +36 -0
- package/src/lib/components/QcustomConfigList/style/index.less +3 -0
- package/src/lib/components/QsysConfigList/index.ts +6 -0
- package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +125 -0
- package/src/lib/components/QsysConfigList/src/types.ts +1 -0
- package/src/lib/components/QsysConfigList/src/useConfigData.ts +17 -0
- package/src/lib/components/QsysConfigList/src/useMethods.ts +11 -0
- package/src/lib/components/QsysConfigList/style/index.less +3 -0
- package/src/lib/components/index.ts +78 -0
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue +49 -0
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +143 -0
- package/src/lib/components/integratedNodesList/src/index.vue +136 -0
- package/src/lib/components/integratedReportList/src/index.vue +86 -0
- package/src/lib/components/integratedReportSearchList/src/index.vue +66 -0
- package/src/lib/components/loginAbnormalLogList/src/index.vue +50 -0
- package/src/lib/components/loginLogList/src/index.vue +57 -0
- package/src/lib/components/loginSupplierLogList/src/index.vue +63 -0
- package/src/lib/components/operateLogList/src/index.vue +57 -0
- package/src/lib/index.ts +15 -0
- package/src/lib/utils/constant.ts +1 -0
- package/src/lib/utils/global.hook.ts +337 -0
- package/src/lib/utils/global.types.ts +49 -0
- package/src/lib/utils/regexp.ts +143 -0
- package/src/main.ts +11 -0
- package/src/vite-env.d.ts +13 -0
- package/tsconfig.json +24 -0
- package/tsconfig.node.json +9 -0
- package/vite.config.ts +61 -0
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
upgrade: string;
|
|
8
|
+
copyData: string;
|
|
9
|
+
cancel: string;
|
|
10
|
+
batchGeneratorConfig: string;
|
|
11
|
+
exportJson: string;
|
|
12
|
+
}>;
|
|
13
|
+
showEditPage: ShallowRef<boolean>;
|
|
14
|
+
currentEditRow: Ref<{}>;
|
|
15
|
+
listLayoutRef: Ref<any>;
|
|
16
|
+
uploadShow: ShallowRef<boolean>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MapObjectNoneType } from '../../../utils/global.types';
|
|
2
|
+
export declare function useMethods(): {
|
|
3
|
+
allowEdit: ({ row }: {
|
|
4
|
+
row?: MapObjectNoneType | undefined;
|
|
5
|
+
}) => boolean;
|
|
6
|
+
allowCancel: ({ row }: {
|
|
7
|
+
row?: MapObjectNoneType | undefined;
|
|
8
|
+
}) => boolean;
|
|
9
|
+
allowDelete: ({ row }: {
|
|
10
|
+
row?: MapObjectNoneType | undefined;
|
|
11
|
+
}) => boolean;
|
|
12
|
+
allowUpgrade: ({ row }: {
|
|
13
|
+
row?: MapObjectNoneType | undefined;
|
|
14
|
+
}) => boolean;
|
|
15
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
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 }: {
|
|
21
|
+
row?: MapObjectNoneType | undefined;
|
|
22
|
+
}) => void;
|
|
23
|
+
allow: ({ row }: {
|
|
24
|
+
row?: MapObjectNoneType | undefined;
|
|
25
|
+
}) => boolean;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
buttonConfig: {
|
|
29
|
+
attrs: {};
|
|
30
|
+
extend: {};
|
|
31
|
+
buttons: never[];
|
|
32
|
+
};
|
|
33
|
+
queryConfig: {
|
|
34
|
+
attrs: {};
|
|
35
|
+
extend: {};
|
|
36
|
+
form: ({
|
|
37
|
+
type: string;
|
|
38
|
+
label: string;
|
|
39
|
+
dictCode: string;
|
|
40
|
+
fieldName: string;
|
|
41
|
+
placeholder: string;
|
|
42
|
+
} | {
|
|
43
|
+
type: string;
|
|
44
|
+
label: string;
|
|
45
|
+
fieldName: string;
|
|
46
|
+
placeholder: string;
|
|
47
|
+
dictCode?: undefined;
|
|
48
|
+
})[];
|
|
49
|
+
formState: {};
|
|
50
|
+
};
|
|
51
|
+
pagerConfig: {};
|
|
52
|
+
};
|
|
53
|
+
apiUrls: ShallowRef<{
|
|
54
|
+
list: string;
|
|
55
|
+
copyData: string;
|
|
56
|
+
columnsCode: string;
|
|
57
|
+
}>;
|
|
58
|
+
currentEditRow: Ref<{}>;
|
|
59
|
+
listLayoutRef: Ref<any>;
|
|
60
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
61
|
+
userInfo: {
|
|
62
|
+
type: ObjectConstructor;
|
|
63
|
+
defalut: () => {};
|
|
64
|
+
};
|
|
65
|
+
}>>, {}, {}>;
|
|
66
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ShallowRef, Ref } from 'vue';
|
|
2
|
+
export declare function useConfigData(): {
|
|
3
|
+
apiUrls: ShallowRef<{
|
|
4
|
+
list: string;
|
|
5
|
+
copyData: string;
|
|
6
|
+
columnsCode: string;
|
|
7
|
+
}>;
|
|
8
|
+
currentEditRow: Ref<{}>;
|
|
9
|
+
listLayoutRef: Ref<any>;
|
|
10
|
+
uploadShow: ShallowRef<boolean>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as QcustomConfigEdit from './QcustomConfigEdit/src/QcustomConfigEdit.vue';
|
|
2
|
+
import * as QcustomConfigList from './QcustomConfigList/src/QcustomConfigList.vue';
|
|
3
|
+
import * as QsysConfigList from './QsysConfigList/src/QsysConfigList.vue';
|
|
4
|
+
import * as QLoginLogList from './loginLogList/src/index.vue';
|
|
5
|
+
import * as QOperateLogList from './operateLogList/src/index.vue';
|
|
6
|
+
import * as QLoginSupplierLogList from './loginSupplierLogList/src/index.vue';
|
|
7
|
+
import * as QLoginAbnormalLogList from './loginAbnormalLogList/src/index.vue';
|
|
8
|
+
import * as QIntegratedNodesList from './integratedNodesList/src/index.vue';
|
|
9
|
+
import * as QIntegratedNodesEdit from './integratedNodesList/src/QIntegratedNodesEdit.vue';
|
|
10
|
+
import * as QIntegratedNodesDetail from './integratedNodesList/src/QIntegratedNodesDetail.vue';
|
|
11
|
+
import * as QIntegratedReportList from './integratedReportList/src/index.vue';
|
|
12
|
+
import * as QIntegratedReportSearchList from './integratedReportSearchList/src/index.vue';
|
|
13
|
+
import * as QPasswordSecurityPolicy from './QPasswordSecurityPolicy/src/QPasswordSecurityPolicy.vue';
|
|
14
|
+
import * as QI18nList from './QI18nList/src/QI18nList.vue';
|
|
15
|
+
import * as QSupplierAccountList from './QSupplierAccountList/src/QSupplierAccountList.vue';
|
|
16
|
+
import * as QCompanyermissionList from './QCompanyermissionList/src/editTree.vue';
|
|
17
|
+
import * as QAccountList from './QAccountList/src/QAccountList.vue';
|
|
18
|
+
import * as QAccountEdit from './QAccountList/src/QAccountEdit.vue';
|
|
19
|
+
import * as QAccountDetail from './QAccountList/src/QAccountDetail.vue';
|
|
20
|
+
import * as QRoleList from './QRoleList/src/QRoleList.vue';
|
|
21
|
+
import * as QPermissionDataList from './QPermissionDataList/src/QPermissionDataList.vue';
|
|
22
|
+
import * as QPermissionDataEdit from './QPermissionDataList/src/QPermissionDataEdit.vue';
|
|
23
|
+
import * as QPermissionDataAuth from './QPermissionDataList/src/QPermissionDataAuth.vue';
|
|
24
|
+
import * as QPurchaseNoticeTemplateList from './QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue';
|
|
25
|
+
import * as QElsTenantPortalNewsList from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue';
|
|
26
|
+
import * as QElsTenantPortalNewsEdit from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue';
|
|
27
|
+
import * as QElsTenantPortalNewsDetail from './QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue';
|
|
28
|
+
import * as QPurchaseNoticeList from './QPurchaseNoticeList/src/QPurchaseNoticeList.vue';
|
|
29
|
+
import * as QPurchaseNoticeEdit from './QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue';
|
|
30
|
+
import * as QPurchaseNoticeDetail from './QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue';
|
|
31
|
+
import * as QElsMsgRecordList from './QElsMsgRecordList/src/QElsMsgRecordList.vue';
|
|
32
|
+
import * as QElsMsgRecordDetail from './QElsMsgRecordList/src/QElsMsgRecordDetail.vue';
|
|
33
|
+
import * as QImChatGroupList from './QImChatGroupList/src/QImChatGroupList.vue';
|
|
34
|
+
import * as QElsEmailSendLogList from './QElsEmailSendLogList/src/QElsEmailSendLogList.vue';
|
|
35
|
+
import * as QQuartzJobList from './QQuartzJobList/src/QQuartzJobList.vue';
|
|
36
|
+
import * as QBackgroundFileTaskList from './QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue';
|
|
37
|
+
import * as QMqRecordList from './QMqRecordList/src/QMqRecordList.vue';
|
|
38
|
+
import * as QUsageList from './QUsageList/src/QUsageList.vue';
|
|
39
|
+
export { QcustomConfigEdit, QcustomConfigList, QsysConfigList, QLoginLogList, QOperateLogList, QLoginSupplierLogList, QLoginAbnormalLogList, QIntegratedNodesList, QIntegratedNodesEdit, QIntegratedNodesDetail, QIntegratedReportList, QIntegratedReportSearchList, QPasswordSecurityPolicy, QI18nList, QSupplierAccountList, QCompanyermissionList, QAccountList, QAccountEdit, QAccountDetail, QRoleList, QPermissionDataList, QPermissionDataEdit, QPermissionDataAuth, QPurchaseNoticeTemplateList, QElsTenantPortalNewsList, QElsTenantPortalNewsEdit, QElsTenantPortalNewsDetail, QPurchaseNoticeList, QPurchaseNoticeEdit, QPurchaseNoticeDetail, QElsMsgRecordList, QElsMsgRecordDetail, QImChatGroupList, QElsEmailSendLogList, QQuartzJobList, QBackgroundFileTaskList, QMqRecordList, QUsageList, };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import qqtApi from '@qqt-product/api';
|
|
3
|
+
import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
|
|
4
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
5
|
+
emit: (event: "create" | "edit" | "detail", ...args: any[]) => void;
|
|
6
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
|
|
7
|
+
listLayoutRef: Ref<any>;
|
|
8
|
+
qHttp: qqtApi.Request;
|
|
9
|
+
apiUrls: {
|
|
10
|
+
columnsCode: string;
|
|
11
|
+
list: string;
|
|
12
|
+
countTabsUrl: string;
|
|
13
|
+
};
|
|
14
|
+
pageData: {
|
|
15
|
+
statusConfig: {
|
|
16
|
+
show: boolean;
|
|
17
|
+
};
|
|
18
|
+
optColumn: {
|
|
19
|
+
attrs: {};
|
|
20
|
+
extend: {};
|
|
21
|
+
optColumnList: ({
|
|
22
|
+
authorityCode: string;
|
|
23
|
+
type: string;
|
|
24
|
+
title: string;
|
|
25
|
+
click: ({ row }: {
|
|
26
|
+
row: any;
|
|
27
|
+
}) => void;
|
|
28
|
+
args?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
type: string;
|
|
31
|
+
title: string;
|
|
32
|
+
authorityCode: string;
|
|
33
|
+
args: {
|
|
34
|
+
url: string;
|
|
35
|
+
};
|
|
36
|
+
click?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
type: string;
|
|
39
|
+
title: string;
|
|
40
|
+
authorityCode?: undefined;
|
|
41
|
+
click?: undefined;
|
|
42
|
+
args?: undefined;
|
|
43
|
+
})[];
|
|
44
|
+
};
|
|
45
|
+
buttonConfig: {
|
|
46
|
+
attrs: {};
|
|
47
|
+
extend: {};
|
|
48
|
+
buttons: ({
|
|
49
|
+
authorityCode: string;
|
|
50
|
+
label: string;
|
|
51
|
+
icon: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
args: {
|
|
55
|
+
businessType: string;
|
|
56
|
+
};
|
|
57
|
+
type: string;
|
|
58
|
+
click?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
authorityCode: string;
|
|
61
|
+
label: string;
|
|
62
|
+
click: () => void;
|
|
63
|
+
icon?: undefined;
|
|
64
|
+
args?: undefined;
|
|
65
|
+
type?: undefined;
|
|
66
|
+
} | {
|
|
67
|
+
label: string;
|
|
68
|
+
click: () => void;
|
|
69
|
+
authorityCode?: undefined;
|
|
70
|
+
icon?: undefined;
|
|
71
|
+
args?: undefined;
|
|
72
|
+
type?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
label: string;
|
|
75
|
+
icon: {
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
type: string;
|
|
79
|
+
authorityCode?: undefined;
|
|
80
|
+
args?: undefined;
|
|
81
|
+
click?: undefined;
|
|
82
|
+
})[];
|
|
83
|
+
};
|
|
84
|
+
queryConfig: {
|
|
85
|
+
attrs: {};
|
|
86
|
+
extend: {};
|
|
87
|
+
form: {
|
|
88
|
+
type: string;
|
|
89
|
+
label: string;
|
|
90
|
+
fieldName: string;
|
|
91
|
+
placeholder: string;
|
|
92
|
+
}[];
|
|
93
|
+
formState: {
|
|
94
|
+
keyWord: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
pagerConfig: {};
|
|
98
|
+
};
|
|
99
|
+
handleCreate: ({ row }: {
|
|
100
|
+
row: GlobalPageLayoutTypes.CurrentRow;
|
|
101
|
+
}) => void;
|
|
102
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("create" | "edit" | "detail")[], "create" | "edit" | "detail", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
103
|
+
onCreate?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
onDetail?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
}, {}, {}>;
|
|
107
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
3
|
+
apiUrls: {
|
|
4
|
+
columnsCode: string;
|
|
5
|
+
list: string;
|
|
6
|
+
countTabsUrl: string;
|
|
7
|
+
};
|
|
8
|
+
pageData: {
|
|
9
|
+
statusConfig: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
};
|
|
12
|
+
optColumn: {
|
|
13
|
+
attrs: {};
|
|
14
|
+
extend: {};
|
|
15
|
+
optColumnList: never[];
|
|
16
|
+
};
|
|
17
|
+
buttonConfig: {
|
|
18
|
+
attrs: {};
|
|
19
|
+
extend: {};
|
|
20
|
+
buttons: ({
|
|
21
|
+
authorityCode: string;
|
|
22
|
+
label: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
type: string;
|
|
25
|
+
click: () => void;
|
|
26
|
+
} | {
|
|
27
|
+
authorityCode: string;
|
|
28
|
+
label: string;
|
|
29
|
+
icon: string;
|
|
30
|
+
click: () => void;
|
|
31
|
+
type?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
label: string;
|
|
34
|
+
icon: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
type: string;
|
|
38
|
+
authorityCode?: undefined;
|
|
39
|
+
click?: undefined;
|
|
40
|
+
})[];
|
|
41
|
+
};
|
|
42
|
+
queryConfig: {
|
|
43
|
+
attrs: {};
|
|
44
|
+
extend: {};
|
|
45
|
+
form: ({
|
|
46
|
+
type: string;
|
|
47
|
+
label: string;
|
|
48
|
+
fieldName: string;
|
|
49
|
+
placeholder: string;
|
|
50
|
+
startProp?: undefined;
|
|
51
|
+
endProp?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
type: string;
|
|
54
|
+
startProp: string;
|
|
55
|
+
endProp: string;
|
|
56
|
+
label: string;
|
|
57
|
+
placeholder: string[];
|
|
58
|
+
fieldName?: undefined;
|
|
59
|
+
})[];
|
|
60
|
+
formState: {
|
|
61
|
+
dataJson: string;
|
|
62
|
+
businessDataType: string;
|
|
63
|
+
beginTime: string;
|
|
64
|
+
endTime: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
pagerConfig: {};
|
|
68
|
+
};
|
|
69
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
70
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
3
|
+
listLayoutRef: Ref<any>;
|
|
4
|
+
apiUrls: {
|
|
5
|
+
columnsCode: string;
|
|
6
|
+
list: string;
|
|
7
|
+
};
|
|
8
|
+
pageData: {
|
|
9
|
+
statusConfig: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
};
|
|
12
|
+
optColumn: {
|
|
13
|
+
attrs: {};
|
|
14
|
+
extend: {};
|
|
15
|
+
optColumnList: never[];
|
|
16
|
+
};
|
|
17
|
+
buttonConfig: {
|
|
18
|
+
attrs: {};
|
|
19
|
+
extend: {};
|
|
20
|
+
buttons: ({
|
|
21
|
+
authorityCode: string;
|
|
22
|
+
label: string;
|
|
23
|
+
click: () => void;
|
|
24
|
+
icon?: undefined;
|
|
25
|
+
type?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
label: string;
|
|
28
|
+
icon: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
type: string;
|
|
32
|
+
authorityCode?: undefined;
|
|
33
|
+
click?: undefined;
|
|
34
|
+
})[];
|
|
35
|
+
};
|
|
36
|
+
queryConfig: {
|
|
37
|
+
attrs: {};
|
|
38
|
+
extend: {};
|
|
39
|
+
form: ({
|
|
40
|
+
type: string;
|
|
41
|
+
dictCode: string;
|
|
42
|
+
label: string;
|
|
43
|
+
fieldName: string;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
} | {
|
|
46
|
+
type: string;
|
|
47
|
+
label: string;
|
|
48
|
+
fieldName: string;
|
|
49
|
+
placeholder: string;
|
|
50
|
+
dictCode?: undefined;
|
|
51
|
+
})[];
|
|
52
|
+
formState: {
|
|
53
|
+
dataJson: string;
|
|
54
|
+
businessDataType: string;
|
|
55
|
+
businessTypeCore: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
pagerConfig: {};
|
|
59
|
+
};
|
|
60
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
61
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
3
|
+
apiUrls: {
|
|
4
|
+
columnsCode: string;
|
|
5
|
+
list: string;
|
|
6
|
+
countTabsUrl: string;
|
|
7
|
+
};
|
|
8
|
+
pageData: {
|
|
9
|
+
statusConfig: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
};
|
|
12
|
+
optColumn: {
|
|
13
|
+
attrs: {};
|
|
14
|
+
extend: {};
|
|
15
|
+
optColumnList: never[];
|
|
16
|
+
};
|
|
17
|
+
buttonConfig: {
|
|
18
|
+
attrs: {};
|
|
19
|
+
extend: {};
|
|
20
|
+
buttons: {
|
|
21
|
+
label: string;
|
|
22
|
+
icon: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
queryConfig: {
|
|
29
|
+
attrs: {};
|
|
30
|
+
extend: {};
|
|
31
|
+
form: {
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
fieldName: string;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
}[];
|
|
37
|
+
formState: {
|
|
38
|
+
keyWord: string;
|
|
39
|
+
logType: number;
|
|
40
|
+
busModule: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
pagerConfig: {};
|
|
44
|
+
};
|
|
45
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
46
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
3
|
+
apiUrls: {
|
|
4
|
+
columnsCode: string;
|
|
5
|
+
list: string;
|
|
6
|
+
countTabsUrl: string;
|
|
7
|
+
};
|
|
8
|
+
pageData: {
|
|
9
|
+
statusConfig: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
};
|
|
12
|
+
optColumn: {
|
|
13
|
+
attrs: {};
|
|
14
|
+
extend: {};
|
|
15
|
+
optColumnList: never[];
|
|
16
|
+
};
|
|
17
|
+
buttonConfig: {
|
|
18
|
+
attrs: {};
|
|
19
|
+
extend: {};
|
|
20
|
+
buttons: {
|
|
21
|
+
label: string;
|
|
22
|
+
icon: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
queryConfig: {
|
|
29
|
+
attrs: {};
|
|
30
|
+
extend: {};
|
|
31
|
+
form: {
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
fieldName: string;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
}[];
|
|
37
|
+
formState: {
|
|
38
|
+
keyWord: string;
|
|
39
|
+
logType: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
pagerConfig: {};
|
|
43
|
+
};
|
|
44
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
45
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
3
|
+
apiUrls: {
|
|
4
|
+
columnsCode: string;
|
|
5
|
+
list: string;
|
|
6
|
+
countTabsUrl: string;
|
|
7
|
+
};
|
|
8
|
+
pageData: {
|
|
9
|
+
statusConfig: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
};
|
|
12
|
+
optColumn: {
|
|
13
|
+
attrs: {};
|
|
14
|
+
extend: {};
|
|
15
|
+
optColumnList: never[];
|
|
16
|
+
};
|
|
17
|
+
buttonConfig: {
|
|
18
|
+
attrs: {};
|
|
19
|
+
extend: {};
|
|
20
|
+
buttons: {
|
|
21
|
+
label: string;
|
|
22
|
+
icon: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
queryConfig: {
|
|
29
|
+
attrs: {};
|
|
30
|
+
extend: {};
|
|
31
|
+
form: {
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
fieldName: string;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
}[];
|
|
37
|
+
formState: {
|
|
38
|
+
supplierName: string;
|
|
39
|
+
logMonth: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
pagerConfig: {};
|
|
43
|
+
};
|
|
44
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
45
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
3
|
+
apiUrls: {
|
|
4
|
+
columnsCode: string;
|
|
5
|
+
list: string;
|
|
6
|
+
countTabsUrl: string;
|
|
7
|
+
};
|
|
8
|
+
pageData: {
|
|
9
|
+
statusConfig: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
};
|
|
12
|
+
optColumn: {
|
|
13
|
+
attrs: {};
|
|
14
|
+
extend: {};
|
|
15
|
+
optColumnList: never[];
|
|
16
|
+
};
|
|
17
|
+
buttonConfig: {
|
|
18
|
+
attrs: {};
|
|
19
|
+
extend: {};
|
|
20
|
+
buttons: {
|
|
21
|
+
label: string;
|
|
22
|
+
icon: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
queryConfig: {
|
|
29
|
+
attrs: {};
|
|
30
|
+
extend: {};
|
|
31
|
+
form: ({
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
fieldName: string;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
dictCode?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
type: string;
|
|
39
|
+
label: string;
|
|
40
|
+
fieldName: string;
|
|
41
|
+
dictCode: string;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
})[];
|
|
44
|
+
formState: {
|
|
45
|
+
keyWord: string;
|
|
46
|
+
operateType: string;
|
|
47
|
+
logType: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
pagerConfig: {};
|
|
51
|
+
};
|
|
52
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
53
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { HttpClient, exportFuncParms, someParser } from './global.types';
|
|
2
|
+
export declare function useConigApiMethods(qHttp: HttpClient): {
|
|
3
|
+
handleExport: ({ actionType, type, exportXlsUrl, fileName, setPostParms, berforCallback, afterCallback }: exportFuncParms) => void;
|
|
4
|
+
handleCopy: ({ url, type, row, afterCallback, tip }: someParser) => void;
|
|
5
|
+
handleCancel: ({ url, type, row, afterCallback, tip }: someParser) => void;
|
|
6
|
+
handleDelete: ({ url, type, row, afterCallback, tip }: someParser) => void;
|
|
7
|
+
handleUpgrade: ({ url, type, row, afterCallback, tip }: someParser) => void;
|
|
8
|
+
handlUniversal: ({ url, type, row, afterCallback, tip }: someParser) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare function useCommonRegexp(): {
|
|
11
|
+
email: RegExp;
|
|
12
|
+
mobile: RegExp;
|
|
13
|
+
url: RegExp;
|
|
14
|
+
dateISO: RegExp;
|
|
15
|
+
interger: RegExp;
|
|
16
|
+
positiveInterger: RegExp;
|
|
17
|
+
number: RegExp;
|
|
18
|
+
digits: RegExp;
|
|
19
|
+
idCard: RegExp;
|
|
20
|
+
carNo: RegExp;
|
|
21
|
+
carNo2: RegExp;
|
|
22
|
+
amount: RegExp;
|
|
23
|
+
money: RegExp;
|
|
24
|
+
chinese: RegExp;
|
|
25
|
+
letter: RegExp;
|
|
26
|
+
enOrNum: RegExp;
|
|
27
|
+
landline: RegExp;
|
|
28
|
+
unionPayCard: RegExp;
|
|
29
|
+
ip: RegExp;
|
|
30
|
+
mobileOrLandline: RegExp;
|
|
31
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const INJECT_HTTP = "http";
|
|
2
|
+
export interface MapObjectNoneType {
|
|
3
|
+
[pro: string]: any;
|
|
4
|
+
}
|
|
5
|
+
export interface RequestConfig extends MapObjectNoneType {
|
|
6
|
+
baseURL?: string;
|
|
7
|
+
headers?: object;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
url?: string;
|
|
10
|
+
params?: object;
|
|
11
|
+
data?: object;
|
|
12
|
+
}
|
|
13
|
+
export interface ResponseData extends MapObjectNoneType {
|
|
14
|
+
code?: number;
|
|
15
|
+
message?: string;
|
|
16
|
+
result?: any;
|
|
17
|
+
success?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface HttpClient {
|
|
20
|
+
get(config: RequestConfig): Promise<ResponseData>;
|
|
21
|
+
post(config: RequestConfig): Promise<ResponseData>;
|
|
22
|
+
put(config: RequestConfig): Promise<ResponseData>;
|
|
23
|
+
registerModuleAction(config: string, other?: MapObjectNoneType): Promise<ResponseData>;
|
|
24
|
+
}
|
|
25
|
+
export interface exportFuncParms {
|
|
26
|
+
fileName: string;
|
|
27
|
+
type: string;
|
|
28
|
+
actionType: string;
|
|
29
|
+
exportXlsUrl: string;
|
|
30
|
+
setPostParms(): MapObjectNoneType;
|
|
31
|
+
berforCallback?(): void;
|
|
32
|
+
afterCallback?(): void;
|
|
33
|
+
}
|
|
34
|
+
export interface someParser {
|
|
35
|
+
url: string;
|
|
36
|
+
row: MapObjectNoneType;
|
|
37
|
+
type: string;
|
|
38
|
+
tip: string;
|
|
39
|
+
afterCallback?(): void;
|
|
40
|
+
}
|
|
41
|
+
export type decaleHttpClientMethod = 'get' | 'post';
|