xyvcard-asset 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. package/dist/{assign-DzQUNp-Y.mjs → assign-4SD6S-Fb.mjs} +1 -1
  2. package/dist/common-CshrwPyx.mjs +26 -0
  3. package/dist/{edit-O1D_xFra.mjs → edit-BD4l4cZV.mjs} +1 -1
  4. package/dist/{edit-CCrekeeb.mjs → edit-BIE_CJlr.mjs} +1 -1
  5. package/dist/{edit-FdqpKRgF.mjs → edit-C4aYV45m.mjs} +2 -2
  6. package/dist/{edit-Dn-QMuy6.mjs → edit-DR-WgdT5.mjs} +1 -1
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs → edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs} +112 -101
  8. package/dist/edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs +446 -0
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs → edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs} +1 -2
  10. package/dist/{index-B4vUTwSW.mjs → index-8j66ouA1.mjs} +1 -1
  11. package/dist/{index-CSMEsPcN.mjs → index-Bqv9_BYL.mjs} +3 -3
  12. package/dist/{index-BvKWLFdr.mjs → index-BxeGNuSx.mjs} +57 -47
  13. package/dist/{index-De4u-LEl.mjs → index-BzUXtBGU.mjs} +111 -108
  14. package/dist/{index-DElPNxc7.mjs → index-C9FfnHCZ.mjs} +2 -2
  15. package/dist/{index-BK24yagy.mjs → index-CGds22-2.mjs} +145 -136
  16. package/dist/{index-BWwU9hSp.mjs → index-CHaJu5hs.mjs} +92 -82
  17. package/dist/{index-BpYjnXUI.mjs → index-CJhQRbHt.mjs} +2 -2
  18. package/dist/{index-axEqTssj.mjs → index-CKF69gMl.mjs} +3 -3
  19. package/dist/index-CuDcmifl.mjs +165 -0
  20. package/dist/{index-jOcS7tqC.mjs → index-Cz4CVX5Y.mjs} +2 -2
  21. package/dist/{index-CgAq70-p.mjs → index-DfOZUIkb.mjs} +1 -1
  22. package/dist/{index-C5_f5Lce.mjs → index-Ds5MwEwr.mjs} +1 -1
  23. package/dist/{index-FUnFB7nG.mjs → index-rSyUfdXn.mjs} +1 -1
  24. package/dist/index.mjs +110 -107
  25. package/dts/api/asset/asset-site-service/index.d.ts +2 -1
  26. package/dts/api/asset/asset-site-service/types.d.ts +19 -1
  27. package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
  28. package/dts/lang/asset/zh-cn.d.ts +3 -0
  29. package/dts/src/api/asset/asset-asset/index.d.ts +3 -1
  30. package/dts/src/api/asset/asset-asset/types.d.ts +23 -17
  31. package/dts/src/api/asset/asset-asset-detail/index.d.ts +10 -2
  32. package/dts/src/api/asset/asset-asset-detail/types.d.ts +22 -13
  33. package/dts/src/api/asset/asset-inventory-record/index.d.ts +7 -2
  34. package/dts/src/api/asset/asset-inventory-record/types.d.ts +1 -0
  35. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +12 -1
  36. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +44 -1
  37. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +1 -1
  38. package/dts/src/api/asset/asset-site/index.d.ts +2 -1
  39. package/dts/src/api/asset/asset-site-service/index.d.ts +2 -1
  40. package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
  41. package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
  42. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  43. package/dts/src/index.d.ts +1 -1
  44. package/dts/src/lang/asset/zh-cn.d.ts +6 -38
  45. package/dts/src/router/page.d.ts +0 -2
  46. package/dts/src/views/asset/{asset-asset-detail → asset-service-appt-member}/edit.vue.d.ts +7 -5
  47. package/dts/tsconfig.tsbuildinfo +1 -1
  48. package/dts/utils/common.d.ts +4 -0
  49. package/package.json +3 -3
  50. package/dist/common-kbgEWG-E.mjs +0 -24
  51. package/dist/edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs +0 -385
  52. package/dist/index copy-CxTCJcvX.mjs +0 -75
  53. package/dist/index-BW-5IuVN.mjs +0 -91
  54. package/dist/index-GhvyIwc3.mjs +0 -4
  55. package/dist/index-pfeu6d82.mjs +0 -4
  56. package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +0 -110
  57. package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +0 -54
  58. package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +0 -323
  59. package/dts/components/PeopleSelectAsset/index.vue.d.ts +0 -18
  60. package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +0 -14
  61. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +0 -11
  62. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +0 -38
  63. package/dts/src/api/asset/text/index.d.ts +0 -0
  64. package/dts/src/api/asset/text/types.d.ts +0 -0
  65. package/dts/src/components/PeopleSelect/index.vue.d.ts +0 -18
  66. package/dts/src/components/deptPeopleSelect/index.vue.d.ts +0 -2
  67. package/dts/src/components copy/PeopleSelect/index.vue.d.ts +0 -18
  68. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +0 -34
  69. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +0 -18
  70. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +0 -34
  71. 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" +0 -34
  72. 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" +0 -18
  73. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +0 -42
  74. 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" +0 -34
  75. package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +0 -38
  76. package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +0 -24
  77. package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +0 -2
  78. package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +0 -2
  79. package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +0 -2
  80. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
  81. package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
  82. package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +0 -2
  83. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
  84. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
  85. package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
  86. package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +0 -2
  87. package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
  88. package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
  89. package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
  90. /package/dts/src/{components copy/deptPeopleSelect → views/asset/asset-service-appt-member}/index.vue.d.ts +0 -0
@@ -24,22 +24,18 @@ export interface AssetModel extends EntityModel {
24
24
  code?: string;
25
25
  number?: number;
26
26
  unit?: string;
27
- model?: string;
28
27
  buyDate?: string;
29
- buyMoney?: number;
30
- oldMoney?: number;
28
+ buyMoney?: string | number;
29
+ oldMoney?: string | number;
31
30
  depreciationType?: string;
32
31
  useLimit?: number;
33
32
  monthDepreciation?: string;
34
- assignStatus?: boolean;
35
33
  totalDepreciation?: string;
36
- netSalvage?: string;
37
- netAssetValue?: string;
38
34
  }
39
35
  export interface AssetassignReq extends EntityUpdateReq {
40
36
  tentant?: string;
41
- requestId?: string;
42
37
  assetId: string;
38
+ requestId?: string;
43
39
  assignOrgs: Array<assignOrgsList>;
44
40
  name?: string;
45
41
  }
@@ -68,19 +64,19 @@ export interface AssetKeyList extends EntityKeyList {
68
64
  assetId?: Array<string>;
69
65
  }
70
66
  export interface AssetCreateReq extends EntityCreateReq {
67
+ assetId?: string;
71
68
  name?: string;
69
+ assetSort?: string;
72
70
  code?: string;
73
71
  number?: number;
74
72
  unit?: string;
75
- buyDate?: string;
76
- assetSort?: string;
77
- assetId?: string;
78
73
  model?: string;
79
- buyMoney?: number;
80
- oldMoney?: number;
74
+ buyDate?: string;
75
+ buyMoney?: string | number;
76
+ oldMoney?: string | number;
81
77
  depreciationType?: string;
82
78
  useLimit?: number;
83
- netSalvage?: number;
79
+ netSalvage?: string | number;
84
80
  monthDepreciation?: string;
85
81
  totalDepreciation?: string;
86
82
  }
@@ -93,12 +89,12 @@ export interface AssetUpdateReq extends EntityUpdateReq {
93
89
  unit?: string;
94
90
  model?: string;
95
91
  buyDate?: string;
96
- buyMoney?: number;
97
- oldMoney?: number;
92
+ buyMoney?: string | number;
93
+ oldMoney?: string | number;
98
94
  depreciationType?: string;
99
95
  useLimit?: number;
100
- netSalvage?: number;
101
- monthDepreciation?: number;
96
+ netSalvage?: string | number;
97
+ monthDepreciation?: string | number;
102
98
  totalDepreciation?: string;
103
99
  }
104
100
  export type AssetFormReq = AssetCreateReq | AssetUpdateReq;
@@ -107,3 +103,13 @@ export interface AssetExportReq extends EntityExportReq {
107
103
  }
108
104
  export interface AssetImportReq extends EntityImportReq {
109
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,12 +1,20 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { AssetDetailApi, AssetDetailReq, AssetDetailModel, AssetDetailPage, AssetDetailList, AssetDetailKey, AssetDetailUpdateReq, AssetDetailExportReq } from "./types";
2
+ import type { AssetDetailApi, AssetDetailReq, AssetDetailModel, AssetDetailPage, AssetDetailList, AssetDetailKey, AssetDetailCreateReq, AssetDetailUpdateReq, AssetDetailExportReq, AssetDetailImportReq } from "./types";
3
3
  declare class AssetDetailApiImpl implements AssetDetailApi {
4
4
  getKey(model: AssetDetailModel): AssetDetailKey;
5
5
  findPage(query?: AssetDetailReq): AxiosPromise<AssetDetailPage>;
6
6
  findList(query?: AssetDetailReq): AxiosPromise<AssetDetailList>;
7
7
  findById(query: AssetDetailKey): AxiosPromise<AssetDetailModel>;
8
- update(data: AssetDetailUpdateReq): 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>;
9
16
  exportExcel(queryParams: AssetDetailExportReq): AxiosPromise;
17
+ exportPdf(queryParams: AssetDetailExportReq): AxiosPromise;
10
18
  }
11
19
  declare const assetDetailApi: AssetDetailApiImpl;
12
20
  export { assetDetailApi };
@@ -1,13 +1,8 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityUpdateReq, EntityExportReq } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
2
  export interface AssetDetailApi extends EntityApi {
3
3
  }
4
4
  export interface AssetDetailReq extends EntityReq {
5
5
  assetId?: string;
6
- orgId?: string;
7
- siteId?: string;
8
- likeAssetName?: string;
9
- assetSort?: string;
10
- hasAssetSort?: boolean;
11
6
  }
12
7
  export interface AssetDetailModel extends EntityModel {
13
8
  detailId?: string;
@@ -36,21 +31,35 @@ export interface AssetDetailKeyList extends EntityKeyList {
36
31
  tenant?: string;
37
32
  detailId?: Array<string>;
38
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
+ }
39
42
  export interface AssetDetailUpdateReq extends EntityUpdateReq {
40
- orgId?: string;
41
43
  detailId?: string;
42
44
  assetId?: string;
43
45
  siteId?: string;
44
46
  deviceCode?: string;
45
47
  deviceQrcode?: string;
46
48
  status?: string;
47
- buyDate?: string;
48
- assetSort?: string;
49
- assetName?: string;
50
- name?: string;
51
- siteName?: string;
52
49
  }
53
- export type AssetDetailFormReq = AssetDetailUpdateReq;
50
+ export type AssetDetailFormReq = AssetDetailCreateReq | AssetDetailUpdateReq;
54
51
  export interface AssetDetailExportReq extends EntityExportReq {
55
52
  req: AssetDetailReq;
56
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,10 +1,15 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { InventoryRecordApi, InventoryRecordReq, InventoryRecordModel, InventoryRecordPage, InventoryRecordKey } from "./types";
2
+ import type { InventoryRecordApi, InventoryRecordReq, InventoryRecordModel, InventoryRecordPage, InventoryRecordList, InventoryRecordKey, InventoryRecordCreateReq, InventoryRecordUpdateReq } from "./types";
3
3
  declare class InventoryRecordApiImpl implements InventoryRecordApi {
4
4
  getKey(model: InventoryRecordModel): InventoryRecordKey;
5
5
  findPage(query?: InventoryRecordReq): AxiosPromise<InventoryRecordPage>;
6
- findInfoAssetPage(query?: InventoryRecordKey): AxiosPromise<InventoryRecordPage>;
6
+ findList(query?: InventoryRecordReq): AxiosPromise<InventoryRecordList>;
7
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;
8
13
  }
9
14
  declare const inventoryRecordApi: InventoryRecordApiImpl;
10
15
  export { inventoryRecordApi };
@@ -5,6 +5,7 @@ export interface InventoryRecordReq extends EntityReq {
5
5
  orgId?: string;
6
6
  siteName?: string;
7
7
  likeSiteName?: string;
8
+ inventoryTime?: string;
8
9
  inventoryStartTime?: string;
9
10
  inventoryEndTime?: string;
10
11
  inventoryStatus?: string;
@@ -1,9 +1,20 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { ServiceApptMemberApi, ServiceApptMemberReq, ServiceApptMemberModel, ServiceApptMemberPage, ServiceApptMemberList, ServiceApptMemberKey } from "./types";
2
+ import type { ServiceApptMemberApi, ServiceApptMemberReq, ServiceApptMemberModel, ServiceApptMemberPage, ServiceApptMemberList, ServiceApptMemberKey, ServiceApptMemberCreateReq, ServiceApptMemberUpdateReq, ServiceApptMemberExportReq, ServiceApptMemberImportReq } 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;
7
18
  }
8
19
  declare const serviceApptMemberApi: ServiceApptMemberApiImpl;
9
20
  export { serviceApptMemberApi };
@@ -1,14 +1,19 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } 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;
6
10
  }
7
11
  export interface ServiceApptMemberModel extends EntityModel {
8
12
  recordId?: string;
9
13
  memberId?: string;
10
14
  realName?: string;
11
15
  status?: string;
16
+ statusTime?: string;
12
17
  }
13
18
  export interface ServiceApptMemberList extends EntityList {
14
19
  results: Array<ServiceApptMemberModel>;
@@ -22,7 +27,45 @@ export interface ServiceApptMemberModelTotal extends EntityTotal {
22
27
  totalSize: number;
23
28
  }
24
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 {
25
67
  tenant?: string;
26
68
  recordId?: string;
27
69
  memberId?: string;
70
+ enable?: boolean;
28
71
  }
@@ -14,7 +14,7 @@ export interface ServiceApptRecordModel extends EntityModel {
14
14
  siteId?: string;
15
15
  serviceName?: string;
16
16
  appointmentDate?: string;
17
- startTime?: string;
17
+ startDate?: string;
18
18
  endTime?: string;
19
19
  limitPerson?: number;
20
20
  apptPerson?: number;
@@ -6,9 +6,10 @@ 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>;
12
13
  }
13
14
  declare const siteApi: SiteApiImpl;
14
15
  export { siteApi };
@@ -6,8 +6,9 @@ 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>;
11
12
  }
12
13
  declare const siteServiceApi: SiteServiceApiImpl;
13
14
  export { siteServiceApi };
@@ -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;
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
31
31
  onFilesResponse?: ((...args: any[]) => any) | undefined;
32
32
  onUploadFileList?: ((...args: any[]) => any) | undefined;
33
33
  }, {
34
- listType: "picture" | "text" | "picture-card";
34
+ listType: "text" | "picture" | "picture-card";
35
35
  limit: number;
36
36
  pictureUrl: unknown[];
37
37
  }, {}>;
@@ -1,5 +1,5 @@
1
- import type { App } from "vue";
2
1
  import "./styles/index.scss";
2
+ import type { App } from "vue";
3
3
  declare const asset: {
4
4
  install(app: App): void;
5
5
  };
@@ -32,6 +32,7 @@ declare const _default: {
32
32
  manager: string;
33
33
  managerRequired: string;
34
34
  day: string;
35
+ dayRequired: string;
35
36
  time: string;
36
37
  note: string;
37
38
  noteRequired: string;
@@ -79,7 +80,6 @@ declare const _default: {
79
80
  buyMoney: string;
80
81
  buyMoneyRequired: string;
81
82
  depreciationType: string;
82
- depreciationTypePleaseholder: string;
83
83
  unit: string;
84
84
  unitRequired: string;
85
85
  oldMoney: string;
@@ -95,55 +95,23 @@ declare const _default: {
95
95
  buyDateRequired: string;
96
96
  assign: string;
97
97
  model: string;
98
- modelRequired: string;
99
98
  deviceQrcode: string;
99
+ assetName: string;
100
100
  status: string;
101
101
  statusInfo: string;
102
+ isNumber: string;
102
103
  };
103
104
  inventoryRecord: {
105
+ name: string;
104
106
  siteName: string;
105
107
  inventoryTime: string;
106
108
  userName: string;
107
109
  inventoryStatus: string;
108
110
  orgId: string;
109
- propertyName: string;
110
- deviceCode: string;
111
111
  orgIdPlaceholder: string;
112
112
  siteNamePlaceholder: string;
113
- };
114
- assetDetail: {
115
- orgId: string;
116
- siteName: string;
117
- name: string;
118
- assetName: string;
119
- deviceQrcode: string;
120
- buyDate: string;
121
- assetSort: string;
122
- status: string;
123
- deviceCode: string;
124
- orgIdPlaceholder: string;
125
- siteNamePlaceholder: string;
126
- assetNamePlaceholder: string;
127
- assetSortPlaceholder: string;
128
- deviceCodePlaceholder: string;
129
- buyDatePlaceholder: string;
130
- };
131
- depreciationRecord: {
132
- assetSort: string;
133
- name: string;
134
- code: string;
135
- useLimit: string;
136
- depreciationMoney: string;
137
- oldMoney: string;
138
- netSalvage: string;
139
- totalDepreciation: string;
140
- number: string;
141
- buyDate: string;
142
- netAssetValue: string;
143
- year: string;
144
- assetSortPlaceholder: string;
145
- namePlaceholder: string;
146
- yearPlaceholder: string;
113
+ start: string;
114
+ end: string;
147
115
  };
148
116
  };
149
117
  export default _default;
@@ -2,7 +2,5 @@ import type { RouteRecordRaw } from "vue-router";
2
2
  export declare const AssetSiteInfo: () => Promise<typeof import("@/views/asset/asset-site/info/index.vue")>;
3
3
  export declare const AssetServiceApptRecordInfo: () => Promise<typeof import("@/views/asset/asset-service-appt-record/info/index.vue")>;
4
4
  export declare const AssetInfo: () => Promise<typeof import("@/views/asset/asset-asset/info/index.vue")>;
5
- export declare const InventoryInfo: () => Promise<typeof import("@/views/asset/asset-inventory-record/info/index.vue")>;
6
- export declare const DepreciationInfo: () => Promise<typeof import("@/views/asset/asset-depreciation-record/info/index.vue")>;
7
5
  export declare const assetRoutes: RouteRecordRaw[];
8
6
  export default assetRoutes;
@@ -1,20 +1,22 @@
1
+ import type { PropType } from "vue";
2
+ import type { ServiceApptMemberKey } from "@/api/asset/asset-service-appt-member/types";
1
3
  declare const _default: import("vue").DefineComponent<{
2
- modelValue: globalThis.PropType<boolean>;
4
+ modelValue: PropType<boolean>;
3
5
  entityKey: {
4
- type: ObjectConstructor;
6
+ type: PropType<ServiceApptMemberKey>;
5
7
  default: () => void;
6
8
  };
7
9
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
10
  refresh: (...args: any[]) => void;
9
11
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
- modelValue: globalThis.PropType<boolean>;
12
+ modelValue: PropType<boolean>;
11
13
  entityKey: {
12
- type: ObjectConstructor;
14
+ type: PropType<ServiceApptMemberKey>;
13
15
  default: () => void;
14
16
  };
15
17
  }>> & {
16
18
  onRefresh?: ((...args: any[]) => any) | undefined;
17
19
  }, {
18
- entityKey: Record<string, any>;
20
+ entityKey: ServiceApptMemberKey;
19
21
  }, {}>;
20
22
  export default _default;