xyvcard-itsmsys 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common-B2PCBCJ2.mjs +13 -0
- package/dist/edit-BhRXuYku.mjs +342 -0
- package/dist/edit-CIm8Y0Be.mjs +4 -0
- package/dist/edit-CWVYUzgf.mjs +369 -0
- package/dist/edit-CkaU_6vk.mjs +342 -0
- package/dist/edit-D82hX9if.mjs +4 -0
- package/dist/edit-DPM0jGQT.mjs +4 -0
- package/dist/edit-DZJU5ZPt.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs +437 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs +439 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs +248 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -0
- package/dist/index-BRupqW34.mjs +96 -0
- package/dist/index-B_cot8iN.mjs +439 -0
- package/dist/index-BkHGzL0R.mjs +358 -0
- package/dist/index-C6KvLUoL.mjs +4 -0
- package/dist/index-CEUyLrKg.mjs +404 -0
- package/dist/index-ChTssr8-.mjs +123 -0
- package/dist/index-ClU157bA.mjs +324 -0
- package/dist/index-CogdeN09.mjs +331 -0
- package/dist/{index-B-FkgFqA.mjs → index-DOXuGEyW.mjs} +6 -6
- package/dist/index-i7X9N_rj.mjs +341 -0
- package/dist/index.mjs +2903 -70
- package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +180 -0
- package/dist/info-70H0sycC.mjs +187 -0
- package/dist/info-BWgVN2mJ.mjs +176 -0
- package/dist/info-CE-ZnFj5.mjs +179 -0
- package/dist/info-Kf11Ye-N.mjs +187 -0
- package/dist/info-MYJGcyMX.mjs +179 -0
- package/dist/info-Z5LuCRmr.mjs +187 -0
- package/dist/style.css +1 -1
- package/dts/src/api/dict.d.ts +9 -1
- package/dts/src/api/index.d.ts +8 -1
- package/dts/src/api/itsm-sys-org/index.d.ts +2 -0
- package/dts/src/api/itsm-sys-org/types.d.ts +14 -6
- package/dts/src/api/itsm-sys-user-ext/index.d.ts +14 -0
- package/dts/src/api/itsm-sys-user-ext/types.d.ts +91 -0
- package/dts/src/constant.d.ts +11 -0
- package/dts/src/index.d.ts +2 -0
- package/dts/src/lang/itsmsys/zh-cn.d.ts +87 -10
- package/dts/src/router/index.d.ts +8 -1
- package/dts/src/utils/common.d.ts +1 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/src/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +1 -21
- package/dts/src/views/itsmsys/itsm-sys-gov/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/{itsm-sys-org/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
- package/dts/src/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-out/edit.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-out/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-out/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
- package/package.json +3 -3
- package/dist/edit-BKMLirl4.mjs +0 -602
- package/dist/edit-ccGk5679.mjs +0 -610
- package/dist/index-BGwm5W6z.mjs +0 -343
- package/dist/index-CSDhKMEP.mjs +0 -332
- package/dist/info-CSOdbuvm.mjs +0 -192
- package/dist/invoiceEdit-D9zxwIoM.mjs +0 -288
- package/dts/src/api/itsm-sys-gov/index.d.ts +0 -15
- package/dts/src/api/itsm-sys-gov/types.d.ts +0 -87
- package/dts/src/api/itsm-sys-gov-invoice/index.d.ts +0 -13
- package/dts/src/api/itsm-sys-gov-invoice/types.d.ts +0 -48
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { defineComponent as A, ref as g, reactive as w, resolveComponent as a, resolveDirective as H, openBlock as r, createElementBlock as y, createVNode as u, withCtx as n, withDirectives as f, createBlock as k, createTextVNode as h, toDisplayString as v, unref as l, isRef as T, createCommentVNode as N, createElementVNode as K } from "vue";
|
|
2
|
+
import { useTableHooks as F } from "jmash-core";
|
|
3
|
+
import { useI18n as G } from "vue-i18n";
|
|
4
|
+
import { useRoute as J } from "vue-router";
|
|
5
|
+
import { s as M } from "./index-DOXuGEyW.mjs";
|
|
6
|
+
import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs";
|
|
7
|
+
import { D as W } from "./index-ChTssr8-.mjs";
|
|
8
|
+
const X = { class: "app-container" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ A({
|
|
9
|
+
__name: "index",
|
|
10
|
+
setup(ee) {
|
|
11
|
+
const { t: d } = G(), I = J(), m = g({
|
|
12
|
+
orgId: I.query.entityKey
|
|
13
|
+
}), { tableHooks: s, multipleTableRef: V, listLoading: S, tableData: j, total: p } = F(d, M, m);
|
|
14
|
+
let c = g([
|
|
15
|
+
{
|
|
16
|
+
label: "sysOrgInvoice.invoiceType",
|
|
17
|
+
prop: "invoiceType",
|
|
18
|
+
width: "150",
|
|
19
|
+
isColumn: !0,
|
|
20
|
+
slotName: "invoiceType",
|
|
21
|
+
columnType: "slot"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: "sysOrgInvoice.invoiceTitle",
|
|
25
|
+
prop: "invoiceTitle",
|
|
26
|
+
width: "150",
|
|
27
|
+
isColumn: !0
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: "sysOrgInvoice.taxNumber",
|
|
31
|
+
prop: "taxNumber",
|
|
32
|
+
isColumn: !0
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: "sysOrgInvoice.bankName",
|
|
36
|
+
prop: "bankName",
|
|
37
|
+
isColumn: !0
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "sysOrgInvoice.backNumber",
|
|
41
|
+
prop: "backNumber",
|
|
42
|
+
isColumn: !0
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "common.operate",
|
|
46
|
+
width: "200",
|
|
47
|
+
slotName: "operation",
|
|
48
|
+
columnType: "slot",
|
|
49
|
+
fixed: "right",
|
|
50
|
+
isColumn: !0
|
|
51
|
+
}
|
|
52
|
+
]);
|
|
53
|
+
const i = g({
|
|
54
|
+
title: d("common.edit"),
|
|
55
|
+
visible: !1
|
|
56
|
+
});
|
|
57
|
+
let b = w({});
|
|
58
|
+
function D() {
|
|
59
|
+
b = w({}), i.value.title = d("common.add"), i.value.visible = !0;
|
|
60
|
+
}
|
|
61
|
+
function P(t) {
|
|
62
|
+
b.invoiceId = t.invoiceId, i.value.title = d("common.edit"), i.value.visible = !0;
|
|
63
|
+
}
|
|
64
|
+
function R(t) {
|
|
65
|
+
s.selectionRows.value = t;
|
|
66
|
+
}
|
|
67
|
+
function x(t) {
|
|
68
|
+
s.handleSort(t.prop, t.order);
|
|
69
|
+
}
|
|
70
|
+
function O(t) {
|
|
71
|
+
t && s.getList();
|
|
72
|
+
}
|
|
73
|
+
return s.getList(), (t, o) => {
|
|
74
|
+
const $ = a("el-button"), C = a("el-col"), z = a("jmash-column-select"), E = a("el-row"), L = a("jmash-table"), U = a("jmash-pagination"), B = a("el-card"), _ = H("hasPerm");
|
|
75
|
+
return r(), y("div", X, [
|
|
76
|
+
u(B, {
|
|
77
|
+
shadow: "never",
|
|
78
|
+
class: "table-container"
|
|
79
|
+
}, {
|
|
80
|
+
header: n(() => [
|
|
81
|
+
u(E, null, {
|
|
82
|
+
default: n(() => [
|
|
83
|
+
u(C, { span: 17 }, {
|
|
84
|
+
default: n(() => [
|
|
85
|
+
f((r(), k($, {
|
|
86
|
+
type: "primary",
|
|
87
|
+
onClick: D
|
|
88
|
+
}, {
|
|
89
|
+
default: n(() => [
|
|
90
|
+
h(v(t.$t("common.add")), 1)
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
})), [
|
|
94
|
+
[_, ["itsmsys:sys_org_invoice:add"]]
|
|
95
|
+
])
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
}),
|
|
99
|
+
u(C, {
|
|
100
|
+
span: 7,
|
|
101
|
+
class: "container-float"
|
|
102
|
+
}, {
|
|
103
|
+
default: n(() => [
|
|
104
|
+
u(z, {
|
|
105
|
+
modelValue: l(c),
|
|
106
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => T(c) ? c.value = e : c = e),
|
|
107
|
+
"label-name": "jobs/job-trigger"
|
|
108
|
+
}, null, 8, ["modelValue"])
|
|
109
|
+
]),
|
|
110
|
+
_: 1
|
|
111
|
+
})
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
})
|
|
115
|
+
]),
|
|
116
|
+
footer: n(() => [
|
|
117
|
+
l(p) > 0 ? (r(), k(U, {
|
|
118
|
+
key: 0,
|
|
119
|
+
total: l(p),
|
|
120
|
+
"onUpdate:total": o[1] || (o[1] = (e) => T(p) ? p.value = e : null),
|
|
121
|
+
"current-page": m.value.curPage,
|
|
122
|
+
"onUpdate:currentPage": o[2] || (o[2] = (e) => m.value.curPage = e),
|
|
123
|
+
"page-size": m.value.pageSize,
|
|
124
|
+
"onUpdate:pageSize": o[3] || (o[3] = (e) => m.value.pageSize = e),
|
|
125
|
+
onPagination: o[4] || (o[4] = (e) => l(s).getList())
|
|
126
|
+
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
|
|
127
|
+
]),
|
|
128
|
+
default: n(() => [
|
|
129
|
+
u(L, {
|
|
130
|
+
ref_key: "multipleTableRef",
|
|
131
|
+
ref: V,
|
|
132
|
+
"row-key": "invoiceId",
|
|
133
|
+
"list-loading": l(S),
|
|
134
|
+
data: l(j),
|
|
135
|
+
"table-label": l(c),
|
|
136
|
+
onSelectionChange: R,
|
|
137
|
+
onSortChange: x
|
|
138
|
+
}, {
|
|
139
|
+
invoiceType: n((e) => [
|
|
140
|
+
K("span", null, v(l(W).invoiceTypeDictEnum.getEnumValue(e.data.row.invoiceType)), 1)
|
|
141
|
+
]),
|
|
142
|
+
operation: n((e) => [
|
|
143
|
+
f((r(), y("span", {
|
|
144
|
+
class: "el-button-color",
|
|
145
|
+
onClick: (q) => P(e.data.row)
|
|
146
|
+
}, [
|
|
147
|
+
h(v(t.$t("common.edit")), 1)
|
|
148
|
+
], 8, Y)), [
|
|
149
|
+
[_, ["itsmsys:sys_org_invoice:update"]]
|
|
150
|
+
]),
|
|
151
|
+
f((r(), y("span", {
|
|
152
|
+
class: "el-button-color dropdown-left",
|
|
153
|
+
onClick: (q) => l(s).deleteRecord(e.data.row)
|
|
154
|
+
}, [
|
|
155
|
+
h(v(t.$t("common.delete")), 1)
|
|
156
|
+
], 8, Z)), [
|
|
157
|
+
[_, ["itsmsys:sys_org_invoice:delete"]]
|
|
158
|
+
])
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
i.value.visible ? (r(), k(Q, {
|
|
166
|
+
key: 0,
|
|
167
|
+
modelValue: i.value.visible,
|
|
168
|
+
"onUpdate:modelValue": o[5] || (o[5] = (e) => i.value.visible = e),
|
|
169
|
+
title: i.value.title,
|
|
170
|
+
"entity-key": l(b),
|
|
171
|
+
onRefresh: O,
|
|
172
|
+
width: "700px"
|
|
173
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
|
|
174
|
+
]);
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
export {
|
|
179
|
+
re as _
|
|
180
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { defineComponent as C, ref as p, onBeforeMount as B, resolveComponent as a, openBlock as w, createElementBlock as M, createVNode as l, withCtx as e, createTextVNode as r, toDisplayString as o, createElementVNode as s, unref as y } from "vue";
|
|
2
|
+
import { useRouter as j, useRoute as q } from "vue-router";
|
|
3
|
+
import { routerUtil as A } from "jmash-core";
|
|
4
|
+
import { sysOrgApi as R } from "./index.mjs";
|
|
5
|
+
import { s as S } from "./index-DOXuGEyW.mjs";
|
|
6
|
+
import { D as g } from "./index-ChTssr8-.mjs";
|
|
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
|
+
__name: "info",
|
|
9
|
+
setup(K) {
|
|
10
|
+
const h = j(), b = q(), n = p({}), v = p([]), m = p("first");
|
|
11
|
+
function I(t) {
|
|
12
|
+
m.value = t.props.name, m.value === "second" && N();
|
|
13
|
+
}
|
|
14
|
+
const _ = p([!1]);
|
|
15
|
+
function O(t) {
|
|
16
|
+
_.value[t] = !_.value[t];
|
|
17
|
+
}
|
|
18
|
+
function P() {
|
|
19
|
+
A.closeTagView(b.fullPath, h, !1);
|
|
20
|
+
}
|
|
21
|
+
B(() => {
|
|
22
|
+
R.findById({ orgId: b.query.orgId }).then(({ data: t }) => {
|
|
23
|
+
n.value = Object.assign(n.value, t);
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
function N() {
|
|
27
|
+
S.findList({ orgId: b.query.orgId }).then(({ data: t }) => {
|
|
28
|
+
v.value = t.results;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
return (t, d) => {
|
|
32
|
+
const $ = a("el-button"), c = a("el-descriptions-item"), k = a("jmash-mobileIns-component"), T = a("el-descriptions"), f = a("el-tab-pane"), u = a("el-table-column"), E = a("el-table"), V = a("el-tabs"), D = a("el-card");
|
|
33
|
+
return w(), M("div", U, [
|
|
34
|
+
l(D, { shadow: "never" }, {
|
|
35
|
+
header: e(() => [
|
|
36
|
+
l($, {
|
|
37
|
+
type: "primary",
|
|
38
|
+
onClick: P
|
|
39
|
+
}, {
|
|
40
|
+
default: e(() => [
|
|
41
|
+
r(o(t.$t("common.back")), 1)
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
})
|
|
45
|
+
]),
|
|
46
|
+
default: e(() => [
|
|
47
|
+
l(V, {
|
|
48
|
+
modelValue: m.value,
|
|
49
|
+
"onUpdate:modelValue": d[1] || (d[1] = (i) => m.value = i),
|
|
50
|
+
onTabClick: I
|
|
51
|
+
}, {
|
|
52
|
+
default: e(() => [
|
|
53
|
+
l(f, {
|
|
54
|
+
label: "外协单位信息",
|
|
55
|
+
name: "first"
|
|
56
|
+
}, {
|
|
57
|
+
default: e(() => [
|
|
58
|
+
l(T, {
|
|
59
|
+
class: "margin-top",
|
|
60
|
+
column: 2,
|
|
61
|
+
border: ""
|
|
62
|
+
}, {
|
|
63
|
+
default: e(() => [
|
|
64
|
+
l(c, null, {
|
|
65
|
+
label: e(() => [
|
|
66
|
+
s("div", L, o(t.$t("sysOut.orgName")), 1)
|
|
67
|
+
]),
|
|
68
|
+
default: e(() => [
|
|
69
|
+
r(" " + o(n.value.orgName), 1)
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}),
|
|
73
|
+
l(c, null, {
|
|
74
|
+
label: e(() => [
|
|
75
|
+
s("div", z, o(t.$t("sysOut.status")), 1)
|
|
76
|
+
]),
|
|
77
|
+
default: e(() => [
|
|
78
|
+
r(" " + o(y(g).hasStatusDict.getValue(n.value.status)), 1)
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
}),
|
|
82
|
+
l(c, null, {
|
|
83
|
+
label: e(() => [
|
|
84
|
+
s("div", F, o(t.$t("sysOut.contactPerson")), 1)
|
|
85
|
+
]),
|
|
86
|
+
default: e(() => [
|
|
87
|
+
r(" " + o(n.value.contactPerson), 1)
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}),
|
|
91
|
+
l(c, null, {
|
|
92
|
+
label: e(() => [
|
|
93
|
+
s("div", G, o(t.$t("sysOut.contactPersonPosi")), 1)
|
|
94
|
+
]),
|
|
95
|
+
default: e(() => [
|
|
96
|
+
r(" " + o(n.value.contactPersonPosi), 1)
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}),
|
|
100
|
+
l(c, null, {
|
|
101
|
+
label: e(() => [
|
|
102
|
+
s("div", H, o(t.$t("sysOut.contactPersonMobile")), 1)
|
|
103
|
+
]),
|
|
104
|
+
default: e(() => [
|
|
105
|
+
l(k, {
|
|
106
|
+
mobilePhoneIns: n.value.contactPersonMobileIns,
|
|
107
|
+
mobilePhone: n.value.contactPersonMobile,
|
|
108
|
+
mobileEncrypt: _.value[0],
|
|
109
|
+
onToggleEncrypt: d[0] || (d[0] = (i) => O(0))
|
|
110
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}),
|
|
114
|
+
l(c, null, {
|
|
115
|
+
label: e(() => [
|
|
116
|
+
s("div", J, o(t.$t("sysOut.contactPersonTel")), 1)
|
|
117
|
+
]),
|
|
118
|
+
default: e(() => [
|
|
119
|
+
r(" " + o(n.value.contactPersonTel), 1)
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
})
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
})
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}),
|
|
129
|
+
l(f, {
|
|
130
|
+
label: "发票信息",
|
|
131
|
+
name: "second"
|
|
132
|
+
}, {
|
|
133
|
+
default: e(() => [
|
|
134
|
+
l(E, {
|
|
135
|
+
data: v.value,
|
|
136
|
+
style: { width: "100%" }
|
|
137
|
+
}, {
|
|
138
|
+
default: e(() => [
|
|
139
|
+
l(u, {
|
|
140
|
+
prop: "invoiceType",
|
|
141
|
+
label: t.$t("sysOrgInvoice.invoiceType")
|
|
142
|
+
}, {
|
|
143
|
+
default: e(({ row: i }) => [
|
|
144
|
+
s("div", null, o(y(g).invoiceTypeDictEnum.getEnumValue(i.invoiceType)), 1)
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["label"]),
|
|
148
|
+
l(u, {
|
|
149
|
+
prop: "invoiceTitle",
|
|
150
|
+
label: t.$t("sysOrgInvoice.invoiceTitle")
|
|
151
|
+
}, null, 8, ["label"]),
|
|
152
|
+
l(u, {
|
|
153
|
+
prop: "taxNumber",
|
|
154
|
+
label: t.$t("sysOrgInvoice.taxNumber")
|
|
155
|
+
}, null, 8, ["label"]),
|
|
156
|
+
l(u, {
|
|
157
|
+
prop: "bankName",
|
|
158
|
+
label: t.$t("sysOrgInvoice.bankName")
|
|
159
|
+
}, null, 8, ["label"]),
|
|
160
|
+
l(u, {
|
|
161
|
+
prop: "backNumber",
|
|
162
|
+
label: t.$t("sysOrgInvoice.backNumber")
|
|
163
|
+
}, {
|
|
164
|
+
default: e(({ row: i }) => [
|
|
165
|
+
s("div", null, o(i.backNumber), 1)
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["label"])
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
}, 8, ["data"])
|
|
172
|
+
]),
|
|
173
|
+
_: 1
|
|
174
|
+
})
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}, 8, ["modelValue"])
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
})
|
|
181
|
+
]);
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
export {
|
|
186
|
+
ee as default
|
|
187
|
+
};
|
|
@@ -0,0 +1,176 @@
|
|
|
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
|
+
import { useRouter as V, useRoute as C } from "vue-router";
|
|
3
|
+
import { D as p } from "./index-ChTssr8-.mjs";
|
|
4
|
+
import { routerUtil as T } from "jmash-core";
|
|
5
|
+
import { deptApi as k, jobApi as w } from "jmash-rbac";
|
|
6
|
+
import { sysUserExtApi as S } from "./index.mjs";
|
|
7
|
+
import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const x = { class: "app-container" }, z = { class: "container" }, A = { class: "img-box" }, H = ["src"], O = { class: "descriptions" }, R = { style: { "font-size": "18px", "font-weight": "bold", "margin-right": "30px", "margin-left": "30px" } }, q = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, J = { class: "cell-item" }, K = { class: "cell-item" }, L = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = /* @__PURE__ */ D({
|
|
9
|
+
__name: "info",
|
|
10
|
+
setup(Z) {
|
|
11
|
+
const { proxy: g } = N(), I = V(), v = C(), t = c({});
|
|
12
|
+
p.sysOrgBizDict.useValues();
|
|
13
|
+
const m = c([!1]);
|
|
14
|
+
function _(n) {
|
|
15
|
+
m.value[n] = !m.value[n];
|
|
16
|
+
}
|
|
17
|
+
function E() {
|
|
18
|
+
T.closeTagView(v.fullPath, I, !1);
|
|
19
|
+
}
|
|
20
|
+
const f = c(), h = c();
|
|
21
|
+
return U(() => {
|
|
22
|
+
S.findById({
|
|
23
|
+
userId: v.query.userId
|
|
24
|
+
}).then(({ data: n }) => {
|
|
25
|
+
t.value = n, k.findById({
|
|
26
|
+
deptId: t.value.deptId
|
|
27
|
+
}).then(({ data: a }) => {
|
|
28
|
+
f.value = a.deptName;
|
|
29
|
+
}), w.findById({
|
|
30
|
+
roleId: t.value.jobId
|
|
31
|
+
}).then(({ data: a }) => {
|
|
32
|
+
h.value = a.roleName;
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
}), (n, a) => {
|
|
36
|
+
const P = u("el-button"), i = u("el-descriptions-item"), b = u("jmash-mobileIns-component"), $ = u("el-descriptions"), M = u("el-card");
|
|
37
|
+
return j(), B("div", x, [
|
|
38
|
+
s(M, { shadow: "never" }, {
|
|
39
|
+
header: e(() => [
|
|
40
|
+
s(P, {
|
|
41
|
+
type: "primary",
|
|
42
|
+
onClick: E
|
|
43
|
+
}, {
|
|
44
|
+
default: e(() => [
|
|
45
|
+
r(o(n.$t("common.back")), 1)
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
})
|
|
49
|
+
]),
|
|
50
|
+
default: e(() => [
|
|
51
|
+
l("div", z, [
|
|
52
|
+
l("div", A, [
|
|
53
|
+
l("span", null, [
|
|
54
|
+
l("img", {
|
|
55
|
+
src: t.value.avatar,
|
|
56
|
+
style: { width: "100px", height: "100px" },
|
|
57
|
+
alt: ""
|
|
58
|
+
}, null, 8, H)
|
|
59
|
+
])
|
|
60
|
+
]),
|
|
61
|
+
l("div", O, [
|
|
62
|
+
l("span", R, o(t.value.realName), 1),
|
|
63
|
+
r(" " + o(d(p).genderDict.getEnumValue(t.value.gender)) + " ", 1),
|
|
64
|
+
s($, {
|
|
65
|
+
class: "margin-top",
|
|
66
|
+
column: 2,
|
|
67
|
+
border: ""
|
|
68
|
+
}, {
|
|
69
|
+
default: e(() => [
|
|
70
|
+
s(i, null, {
|
|
71
|
+
label: e(() => [
|
|
72
|
+
l("div", q, o(n.$t("sysUserMan.orgIds")), 1)
|
|
73
|
+
]),
|
|
74
|
+
default: e(() => [
|
|
75
|
+
r(" " + o(d(p).sysOrgBizDict.getValue(t.value.orgId)), 1)
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
}),
|
|
79
|
+
s(i, null, {
|
|
80
|
+
label: e(() => [
|
|
81
|
+
l("div", F, o(n.$t("sysUserMan.mobilePhone")), 1)
|
|
82
|
+
]),
|
|
83
|
+
default: e(() => [
|
|
84
|
+
s(b, {
|
|
85
|
+
mobilePhoneIns: t.value.mobilePhoneIns,
|
|
86
|
+
mobilePhone: t.value.mobilePhone,
|
|
87
|
+
mobileEncrypt: m.value[0],
|
|
88
|
+
onToggleEncrypt: a[0] || (a[0] = (y) => _(0))
|
|
89
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}),
|
|
93
|
+
s(i, null, {
|
|
94
|
+
label: e(() => [
|
|
95
|
+
l("div", G, o(n.$t("sysUserMan.email")), 1)
|
|
96
|
+
]),
|
|
97
|
+
default: e(() => [
|
|
98
|
+
s(b, {
|
|
99
|
+
mobilePhoneIns: t.value.emailIns,
|
|
100
|
+
mobilePhone: t.value.email,
|
|
101
|
+
mobileEncrypt: m.value[1],
|
|
102
|
+
onToggleEncrypt: a[1] || (a[1] = (y) => _(1))
|
|
103
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}),
|
|
107
|
+
s(i, null, {
|
|
108
|
+
label: e(() => [
|
|
109
|
+
l("div", J, o(n.$t("sysUserMan.idNo")), 1)
|
|
110
|
+
]),
|
|
111
|
+
default: e(() => [
|
|
112
|
+
s(b, {
|
|
113
|
+
mobilePhoneIns: t.value.idNoIns,
|
|
114
|
+
mobilePhone: t.value.idNo,
|
|
115
|
+
mobileEncrypt: m.value[2],
|
|
116
|
+
onToggleEncrypt: a[2] || (a[2] = (y) => _(2))
|
|
117
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
}),
|
|
121
|
+
s(i, null, {
|
|
122
|
+
label: e(() => [
|
|
123
|
+
l("div", K, o(n.$t("sysUserMan.deptId")), 1)
|
|
124
|
+
]),
|
|
125
|
+
default: e(() => [
|
|
126
|
+
r(" " + o(f.value), 1)
|
|
127
|
+
]),
|
|
128
|
+
_: 1
|
|
129
|
+
}),
|
|
130
|
+
s(i, null, {
|
|
131
|
+
label: e(() => [
|
|
132
|
+
l("div", L, o(n.$t("sysUserMan.jobId")), 1)
|
|
133
|
+
]),
|
|
134
|
+
default: e(() => [
|
|
135
|
+
r(" " + o(h.value), 1)
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}),
|
|
139
|
+
s(i, null, {
|
|
140
|
+
label: e(() => [
|
|
141
|
+
l("div", Q, o(n.$t("sysUserMan.jobStatus")), 1)
|
|
142
|
+
]),
|
|
143
|
+
default: e(() => [
|
|
144
|
+
r(" " + o(d(p).jobStatusDictEnum.getEnumValue(
|
|
145
|
+
t.value.jobStatus
|
|
146
|
+
)), 1)
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}),
|
|
150
|
+
s(i, null, {
|
|
151
|
+
label: e(() => [
|
|
152
|
+
l("div", W, o(n.$t("sysUserMan.userCreateTime")), 1)
|
|
153
|
+
]),
|
|
154
|
+
default: e(() => [
|
|
155
|
+
l("span", null, o(d(g).$moment.formatDate(
|
|
156
|
+
t.value.userCreateTime,
|
|
157
|
+
"YYYY-MM-DD HH:mm"
|
|
158
|
+
)), 1)
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
})
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
})
|
|
165
|
+
])
|
|
166
|
+
])
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
})
|
|
170
|
+
]);
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
}), ie = /* @__PURE__ */ Y(X, [["__scopeId", "data-v-cbbbc136"]]);
|
|
174
|
+
export {
|
|
175
|
+
ie as default
|
|
176
|
+
};
|