xyvcard-itsmsys 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/FileSaver.min-BeKvLuyk.mjs +73 -0
- package/dist/{edit-Dxs-2AFY.mjs → edit-B7N9QLYv.mjs} +104 -87
- package/dist/{edit-BSIP_9Mq.mjs → edit-CBnnqc6q.mjs} +104 -86
- package/dist/{edit-CiCHPkRg.mjs → edit-CuD0yKla.mjs} +1 -1
- package/dist/{edit-BcE5qrWo.mjs → edit-D2lhB7lU.mjs} +1 -1
- package/dist/{edit-BsUWSNnA.mjs → edit-DQ04LbhC.mjs} +96 -79
- package/dist/{edit-znznl9Td.mjs → edit-IRLCMnWT.mjs} +1 -1
- package/dist/{edit-CW0kqOpj.mjs → edit-g4L03h6h.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-CEzM2X-C.mjs +463 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DD9BucLK.mjs +463 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DjrTJAzO.mjs → edit.vue_vue_type_script_setup_true_lang-Daxe3FpV.mjs} +98 -68
- package/dist/edit.vue_vue_type_script_setup_true_lang-SzJApeB-.mjs +482 -0
- package/dist/import-upload-Bsl-7w0B.mjs +161 -0
- package/dist/import-upload-COLdGpcs.mjs +161 -0
- package/dist/index-B4M6ZC7N.mjs +196 -0
- package/dist/{index-BV3Je3Rq.mjs → index-BBPQd1dS.mjs} +139 -128
- package/dist/{index-BIvJ7rs4.mjs → index-BxX1lrD5.mjs} +64 -62
- package/dist/{index-CzE5REdf.mjs → index-CzVhcXfx.mjs} +57 -55
- package/dist/index-DNpEXtyQ.mjs +423 -0
- package/dist/index-Dh_kNwqv.mjs +470 -0
- package/dist/{index-CNRO77Xg.mjs → index-Dih4mOx4.mjs} +1 -1
- package/dist/{index-4qnVgDwe.mjs → index-n4FekcLF.mjs} +210 -138
- package/dist/index.mjs +293 -256
- package/dist/{index.vue_vue_type_script_setup_true_lang-B18iZWXl.mjs → index.vue_vue_type_script_setup_true_lang-D0pyunau.mjs} +41 -34
- package/dist/info-BHylKqOX.mjs +186 -0
- package/dist/info-BZOWTNSd.mjs +209 -0
- package/dist/{info-BP7wPWFZ.mjs → info-CDtqpKVD.mjs} +80 -58
- package/dist/{info-DRYPl2T-.mjs → info-XDDe5ve6.mjs} +58 -47
- package/dist/{info-DCRqBi8M.mjs → info-bwhmPzeG.mjs} +71 -60
- package/dist/info-dBqoxL-p.mjs +209 -0
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +7 -7
- package/dts/api/index.d.ts +6 -2
- package/dts/api/itsm-sys-org/types.d.ts +1 -0
- package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -0
- package/dts/api/itsm-sys-user-ext/index.d.ts +3 -1
- package/dts/api/itsm-sys-user-ext/types.d.ts +19 -1
- package/dts/constant.d.ts +9 -0
- package/dts/index.d.ts +1 -0
- package/dts/lang/itsmsys/zh-cn.d.ts +17 -0
- package/dts/views/itsmsys/itsm-sys-user-ops/import-upload.vue.d.ts +31 -0
- package/dts/views/itsmsys/itsm-sys-user-out/import-upload.vue.d.ts +31 -0
- package/package.json +3 -3
- package/dist/edit.vue_vue_type_script_setup_true_lang-BZ-sa6BZ.mjs +0 -422
- package/dist/edit.vue_vue_type_script_setup_true_lang-DOiO9REN.mjs +0 -422
- package/dist/edit.vue_vue_type_script_setup_true_lang-PDq1GpSZ.mjs +0 -404
- package/dist/index-BTO0NHK6.mjs +0 -397
- package/dist/index-Hh4b5GAI.mjs +0 -351
- package/dist/index-cBbN-uY2.mjs +0 -155
- package/dist/info-BCPme1g5.mjs +0 -187
- package/dist/info-CtGMbfQJ.mjs +0 -187
- package/dist/info-Dk3RzCIp.mjs +0 -176
package/dts/api/dict.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BizLayDict, type Entry, type LayEntry, BizDict } from "jmash-core";
|
|
2
2
|
import type { SysOrgModel } from "./itsm-sys-org/types";
|
|
3
|
-
export declare class CustomBizDict {
|
|
4
|
-
values: import("vue").Reactive<Entry[]>;
|
|
5
|
-
query: any;
|
|
6
|
-
constructor(results: any, query: any);
|
|
7
|
-
getValue(key: string): string;
|
|
8
|
-
}
|
|
9
3
|
export declare class ParentIdBizDict extends BizLayDict {
|
|
10
|
-
useValues(): Promise<LayEntry[]>;
|
|
4
|
+
useValues(excludeOrgId?: string): Promise<LayEntry[]>;
|
|
11
5
|
convertToLayEntryArray(dictLayEntries: SysOrgModel[]): LayEntry[];
|
|
12
6
|
}
|
|
13
7
|
export declare class SysOrgBizDict extends BizDict {
|
|
14
8
|
useValues(): Promise<Entry[]>;
|
|
15
9
|
}
|
|
10
|
+
export declare class DeptBizDict extends BizDict {
|
|
11
|
+
useValues(): Promise<Entry[]>;
|
|
12
|
+
}
|
|
13
|
+
export declare class JobBizDict extends BizDict {
|
|
14
|
+
useValues(): Promise<Entry[]>;
|
|
15
|
+
}
|
package/dts/api/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EnumDict } from "jmash-core";
|
|
2
|
-
import {
|
|
1
|
+
import { EnumDict, CustomBizDict } from "jmash-core";
|
|
2
|
+
import { DeptBizDict, JobBizDict, ParentIdBizDict, SysOrgBizDict } from "./dict";
|
|
3
|
+
import { EntryDict } from "jmash-dict";
|
|
3
4
|
export declare class Dict {
|
|
4
5
|
static readonly hasStatusDict: CustomBizDict;
|
|
5
6
|
static readonly invoiceTypeDictEnum: EnumDict;
|
|
@@ -10,4 +11,7 @@ export declare class Dict {
|
|
|
10
11
|
static readonly engineeTypeDictEnum: EnumDict;
|
|
11
12
|
static readonly sysOrgBizDict: SysOrgBizDict;
|
|
12
13
|
static readonly sysOutBizDict: SysOrgBizDict;
|
|
14
|
+
static readonly engineeCertificateDict: EntryDict;
|
|
15
|
+
static readonly deptBizDict: DeptBizDict;
|
|
16
|
+
static readonly jobBizDict: JobBizDict;
|
|
13
17
|
}
|
|
@@ -12,6 +12,7 @@ export interface SysOrgInvoiceModel extends EntityModel {
|
|
|
12
12
|
taxNumber?: string;
|
|
13
13
|
bankName?: string;
|
|
14
14
|
backNumber?: string;
|
|
15
|
+
taxRate?: string;
|
|
15
16
|
}
|
|
16
17
|
export interface SysOrgInvoiceList extends EntityList {
|
|
17
18
|
results: Array<SysOrgInvoiceModel>;
|
|
@@ -39,6 +40,7 @@ export interface SysOrgInvoiceCreateReq extends EntityCreateReq {
|
|
|
39
40
|
taxNumber?: string;
|
|
40
41
|
bankName?: string;
|
|
41
42
|
backNumber?: string;
|
|
43
|
+
taxRate?: string;
|
|
42
44
|
}
|
|
43
45
|
export interface SysOrgInvoiceUpdateReq extends EntityUpdateReq {
|
|
44
46
|
invoiceId?: string;
|
|
@@ -48,5 +50,6 @@ export interface SysOrgInvoiceUpdateReq extends EntityUpdateReq {
|
|
|
48
50
|
taxNumber?: string;
|
|
49
51
|
bankName?: string;
|
|
50
52
|
backNumber?: string;
|
|
53
|
+
taxRate?: string;
|
|
51
54
|
}
|
|
52
55
|
export type SysOrgInvoiceFormReq = SysOrgInvoiceCreateReq | SysOrgInvoiceUpdateReq;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosPromise } from "axios";
|
|
2
|
-
import type { SysUserExtApi, SysUserExtReq, SysUserExtModel, SysUserExtPage, SysUserExtList, SysUserExtKey, SysUserExtCreateReq, SysUserExtUpdateReq } from "./types";
|
|
2
|
+
import type { SysUserExtApi, SysUserExtReq, SysUserExtModel, SysUserExtPage, SysUserExtList, SysUserExtKey, SysUserExtCreateReq, SysUserExtUpdateReq, SysUserExtImportReq } from "./types";
|
|
3
3
|
declare class SysUserExtApiImpl implements SysUserExtApi {
|
|
4
4
|
getKey(model: SysUserExtModel): SysUserExtKey;
|
|
5
5
|
findPage(query?: SysUserExtReq): AxiosPromise<SysUserExtPage>;
|
|
@@ -9,6 +9,8 @@ declare class SysUserExtApiImpl implements SysUserExtApi {
|
|
|
9
9
|
update(data: SysUserExtUpdateReq): AxiosPromise<SysUserExtModel>;
|
|
10
10
|
delete(query: SysUserExtKey): AxiosPromise<SysUserExtModel>;
|
|
11
11
|
batchDelete(keys: SysUserExtKey[]): AxiosPromise<number>;
|
|
12
|
+
downloadTemplate(): AxiosPromise;
|
|
13
|
+
importExcel(data: SysUserExtImportReq): AxiosPromise<string>;
|
|
12
14
|
}
|
|
13
15
|
declare const sysUserExtApi: SysUserExtApiImpl;
|
|
14
16
|
export { sysUserExtApi };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityImportReq } from "jmash-core";
|
|
2
2
|
export interface SysUserExtApi extends EntityApi {
|
|
3
3
|
}
|
|
4
4
|
export interface SysUserExtReq extends EntityReq {
|
|
@@ -10,6 +10,10 @@ export interface SysUserExtReq extends EntityReq {
|
|
|
10
10
|
hasEngineeJobMode?: boolean;
|
|
11
11
|
likeUserName?: string;
|
|
12
12
|
orgId?: string;
|
|
13
|
+
deptId?: string;
|
|
14
|
+
jobId?: string;
|
|
15
|
+
engineeType?: string;
|
|
16
|
+
hasEngineeType?: boolean;
|
|
13
17
|
}
|
|
14
18
|
export interface SysUserExtModel extends EntityModel {
|
|
15
19
|
userId?: string;
|
|
@@ -32,6 +36,10 @@ export interface SysUserExtModel extends EntityModel {
|
|
|
32
36
|
userPassword?: string;
|
|
33
37
|
avatar?: string;
|
|
34
38
|
userCreateTime?: string;
|
|
39
|
+
engineeCertificate?: string;
|
|
40
|
+
orgIds?: Array<string>;
|
|
41
|
+
roleIds?: Array<string>;
|
|
42
|
+
loginName?: string;
|
|
35
43
|
}
|
|
36
44
|
export interface SysUserExtList extends EntityList {
|
|
37
45
|
results: Array<SysUserExtModel>;
|
|
@@ -68,6 +76,10 @@ export interface SysUserExtCreateReq extends EntityCreateReq {
|
|
|
68
76
|
engineeJobMode?: string;
|
|
69
77
|
orgId?: string;
|
|
70
78
|
userPassword?: string;
|
|
79
|
+
engineeCertificate?: string;
|
|
80
|
+
orgIds?: Array<string>;
|
|
81
|
+
roleIds?: Array<string>;
|
|
82
|
+
loginName?: string;
|
|
71
83
|
}
|
|
72
84
|
export interface SysUserExtUpdateReq extends EntityUpdateReq {
|
|
73
85
|
userId?: string;
|
|
@@ -86,5 +98,11 @@ export interface SysUserExtUpdateReq extends EntityUpdateReq {
|
|
|
86
98
|
engineeJobMode?: string;
|
|
87
99
|
orgId?: string;
|
|
88
100
|
userPassword?: string;
|
|
101
|
+
engineeCertificate?: string;
|
|
102
|
+
orgIds?: Array<string>;
|
|
103
|
+
roleIds?: Array<string>;
|
|
104
|
+
loginName?: string;
|
|
89
105
|
}
|
|
90
106
|
export type SysUserExtFormReq = SysUserExtCreateReq | SysUserExtUpdateReq;
|
|
107
|
+
export interface SysUserExtImportReq extends EntityImportReq {
|
|
108
|
+
}
|
package/dts/constant.d.ts
CHANGED
|
@@ -43,4 +43,13 @@ export declare class Constant {
|
|
|
43
43
|
apiKey: string;
|
|
44
44
|
securityJsCode: string;
|
|
45
45
|
};
|
|
46
|
+
static readonly DICT_ENGINEE_GRADE = "enginee_grade";
|
|
47
|
+
static readonly orderBy: {
|
|
48
|
+
orderName: string;
|
|
49
|
+
orderAsc: boolean;
|
|
50
|
+
};
|
|
51
|
+
static readonly taxRate: {
|
|
52
|
+
min: number;
|
|
53
|
+
max: number;
|
|
54
|
+
};
|
|
46
55
|
}
|
package/dts/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { App } from "vue";
|
|
2
2
|
import "element-plus/dist/index.css";
|
|
3
|
+
import "./styles/index.scss";
|
|
3
4
|
export { sysOrgApi } from "@/api/itsm-sys-org/index";
|
|
4
5
|
export type { SysOrgReq, SysOrgModel } from "@/api/itsm-sys-org/types";
|
|
5
6
|
export { sysUserExtApi } from "@/api/itsm-sys-user-ext/index";
|
|
@@ -18,6 +18,8 @@ declare const _default: {
|
|
|
18
18
|
contactPersonTel: string;
|
|
19
19
|
contactPersonTelRequired: string;
|
|
20
20
|
contactPersonTelRequireds: string;
|
|
21
|
+
geoLongitudeRequired: string;
|
|
22
|
+
geoLatitudeRequired: string;
|
|
21
23
|
};
|
|
22
24
|
sysOrgInvoice: {
|
|
23
25
|
invoiceType: string;
|
|
@@ -31,6 +33,8 @@ declare const _default: {
|
|
|
31
33
|
backNumber: string;
|
|
32
34
|
backNumberRequired: string;
|
|
33
35
|
backNumberLengthRequired: string;
|
|
36
|
+
taxRate: string;
|
|
37
|
+
taxRateRequired: string;
|
|
34
38
|
};
|
|
35
39
|
sysGov: {
|
|
36
40
|
parentId: string;
|
|
@@ -54,6 +58,8 @@ declare const _default: {
|
|
|
54
58
|
contactPersonTel: string;
|
|
55
59
|
contactPersonTelRequired: string;
|
|
56
60
|
contactPersonTelRequireds: string;
|
|
61
|
+
geoLongitudeRequired: string;
|
|
62
|
+
geoLatitudeRequired: string;
|
|
57
63
|
};
|
|
58
64
|
sysOut: {
|
|
59
65
|
contactPerson: string;
|
|
@@ -101,8 +107,15 @@ declare const _default: {
|
|
|
101
107
|
userPasswordRequired: string;
|
|
102
108
|
randomPwd: string;
|
|
103
109
|
userCreateTime: string;
|
|
110
|
+
orgIds: string;
|
|
111
|
+
orgIdsRequired: string;
|
|
112
|
+
roleIds: string;
|
|
113
|
+
roleIdsRequired: string;
|
|
114
|
+
loginName: string;
|
|
115
|
+
loginNameRequired: string;
|
|
104
116
|
};
|
|
105
117
|
sysUserOps: {
|
|
118
|
+
name: string;
|
|
106
119
|
realName: string;
|
|
107
120
|
realNameRequired: string;
|
|
108
121
|
engineeType: string;
|
|
@@ -132,6 +145,10 @@ declare const _default: {
|
|
|
132
145
|
userPasswordRequired: string;
|
|
133
146
|
randomPwd: string;
|
|
134
147
|
userCreateTime: string;
|
|
148
|
+
engineeCertificate: string;
|
|
149
|
+
engineeCertificateRequired: string;
|
|
150
|
+
loginName: string;
|
|
151
|
+
loginNameRequired: string;
|
|
135
152
|
};
|
|
136
153
|
};
|
|
137
154
|
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
uploadVisible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: () => boolean;
|
|
5
|
+
};
|
|
6
|
+
templateTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
templateDown: (...args: any[]) => void;
|
|
12
|
+
importEvents: (...args: any[]) => void;
|
|
13
|
+
uploadClosed: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
+
uploadVisible: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: () => boolean;
|
|
18
|
+
};
|
|
19
|
+
templateTitle: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
onTemplateDown?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onImportEvents?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onUploadClosed?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
uploadVisible: boolean;
|
|
29
|
+
templateTitle: string;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
uploadVisible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: () => boolean;
|
|
5
|
+
};
|
|
6
|
+
templateTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
templateDown: (...args: any[]) => void;
|
|
12
|
+
importEvents: (...args: any[]) => void;
|
|
13
|
+
uploadClosed: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
+
uploadVisible: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: () => boolean;
|
|
18
|
+
};
|
|
19
|
+
templateTitle: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
onTemplateDown?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onImportEvents?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onUploadClosed?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
uploadVisible: boolean;
|
|
29
|
+
templateTitle: string;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-itsmsys",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"axios": "^1.7.7",
|
|
13
13
|
"element-plus": "^2.8.7",
|
|
14
|
-
"jmash-core": "^0.0.
|
|
14
|
+
"jmash-core": "^0.0.118",
|
|
15
15
|
"jmash-dict": "^0.0.44",
|
|
16
|
-
"jmash-rbac": "^0.0.
|
|
16
|
+
"jmash-rbac": "^0.0.42",
|
|
17
17
|
"pinia": "^2.2.4",
|
|
18
18
|
"vue": "^3.5.11",
|
|
19
19
|
"vue-i18n": "^9.14.1",
|