xyvcard-itsmsys 0.0.17 → 0.0.18
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-BAH_6b13.mjs → edit-C1zg8B0y.mjs} +1 -1
- package/dist/{edit-DdBemEtp.mjs → edit-CNFS8ehW.mjs} +2 -2
- package/dist/{edit-DgxHpvC6.mjs → edit-Cs3KIwaz.mjs} +2 -2
- package/dist/{edit-CJKLiFvj.mjs → edit-CxRGbAP_.mjs} +2 -2
- package/dist/{edit-a4L0fy11.mjs → edit-DLN1WFrt.mjs} +1 -1
- package/dist/{edit-CfJWdgBx.mjs → edit-DlEW6lB8.mjs} +1 -1
- package/dist/{edit-pCyaGLeW.mjs → edit-Dmxyf_Gp.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CZ1mhblw.mjs → edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-V7Qgl4pY.mjs → edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs} +17 -17
- package/dist/{edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs → edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bs8-z-IO.mjs → edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs} +1 -1
- package/dist/{import-upload-TERPQdeq.mjs → import-upload-BM5kcXdg.mjs} +1 -1
- package/dist/{import-upload-BISlCHWj.mjs → import-upload-BvBtwEbI.mjs} +1 -1
- package/dist/{import-upload-CzXWmSM6.mjs → import-upload-CjeTCQBx.mjs} +1 -1
- package/dist/{index-DRzFGqnW.mjs → index-Bxg8G8aA.mjs} +22 -22
- package/dist/{index-byYol6y6.mjs → index-BzqZLipq.mjs} +1 -1
- package/dist/{index-BxdZzcjP.mjs → index-CdQGs3Vu.mjs} +25 -25
- package/dist/{index-B8RLzH1x.mjs → index-D2BUGsak.mjs} +28 -28
- package/dist/{index-rAUwvtcF.mjs → index-D2e-NU3E.mjs} +1 -1
- package/dist/{index-DGX9vRbo.mjs → index-Dsf1qOUx.mjs} +1 -1
- package/dist/{index-C57850Qg.mjs → index-EhejgmO6.mjs} +22 -22
- package/dist/{index-ekie5iUI.mjs → index-nhzVBt2y.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs → index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs} +2 -2
- package/dist/{info-BraECWiO.mjs → info-B2d8xPwW.mjs} +1 -1
- package/dist/{info-to4iDhQX.mjs → info-BZ7IZet8.mjs} +1 -1
- package/dist/{info-BNw5IiGi.mjs → info-CCfX-q4c.mjs} +1 -1
- package/dist/{info-Cjx0ceNM.mjs → info-CoizfoOq.mjs} +1 -1
- package/dist/{info-BqQdA6b-.mjs → info-DBObKyIh.mjs} +1 -1
- package/dist/{info-DHxVt25p.mjs → info-rnc-sgQt.mjs} +1 -1
- package/dts/api/itsm-sys-user-ext/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@ import { ElMessage as $ } from "element-plus";
|
|
|
3
3
|
import { s as E } from "./index-B2xwBTw-.mjs";
|
|
4
4
|
import { useI18n as D } from "vue-i18n";
|
|
5
5
|
import { useRoute as J, useRouter as z } from "vue-router";
|
|
6
|
-
import { C as b } from "./index-
|
|
6
|
+
import { C as b } from "./index-EhejgmO6.mjs";
|
|
7
7
|
import { sysOrgApi as y } from "./index.mjs";
|
|
8
|
-
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
|
|
9
9
|
import { routerUtil as v } from "jmash-core";
|
|
10
10
|
const Q = { class: "app-container" }, re = /* @__PURE__ */ I({
|
|
11
11
|
__name: "edit",
|
|
@@ -4,9 +4,9 @@ import { s as J } from "./index-B2xwBTw-.mjs";
|
|
|
4
4
|
import { useI18n as H } from "vue-i18n";
|
|
5
5
|
import { useRoute as Q, useRouter as W } from "vue-router";
|
|
6
6
|
import { routerUtil as $ } from "jmash-core";
|
|
7
|
-
import { C as y, D as R } from "./index-
|
|
7
|
+
import { C as y, D as R } from "./index-EhejgmO6.mjs";
|
|
8
8
|
import { sysOrgApi as b } from "./index.mjs";
|
|
9
|
-
import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
|
|
10
10
|
const Y = { class: "app-container" }, de = /* @__PURE__ */ A({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(Z) {
|
|
@@ -4,9 +4,9 @@ import { s as E } from "./index-B2xwBTw-.mjs";
|
|
|
4
4
|
import { useI18n as D } from "vue-i18n";
|
|
5
5
|
import { useRoute as J, useRouter as z } from "vue-router";
|
|
6
6
|
import { routerUtil as v } from "jmash-core";
|
|
7
|
-
import { C as b } from "./index-
|
|
7
|
+
import { C as b } from "./index-EhejgmO6.mjs";
|
|
8
8
|
import { sysOrgApi as y } from "./index.mjs";
|
|
9
|
-
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
|
|
10
10
|
const Q = { class: "app-container" }, se = /* @__PURE__ */ I({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(W) {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as B, mergeModels as R, ref as $, useModel as A, reacti
|
|
|
2
2
|
import { ElMessage as j } from "element-plus";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as b } from "./index.mjs";
|
|
5
|
-
import { D as f, C as y } from "./index-
|
|
5
|
+
import { D as f, C as y } from "./index-EhejgmO6.mjs";
|
|
6
6
|
const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
|
|
7
7
|
__name: "edit",
|
|
8
8
|
props: /* @__PURE__ */ R({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as Q, mergeModels as S, ref as
|
|
2
|
-
import { ElMessage as
|
|
1
|
+
import { defineComponent as Q, mergeModels as S, ref as g, useModel as W, reactive as A, resolveComponent as m, openBlock as U, createBlock as V, withCtx as s, createElementVNode as Y, createVNode as l, createTextVNode as I, toDisplayString as M, unref as r, createCommentVNode as D } from "vue";
|
|
2
|
+
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
|
-
import { D as y, C as w } from "./index-
|
|
4
|
+
import { D as y, C as w } from "./index-EhejgmO6.mjs";
|
|
5
5
|
import { deptApi as ee, jobApi as le, roleApi as ae } from "jmash-rbac";
|
|
6
6
|
import { sysUserExtApi as $, sysOrgApi as se } from "./index.mjs";
|
|
7
7
|
import { generateRandomKey as oe } from "jmash-core";
|
|
@@ -18,8 +18,8 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
18
18
|
modelModifiers: {}
|
|
19
19
|
}),
|
|
20
20
|
emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
|
|
21
|
-
setup(q, { emit:
|
|
22
|
-
const { t: u } = x(), v =
|
|
21
|
+
setup(q, { emit: C }) {
|
|
22
|
+
const { t: u } = x(), v = g(), R = g(), N = g(), j = g(), p = W(q, "modelValue"), _ = C;
|
|
23
23
|
y.sysOrgBizDict.useValues(), y.parentIdBizDict.useValues();
|
|
24
24
|
let a = A({
|
|
25
25
|
requestId: Math.random() * 10 + "",
|
|
@@ -86,20 +86,20 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
86
86
|
trigger: "blur"
|
|
87
87
|
}
|
|
88
88
|
]
|
|
89
|
-
}), P = q, z = Object.keys(P.entityKey),
|
|
90
|
-
|
|
89
|
+
}), P = q, z = Object.keys(P.entityKey), b = g(z.length >= 1);
|
|
90
|
+
b.value && $.findById(P.entityKey).then(({ data: e }) => {
|
|
91
91
|
Object.assign(a, e), a.gender === "unknown" && (a.gender = "");
|
|
92
92
|
});
|
|
93
93
|
const T = async () => {
|
|
94
94
|
var e;
|
|
95
95
|
await ((e = j.value) == null ? void 0 : e.validate((o) => {
|
|
96
|
-
o && (
|
|
97
|
-
i.status === 200 && (
|
|
96
|
+
o && (b.value ? $.update(a).then((i) => {
|
|
97
|
+
i.status === 200 && (O({
|
|
98
98
|
message: u("common.submitSuccess"),
|
|
99
99
|
type: "success"
|
|
100
100
|
}), p.value && (p.value = !1), _("refresh", i.status === 200));
|
|
101
101
|
}) : $.create(a).then((i) => {
|
|
102
|
-
i.status === 200 && (
|
|
102
|
+
i.status === 200 && (O({
|
|
103
103
|
message: u("common.submitSuccess"),
|
|
104
104
|
type: "success"
|
|
105
105
|
}), p.value && (p.value = !1), _("refresh", i.status === 200));
|
|
@@ -117,7 +117,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
117
117
|
}
|
|
118
118
|
K();
|
|
119
119
|
function F() {
|
|
120
|
-
|
|
120
|
+
b.value || se.findOutSourceList({ orgType: w.orgType.cloud }).then(({ data: { results: e } }) => {
|
|
121
121
|
a.orgId = e[0].orgId;
|
|
122
122
|
});
|
|
123
123
|
}
|
|
@@ -129,7 +129,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
129
129
|
p.value && (p.value = !1);
|
|
130
130
|
}
|
|
131
131
|
return (e, o) => {
|
|
132
|
-
const i = m("jmash-select"), d = m("el-form-item"), n = m("el-col"), f = m("el-input"),
|
|
132
|
+
const i = m("jmash-select"), d = m("el-form-item"), n = m("el-col"), f = m("el-input"), L = m("jmash-enum-select"), c = m("el-tree-select"), G = m("jmash-enum-radio"), h = m("el-button"), J = m("el-row"), X = m("el-form"), H = m("el-dialog");
|
|
133
133
|
return U(), V(H, {
|
|
134
134
|
modelValue: p.value,
|
|
135
135
|
"onUpdate:modelValue": o[13] || (o[13] = (t) => p.value = t),
|
|
@@ -163,7 +163,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
163
163
|
rules: E
|
|
164
164
|
}, {
|
|
165
165
|
default: s(() => [
|
|
166
|
-
l(
|
|
166
|
+
l(J, null, {
|
|
167
167
|
default: s(() => [
|
|
168
168
|
l(n, { span: 12 }, {
|
|
169
169
|
default: s(() => [
|
|
@@ -186,7 +186,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
186
186
|
]),
|
|
187
187
|
_: 1
|
|
188
188
|
}),
|
|
189
|
-
|
|
189
|
+
b.value ? D("", !0) : (U(), V(n, {
|
|
190
190
|
key: 0,
|
|
191
191
|
span: 12
|
|
192
192
|
}, {
|
|
@@ -238,7 +238,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
238
238
|
prop: "gender"
|
|
239
239
|
}, {
|
|
240
240
|
default: s(() => [
|
|
241
|
-
l(
|
|
241
|
+
l(L, {
|
|
242
242
|
modelValue: r(a).gender,
|
|
243
243
|
"onUpdate:modelValue": o[3] || (o[3] = (t) => r(a).gender = t),
|
|
244
244
|
clearable: "",
|
|
@@ -370,7 +370,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
370
370
|
prop: "jobStatus"
|
|
371
371
|
}, {
|
|
372
372
|
default: s(() => [
|
|
373
|
-
l(
|
|
373
|
+
l(G, {
|
|
374
374
|
modelValue: r(a).jobStatus,
|
|
375
375
|
"onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).jobStatus = t),
|
|
376
376
|
data: r(y).jobStatusDictEnum.values
|
|
@@ -406,7 +406,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
406
406
|
]),
|
|
407
407
|
_: 1
|
|
408
408
|
}),
|
|
409
|
-
|
|
409
|
+
b.value ? D("", !0) : (U(), V(n, {
|
|
410
410
|
key: 1,
|
|
411
411
|
span: 12
|
|
412
412
|
}, {
|
|
@@ -3,7 +3,7 @@ import { ElMessage as q } from "element-plus";
|
|
|
3
3
|
import { useI18n as L } from "vue-i18n";
|
|
4
4
|
import { useRoute as z } from "vue-router";
|
|
5
5
|
import { s as b } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as G, C as T } from "./index-
|
|
6
|
+
import { D as G, C as T } from "./index-EhejgmO6.mjs";
|
|
7
7
|
const H = { class: "dialog-footer" }, Z = /* @__PURE__ */ K({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ R({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as B, mergeModels as R, ref as $, useModel as A, reacti
|
|
|
2
2
|
import { ElMessage as j } from "element-plus";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as b } from "./index.mjs";
|
|
5
|
-
import { D as f, C as y } from "./index-
|
|
5
|
+
import { D as f, C as y } from "./index-EhejgmO6.mjs";
|
|
6
6
|
const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
|
|
7
7
|
__name: "edit",
|
|
8
8
|
props: /* @__PURE__ */ R({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
|
|
|
2
2
|
import { useI18n as L } from "vue-i18n";
|
|
3
3
|
import { ElMessage as f } from "element-plus";
|
|
4
4
|
import { fileApi as w, useUserStore as D } from "jmash-core";
|
|
5
|
-
import { D as I } from "./index-
|
|
5
|
+
import { D as I } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
|
|
8
8
|
__name: "import-upload",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
|
|
|
2
2
|
import { useI18n as L } from "vue-i18n";
|
|
3
3
|
import { ElMessage as f } from "element-plus";
|
|
4
4
|
import { fileApi as w, useUserStore as D } from "jmash-core";
|
|
5
|
-
import { D as I } from "./index-
|
|
5
|
+
import { D as I } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
|
|
8
8
|
__name: "import-upload",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
|
|
|
2
2
|
import { useI18n as L } from "vue-i18n";
|
|
3
3
|
import { ElMessage as f } from "element-plus";
|
|
4
4
|
import { fileApi as w, useUserStore as D } from "jmash-core";
|
|
5
|
-
import { D as I } from "./index-
|
|
5
|
+
import { D as I } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
|
|
8
8
|
__name: "import-upload",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as re, ref as S, reactive as
|
|
1
|
+
import { defineComponent as re, ref as S, reactive as M, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as k, createTextVNode as y, toDisplayString as s, withDirectives as f, createBlock as c, isRef as J, createCommentVNode as O, vShow as q } from "vue";
|
|
2
2
|
import { useTableHooks as ie } from "jmash-core";
|
|
3
3
|
import { useI18n as de } from "vue-i18n";
|
|
4
4
|
import { useRouter as pe } from "vue-router";
|
|
5
|
-
import { D as p, C as
|
|
5
|
+
import { D as p, C as D } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { sysUserExtApi as z } from "./index.mjs";
|
|
7
|
-
import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs";
|
|
8
8
|
import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
-
import be from "./import-upload-
|
|
9
|
+
import be from "./import-upload-BM5kcXdg.mjs";
|
|
10
10
|
const ge = { class: "app-container" }, fe = { class: "search-container" }, ce = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], je = /* @__PURE__ */ re({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(Ce) {
|
|
13
13
|
const { t: C } = de(), B = pe();
|
|
14
14
|
p.sysOutBizDict.useValues();
|
|
15
15
|
const r = S({
|
|
16
|
-
userType:
|
|
16
|
+
userType: D.userType.outsourceOps
|
|
17
17
|
}), {
|
|
18
18
|
tableHooks: u,
|
|
19
19
|
multipleTableRef: K,
|
|
@@ -101,16 +101,16 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
101
101
|
isColumn: !0
|
|
102
102
|
}
|
|
103
103
|
]);
|
|
104
|
-
function
|
|
104
|
+
function I(l) {
|
|
105
105
|
l.showEncrypt = !l.showEncrypt;
|
|
106
106
|
}
|
|
107
107
|
const b = S({
|
|
108
108
|
title: C("common.edit"),
|
|
109
109
|
visible: !1
|
|
110
110
|
});
|
|
111
|
-
let j =
|
|
111
|
+
let j = M({});
|
|
112
112
|
function A() {
|
|
113
|
-
j =
|
|
113
|
+
j = M({}), b.value.title = C("common.add"), b.value.visible = !0;
|
|
114
114
|
}
|
|
115
115
|
function x(l) {
|
|
116
116
|
j.userId = l.userId, b.value.title = C("common.edit"), b.value.visible = !0;
|
|
@@ -134,7 +134,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
function X(l) {
|
|
137
|
-
l.updateMask = "", u.importExcel(l).then(() => {
|
|
137
|
+
l.updateMask = "", l.userType = D.userType.outsourceOps, u.importExcel(l).then(() => {
|
|
138
138
|
$.value = !1;
|
|
139
139
|
});
|
|
140
140
|
}
|
|
@@ -148,7 +148,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
148
148
|
l && u.getList();
|
|
149
149
|
}
|
|
150
150
|
return u.getList(), (l, t) => {
|
|
151
|
-
const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"),
|
|
151
|
+
const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"), N = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), P = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), _ = ue("hasPerm");
|
|
152
152
|
return d(), V("div", ge, [
|
|
153
153
|
m("div", fe, [
|
|
154
154
|
a(le, {
|
|
@@ -158,7 +158,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
158
158
|
inline: !0
|
|
159
159
|
}, {
|
|
160
160
|
default: o(() => [
|
|
161
|
-
a(
|
|
161
|
+
a(N, null, {
|
|
162
162
|
default: o(() => [
|
|
163
163
|
a(g, { span: 6 }, {
|
|
164
164
|
default: o(() => [
|
|
@@ -304,7 +304,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
304
304
|
class: "table-container"
|
|
305
305
|
}, {
|
|
306
306
|
header: o(() => [
|
|
307
|
-
a(
|
|
307
|
+
a(N, null, {
|
|
308
308
|
default: o(() => [
|
|
309
309
|
a(g, { span: 17 }, {
|
|
310
310
|
default: o(() => [
|
|
@@ -352,7 +352,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
352
352
|
]),
|
|
353
353
|
a(oe, {
|
|
354
354
|
modelValue: n(h),
|
|
355
|
-
"onUpdate:modelValue": t[14] || (t[14] = (e) =>
|
|
355
|
+
"onUpdate:modelValue": t[14] || (t[14] = (e) => J(h) ? h.value = e : h = e),
|
|
356
356
|
"label-name": "itsmsys/itsm-sys-user-ext"
|
|
357
357
|
}, null, 8, ["modelValue"])
|
|
358
358
|
]),
|
|
@@ -366,7 +366,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
366
366
|
n(T) > 0 ? (d(), c(ae, {
|
|
367
367
|
key: 0,
|
|
368
368
|
total: n(T),
|
|
369
|
-
"onUpdate:total": t[15] || (t[15] = (e) =>
|
|
369
|
+
"onUpdate:total": t[15] || (t[15] = (e) => J(T) ? T.value = e : null),
|
|
370
370
|
"current-page": r.value.curPage,
|
|
371
371
|
"onUpdate:currentPage": t[16] || (t[16] = (e) => r.value.curPage = e),
|
|
372
372
|
"page-size": r.value.pageSize,
|
|
@@ -399,7 +399,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
399
399
|
]),
|
|
400
400
|
jobStatus: o((e) => [
|
|
401
401
|
m("span", null, [
|
|
402
|
-
e.data.row.jobStatus === n(
|
|
402
|
+
e.data.row.jobStatus === n(D).jobStatus.working ? (d(), c(R, {
|
|
403
403
|
key: 0,
|
|
404
404
|
type: "primary"
|
|
405
405
|
}, {
|
|
@@ -407,7 +407,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
407
407
|
y(s(n(p).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
|
|
408
408
|
]),
|
|
409
409
|
_: 2
|
|
410
|
-
}, 1024)) : (d(), c(
|
|
410
|
+
}, 1024)) : (d(), c(R, {
|
|
411
411
|
key: 1,
|
|
412
412
|
type: "danger"
|
|
413
413
|
}, {
|
|
@@ -435,17 +435,17 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
435
435
|
]),
|
|
436
436
|
operation: o((e) => [
|
|
437
437
|
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span", ce, [
|
|
438
|
-
f(a(
|
|
438
|
+
f(a(P, {
|
|
439
439
|
"icon-class": "close-eye",
|
|
440
|
-
onClick: (E) =>
|
|
440
|
+
onClick: (E) => I(e.data.row)
|
|
441
441
|
}, null, 8, ["onClick"]), [
|
|
442
|
-
[
|
|
442
|
+
[q, !e.data.row.showEncrypt]
|
|
443
443
|
]),
|
|
444
|
-
f(a(
|
|
444
|
+
f(a(P, {
|
|
445
445
|
"icon-class": "eye-open",
|
|
446
|
-
onClick: (E) =>
|
|
446
|
+
onClick: (E) => I(e.data.row)
|
|
447
447
|
}, null, 8, ["onClick"]), [
|
|
448
|
-
[
|
|
448
|
+
[q, e.data.row.showEncrypt]
|
|
449
449
|
])
|
|
450
450
|
])) : O("", !0),
|
|
451
451
|
f((d(), V("span", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective as X, openBlock as m, createElementBlock as h, createElementVNode as V, createVNode as n, withCtx as l, withKeys as N, unref as a, createTextVNode as d, toDisplayString as u, withDirectives as b, createBlock as C, isRef as O, createCommentVNode as Y } from "vue";
|
|
2
2
|
import { useTableHooks as Z } from "jmash-core";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
|
-
import { C as k, D as ee } from "./index-
|
|
4
|
+
import { C as k, D as ee } from "./index-EhejgmO6.mjs";
|
|
5
5
|
import { sysOrgApi as oe } from "./index.mjs";
|
|
6
6
|
import { useRouter as te } from "vue-router";
|
|
7
7
|
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], ge = /* @__PURE__ */ W({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as re, ref as U, reactive as
|
|
1
|
+
import { defineComponent as re, ref as U, reactive as B, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as k, createElementVNode as b, createVNode as a, withCtx as o, withKeys as V, unref as n, createTextVNode as m, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
|
|
2
2
|
import { useTableHooks as ie } from "jmash-core";
|
|
3
3
|
import { useI18n as de } from "vue-i18n";
|
|
4
4
|
import { useRouter as me } from "vue-router";
|
|
5
|
-
import { D as p, C as
|
|
5
|
+
import { D as p, C as N } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { sysUserExtApi as Q } from "./index.mjs";
|
|
7
|
-
import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs";
|
|
8
8
|
import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
-
import be from "./import-upload-
|
|
9
|
+
import be from "./import-upload-CjeTCQBx.mjs";
|
|
10
10
|
const ce = { class: "app-container" }, fe = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], ge = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(je) {
|
|
13
13
|
const { t: g } = de(), L = me();
|
|
14
14
|
p.deptBizDict.useValues(), p.jobBizDict.useValues();
|
|
15
15
|
const r = U({
|
|
16
|
-
userType:
|
|
16
|
+
userType: N.userType.companyManager
|
|
17
17
|
}), {
|
|
18
18
|
tableHooks: u,
|
|
19
19
|
multipleTableRef: x,
|
|
@@ -91,16 +91,16 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
91
91
|
isColumn: !0
|
|
92
92
|
}
|
|
93
93
|
]);
|
|
94
|
-
function
|
|
94
|
+
function T(l) {
|
|
95
95
|
l.showEncrypt = !l.showEncrypt;
|
|
96
96
|
}
|
|
97
97
|
const y = U({
|
|
98
98
|
title: g("common.edit"),
|
|
99
99
|
visible: !1
|
|
100
100
|
});
|
|
101
|
-
let E =
|
|
101
|
+
let E = B({});
|
|
102
102
|
function O() {
|
|
103
|
-
E =
|
|
103
|
+
E = B({}), y.value.title = g("common.add"), y.value.visible = !0;
|
|
104
104
|
}
|
|
105
105
|
function G(l) {
|
|
106
106
|
E.userId = l.userId, y.value.title = g("common.edit"), y.value.visible = !0;
|
|
@@ -124,7 +124,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
function Y(l) {
|
|
127
|
-
l.updateMask = "", u.importExcel(l).then(() => {
|
|
127
|
+
l.updateMask = "", l.userType = N.userType.companyManager, u.importExcel(l).then(() => {
|
|
128
128
|
j.value = !1;
|
|
129
129
|
});
|
|
130
130
|
}
|
|
@@ -138,7 +138,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
138
138
|
l && u.getList();
|
|
139
139
|
}
|
|
140
140
|
return u.getList(), (l, t) => {
|
|
141
|
-
const D = i("el-input"), h = i("el-form-item"), v = i("el-col"),
|
|
141
|
+
const D = i("el-input"), h = i("el-form-item"), v = i("el-col"), M = i("jmash-select"), C = i("el-button"), P = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), z = i("svg-icon"), ae = i("jmash-table"), ne = i("jmash-pagination"), se = i("el-card"), w = ue("hasPerm");
|
|
142
142
|
return d(), k("div", ce, [
|
|
143
143
|
b("div", fe, [
|
|
144
144
|
a(le, {
|
|
@@ -148,7 +148,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
148
148
|
inline: !0
|
|
149
149
|
}, {
|
|
150
150
|
default: o(() => [
|
|
151
|
-
a(
|
|
151
|
+
a(P, null, {
|
|
152
152
|
default: o(() => [
|
|
153
153
|
a(v, { span: 6 }, {
|
|
154
154
|
default: o(() => [
|
|
@@ -178,7 +178,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
178
178
|
prop: "deptId"
|
|
179
179
|
}, {
|
|
180
180
|
default: o(() => [
|
|
181
|
-
a(
|
|
181
|
+
a(M, {
|
|
182
182
|
modelValue: r.value.deptId,
|
|
183
183
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.deptId = e),
|
|
184
184
|
placeholder: l.$t("sysUserMan.deptIdRequired"),
|
|
@@ -199,7 +199,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
199
199
|
prop: "jobId"
|
|
200
200
|
}, {
|
|
201
201
|
default: o(() => [
|
|
202
|
-
a(
|
|
202
|
+
a(M, {
|
|
203
203
|
modelValue: r.value.jobId,
|
|
204
204
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.jobId = e),
|
|
205
205
|
placeholder: l.$t("sysUserMan.jobIdRequired"),
|
|
@@ -220,7 +220,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
220
220
|
prop: "jobStatus"
|
|
221
221
|
}, {
|
|
222
222
|
default: o(() => [
|
|
223
|
-
a(
|
|
223
|
+
a(M, {
|
|
224
224
|
modelValue: r.value.jobStatus,
|
|
225
225
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.jobStatus = e),
|
|
226
226
|
placeholder: l.$t("sysUserMan.jobStatusRequired"),
|
|
@@ -274,7 +274,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
274
274
|
class: "table-container"
|
|
275
275
|
}, {
|
|
276
276
|
header: o(() => [
|
|
277
|
-
a(
|
|
277
|
+
a(P, null, {
|
|
278
278
|
default: o(() => [
|
|
279
279
|
a(v, { span: 17 }, {
|
|
280
280
|
default: o(() => [
|
|
@@ -322,7 +322,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
322
322
|
]),
|
|
323
323
|
a(oe, {
|
|
324
324
|
modelValue: n(_),
|
|
325
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
|
325
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => q(_) ? _.value = e : _ = e),
|
|
326
326
|
"label-name": "itsmsys/itsm-sys-user-ext"
|
|
327
327
|
}, null, 8, ["modelValue"])
|
|
328
328
|
]),
|
|
@@ -336,7 +336,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
336
336
|
n(I) > 0 ? (d(), f(ne, {
|
|
337
337
|
key: 0,
|
|
338
338
|
total: n(I),
|
|
339
|
-
"onUpdate:total": t[13] || (t[13] = (e) =>
|
|
339
|
+
"onUpdate:total": t[13] || (t[13] = (e) => q(I) ? I.value = e : null),
|
|
340
340
|
"current-page": r.value.curPage,
|
|
341
341
|
"onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
|
|
342
342
|
"page-size": r.value.pageSize,
|
|
@@ -372,7 +372,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
372
372
|
]),
|
|
373
373
|
jobStatus: o((e) => [
|
|
374
374
|
b("span", null, [
|
|
375
|
-
e.data.row.jobStatus === n(
|
|
375
|
+
e.data.row.jobStatus === n(N).jobStatus.working ? (d(), f(R, {
|
|
376
376
|
key: 0,
|
|
377
377
|
type: "primary"
|
|
378
378
|
}, {
|
|
@@ -380,7 +380,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
380
380
|
m(s(n(p).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
|
|
381
381
|
]),
|
|
382
382
|
_: 2
|
|
383
|
-
}, 1024)) : (d(), f(
|
|
383
|
+
}, 1024)) : (d(), f(R, {
|
|
384
384
|
key: 1,
|
|
385
385
|
type: "danger"
|
|
386
386
|
}, {
|
|
@@ -393,17 +393,17 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
|
|
|
393
393
|
]),
|
|
394
394
|
operation: o((e) => [
|
|
395
395
|
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), k("span", ve, [
|
|
396
|
-
c(a(
|
|
396
|
+
c(a(z, {
|
|
397
397
|
"icon-class": "close-eye",
|
|
398
|
-
onClick: ($) =>
|
|
398
|
+
onClick: ($) => T(e.data.row)
|
|
399
399
|
}, null, 8, ["onClick"]), [
|
|
400
|
-
[
|
|
400
|
+
[K, !e.data.row.showEncrypt]
|
|
401
401
|
]),
|
|
402
|
-
c(a(
|
|
402
|
+
c(a(z, {
|
|
403
403
|
"icon-class": "eye-open",
|
|
404
|
-
onClick: ($) =>
|
|
404
|
+
onClick: ($) => T(e.data.row)
|
|
405
405
|
}, null, 8, ["onClick"]), [
|
|
406
|
-
[
|
|
406
|
+
[K, e.data.row.showEncrypt]
|
|
407
407
|
])
|
|
408
408
|
])) : S("", !0),
|
|
409
409
|
c((d(), k("span", {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as re, ref as V, reactive as
|
|
1
|
+
import { defineComponent as re, ref as V, reactive as J, resolveComponent as u, resolveDirective as ie, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
|
|
2
2
|
import { useTableHooks as ue } from "jmash-core";
|
|
3
3
|
import { useI18n as de } from "vue-i18n";
|
|
4
4
|
import { useRouter as pe } from "vue-router";
|
|
5
|
-
import { C as
|
|
5
|
+
import { C as O, D as y } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { sysUserExtApi as Q } from "./index.mjs";
|
|
7
|
-
import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs";
|
|
8
8
|
import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
-
import be from "./import-upload-
|
|
9
|
+
import be from "./import-upload-BvBtwEbI.mjs";
|
|
10
10
|
const ce = { class: "app-container" }, fe = { class: "search-container" }, ge = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(Ce) {
|
|
13
13
|
const { t: w } = de(), z = pe(), r = V({
|
|
14
|
-
userType:
|
|
14
|
+
userType: O.userType.companyOps
|
|
15
15
|
}), {
|
|
16
16
|
tableHooks: i,
|
|
17
17
|
multipleTableRef: L,
|
|
18
18
|
queryFormRef: x,
|
|
19
19
|
listLoading: B,
|
|
20
20
|
tableData: F,
|
|
21
|
-
total:
|
|
21
|
+
total: T
|
|
22
22
|
} = ue(w, Q, r);
|
|
23
23
|
let _ = V([
|
|
24
24
|
{
|
|
@@ -91,16 +91,16 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
91
91
|
isColumn: !0
|
|
92
92
|
}
|
|
93
93
|
]);
|
|
94
|
-
function
|
|
94
|
+
function M(o) {
|
|
95
95
|
o.showEncrypt = !o.showEncrypt;
|
|
96
96
|
}
|
|
97
97
|
const b = V({
|
|
98
98
|
title: w("common.edit"),
|
|
99
99
|
visible: !1
|
|
100
100
|
});
|
|
101
|
-
let j =
|
|
101
|
+
let j = J({});
|
|
102
102
|
function A() {
|
|
103
|
-
j =
|
|
103
|
+
j = J({}), b.value.title = w("common.add"), b.value.visible = !0;
|
|
104
104
|
}
|
|
105
105
|
function H(o) {
|
|
106
106
|
j.userId = o.userId, b.value.title = w("common.edit"), b.value.visible = !0;
|
|
@@ -124,7 +124,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
function Y(o) {
|
|
127
|
-
o.updateMask = "", i.importExcel(o).then(() => {
|
|
127
|
+
o.updateMask = "", o.userType = O.userType.companyOps, i.importExcel(o).then(() => {
|
|
128
128
|
C.value = !1;
|
|
129
129
|
});
|
|
130
130
|
}
|
|
@@ -138,7 +138,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
138
138
|
o && i.getList();
|
|
139
139
|
}
|
|
140
140
|
return i.getList(), (o, t) => {
|
|
141
|
-
const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"),
|
|
141
|
+
const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), P = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), R = u("el-tag"), I = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ie("hasPerm");
|
|
142
142
|
return d(), $("div", ce, [
|
|
143
143
|
m("div", fe, [
|
|
144
144
|
a(oe, {
|
|
@@ -148,7 +148,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
148
148
|
inline: !0
|
|
149
149
|
}, {
|
|
150
150
|
default: l(() => [
|
|
151
|
-
a(
|
|
151
|
+
a(P, null, {
|
|
152
152
|
default: l(() => [
|
|
153
153
|
a(g, { span: 6 }, {
|
|
154
154
|
default: l(() => [
|
|
@@ -273,7 +273,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
273
273
|
class: "table-container"
|
|
274
274
|
}, {
|
|
275
275
|
header: l(() => [
|
|
276
|
-
a(
|
|
276
|
+
a(P, null, {
|
|
277
277
|
default: l(() => [
|
|
278
278
|
a(g, { span: 17 }, {
|
|
279
279
|
default: l(() => [
|
|
@@ -321,7 +321,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
321
321
|
]),
|
|
322
322
|
a(le, {
|
|
323
323
|
modelValue: n(_),
|
|
324
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
|
324
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => q(_) ? _.value = e : _ = e),
|
|
325
325
|
"label-name": "itsmsys/itsm-sys-user-ext"
|
|
326
326
|
}, null, 8, ["modelValue"])
|
|
327
327
|
]),
|
|
@@ -332,10 +332,10 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
332
332
|
})
|
|
333
333
|
]),
|
|
334
334
|
footer: l(() => [
|
|
335
|
-
n(
|
|
335
|
+
n(T) > 0 ? (d(), f(ae, {
|
|
336
336
|
key: 0,
|
|
337
|
-
total: n(
|
|
338
|
-
"onUpdate:total": t[13] || (t[13] = (e) =>
|
|
337
|
+
total: n(T),
|
|
338
|
+
"onUpdate:total": t[13] || (t[13] = (e) => q(T) ? T.value = e : null),
|
|
339
339
|
"current-page": r.value.curPage,
|
|
340
340
|
"onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
|
|
341
341
|
"page-size": r.value.pageSize,
|
|
@@ -365,7 +365,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
365
365
|
]),
|
|
366
366
|
jobStatus: l((e) => [
|
|
367
367
|
m("span", null, [
|
|
368
|
-
e.data.row.jobStatus === n(
|
|
368
|
+
e.data.row.jobStatus === n(O).jobStatus.working ? (d(), f(R, {
|
|
369
369
|
key: 0,
|
|
370
370
|
type: "primary"
|
|
371
371
|
}, {
|
|
@@ -373,7 +373,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
373
373
|
p(s(n(y).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
|
|
374
374
|
]),
|
|
375
375
|
_: 2
|
|
376
|
-
}, 1024)) : (d(), f(
|
|
376
|
+
}, 1024)) : (d(), f(R, {
|
|
377
377
|
key: 1,
|
|
378
378
|
type: "danger"
|
|
379
379
|
}, {
|
|
@@ -401,22 +401,22 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
401
401
|
]),
|
|
402
402
|
operation: l((e) => [
|
|
403
403
|
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span", ge, [
|
|
404
|
-
c(a(
|
|
404
|
+
c(a(I, {
|
|
405
405
|
"icon-class": "close-eye",
|
|
406
|
-
onClick: (
|
|
406
|
+
onClick: (U) => M(e.data.row)
|
|
407
407
|
}, null, 8, ["onClick"]), [
|
|
408
|
-
[
|
|
408
|
+
[K, !e.data.row.showEncrypt]
|
|
409
409
|
]),
|
|
410
|
-
c(a(
|
|
410
|
+
c(a(I, {
|
|
411
411
|
"icon-class": "eye-open",
|
|
412
|
-
onClick: (
|
|
412
|
+
onClick: (U) => M(e.data.row)
|
|
413
413
|
}, null, 8, ["onClick"]), [
|
|
414
|
-
[
|
|
414
|
+
[K, e.data.row.showEncrypt]
|
|
415
415
|
])
|
|
416
416
|
])) : S("", !0),
|
|
417
417
|
c((d(), $("span", {
|
|
418
418
|
class: "el-button-color dropdown-left",
|
|
419
|
-
onClick: (
|
|
419
|
+
onClick: (U) => H(e.data.row)
|
|
420
420
|
}, [
|
|
421
421
|
p(s(o.$t("common.edit")), 1)
|
|
422
422
|
], 8, ve)), [
|
|
@@ -424,7 +424,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
424
424
|
]),
|
|
425
425
|
c((d(), $("span", {
|
|
426
426
|
class: "el-button-color dropdown-left",
|
|
427
|
-
onClick: (
|
|
427
|
+
onClick: (U) => n(i).deleteRecord(e.data.row)
|
|
428
428
|
}, [
|
|
429
429
|
p(s(o.$t("common.delete")), 1)
|
|
430
430
|
], 8, we)), [
|
|
@@ -432,7 +432,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
432
432
|
]),
|
|
433
433
|
c((d(), $("span", {
|
|
434
434
|
class: "el-button-color dropdown-left",
|
|
435
|
-
onClick: (
|
|
435
|
+
onClick: (U) => G(e.data.row)
|
|
436
436
|
}, [
|
|
437
437
|
p(s(o.$t("common.view")), 1)
|
|
438
438
|
], 8, _e)), [
|
|
@@ -2,7 +2,7 @@ import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective
|
|
|
2
2
|
import { useTableHooks as Z } from "jmash-core";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
4
|
import { useRouter as ee } from "vue-router";
|
|
5
|
-
import { C as k, D as te } from "./index-
|
|
5
|
+
import { C as k, D as te } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { sysOrgApi as oe } from "./index.mjs";
|
|
7
7
|
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ W({
|
|
8
8
|
__name: "index",
|
|
@@ -2,9 +2,9 @@ var T = Object.defineProperty;
|
|
|
2
2
|
var d = (a, i, t) => i in a ? T(a, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[i] = t;
|
|
3
3
|
var s = (a, i, t) => d(a, typeof i != "symbol" ? i + "" : i, t);
|
|
4
4
|
import { ref as m } from "vue";
|
|
5
|
-
import { BizLayDict as
|
|
5
|
+
import { BizLayDict as S, BizDict as n, CustomBizDict as _, EnumDict as E } from "jmash-core";
|
|
6
6
|
import { sysOrgApi as l } from "./index.mjs";
|
|
7
|
-
import { deptApi as
|
|
7
|
+
import { deptApi as h, jobApi as N } from "jmash-rbac";
|
|
8
8
|
import { EntryDict as O } from "jmash-dict";
|
|
9
9
|
class e {
|
|
10
10
|
}
|
|
@@ -75,7 +75,7 @@ s(e, "taxRate", {
|
|
|
75
75
|
max: 0.99
|
|
76
76
|
}), // 岗位字典传参
|
|
77
77
|
s(e, "roleType", "job");
|
|
78
|
-
class
|
|
78
|
+
class M extends S {
|
|
79
79
|
// 实现 useValues 方法
|
|
80
80
|
useValues(i) {
|
|
81
81
|
return new Promise((t, u) => {
|
|
@@ -83,8 +83,8 @@ class g extends _ {
|
|
|
83
83
|
t(this.values);
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
|
-
const
|
|
87
|
-
l.findList(
|
|
86
|
+
const o = { ...this.query, excludeOrgId: i };
|
|
87
|
+
l.findList(o).then(({ data: c }) => {
|
|
88
88
|
const y = c.results;
|
|
89
89
|
this.values.length = 0, this.values.push(...this.convertToLayEntryArray(y)), t(this.values);
|
|
90
90
|
}).catch(u);
|
|
@@ -103,10 +103,10 @@ class p extends n {
|
|
|
103
103
|
// 实现 useValues 方法
|
|
104
104
|
useValues() {
|
|
105
105
|
return new Promise((i, t) => {
|
|
106
|
-
l.
|
|
107
|
-
const
|
|
106
|
+
l.findOutSourceList(this.query).then(({ data: u }) => {
|
|
107
|
+
const o = u.results;
|
|
108
108
|
this.values.length = 0, this.values.push(
|
|
109
|
-
...
|
|
109
|
+
...o.map(
|
|
110
110
|
(c) => ({
|
|
111
111
|
key: c.orgId,
|
|
112
112
|
value: c.orgName
|
|
@@ -117,14 +117,14 @@ class p extends n {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
class
|
|
120
|
+
class g extends n {
|
|
121
121
|
// 实现 useValues 方法
|
|
122
122
|
useValues() {
|
|
123
123
|
return new Promise((i, t) => {
|
|
124
|
-
|
|
125
|
-
const
|
|
124
|
+
h.findList(this.query).then(({ data: u }) => {
|
|
125
|
+
const o = u.results;
|
|
126
126
|
this.values.length = 0, this.values.push(
|
|
127
|
-
...
|
|
127
|
+
...o.map(
|
|
128
128
|
(c) => ({
|
|
129
129
|
key: c.deptId,
|
|
130
130
|
value: c.deptName
|
|
@@ -140,9 +140,9 @@ class I extends n {
|
|
|
140
140
|
useValues() {
|
|
141
141
|
return new Promise((i, t) => {
|
|
142
142
|
N.findPage(this.query).then(({ data: u }) => {
|
|
143
|
-
const
|
|
143
|
+
const o = u.results;
|
|
144
144
|
this.values.length = 0, this.values.push(
|
|
145
|
-
...
|
|
145
|
+
...o.map(
|
|
146
146
|
(c) => ({
|
|
147
147
|
key: c.roleId,
|
|
148
148
|
value: c.roleName
|
|
@@ -156,27 +156,27 @@ class I extends n {
|
|
|
156
156
|
class r {
|
|
157
157
|
}
|
|
158
158
|
// 公司管理状态
|
|
159
|
-
s(r, "hasStatusDict", new
|
|
160
|
-
s(r, "invoiceTypeDictEnum", new
|
|
159
|
+
s(r, "hasStatusDict", new _(e.HAS_STATUS, {})), // 公司发票类型
|
|
160
|
+
s(r, "invoiceTypeDictEnum", new E(
|
|
161
161
|
e.MODULE_ITSMSYS,
|
|
162
162
|
e.ENUM_INVOICE_TYPE
|
|
163
163
|
)), // 厅局管理父厅级单位
|
|
164
|
-
s(r, "parentIdBizDict", new
|
|
164
|
+
s(r, "parentIdBizDict", new M({
|
|
165
165
|
orgType: e.orgType.hall
|
|
166
166
|
})), // 管理人员工作状态
|
|
167
|
-
s(r, "jobStatusDictEnum", new
|
|
167
|
+
s(r, "jobStatusDictEnum", new E(
|
|
168
168
|
e.MODULE_ITSMSYS,
|
|
169
169
|
e.ENUM_JOB_ATATUS
|
|
170
170
|
)), // 运维人员工作模式
|
|
171
|
-
s(r, "engineerJobModeDictEnum", new
|
|
171
|
+
s(r, "engineerJobModeDictEnum", new E(
|
|
172
172
|
e.MODULE_ITSMSYS,
|
|
173
173
|
e.ENUM_ENGINEER_JOB_MODE
|
|
174
174
|
)), // 性别
|
|
175
|
-
s(r, "genderDict", new
|
|
175
|
+
s(r, "genderDict", new E(
|
|
176
176
|
e.MODULE_RBAC,
|
|
177
177
|
e.ENUM_GENDER
|
|
178
178
|
)), // 运维人员工程师类型
|
|
179
|
-
s(r, "engineerTypeDictEnum", new
|
|
179
|
+
s(r, "engineerTypeDictEnum", new E(
|
|
180
180
|
e.MODULE_ITSMSYS,
|
|
181
181
|
e.ENUM_ENGINEER_TYPE
|
|
182
182
|
)), // 公司人员选择公司名称
|
|
@@ -189,7 +189,7 @@ s(r, "sysOutBizDict", new p({
|
|
|
189
189
|
s(r, "engineerCertificateDict", new O(
|
|
190
190
|
e.DICT_ENGINEER_GRADE
|
|
191
191
|
)), // 分组
|
|
192
|
-
s(r, "deptBizDict", new
|
|
192
|
+
s(r, "deptBizDict", new g({})), // 岗位
|
|
193
193
|
s(r, "jobBizDict", new I({
|
|
194
194
|
roleType: e.roleType
|
|
195
195
|
}));
|
|
@@ -2,7 +2,7 @@ import { defineComponent as te, ref as N, resolveComponent as s, resolveDirectiv
|
|
|
2
2
|
import { useTableHooks as se } from "jmash-core";
|
|
3
3
|
import { ElMessageBox as j, ElMessage as T } from "element-plus";
|
|
4
4
|
import { useI18n as ae } from "vue-i18n";
|
|
5
|
-
import { C as re, D as ie } from "./index-
|
|
5
|
+
import { C as re, D as ie } from "./index-EhejgmO6.mjs";
|
|
6
6
|
import { sysOrgApi as u } from "./index.mjs";
|
|
7
7
|
import { useRouter as me } from "vue-router";
|
|
8
8
|
const ce = { class: "app-container" }, de = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], fe = ["onClick"], ke = /* @__PURE__ */ te({
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Layout as Ys, deepMerge as Tt, useUserStore as D, clearEmpty as T, request as Y, addViteMenus as Os, addDynamicRoute as Ts, i18n as bs } from "jmash-core";
|
|
2
|
-
const Ps = () => import("./edit-
|
|
2
|
+
const Ps = () => import("./edit-CNFS8ehW.mjs"), Rs = () => import("./info-CoizfoOq.mjs"), xs = () => import("./edit-Cs3KIwaz.mjs"), Ns = () => import("./info-rnc-sgQt.mjs"), Is = () => import("./edit-CxRGbAP_.mjs"), Ws = () => import("./info-B2d8xPwW.mjs"), Ls = () => import("./info-BZ7IZet8.mjs"), Fs = () => import("./info-CCfX-q4c.mjs"), Cs = () => import("./info-DBObKyIh.mjs"), Us = [
|
|
3
3
|
{
|
|
4
4
|
path: "/rawitsmsys",
|
|
5
5
|
component: Ys,
|
|
@@ -3118,7 +3118,7 @@ class qi {
|
|
|
3118
3118
|
});
|
|
3119
3119
|
}
|
|
3120
3120
|
}
|
|
3121
|
-
const Bi = new qi(), zi = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-
|
|
3121
|
+
const Bi = new qi(), zi = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-Cs3KIwaz.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-nhzVBt2y.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-rnc-sgQt.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-Dmxyf_Gp.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-Dsf1qOUx.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-CNFS8ehW.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-BzqZLipq.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-CoizfoOq.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-CxRGbAP_.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-D2e-NU3E.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-B2d8xPwW.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-C1zg8B0y.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-CjeTCQBx.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-CdQGs3Vu.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-BZ7IZet8.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DLN1WFrt.mjs"), "./views/itsmsys/itsm-sys-user-ops/import-upload.vue": () => import("./import-upload-BvBtwEbI.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-D2BUGsak.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-CCfX-q4c.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-DlEW6lB8.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-BM5kcXdg.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-Bxg8G8aA.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-DBObKyIh.mjs") }), Ji = {
|
|
3122
3122
|
install(e) {
|
|
3123
3123
|
Os(zi, 7), Ts(Us), Gi(bs), e.use(Ai);
|
|
3124
3124
|
}
|
|
@@ -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-eMXMvSnV.mjs";
|
|
7
|
+
import { D as W } from "./index-EhejgmO6.mjs";
|
|
8
8
|
const X = { class: "app-container" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ A({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(ee) {
|
|
@@ -3,7 +3,7 @@ import { useRouter as G, useRoute as R } from "vue-router";
|
|
|
3
3
|
import { routerUtil as S } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as U } from "./index.mjs";
|
|
5
5
|
import { s as J } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as y, C as h } from "./index-
|
|
6
|
+
import { D as y, C as h } from "./index-EhejgmO6.mjs";
|
|
7
7
|
const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ w({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(ee) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as M, getCurrentInstance as j, ref as h, computed as z, onBeforeMount as k, resolveComponent as m, openBlock as v, createElementBlock as g, createVNode as n, withCtx as e, createTextVNode as r, toDisplayString as l, createElementVNode as o, unref as u, Fragment as C, renderList as N, createBlock as T } from "vue";
|
|
2
2
|
import { useRouter as w, useRoute as S } from "vue-router";
|
|
3
|
-
import { D as a } from "./index-
|
|
3
|
+
import { D as a } from "./index-EhejgmO6.mjs";
|
|
4
4
|
import { fileApi as Y, routerUtil as x } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as A } from "./index.mjs";
|
|
6
6
|
import { d as F } from "./avatar-DFToerb2.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, getCurrentInstance as $, ref as f, computed as O, onBeforeMount as V, resolveComponent as d, openBlock as C, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as l, createElementVNode as o, unref as r } from "vue";
|
|
2
2
|
import { useRouter as B, useRoute as M } from "vue-router";
|
|
3
|
-
import { D as u } from "./index-
|
|
3
|
+
import { D as u } from "./index-EhejgmO6.mjs";
|
|
4
4
|
import { fileApi as N, routerUtil as S } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as j } from "./index.mjs";
|
|
6
6
|
import { d as k } from "./avatar-DFToerb2.mjs";
|
|
@@ -3,7 +3,7 @@ import { useRouter as G, useRoute as R } from "vue-router";
|
|
|
3
3
|
import { routerUtil as S } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as U } from "./index.mjs";
|
|
5
5
|
import { s as J } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as y, C as h } from "./index-
|
|
6
|
+
import { D as y, C as h } from "./index-EhejgmO6.mjs";
|
|
7
7
|
const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ w({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(ee) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, getCurrentInstance as $, ref as f, computed as O, onBeforeMount as V, resolveComponent as d, openBlock as C, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as t, createElementVNode as o, unref as r } from "vue";
|
|
2
2
|
import { useRouter as B, useRoute as M } from "vue-router";
|
|
3
|
-
import { D as u } from "./index-
|
|
3
|
+
import { D as u } from "./index-EhejgmO6.mjs";
|
|
4
4
|
import { fileApi as N, routerUtil as S } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as j } from "./index.mjs";
|
|
6
6
|
import { d as k } from "./avatar-DFToerb2.mjs";
|
|
@@ -3,7 +3,7 @@ import { useRouter as q, useRoute as R } from "vue-router";
|
|
|
3
3
|
import { routerUtil as S } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as U } from "./index.mjs";
|
|
5
5
|
import { s as J } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as y, C as h } from "./index-
|
|
6
|
+
import { D as y, C as h } from "./index-EhejgmO6.mjs";
|
|
7
7
|
const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ B({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(ee) {
|