xyvcard-itsmsys 0.0.8 → 0.0.10
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/{edit-BbJa_Nfr.mjs → edit-BNe0hNw4.mjs} +9 -8
- package/dist/{edit-B2gR_6I8.mjs → edit-BqPZHwxi.mjs} +1 -1
- package/dist/{edit-Fi1_QjAr.mjs → edit-CwV1OVfe.mjs} +1 -1
- package/dist/{edit-GlkC3kLR.mjs → edit-CyM6IuLb.mjs} +29 -28
- package/dist/{edit-C42Omp9z.mjs → edit-DG_Iw1-J.mjs} +1 -1
- package/dist/{edit-Dfay8i1B.mjs → edit-DdUUCXSa.mjs} +1 -1
- package/dist/{edit-Dm9CXMA6.mjs → edit-RSO388mB.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs → edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs} +39 -39
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs → edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs} +12 -12
- package/dist/{edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs → edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs → edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs} +5 -5
- package/dist/{index-DTjJvEfz.mjs → index-CI8Z4rNf.mjs} +4 -4
- package/dist/{index-BHLCtDlx.mjs → index-CMBtB1kH.mjs} +3 -3
- package/dist/{index-Ce07ACPH.mjs → index-CNGaGeE7.mjs} +3 -3
- package/dist/index-CQ5Bo5a2.mjs +135 -0
- package/dist/{index-BV8SsW14.mjs → index-DirPUdCN.mjs} +1 -1
- package/dist/{index-N57BEkTO.mjs → index-DxILUznW.mjs} +6 -6
- package/dist/{index-Up4lAJrU.mjs → index-NugT80P7.mjs} +2 -2
- package/dist/{index-CSMVzE7h.mjs → index-w2SWNZRB.mjs} +3 -3
- package/dist/index.mjs +1048 -1089
- package/dist/{index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs → index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs} +2 -2
- package/dist/{info-D7YAHptq.mjs → info-BFZTqoY3.mjs} +1 -1
- package/dist/{info-BVrtvDle.mjs → info-C0OHjgoS.mjs} +1 -1
- package/dist/{info-D-ykgDrJ.mjs → info-CXx2899k.mjs} +1 -1
- package/dist/{info-DO3PSaAZ.mjs → info-DReeRuaA.mjs} +1 -1
- package/dist/{info-Bc3bycK1.mjs → info-Dilg-bji.mjs} +1 -1
- package/dist/{info-Bz6yHt3N.mjs → info-DvYUiSRY.mjs} +1 -1
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/dict.d.ts +15 -0
- package/dts/api/index.d.ts +13 -0
- package/dts/api/itsm-sys-org/index.d.ts +17 -0
- package/dts/api/itsm-sys-org/types.d.ts +85 -0
- package/dts/api/itsm-sys-org-invoice/index.d.ts +14 -0
- package/dts/api/itsm-sys-org-invoice/types.d.ts +53 -0
- package/dts/api/itsm-sys-user-ext/index.d.ts +14 -0
- package/dts/api/itsm-sys-user-ext/types.d.ts +91 -0
- package/dts/components/TMaps/index.vue.d.ts +20 -0
- package/dts/constant.d.ts +33 -0
- package/dts/index.d.ts +12 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/lang/itsmsys/en.d.ts +73 -0
- package/dts/lang/itsmsys/zh-cn.d.ts +139 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/index.d.ts +12 -0
- package/dts/utils/TMap.d.ts +1 -0
- package/dts/utils/common.d.ts +1 -0
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-gov/index.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-gov/info.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-org/edit.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-org/index.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-org/info.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +22 -0
- package/dts/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-out/edit.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-out/index.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-out/info.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +22 -0
- package/dts/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +22 -0
- package/dts/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +22 -0
- package/dts/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
- package/dts/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
- package/package.json +2 -2
- package/dist/index-B6FMyHxQ.mjs +0 -99
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "nprogress/nprogress.css";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RouteRecordRaw } from "vue-router";
|
|
2
|
+
export declare const sysOrgEdit: () => Promise<typeof import("@/views/itsmsys/itsm-sys-org/edit.vue")>;
|
|
3
|
+
export declare const orgInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-org/info.vue")>;
|
|
4
|
+
export declare const sysGovEdit: () => Promise<typeof import("@/views/itsmsys/itsm-sys-gov/edit.vue")>;
|
|
5
|
+
export declare const govInfoPage: () => Promise<typeof import("@/views/itsmsys/itsm-sys-gov/info.vue")>;
|
|
6
|
+
export declare const sysOutEdit: () => Promise<typeof import("@/views/itsmsys/itsm-sys-out/edit.vue")>;
|
|
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/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")>;
|
|
11
|
+
declare const constantRoutes: RouteRecordRaw[];
|
|
12
|
+
export default constantRoutes;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function loadScript(): Promise<unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateRandomKey(): string;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { SysOrgInvoiceKey } from "@/api/itsm-sys-org-invoice/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
modelValue: PropType<boolean>;
|
|
5
|
+
entityKey: {
|
|
6
|
+
type: PropType<SysOrgInvoiceKey>;
|
|
7
|
+
default: () => void;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
refresh: (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
+
modelValue: PropType<boolean>;
|
|
13
|
+
entityKey: {
|
|
14
|
+
type: PropType<SysOrgInvoiceKey>;
|
|
15
|
+
default: () => void;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{
|
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
entityKey: SysOrgInvoiceKey;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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;
|
|
@@ -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;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { SysUserExtKey } from "@/api/itsm-sys-user-ext/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
modelValue: PropType<boolean>;
|
|
5
|
+
entityKey: {
|
|
6
|
+
type: PropType<SysUserExtKey>;
|
|
7
|
+
default: () => void;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
refresh: (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
+
modelValue: PropType<boolean>;
|
|
13
|
+
entityKey: {
|
|
14
|
+
type: PropType<SysUserExtKey>;
|
|
15
|
+
default: () => void;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{
|
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
entityKey: SysUserExtKey;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { SysUserExtKey } from "@/api/itsm-sys-user-ext/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
modelValue: PropType<boolean>;
|
|
5
|
+
entityKey: {
|
|
6
|
+
type: PropType<SysUserExtKey>;
|
|
7
|
+
default: () => void;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
refresh: (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
+
modelValue: PropType<boolean>;
|
|
13
|
+
entityKey: {
|
|
14
|
+
type: PropType<SysUserExtKey>;
|
|
15
|
+
default: () => void;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{
|
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
entityKey: SysUserExtKey;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { SysUserExtKey } from "@/api/itsm-sys-user-ext/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
modelValue: PropType<boolean>;
|
|
5
|
+
entityKey: {
|
|
6
|
+
type: PropType<SysUserExtKey>;
|
|
7
|
+
default: () => void;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
refresh: (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
+
modelValue: PropType<boolean>;
|
|
13
|
+
entityKey: {
|
|
14
|
+
type: PropType<SysUserExtKey>;
|
|
15
|
+
default: () => void;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{
|
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
entityKey: SysUserExtKey;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-itsmsys",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
|
-
"dts
|
|
9
|
+
"dts"
|
|
10
10
|
],
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"axios": "^1.7.7",
|
package/dist/index-B6FMyHxQ.mjs
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
var E = Object.defineProperty;
|
|
2
|
-
var p = (i, t, e) => t in i ? E(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
|
-
var r = (i, t, e) => p(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { sysOrgApi as l, Constant as s } from "./index.mjs";
|
|
5
|
-
import { BizLayDict as g, BizDict as y, EnumDict as a } from "jmash-core";
|
|
6
|
-
import { reactive as T } from "vue";
|
|
7
|
-
class m {
|
|
8
|
-
constructor(t, e) {
|
|
9
|
-
r(this, "values", T([]));
|
|
10
|
-
// 查询条件
|
|
11
|
-
r(this, "query");
|
|
12
|
-
this.values.length = 0, this.values.push(...t.value), this.query = e;
|
|
13
|
-
}
|
|
14
|
-
// 根据给定键获取业务数据项的值的方法
|
|
15
|
-
getValue(t) {
|
|
16
|
-
for (const e of this.values)
|
|
17
|
-
if (e.key == t)
|
|
18
|
-
return e.value;
|
|
19
|
-
return "";
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
class v extends g {
|
|
23
|
-
// 实现 useValues 方法
|
|
24
|
-
useValues() {
|
|
25
|
-
return new Promise((t, e) => {
|
|
26
|
-
if (typeof l.findList > "u") {
|
|
27
|
-
t(this.values);
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
const o = { ...this.query };
|
|
31
|
-
l.findList(o).then(({ data: c }) => {
|
|
32
|
-
const u = c.results;
|
|
33
|
-
this.values.length = 0, this.values.push(...this.convertToLayEntryArray(u)), t(this.values);
|
|
34
|
-
}).catch(e);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
convertToLayEntryArray(t) {
|
|
38
|
-
return t.map((e) => ({
|
|
39
|
-
value: e.orgId,
|
|
40
|
-
label: e.orgName,
|
|
41
|
-
parentId: e.parentId || "",
|
|
42
|
-
children: e.children ? this.convertToLayEntryArray(e.children) : []
|
|
43
|
-
}));
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
class h extends y {
|
|
47
|
-
// 实现 useValues 方法
|
|
48
|
-
useValues() {
|
|
49
|
-
return new Promise((t, e) => {
|
|
50
|
-
l.findPage(this.query).then(({ data: o }) => {
|
|
51
|
-
const c = o.results;
|
|
52
|
-
this.values.length = 0, this.values.push(
|
|
53
|
-
...c.map(
|
|
54
|
-
(u) => ({
|
|
55
|
-
key: u.orgId,
|
|
56
|
-
value: u.orgName
|
|
57
|
-
})
|
|
58
|
-
)
|
|
59
|
-
), t(this.values);
|
|
60
|
-
}).catch(e);
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
class n {
|
|
65
|
-
}
|
|
66
|
-
// 公司管理状态
|
|
67
|
-
r(n, "hasStatusDict", new m(s.HAS_STATUS, {})), // 公司发票类型
|
|
68
|
-
r(n, "invoiceTypeDictEnum", new a(
|
|
69
|
-
s.MODULE_ITSMSYS,
|
|
70
|
-
s.ENUM_INVOICE_TYPE
|
|
71
|
-
)), // 厅局管理父厅级单位
|
|
72
|
-
r(n, "parentIdBizDict", new v({
|
|
73
|
-
orgType: s.orgType.hall
|
|
74
|
-
})), // 管理人员工作状态
|
|
75
|
-
r(n, "jobStatusDictEnum", new a(
|
|
76
|
-
s.MODULE_ITSMSYS,
|
|
77
|
-
s.ENUM_JOB_ATATUS
|
|
78
|
-
)), // 运维人员工作模式
|
|
79
|
-
r(n, "engineeJobModeDictEnum", new a(
|
|
80
|
-
s.MODULE_ITSMSYS,
|
|
81
|
-
s.ENUM_ENGINEE_JOB_MODE
|
|
82
|
-
)), // 性别
|
|
83
|
-
r(n, "genderDict", new a(
|
|
84
|
-
s.MODULE_RBAC,
|
|
85
|
-
s.ENUM_GENDER
|
|
86
|
-
)), // 运维人员工程师类型
|
|
87
|
-
r(n, "engineeTypeDictEnum", new a(
|
|
88
|
-
s.MODULE_ITSMSYS,
|
|
89
|
-
s.ENUM_ENGINEE_TYPE
|
|
90
|
-
)), // 公司人员选择公司名称
|
|
91
|
-
r(n, "sysOrgBizDict", new h({
|
|
92
|
-
orgType: s.orgType.cloud
|
|
93
|
-
})), // 外协运维人员选择公司名称
|
|
94
|
-
r(n, "sysOutBizDict", new h({
|
|
95
|
-
orgType: s.orgType.outsource
|
|
96
|
-
}));
|
|
97
|
-
export {
|
|
98
|
-
n as D
|
|
99
|
-
};
|