xyvcard-asset 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/README.md +52 -52
  2. package/dist/assign-DzQUNp-Y.mjs +1626 -0
  3. package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
  4. package/dist/{edit-CE3u81Q0.mjs → edit-DdzPtYyH.mjs} +1 -1
  5. package/dist/edit-Dn-QMuy6.mjs +4 -0
  6. package/dist/edit-FdqpKRgF.mjs +294 -0
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +152 -145
  8. package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
  10. package/dist/index copy-CxTCJcvX.mjs +75 -0
  11. package/dist/index-B4vUTwSW.mjs +171 -0
  12. package/dist/index-BK24yagy.mjs +1663 -0
  13. package/dist/index-BW-5IuVN.mjs +91 -0
  14. package/dist/index-BWwU9hSp.mjs +320 -0
  15. package/dist/index-BvKWLFdr.mjs +345 -0
  16. package/dist/index-BwbnYpa1.mjs +29 -0
  17. package/dist/index-C5_f5Lce.mjs +213 -0
  18. package/dist/index-CSMEsPcN.mjs +432 -0
  19. package/dist/index-CgAq70-p.mjs +314 -0
  20. package/dist/index-CugJCeed.mjs +373 -0
  21. package/dist/index-DElPNxc7.mjs +398 -0
  22. package/dist/index-De4u-LEl.mjs +325 -0
  23. package/dist/index-Dyo7je0Z.mjs +38 -0
  24. package/dist/index-FUnFB7nG.mjs +61 -0
  25. package/dist/index-GhvyIwc3.mjs +4 -0
  26. package/dist/index-axEqTssj.mjs +378 -0
  27. package/dist/index-jOcS7tqC.mjs +311 -0
  28. package/dist/index-pfeu6d82.mjs +4 -0
  29. package/dist/index.mjs +2753 -35
  30. package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
  31. package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
  32. package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +323 -0
  33. package/dist/style.css +1 -1
  34. package/dts/api/asset/asset-asset/index.d.ts +10 -5
  35. package/dts/api/asset/asset-asset/types.d.ts +39 -23
  36. package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
  37. package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
  38. package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
  39. package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
  40. package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
  41. package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
  42. package/dts/api/asset/asset-service-appt-member/index.d.ts +1 -12
  43. package/dts/api/asset/asset-service-appt-member/types.d.ts +1 -44
  44. package/dts/api/asset/asset-service-appt-record/index.d.ts +1 -12
  45. package/dts/api/asset/asset-service-appt-record/types.d.ts +7 -68
  46. package/dts/api/asset/asset-site/index.d.ts +1 -2
  47. package/dts/api/asset/asset-site/types.d.ts +4 -14
  48. package/dts/api/asset/asset-site-service/index.d.ts +1 -2
  49. package/dts/api/asset/asset-site-service/types.d.ts +1 -0
  50. package/dts/api/asset/text/index.d.ts +140 -0
  51. package/dts/api/asset/text/types.d.ts +179 -0
  52. package/dts/api/dict.d.ts +1 -4
  53. package/dts/api/index.d.ts +2 -0
  54. package/dts/components/{TMaps → PeopleSelectAsset}/index.vue.d.ts +5 -7
  55. package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
  56. package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
  57. package/dts/constant.d.ts +4 -1
  58. package/dts/index.d.ts +3 -1
  59. package/dts/lang/asset/zh-cn.d.ts +60 -1
  60. package/dts/router/page.d.ts +6 -0
  61. package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
  62. package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
  63. package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
  64. package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
  65. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
  66. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
  67. package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
  68. package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
  69. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
  70. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
  71. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
  72. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
  73. package/dts/src/api/asset/asset-site/index.d.ts +1 -2
  74. package/dts/src/api/asset/asset-site/types.d.ts +4 -14
  75. package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
  76. package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
  77. package/dts/src/api/asset/text/index.d.ts +0 -0
  78. package/dts/src/api/asset/text/types.d.ts +0 -0
  79. package/dts/src/api/dict.d.ts +1 -4
  80. package/dts/src/api/index.d.ts +2 -0
  81. package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
  82. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  83. package/dts/src/components copy/PeopleSelect/index.vue.d.ts +18 -0
  84. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
  85. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
  86. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
  87. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index/345/215/225/351/200/211/346/241/206/346/234/200/346/226/260.vue.d.ts" +34 -0
  88. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/tree/351/200/211/346/213/251/346/241/206/344/270/215/345/261/225/347/244/272/346/225/260/346/215/256,/344/270/213/346/226/271/351/242/204/350/247/210/346/225/260/346/215/256.vue.d.ts" +18 -0
  89. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +42 -0
  90. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//351/200/211/346/213/251/344/272/272/345/221/230/index.vue.d.ts" +34 -0
  91. package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +38 -0
  92. package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +24 -0
  93. package/dts/src/constant.d.ts +4 -1
  94. package/dts/src/index.d.ts +3 -1
  95. package/dts/src/lang/asset/zh-cn.d.ts +59 -1
  96. package/dts/src/router/page.d.ts +4 -0
  97. package/dts/src/utils/momentPlugin.d.ts +5 -0
  98. package/dts/{views/asset/asset-service-appt-member/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +14 -7
  99. package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +2 -0
  100. package/dts/src/views/asset/{asset-service-appt-member → asset-asset-detail}/edit.vue.d.ts +5 -7
  101. package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
  102. package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
  103. package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
  104. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  105. package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
  106. package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
  107. package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
  108. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  109. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  110. package/dts/tsconfig.tsbuildinfo +1 -1
  111. package/dts/utils/momentPlugin.d.ts +5 -0
  112. package/dts/views/asset/{asset-service-appt-record/edit.vue.d.ts → asset-asset/assign.vue.d.ts} +14 -7
  113. package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
  114. package/dts/{src/views/asset/asset-service-appt-record → views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
  115. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
  116. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
  117. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
  118. package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  119. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
  120. package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
  121. package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
  122. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
  123. package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  124. package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  125. package/package.json +7 -6
  126. package/dist/edit-Bo9bnbUP.mjs +0 -492
  127. package/dist/edit-DJFxVmvv.mjs +0 -624
  128. package/dist/edit-qp_2xtTZ.mjs +0 -242
  129. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
  130. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
  131. package/dist/index-Bf5U4Ucl.mjs +0 -369
  132. package/dist/index-Bh2imlN_.mjs +0 -149
  133. package/dist/index-CHNiaFZk.mjs +0 -291
  134. package/dist/index-CmlP_Rro.mjs +0 -332
  135. package/dist/index-Cqw_E8lr.mjs +0 -1269
  136. package/dist/index-DA_FS24d.mjs +0 -146
  137. package/dist/index-DKmGNvQl.mjs +0 -370
  138. package/dist/index-DLxpE9s5.mjs +0 -305
  139. package/dist/index-DWaL87j5.mjs +0 -89
  140. package/dist/index-jOnQLJaB.mjs +0 -416
  141. package/dist/index-pyyjj1xa.mjs +0 -187
  142. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
  143. package/dts/api/org/union-org/index.d.ts +0 -14
  144. package/dts/api/org/union-org/types.d.ts +0 -49
  145. package/dts/components/EnumRadio/index.vue.d.ts +0 -18
  146. package/dts/components/EnumSelect/index.vue.d.ts +0 -18
  147. package/dts/src/api/org/union-org/index.d.ts +0 -14
  148. package/dts/src/api/org/union-org/types.d.ts +0 -49
  149. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  150. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  151. /package/dts/{views/asset/asset-service-appt-member → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
  152. /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
@@ -0,0 +1,56 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityUpdateReq, EntityExportReq } from "jmash-core";
2
+ export interface AssetDetailApi extends EntityApi {
3
+ }
4
+ export interface AssetDetailReq extends EntityReq {
5
+ assetId?: string;
6
+ orgId?: string;
7
+ siteId?: string;
8
+ likeAssetName?: string;
9
+ assetSort?: string;
10
+ hasAssetSort?: boolean;
11
+ }
12
+ export interface AssetDetailModel extends EntityModel {
13
+ detailId?: string;
14
+ assetId?: string;
15
+ siteId?: string;
16
+ deviceCode?: string;
17
+ deviceQrcode?: string;
18
+ status?: string;
19
+ }
20
+ export interface AssetDetailList extends EntityList {
21
+ results: Array<AssetDetailModel>;
22
+ }
23
+ export interface AssetDetailPage extends EntityPage {
24
+ results: Array<AssetDetailModel>;
25
+ subTotalDto: AssetDetailModelTotal;
26
+ totalDto: AssetDetailModelTotal;
27
+ }
28
+ export interface AssetDetailModelTotal extends EntityTotal {
29
+ totalSize: number;
30
+ }
31
+ export interface AssetDetailKey extends EntityKey {
32
+ tenant?: string;
33
+ detailId?: string;
34
+ }
35
+ export interface AssetDetailKeyList extends EntityKeyList {
36
+ tenant?: string;
37
+ detailId?: Array<string>;
38
+ }
39
+ export interface AssetDetailUpdateReq extends EntityUpdateReq {
40
+ orgId?: string;
41
+ detailId?: string;
42
+ assetId?: string;
43
+ siteId?: string;
44
+ deviceCode?: string;
45
+ deviceQrcode?: string;
46
+ status?: string;
47
+ buyDate?: string;
48
+ assetSort?: string;
49
+ assetName?: string;
50
+ name?: string;
51
+ siteName?: string;
52
+ }
53
+ export type AssetDetailFormReq = AssetDetailUpdateReq;
54
+ export interface AssetDetailExportReq extends EntityExportReq {
55
+ req: AssetDetailReq;
56
+ }
@@ -0,0 +1,11 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { DepreciationRecordApi, DepreciationRecordReq, DepreciationRecordModel, DepreciationRecordPage, DepreciationRecordList, DepreciationRecordKey, DepreciationRecordExportReq } from "./types";
3
+ declare class DepreciationRecordApiImpl implements DepreciationRecordApi {
4
+ getKey(model: DepreciationRecordModel): DepreciationRecordKey;
5
+ findPage(query?: DepreciationRecordReq): AxiosPromise<DepreciationRecordPage>;
6
+ findList(query?: DepreciationRecordReq): AxiosPromise<DepreciationRecordList>;
7
+ findById(query: DepreciationRecordKey): AxiosPromise<DepreciationRecordModel>;
8
+ exportExcel(queryParams: DepreciationRecordExportReq): AxiosPromise;
9
+ }
10
+ declare const depreciationRecordApi: DepreciationRecordApiImpl;
11
+ export { depreciationRecordApi };
@@ -0,0 +1,38 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityExportReq } from "jmash-core";
2
+ export interface DepreciationRecordApi extends EntityApi {
3
+ }
4
+ export interface DepreciationRecordReq extends EntityReq {
5
+ assetSort?: string;
6
+ likeName?: string;
7
+ year?: number;
8
+ selectYear?: string;
9
+ assetId?: string;
10
+ }
11
+ export interface DepreciationRecordModel extends EntityModel {
12
+ recordId?: string;
13
+ assetId?: string;
14
+ yearMonth?: string;
15
+ depreciationMoney?: string;
16
+ }
17
+ export interface DepreciationRecordList extends EntityList {
18
+ results: Array<DepreciationRecordModel>;
19
+ }
20
+ export interface DepreciationRecordPage extends EntityPage {
21
+ results: Array<DepreciationRecordModel>;
22
+ subTotalDto: DepreciationRecordModelTotal;
23
+ totalDto: DepreciationRecordModelTotal;
24
+ }
25
+ export interface DepreciationRecordModelTotal extends EntityTotal {
26
+ totalSize: number;
27
+ }
28
+ export interface DepreciationRecordKey extends EntityKey {
29
+ tenant?: string;
30
+ recordId?: string;
31
+ }
32
+ export interface DepreciationRecordKeyList extends EntityKeyList {
33
+ tenant?: string;
34
+ recordId?: Array<string>;
35
+ }
36
+ export interface DepreciationRecordExportReq extends EntityExportReq {
37
+ req: DepreciationRecordReq;
38
+ }
@@ -0,0 +1,10 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { InventoryRecordApi, InventoryRecordReq, InventoryRecordModel, InventoryRecordPage, InventoryRecordKey } from "./types";
3
+ declare class InventoryRecordApiImpl implements InventoryRecordApi {
4
+ getKey(model: InventoryRecordModel): InventoryRecordKey;
5
+ findPage(query?: InventoryRecordReq): AxiosPromise<InventoryRecordPage>;
6
+ findInfoAssetPage(query?: InventoryRecordKey): AxiosPromise<InventoryRecordPage>;
7
+ findById(query: InventoryRecordKey): AxiosPromise<InventoryRecordModel>;
8
+ }
9
+ declare const inventoryRecordApi: InventoryRecordApiImpl;
10
+ export { inventoryRecordApi };
@@ -0,0 +1,62 @@
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
+ inventoryStartTime?: string;
9
+ inventoryEndTime?: string;
10
+ inventoryStatus?: string;
11
+ hasInventoryStatus?: boolean;
12
+ }
13
+ export interface InventoryRecordModel extends EntityModel {
14
+ inventoryId?: string;
15
+ siteId?: string;
16
+ siteName?: string;
17
+ orgId?: string;
18
+ inventoryTime?: string;
19
+ userId?: string;
20
+ userName?: string;
21
+ inventoryStatus?: string;
22
+ }
23
+ export interface InventoryRecordList extends EntityList {
24
+ results: Array<InventoryRecordModel>;
25
+ }
26
+ export interface InventoryRecordPage extends EntityPage {
27
+ results: Array<InventoryRecordModel>;
28
+ subTotalDto: InventoryRecordModelTotal;
29
+ totalDto: InventoryRecordModelTotal;
30
+ }
31
+ export interface InventoryRecordModelTotal extends EntityTotal {
32
+ totalSize: number;
33
+ }
34
+ export interface InventoryRecordKey extends EntityKey {
35
+ tenant?: string;
36
+ inventoryId?: string;
37
+ }
38
+ export interface InventoryRecordKeyList extends EntityKeyList {
39
+ tenant?: string;
40
+ inventoryId?: Array<string>;
41
+ }
42
+ export interface InventoryRecordCreateReq extends EntityCreateReq {
43
+ inventoryId?: string;
44
+ siteId?: string;
45
+ siteName?: string;
46
+ orgId?: string;
47
+ inventoryTime?: string;
48
+ userId?: string;
49
+ userName?: string;
50
+ inventoryStatus?: string;
51
+ }
52
+ export interface InventoryRecordUpdateReq extends EntityUpdateReq {
53
+ inventoryId?: string;
54
+ siteId?: string;
55
+ siteName?: string;
56
+ orgId?: string;
57
+ inventoryTime?: string;
58
+ userId?: string;
59
+ userName?: string;
60
+ inventoryStatus?: string;
61
+ }
62
+ export type InventoryRecordFormReq = InventoryRecordCreateReq | InventoryRecordUpdateReq;
@@ -1,20 +1,9 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { ServiceApptMemberApi, ServiceApptMemberReq, ServiceApptMemberModel, ServiceApptMemberPage, ServiceApptMemberList, ServiceApptMemberKey, ServiceApptMemberCreateReq, ServiceApptMemberUpdateReq, ServiceApptMemberExportReq, ServiceApptMemberImportReq } from "./types";
2
+ import type { ServiceApptMemberApi, ServiceApptMemberReq, ServiceApptMemberModel, ServiceApptMemberPage, ServiceApptMemberList, ServiceApptMemberKey } from "./types";
3
3
  declare class ServiceApptMemberApiImpl implements ServiceApptMemberApi {
4
4
  getKey(model: ServiceApptMemberModel): ServiceApptMemberKey;
5
5
  findPage(query?: ServiceApptMemberReq): AxiosPromise<ServiceApptMemberPage>;
6
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
7
  }
19
8
  declare const serviceApptMemberApi: ServiceApptMemberApiImpl;
20
9
  export { serviceApptMemberApi };
@@ -1,19 +1,14 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey } from "jmash-core";
2
2
  export interface ServiceApptMemberApi extends EntityApi {
3
3
  }
4
4
  export interface ServiceApptMemberReq extends EntityReq {
5
5
  recordId?: string;
6
- memberId?: string;
7
- realName?: string;
8
- status?: string;
9
- statusTime?: string;
10
6
  }
11
7
  export interface ServiceApptMemberModel extends EntityModel {
12
8
  recordId?: string;
13
9
  memberId?: string;
14
10
  realName?: string;
15
11
  status?: string;
16
- statusTime?: string;
17
12
  }
18
13
  export interface ServiceApptMemberList extends EntityList {
19
14
  results: Array<ServiceApptMemberModel>;
@@ -27,45 +22,7 @@ export interface ServiceApptMemberModelTotal extends EntityTotal {
27
22
  totalSize: number;
28
23
  }
29
24
  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
25
  tenant?: string;
68
26
  recordId?: string;
69
27
  memberId?: string;
70
- enable?: boolean;
71
28
  }
@@ -1,20 +1,9 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { ServiceApptRecordApi, ServiceApptRecordReq, ServiceApptRecordModel, ServiceApptRecordPage, ServiceApptRecordList, ServiceApptRecordKey, ServiceApptRecordCreateReq, ServiceApptRecordUpdateReq, ServiceApptRecordExportReq, ServiceApptRecordImportReq } from "./types";
2
+ import type { ServiceApptRecordApi, ServiceApptRecordReq, ServiceApptRecordModel, ServiceApptRecordPage, ServiceApptRecordKey } from "./types";
3
3
  declare class ServiceApptRecordApiImpl implements ServiceApptRecordApi {
4
4
  getKey(model: ServiceApptRecordModel): ServiceApptRecordKey;
5
5
  findPage(query?: ServiceApptRecordReq): AxiosPromise<ServiceApptRecordPage>;
6
- findList(query?: ServiceApptRecordReq): AxiosPromise<ServiceApptRecordList>;
7
6
  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
7
  }
19
8
  declare const serviceApptRecordApi: ServiceApptRecordApiImpl;
20
9
  export { serviceApptRecordApi };
@@ -1,29 +1,20 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { EpPropMergeType } from "element-plus/es/utils/index.mjs";
3
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey } from "jmash-core";
4
2
  export interface ServiceApptRecordApi extends EntityApi {
5
- update(arg0: ServiceApptRecordUpdateReq): AxiosPromise<EntityModel>;
6
3
  }
7
4
  export interface ServiceApptRecordReq extends EntityReq {
8
- orgId?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
9
- appointmentDate?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
10
- siteId?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
11
- serviceId?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
12
- likeServiceName?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
13
- endDate?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
14
- startDate?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
5
+ orgId?: string;
6
+ siteId?: string;
7
+ likeServiceName?: string;
8
+ startDate?: string;
9
+ endDate?: string;
15
10
  }
16
11
  export interface ServiceApptRecordModel extends EntityModel {
17
12
  recordId?: string;
18
- limitId?: string;
19
13
  orgId?: string;
20
- orgName?: string;
21
14
  siteId?: string;
22
- siteName?: string;
23
- serviceId?: string;
24
15
  serviceName?: string;
25
16
  appointmentDate?: string;
26
- startDate?: string;
17
+ startTime?: string;
27
18
  endTime?: string;
28
19
  limitPerson?: number;
29
20
  apptPerson?: number;
@@ -44,55 +35,3 @@ export interface ServiceApptRecordKey extends EntityKey {
44
35
  tenant?: string;
45
36
  recordId?: string;
46
37
  }
47
- export interface ServiceApptRecordKeyList extends EntityKeyList {
48
- tenant?: string;
49
- recordId?: Array<string>;
50
- }
51
- export interface ServiceApptRecordCreateReq extends EntityCreateReq {
52
- recordId?: string;
53
- limitId?: string;
54
- orgId?: string;
55
- orgName?: string;
56
- siteId?: string;
57
- siteName?: string;
58
- serviceId?: string;
59
- serviceName?: string;
60
- appointmentDate?: string;
61
- startTime?: string;
62
- endTime?: string;
63
- limitPerson?: number;
64
- apptPerson?: number;
65
- signPerson?: number;
66
- }
67
- export interface ServiceApptRecordUpdateReq extends EntityUpdateReq {
68
- recordId?: string;
69
- limitId?: string;
70
- orgId?: string;
71
- orgName?: string;
72
- siteId?: string;
73
- siteName?: string;
74
- serviceId?: string;
75
- serviceName?: string;
76
- appointmentDate?: string;
77
- startTime?: string;
78
- endTime?: string;
79
- limitPerson?: number;
80
- apptPerson?: number;
81
- signPerson?: number;
82
- }
83
- export type ServiceApptRecordFormReq = ServiceApptRecordCreateReq | ServiceApptRecordUpdateReq;
84
- export interface ServiceApptRecordExportReq extends EntityExportReq {
85
- req: ServiceApptRecordReq;
86
- }
87
- export interface ServiceApptRecordImportReq extends EntityImportReq {
88
- }
89
- export interface ServiceApptRecordMoveKey {
90
- tenant?: string;
91
- recordId?: string;
92
- up?: boolean;
93
- }
94
- export interface ServiceApptRecordEnableKey {
95
- tenant?: string;
96
- recordId?: string;
97
- enable?: boolean;
98
- }
@@ -6,10 +6,9 @@ declare class SiteApiImpl implements SiteApi {
6
6
  findList(query?: SiteReq): AxiosPromise<SiteList>;
7
7
  findById(query: SiteKey): AxiosPromise<SiteModel>;
8
8
  create(data: SiteCreateReq): AxiosPromise<SiteModel>;
9
- update: (data: SiteUpdateReq) => AxiosPromise<SiteModel>;
9
+ update(data: SiteUpdateReq): AxiosPromise<SiteModel>;
10
10
  enable(key: SiteKey, enable: boolean): AxiosPromise<boolean>;
11
11
  delete(query: SiteKey): AxiosPromise<SiteModel>;
12
- batchDelete(keys: SiteKey[]): AxiosPromise<number>;
13
12
  }
14
13
  declare const siteApi: SiteApiImpl;
15
14
  export { siteApi };
@@ -1,4 +1,4 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
2
  export interface SiteApi extends EntityApi {
3
3
  }
4
4
  export interface SiteReq extends EntityReq {
@@ -22,6 +22,7 @@ export interface SiteModel extends EntityModel {
22
22
  createBy?: string;
23
23
  createTime?: string;
24
24
  siteQrcode?: string;
25
+ mobileEncrypt?: boolean;
25
26
  }
26
27
  export interface SiteList extends EntityList {
27
28
  results: Array<SiteModel>;
@@ -40,40 +41,29 @@ export interface SiteKey extends EntityKey {
40
41
  }
41
42
  export interface SiteKeyList extends EntityKeyList {
42
43
  tenant?: string;
43
- siteId?: Array<any>;
44
+ siteId?: Array<string>;
44
45
  }
45
46
  export interface SiteCreateReq extends EntityCreateReq {
46
- siteId?: string;
47
47
  orgId?: string;
48
48
  name?: string;
49
49
  address?: string;
50
50
  buildDate?: string;
51
51
  area?: string;
52
- status?: boolean;
53
52
  manager?: string;
54
53
  mobilePhone?: string;
55
- mobilePhoneIns?: string;
56
- createTime?: string;
57
54
  }
58
55
  export interface SiteUpdateReq extends EntityUpdateReq {
56
+ updateMask: string;
59
57
  siteId?: string;
60
58
  orgId?: string;
61
59
  name?: string;
62
60
  address?: string;
63
61
  buildDate?: string;
64
62
  area?: string;
65
- status?: boolean;
66
63
  manager?: string;
67
64
  mobilePhone?: string;
68
- mobilePhoneIns?: string;
69
- createTime?: string;
70
65
  }
71
66
  export type SiteFormReq = SiteCreateReq | SiteUpdateReq;
72
- export interface SiteExportReq extends EntityExportReq {
73
- req: SiteReq;
74
- }
75
- export interface SiteImportReq extends EntityImportReq {
76
- }
77
67
  export interface SiteEnableKey {
78
68
  tenant?: string;
79
69
  siteId?: string;
@@ -6,9 +6,8 @@ declare class SiteServiceApiImpl implements SiteServiceApi {
6
6
  findList(query?: SiteServiceReq): AxiosPromise<SiteServiceList>;
7
7
  findById(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
8
8
  create(data: SiteServiceCreateReq): AxiosPromise<SiteServiceModel>;
9
- update: (data: SiteServiceUpdateReq) => AxiosPromise<SiteServiceModel>;
9
+ update(data: SiteServiceUpdateReq): AxiosPromise<SiteServiceModel>;
10
10
  delete(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
11
- batchDelete(keys: SiteServiceKey[]): AxiosPromise<number>;
12
11
  }
13
12
  declare const siteServiceApi: SiteServiceApiImpl;
14
13
  export { siteServiceApi };
@@ -53,6 +53,7 @@ export interface SiteServiceCreateReq extends EntityCreateReq {
53
53
  manager?: string;
54
54
  orgId: string;
55
55
  limitInfo: Array<LimitInfo>;
56
+ serviceId?: string;
56
57
  }
57
58
  export interface LimitInfo {
58
59
  time?: string;
@@ -0,0 +1,140 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { UserReq, UserApi, UserPage, UserCreateReq, UserUpdateReq, UserKey, UserModel, UserKeyList, UserImportReq, UserExportReq, UserResetPwdReq, OpensKey, UserLockReq, UserApprovedReq, DirectoryModel, UserOpenList, UserOpenModel } from "./types";
3
+ declare class UserApiImpl implements UserApi {
4
+ getKey(model: UserModel): UserKey;
5
+ /**
6
+ * 获取分页信息
7
+ *
8
+ * @param queryParams 分页查询参数
9
+ * @returns 返回请求结果
10
+ */
11
+ findPage(query: UserReq): AxiosPromise<UserPage>;
12
+ findById(query: UserKey): AxiosPromise<UserModel>;
13
+ /**
14
+ * 删除用户
15
+ *
16
+ * @param userId 用户ID
17
+ * @returns 返回请求结果
18
+ */
19
+ delete(query: UserKey): AxiosPromise<UserModel>;
20
+ /**
21
+ * 批量删除用户
22
+ *
23
+ * @param ids 用户ID数组
24
+ * @returns 返回请求结果
25
+ */
26
+ batchDelete(keys: UserKey[]): AxiosPromise<number>;
27
+ /**
28
+ * 添加用户
29
+ *
30
+ * @param data 用户数据
31
+ * @returns 返回请求结果
32
+ */
33
+ create(data: UserCreateReq): AxiosPromise<UserModel>;
34
+ /**
35
+ * 编辑用户信息
36
+ *
37
+ * @param data 用户数据
38
+ * @returns 返回请求结果
39
+ */
40
+ update(data: UserUpdateReq): AxiosPromise<UserModel>;
41
+ /**
42
+ * 启用禁用用户API
43
+ *
44
+ * @param userId 用户ID
45
+ * @returns 返回请求结果
46
+ */
47
+ enable(key: UserKey, enable: boolean): AxiosPromise<boolean>;
48
+ /**
49
+ * 批量启用禁用用户API
50
+ *
51
+ * @param data 批量启用用户的数据
52
+ * @returns 返回请求结果
53
+ */
54
+ batchEnable(key: UserKeyList, enable: boolean): AxiosPromise<number>;
55
+ /**
56
+ * 下载用户模板
57
+ *
58
+ * @returns 返回请求的 Promise 对象
59
+ */
60
+ downloadTemplate(): AxiosPromise;
61
+ /**
62
+ * 导入用户
63
+ *
64
+ * @param data 用户数据
65
+ * @returns 返回请求结果
66
+ */
67
+ importExcel(data: UserImportReq): AxiosPromise<string>;
68
+ /**
69
+ * 导出用户Excel文件
70
+ *
71
+ * @param queryParams 查询参数,可选
72
+ * @returns 返回一个Promise对象,用于处理响应结果
73
+ */
74
+ exportExcel(queryParams: UserExportReq): AxiosPromise;
75
+ /**
76
+ * 导出用户PDF文件
77
+ *
78
+ * @param queryParams 查询参数,可选
79
+ * @returns 返回请求结果
80
+ */
81
+ exportPdf(queryParams: UserExportReq): AxiosPromise;
82
+ /**
83
+ * 用户锁定
84
+ *
85
+ * @param data 锁定用户所需的数据
86
+ * @returns 返回请求结果
87
+ */
88
+ userUnlock(data: UserLockReq): AxiosPromise<number>;
89
+ /**
90
+ * 重置密码
91
+ *
92
+ * @param data 包含用户名和新密码的对象
93
+ * @returns 返回请求结果
94
+ */
95
+ resetpwd(data: UserResetPwdReq): AxiosPromise<boolean>;
96
+ /**
97
+ * 用户审核API
98
+ *
99
+ * @param data 请求数据
100
+ * @returns 返回请求结果
101
+ */
102
+ approveUserApi(data: UserApprovedReq): AxiosPromise<number>;
103
+ /**
104
+ * 获取目录API
105
+ *
106
+ * @returns 返回一个请求对象
107
+ */
108
+ getDirectoryApi(): AxiosPromise<DirectoryModel>;
109
+ /**
110
+ * 判断邮箱/手机号/用户名是否存在
111
+ *
112
+ * @param userId 用户ID
113
+ * @param userName 邮箱/手机号/用户名
114
+ * @returns 返回请求结果
115
+ */
116
+ existUser(userId: string, userName: string): AxiosPromise<boolean>;
117
+ /**
118
+ * 第三方登录列表
119
+ *
120
+ * @param userId 用户ID
121
+ * @returns 返回请求结果
122
+ */
123
+ openList(query: UserKey): AxiosPromise<UserOpenList>;
124
+ /**
125
+ * 解绑第三方登录
126
+ *
127
+ * @param query 请求参数
128
+ * @returns 返回请求结果
129
+ */
130
+ unBindOpens(query: OpensKey): AxiosPromise<UserOpenModel>;
131
+ }
132
+ declare const userApi: UserApiImpl;
133
+ export { userApi };
134
+ /**
135
+ * 获取用户ID
136
+ *
137
+ * @param userId 用户ID
138
+ * @returns 返回请求结果
139
+ */
140
+ export declare function userId(userId: string): Promise<import("axios").AxiosResponse<any, any>>;