xyvcard-asset 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-BLa-fXcy.mjs → assign-DzQUNp-Y.mjs} +26 -26
- package/dist/{edit-DmRG7fo0.mjs → edit-DdzPtYyH.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +33 -33
- package/dist/{index copy-Di49EjkG.mjs → index copy-CxTCJcvX.mjs } +21 -22
- package/dist/{index-xyCxQquE.mjs → index-CSMEsPcN.mjs} +1 -1
- package/dist/{index-DeBZxOsC.mjs → index-CugJCeed.mjs} +2 -1
- package/dist/{index-ByVysHgI.mjs → index-GhvyIwc3.mjs} +1 -1
- package/dist/{index-qQuyprvx.mjs → index-pfeu6d82.mjs} +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
- package/dist/index/345/244/207/344/273/{275-CaiMDP8J.mjs → 275-BfKo5eBT.mjs} +84 -80
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/asset/asset-asset/index.d.ts +25 -0
- package/dts/api/asset/asset-asset/types.d.ts +109 -0
- package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +9 -0
- package/dts/api/asset/asset-service-appt-member/types.d.ts +28 -0
- package/dts/api/asset/asset-service-appt-record/index.d.ts +9 -0
- package/dts/api/asset/asset-service-appt-record/types.d.ts +37 -0
- package/dts/api/asset/asset-site/index.d.ts +14 -0
- package/dts/api/asset/asset-site/types.d.ts +71 -0
- package/dts/api/asset/asset-site-service/index.d.ts +13 -0
- package/dts/api/asset/asset-site-service/types.d.ts +81 -0
- package/dts/api/asset/text/index.d.ts +140 -0
- package/dts/api/asset/text/types.d.ts +179 -0
- package/dts/api/dict.d.ts +19 -0
- package/dts/api/index.d.ts +16 -0
- package/dts/components/PeopleSelectAsset/index.vue.d.ts +18 -0
- package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
- package/dts/constant.d.ts +19 -0
- package/dts/index.d.ts +6 -0
- package/dts/lang/asset/en.d.ts +2 -0
- package/dts/lang/asset/zh-cn.d.ts +150 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/page.d.ts +8 -0
- package/dts/utils/common.d.ts +51 -0
- package/dts/utils/index.d.ts +24 -0
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +29 -0
- package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +20 -0
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/package.json +3 -3
- package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +0 -274
- package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +0 -120
- package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +0 -105
@@ -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>>;
|
@@ -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 {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { BizDict, BizLayDict, type Entry, type LayEntry } from "jmash-core";
|
2
|
+
export declare class CustomBizDict {
|
3
|
+
values: import("vue").Reactive<Entry[]>;
|
4
|
+
query: any;
|
5
|
+
constructor(results: any, query: any);
|
6
|
+
getValue(key: string): string;
|
7
|
+
}
|
8
|
+
export declare class UnionOrgBizLayDict extends BizLayDict {
|
9
|
+
useValues(): Promise<LayEntry[]>;
|
10
|
+
}
|
11
|
+
export declare class SiteBizLayDict extends BizDict {
|
12
|
+
useValues(): Promise<Entry[]>;
|
13
|
+
}
|
14
|
+
export declare class serviceNameDict extends BizDict {
|
15
|
+
useValues(): Promise<Entry[]>;
|
16
|
+
}
|
17
|
+
export declare class managerDict extends BizDict {
|
18
|
+
useValues(): Promise<Entry[]>;
|
19
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { EnumDict } from "jmash-core";
|
2
|
+
import { CustomBizDict, SiteBizLayDict, UnionOrgBizLayDict, serviceNameDict, managerDict } from "./dict";
|
3
|
+
export declare class Dict {
|
4
|
+
static readonly enableDict: CustomBizDict;
|
5
|
+
static readonly unionOrgBizLayDict: UnionOrgBizLayDict;
|
6
|
+
static readonly serviceStatusEnum: EnumDict;
|
7
|
+
static readonly siteDict: SiteBizLayDict;
|
8
|
+
static readonly serviceNameDict: serviceNameDict;
|
9
|
+
static readonly managerDict: managerDict;
|
10
|
+
static readonly statusDictEnum: EnumDict;
|
11
|
+
static readonly assetStatusDict: CustomBizDict;
|
12
|
+
static readonly assetSortDictEnum: EnumDict;
|
13
|
+
static readonly assetsStatus: EnumDict;
|
14
|
+
static readonly inventoryResults: EnumDict;
|
15
|
+
static readonly depreciationTypeEnum: EnumDict;
|
16
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
deptId: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
7
|
+
updatePeoples: (...args: any[]) => void;
|
8
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
9
|
+
deptId: {
|
10
|
+
type: StringConstructor;
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
}>> & {
|
14
|
+
onUpdatePeoples?: ((...args: any[]) => any) | undefined;
|
15
|
+
}, {
|
16
|
+
deptId: string;
|
17
|
+
}, {}>;
|
18
|
+
export default _default;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
listType: {
|
3
|
+
type: () => "text" | "picture" | "picture-card";
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
limit: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: number;
|
9
|
+
};
|
10
|
+
pictureUrl: {
|
11
|
+
type: ArrayConstructor;
|
12
|
+
default: () => never[];
|
13
|
+
};
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
15
|
+
filesResponse: (...args: any[]) => void;
|
16
|
+
uploadFileList: (...args: any[]) => void;
|
17
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
18
|
+
listType: {
|
19
|
+
type: () => "text" | "picture" | "picture-card";
|
20
|
+
default: string;
|
21
|
+
};
|
22
|
+
limit: {
|
23
|
+
type: NumberConstructor;
|
24
|
+
default: number;
|
25
|
+
};
|
26
|
+
pictureUrl: {
|
27
|
+
type: ArrayConstructor;
|
28
|
+
default: () => never[];
|
29
|
+
};
|
30
|
+
}>> & {
|
31
|
+
onFilesResponse?: ((...args: any[]) => any) | undefined;
|
32
|
+
onUploadFileList?: ((...args: any[]) => any) | undefined;
|
33
|
+
}, {
|
34
|
+
listType: "picture" | "text" | "picture-card";
|
35
|
+
limit: number;
|
36
|
+
pictureUrl: unknown[];
|
37
|
+
}, {}>;
|
38
|
+
export default _default;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
modelValue: globalThis.PropType<boolean>;
|
3
|
+
limit: {
|
4
|
+
type: NumberConstructor;
|
5
|
+
default: number;
|
6
|
+
};
|
7
|
+
}, {
|
8
|
+
clearFileList: () => void;
|
9
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
filesResponse: (...args: any[]) => void;
|
11
|
+
uploadFileList: (...args: any[]) => void;
|
12
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
13
|
+
modelValue: globalThis.PropType<boolean>;
|
14
|
+
limit: {
|
15
|
+
type: NumberConstructor;
|
16
|
+
default: number;
|
17
|
+
};
|
18
|
+
}>> & {
|
19
|
+
onFilesResponse?: ((...args: any[]) => any) | undefined;
|
20
|
+
onUploadFileList?: ((...args: any[]) => any) | undefined;
|
21
|
+
}, {
|
22
|
+
limit: number;
|
23
|
+
}, {}>;
|
24
|
+
export default _default;
|
@@ -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;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare class Constant {
|
2
|
+
static readonly MODULE_ASSET = "asset";
|
3
|
+
static readonly ENABLE_VALUES: globalThis.Ref<{
|
4
|
+
key: string;
|
5
|
+
value: string;
|
6
|
+
}[]>;
|
7
|
+
static readonly ENUM_ASSET_STATUS: globalThis.Ref<{
|
8
|
+
key: boolean;
|
9
|
+
value: string;
|
10
|
+
}[]>;
|
11
|
+
static readonly ENUM_SERVICE_STATUS = "xyvcard.asset.protobuf.ServiceStatus";
|
12
|
+
static readonly DICT_SITE_ID = "siteId";
|
13
|
+
static readonly ENUM_STATUS = "xyvcard.asset.protobuf.ApptMemberStatus";
|
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";
|
17
|
+
static readonly ENUM_DEPRECIA_TION = "xyvcard.asset.protobuf.DepreciationType";
|
18
|
+
static readonly NONE = "none";
|
19
|
+
}
|
package/dts/index.d.ts
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
site: {
|
3
|
+
orgId: string;
|
4
|
+
orgIdRequired: string;
|
5
|
+
name: string;
|
6
|
+
nameRequired: string;
|
7
|
+
status: string;
|
8
|
+
statusRequired: string;
|
9
|
+
siteQrcode: string;
|
10
|
+
address: string;
|
11
|
+
addressRequired: string;
|
12
|
+
buildDate: string;
|
13
|
+
buildDateRequired: string;
|
14
|
+
area: string;
|
15
|
+
areaRequired: string;
|
16
|
+
manager: string;
|
17
|
+
managerRequired: string;
|
18
|
+
mobilePhone: string;
|
19
|
+
mobilePhoneRequired: string;
|
20
|
+
};
|
21
|
+
siteService: {
|
22
|
+
orgId: string;
|
23
|
+
orgIdRequired: string;
|
24
|
+
siteId: string;
|
25
|
+
siteIdRequired: string;
|
26
|
+
serviceName: string;
|
27
|
+
serviceNameRequired: string;
|
28
|
+
status: string;
|
29
|
+
statusRequired: string;
|
30
|
+
limitPerson: string;
|
31
|
+
limitPersonRequired: string;
|
32
|
+
manager: string;
|
33
|
+
managerRequired: string;
|
34
|
+
day: string;
|
35
|
+
time: string;
|
36
|
+
note: string;
|
37
|
+
noteRequired: string;
|
38
|
+
startTime: string;
|
39
|
+
endTime: string;
|
40
|
+
};
|
41
|
+
serviceApptRecord: {
|
42
|
+
orgId: string;
|
43
|
+
orgIdRequired: string;
|
44
|
+
siteId: string;
|
45
|
+
siteIdRequired: string;
|
46
|
+
serviceName: string;
|
47
|
+
serviceNameRequired: string;
|
48
|
+
startDate: string;
|
49
|
+
endDate: string;
|
50
|
+
appointmentDate: string;
|
51
|
+
time: string;
|
52
|
+
limitPerson: string;
|
53
|
+
apptPerson: string;
|
54
|
+
signPerson: string;
|
55
|
+
};
|
56
|
+
serviceApptMember: {
|
57
|
+
realName: string;
|
58
|
+
status: string;
|
59
|
+
};
|
60
|
+
asset: {
|
61
|
+
orgId: string;
|
62
|
+
orgIdRequired: string;
|
63
|
+
siteId: string;
|
64
|
+
siteIdRequired: string;
|
65
|
+
assignNumber: string;
|
66
|
+
assignNumberRequired: string;
|
67
|
+
name: string;
|
68
|
+
nameRequired: string;
|
69
|
+
nameNumber: string;
|
70
|
+
assetSort: string;
|
71
|
+
assetSortRequired: string;
|
72
|
+
assignStatus: string;
|
73
|
+
assignStatusRequired: string;
|
74
|
+
code: string;
|
75
|
+
codeRequired: string;
|
76
|
+
numberUnit: string;
|
77
|
+
number: string;
|
78
|
+
numberRequired: string;
|
79
|
+
buyDate: string;
|
80
|
+
buyMoney: string;
|
81
|
+
buyMoneyRequired: string;
|
82
|
+
depreciationType: string;
|
83
|
+
depreciationTypePleaseholder: string;
|
84
|
+
unit: string;
|
85
|
+
unitRequired: string;
|
86
|
+
oldMoney: string;
|
87
|
+
oldMoneyRequired: string;
|
88
|
+
useLimit: string;
|
89
|
+
useLimitRequired: string;
|
90
|
+
netSalvage: string;
|
91
|
+
netSalvageRequired: string;
|
92
|
+
monthDepreciation: string;
|
93
|
+
monthDepreciationRequired: string;
|
94
|
+
totalDepreciation: string;
|
95
|
+
totalDepreciationRequired: string;
|
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;
|
148
|
+
};
|
149
|
+
};
|
150
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function loadLang(i18n: any): void;
|
package/dts/main.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
import "nprogress/nprogress.css";
|
@@ -0,0 +1,8 @@
|
|
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")>;
|
7
|
+
export declare const assetRoutes: RouteRecordRaw[];
|
8
|
+
export default assetRoutes;
|