xyvcard-asset 0.0.8 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
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,179 @@
1
+ import type { EntityApi, EntityPage, EntityReq, EntityModel, EntityTotal, EntityList, EntityImportReq, EntityExportReq, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
2
+ /**
3
+ * 登录用户信息
4
+ */
5
+ export interface UserInfo {
6
+ userId?: string;
7
+ userName?: string;
8
+ nickName?: string;
9
+ avatar?: string;
10
+ tenant: string;
11
+ roleCodes: string[];
12
+ permCodes: string[];
13
+ }
14
+ export interface UserApi extends EntityApi {
15
+ }
16
+ export interface UserReq extends EntityReq {
17
+ tenant?: string;
18
+ directoryId?: string;
19
+ deptId?: string;
20
+ loginName?: string;
21
+ userStatus?: string;
22
+ showDeleted?: boolean;
23
+ hasUserStatus?: boolean;
24
+ }
25
+ export interface UserModel extends EntityModel {
26
+ userId?: string;
27
+ directoryId?: string;
28
+ loginName?: string;
29
+ mobilePhone?: string;
30
+ mobilePhoneIns?: string;
31
+ email?: string;
32
+ realName?: string;
33
+ nickName?: string;
34
+ avatar?: string;
35
+ birthDate?: string;
36
+ gender?: string;
37
+ phoneApproved?: boolean;
38
+ emailApproved?: boolean;
39
+ approved?: boolean;
40
+ status?: string;
41
+ lastLockoutTime?: string;
42
+ failedTime?: string;
43
+ failedCount?: number;
44
+ lastLoginTime?: string;
45
+ vision?: number;
46
+ createBy?: string;
47
+ createTime?: string;
48
+ updateBy?: string;
49
+ updateTime?: string;
50
+ deleteBy?: string;
51
+ deleted?: boolean;
52
+ deleteTime?: string;
53
+ mobileEncrypt: boolean;
54
+ }
55
+ export interface UserPage extends EntityPage {
56
+ curPage: number;
57
+ pageSize: number;
58
+ results: Array<UserModel>;
59
+ totalSize: number;
60
+ subTotalDto: UserModelTotal;
61
+ totalDto: UserModelTotal;
62
+ }
63
+ export interface UserModelTotal extends EntityTotal {
64
+ totalSize: number;
65
+ }
66
+ export interface UserKey extends EntityKey {
67
+ tenant?: string;
68
+ userId?: string;
69
+ }
70
+ export interface UserKeyList extends EntityKeyList {
71
+ tenant?: string;
72
+ userId?: Array<string>;
73
+ }
74
+ export interface UserCreateReq extends EntityCreateReq {
75
+ tenant?: string;
76
+ requestId?: string;
77
+ repeatPwd?: string;
78
+ avatar?: string;
79
+ directoryId?: string;
80
+ loginName?: string;
81
+ nickName?: string;
82
+ realName?: string;
83
+ birthDate?: string;
84
+ gender?: string;
85
+ mobilePhone?: string;
86
+ roleIds?: string[];
87
+ email?: string;
88
+ status?: string;
89
+ pwd?: string;
90
+ userJobs?: UserJobsItem[];
91
+ phoneApproved?: boolean;
92
+ emailApproved?: boolean;
93
+ }
94
+ export interface UserUpdateReq extends EntityUpdateReq {
95
+ tenant?: string;
96
+ updateMask: string;
97
+ requestId?: string;
98
+ userId?: string;
99
+ avatar?: string;
100
+ directoryId?: string;
101
+ loginName?: string;
102
+ nickName?: string;
103
+ realName?: string;
104
+ birthDate?: string;
105
+ gender?: string;
106
+ mobilePhone?: string;
107
+ roleIds?: string[];
108
+ email?: string;
109
+ status?: string;
110
+ userJobs?: UserJobsItem[];
111
+ phoneApproved?: boolean;
112
+ emailApproved?: boolean;
113
+ }
114
+ export type UserFormReq = UserCreateReq | UserUpdateReq;
115
+ export interface UserImportReq extends EntityImportReq {
116
+ tenant: string;
117
+ requestId: string;
118
+ fileNames?: string;
119
+ addFlag?: boolean;
120
+ updateMask: string;
121
+ }
122
+ export interface UserExportReq extends EntityExportReq {
123
+ tenant: string;
124
+ title?: string;
125
+ fileName?: string;
126
+ req: UserReq;
127
+ }
128
+ export interface UserEnableKey {
129
+ tenant?: string;
130
+ enabled?: boolean;
131
+ userId?: string;
132
+ }
133
+ export interface UserEnableKeyList {
134
+ tenant?: string;
135
+ enabled?: boolean;
136
+ userId?: string[];
137
+ }
138
+ interface UserJobsItem {
139
+ deptId: string;
140
+ jobId: string;
141
+ }
142
+ export interface UserResetPwdReq {
143
+ tenant?: string;
144
+ userId: string;
145
+ pwd: string;
146
+ repeatPwd: string;
147
+ }
148
+ export interface OpensKey {
149
+ tenant?: string;
150
+ appId?: string;
151
+ userId?: string;
152
+ openId?: string;
153
+ }
154
+ export interface UserLockReq {
155
+ tenant?: string;
156
+ lock: boolean;
157
+ userId: string[];
158
+ }
159
+ export interface UserApprovedReq {
160
+ tenant?: string;
161
+ approved?: string;
162
+ userId?: string[];
163
+ }
164
+ export interface DirectoryModel {
165
+ directoryId?: Array<string>;
166
+ }
167
+ export interface UserOpenModel {
168
+ openId?: string;
169
+ userId?: string;
170
+ appId: string;
171
+ unionId?: string;
172
+ nickName?: string;
173
+ openType: string;
174
+ createBy?: string;
175
+ }
176
+ export interface UserOpenList extends EntityList {
177
+ results: Array<UserOpenModel>;
178
+ }
179
+ export {};
package/dts/api/dict.d.ts CHANGED
@@ -1,9 +1,6 @@
1
1
  import { BizDict, BizLayDict, type Entry, type LayEntry } from "jmash-core";
2
2
  export declare class CustomBizDict {
3
- values: {
4
- key: string;
5
- value: string;
6
- }[];
3
+ values: import("vue").Reactive<Entry[]>;
7
4
  query: any;
8
5
  constructor(results: any, query: any);
9
6
  getValue(key: string): string;
@@ -10,5 +10,7 @@ export declare class Dict {
10
10
  static readonly statusDictEnum: EnumDict;
11
11
  static readonly assetStatusDict: CustomBizDict;
12
12
  static readonly assetSortDictEnum: EnumDict;
13
+ static readonly assetsStatus: EnumDict;
14
+ static readonly inventoryResults: EnumDict;
13
15
  static readonly depreciationTypeEnum: EnumDict;
14
16
  }
@@ -1,20 +1,18 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- address: {
2
+ deptId: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
6
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- getAddress: (...args: any[]) => void;
8
- getLatLng: (...args: any[]) => void;
7
+ updatePeoples: (...args: any[]) => void;
9
8
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
- address: {
9
+ deptId: {
11
10
  type: StringConstructor;
12
11
  default: string;
13
12
  };
14
13
  }>> & {
15
- onGetAddress?: ((...args: any[]) => any) | undefined;
16
- onGetLatLng?: ((...args: any[]) => any) | undefined;
14
+ onUpdatePeoples?: ((...args: any[]) => any) | undefined;
17
15
  }, {
18
- address: string;
16
+ deptId: string;
19
17
  }, {}>;
20
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: "text" | "picture" | "picture-card";
34
+ listType: "picture" | "text" | "picture-card";
35
35
  limit: number;
36
36
  pictureUrl: unknown[];
37
37
  }, {}>;
@@ -0,0 +1,14 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ deptId: {
3
+ type: globalThis.PropType<string[]>;
4
+ default: () => never[];
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
7
+ deptId: {
8
+ type: globalThis.PropType<string[]>;
9
+ default: () => never[];
10
+ };
11
+ }>>, {
12
+ deptId: string[];
13
+ }, {}>;
14
+ export default _default;
package/dts/constant.d.ts CHANGED
@@ -5,12 +5,15 @@ export declare class Constant {
5
5
  value: string;
6
6
  }[]>;
7
7
  static readonly ENUM_ASSET_STATUS: globalThis.Ref<{
8
- key: string;
8
+ key: boolean;
9
9
  value: string;
10
10
  }[]>;
11
11
  static readonly ENUM_SERVICE_STATUS = "xyvcard.asset.protobuf.ServiceStatus";
12
12
  static readonly DICT_SITE_ID = "siteId";
13
13
  static readonly ENUM_STATUS = "xyvcard.asset.protobuf.ApptMemberStatus";
14
14
  static readonly ENUM_SORT_STATUS = "xyvcard.asset.protobuf.AssetSortType";
15
+ static readonly ASSETS_STATUS = "xyvcard.asset.protobuf.AssetDetailStatus";
16
+ static readonly INVENTORY_RESULTS = "xyvcard.asset.protobuf.InventoryStatus";
15
17
  static readonly ENUM_DEPRECIA_TION = "xyvcard.asset.protobuf.DepreciationType";
18
+ static readonly NONE = "none";
16
19
  }
package/dts/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
+ import type { App } from "vue";
2
+ import "./styles/index.scss";
1
3
  declare const asset: {
2
- install(): void;
4
+ install(app: App): void;
3
5
  };
4
6
  export default asset;
@@ -12,6 +12,7 @@ declare const _default: {
12
12
  buildDate: string;
13
13
  buildDateRequired: string;
14
14
  area: string;
15
+ areaRequired: string;
15
16
  manager: string;
16
17
  managerRequired: string;
17
18
  mobilePhone: string;
@@ -31,7 +32,6 @@ declare const _default: {
31
32
  manager: string;
32
33
  managerRequired: string;
33
34
  day: string;
34
- dayRequired: string;
35
35
  time: string;
36
36
  note: string;
37
37
  noteRequired: string;
@@ -58,8 +58,15 @@ declare const _default: {
58
58
  status: string;
59
59
  };
60
60
  asset: {
61
+ orgId: string;
62
+ orgIdRequired: string;
63
+ siteId: string;
64
+ siteIdRequired: string;
65
+ assignNumber: string;
66
+ assignNumberRequired: string;
61
67
  name: string;
62
68
  nameRequired: string;
69
+ nameNumber: string;
63
70
  assetSort: string;
64
71
  assetSortRequired: string;
65
72
  assignStatus: string;
@@ -73,6 +80,7 @@ declare const _default: {
73
80
  buyMoney: string;
74
81
  buyMoneyRequired: string;
75
82
  depreciationType: string;
83
+ depreciationTypePleaseholder: string;
76
84
  unit: string;
77
85
  unitRequired: string;
78
86
  oldMoney: string;
@@ -86,6 +94,57 @@ declare const _default: {
86
94
  totalDepreciation: string;
87
95
  totalDepreciationRequired: string;
88
96
  buyDateRequired: string;
97
+ assign: string;
98
+ model: string;
99
+ modelRequired: string;
100
+ deviceQrcode: string;
101
+ status: string;
102
+ statusInfo: string;
103
+ };
104
+ inventoryRecord: {
105
+ siteName: string;
106
+ inventoryTime: string;
107
+ userName: string;
108
+ inventoryStatus: string;
109
+ orgId: string;
110
+ propertyName: string;
111
+ deviceCode: string;
112
+ orgIdPlaceholder: string;
113
+ siteNamePlaceholder: string;
114
+ };
115
+ assetDetail: {
116
+ orgId: string;
117
+ siteName: string;
118
+ name: string;
119
+ assetName: string;
120
+ deviceQrcode: string;
121
+ buyDate: string;
122
+ assetSort: string;
123
+ status: string;
124
+ deviceCode: string;
125
+ orgIdPlaceholder: string;
126
+ siteNamePlaceholder: string;
127
+ assetNamePlaceholder: string;
128
+ assetSortPlaceholder: string;
129
+ deviceCodePlaceholder: string;
130
+ buyDatePlaceholder: string;
131
+ };
132
+ depreciationRecord: {
133
+ assetSort: string;
134
+ name: string;
135
+ code: string;
136
+ useLimit: string;
137
+ depreciationMoney: string;
138
+ oldMoney: string;
139
+ netSalvage: string;
140
+ totalDepreciation: string;
141
+ number: string;
142
+ buyDate: string;
143
+ netAssetValue: string;
144
+ year: string;
145
+ assetSortPlaceholder: string;
146
+ namePlaceholder: string;
147
+ yearPlaceholder: string;
89
148
  };
90
149
  };
91
150
  export default _default;
@@ -1,2 +1,8 @@
1
1
  import type { RouteRecordRaw } from "vue-router";
2
+ export declare const AssetSiteInfo: () => Promise<typeof import("@/views/asset/asset-site/info/index.vue")>;
3
+ export declare const AssetServiceApptRecordInfo: () => Promise<typeof import("@/views/asset/asset-service-appt-record/info/index.vue")>;
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")>;
2
7
  export declare const assetRoutes: RouteRecordRaw[];
8
+ export default assetRoutes;
@@ -1,20 +1,25 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq } from "./types";
2
+ import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq, AssetassignReq, UnionOrgReq, UnionOrgTree } from "./types";
3
3
  declare class AssetApiImpl implements AssetApi {
4
4
  getKey(model: AssetModel): AssetKey;
5
5
  findPage(query?: AssetReq): AxiosPromise<AssetPage>;
6
6
  findList(query?: AssetReq): AxiosPromise<AssetList>;
7
7
  findById(query: AssetKey): AxiosPromise<AssetModel>;
8
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>;
9
+ update(data: AssetUpdateReq): AxiosPromise<AssetModel>;
12
10
  delete(query: AssetKey): AxiosPromise<AssetModel>;
13
11
  batchDelete(keys: AssetKey[]): AxiosPromise<number>;
14
12
  downloadTemplate(): AxiosPromise;
15
13
  importExcel(data: AssetImportReq): AxiosPromise<string>;
14
+ assignment(data: AssetassignReq): AxiosPromise<boolean>;
16
15
  exportExcel(queryParams: AssetExportReq): AxiosPromise;
17
- exportPdf(queryParams: AssetExportReq): AxiosPromise;
16
+ /**
17
+ * 获取工会组织架构树形列表
18
+ *
19
+ * @param query 查询参数,可选
20
+ * @returns 返回工会组织架构树形列表的 AxiosPromise 对象
21
+ */
22
+ findUnionOrgTreeListApi(query?: UnionOrgReq): AxiosPromise<UnionOrgTree>;
18
23
  }
19
24
  declare const assetApi: AssetApiImpl;
20
25
  export { assetApi };
@@ -1,10 +1,20 @@
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, EntityExportReq, EntityImportReq, LayEntry } from "jmash-core";
2
2
  export interface AssetApi extends EntityApi {
3
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
+ }
4
12
  export interface AssetReq extends EntityReq {
13
+ hasAssetSort?: boolean;
5
14
  name?: string;
6
15
  assetSort?: string;
7
16
  assignStatus?: boolean;
17
+ hasAssignStatus?: boolean;
8
18
  likeName?: string;
9
19
  }
10
20
  export interface AssetModel extends EntityModel {
@@ -14,13 +24,29 @@ export interface AssetModel extends EntityModel {
14
24
  code?: string;
15
25
  number?: number;
16
26
  unit?: string;
27
+ model?: string;
17
28
  buyDate?: string;
18
- buyMoney?: string | number;
19
- oldMoney?: string;
29
+ buyMoney?: number;
30
+ oldMoney?: number;
20
31
  depreciationType?: string;
21
32
  useLimit?: number;
22
33
  monthDepreciation?: string;
34
+ assignStatus?: boolean;
23
35
  totalDepreciation?: string;
36
+ netSalvage?: string;
37
+ netAssetValue?: string;
38
+ }
39
+ export interface AssetassignReq extends EntityUpdateReq {
40
+ tentant?: string;
41
+ requestId?: string;
42
+ assetId: string;
43
+ assignOrgs: Array<assignOrgsList>;
44
+ name?: string;
45
+ }
46
+ export interface assignOrgsList {
47
+ siteId?: string;
48
+ orgId?: string;
49
+ assignNumber?: number;
24
50
  }
25
51
  export interface AssetList extends EntityList {
26
52
  results: Array<AssetModel>;
@@ -42,19 +68,19 @@ export interface AssetKeyList extends EntityKeyList {
42
68
  assetId?: Array<string>;
43
69
  }
44
70
  export interface AssetCreateReq extends EntityCreateReq {
45
- assetId?: string;
46
71
  name?: string;
47
- assetSort?: string;
48
72
  code?: string;
49
73
  number?: number;
50
74
  unit?: string;
51
- model?: string;
52
75
  buyDate?: string;
53
- buyMoney?: string | number;
54
- oldMoney?: string;
76
+ assetSort?: string;
77
+ assetId?: string;
78
+ model?: string;
79
+ buyMoney?: number;
80
+ oldMoney?: number;
55
81
  depreciationType?: string;
56
82
  useLimit?: number;
57
- netSalvage?: string;
83
+ netSalvage?: number;
58
84
  monthDepreciation?: string;
59
85
  totalDepreciation?: string;
60
86
  }
@@ -67,12 +93,12 @@ export interface AssetUpdateReq extends EntityUpdateReq {
67
93
  unit?: string;
68
94
  model?: string;
69
95
  buyDate?: string;
70
- buyMoney?: string | number;
71
- oldMoney?: string;
96
+ buyMoney?: number;
97
+ oldMoney?: number;
72
98
  depreciationType?: string;
73
99
  useLimit?: number;
74
- netSalvage?: string;
75
- monthDepreciation?: string;
100
+ netSalvage?: number;
101
+ monthDepreciation?: number;
76
102
  totalDepreciation?: string;
77
103
  }
78
104
  export type AssetFormReq = AssetCreateReq | AssetUpdateReq;
@@ -81,13 +107,3 @@ export interface AssetExportReq extends EntityExportReq {
81
107
  }
82
108
  export interface AssetImportReq extends EntityImportReq {
83
109
  }
84
- export interface AssetMoveKey {
85
- tenant?: string;
86
- assetId?: string;
87
- up?: boolean;
88
- }
89
- export interface AssetEnableKey {
90
- tenant?: string;
91
- assetId?: string;
92
- enable?: boolean;
93
- }
@@ -0,0 +1,12 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { AssetDetailApi, AssetDetailReq, AssetDetailModel, AssetDetailPage, AssetDetailList, AssetDetailKey, AssetDetailUpdateReq, AssetDetailExportReq } 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
+ update(data: AssetDetailUpdateReq): AxiosPromise<AssetDetailModel>;
9
+ exportExcel(queryParams: AssetDetailExportReq): AxiosPromise;
10
+ }
11
+ declare const assetDetailApi: AssetDetailApiImpl;
12
+ export { assetDetailApi };
@@ -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 };