xyvcard-asset 0.0.13 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. package/dist/assign-CbKUuMPJ.mjs +1603 -0
  2. package/dist/{edit-DR-WgdT5.mjs → edit-BMiwAU2V.mjs} +1 -1
  3. package/dist/{edit-C4aYV45m.mjs → edit-CX2z9EYu.mjs} +2 -2
  4. package/dist/{edit-BD4l4cZV.mjs → edit-D6NV2pb2.mjs} +1 -1
  5. package/dist/{edit-BIE_CJlr.mjs → edit-DfLSODib.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs → edit.vue_vue_type_script_setup_true_lang-B_2yu4sv.mjs} +96 -96
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs → edit.vue_vue_type_script_setup_true_lang-C8EJ4xOS.mjs} +57 -57
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs → edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs} +73 -73
  9. package/dist/{index-Bqv9_BYL.mjs → index--YY_lyB7.mjs} +51 -49
  10. package/dist/{index-Cz4CVX5Y.mjs → index-BQ16pRTg.mjs} +33 -33
  11. package/dist/{index-DfOZUIkb.mjs → index-BWZKXQRi.mjs} +9 -7
  12. package/dist/{index-rSyUfdXn.mjs → index-BiBCzEqz.mjs} +1 -1
  13. package/dist/{index-CKF69gMl.mjs → index-BqLh2sg0.mjs} +20 -20
  14. package/dist/{index-BzUXtBGU.mjs → index-Btpx1Vf2.mjs} +17 -17
  15. package/dist/{index-8j66ouA1.mjs → index-C4xJg5F_.mjs} +54 -54
  16. package/dist/{index-C9FfnHCZ.mjs → index-C5OQhStx.mjs} +6 -4
  17. package/dist/{index-CHaJu5hs.mjs → index-CFUAQG0g.mjs} +64 -69
  18. package/dist/{index-CuDcmifl.mjs → index-CMtqB1MP.mjs} +47 -47
  19. package/dist/{index-BxeGNuSx.mjs → index-D4T2vouF.mjs} +18 -15
  20. package/dist/{index-CJhQRbHt.mjs → index-DrajJZ20.mjs} +39 -39
  21. package/dist/{index-CGds22-2.mjs → index-Dw9AQlSo.mjs} +418 -399
  22. package/dist/{index-Ds5MwEwr.mjs → index-XlZKwbCX.mjs} +76 -76
  23. package/dist/index.mjs +2 -2
  24. package/dist/style.css +1 -1
  25. package/dts/App.vue.d.ts +1 -1
  26. package/dts/components/Upload/ImageUpload.vue.d.ts +6 -6
  27. package/dts/components/Upload/MultiUpload.vue.d.ts +6 -6
  28. package/dts/constant.d.ts +12 -0
  29. package/dts/views/asset/asset-asset/assign.vue.d.ts +5 -5
  30. package/dts/views/asset/asset-asset/edit.vue.d.ts +5 -5
  31. package/dts/views/asset/asset-asset/index.vue.d.ts +1 -1
  32. package/dts/views/asset/asset-asset/info/index.vue.d.ts +1 -1
  33. package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +5 -5
  34. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +1 -1
  35. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +1 -1
  36. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +1 -1
  37. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +1 -1
  38. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +1 -1
  39. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +1 -1
  40. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +1 -1
  41. package/dts/views/asset/asset-site/edit.vue.d.ts +5 -5
  42. package/dts/views/asset/asset-site/index.vue.d.ts +1 -1
  43. package/dts/views/asset/asset-site/info/index.vue.d.ts +1 -1
  44. package/dts/views/asset/asset-site-service/edit.vue.d.ts +5 -5
  45. package/dts/views/asset/asset-site-service/index.vue.d.ts +1 -1
  46. package/package.json +2 -2
  47. package/dist/assign-4SD6S-Fb.mjs +0 -1626
  48. package/dts/src/App.vue.d.ts +0 -2
  49. package/dts/src/api/asset/asset-asset/index.d.ts +0 -27
  50. package/dts/src/api/asset/asset-asset/types.d.ts +0 -115
  51. package/dts/src/api/asset/asset-asset-detail/index.d.ts +0 -20
  52. package/dts/src/api/asset/asset-asset-detail/types.d.ts +0 -65
  53. package/dts/src/api/asset/asset-inventory-record/index.d.ts +0 -15
  54. package/dts/src/api/asset/asset-inventory-record/types.d.ts +0 -63
  55. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +0 -20
  56. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +0 -71
  57. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +0 -9
  58. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +0 -37
  59. package/dts/src/api/asset/asset-site/index.d.ts +0 -15
  60. package/dts/src/api/asset/asset-site/types.d.ts +0 -71
  61. package/dts/src/api/asset/asset-site-service/index.d.ts +0 -14
  62. package/dts/src/api/asset/asset-site-service/types.d.ts +0 -81
  63. package/dts/src/api/dict.d.ts +0 -19
  64. package/dts/src/api/index.d.ts +0 -16
  65. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  66. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  67. package/dts/src/components/Upload/ImageUpload.vue.d.ts +0 -38
  68. package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -24
  69. package/dts/src/constant.d.ts +0 -19
  70. package/dts/src/index.d.ts +0 -6
  71. package/dts/src/lang/asset/en.d.ts +0 -2
  72. package/dts/src/lang/asset/zh-cn.d.ts +0 -117
  73. package/dts/src/lang/index.d.ts +0 -1
  74. package/dts/src/main.d.ts +0 -4
  75. package/dts/src/permission.d.ts +0 -1
  76. package/dts/src/router/page.d.ts +0 -6
  77. package/dts/src/utils/common.d.ts +0 -51
  78. package/dts/src/utils/index.d.ts +0 -24
  79. package/dts/src/utils/momentPlugin.d.ts +0 -5
  80. package/dts/src/views/asset/asset-asset/assign.vue.d.ts +0 -29
  81. package/dts/src/views/asset/asset-asset/edit.vue.d.ts +0 -22
  82. package/dts/src/views/asset/asset-asset/index.vue.d.ts +0 -2
  83. package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +0 -2
  84. package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +0 -2
  85. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  86. package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +0 -2
  87. package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +0 -2
  88. package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +0 -2
  89. package/dts/src/views/asset/asset-site/edit.vue.d.ts +0 -22
  90. package/dts/src/views/asset/asset-site/index.vue.d.ts +0 -2
  91. package/dts/src/views/asset/asset-site/info/index.vue.d.ts +0 -2
  92. package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +0 -22
  93. package/dts/src/views/asset/asset-site-service/index.vue.d.ts +0 -2
  94. package/dts/tsconfig.tsbuildinfo +0 -1
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1,27 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq, AssetassignReq, UnionOrgReq, UnionOrgTree } 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
- assignment(data: AssetassignReq): AxiosPromise<boolean>;
17
- exportExcel(queryParams: AssetExportReq): AxiosPromise;
18
- /**
19
- * 获取工会组织架构树形列表
20
- *
21
- * @param query 查询参数,可选
22
- * @returns 返回工会组织架构树形列表的 AxiosPromise 对象
23
- */
24
- findUnionOrgTreeListApi(query?: UnionOrgReq): AxiosPromise<UnionOrgTree>;
25
- }
26
- declare const assetApi: AssetApiImpl;
27
- export { assetApi };
@@ -1,115 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq, LayEntry } from "jmash-core";
2
- export interface AssetApi extends EntityApi {
3
- }
4
- export interface UnionOrgReq extends EntityReq {
5
- likeOrgName?: string;
6
- hasStatus?: boolean;
7
- status?: boolean;
8
- }
9
- export interface UnionOrgTree {
10
- results: LayEntry[];
11
- }
12
- export interface AssetReq extends EntityReq {
13
- hasAssetSort?: boolean;
14
- name?: string;
15
- assetSort?: string;
16
- assignStatus?: boolean;
17
- hasAssignStatus?: boolean;
18
- likeName?: string;
19
- }
20
- export interface AssetModel extends EntityModel {
21
- name?: string;
22
- assetId?: string;
23
- assetSort?: string;
24
- code?: string;
25
- number?: number;
26
- unit?: string;
27
- buyDate?: string;
28
- buyMoney?: string | number;
29
- oldMoney?: string | number;
30
- depreciationType?: string;
31
- useLimit?: number;
32
- monthDepreciation?: string;
33
- totalDepreciation?: string;
34
- }
35
- export interface AssetassignReq extends EntityUpdateReq {
36
- tentant?: string;
37
- assetId: string;
38
- requestId?: string;
39
- assignOrgs: Array<assignOrgsList>;
40
- name?: string;
41
- }
42
- export interface assignOrgsList {
43
- siteId?: string;
44
- orgId?: string;
45
- assignNumber?: number;
46
- }
47
- export interface AssetList extends EntityList {
48
- results: Array<AssetModel>;
49
- }
50
- export interface AssetPage extends EntityPage {
51
- results: Array<AssetModel>;
52
- subTotalDto: AssetModelTotal;
53
- totalDto: AssetModelTotal;
54
- }
55
- export interface AssetModelTotal extends EntityTotal {
56
- totalSize: number;
57
- }
58
- export interface AssetKey extends EntityKey {
59
- tenant?: string;
60
- assetId?: string;
61
- }
62
- export interface AssetKeyList extends EntityKeyList {
63
- tenant?: string;
64
- assetId?: Array<string>;
65
- }
66
- export interface AssetCreateReq extends EntityCreateReq {
67
- assetId?: string;
68
- name?: string;
69
- assetSort?: string;
70
- code?: string;
71
- number?: number;
72
- unit?: string;
73
- model?: string;
74
- buyDate?: string;
75
- buyMoney?: string | number;
76
- oldMoney?: string | number;
77
- depreciationType?: string;
78
- useLimit?: number;
79
- netSalvage?: string | number;
80
- monthDepreciation?: string;
81
- totalDepreciation?: string;
82
- }
83
- export interface AssetUpdateReq extends EntityUpdateReq {
84
- assetId?: string;
85
- name?: string;
86
- assetSort?: string;
87
- code?: string;
88
- number?: number;
89
- unit?: string;
90
- model?: string;
91
- buyDate?: string;
92
- buyMoney?: string | number;
93
- oldMoney?: string | number;
94
- depreciationType?: string;
95
- useLimit?: number;
96
- netSalvage?: string | number;
97
- monthDepreciation?: string | number;
98
- totalDepreciation?: string;
99
- }
100
- export type AssetFormReq = AssetCreateReq | AssetUpdateReq;
101
- export interface AssetExportReq extends EntityExportReq {
102
- req: AssetReq;
103
- }
104
- export interface AssetImportReq extends EntityImportReq {
105
- }
106
- export interface AssetMoveKey {
107
- tenant?: string;
108
- assetId?: string;
109
- up?: boolean;
110
- }
111
- export interface AssetEnableKey {
112
- tenant?: string;
113
- assetId?: string;
114
- enable?: boolean;
115
- }
@@ -1,20 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { AssetDetailApi, AssetDetailReq, AssetDetailModel, AssetDetailPage, AssetDetailList, AssetDetailKey, AssetDetailCreateReq, AssetDetailUpdateReq, AssetDetailExportReq, AssetDetailImportReq } from "./types";
3
- declare class AssetDetailApiImpl implements AssetDetailApi {
4
- getKey(model: AssetDetailModel): AssetDetailKey;
5
- findPage(query?: AssetDetailReq): AxiosPromise<AssetDetailPage>;
6
- findList(query?: AssetDetailReq): AxiosPromise<AssetDetailList>;
7
- findById(query: AssetDetailKey): AxiosPromise<AssetDetailModel>;
8
- create(data: AssetDetailCreateReq): AxiosPromise<AssetDetailModel>;
9
- update: (data: AssetDetailUpdateReq) => AxiosPromise<AssetDetailModel>;
10
- move(key: AssetDetailKey, up: boolean): AxiosPromise<boolean>;
11
- enable(key: AssetDetailKey, enable: boolean): AxiosPromise<boolean>;
12
- delete(query: AssetDetailKey): AxiosPromise<AssetDetailModel>;
13
- batchDelete(keys: AssetDetailKey[]): AxiosPromise<number>;
14
- downloadTemplate(): AxiosPromise;
15
- importExcel(data: AssetDetailImportReq): AxiosPromise<string>;
16
- exportExcel(queryParams: AssetDetailExportReq): AxiosPromise;
17
- exportPdf(queryParams: AssetDetailExportReq): AxiosPromise;
18
- }
19
- declare const assetDetailApi: AssetDetailApiImpl;
20
- export { assetDetailApi };
@@ -1,65 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
- export interface AssetDetailApi extends EntityApi {
3
- }
4
- export interface AssetDetailReq extends EntityReq {
5
- assetId?: string;
6
- }
7
- export interface AssetDetailModel extends EntityModel {
8
- detailId?: string;
9
- assetId?: string;
10
- siteId?: string;
11
- deviceCode?: string;
12
- deviceQrcode?: string;
13
- status?: string;
14
- }
15
- export interface AssetDetailList extends EntityList {
16
- results: Array<AssetDetailModel>;
17
- }
18
- export interface AssetDetailPage extends EntityPage {
19
- results: Array<AssetDetailModel>;
20
- subTotalDto: AssetDetailModelTotal;
21
- totalDto: AssetDetailModelTotal;
22
- }
23
- export interface AssetDetailModelTotal extends EntityTotal {
24
- totalSize: number;
25
- }
26
- export interface AssetDetailKey extends EntityKey {
27
- tenant?: string;
28
- detailId?: string;
29
- }
30
- export interface AssetDetailKeyList extends EntityKeyList {
31
- tenant?: string;
32
- detailId?: Array<string>;
33
- }
34
- export interface AssetDetailCreateReq extends EntityCreateReq {
35
- detailId?: string;
36
- assetId?: string;
37
- siteId?: string;
38
- deviceCode?: string;
39
- deviceQrcode?: string;
40
- status?: string;
41
- }
42
- export interface AssetDetailUpdateReq extends EntityUpdateReq {
43
- detailId?: string;
44
- assetId?: string;
45
- siteId?: string;
46
- deviceCode?: string;
47
- deviceQrcode?: string;
48
- status?: string;
49
- }
50
- export type AssetDetailFormReq = AssetDetailCreateReq | AssetDetailUpdateReq;
51
- export interface AssetDetailExportReq extends EntityExportReq {
52
- req: AssetDetailReq;
53
- }
54
- export interface AssetDetailImportReq extends EntityImportReq {
55
- }
56
- export interface AssetDetailMoveKey {
57
- tenant?: string;
58
- detailId?: string;
59
- up?: boolean;
60
- }
61
- export interface AssetDetailEnableKey {
62
- tenant?: string;
63
- detailId?: string;
64
- enable?: boolean;
65
- }
@@ -1,15 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { InventoryRecordApi, InventoryRecordReq, InventoryRecordModel, InventoryRecordPage, InventoryRecordList, InventoryRecordKey, InventoryRecordCreateReq, InventoryRecordUpdateReq } from "./types";
3
- declare class InventoryRecordApiImpl implements InventoryRecordApi {
4
- getKey(model: InventoryRecordModel): InventoryRecordKey;
5
- findPage(query?: InventoryRecordReq): AxiosPromise<InventoryRecordPage>;
6
- findList(query?: InventoryRecordReq): AxiosPromise<InventoryRecordList>;
7
- findById(query: InventoryRecordKey): AxiosPromise<InventoryRecordModel>;
8
- create(data: InventoryRecordCreateReq): AxiosPromise<InventoryRecordModel>;
9
- update: (data: InventoryRecordUpdateReq) => AxiosPromise<InventoryRecordModel>;
10
- delete(query: InventoryRecordKey): AxiosPromise<InventoryRecordModel>;
11
- batchDelete(keys: InventoryRecordKey[]): AxiosPromise<number>;
12
- downloadTemplate(): AxiosPromise;
13
- }
14
- declare const inventoryRecordApi: InventoryRecordApiImpl;
15
- export { inventoryRecordApi };
@@ -1,63 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
- export interface InventoryRecordApi extends EntityApi {
3
- }
4
- export interface InventoryRecordReq extends EntityReq {
5
- orgId?: string;
6
- siteName?: string;
7
- likeSiteName?: string;
8
- inventoryTime?: string;
9
- inventoryStartTime?: string;
10
- inventoryEndTime?: string;
11
- inventoryStatus?: string;
12
- hasInventoryStatus?: boolean;
13
- }
14
- export interface InventoryRecordModel extends EntityModel {
15
- inventoryId?: string;
16
- siteId?: string;
17
- siteName?: string;
18
- orgId?: string;
19
- inventoryTime?: string;
20
- userId?: string;
21
- userName?: string;
22
- inventoryStatus?: string;
23
- }
24
- export interface InventoryRecordList extends EntityList {
25
- results: Array<InventoryRecordModel>;
26
- }
27
- export interface InventoryRecordPage extends EntityPage {
28
- results: Array<InventoryRecordModel>;
29
- subTotalDto: InventoryRecordModelTotal;
30
- totalDto: InventoryRecordModelTotal;
31
- }
32
- export interface InventoryRecordModelTotal extends EntityTotal {
33
- totalSize: number;
34
- }
35
- export interface InventoryRecordKey extends EntityKey {
36
- tenant?: string;
37
- inventoryId?: string;
38
- }
39
- export interface InventoryRecordKeyList extends EntityKeyList {
40
- tenant?: string;
41
- inventoryId?: Array<string>;
42
- }
43
- export interface InventoryRecordCreateReq extends EntityCreateReq {
44
- inventoryId?: string;
45
- siteId?: string;
46
- siteName?: string;
47
- orgId?: string;
48
- inventoryTime?: string;
49
- userId?: string;
50
- userName?: string;
51
- inventoryStatus?: string;
52
- }
53
- export interface InventoryRecordUpdateReq extends EntityUpdateReq {
54
- inventoryId?: string;
55
- siteId?: string;
56
- siteName?: string;
57
- orgId?: string;
58
- inventoryTime?: string;
59
- userId?: string;
60
- userName?: string;
61
- inventoryStatus?: string;
62
- }
63
- export type InventoryRecordFormReq = InventoryRecordCreateReq | InventoryRecordUpdateReq;
@@ -1,20 +0,0 @@
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 };
@@ -1,71 +0,0 @@
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
- }
@@ -1,9 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { ServiceApptRecordApi, ServiceApptRecordReq, ServiceApptRecordModel, ServiceApptRecordPage, ServiceApptRecordKey } from "./types";
3
- declare class ServiceApptRecordApiImpl implements ServiceApptRecordApi {
4
- getKey(model: ServiceApptRecordModel): ServiceApptRecordKey;
5
- findPage(query?: ServiceApptRecordReq): AxiosPromise<ServiceApptRecordPage>;
6
- findById(query: ServiceApptRecordKey): AxiosPromise<ServiceApptRecordModel>;
7
- }
8
- declare const serviceApptRecordApi: ServiceApptRecordApiImpl;
9
- export { serviceApptRecordApi };
@@ -1,37 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey } from "jmash-core";
2
- export interface ServiceApptRecordApi extends EntityApi {
3
- }
4
- export interface ServiceApptRecordReq extends EntityReq {
5
- orgId?: string;
6
- siteId?: string;
7
- likeServiceName?: string;
8
- startDate?: string;
9
- endDate?: string;
10
- }
11
- export interface ServiceApptRecordModel extends EntityModel {
12
- recordId?: string;
13
- orgId?: string;
14
- siteId?: string;
15
- serviceName?: string;
16
- appointmentDate?: string;
17
- startDate?: string;
18
- endTime?: string;
19
- limitPerson?: number;
20
- apptPerson?: number;
21
- signPerson?: number;
22
- }
23
- export interface ServiceApptRecordList extends EntityList {
24
- results: Array<ServiceApptRecordModel>;
25
- }
26
- export interface ServiceApptRecordPage extends EntityPage {
27
- results: Array<ServiceApptRecordModel>;
28
- subTotalDto: ServiceApptRecordModelTotal;
29
- totalDto: ServiceApptRecordModelTotal;
30
- }
31
- export interface ServiceApptRecordModelTotal extends EntityTotal {
32
- totalSize: number;
33
- }
34
- export interface ServiceApptRecordKey extends EntityKey {
35
- tenant?: string;
36
- recordId?: string;
37
- }
@@ -1,15 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SiteApi, SiteReq, SiteModel, SitePage, SiteList, SiteKey, SiteCreateReq, SiteUpdateReq } from "./types";
3
- declare class SiteApiImpl implements SiteApi {
4
- getKey(model: SiteModel): SiteKey;
5
- findPage(query?: SiteReq): AxiosPromise<SitePage>;
6
- findList(query?: SiteReq): AxiosPromise<SiteList>;
7
- findById(query: SiteKey): AxiosPromise<SiteModel>;
8
- create(data: SiteCreateReq): AxiosPromise<SiteModel>;
9
- update: (data: SiteUpdateReq) => AxiosPromise<SiteModel>;
10
- enable(key: SiteKey, enable: boolean): AxiosPromise<boolean>;
11
- delete(query: SiteKey): AxiosPromise<SiteModel>;
12
- batchDelete(keys: SiteKey[]): AxiosPromise<number>;
13
- }
14
- declare const siteApi: SiteApiImpl;
15
- export { siteApi };
@@ -1,71 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
- export interface SiteApi extends EntityApi {
3
- }
4
- export interface SiteReq extends EntityReq {
5
- orgId?: string;
6
- likeName?: string;
7
- status?: true;
8
- hasStatus?: boolean;
9
- siteId?: string;
10
- }
11
- export interface SiteModel extends EntityModel {
12
- siteId?: string;
13
- orgId?: string;
14
- name?: string;
15
- address?: string;
16
- buildDate?: string;
17
- area?: string;
18
- status?: boolean;
19
- manager?: string;
20
- mobilePhone?: string;
21
- mobilePhoneIns?: string;
22
- createBy?: string;
23
- createTime?: string;
24
- siteQrcode?: string;
25
- mobileEncrypt?: boolean;
26
- }
27
- export interface SiteList extends EntityList {
28
- results: Array<SiteModel>;
29
- }
30
- export interface SitePage extends EntityPage {
31
- results: Array<SiteModel>;
32
- subTotalDto: SiteModelTotal;
33
- totalDto: SiteModelTotal;
34
- }
35
- export interface SiteModelTotal extends EntityTotal {
36
- totalSize: number;
37
- }
38
- export interface SiteKey extends EntityKey {
39
- tenant?: string;
40
- siteId?: string;
41
- }
42
- export interface SiteKeyList extends EntityKeyList {
43
- tenant?: string;
44
- siteId?: Array<string>;
45
- }
46
- export interface SiteCreateReq extends EntityCreateReq {
47
- orgId?: string;
48
- name?: string;
49
- address?: string;
50
- buildDate?: string;
51
- area?: string;
52
- manager?: string;
53
- mobilePhone?: string;
54
- }
55
- export interface SiteUpdateReq extends EntityUpdateReq {
56
- updateMask: string;
57
- siteId?: string;
58
- orgId?: string;
59
- name?: string;
60
- address?: string;
61
- buildDate?: string;
62
- area?: string;
63
- manager?: string;
64
- mobilePhone?: string;
65
- }
66
- export type SiteFormReq = SiteCreateReq | SiteUpdateReq;
67
- export interface SiteEnableKey {
68
- tenant?: string;
69
- siteId?: string;
70
- enable?: boolean;
71
- }
@@ -1,14 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SiteServiceApi, SiteServiceReq, SiteServiceModel, SiteServicePage, SiteServiceList, SiteServiceKey, SiteServiceCreateReq, SiteServiceUpdateReq } from "./types";
3
- declare class SiteServiceApiImpl implements SiteServiceApi {
4
- getKey(model: SiteServiceModel): SiteServiceKey;
5
- findPage(query?: SiteServiceReq): AxiosPromise<SiteServicePage>;
6
- findList(query?: SiteServiceReq): AxiosPromise<SiteServiceList>;
7
- findById(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
8
- create(data: SiteServiceCreateReq): AxiosPromise<SiteServiceModel>;
9
- update: (data: SiteServiceUpdateReq) => AxiosPromise<SiteServiceModel>;
10
- delete(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
11
- batchDelete(keys: SiteServiceKey[]): AxiosPromise<number>;
12
- }
13
- declare const siteServiceApi: SiteServiceApiImpl;
14
- export { siteServiceApi };
@@ -1,81 +0,0 @@
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
- serviceId?: string;
57
- }
58
- export interface LimitInfo {
59
- time?: string;
60
- startTime?: string;
61
- endTime?: string;
62
- limitPerson?: number;
63
- }
64
- export interface SiteServiceUpdateReq extends EntityUpdateReq {
65
- tenant?: string;
66
- requestId?: string;
67
- serviceId?: string;
68
- siteId?: string;
69
- serviceName?: string;
70
- minDay?: number;
71
- maxDay?: number;
72
- limitPerson?: number;
73
- status?: string;
74
- note?: string;
75
- startTime?: string;
76
- endTime?: string;
77
- manager?: string;
78
- orgId?: string;
79
- limitInfo: Array<LimitInfo>;
80
- }
81
- export type SiteServiceFormReq = SiteServiceCreateReq | SiteServiceUpdateReq;
@@ -1,19 +0,0 @@
1
- import { BizDict, BizLayDict, type Entry, type LayEntry } from "jmash-core";
2
- export declare class CustomBizDict {
3
- values: import("vue").Reactive<Entry[]>;
4
- query: any;
5
- constructor(results: any, query: any);
6
- getValue(key: string): string;
7
- }
8
- export declare class UnionOrgBizLayDict extends BizLayDict {
9
- useValues(): Promise<LayEntry[]>;
10
- }
11
- export declare class SiteBizLayDict extends BizDict {
12
- useValues(): Promise<Entry[]>;
13
- }
14
- export declare class serviceNameDict extends BizDict {
15
- useValues(): Promise<Entry[]>;
16
- }
17
- export declare class managerDict extends BizDict {
18
- useValues(): Promise<Entry[]>;
19
- }
@@ -1,16 +0,0 @@
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 assetsStatus: EnumDict;
14
- static readonly inventoryResults: EnumDict;
15
- static readonly depreciationTypeEnum: EnumDict;
16
- }