xyvcard-itsmsys 0.0.13 → 0.0.15
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/avatar-DFToerb2.mjs +4 -0
- package/dist/{edit-IRLCMnWT.mjs → edit-BKRcHRhe.mjs} +1 -1
- package/dist/{edit-CBnnqc6q.mjs → edit-BOYD0hK4.mjs} +2 -2
- package/dist/{edit-g4L03h6h.mjs → edit-BjOW2vs6.mjs} +1 -1
- package/dist/{edit-CuD0yKla.mjs → edit-DNMyksDd.mjs} +1 -1
- package/dist/{edit-D2lhB7lU.mjs → edit-DzjV79y1.mjs} +1 -1
- package/dist/{edit-DQ04LbhC.mjs → edit-b2ih9M1u.mjs} +2 -2
- package/dist/{edit-B7N9QLYv.mjs → edit-mVmM-PRk.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Daxe3FpV.mjs → edit.vue_vue_type_script_setup_true_lang-CAq_h6E3.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CEzM2X-C.mjs → edit.vue_vue_type_script_setup_true_lang-CHEDA0A_.mjs} +106 -182
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DD9BucLK.mjs → edit.vue_vue_type_script_setup_true_lang-CfUAkfJW.mjs} +106 -182
- package/dist/{edit.vue_vue_type_script_setup_true_lang-SzJApeB-.mjs → edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs} +1 -1
- package/dist/{import-upload-Bsl-7w0B.mjs → import-upload-DBaTv04c.mjs} +1 -1
- package/dist/{import-upload-COLdGpcs.mjs → import-upload-DZJ0GptW.mjs} +1 -1
- package/dist/{index-Dh_kNwqv.mjs → index-BXbOuSmq.mjs} +32 -32
- package/dist/{index-DNpEXtyQ.mjs → index-Cd5F5D4a.mjs} +2 -2
- package/dist/{index-BxX1lrD5.mjs → index-CvZlFuc4.mjs} +1 -1
- package/dist/{index-BBPQd1dS.mjs → index-Cy9iOhxs.mjs} +1 -1
- package/dist/{index-B4M6ZC7N.mjs → index-Cz0VExll.mjs} +11 -11
- package/dist/{index-n4FekcLF.mjs → index-D12MySRa.mjs} +33 -33
- package/dist/{index-CzVhcXfx.mjs → index-XoL9Os_9.mjs} +1 -1
- package/dist/{index-Dih4mOx4.mjs → index-qfyel9S8.mjs} +1 -1
- package/dist/index.mjs +14 -14
- package/dist/{index.vue_vue_type_script_setup_true_lang-D0pyunau.mjs → index.vue_vue_type_script_setup_true_lang-MCS-o6Sy.mjs} +2 -2
- package/dist/info--MGKuszF.mjs +194 -0
- package/dist/info-0NbCPcmX.mjs +223 -0
- package/dist/info-CCwx_-dG.mjs +223 -0
- package/dist/{info-XDDe5ve6.mjs → info-CIwhiTud.mjs} +61 -57
- package/dist/info-CPTCNZK-.mjs +223 -0
- package/dist/{info-BHylKqOX.mjs → info-D-UkVKd0.mjs} +47 -46
- package/dist/style.css +1 -1
- package/dts/api/index.d.ts +3 -3
- package/dts/api/itsm-sys-user-ext/types.d.ts +16 -16
- package/dts/constant.d.ts +5 -5
- package/dts/lang/itsmsys/en.d.ts +2 -2
- package/dts/lang/itsmsys/zh-cn.d.ts +8 -8
- package/package.json +1 -1
- package/dist/info-BZOWTNSd.mjs +0 -209
- package/dist/info-CDtqpKVD.mjs +0 -209
- package/dist/info-bwhmPzeG.mjs +0 -190
- package/dist/info-dBqoxL-p.mjs +0 -209
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { defineComponent as V, getCurrentInstance as j, ref as h, computed as z, onBeforeMount as k, resolveComponent as m, openBlock as
|
|
1
|
+
import { defineComponent as V, getCurrentInstance as j, ref as h, computed as z, onBeforeMount as k, resolveComponent as m, openBlock as b, createElementBlock as g, createVNode as s, 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 i } from "./index-
|
|
3
|
+
import { D as i } from "./index-Cz0VExll.mjs";
|
|
4
4
|
import { fileApi as Y, routerUtil as x } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as A } from "./index.mjs";
|
|
6
|
-
import {
|
|
7
|
-
|
|
6
|
+
import { d as F } from "./avatar-DFToerb2.mjs";
|
|
7
|
+
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const O = { class: "app-container" }, R = { class: "container" }, q = { class: "img-box" }, L = ["src"], G = { class: "descriptions" }, J = { style: { "font-size": "18px", "font-weight": "bold", "margin-right": "30px", "margin-left": "30px" } }, K = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Z = { class: "cell-item" }, ee = { class: "cell-item" }, te = { class: "cell-item" }, le = { class: "cell-item" }, oe = { class: "cell-item" }, ne = /* @__PURE__ */ V({
|
|
8
9
|
__name: "info",
|
|
9
|
-
setup(
|
|
10
|
-
const { proxy: y } = j(), I = w(), f = S(),
|
|
10
|
+
setup(se) {
|
|
11
|
+
const { proxy: y } = j(), I = w(), f = S(), t = h({});
|
|
11
12
|
i.sysOrgBizDict.useValues(), i.deptBizDict.useValues(), i.jobBizDict.useValues();
|
|
12
13
|
const d = h([!1]);
|
|
13
14
|
function _(n) {
|
|
14
15
|
d.value[n] = !d.value[n];
|
|
15
16
|
}
|
|
16
17
|
const E = z(
|
|
17
|
-
() => Y.imageUrl(
|
|
18
|
+
() => t.value && t.value.avatar ? Y.imageUrl(t.value.avatar) : F
|
|
18
19
|
);
|
|
19
20
|
function D() {
|
|
20
21
|
x.closeTagView(f.fullPath, I, !1);
|
|
@@ -23,11 +24,11 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
23
24
|
A.findById({
|
|
24
25
|
userId: f.query.userId
|
|
25
26
|
}).then(({ data: n }) => {
|
|
26
|
-
|
|
27
|
+
t.value = n;
|
|
27
28
|
});
|
|
28
29
|
}), (n, c) => {
|
|
29
|
-
const P = m("el-button"), a = m("el-descriptions-item"),
|
|
30
|
-
return
|
|
30
|
+
const P = m("el-button"), a = m("el-descriptions-item"), v = m("jmash-mobileIns-component"), U = m("el-tag"), $ = m("el-descriptions"), B = m("el-card");
|
|
31
|
+
return b(), g("div", O, [
|
|
31
32
|
s(B, { shadow: "never" }, {
|
|
32
33
|
header: e(() => [
|
|
33
34
|
s(P, {
|
|
@@ -35,25 +36,25 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
35
36
|
onClick: D
|
|
36
37
|
}, {
|
|
37
38
|
default: e(() => [
|
|
38
|
-
r(
|
|
39
|
+
r(l(n.$t("common.back")), 1)
|
|
39
40
|
]),
|
|
40
41
|
_: 1
|
|
41
42
|
})
|
|
42
43
|
]),
|
|
43
44
|
default: e(() => [
|
|
44
|
-
o("div",
|
|
45
|
-
o("div",
|
|
45
|
+
o("div", R, [
|
|
46
|
+
o("div", q, [
|
|
46
47
|
o("span", null, [
|
|
47
48
|
o("img", {
|
|
48
49
|
src: E.value,
|
|
49
50
|
style: { width: "100px", height: "100px" },
|
|
50
51
|
alt: ""
|
|
51
|
-
}, null, 8,
|
|
52
|
+
}, null, 8, L)
|
|
52
53
|
])
|
|
53
54
|
]),
|
|
54
|
-
o("div",
|
|
55
|
-
o("span",
|
|
56
|
-
r(" " +
|
|
55
|
+
o("div", G, [
|
|
56
|
+
o("span", J, l(t.value.realName), 1),
|
|
57
|
+
r(" " + l(u(i).genderDict.getEnumValue(t.value.gender)) + " ", 1),
|
|
57
58
|
s($, {
|
|
58
59
|
class: "margin-top",
|
|
59
60
|
column: 2,
|
|
@@ -62,21 +63,21 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
62
63
|
default: e(() => [
|
|
63
64
|
s(a, null, {
|
|
64
65
|
label: e(() => [
|
|
65
|
-
o("div",
|
|
66
|
+
o("div", K, l(n.$t("sysUserMan.orgId")), 1)
|
|
66
67
|
]),
|
|
67
68
|
default: e(() => [
|
|
68
|
-
r(" " +
|
|
69
|
+
r(" " + l(u(i).sysOrgBizDict.getValue(t.value.orgId)), 1)
|
|
69
70
|
]),
|
|
70
71
|
_: 1
|
|
71
72
|
}),
|
|
72
73
|
s(a, null, {
|
|
73
74
|
label: e(() => [
|
|
74
|
-
o("div",
|
|
75
|
+
o("div", Q, l(n.$t("sysUserMan.mobilePhone")), 1)
|
|
75
76
|
]),
|
|
76
77
|
default: e(() => [
|
|
77
|
-
s(
|
|
78
|
-
mobilePhoneIns:
|
|
79
|
-
mobilePhone:
|
|
78
|
+
s(v, {
|
|
79
|
+
mobilePhoneIns: t.value.mobilePhoneIns,
|
|
80
|
+
mobilePhone: t.value.mobilePhone,
|
|
80
81
|
mobileEncrypt: d.value[0],
|
|
81
82
|
onToggleEncrypt: c[0] || (c[0] = (p) => _(0))
|
|
82
83
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
@@ -85,12 +86,12 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
85
86
|
}),
|
|
86
87
|
s(a, null, {
|
|
87
88
|
label: e(() => [
|
|
88
|
-
o("div",
|
|
89
|
+
o("div", W, l(n.$t("sysUserMan.email")), 1)
|
|
89
90
|
]),
|
|
90
91
|
default: e(() => [
|
|
91
|
-
s(
|
|
92
|
-
mobilePhoneIns:
|
|
93
|
-
mobilePhone:
|
|
92
|
+
s(v, {
|
|
93
|
+
mobilePhoneIns: t.value.emailIns,
|
|
94
|
+
mobilePhone: t.value.email,
|
|
94
95
|
mobileEncrypt: d.value[1],
|
|
95
96
|
onToggleEncrypt: c[1] || (c[1] = (p) => _(1))
|
|
96
97
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
@@ -99,12 +100,12 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
99
100
|
}),
|
|
100
101
|
s(a, null, {
|
|
101
102
|
label: e(() => [
|
|
102
|
-
o("div",
|
|
103
|
+
o("div", X, l(n.$t("sysUserMan.idNo")), 1)
|
|
103
104
|
]),
|
|
104
105
|
default: e(() => [
|
|
105
|
-
s(
|
|
106
|
-
mobilePhoneIns:
|
|
107
|
-
mobilePhone:
|
|
106
|
+
s(v, {
|
|
107
|
+
mobilePhoneIns: t.value.idNoIns,
|
|
108
|
+
mobilePhone: t.value.idNo,
|
|
108
109
|
mobileEncrypt: d.value[2],
|
|
109
110
|
onToggleEncrypt: c[2] || (c[2] = (p) => _(2))
|
|
110
111
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
@@ -113,40 +114,40 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
113
114
|
}),
|
|
114
115
|
s(a, null, {
|
|
115
116
|
label: e(() => [
|
|
116
|
-
o("div",
|
|
117
|
+
o("div", Z, l(n.$t("sysUserMan.deptId")), 1)
|
|
117
118
|
]),
|
|
118
119
|
default: e(() => [
|
|
119
|
-
r(" " +
|
|
120
|
+
r(" " + l(u(i).deptBizDict.getValue(t.value.deptId)), 1)
|
|
120
121
|
]),
|
|
121
122
|
_: 1
|
|
122
123
|
}),
|
|
123
124
|
s(a, null, {
|
|
124
125
|
label: e(() => [
|
|
125
|
-
o("div",
|
|
126
|
+
o("div", ee, l(n.$t("sysUserMan.jobId")), 1)
|
|
126
127
|
]),
|
|
127
128
|
default: e(() => [
|
|
128
|
-
r(" " +
|
|
129
|
+
r(" " + l(u(i).jobBizDict.getValue(t.value.jobId)), 1)
|
|
129
130
|
]),
|
|
130
131
|
_: 1
|
|
131
132
|
}),
|
|
132
133
|
s(a, null, {
|
|
133
134
|
label: e(() => [
|
|
134
|
-
o("div",
|
|
135
|
+
o("div", te, l(n.$t("sysUserMan.jobStatus")), 1)
|
|
135
136
|
]),
|
|
136
137
|
default: e(() => [
|
|
137
|
-
r(" " +
|
|
138
|
-
|
|
138
|
+
r(" " + l(u(i).jobStatusDictEnum.getEnumValue(
|
|
139
|
+
t.value.jobStatus
|
|
139
140
|
)), 1)
|
|
140
141
|
]),
|
|
141
142
|
_: 1
|
|
142
143
|
}),
|
|
143
144
|
s(a, null, {
|
|
144
145
|
label: e(() => [
|
|
145
|
-
o("div",
|
|
146
|
+
o("div", le, l(n.$t("sysUserMan.userCreateTime")), 1)
|
|
146
147
|
]),
|
|
147
148
|
default: e(() => [
|
|
148
|
-
o("span", null,
|
|
149
|
-
|
|
149
|
+
o("span", null, l(u(y).$moment.formatDate(
|
|
150
|
+
t.value.userCreateTime,
|
|
150
151
|
"YYYY-MM-DD HH:mm"
|
|
151
152
|
)), 1)
|
|
152
153
|
]),
|
|
@@ -154,15 +155,15 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
154
155
|
}),
|
|
155
156
|
s(a, null, {
|
|
156
157
|
label: e(() => [
|
|
157
|
-
o("div",
|
|
158
|
+
o("div", oe, l(n.$t("sysUserMan.orgIds")), 1)
|
|
158
159
|
]),
|
|
159
160
|
default: e(() => [
|
|
160
|
-
(
|
|
161
|
+
(b(!0), g(C, null, N(t.value.orgIds, (p, M) => (b(), T(U, {
|
|
161
162
|
key: M,
|
|
162
163
|
style: { "margin-right": "5px" }
|
|
163
164
|
}, {
|
|
164
165
|
default: e(() => [
|
|
165
|
-
r(
|
|
166
|
+
r(l(u(i).parentIdBizDict.getValue(p)), 1)
|
|
166
167
|
]),
|
|
167
168
|
_: 2
|
|
168
169
|
}, 1024))), 128))
|
|
@@ -180,7 +181,7 @@ const H = { class: "app-container" }, O = { class: "container" }, R = { class: "
|
|
|
180
181
|
]);
|
|
181
182
|
};
|
|
182
183
|
}
|
|
183
|
-
}),
|
|
184
|
+
}), pe = /* @__PURE__ */ H(ne, [["__scopeId", "data-v-ad715c6e"]]);
|
|
184
185
|
export {
|
|
185
|
-
|
|
186
|
+
pe as default
|
|
186
187
|
};
|