xyvcard-itsmsys 0.0.6 → 0.0.7
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-DG_Iw1-J.mjs → edit-B2gR_6I8.mjs} +1 -1
- package/dist/{edit-BNe0hNw4.mjs → edit-BbJa_Nfr.mjs} +8 -9
- package/dist/{edit-BqPZHwxi.mjs → edit-C42Omp9z.mjs} +1 -1
- package/dist/{edit-CwV1OVfe.mjs → edit-Dfay8i1B.mjs} +1 -1
- package/dist/{edit-RSO388mB.mjs → edit-Dm9CXMA6.mjs} +3 -3
- package/dist/{edit-DdUUCXSa.mjs → edit-Fi1_QjAr.mjs} +1 -1
- package/dist/{edit-CyM6IuLb.mjs → edit-GlkC3kLR.mjs} +28 -29
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs → edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs} +5 -5
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs → edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs} +39 -39
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs → edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs} +12 -12
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs → edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs} +1 -1
- package/dist/index-B6FMyHxQ.mjs +99 -0
- package/dist/{index-CMBtB1kH.mjs → index-BHLCtDlx.mjs} +3 -3
- package/dist/{index-DirPUdCN.mjs → index-BV8SsW14.mjs} +1 -1
- package/dist/{index-w2SWNZRB.mjs → index-CSMVzE7h.mjs} +3 -3
- package/dist/{index-CNGaGeE7.mjs → index-Ce07ACPH.mjs} +3 -3
- package/dist/{index-CI8Z4rNf.mjs → index-DTjJvEfz.mjs} +4 -4
- package/dist/{index-DxILUznW.mjs → index-N57BEkTO.mjs} +6 -6
- package/dist/{index-NugT80P7.mjs → index-Up4lAJrU.mjs} +2 -2
- package/dist/index.mjs +1082 -1041
- package/dist/{index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs → index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs} +2 -2
- package/dist/{info-C0OHjgoS.mjs → info-BVrtvDle.mjs} +1 -1
- package/dist/{info-Dilg-bji.mjs → info-Bc3bycK1.mjs} +1 -1
- package/dist/{info-DvYUiSRY.mjs → info-Bz6yHt3N.mjs} +1 -1
- package/dist/{info-CXx2899k.mjs → info-D-ykgDrJ.mjs} +1 -1
- package/dist/{info-BFZTqoY3.mjs → info-D7YAHptq.mjs} +1 -1
- package/dist/{info-DReeRuaA.mjs → info-DO3PSaAZ.mjs} +1 -1
- package/dts/src/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index-CQ5Bo5a2.mjs +0 -135
|
@@ -3,8 +3,8 @@ import { useTableHooks as F } from "jmash-core";
|
|
|
3
3
|
import { useI18n as G } from "vue-i18n";
|
|
4
4
|
import { useRoute as J } from "vue-router";
|
|
5
5
|
import { s as M } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as W } from "./index-
|
|
6
|
+
import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs";
|
|
7
|
+
import { D as W } from "./index-B6FMyHxQ.mjs";
|
|
8
8
|
const X = { class: "app-container" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ A({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(ee) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as D, getCurrentInstance as N, ref as c, onBeforeMount as U, resolveComponent as u, openBlock as j, createElementBlock as B, createVNode as s, withCtx as e, createTextVNode as r, toDisplayString as o, createElementVNode as l, unref as d } from "vue";
|
|
2
2
|
import { useRouter as V, useRoute as C } from "vue-router";
|
|
3
|
-
import { D as p } from "./index-
|
|
3
|
+
import { D as p } from "./index-B6FMyHxQ.mjs";
|
|
4
4
|
import { routerUtil as T } from "jmash-core";
|
|
5
5
|
import { deptApi as k, jobApi as w } from "jmash-rbac";
|
|
6
6
|
import { sysUserExtApi as S } from "./index.mjs";
|
|
@@ -3,7 +3,7 @@ import { useRouter as j, useRoute as q } from "vue-router";
|
|
|
3
3
|
import { routerUtil as A } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as R } from "./index.mjs";
|
|
5
5
|
import { s as S } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as g } from "./index-
|
|
6
|
+
import { D as g } from "./index-B6FMyHxQ.mjs";
|
|
7
7
|
const U = { class: "app-container" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(K) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, getCurrentInstance as D, ref as f, onBeforeMount as U, resolveComponent as d, openBlock as O, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as t, createElementVNode as o, unref as u } from "vue";
|
|
2
2
|
import { useRouter as V, useRoute as B } from "vue-router";
|
|
3
|
-
import { D as m } from "./index-
|
|
3
|
+
import { D as m } from "./index-B6FMyHxQ.mjs";
|
|
4
4
|
import { routerUtil as C } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as M } from "./index.mjs";
|
|
6
6
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, getCurrentInstance as D, ref as f, onBeforeMount as U, resolveComponent as d, openBlock as O, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as l, createElementVNode as t, unref as u } from "vue";
|
|
2
2
|
import { useRouter as V, useRoute as B } from "vue-router";
|
|
3
|
-
import { D as m } from "./index-
|
|
3
|
+
import { D as m } from "./index-B6FMyHxQ.mjs";
|
|
4
4
|
import { routerUtil as C } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as M } from "./index.mjs";
|
|
6
6
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -3,7 +3,7 @@ import { useRouter as j, useRoute as q } from "vue-router";
|
|
|
3
3
|
import { routerUtil as A } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as R } from "./index.mjs";
|
|
5
5
|
import { s as S } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as g } from "./index-
|
|
6
|
+
import { D as g } from "./index-B6FMyHxQ.mjs";
|
|
7
7
|
const U = { class: "app-container" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(K) {
|
|
@@ -3,7 +3,7 @@ import { useRouter as M, useRoute as j } from "vue-router";
|
|
|
3
3
|
import { routerUtil as q } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as A } from "./index.mjs";
|
|
5
5
|
import { s as R } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as g } from "./index-
|
|
6
|
+
import { D as g } from "./index-B6FMyHxQ.mjs";
|
|
7
7
|
const S = { class: "app-container" }, U = { class: "cell-item" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(K) {
|
package/dts/src/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ 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 { Constant } from "@/constant";
|
|
8
9
|
declare const itsmsys: {
|
|
9
10
|
install(app: App): void;
|
|
10
11
|
};
|
package/package.json
CHANGED
package/dist/index-CQ5Bo5a2.mjs
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
var y = Object.defineProperty;
|
|
2
|
-
var p = (i, r, t) => r in i ? y(i, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[r] = t;
|
|
3
|
-
var s = (i, r, t) => p(i, typeof r != "symbol" ? r + "" : r, t);
|
|
4
|
-
import { ref as S, reactive as T } from "vue";
|
|
5
|
-
import { BizLayDict as h, BizDict as _, EnumDict as u } from "jmash-core";
|
|
6
|
-
import { sysOrgApi as n } from "./index.mjs";
|
|
7
|
-
class e {
|
|
8
|
-
}
|
|
9
|
-
//模块
|
|
10
|
-
s(e, "MODULE_RBAC", "rbac"), s(e, "MODULE_ITSMSYS", "itsmsys"), // 公司管理状态
|
|
11
|
-
s(e, "HAS_STATUS", S([
|
|
12
|
-
{ key: !0, value: "启用" },
|
|
13
|
-
{ key: !1, value: "禁用" }
|
|
14
|
-
])), // 公司发票类型
|
|
15
|
-
s(e, "ENUM_INVOICE_TYPE", "xyvcard.itsmsys.protobuf.InvoiceType"), // 管理人员工作状态
|
|
16
|
-
s(e, "ENUM_JOB_ATATUS", "xyvcard.itsmsys.protobuf.SysUserJobStatus"), // 运维人员工作模式
|
|
17
|
-
s(e, "ENUM_ENGINEE_JOB_MODE", "xyvcard.itsmsys.protobuf.SysUserJobMode"), // 人员性别
|
|
18
|
-
s(e, "ENUM_GENDER", "jmash.protobuf.Gender"), // 运维人员工程师类型
|
|
19
|
-
s(e, "ENUM_ENGINEE_TYPE", "xyvcard.itsmsys.protobuf.SysEngineeType"), // 机构类型
|
|
20
|
-
s(e, "orgType", {
|
|
21
|
-
// 公司
|
|
22
|
-
cloud: "CLOUD",
|
|
23
|
-
// 厅局
|
|
24
|
-
hall: "HALL",
|
|
25
|
-
// 外协
|
|
26
|
-
outsource: "OUTSOURCE"
|
|
27
|
-
}), // 工作状态
|
|
28
|
-
s(e, "jobStatus", {
|
|
29
|
-
// 在职
|
|
30
|
-
working: "WORKING",
|
|
31
|
-
// 离职
|
|
32
|
-
leave: "LEAVE"
|
|
33
|
-
}), // 人员类型
|
|
34
|
-
s(e, "userType", {
|
|
35
|
-
// 公司管理
|
|
36
|
-
companyManager: "COMPANY_MANAGER",
|
|
37
|
-
// 公司运维
|
|
38
|
-
companyOps: "COMPANY_OPS",
|
|
39
|
-
// 外协运维
|
|
40
|
-
outsourceOps: "OUTSOURCE_OPS"
|
|
41
|
-
});
|
|
42
|
-
class O {
|
|
43
|
-
constructor(r, t) {
|
|
44
|
-
s(this, "values", T([]));
|
|
45
|
-
// 查询条件
|
|
46
|
-
s(this, "query");
|
|
47
|
-
this.values.length = 0, this.values.push(...r.value), this.query = t;
|
|
48
|
-
}
|
|
49
|
-
// 根据给定键获取业务数据项的值的方法
|
|
50
|
-
getValue(r) {
|
|
51
|
-
for (const t of this.values)
|
|
52
|
-
if (t.key == r)
|
|
53
|
-
return t.value;
|
|
54
|
-
return "";
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
class M extends h {
|
|
58
|
-
// 实现 useValues 方法
|
|
59
|
-
useValues() {
|
|
60
|
-
return new Promise((r, t) => {
|
|
61
|
-
if (typeof n.findList > "u") {
|
|
62
|
-
r(this.values);
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
const o = { ...this.query };
|
|
66
|
-
n.findList(o).then(({ data: E }) => {
|
|
67
|
-
const c = E.results;
|
|
68
|
-
this.values.length = 0, this.values.push(...this.convertToLayEntryArray(c)), r(this.values);
|
|
69
|
-
}).catch(t);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
convertToLayEntryArray(r) {
|
|
73
|
-
return r.map((t) => ({
|
|
74
|
-
value: t.orgId,
|
|
75
|
-
label: t.orgName,
|
|
76
|
-
parentId: t.parentId || "",
|
|
77
|
-
children: t.children ? this.convertToLayEntryArray(t.children) : []
|
|
78
|
-
}));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
class l extends _ {
|
|
82
|
-
// 实现 useValues 方法
|
|
83
|
-
useValues() {
|
|
84
|
-
return new Promise((r, t) => {
|
|
85
|
-
n.findPage(this.query).then(({ data: o }) => {
|
|
86
|
-
const E = o.results;
|
|
87
|
-
this.values.length = 0, this.values.push(
|
|
88
|
-
...E.map(
|
|
89
|
-
(c) => ({
|
|
90
|
-
key: c.orgId,
|
|
91
|
-
value: c.orgName
|
|
92
|
-
})
|
|
93
|
-
)
|
|
94
|
-
), r(this.values);
|
|
95
|
-
}).catch(t);
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
class a {
|
|
100
|
-
}
|
|
101
|
-
// 公司管理状态
|
|
102
|
-
s(a, "hasStatusDict", new O(e.HAS_STATUS, {})), // 公司发票类型
|
|
103
|
-
s(a, "invoiceTypeDictEnum", new u(
|
|
104
|
-
e.MODULE_ITSMSYS,
|
|
105
|
-
e.ENUM_INVOICE_TYPE
|
|
106
|
-
)), // 厅局管理父厅级单位
|
|
107
|
-
s(a, "parentIdBizDict", new M({
|
|
108
|
-
orgType: e.orgType.hall
|
|
109
|
-
})), // 管理人员工作状态
|
|
110
|
-
s(a, "jobStatusDictEnum", new u(
|
|
111
|
-
e.MODULE_ITSMSYS,
|
|
112
|
-
e.ENUM_JOB_ATATUS
|
|
113
|
-
)), // 运维人员工作模式
|
|
114
|
-
s(a, "engineeJobModeDictEnum", new u(
|
|
115
|
-
e.MODULE_ITSMSYS,
|
|
116
|
-
e.ENUM_ENGINEE_JOB_MODE
|
|
117
|
-
)), // 性别
|
|
118
|
-
s(a, "genderDict", new u(
|
|
119
|
-
e.MODULE_RBAC,
|
|
120
|
-
e.ENUM_GENDER
|
|
121
|
-
)), // 运维人员工程师类型
|
|
122
|
-
s(a, "engineeTypeDictEnum", new u(
|
|
123
|
-
e.MODULE_ITSMSYS,
|
|
124
|
-
e.ENUM_ENGINEE_TYPE
|
|
125
|
-
)), // 公司人员选择公司名称
|
|
126
|
-
s(a, "sysOrgBizDict", new l({
|
|
127
|
-
orgType: e.orgType.cloud
|
|
128
|
-
})), // 外协运维人员选择公司名称
|
|
129
|
-
s(a, "sysOutBizDict", new l({
|
|
130
|
-
orgType: e.orgType.outsource
|
|
131
|
-
}));
|
|
132
|
-
export {
|
|
133
|
-
e as C,
|
|
134
|
-
a as D
|
|
135
|
-
};
|