xyvcard-asset 0.0.12 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{edit-BWhOgMw-.mjs → edit-BD4l4cZV.mjs} +1 -1
- package/dist/{edit-CZujIURb.mjs → edit-BIE_CJlr.mjs} +1 -1
- package/dist/{edit-DPssVAky.mjs → edit-DR-WgdT5.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-6j8bVbef.mjs → edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs} +110 -98
- package/dist/edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs +446 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CjH6sYw4.mjs → edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs} +0 -1
- package/dist/{index-Bz6eEggE.mjs → index-Bqv9_BYL.mjs} +1 -1
- package/dist/{index-DIKzzLQ2.mjs → index-BxeGNuSx.mjs} +55 -45
- package/dist/{index-4vX1fgzo.mjs → index-BzUXtBGU.mjs} +111 -108
- package/dist/{index-BxfpD3CM.mjs → index-C9FfnHCZ.mjs} +1 -1
- package/dist/{index-CDYXKnyU.mjs → index-CHaJu5hs.mjs} +90 -80
- package/dist/{index-C1U7BVdL.mjs → index-CJhQRbHt.mjs} +1 -1
- package/dist/index-CuDcmifl.mjs +165 -0
- package/dist/index.mjs +10 -7
- package/dts/api/asset/asset-site-service/types.d.ts +5 -0
- package/dts/lang/asset/zh-cn.d.ts +3 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +3 -1
- package/dts/src/api/asset/asset-asset/types.d.ts +23 -17
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +10 -2
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +22 -13
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +7 -2
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +1 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +12 -1
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +44 -1
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +1 -1
- package/dts/src/api/asset/asset-site/index.d.ts +2 -1
- package/dts/src/api/asset/asset-site-service/index.d.ts +2 -1
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/src/index.d.ts +1 -1
- package/dts/src/lang/asset/zh-cn.d.ts +6 -38
- package/dts/src/router/page.d.ts +0 -2
- package/dts/src/views/asset/{asset-asset-detail → asset-service-appt-member}/edit.vue.d.ts +7 -5
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/edit.vue_vue_type_script_setup_true_lang-CrrY9V5d.mjs +0 -394
- package/dist/index-_uK0Hvab.mjs +0 -91
- package/dts/components/PeopleSelectAsset/index.vue.d.ts +0 -18
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +0 -14
- package/dts/src/api/asset/asset-depreciation-record/index.d.ts +0 -11
- package/dts/src/api/asset/asset-depreciation-record/types.d.ts +0 -38
- package/dts/src/api/asset/text/index.d.ts +0 -0
- package/dts/src/api/asset/text/types.d.ts +0 -0
- package/dts/src/components/PeopleSelect/index.vue.d.ts +0 -18
- package/dts/src/components/deptPeopleSelect/index.vue.d.ts +0 -2
- package/dts/src/components copy/PeopleSelect/index.vue.d.ts +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +0 -34
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +0 -34
- 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
- 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
- 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
- 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
- package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
- package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
- /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
|
-
|
80
|
-
|
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
|
-
|
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
|
-
|
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 };
|
@@ -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
|
}
|
@@ -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)
|
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)
|
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: "
|
34
|
+
listType: "text" | "picture" | "picture-card";
|
35
35
|
limit: number;
|
36
36
|
pictureUrl: unknown[];
|
37
37
|
}, {}>;
|
package/dts/src/index.d.ts
CHANGED
@@ -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
|
-
|
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;
|
package/dts/src/router/page.d.ts
CHANGED
@@ -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:
|
4
|
+
modelValue: PropType<boolean>;
|
3
5
|
entityKey: {
|
4
|
-
type:
|
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:
|
12
|
+
modelValue: PropType<boolean>;
|
11
13
|
entityKey: {
|
12
|
-
type:
|
14
|
+
type: PropType<ServiceApptMemberKey>;
|
13
15
|
default: () => void;
|
14
16
|
};
|
15
17
|
}>> & {
|
16
18
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
17
19
|
}, {
|
18
|
-
entityKey:
|
20
|
+
entityKey: ServiceApptMemberKey;
|
19
21
|
}, {}>;
|
20
22
|
export default _default;
|