xyvcard-itsmsys 0.0.3 → 0.0.4

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.
Files changed (70) hide show
  1. package/dist/common-B2PCBCJ2.mjs +13 -0
  2. package/dist/edit-BhRXuYku.mjs +342 -0
  3. package/dist/edit-CIm8Y0Be.mjs +4 -0
  4. package/dist/edit-CWVYUzgf.mjs +369 -0
  5. package/dist/edit-CkaU_6vk.mjs +342 -0
  6. package/dist/edit-D82hX9if.mjs +4 -0
  7. package/dist/edit-DPM0jGQT.mjs +4 -0
  8. package/dist/edit-DZJU5ZPt.mjs +4 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs +437 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs +439 -0
  11. package/dist/{invoiceEdit-Chsj8_aC.mjs → edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs} +58 -63
  12. package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -0
  13. package/dist/index-B_cot8iN.mjs +439 -0
  14. package/dist/index-BkHGzL0R.mjs +358 -0
  15. package/dist/index-C6KvLUoL.mjs +4 -0
  16. package/dist/index-CEUyLrKg.mjs +404 -0
  17. package/dist/index-ChTssr8-.mjs +123 -0
  18. package/dist/{index-B02UvpyC.mjs → index-ClU157bA.mjs} +103 -113
  19. package/dist/{index-Cskg0LGf.mjs → index-CogdeN09.mjs} +101 -111
  20. package/dist/{index-CUjT3FVb.mjs → index-i7X9N_rj.mjs} +107 -117
  21. package/dist/index.mjs +2765 -126
  22. package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +180 -0
  23. package/dist/info-70H0sycC.mjs +187 -0
  24. package/dist/info-BWgVN2mJ.mjs +176 -0
  25. package/dist/info-CE-ZnFj5.mjs +179 -0
  26. package/dist/info-Kf11Ye-N.mjs +187 -0
  27. package/dist/info-MYJGcyMX.mjs +179 -0
  28. package/dist/info-Z5LuCRmr.mjs +187 -0
  29. package/dist/style.css +1 -1
  30. package/dts/src/api/dict.d.ts +4 -1
  31. package/dts/src/api/index.d.ts +4 -1
  32. package/dts/src/api/itsm-sys-org/index.d.ts +1 -0
  33. package/dts/src/api/itsm-sys-org/types.d.ts +2 -2
  34. package/dts/src/api/itsm-sys-user-ext/types.d.ts +18 -3
  35. package/dts/src/constant.d.ts +7 -0
  36. package/dts/src/lang/itsmsys/zh-cn.d.ts +27 -11
  37. package/dts/src/router/index.d.ts +6 -4
  38. package/dts/src/utils/common.d.ts +1 -0
  39. package/dts/src/utils/momentPlugin.d.ts +5 -0
  40. package/dts/src/views/itsmsys/{itsm-sys-gov/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
  41. package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
  42. package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
  43. package/dts/src/views/itsmsys/{itsm-sys-org/invoiceEdit.vue.d.ts → itsm-sys-user-out/edit.vue.d.ts} +6 -15
  44. package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
  45. package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
  46. package/package.json +3 -3
  47. package/dist/edit-BeMy_aOl.mjs +0 -548
  48. package/dist/edit-BhXrnHr7.mjs +0 -520
  49. package/dist/edit-BsLAy2-H.mjs +0 -276
  50. package/dist/edit-D7n1rZY2.mjs +0 -240
  51. package/dist/edit-l4-w6Psd.mjs +0 -520
  52. package/dist/index-Bw3EuEs9.mjs +0 -345
  53. package/dist/index-COPul57Z.mjs +0 -84
  54. package/dist/index-CRlIL96y.mjs +0 -334
  55. package/dist/info-7Rre3Mm0.mjs +0 -198
  56. package/dist/info-CYKiOMB6.mjs +0 -198
  57. package/dist/info-Dub2j7gN.mjs +0 -198
  58. package/dist/info-O3dKVGmT.mjs +0 -10
  59. package/dist/invoiceEdit-C5dQG8ZJ.mjs +0 -253
  60. package/dist/invoiceEdit-DuSCNiDz.mjs +0 -253
  61. package/dts/src/api/itsm-sys-gov/index.d.ts +0 -15
  62. package/dts/src/api/itsm-sys-gov/types.d.ts +0 -87
  63. package/dts/src/api/itsm-sys-gov-invoice/index.d.ts +0 -13
  64. package/dts/src/api/itsm-sys-gov-invoice/types.d.ts +0 -48
  65. package/dts/src/views/itsmsys/itsm-sys-out/invoiceEdit.vue.d.ts +0 -31
  66. /package/dts/src/views/{itsmsys-user/itsm-sys-user-man → itsmsys/itsm-sys-org-invoice}/index.vue.d.ts +0 -0
  67. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/edit.vue.d.ts +0 -0
  68. /package/dts/src/views/{itsmsys-user/itsm-sys-user-ops → itsmsys/itsm-sys-user-man}/index.vue.d.ts +0 -0
  69. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/info.vue.d.ts +0 -0
  70. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-ops/edit.vue.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { BizLayDict, type Entry, type LayEntry } from "jmash-core";
1
+ import { BizLayDict, type Entry, type LayEntry, BizDict } from "jmash-core";
2
2
  import type { SysOrgModel } from "./itsm-sys-org/types";
3
3
  export declare class CustomBizDict {
4
4
  values: import("vue").Reactive<Entry[]>;
@@ -10,3 +10,6 @@ export declare class ParentIdBizDict extends BizLayDict {
10
10
  useValues(): Promise<LayEntry[]>;
11
11
  convertToLayEntryArray(dictLayEntries: SysOrgModel[]): LayEntry[];
12
12
  }
13
+ export declare class SysOrgBizDict extends BizDict {
14
+ useValues(): Promise<Entry[]>;
15
+ }
@@ -1,5 +1,5 @@
1
1
  import { EnumDict } from "jmash-core";
2
- import { CustomBizDict, ParentIdBizDict } from "./dict";
2
+ import { CustomBizDict, ParentIdBizDict, SysOrgBizDict } from "./dict";
3
3
  export declare class Dict {
4
4
  static readonly hasStatusDict: CustomBizDict;
5
5
  static readonly invoiceTypeDictEnum: EnumDict;
@@ -7,4 +7,7 @@ export declare class Dict {
7
7
  static readonly jobStatusDictEnum: EnumDict;
8
8
  static readonly engineeJobModeDictEnum: EnumDict;
9
9
  static readonly genderDict: EnumDict;
10
+ static readonly engineeTypeDictEnum: EnumDict;
11
+ static readonly sysOrgBizDict: SysOrgBizDict;
12
+ static readonly sysOutBizDict: SysOrgBizDict;
10
13
  }
@@ -4,6 +4,7 @@ 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
+ findTreeList(query?: SysOrgReq): AxiosPromise<SysOrgList>;
7
8
  findById(query: SysOrgKey): AxiosPromise<SysOrgModel>;
8
9
  create(data: SysOrgCreateReq): AxiosPromise<SysOrgModel>;
9
10
  update(data: SysOrgUpdateReq): AxiosPromise<SysOrgModel>;
@@ -2,7 +2,7 @@ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityT
2
2
  export interface SysOrgApi extends EntityApi {
3
3
  }
4
4
  export interface SysOrgReq extends EntityReq {
5
- orgName?: string;
5
+ likeOrgName?: string;
6
6
  contactPerson?: string;
7
7
  status?: boolean;
8
8
  hasStatus?: boolean;
@@ -22,7 +22,7 @@ export interface SysOrgModel extends EntityModel {
22
22
  contactPersonPosi?: string;
23
23
  contactPersonMobile?: string;
24
24
  contactPersonMobileIns?: string;
25
- contactPersonMobileEncrypt?: boolean;
25
+ mobileEncrypt?: boolean;
26
26
  contactPersonTel?: string;
27
27
  status?: string;
28
28
  parentId?: string;
@@ -5,8 +5,11 @@ export interface SysUserExtReq extends EntityReq {
5
5
  userType?: string;
6
6
  hasUserType?: boolean;
7
7
  jobStatus?: string;
8
+ hasJobStatus?: boolean;
8
9
  engineeJobMode?: string;
9
- realName?: string;
10
+ hasEngineeJobMode?: boolean;
11
+ likeUserName?: string;
12
+ orgId?: string;
10
13
  }
11
14
  export interface SysUserExtModel extends EntityModel {
12
15
  userId?: string;
@@ -23,6 +26,12 @@ export interface SysUserExtModel extends EntityModel {
23
26
  engineeType?: string;
24
27
  engineeSpecialty?: string;
25
28
  engineeJobMode?: string;
29
+ idNo?: string;
30
+ idNoIns?: string;
31
+ orgId?: string;
32
+ userPassword?: string;
33
+ avatar?: string;
34
+ userCreateTime?: string;
26
35
  }
27
36
  export interface SysUserExtList extends EntityList {
28
37
  results: Array<SysUserExtModel>;
@@ -48,7 +57,6 @@ export interface SysUserExtCreateReq extends EntityCreateReq {
48
57
  realName?: string;
49
58
  gender?: string;
50
59
  mobilePhone?: string;
51
- mobilePhoneIns?: string;
52
60
  email?: string;
53
61
  emailIns?: string;
54
62
  deptId?: string;
@@ -57,13 +65,16 @@ export interface SysUserExtCreateReq extends EntityCreateReq {
57
65
  jobStatus?: string;
58
66
  engineeType?: string;
59
67
  engineeSpecialty?: string;
68
+ idNo?: string;
69
+ engineeJobMode?: string;
70
+ orgId?: string;
71
+ userPassword?: string;
60
72
  }
61
73
  export interface SysUserExtUpdateReq extends EntityUpdateReq {
62
74
  userId?: string;
63
75
  realName?: string;
64
76
  gender?: string;
65
77
  mobilePhone?: string;
66
- mobilePhoneIns?: string;
67
78
  email?: string;
68
79
  emailIns?: string;
69
80
  deptId?: string;
@@ -72,5 +83,9 @@ export interface SysUserExtUpdateReq extends EntityUpdateReq {
72
83
  jobStatus?: string;
73
84
  engineeType?: string;
74
85
  engineeSpecialty?: string;
86
+ idNo?: string;
87
+ engineeJobMode?: string;
88
+ orgId?: string;
89
+ userPassword?: string;
75
90
  }
76
91
  export type SysUserExtFormReq = SysUserExtCreateReq | SysUserExtUpdateReq;
@@ -15,4 +15,11 @@ export declare class Constant {
15
15
  static readonly ENUM_JOB_ATATUS = "xyvcard.itsmsys.protobuf.SysUserJobStatus";
16
16
  static readonly ENUM_ENGINEE_JOB_MODE = "xyvcard.itsmsys.protobuf.SysUserJobMode";
17
17
  static readonly ENUM_GENDER = "jmash.protobuf.Gender";
18
+ static readonly ENUM_ENGINEE_TYPE = "xyvcard.itsmsys.protobuf.SysEngineeType";
19
+ static readonly orgType: {
20
+ cloud: string;
21
+ hall: string;
22
+ outsource: string;
23
+ };
24
+ static readonly depth = "0";
18
25
  }
@@ -14,11 +14,10 @@ declare const _default: {
14
14
  contactPersonPosiRequired: string;
15
15
  contactPersonMobile: string;
16
16
  contactPersonMobileRequired: string;
17
- contactPersonMobileRequireds: string;
17
+ mobileRequired: string;
18
+ mobileRequireds: string;
18
19
  contactPersonTel: string;
19
20
  contactPersonTels: string;
20
- contactPersonTelRequired: string;
21
- contactPersonTelRequireds: string;
22
21
  };
23
22
  sysOrgInvoice: {
24
23
  invoiceType: string;
@@ -51,11 +50,10 @@ declare const _default: {
51
50
  contactPersonPosiRequired: string;
52
51
  contactPersonMobile: string;
53
52
  contactPersonMobileRequired: string;
54
- contactPersonMobileRequireds: string;
53
+ mobileRequired: string;
54
+ mobileRequireds: string;
55
55
  contactPersonTel: string;
56
56
  contactPersonTels: string;
57
- contactPersonTelRequired: string;
58
- contactPersonTelRequireds: string;
59
57
  };
60
58
  sysOut: {
61
59
  contactPerson: string;
@@ -72,11 +70,10 @@ declare const _default: {
72
70
  contactPersonPosiRequired: string;
73
71
  contactPersonMobile: string;
74
72
  contactPersonMobileRequired: string;
75
- contactPersonMobileRequireds: string;
73
+ mobileRequired: string;
74
+ mobileRequireds: string;
76
75
  contactPersonTel: string;
77
76
  contactPersonTels: string;
78
- contactPersonTelRequired: string;
79
- contactPersonTelRequireds: string;
80
77
  };
81
78
  sysUserMan: {
82
79
  realName: string;
@@ -95,6 +92,16 @@ declare const _default: {
95
92
  deptIdRequired: string;
96
93
  jobId: string;
97
94
  jobIdRequired: string;
95
+ idNo: string;
96
+ idNoRequired: string;
97
+ idNoLengthRequired: string;
98
+ orgId: string;
99
+ orgIdRequired: string;
100
+ orgIds: string;
101
+ userPassword: string;
102
+ userPasswordRequired: string;
103
+ randomPwd: string;
104
+ userCreateTime: string;
98
105
  };
99
106
  sysUserOps: {
100
107
  realName: string;
@@ -113,11 +120,20 @@ declare const _default: {
113
120
  emailRequireds: string;
114
121
  gender: string;
115
122
  genderRequired: string;
116
- position: string;
117
- positionRequired: string;
118
123
  group: string;
119
124
  groupRequired: string;
125
+ idNo: string;
126
+ idNoRequired: string;
127
+ idNoLengthRequired: string;
120
128
  engineeSpecialty: string;
129
+ engineeSpecialtyRequired: string;
130
+ orgId: string;
131
+ orgIdRequired: string;
132
+ orgIds: string;
133
+ userPassword: string;
134
+ userPasswordRequired: string;
135
+ randomPwd: string;
136
+ userCreateTime: string;
121
137
  };
122
138
  };
123
139
  export default _default;
@@ -1,10 +1,12 @@
1
1
  import type { RouteRecordRaw } from "vue-router";
2
- export declare const editInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-org/edit.vue")>;
2
+ export declare const sysOrgEdit: () => Promise<typeof import("@/views/itsmsys/itsm-sys-org/edit.vue")>;
3
3
  export declare const orgInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-org/info.vue")>;
4
- export declare const editGovInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-gov/edit.vue")>;
4
+ export declare const sysGovEdit: () => Promise<typeof import("@/views/itsmsys/itsm-sys-gov/edit.vue")>;
5
5
  export declare const govInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-gov/info.vue")>;
6
- export declare const editOutInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-out/edit.vue")>;
6
+ export declare const sysOutEdit: () => Promise<typeof import("@/views/itsmsys/itsm-sys-out/edit.vue")>;
7
7
  export declare const outInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-out/info.vue")>;
8
- export declare const userManInfoPage: () => Promise<typeof import("@/views/itsmsys-user/itsm-sys-user-man/info.vue")>;
8
+ export declare const userManInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-user-man/info.vue")>;
9
+ export declare const userOpsInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-user-ops/info.vue")>;
10
+ export declare const userOutInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-user-out/info.vue")>;
9
11
  declare const constantRoutes: RouteRecordRaw[];
10
12
  export default constantRoutes;
@@ -0,0 +1 @@
1
+ export declare function generateRandomKey(): string;
@@ -0,0 +1,5 @@
1
+ import type { App } from "vue";
2
+ declare const _default: {
3
+ install: (app: App) => void;
4
+ };
5
+ export default _default;
@@ -2,11 +2,7 @@ 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
4
  modelValue: PropType<boolean>;
5
- orgKey: {
6
- type: StringConstructor;
7
- default: () => string;
8
- };
9
- invoiceKey: {
5
+ entityKey: {
10
6
  type: PropType<SysOrgInvoiceKey>;
11
7
  default: () => void;
12
8
  };
@@ -14,18 +10,13 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
14
10
  refresh: (...args: any[]) => void;
15
11
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
16
12
  modelValue: PropType<boolean>;
17
- orgKey: {
18
- type: StringConstructor;
19
- default: () => string;
20
- };
21
- invoiceKey: {
13
+ entityKey: {
22
14
  type: PropType<SysOrgInvoiceKey>;
23
15
  default: () => void;
24
16
  };
25
17
  }>> & Readonly<{
26
18
  onRefresh?: ((...args: any[]) => any) | undefined;
27
19
  }>, {
28
- orgKey: string;
29
- invoiceKey: SysOrgInvoiceKey;
20
+ entityKey: SysOrgInvoiceKey;
30
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
22
  export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -1,31 +1,22 @@
1
1
  import { type PropType } from "vue";
2
- import type { SysOrgInvoiceKey } from "@/api/itsm-sys-org-invoice/types";
2
+ import type { SysUserExtKey } from "@/api/itsm-sys-user-ext/types";
3
3
  declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
4
4
  modelValue: PropType<boolean>;
5
- orgKey: {
6
- type: StringConstructor;
7
- default: () => string;
8
- };
9
- invoiceKey: {
10
- type: PropType<SysOrgInvoiceKey>;
5
+ entityKey: {
6
+ type: PropType<SysUserExtKey>;
11
7
  default: () => void;
12
8
  };
13
9
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
10
  refresh: (...args: any[]) => void;
15
11
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
16
12
  modelValue: PropType<boolean>;
17
- orgKey: {
18
- type: StringConstructor;
19
- default: () => string;
20
- };
21
- invoiceKey: {
22
- type: PropType<SysOrgInvoiceKey>;
13
+ entityKey: {
14
+ type: PropType<SysUserExtKey>;
23
15
  default: () => void;
24
16
  };
25
17
  }>> & Readonly<{
26
18
  onRefresh?: ((...args: any[]) => any) | undefined;
27
19
  }>, {
28
- orgKey: string;
29
- invoiceKey: SysOrgInvoiceKey;
20
+ entityKey: SysUserExtKey;
30
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
22
  export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsmsys",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/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.102",
14
+ "jmash-core": "^0.0.107",
15
15
  "jmash-dict": "^0.0.44",
16
- "jmash-rbac": "^0.0.38",
16
+ "jmash-rbac": "^0.0.40",
17
17
  "pinia": "^2.2.4",
18
18
  "vue": "^3.5.11",
19
19
  "vue-i18n": "^9.14.1",