xyvcard-itsmsys 0.0.18 → 0.0.19
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/README.md +51 -51
- package/dist/{edit-C1zg8B0y.mjs → edit-BrHOGUbU.mjs} +1 -1
- package/dist/{edit-Cs3KIwaz.mjs → edit-CNEVornb.mjs} +100 -100
- package/dist/{edit-CxRGbAP_.mjs → edit-COKceKzl.mjs} +87 -87
- package/dist/{edit-DLN1WFrt.mjs → edit-Czi-Vkbf.mjs} +1 -1
- package/dist/{edit-CNFS8ehW.mjs → edit-DYqAdRsK.mjs} +99 -99
- package/dist/{edit-DlEW6lB8.mjs → edit-DybO5r3p.mjs} +1 -1
- package/dist/{edit-Dmxyf_Gp.mjs → edit-_QJnKCdq.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs → edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs} +136 -136
- package/dist/{edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs → edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs} +172 -173
- package/dist/{edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs → edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs} +53 -53
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs → edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs} +108 -108
- package/dist/{import-upload-BM5kcXdg.mjs → import-upload-BvY7RZa-.mjs} +2 -2
- package/dist/{import-upload-BvBtwEbI.mjs → import-upload-DBk1lPqR.mjs} +5 -5
- package/dist/{index-CdQGs3Vu.mjs → index-BHcHN6PY.mjs} +3 -3
- package/dist/{index-Bxg8G8aA.mjs → index-Cow_4AlE.mjs} +3 -3
- package/dist/{index-D2e-NU3E.mjs → index-CuBZptA_.mjs} +1 -1
- package/dist/{index-nhzVBt2y.mjs → index-D__UxnZG.mjs} +13 -15
- package/dist/{index-Dsf1qOUx.mjs → index-IpHv0Vzi.mjs} +1 -1
- package/dist/{index-BzqZLipq.mjs → index-cpyRUYdS.mjs} +57 -55
- package/dist/{index-EhejgmO6.mjs → index-dIcRC4jE.mjs} +7 -13
- package/dist/{index-D2BUGsak.mjs → index-p50UkFiJ.mjs} +3 -3
- package/dist/index.mjs +1021 -936
- package/dist/{index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs → index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs} +2 -2
- package/dist/{info-rnc-sgQt.mjs → info-BUKhtcuu.mjs} +2 -2
- package/dist/{info-DBObKyIh.mjs → info-Bn5mhJtq.mjs} +2 -2
- package/dist/{info-BZ7IZet8.mjs → info-Dx5fzSIP.mjs} +2 -2
- package/dist/{info-B2d8xPwW.mjs → info-EodyqiPm.mjs} +2 -2
- package/dist/{info-CoizfoOq.mjs → info-G1z1-aeX.mjs} +2 -2
- package/dist/{info-CCfX-q4c.mjs → info-bYWisCey.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-org/index.d.ts +5 -0
- package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -3
- package/dts/api/itsm-sys-user-ext/types.d.ts +8 -0
- package/dts/constant.d.ts +0 -4
- package/dts/index.d.ts +0 -1
- package/dts/lang/itsmsys/en.d.ts +130 -49
- package/dts/lang/itsmsys/zh-cn.d.ts +0 -3
- package/dts/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +8 -2
- package/package.json +18 -20
- package/dist/import-upload-CjeTCQBx.mjs +0 -161
- package/dts/components/TMaps/index.vue.d.ts +0 -20
- package/dts/utils/TMap.d.ts +0 -1
- package/dts/utils/common.d.ts +0 -1
- package/dts/views/itsmsys/itsm-sys-user-ops/import-upload.vue.d.ts +0 -31
|
@@ -4,6 +4,11 @@ declare class SysOrgApiImpl implements SysOrgApi {
|
|
|
4
4
|
getKey(model: SysOrgModel): SysOrgKey;
|
|
5
5
|
findPage(query?: SysOrgReq): AxiosPromise<SysOrgPage>;
|
|
6
6
|
findList(query?: SysOrgReq): AxiosPromise<SysOrgList>;
|
|
7
|
+
/**
|
|
8
|
+
* 查询列表信息机构信息
|
|
9
|
+
* @param query 可选的查询条件,用于指定机构类型等筛选条件
|
|
10
|
+
* @returns 返回一个AxiosPromise,解析为SysOrgList类型的机构列表信息
|
|
11
|
+
*/
|
|
7
12
|
findOutSourceList(query?: SysOrgReq): AxiosPromise<SysOrgList>;
|
|
8
13
|
findById(query: SysOrgKey): AxiosPromise<SysOrgModel>;
|
|
9
14
|
create(data: SysOrgCreateReq): AxiosPromise<SysOrgModel>;
|
|
@@ -12,7 +12,7 @@ export interface SysOrgInvoiceModel extends EntityModel {
|
|
|
12
12
|
taxNumber?: string;
|
|
13
13
|
bankName?: string;
|
|
14
14
|
backNumber?: string;
|
|
15
|
-
taxRate?:
|
|
15
|
+
taxRate?: number;
|
|
16
16
|
}
|
|
17
17
|
export interface SysOrgInvoiceList extends EntityList {
|
|
18
18
|
results: Array<SysOrgInvoiceModel>;
|
|
@@ -40,7 +40,7 @@ export interface SysOrgInvoiceCreateReq extends EntityCreateReq {
|
|
|
40
40
|
taxNumber?: string;
|
|
41
41
|
bankName?: string;
|
|
42
42
|
backNumber?: string;
|
|
43
|
-
taxRate?:
|
|
43
|
+
taxRate?: number;
|
|
44
44
|
}
|
|
45
45
|
export interface SysOrgInvoiceUpdateReq extends EntityUpdateReq {
|
|
46
46
|
invoiceId?: string;
|
|
@@ -50,6 +50,6 @@ export interface SysOrgInvoiceUpdateReq extends EntityUpdateReq {
|
|
|
50
50
|
taxNumber?: string;
|
|
51
51
|
bankName?: string;
|
|
52
52
|
backNumber?: string;
|
|
53
|
-
taxRate?:
|
|
53
|
+
taxRate?: number;
|
|
54
54
|
}
|
|
55
55
|
export type SysOrgInvoiceFormReq = SysOrgInvoiceCreateReq | SysOrgInvoiceUpdateReq;
|
|
@@ -107,3 +107,11 @@ export type SysUserExtFormReq = SysUserExtCreateReq | SysUserExtUpdateReq;
|
|
|
107
107
|
export interface SysUserExtImportReq extends EntityImportReq {
|
|
108
108
|
userType?: string;
|
|
109
109
|
}
|
|
110
|
+
export interface ImportType {
|
|
111
|
+
tenant: string;
|
|
112
|
+
requestId: string;
|
|
113
|
+
fileNames: string;
|
|
114
|
+
updateMask: string;
|
|
115
|
+
addFlag: boolean;
|
|
116
|
+
orgId: string;
|
|
117
|
+
}
|
package/dts/constant.d.ts
CHANGED
package/dts/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export { sysOrgApi } from "@/api/itsm-sys-org/index";
|
|
|
5
5
|
export type { SysOrgReq, SysOrgModel } from "@/api/itsm-sys-org/types";
|
|
6
6
|
export { sysUserExtApi } from "@/api/itsm-sys-user-ext/index";
|
|
7
7
|
export type { SysUserExtReq, SysUserExtModel, } from "@/api/itsm-sys-user-ext/types";
|
|
8
|
-
export type { Constant } from "@/constant";
|
|
9
8
|
declare const itsmsys: {
|
|
10
9
|
install(app: App): void;
|
|
11
10
|
};
|
package/dts/lang/itsmsys/en.d.ts
CHANGED
|
@@ -1,73 +1,154 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
sysFiles: {
|
|
3
|
-
name: string;
|
|
4
|
-
filesId: string;
|
|
5
|
-
fileId: string;
|
|
6
|
-
fileName: string;
|
|
7
|
-
fileType: string;
|
|
8
|
-
filePath: string;
|
|
9
|
-
fileSize: string;
|
|
10
|
-
fileExt: string;
|
|
11
|
-
fileWidth: string;
|
|
12
|
-
fileHeight: string;
|
|
13
|
-
intro: string;
|
|
14
|
-
fileLocation: string;
|
|
15
|
-
geoLongitude: string;
|
|
16
|
-
geoLatitude: string;
|
|
17
|
-
geoAccuracy: string;
|
|
18
|
-
geoAltitude: string;
|
|
19
|
-
geoAltitudeAccracy: string;
|
|
20
|
-
actionId: string;
|
|
21
|
-
orderBy: string;
|
|
22
|
-
};
|
|
23
2
|
sysOrg: {
|
|
24
|
-
|
|
25
|
-
|
|
3
|
+
contactPerson: string;
|
|
4
|
+
contactPersonRequired: string;
|
|
5
|
+
status: string;
|
|
6
|
+
statusRequired: string;
|
|
26
7
|
orgName: string;
|
|
27
|
-
|
|
28
|
-
orgType: string;
|
|
29
|
-
creditCode: string;
|
|
30
|
-
creditCodeImg: string;
|
|
8
|
+
orgNameRequired: string;
|
|
31
9
|
address: string;
|
|
10
|
+
addressRequired: string;
|
|
32
11
|
geoLongitude: string;
|
|
33
12
|
geoLatitude: string;
|
|
34
|
-
legalPerson: string;
|
|
35
|
-
legalPersonMobile: string;
|
|
36
|
-
legalPersonMobileIns: string;
|
|
37
|
-
contactPerson: string;
|
|
38
13
|
contactPersonPosi: string;
|
|
14
|
+
contactPersonPosiRequired: string;
|
|
39
15
|
contactPersonMobile: string;
|
|
40
|
-
|
|
16
|
+
contactPersonMobileRequired: string;
|
|
17
|
+
contactPersonMobileRequireds: string;
|
|
41
18
|
contactPersonTel: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
orderBy: string;
|
|
19
|
+
contactPersonTelRequired: string;
|
|
20
|
+
contactPersonTelRequireds: string;
|
|
21
|
+
geoLongitudeRequired: string;
|
|
22
|
+
geoLatitudeRequired: string;
|
|
47
23
|
};
|
|
48
24
|
sysOrgInvoice: {
|
|
49
|
-
name: string;
|
|
50
|
-
invoiceId: string;
|
|
51
|
-
orgId: string;
|
|
52
25
|
invoiceType: string;
|
|
26
|
+
invoiceTypeRequired: string;
|
|
53
27
|
invoiceTitle: string;
|
|
28
|
+
invoiceTitleRequired: string;
|
|
54
29
|
taxNumber: string;
|
|
30
|
+
taxNumberRequired: string;
|
|
55
31
|
bankName: string;
|
|
32
|
+
bankNameRequired: string;
|
|
56
33
|
backNumber: string;
|
|
34
|
+
backNumberRequired: string;
|
|
35
|
+
backNumberLengthRequired: string;
|
|
36
|
+
taxRate: string;
|
|
37
|
+
taxRateRequired: string;
|
|
38
|
+
};
|
|
39
|
+
sysGov: {
|
|
40
|
+
parentId: string;
|
|
41
|
+
parentIdRequired: string;
|
|
42
|
+
orderBy: string;
|
|
43
|
+
contactPerson: string;
|
|
44
|
+
contactPersonRequired: string;
|
|
45
|
+
status: string;
|
|
46
|
+
statusRequired: string;
|
|
47
|
+
orgName: string;
|
|
48
|
+
orgNameRequired: string;
|
|
49
|
+
address: string;
|
|
50
|
+
addressRequired: string;
|
|
51
|
+
geoLongitude: string;
|
|
52
|
+
geoLatitude: string;
|
|
53
|
+
contactPersonPosi: string;
|
|
54
|
+
contactPersonPosiRequired: string;
|
|
55
|
+
contactPersonMobile: string;
|
|
56
|
+
contactPersonMobileRequired: string;
|
|
57
|
+
contactPersonMobileRequireds: string;
|
|
58
|
+
contactPersonTel: string;
|
|
59
|
+
contactPersonTelRequired: string;
|
|
60
|
+
contactPersonTelRequireds: string;
|
|
61
|
+
geoLongitudeRequired: string;
|
|
62
|
+
geoLatitudeRequired: string;
|
|
63
|
+
};
|
|
64
|
+
sysOut: {
|
|
65
|
+
contactPerson: string;
|
|
66
|
+
contactPersonRequired: string;
|
|
67
|
+
status: string;
|
|
68
|
+
statusRequired: string;
|
|
69
|
+
orgName: string;
|
|
70
|
+
orgNameRequired: string;
|
|
57
71
|
address: string;
|
|
58
|
-
|
|
59
|
-
|
|
72
|
+
addressRequired: string;
|
|
73
|
+
geoLongitude: string;
|
|
74
|
+
geoLatitude: string;
|
|
75
|
+
contactPersonPosi: string;
|
|
76
|
+
contactPersonPosiRequired: string;
|
|
77
|
+
contactPersonMobile: string;
|
|
78
|
+
contactPersonMobileRequired: string;
|
|
79
|
+
contactPersonMobileRequireds: string;
|
|
80
|
+
contactPersonTel: string;
|
|
81
|
+
contactPersonTelRequired: string;
|
|
82
|
+
contactPersonTelRequireds: string;
|
|
60
83
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
84
|
+
sysUserMan: {
|
|
85
|
+
realName: string;
|
|
86
|
+
realNameRequired: string;
|
|
87
|
+
mobilePhone: string;
|
|
88
|
+
mobilePhoneRequired: string;
|
|
89
|
+
mobilePhoneRequireds: string;
|
|
90
|
+
email: string;
|
|
91
|
+
emailRequired: string;
|
|
92
|
+
emailRequireds: string;
|
|
93
|
+
gender: string;
|
|
94
|
+
genderRequired: string;
|
|
68
95
|
jobStatus: string;
|
|
96
|
+
jobStatusRequired: string;
|
|
97
|
+
deptId: string;
|
|
98
|
+
deptIdRequired: string;
|
|
99
|
+
jobId: string;
|
|
100
|
+
jobIdRequired: string;
|
|
101
|
+
idNo: string;
|
|
102
|
+
idNoRequired: string;
|
|
103
|
+
idNoLengthRequired: string;
|
|
104
|
+
orgId: string;
|
|
105
|
+
orgIdRequired: string;
|
|
106
|
+
userPassword: string;
|
|
107
|
+
userPasswordRequired: string;
|
|
108
|
+
randomPwd: string;
|
|
109
|
+
userCreateTime: string;
|
|
110
|
+
orgIds: string;
|
|
111
|
+
orgIdsRequired: string;
|
|
112
|
+
roleIds: string;
|
|
113
|
+
roleIdsRequired: string;
|
|
114
|
+
loginName: string;
|
|
115
|
+
loginNameRequired: string;
|
|
116
|
+
};
|
|
117
|
+
sysUserOps: {
|
|
118
|
+
name: string;
|
|
119
|
+
realName: string;
|
|
120
|
+
realNameRequired: string;
|
|
69
121
|
engineerType: string;
|
|
122
|
+
engineerTypeRequired: string;
|
|
123
|
+
jobStatus: string;
|
|
124
|
+
jobStatusRequired: string;
|
|
125
|
+
engineerJobMode: string;
|
|
126
|
+
engineerJobModeRequired: string;
|
|
127
|
+
mobilePhone: string;
|
|
128
|
+
mobilePhoneRequired: string;
|
|
129
|
+
mobilePhoneRequireds: string;
|
|
130
|
+
email: string;
|
|
131
|
+
emailRequired: string;
|
|
132
|
+
emailRequireds: string;
|
|
133
|
+
gender: string;
|
|
134
|
+
genderRequired: string;
|
|
135
|
+
group: string;
|
|
136
|
+
groupRequired: string;
|
|
137
|
+
idNo: string;
|
|
138
|
+
idNoRequired: string;
|
|
139
|
+
idNoLengthRequired: string;
|
|
70
140
|
engineerSpecialty: string;
|
|
141
|
+
engineerSpecialtyRequired: string;
|
|
142
|
+
orgId: string;
|
|
143
|
+
orgIdRequired: string;
|
|
144
|
+
userPassword: string;
|
|
145
|
+
userPasswordRequired: string;
|
|
146
|
+
randomPwd: string;
|
|
147
|
+
userCreateTime: string;
|
|
148
|
+
engineerCertificate: string;
|
|
149
|
+
engineerCertificateRequired: string;
|
|
150
|
+
loginName: string;
|
|
151
|
+
loginNameRequired: string;
|
|
71
152
|
};
|
|
72
153
|
};
|
|
73
154
|
export default _default;
|
|
@@ -17,7 +17,6 @@ declare const _default: {
|
|
|
17
17
|
contactPersonMobileRequireds: string;
|
|
18
18
|
contactPersonTel: string;
|
|
19
19
|
contactPersonTelRequired: string;
|
|
20
|
-
contactPersonTelRequireds: string;
|
|
21
20
|
geoLongitudeRequired: string;
|
|
22
21
|
geoLatitudeRequired: string;
|
|
23
22
|
};
|
|
@@ -57,7 +56,6 @@ declare const _default: {
|
|
|
57
56
|
contactPersonMobileRequireds: string;
|
|
58
57
|
contactPersonTel: string;
|
|
59
58
|
contactPersonTelRequired: string;
|
|
60
|
-
contactPersonTelRequireds: string;
|
|
61
59
|
geoLongitudeRequired: string;
|
|
62
60
|
geoLatitudeRequired: string;
|
|
63
61
|
};
|
|
@@ -79,7 +77,6 @@ declare const _default: {
|
|
|
79
77
|
contactPersonMobileRequireds: string;
|
|
80
78
|
contactPersonTel: string;
|
|
81
79
|
contactPersonTelRequired: string;
|
|
82
|
-
contactPersonTelRequireds: string;
|
|
83
80
|
};
|
|
84
81
|
sysUserMan: {
|
|
85
82
|
realName: string;
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import type { SysOrgInvoiceKey } from "@/api/itsm-sys-org-invoice/types";
|
|
3
3
|
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
-
modelValue: PropType<boolean>;
|
|
5
4
|
entityKey: {
|
|
6
5
|
type: PropType<SysOrgInvoiceKey>;
|
|
7
6
|
default: () => void;
|
|
8
7
|
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
9
11
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
12
|
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
11
14
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
-
modelValue: PropType<boolean>;
|
|
13
15
|
entityKey: {
|
|
14
16
|
type: PropType<SysOrgInvoiceKey>;
|
|
15
17
|
default: () => void;
|
|
16
18
|
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
17
22
|
}>> & Readonly<{
|
|
18
23
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
19
25
|
}>, {
|
|
20
26
|
entityKey: SysOrgInvoiceKey;
|
|
21
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import type { SysUserExtKey } from "@/api/itsm-sys-user-ext/types";
|
|
3
3
|
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
-
modelValue: PropType<boolean>;
|
|
5
4
|
entityKey: {
|
|
6
5
|
type: PropType<SysUserExtKey>;
|
|
7
6
|
default: () => void;
|
|
8
7
|
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
9
11
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
12
|
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
11
14
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
-
modelValue: PropType<boolean>;
|
|
13
15
|
entityKey: {
|
|
14
16
|
type: PropType<SysUserExtKey>;
|
|
15
17
|
default: () => void;
|
|
16
18
|
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
17
22
|
}>> & Readonly<{
|
|
18
23
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
19
25
|
}>, {
|
|
20
26
|
entityKey: SysUserExtKey;
|
|
21
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import type { SysUserExtKey } from "@/api/itsm-sys-user-ext/types";
|
|
3
3
|
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
-
modelValue: PropType<boolean>;
|
|
5
4
|
entityKey: {
|
|
6
5
|
type: PropType<SysUserExtKey>;
|
|
7
6
|
default: () => void;
|
|
8
7
|
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
9
11
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
12
|
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
11
14
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
-
modelValue: PropType<boolean>;
|
|
13
15
|
entityKey: {
|
|
14
16
|
type: PropType<SysUserExtKey>;
|
|
15
17
|
default: () => void;
|
|
16
18
|
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
17
22
|
}>> & Readonly<{
|
|
18
23
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
19
25
|
}>, {
|
|
20
26
|
entityKey: SysUserExtKey;
|
|
21
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
2
|
import type { SysUserExtKey } from "@/api/itsm-sys-user-ext/types";
|
|
3
3
|
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
-
modelValue: PropType<boolean>;
|
|
5
4
|
entityKey: {
|
|
6
5
|
type: PropType<SysUserExtKey>;
|
|
7
6
|
default: () => void;
|
|
8
7
|
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
9
11
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
12
|
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
11
14
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
-
modelValue: PropType<boolean>;
|
|
13
15
|
entityKey: {
|
|
14
16
|
type: PropType<SysUserExtKey>;
|
|
15
17
|
default: () => void;
|
|
16
18
|
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
17
22
|
}>> & Readonly<{
|
|
18
23
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
19
25
|
}>, {
|
|
20
26
|
entityKey: SysUserExtKey;
|
|
21
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-itsmsys",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
@@ -9,44 +9,42 @@
|
|
|
9
9
|
"dts"
|
|
10
10
|
],
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"axios": "^1.
|
|
13
|
-
"element-plus": "^2.
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
12
|
+
"axios": "^1.9.0",
|
|
13
|
+
"element-plus": "^2.9.10",
|
|
14
|
+
"pinia": "^2.3.1",
|
|
15
|
+
"vue": "^3.5.13",
|
|
16
|
+
"vue-i18n": "^9.14.4",
|
|
17
|
+
"vue-router": "^4.5.1",
|
|
18
|
+
"jmash-core": "^0.1.0",
|
|
19
|
+
"jmash-dict": "^0.1.0",
|
|
20
|
+
"jmash-rbac": "^0.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@eslint/js": "^9.
|
|
24
|
-
"@rushstack/eslint-patch": "^1.3.3",
|
|
23
|
+
"@eslint/js": "^9.14.0",
|
|
25
24
|
"@tsconfig/node20": "^20.1.2",
|
|
26
25
|
"@types/node": "^20.11.10",
|
|
27
26
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
28
|
-
"@vue/eslint-config-prettier": "^8.0.0",
|
|
29
27
|
"@vue/tsconfig": "^0.5.1",
|
|
30
|
-
"eslint": "^9.
|
|
31
|
-
"eslint-plugin-vue": "^9.
|
|
32
|
-
"globals": "^15.
|
|
33
|
-
"moment": "^2.30.1",
|
|
28
|
+
"eslint": "^9.14.0",
|
|
29
|
+
"eslint-plugin-vue": "^9.30.0",
|
|
30
|
+
"globals": "^15.12.0",
|
|
34
31
|
"npm-run-all2": "^6.1.1",
|
|
35
32
|
"prettier": "^3.0.3",
|
|
36
33
|
"sass": "^1.72.0",
|
|
37
34
|
"typescript": "~5.3.0",
|
|
38
|
-
"typescript-eslint": "^8.
|
|
35
|
+
"typescript-eslint": "^8.13.0",
|
|
39
36
|
"unplugin-auto-import": "^0.17.5",
|
|
40
37
|
"unplugin-vue-components": "^0.26.0",
|
|
41
38
|
"vite": "^5.0.11",
|
|
42
|
-
"vue-tsc": "^1.
|
|
39
|
+
"vue-tsc": "^2.1.10"
|
|
43
40
|
},
|
|
44
41
|
"dependencies": {
|
|
45
42
|
"@element-plus/icons-vue": "^2.3.1",
|
|
46
43
|
"@vueuse/core": "^10.9.0",
|
|
47
44
|
"file-saver": "^2.0.5",
|
|
48
45
|
"nprogress": "^0.2.0",
|
|
49
|
-
"qs": "^6.
|
|
46
|
+
"qs": "^6.14.0",
|
|
47
|
+
"moment": "^2.30.1"
|
|
50
48
|
},
|
|
51
49
|
"scripts": {
|
|
52
50
|
"dev": "vite --host",
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l, openBlock as G, createBlock as J, unref as V, isRef as K, withCtx as o, createElementVNode as a, createVNode as t, createTextVNode as m, toDisplayString as n } from "vue";
|
|
2
|
-
import { useI18n as L } from "vue-i18n";
|
|
3
|
-
import { ElMessage as f } from "element-plus";
|
|
4
|
-
import { fileApi as w, useUserStore as D } from "jmash-core";
|
|
5
|
-
import { D as I } from "./index-EhejgmO6.mjs";
|
|
6
|
-
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
|
-
const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
|
|
8
|
-
__name: "import-upload",
|
|
9
|
-
props: {
|
|
10
|
-
uploadVisible: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: () => !1
|
|
13
|
-
},
|
|
14
|
-
templateTitle: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: ""
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
emits: ["templateDown", "importEvents", "uploadClosed"],
|
|
20
|
-
setup(_, { emit: b }) {
|
|
21
|
-
const { t: g } = L(), U = i(w.uploadUrl()), k = i(w.authHeader()), $ = C({
|
|
22
|
-
tenant: D().user.tenant
|
|
23
|
-
}), E = i(), d = C({
|
|
24
|
-
tenant: D().user.tenant,
|
|
25
|
-
requestId: Math.random() * 10 + "",
|
|
26
|
-
fileNames: "",
|
|
27
|
-
updateMask: "",
|
|
28
|
-
addFlag: !0,
|
|
29
|
-
// 必填项,true新增,false修改
|
|
30
|
-
orgId: ""
|
|
31
|
-
});
|
|
32
|
-
I.sysOrgBizDict.useValues();
|
|
33
|
-
const N = _, p = b, { uploadVisible: u } = H(N), r = i();
|
|
34
|
-
function R() {
|
|
35
|
-
p("templateDown");
|
|
36
|
-
}
|
|
37
|
-
function S(e) {
|
|
38
|
-
r.value = e, d.orgId = e;
|
|
39
|
-
}
|
|
40
|
-
function q(e) {
|
|
41
|
-
d.fileNames = e.fileSrc, d.orgId = r.value, d.fileNames && f({
|
|
42
|
-
message: g("common.uploadSuccess"),
|
|
43
|
-
type: "success"
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
const B = () => {
|
|
47
|
-
f.warning("当前限制选择 1 个文件");
|
|
48
|
-
};
|
|
49
|
-
function O() {
|
|
50
|
-
if (!r.value) {
|
|
51
|
-
f({
|
|
52
|
-
message: g("sysUserOps.orgIdRequired"),
|
|
53
|
-
type: "warning"
|
|
54
|
-
});
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
p("importEvents", d);
|
|
58
|
-
}
|
|
59
|
-
function v() {
|
|
60
|
-
p("uploadClosed");
|
|
61
|
-
}
|
|
62
|
-
return (e, s) => {
|
|
63
|
-
const y = l("el-col"), x = l("jmash-select"), F = l("el-row"), M = l("upload-filled"), T = l("el-icon"), j = l("el-upload"), h = l("el-button"), z = l("el-dialog");
|
|
64
|
-
return G(), J(z, {
|
|
65
|
-
modelValue: V(u),
|
|
66
|
-
"onUpdate:modelValue": s[1] || (s[1] = (c) => K(u) ? u.value = c : null),
|
|
67
|
-
title: e.$t("common.uploadFiles"),
|
|
68
|
-
width: "500px",
|
|
69
|
-
onClose: v
|
|
70
|
-
}, {
|
|
71
|
-
footer: o(() => [
|
|
72
|
-
a("div", X, [
|
|
73
|
-
t(h, { onClick: v }, {
|
|
74
|
-
default: o(() => [
|
|
75
|
-
m(n(e.$t("common.cancel")), 1)
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
}),
|
|
79
|
-
t(h, {
|
|
80
|
-
type: "primary",
|
|
81
|
-
onClick: O
|
|
82
|
-
}, {
|
|
83
|
-
default: o(() => [
|
|
84
|
-
m(n(e.$t("common.confirm")), 1)
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
})
|
|
88
|
-
])
|
|
89
|
-
]),
|
|
90
|
-
default: o(() => [
|
|
91
|
-
t(F, { class: "row" }, {
|
|
92
|
-
default: o(() => [
|
|
93
|
-
t(y, { span: 4 }, {
|
|
94
|
-
default: o(() => [
|
|
95
|
-
s[2] || (s[2] = a("span", { class: "required_red" }, "*", -1)),
|
|
96
|
-
a("span", null, n(e.$t("sysUserOps.orgId")), 1)
|
|
97
|
-
]),
|
|
98
|
-
_: 1
|
|
99
|
-
}),
|
|
100
|
-
t(y, { span: 20 }, {
|
|
101
|
-
default: o(() => [
|
|
102
|
-
t(x, {
|
|
103
|
-
modelValue: r.value,
|
|
104
|
-
"onUpdate:modelValue": s[0] || (s[0] = (c) => r.value = c),
|
|
105
|
-
data: V(I).sysOrgBizDict.values,
|
|
106
|
-
filterable: "",
|
|
107
|
-
"check-strictly": "",
|
|
108
|
-
"render-after-expand": !1,
|
|
109
|
-
placeholder: e.$t("sysUserOps.orgIdRequired"),
|
|
110
|
-
class: "w-full",
|
|
111
|
-
onChange: S
|
|
112
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
113
|
-
]),
|
|
114
|
-
_: 1
|
|
115
|
-
})
|
|
116
|
-
]),
|
|
117
|
-
_: 1
|
|
118
|
-
}),
|
|
119
|
-
t(j, {
|
|
120
|
-
ref_key: "uploadRef",
|
|
121
|
-
ref: E,
|
|
122
|
-
drag: "",
|
|
123
|
-
action: U.value,
|
|
124
|
-
headers: k.value,
|
|
125
|
-
data: $,
|
|
126
|
-
limit: 1,
|
|
127
|
-
"on-success": q,
|
|
128
|
-
"on-exceed": B,
|
|
129
|
-
style: { "margin-top": "20px" }
|
|
130
|
-
}, {
|
|
131
|
-
tip: o(() => [
|
|
132
|
-
a("div", {
|
|
133
|
-
class: "el-upload__tip",
|
|
134
|
-
onClick: R
|
|
135
|
-
}, [
|
|
136
|
-
a("a", W, n(_.templateTitle), 1)
|
|
137
|
-
])
|
|
138
|
-
]),
|
|
139
|
-
default: o(() => [
|
|
140
|
-
t(T, { class: "el-icon--upload" }, {
|
|
141
|
-
default: o(() => [
|
|
142
|
-
t(M)
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
}),
|
|
146
|
-
a("div", Q, [
|
|
147
|
-
m(n(e.$t("common.dragFiles")) + " ", 1),
|
|
148
|
-
a("em", null, n(e.$t("common.uploadEvent")), 1)
|
|
149
|
-
])
|
|
150
|
-
]),
|
|
151
|
-
_: 1
|
|
152
|
-
}, 8, ["action", "headers", "data"])
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
}, 8, ["modelValue", "title"]);
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
}), se = /* @__PURE__ */ P(Y, [["__scopeId", "data-v-b1300bb0"]]);
|
|
159
|
-
export {
|
|
160
|
-
se as default
|
|
161
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
-
address: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
getAddress: (...args: any[]) => void;
|
|
8
|
-
getLatLng: (...args: any[]) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
10
|
-
address: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}>> & Readonly<{
|
|
15
|
-
onGetAddress?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
onGetLatLng?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
address: string;
|
|
19
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
-
export default _default;
|
package/dts/utils/TMap.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function loadScript(): Promise<unknown>;
|
package/dts/utils/common.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateRandomKey(): string;
|