xyvcard-asset 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/README.md +52 -0
  2. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  3. package/dist/common-kbgEWG-E.mjs +24 -0
  4. package/dist/edit-Bo9bnbUP.mjs +492 -0
  5. package/dist/edit-CE3u81Q0.mjs +4 -0
  6. package/dist/edit-DJFxVmvv.mjs +624 -0
  7. package/dist/edit-qp_2xtTZ.mjs +242 -0
  8. package/dist/edit-zFZfd8e1.mjs +4 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs +401 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +322 -0
  11. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +1 -0
  12. package/dist/favicon.ico +0 -0
  13. package/dist/index-Bf5U4Ucl.mjs +369 -0
  14. package/dist/index-Bh2imlN_.mjs +149 -0
  15. package/dist/index-CHNiaFZk.mjs +291 -0
  16. package/dist/index-CmlP_Rro.mjs +332 -0
  17. package/dist/index-Cqw_E8lr.mjs +1269 -0
  18. package/dist/index-DA_FS24d.mjs +146 -0
  19. package/dist/index-DKmGNvQl.mjs +370 -0
  20. package/dist/index-DLxpE9s5.mjs +305 -0
  21. package/dist/index-DWaL87j5.mjs +89 -0
  22. package/dist/index-jOnQLJaB.mjs +416 -0
  23. package/dist/index-pyyjj1xa.mjs +187 -0
  24. package/dist/index.mjs +144 -0
  25. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +37 -0
  26. package/dist/style.css +1 -0
  27. package/dts/App.vue.d.ts +2 -0
  28. package/dts/api/asset/asset-asset/index.d.ts +20 -0
  29. package/dts/api/asset/asset-asset/types.d.ts +93 -0
  30. package/dts/api/asset/asset-service-appt-member/index.d.ts +20 -0
  31. package/dts/api/asset/asset-service-appt-member/types.d.ts +71 -0
  32. package/dts/api/asset/asset-service-appt-record/index.d.ts +20 -0
  33. package/dts/api/asset/asset-service-appt-record/types.d.ts +98 -0
  34. package/dts/api/asset/asset-site/index.d.ts +15 -0
  35. package/dts/api/asset/asset-site/types.d.ts +81 -0
  36. package/dts/api/asset/asset-site-service/index.d.ts +14 -0
  37. package/dts/api/asset/asset-site-service/types.d.ts +80 -0
  38. package/dts/api/dict.d.ts +22 -0
  39. package/dts/api/index.d.ts +14 -0
  40. package/dts/api/org/union-org/index.d.ts +14 -0
  41. package/dts/api/org/union-org/types.d.ts +49 -0
  42. package/dts/components/EnumRadio/index.vue.d.ts +18 -0
  43. package/dts/components/EnumSelect/index.vue.d.ts +18 -0
  44. package/dts/components/TMaps/index.vue.d.ts +20 -0
  45. package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
  46. package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
  47. package/dts/constant.d.ts +16 -0
  48. package/dts/index.d.ts +4 -0
  49. package/dts/lang/asset/en.d.ts +2 -0
  50. package/dts/lang/asset/zh-cn.d.ts +91 -0
  51. package/dts/lang/index.d.ts +1 -0
  52. package/dts/main.d.ts +4 -0
  53. package/dts/permission.d.ts +1 -0
  54. package/dts/router/page.d.ts +2 -0
  55. package/dts/src/App.vue.d.ts +2 -0
  56. package/dts/src/api/asset/asset-asset/index.d.ts +20 -0
  57. package/dts/src/api/asset/asset-asset/types.d.ts +93 -0
  58. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +20 -0
  59. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +71 -0
  60. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +20 -0
  61. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +98 -0
  62. package/dts/src/api/asset/asset-site/index.d.ts +15 -0
  63. package/dts/src/api/asset/asset-site/types.d.ts +81 -0
  64. package/dts/src/api/asset/asset-site-service/index.d.ts +14 -0
  65. package/dts/src/api/asset/asset-site-service/types.d.ts +80 -0
  66. package/dts/src/api/dict.d.ts +22 -0
  67. package/dts/src/api/index.d.ts +14 -0
  68. package/dts/src/api/org/union-org/index.d.ts +14 -0
  69. package/dts/src/api/org/union-org/types.d.ts +49 -0
  70. package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
  71. package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
  72. package/dts/src/components/Upload/ImageUpload.vue.d.ts +38 -0
  73. package/dts/src/components/Upload/MultiUpload.vue.d.ts +24 -0
  74. package/dts/src/constant.d.ts +16 -0
  75. package/dts/src/index.d.ts +4 -0
  76. package/dts/src/lang/asset/en.d.ts +2 -0
  77. package/dts/src/lang/asset/zh-cn.d.ts +91 -0
  78. package/dts/src/lang/index.d.ts +1 -0
  79. package/dts/src/main.d.ts +4 -0
  80. package/dts/src/permission.d.ts +1 -0
  81. package/dts/src/router/page.d.ts +4 -0
  82. package/dts/src/utils/common.d.ts +51 -0
  83. package/dts/src/utils/index.d.ts +24 -0
  84. package/dts/src/views/asset/asset-asset/edit.vue.d.ts +22 -0
  85. package/dts/src/views/asset/asset-asset/index.vue.d.ts +2 -0
  86. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
  87. package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
  88. package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
  89. package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  90. package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  91. package/dts/src/views/asset/asset-site/edit.vue.d.ts +22 -0
  92. package/dts/src/views/asset/asset-site/index.vue.d.ts +2 -0
  93. package/dts/src/views/asset/asset-site/info/index.vue.d.ts +2 -0
  94. package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  95. package/dts/src/views/asset/asset-site-service/index.vue.d.ts +2 -0
  96. package/dts/tsconfig.tsbuildinfo +1 -0
  97. package/dts/utils/common.d.ts +51 -0
  98. package/dts/utils/index.d.ts +24 -0
  99. package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
  100. package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
  101. package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
  102. package/dts/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
  103. package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
  104. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  105. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  106. package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
  107. package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
  108. package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
  109. package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  110. package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
  111. package/package.json +60 -0
@@ -0,0 +1,80 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
+ export interface SiteServiceApi extends EntityApi {
3
+ }
4
+ export interface SiteServiceReq extends EntityReq {
5
+ siteId?: string;
6
+ status?: string;
7
+ orgId?: string;
8
+ likeServiceName?: string;
9
+ hasStatus?: boolean;
10
+ }
11
+ export interface SiteServiceModel extends EntityModel {
12
+ serviceId?: string;
13
+ siteId?: string;
14
+ serviceName?: string;
15
+ minDay?: number;
16
+ maxDay?: number;
17
+ limitPerson?: number;
18
+ status?: string;
19
+ note?: string;
20
+ manager?: string;
21
+ }
22
+ export interface SiteServiceList extends EntityList {
23
+ results: Array<SiteServiceModel>;
24
+ }
25
+ export interface SiteServicePage extends EntityPage {
26
+ results: Array<SiteServiceModel>;
27
+ subTotalDto: SiteServiceModelTotal;
28
+ totalDto: SiteServiceModelTotal;
29
+ }
30
+ export interface SiteServiceModelTotal extends EntityTotal {
31
+ totalSize: number;
32
+ }
33
+ export interface SiteServiceKey extends EntityKey {
34
+ tenant?: string;
35
+ serviceId?: string;
36
+ }
37
+ export interface SiteServiceKeyList extends EntityKeyList {
38
+ tenant?: string;
39
+ serviceId?: Array<string>;
40
+ }
41
+ export interface SiteServiceCreateReq extends EntityCreateReq {
42
+ tenant?: string;
43
+ requestId?: string;
44
+ siteId?: string;
45
+ serviceName?: string;
46
+ minDay?: number;
47
+ maxDay?: number;
48
+ limitPerson?: number;
49
+ startTime?: string;
50
+ endTime?: string;
51
+ status?: string;
52
+ note?: string;
53
+ manager?: string;
54
+ orgId: string;
55
+ limitInfo: Array<LimitInfo>;
56
+ }
57
+ export interface LimitInfo {
58
+ time?: string;
59
+ startTime?: string;
60
+ endTime?: string;
61
+ limitPerson?: number;
62
+ }
63
+ export interface SiteServiceUpdateReq extends EntityUpdateReq {
64
+ tenant?: string;
65
+ requestId?: string;
66
+ serviceId?: string;
67
+ siteId?: string;
68
+ serviceName?: string;
69
+ minDay?: number;
70
+ maxDay?: number;
71
+ limitPerson?: number;
72
+ status?: string;
73
+ note?: string;
74
+ startTime?: string;
75
+ endTime?: string;
76
+ manager?: string;
77
+ orgId?: string;
78
+ limitInfo: Array<LimitInfo>;
79
+ }
80
+ export type SiteServiceFormReq = SiteServiceCreateReq | SiteServiceUpdateReq;
@@ -0,0 +1,22 @@
1
+ import { BizDict, BizLayDict, type Entry, type LayEntry } from "jmash-core";
2
+ export declare class CustomBizDict {
3
+ values: {
4
+ key: string;
5
+ value: string;
6
+ }[];
7
+ query: any;
8
+ constructor(results: any, query: any);
9
+ getValue(key: string): string;
10
+ }
11
+ export declare class UnionOrgBizLayDict extends BizLayDict {
12
+ useValues(): Promise<LayEntry[]>;
13
+ }
14
+ export declare class SiteBizLayDict extends BizDict {
15
+ useValues(): Promise<Entry[]>;
16
+ }
17
+ export declare class serviceNameDict extends BizDict {
18
+ useValues(): Promise<Entry[]>;
19
+ }
20
+ export declare class managerDict extends BizDict {
21
+ useValues(): Promise<Entry[]>;
22
+ }
@@ -0,0 +1,14 @@
1
+ import { EnumDict } from "jmash-core";
2
+ import { CustomBizDict, SiteBizLayDict, UnionOrgBizLayDict, serviceNameDict, managerDict } from "./dict";
3
+ export declare class Dict {
4
+ static readonly enableDict: CustomBizDict;
5
+ static readonly unionOrgBizLayDict: UnionOrgBizLayDict;
6
+ static readonly serviceStatusEnum: EnumDict;
7
+ static readonly siteDict: SiteBizLayDict;
8
+ static readonly serviceNameDict: serviceNameDict;
9
+ static readonly managerDict: managerDict;
10
+ static readonly statusDictEnum: EnumDict;
11
+ static readonly assetStatusDict: CustomBizDict;
12
+ static readonly assetSortDictEnum: EnumDict;
13
+ static readonly depreciationTypeEnum: EnumDict;
14
+ }
@@ -0,0 +1,14 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { UnionOrgTree, UnionOrgApi, UnionOrgReq, UnionOrgModel, UnionOrgKey } from "./types";
3
+ declare class UnionOrgApiImpl implements UnionOrgApi {
4
+ getKey(model: UnionOrgModel): UnionOrgKey;
5
+ /**
6
+ * 获取工会组织架构树形列表
7
+ *
8
+ * @param query 查询参数,可选
9
+ * @returns 返回工会组织架构树形列表的 AxiosPromise 对象
10
+ */
11
+ findUnionOrgTreeListApi(query?: UnionOrgReq): AxiosPromise<UnionOrgTree>;
12
+ }
13
+ declare const unionOrgApi: UnionOrgApiImpl;
14
+ export { unionOrgApi };
@@ -0,0 +1,49 @@
1
+ import type { LayEntry, EntityApi, EntityReq, EntityModel, EntityKey } from "jmash-core";
2
+ export interface UnionOrgTree {
3
+ results: LayEntry[];
4
+ }
5
+ export interface UnionOrgApi extends EntityApi {
6
+ }
7
+ export interface UnionOrgReq extends EntityReq {
8
+ likeOrgName?: string;
9
+ hasStatus?: boolean;
10
+ status?: boolean;
11
+ }
12
+ export interface UnionOrgModel extends EntityModel {
13
+ orgId?: string;
14
+ orgName?: string;
15
+ orgShortName?: string;
16
+ parentId?: string;
17
+ chargePerson?: string;
18
+ chargePersonMobile?: string;
19
+ legalPerson?: string;
20
+ legalPersonMobile?: string;
21
+ isOnline?: string;
22
+ status?: boolean;
23
+ mobileEncrypt?: boolean;
24
+ children?: UnionOrgModel[];
25
+ [key: string]: boolean | string | undefined | UnionOrgModel[];
26
+ }
27
+ export interface UnionOrgKey extends EntityKey {
28
+ tenant?: string;
29
+ orgId?: string;
30
+ }
31
+ export interface UnionOrgUser {
32
+ address?: string;
33
+ buildDate?: string;
34
+ chargePerson?: string;
35
+ chargePersonMobile?: string;
36
+ chargePersonMobileIns?: string;
37
+ creditCode?: string;
38
+ isOnline?: string;
39
+ issuingUnit?: string;
40
+ legalCertificateDate?: string;
41
+ legalCertificateImg?: string;
42
+ legalPerson?: string;
43
+ legalPersonMobile?: string;
44
+ legalPersonMobileIns?: string;
45
+ orgId?: string;
46
+ orgName?: string;
47
+ orgShortName?: string;
48
+ parentId?: string;
49
+ }
@@ -0,0 +1,18 @@
1
+ import type { PropType } from "vue";
2
+ import type { Entry } from "jmash-core";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ modelValue: PropType<string | boolean>;
5
+ data: {
6
+ type: PropType<Entry[]>;
7
+ default: () => void;
8
+ };
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
+ modelValue: PropType<string | boolean>;
11
+ data: {
12
+ type: PropType<Entry[]>;
13
+ default: () => void;
14
+ };
15
+ }>>, {
16
+ data: Entry[];
17
+ }, {}>;
18
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import type { PropType } from "vue";
2
+ import type { Entry } from "jmash-core";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ modelValue: PropType<string | boolean>;
5
+ data: {
6
+ type: PropType<Entry[]>;
7
+ default: () => void;
8
+ };
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
+ modelValue: PropType<string | boolean>;
11
+ data: {
12
+ type: PropType<Entry[]>;
13
+ default: () => void;
14
+ };
15
+ }>>, {
16
+ data: Entry[];
17
+ }, {}>;
18
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ address: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ getAddress: (...args: any[]) => void;
8
+ getLatLng: (...args: any[]) => void;
9
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
+ address: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }>> & {
15
+ onGetAddress?: ((...args: any[]) => any) | undefined;
16
+ onGetLatLng?: ((...args: any[]) => any) | undefined;
17
+ }, {
18
+ address: string;
19
+ }, {}>;
20
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ listType: {
3
+ type: () => "text" | "picture" | "picture-card";
4
+ default: string;
5
+ };
6
+ limit: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ pictureUrl: {
11
+ type: ArrayConstructor;
12
+ default: () => never[];
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ filesResponse: (...args: any[]) => void;
16
+ uploadFileList: (...args: any[]) => void;
17
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
+ listType: {
19
+ type: () => "text" | "picture" | "picture-card";
20
+ default: string;
21
+ };
22
+ limit: {
23
+ type: NumberConstructor;
24
+ default: number;
25
+ };
26
+ pictureUrl: {
27
+ type: ArrayConstructor;
28
+ default: () => never[];
29
+ };
30
+ }>> & {
31
+ onFilesResponse?: ((...args: any[]) => any) | undefined;
32
+ onUploadFileList?: ((...args: any[]) => any) | undefined;
33
+ }, {
34
+ listType: "text" | "picture" | "picture-card";
35
+ limit: number;
36
+ pictureUrl: unknown[];
37
+ }, {}>;
38
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: globalThis.PropType<boolean>;
3
+ limit: {
4
+ type: NumberConstructor;
5
+ default: number;
6
+ };
7
+ }, {
8
+ clearFileList: () => void;
9
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ filesResponse: (...args: any[]) => void;
11
+ uploadFileList: (...args: any[]) => void;
12
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
13
+ modelValue: globalThis.PropType<boolean>;
14
+ limit: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ }>> & {
19
+ onFilesResponse?: ((...args: any[]) => any) | undefined;
20
+ onUploadFileList?: ((...args: any[]) => any) | undefined;
21
+ }, {
22
+ limit: number;
23
+ }, {}>;
24
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export declare class Constant {
2
+ static readonly MODULE_ASSET = "asset";
3
+ static readonly ENABLE_VALUES: globalThis.Ref<{
4
+ key: string;
5
+ value: string;
6
+ }[]>;
7
+ static readonly ENUM_ASSET_STATUS: globalThis.Ref<{
8
+ key: string;
9
+ value: string;
10
+ }[]>;
11
+ static readonly ENUM_SERVICE_STATUS = "xyvcard.asset.protobuf.ServiceStatus";
12
+ static readonly DICT_SITE_ID = "siteId";
13
+ static readonly ENUM_STATUS = "xyvcard.asset.protobuf.ApptMemberStatus";
14
+ static readonly ENUM_SORT_STATUS = "xyvcard.asset.protobuf.AssetSortType";
15
+ static readonly ENUM_DEPRECIA_TION = "xyvcard.asset.protobuf.DepreciationType";
16
+ }
package/dts/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ declare const asset: {
2
+ install(): void;
3
+ };
4
+ export default asset;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,91 @@
1
+ declare const _default: {
2
+ site: {
3
+ orgId: string;
4
+ orgIdRequired: string;
5
+ name: string;
6
+ nameRequired: string;
7
+ status: string;
8
+ statusRequired: string;
9
+ siteQrcode: string;
10
+ address: string;
11
+ addressRequired: string;
12
+ buildDate: string;
13
+ buildDateRequired: string;
14
+ area: string;
15
+ manager: string;
16
+ managerRequired: string;
17
+ mobilePhone: string;
18
+ mobilePhoneRequired: string;
19
+ };
20
+ siteService: {
21
+ orgId: string;
22
+ orgIdRequired: string;
23
+ siteId: string;
24
+ siteIdRequired: string;
25
+ serviceName: string;
26
+ serviceNameRequired: string;
27
+ status: string;
28
+ statusRequired: string;
29
+ limitPerson: string;
30
+ limitPersonRequired: string;
31
+ manager: string;
32
+ managerRequired: string;
33
+ day: string;
34
+ dayRequired: string;
35
+ time: string;
36
+ note: string;
37
+ noteRequired: string;
38
+ startTime: string;
39
+ endTime: string;
40
+ };
41
+ serviceApptRecord: {
42
+ orgId: string;
43
+ orgIdRequired: string;
44
+ siteId: string;
45
+ siteIdRequired: string;
46
+ serviceName: string;
47
+ serviceNameRequired: string;
48
+ startDate: string;
49
+ endDate: string;
50
+ appointmentDate: string;
51
+ time: string;
52
+ limitPerson: string;
53
+ apptPerson: string;
54
+ signPerson: string;
55
+ };
56
+ serviceApptMember: {
57
+ realName: string;
58
+ status: string;
59
+ };
60
+ asset: {
61
+ name: string;
62
+ nameRequired: string;
63
+ assetSort: string;
64
+ assetSortRequired: string;
65
+ assignStatus: string;
66
+ assignStatusRequired: string;
67
+ code: string;
68
+ codeRequired: string;
69
+ numberUnit: string;
70
+ number: string;
71
+ numberRequired: string;
72
+ buyDate: string;
73
+ buyMoney: string;
74
+ buyMoneyRequired: string;
75
+ depreciationType: string;
76
+ unit: string;
77
+ unitRequired: string;
78
+ oldMoney: string;
79
+ oldMoneyRequired: string;
80
+ useLimit: string;
81
+ useLimitRequired: string;
82
+ netSalvage: string;
83
+ netSalvageRequired: string;
84
+ monthDepreciation: string;
85
+ monthDepreciationRequired: string;
86
+ totalDepreciation: string;
87
+ totalDepreciationRequired: string;
88
+ buyDateRequired: string;
89
+ };
90
+ };
91
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare function loadLang(i18n: any): void;
package/dts/main.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import "@/permission";
2
+ import "jmash-core/dist/style.css";
3
+ import "jmash-dict/dist/style.css";
4
+ import "jmash-rbac/dist/style.css";
@@ -0,0 +1 @@
1
+ import "nprogress/nprogress.css";
@@ -0,0 +1,2 @@
1
+ import type { RouteRecordRaw } from "vue-router";
2
+ export declare const assetRoutes: RouteRecordRaw[];
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq } from "./types";
3
+ declare class AssetApiImpl implements AssetApi {
4
+ getKey(model: AssetModel): AssetKey;
5
+ findPage(query?: AssetReq): AxiosPromise<AssetPage>;
6
+ findList(query?: AssetReq): AxiosPromise<AssetList>;
7
+ findById(query: AssetKey): AxiosPromise<AssetModel>;
8
+ create(data: AssetCreateReq): AxiosPromise<AssetModel>;
9
+ update: (data: AssetUpdateReq) => AxiosPromise<AssetModel>;
10
+ move(key: AssetKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: AssetKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: AssetKey): AxiosPromise<AssetModel>;
13
+ batchDelete(keys: AssetKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: AssetImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: AssetExportReq): AxiosPromise;
17
+ exportPdf(queryParams: AssetExportReq): AxiosPromise;
18
+ }
19
+ declare const assetApi: AssetApiImpl;
20
+ export { assetApi };
@@ -0,0 +1,93 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
+ export interface AssetApi extends EntityApi {
3
+ }
4
+ export interface AssetReq extends EntityReq {
5
+ name?: string;
6
+ assetSort?: string;
7
+ assignStatus?: boolean;
8
+ likeName?: string;
9
+ }
10
+ export interface AssetModel extends EntityModel {
11
+ name?: string;
12
+ assetId?: string;
13
+ assetSort?: string;
14
+ code?: string;
15
+ number?: number;
16
+ unit?: string;
17
+ buyDate?: string;
18
+ buyMoney?: string | number;
19
+ oldMoney?: string;
20
+ depreciationType?: string;
21
+ useLimit?: number;
22
+ monthDepreciation?: string;
23
+ totalDepreciation?: string;
24
+ }
25
+ export interface AssetList extends EntityList {
26
+ results: Array<AssetModel>;
27
+ }
28
+ export interface AssetPage extends EntityPage {
29
+ results: Array<AssetModel>;
30
+ subTotalDto: AssetModelTotal;
31
+ totalDto: AssetModelTotal;
32
+ }
33
+ export interface AssetModelTotal extends EntityTotal {
34
+ totalSize: number;
35
+ }
36
+ export interface AssetKey extends EntityKey {
37
+ tenant?: string;
38
+ assetId?: string;
39
+ }
40
+ export interface AssetKeyList extends EntityKeyList {
41
+ tenant?: string;
42
+ assetId?: Array<string>;
43
+ }
44
+ export interface AssetCreateReq extends EntityCreateReq {
45
+ assetId?: string;
46
+ name?: string;
47
+ assetSort?: string;
48
+ code?: string;
49
+ number?: number;
50
+ unit?: string;
51
+ model?: string;
52
+ buyDate?: string;
53
+ buyMoney?: string | number;
54
+ oldMoney?: string;
55
+ depreciationType?: string;
56
+ useLimit?: number;
57
+ netSalvage?: string;
58
+ monthDepreciation?: string;
59
+ totalDepreciation?: string;
60
+ }
61
+ export interface AssetUpdateReq extends EntityUpdateReq {
62
+ assetId?: string;
63
+ name?: string;
64
+ assetSort?: string;
65
+ code?: string;
66
+ number?: number;
67
+ unit?: string;
68
+ model?: string;
69
+ buyDate?: string;
70
+ buyMoney?: string | number;
71
+ oldMoney?: string;
72
+ depreciationType?: string;
73
+ useLimit?: number;
74
+ netSalvage?: string;
75
+ monthDepreciation?: string;
76
+ totalDepreciation?: string;
77
+ }
78
+ export type AssetFormReq = AssetCreateReq | AssetUpdateReq;
79
+ export interface AssetExportReq extends EntityExportReq {
80
+ req: AssetReq;
81
+ }
82
+ export interface AssetImportReq extends EntityImportReq {
83
+ }
84
+ export interface AssetMoveKey {
85
+ tenant?: string;
86
+ assetId?: string;
87
+ up?: boolean;
88
+ }
89
+ export interface AssetEnableKey {
90
+ tenant?: string;
91
+ assetId?: string;
92
+ enable?: boolean;
93
+ }
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ServiceApptMemberApi, ServiceApptMemberReq, ServiceApptMemberModel, ServiceApptMemberPage, ServiceApptMemberList, ServiceApptMemberKey, ServiceApptMemberCreateReq, ServiceApptMemberUpdateReq, ServiceApptMemberExportReq, ServiceApptMemberImportReq } from "./types";
3
+ declare class ServiceApptMemberApiImpl implements ServiceApptMemberApi {
4
+ getKey(model: ServiceApptMemberModel): ServiceApptMemberKey;
5
+ findPage(query?: ServiceApptMemberReq): AxiosPromise<ServiceApptMemberPage>;
6
+ findList(query?: ServiceApptMemberReq): AxiosPromise<ServiceApptMemberList>;
7
+ findById(query: ServiceApptMemberKey): AxiosPromise<ServiceApptMemberModel>;
8
+ create(data: ServiceApptMemberCreateReq): AxiosPromise<ServiceApptMemberModel>;
9
+ update: (data: ServiceApptMemberUpdateReq) => AxiosPromise<ServiceApptMemberModel>;
10
+ move(key: ServiceApptMemberKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: ServiceApptMemberKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: ServiceApptMemberKey): AxiosPromise<ServiceApptMemberModel>;
13
+ batchDelete(keys: ServiceApptMemberKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: ServiceApptMemberImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: ServiceApptMemberExportReq): AxiosPromise;
17
+ exportPdf(queryParams: ServiceApptMemberExportReq): AxiosPromise;
18
+ }
19
+ declare const serviceApptMemberApi: ServiceApptMemberApiImpl;
20
+ export { serviceApptMemberApi };
@@ -0,0 +1,71 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
+ export interface ServiceApptMemberApi extends EntityApi {
3
+ }
4
+ export interface ServiceApptMemberReq extends EntityReq {
5
+ recordId?: string;
6
+ memberId?: string;
7
+ realName?: string;
8
+ status?: string;
9
+ statusTime?: string;
10
+ }
11
+ export interface ServiceApptMemberModel extends EntityModel {
12
+ recordId?: string;
13
+ memberId?: string;
14
+ realName?: string;
15
+ status?: string;
16
+ statusTime?: string;
17
+ }
18
+ export interface ServiceApptMemberList extends EntityList {
19
+ results: Array<ServiceApptMemberModel>;
20
+ }
21
+ export interface ServiceApptMemberPage extends EntityPage {
22
+ results: Array<ServiceApptMemberModel>;
23
+ subTotalDto: ServiceApptMemberModelTotal;
24
+ totalDto: ServiceApptMemberModelTotal;
25
+ }
26
+ export interface ServiceApptMemberModelTotal extends EntityTotal {
27
+ totalSize: number;
28
+ }
29
+ export interface ServiceApptMemberKey extends EntityKey {
30
+ serviceApptMemberPk: any;
31
+ tenant?: string;
32
+ recordId?: string;
33
+ memberId?: string;
34
+ }
35
+ export interface ServiceApptMemberKeyList extends EntityKeyList {
36
+ tenant?: string;
37
+ serviceApptMemberKey?: Array<ServiceApptMemberKey>;
38
+ }
39
+ export interface ServiceApptMemberCreateReq extends EntityCreateReq {
40
+ recordId?: string;
41
+ memberId?: string;
42
+ realName?: string;
43
+ status?: string;
44
+ statusTime?: string;
45
+ }
46
+ export interface ServiceApptMemberUpdateReq extends EntityUpdateReq {
47
+ recordId?: string;
48
+ memberId?: string;
49
+ realName?: string;
50
+ status?: string;
51
+ statusTime?: string;
52
+ }
53
+ export type ServiceApptMemberFormReq = ServiceApptMemberCreateReq | ServiceApptMemberUpdateReq;
54
+ export interface ServiceApptMemberExportReq extends EntityExportReq {
55
+ req: ServiceApptMemberReq;
56
+ }
57
+ export interface ServiceApptMemberImportReq extends EntityImportReq {
58
+ tenant: any;
59
+ }
60
+ export interface ServiceApptMemberMoveKey {
61
+ tenant?: string;
62
+ recordId?: string;
63
+ memberId?: string;
64
+ up?: boolean;
65
+ }
66
+ export interface ServiceApptMemberEnableKey {
67
+ tenant?: string;
68
+ recordId?: string;
69
+ memberId?: string;
70
+ enable?: boolean;
71
+ }
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ServiceApptRecordApi, ServiceApptRecordReq, ServiceApptRecordModel, ServiceApptRecordPage, ServiceApptRecordList, ServiceApptRecordKey, ServiceApptRecordCreateReq, ServiceApptRecordUpdateReq, ServiceApptRecordExportReq, ServiceApptRecordImportReq } from "./types";
3
+ declare class ServiceApptRecordApiImpl implements ServiceApptRecordApi {
4
+ getKey(model: ServiceApptRecordModel): ServiceApptRecordKey;
5
+ findPage(query?: ServiceApptRecordReq): AxiosPromise<ServiceApptRecordPage>;
6
+ findList(query?: ServiceApptRecordReq): AxiosPromise<ServiceApptRecordList>;
7
+ findById(query: ServiceApptRecordKey): AxiosPromise<ServiceApptRecordModel>;
8
+ create(data: ServiceApptRecordCreateReq): AxiosPromise<ServiceApptRecordModel>;
9
+ update: (data: ServiceApptRecordUpdateReq) => AxiosPromise<ServiceApptRecordModel>;
10
+ move(key: ServiceApptRecordKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: ServiceApptRecordKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: ServiceApptRecordKey): AxiosPromise<ServiceApptRecordModel>;
13
+ batchDelete(keys: ServiceApptRecordKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: ServiceApptRecordImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: ServiceApptRecordExportReq): AxiosPromise;
17
+ exportPdf(queryParams: ServiceApptRecordExportReq): AxiosPromise;
18
+ }
19
+ declare const serviceApptRecordApi: ServiceApptRecordApiImpl;
20
+ export { serviceApptRecordApi };