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
|
@@ -0,0 +1,194 @@
|
|
|
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
|
+
import { useRouter as B, useRoute as M } from "vue-router";
|
|
3
|
+
import { D as u } from "./index-Cz0VExll.mjs";
|
|
4
|
+
import { fileApi as N, routerUtil as S } from "jmash-core";
|
|
5
|
+
import { sysUserExtApi as j } from "./index.mjs";
|
|
6
|
+
import { d as k } from "./avatar-DFToerb2.mjs";
|
|
7
|
+
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const Y = { class: "app-container" }, z = { class: "container" }, A = { class: "img-box" }, J = ["src"], H = { class: "descriptions" }, R = { style: { "font-size": "18px", "font-weight": "bold", "margin-right": "30px", "margin-left": "30px" } }, q = { class: "cell-item" }, x = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, K = { class: "cell-item" }, L = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Z = { class: "cell-item" }, ee = /* @__PURE__ */ U({
|
|
9
|
+
__name: "info",
|
|
10
|
+
setup(le) {
|
|
11
|
+
const { proxy: g } = $(), h = B(), v = M(), t = f({});
|
|
12
|
+
u.sysOrgBizDict.useValues();
|
|
13
|
+
const m = f([!1]);
|
|
14
|
+
function p(n) {
|
|
15
|
+
m.value[n] = !m.value[n];
|
|
16
|
+
}
|
|
17
|
+
const y = O(
|
|
18
|
+
() => t.value && t.value.avatar ? N.imageUrl(t.value.avatar) : k
|
|
19
|
+
);
|
|
20
|
+
function E() {
|
|
21
|
+
S.closeTagView(v.fullPath, h, !1);
|
|
22
|
+
}
|
|
23
|
+
return V(() => {
|
|
24
|
+
j.findById({
|
|
25
|
+
userId: v.query.userId
|
|
26
|
+
}).then(({ data: n }) => {
|
|
27
|
+
t.value = n;
|
|
28
|
+
});
|
|
29
|
+
}), (n, c) => {
|
|
30
|
+
const I = d("el-button"), i = d("el-descriptions-item"), _ = d("jmash-mobileIns-component"), P = d("el-descriptions"), D = d("el-card");
|
|
31
|
+
return C(), T("div", Y, [
|
|
32
|
+
s(D, { shadow: "never" }, {
|
|
33
|
+
header: e(() => [
|
|
34
|
+
s(I, {
|
|
35
|
+
type: "primary",
|
|
36
|
+
onClick: E
|
|
37
|
+
}, {
|
|
38
|
+
default: e(() => [
|
|
39
|
+
a(l(n.$t("common.back")), 1)
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
42
|
+
})
|
|
43
|
+
]),
|
|
44
|
+
default: e(() => [
|
|
45
|
+
o("div", z, [
|
|
46
|
+
o("div", A, [
|
|
47
|
+
o("span", null, [
|
|
48
|
+
o("img", {
|
|
49
|
+
src: y.value,
|
|
50
|
+
style: { width: "100px", height: "100px" },
|
|
51
|
+
alt: ""
|
|
52
|
+
}, null, 8, J)
|
|
53
|
+
])
|
|
54
|
+
]),
|
|
55
|
+
o("div", H, [
|
|
56
|
+
o("span", R, l(t.value.realName), 1),
|
|
57
|
+
a(" " + l(r(u).genderDict.getEnumValue(t.value.gender)) + " ", 1),
|
|
58
|
+
s(P, {
|
|
59
|
+
class: "margin-top",
|
|
60
|
+
column: 2,
|
|
61
|
+
border: ""
|
|
62
|
+
}, {
|
|
63
|
+
default: e(() => [
|
|
64
|
+
s(i, null, {
|
|
65
|
+
label: e(() => [
|
|
66
|
+
o("div", q, l(n.$t("sysUserOps.orgId")), 1)
|
|
67
|
+
]),
|
|
68
|
+
default: e(() => [
|
|
69
|
+
a(" " + l(r(u).sysOrgBizDict.getValue(t.value.orgId)), 1)
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}),
|
|
73
|
+
s(i, null, {
|
|
74
|
+
label: e(() => [
|
|
75
|
+
o("div", x, l(n.$t("sysUserOps.mobilePhone")), 1)
|
|
76
|
+
]),
|
|
77
|
+
default: e(() => [
|
|
78
|
+
s(_, {
|
|
79
|
+
mobilePhoneIns: t.value.mobilePhoneIns,
|
|
80
|
+
mobilePhone: t.value.mobilePhone,
|
|
81
|
+
mobileEncrypt: m.value[0],
|
|
82
|
+
onToggleEncrypt: c[0] || (c[0] = (b) => p(0))
|
|
83
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}),
|
|
87
|
+
s(i, null, {
|
|
88
|
+
label: e(() => [
|
|
89
|
+
o("div", F, l(n.$t("sysUserOps.email")), 1)
|
|
90
|
+
]),
|
|
91
|
+
default: e(() => [
|
|
92
|
+
s(_, {
|
|
93
|
+
mobilePhoneIns: t.value.emailIns,
|
|
94
|
+
mobilePhone: t.value.email,
|
|
95
|
+
mobileEncrypt: m.value[1],
|
|
96
|
+
onToggleEncrypt: c[1] || (c[1] = (b) => p(1))
|
|
97
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
}),
|
|
101
|
+
s(i, null, {
|
|
102
|
+
label: e(() => [
|
|
103
|
+
o("div", G, l(n.$t("sysUserOps.idNo")), 1)
|
|
104
|
+
]),
|
|
105
|
+
default: e(() => [
|
|
106
|
+
s(_, {
|
|
107
|
+
mobilePhoneIns: t.value.idNoIns,
|
|
108
|
+
mobilePhone: t.value.idNo,
|
|
109
|
+
mobileEncrypt: m.value[2],
|
|
110
|
+
onToggleEncrypt: c[2] || (c[2] = (b) => p(2))
|
|
111
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
}),
|
|
115
|
+
s(i, null, {
|
|
116
|
+
label: e(() => [
|
|
117
|
+
o("div", K, l(n.$t("sysUserOps.engineerType")), 1)
|
|
118
|
+
]),
|
|
119
|
+
default: e(() => [
|
|
120
|
+
a(" " + l(r(u).engineerTypeDictEnum.getEnumValue(
|
|
121
|
+
t.value.engineerType
|
|
122
|
+
)), 1)
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
}),
|
|
126
|
+
s(i, null, {
|
|
127
|
+
label: e(() => [
|
|
128
|
+
o("div", L, l(n.$t("sysUserOps.engineerCertificate")), 1)
|
|
129
|
+
]),
|
|
130
|
+
default: e(() => [
|
|
131
|
+
a(" " + l(r(u).engineerCertificateDict.getDictValue(
|
|
132
|
+
t.value.engineerCertificate
|
|
133
|
+
)), 1)
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
}),
|
|
137
|
+
s(i, null, {
|
|
138
|
+
label: e(() => [
|
|
139
|
+
o("div", Q, l(n.$t("sysUserOps.engineerJobMode")), 1)
|
|
140
|
+
]),
|
|
141
|
+
default: e(() => [
|
|
142
|
+
a(" " + l(r(u).engineerJobModeDictEnum.getEnumValue(
|
|
143
|
+
t.value.engineerJobMode
|
|
144
|
+
)), 1)
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}),
|
|
148
|
+
s(i, null, {
|
|
149
|
+
label: e(() => [
|
|
150
|
+
o("div", W, l(n.$t("sysUserOps.jobStatus")), 1)
|
|
151
|
+
]),
|
|
152
|
+
default: e(() => [
|
|
153
|
+
a(" " + l(r(u).jobStatusDictEnum.getEnumValue(
|
|
154
|
+
t.value.jobStatus
|
|
155
|
+
)), 1)
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
}),
|
|
159
|
+
s(i, null, {
|
|
160
|
+
label: e(() => [
|
|
161
|
+
o("div", X, l(n.$t("sysUserOps.userCreateTime")), 1)
|
|
162
|
+
]),
|
|
163
|
+
default: e(() => [
|
|
164
|
+
o("span", null, l(r(g).$moment.formatDate(
|
|
165
|
+
t.value.userCreateTime,
|
|
166
|
+
"YYYY-MM-DD HH:mm"
|
|
167
|
+
)), 1)
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}),
|
|
171
|
+
s(i, null, {
|
|
172
|
+
label: e(() => [
|
|
173
|
+
o("div", Z, l(n.$t("sysUserOps.engineerSpecialty")), 1)
|
|
174
|
+
]),
|
|
175
|
+
default: e(() => [
|
|
176
|
+
a(" " + l(t.value.engineerSpecialty), 1)
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
})
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
})
|
|
183
|
+
])
|
|
184
|
+
])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
})
|
|
188
|
+
]);
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
}), ue = /* @__PURE__ */ w(ee, [["__scopeId", "data-v-c413cba2"]]);
|
|
192
|
+
export {
|
|
193
|
+
ue as default
|
|
194
|
+
};
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { defineComponent as w, ref as p, onBeforeMount as A, resolveComponent as a, openBlock as M, createElementBlock as q, createVNode as l, withCtx as t, createTextVNode as u, toDisplayString as o, createElementVNode as s, unref as _ } from "vue";
|
|
2
|
+
import { useRouter as G, useRoute as R } from "vue-router";
|
|
3
|
+
import { routerUtil as S } from "jmash-core";
|
|
4
|
+
import { sysOrgApi as U } from "./index.mjs";
|
|
5
|
+
import { s as J } from "./index-B6vJj_z6.mjs";
|
|
6
|
+
import { D as y, C as h } from "./index-Cz0VExll.mjs";
|
|
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
|
+
__name: "info",
|
|
9
|
+
setup(ee) {
|
|
10
|
+
const O = G(), v = R(), n = p({}), f = p([]), r = p("first");
|
|
11
|
+
function I(e) {
|
|
12
|
+
n.value.geoLatitude = e[0], n.value.geoLongitude = e[1];
|
|
13
|
+
}
|
|
14
|
+
function P(e) {
|
|
15
|
+
n.value.address = e;
|
|
16
|
+
}
|
|
17
|
+
function $(e) {
|
|
18
|
+
r.value = e.props.name, r.value === "second" && N();
|
|
19
|
+
}
|
|
20
|
+
const b = p([!1]);
|
|
21
|
+
function k(e) {
|
|
22
|
+
b.value[e] = !b.value[e];
|
|
23
|
+
}
|
|
24
|
+
function L() {
|
|
25
|
+
S.closeTagView(v.fullPath, O, !1);
|
|
26
|
+
}
|
|
27
|
+
A(() => {
|
|
28
|
+
U.findById({ orgId: v.query.orgId }).then(({ data: e }) => {
|
|
29
|
+
n.value = Object.assign(n.value, e);
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
function N() {
|
|
33
|
+
J.findList({ orgId: v.query.orgId }).then(({ data: e }) => {
|
|
34
|
+
f.value = e.results;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return (e, d) => {
|
|
38
|
+
const T = a("el-button"), i = a("el-descriptions-item"), C = a("jmash-mobileIns-component"), E = a("jmash-amap"), V = a("el-descriptions"), g = a("el-tab-pane"), c = a("el-table-column"), j = a("el-table"), D = a("el-tabs"), B = a("el-card");
|
|
39
|
+
return M(), q("div", K, [
|
|
40
|
+
l(B, { shadow: "never" }, {
|
|
41
|
+
header: t(() => [
|
|
42
|
+
l(T, {
|
|
43
|
+
type: "primary",
|
|
44
|
+
onClick: L
|
|
45
|
+
}, {
|
|
46
|
+
default: t(() => [
|
|
47
|
+
u(o(e.$t("common.back")), 1)
|
|
48
|
+
]),
|
|
49
|
+
_: 1
|
|
50
|
+
})
|
|
51
|
+
]),
|
|
52
|
+
default: t(() => [
|
|
53
|
+
l(D, {
|
|
54
|
+
modelValue: r.value,
|
|
55
|
+
"onUpdate:modelValue": d[1] || (d[1] = (m) => r.value = m),
|
|
56
|
+
onTabClick: $
|
|
57
|
+
}, {
|
|
58
|
+
default: t(() => [
|
|
59
|
+
l(g, {
|
|
60
|
+
label: "外协单位信息",
|
|
61
|
+
name: "first"
|
|
62
|
+
}, {
|
|
63
|
+
default: t(() => [
|
|
64
|
+
l(V, {
|
|
65
|
+
class: "margin-top",
|
|
66
|
+
column: 2,
|
|
67
|
+
border: ""
|
|
68
|
+
}, {
|
|
69
|
+
default: t(() => [
|
|
70
|
+
l(i, null, {
|
|
71
|
+
label: t(() => [
|
|
72
|
+
s("div", z, o(e.$t("sysOut.orgName")), 1)
|
|
73
|
+
]),
|
|
74
|
+
default: t(() => [
|
|
75
|
+
u(" " + o(n.value.orgName), 1)
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
}),
|
|
79
|
+
l(i, null, {
|
|
80
|
+
label: t(() => [
|
|
81
|
+
s("div", F, o(e.$t("sysOut.status")), 1)
|
|
82
|
+
]),
|
|
83
|
+
default: t(() => [
|
|
84
|
+
u(" " + o(_(y).hasStatusDict.getValue(n.value.status)), 1)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}),
|
|
88
|
+
l(i, null, {
|
|
89
|
+
label: t(() => [
|
|
90
|
+
s("div", H, o(e.$t("sysOut.contactPerson")), 1)
|
|
91
|
+
]),
|
|
92
|
+
default: t(() => [
|
|
93
|
+
u(" " + o(n.value.contactPerson), 1)
|
|
94
|
+
]),
|
|
95
|
+
_: 1
|
|
96
|
+
}),
|
|
97
|
+
l(i, null, {
|
|
98
|
+
label: t(() => [
|
|
99
|
+
s("div", Q, o(e.$t("sysOut.contactPersonPosi")), 1)
|
|
100
|
+
]),
|
|
101
|
+
default: t(() => [
|
|
102
|
+
u(" " + o(n.value.contactPersonPosi), 1)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}),
|
|
106
|
+
l(i, null, {
|
|
107
|
+
label: t(() => [
|
|
108
|
+
s("div", W, o(e.$t("sysOut.contactPersonMobile")), 1)
|
|
109
|
+
]),
|
|
110
|
+
default: t(() => [
|
|
111
|
+
l(C, {
|
|
112
|
+
mobilePhoneIns: n.value.contactPersonMobileIns,
|
|
113
|
+
mobilePhone: n.value.contactPersonMobile,
|
|
114
|
+
mobileEncrypt: b.value[0],
|
|
115
|
+
onToggleEncrypt: d[0] || (d[0] = (m) => k(0))
|
|
116
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
120
|
+
l(i, null, {
|
|
121
|
+
label: t(() => [
|
|
122
|
+
s("div", X, o(e.$t("sysOut.contactPersonTel")), 1)
|
|
123
|
+
]),
|
|
124
|
+
default: t(() => [
|
|
125
|
+
u(" " + o(n.value.contactPersonTel), 1)
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}),
|
|
129
|
+
l(i, null, {
|
|
130
|
+
label: t(() => [
|
|
131
|
+
s("div", Y, o(e.$t("sysOut.geoLongitude")), 1)
|
|
132
|
+
]),
|
|
133
|
+
default: t(() => [
|
|
134
|
+
u(" " + o(n.value.geoLongitude), 1)
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
}),
|
|
138
|
+
l(i, null, {
|
|
139
|
+
label: t(() => [
|
|
140
|
+
s("div", Z, o(e.$t("sysOut.geoLatitude")), 1)
|
|
141
|
+
]),
|
|
142
|
+
default: t(() => [
|
|
143
|
+
u(" " + o(n.value.geoLatitude), 1)
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
}),
|
|
147
|
+
l(i, null, {
|
|
148
|
+
label: t(() => [
|
|
149
|
+
s("div", x, o(e.$t("sysOut.address")), 1)
|
|
150
|
+
]),
|
|
151
|
+
default: t(() => [
|
|
152
|
+
u(" " + o(n.value.address) + " ", 1),
|
|
153
|
+
l(E, {
|
|
154
|
+
"security-js-code": _(h).amapConfig.securityJsCode,
|
|
155
|
+
"api-key": _(h).amapConfig.apiKey,
|
|
156
|
+
lat: n.value.geoLatitude,
|
|
157
|
+
lng: n.value.geoLongitude,
|
|
158
|
+
onGetLatLng: I,
|
|
159
|
+
onGetAddress: P
|
|
160
|
+
}, null, 8, ["security-js-code", "api-key", "lat", "lng"])
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
})
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
})
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}),
|
|
170
|
+
l(g, {
|
|
171
|
+
label: "发票信息",
|
|
172
|
+
name: "second"
|
|
173
|
+
}, {
|
|
174
|
+
default: t(() => [
|
|
175
|
+
l(j, {
|
|
176
|
+
data: f.value,
|
|
177
|
+
style: { width: "100%" }
|
|
178
|
+
}, {
|
|
179
|
+
default: t(() => [
|
|
180
|
+
l(c, {
|
|
181
|
+
prop: "invoiceType",
|
|
182
|
+
label: e.$t("sysOrgInvoice.invoiceType")
|
|
183
|
+
}, {
|
|
184
|
+
default: t(({ row: m }) => [
|
|
185
|
+
s("div", null, o(_(y).invoiceTypeDictEnum.getEnumValue(m.invoiceType)), 1)
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
}, 8, ["label"]),
|
|
189
|
+
l(c, {
|
|
190
|
+
prop: "invoiceTitle",
|
|
191
|
+
label: e.$t("sysOrgInvoice.invoiceTitle")
|
|
192
|
+
}, null, 8, ["label"]),
|
|
193
|
+
l(c, {
|
|
194
|
+
prop: "taxNumber",
|
|
195
|
+
label: e.$t("sysOrgInvoice.taxNumber")
|
|
196
|
+
}, null, 8, ["label"]),
|
|
197
|
+
l(c, {
|
|
198
|
+
prop: "bankName",
|
|
199
|
+
label: e.$t("sysOrgInvoice.bankName")
|
|
200
|
+
}, null, 8, ["label"]),
|
|
201
|
+
l(c, {
|
|
202
|
+
prop: "backNumber",
|
|
203
|
+
label: e.$t("sysOrgInvoice.backNumber")
|
|
204
|
+
}, null, 8, ["label"])
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["data"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
})
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}, 8, ["modelValue"])
|
|
214
|
+
]),
|
|
215
|
+
_: 1
|
|
216
|
+
})
|
|
217
|
+
]);
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
export {
|
|
222
|
+
ie as default
|
|
223
|
+
};
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { defineComponent as B, ref as p, onBeforeMount as w, resolveComponent as a, openBlock as A, createElementBlock as M, createVNode as l, withCtx as o, createTextVNode as c, toDisplayString as t, createElementVNode as s, unref as v } from "vue";
|
|
2
|
+
import { useRouter as q, useRoute as R } from "vue-router";
|
|
3
|
+
import { routerUtil as S } from "jmash-core";
|
|
4
|
+
import { sysOrgApi as U } from "./index.mjs";
|
|
5
|
+
import { s as J } from "./index-B6vJj_z6.mjs";
|
|
6
|
+
import { D as y, C as h } from "./index-Cz0VExll.mjs";
|
|
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
|
+
__name: "info",
|
|
9
|
+
setup(ee) {
|
|
10
|
+
const I = q(), _ = R(), n = p({}), f = p([]), r = p("first");
|
|
11
|
+
function P(e) {
|
|
12
|
+
n.value.geoLatitude = e[0], n.value.geoLongitude = e[1];
|
|
13
|
+
}
|
|
14
|
+
function $(e) {
|
|
15
|
+
n.value.address = e;
|
|
16
|
+
}
|
|
17
|
+
function k(e) {
|
|
18
|
+
r.value = e.props.name, r.value === "second" && T();
|
|
19
|
+
}
|
|
20
|
+
const b = p([!1]);
|
|
21
|
+
function L(e) {
|
|
22
|
+
b.value[e] = !b.value[e];
|
|
23
|
+
}
|
|
24
|
+
function N() {
|
|
25
|
+
S.closeTagView(_.fullPath, I, !1);
|
|
26
|
+
}
|
|
27
|
+
w(() => {
|
|
28
|
+
U.findById({ orgId: _.query.orgId }).then(({ data: e }) => {
|
|
29
|
+
n.value = Object.assign(n.value, e);
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
function T() {
|
|
33
|
+
J.findList({ orgId: _.query.orgId }).then(({ data: e }) => {
|
|
34
|
+
f.value = e.results;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return (e, d) => {
|
|
38
|
+
const C = a("el-button"), i = a("el-descriptions-item"), E = a("jmash-mobileIns-component"), G = a("jmash-amap"), O = a("el-descriptions"), g = a("el-tab-pane"), u = a("el-table-column"), V = a("el-table"), j = a("el-tabs"), D = a("el-card");
|
|
39
|
+
return A(), M("div", K, [
|
|
40
|
+
l(D, { shadow: "never" }, {
|
|
41
|
+
header: o(() => [
|
|
42
|
+
l(C, {
|
|
43
|
+
type: "primary",
|
|
44
|
+
onClick: N
|
|
45
|
+
}, {
|
|
46
|
+
default: o(() => [
|
|
47
|
+
c(t(e.$t("common.back")), 1)
|
|
48
|
+
]),
|
|
49
|
+
_: 1
|
|
50
|
+
})
|
|
51
|
+
]),
|
|
52
|
+
default: o(() => [
|
|
53
|
+
l(j, {
|
|
54
|
+
modelValue: r.value,
|
|
55
|
+
"onUpdate:modelValue": d[1] || (d[1] = (m) => r.value = m),
|
|
56
|
+
onTabClick: k
|
|
57
|
+
}, {
|
|
58
|
+
default: o(() => [
|
|
59
|
+
l(g, {
|
|
60
|
+
label: "厅局单位信息",
|
|
61
|
+
name: "first"
|
|
62
|
+
}, {
|
|
63
|
+
default: o(() => [
|
|
64
|
+
l(O, {
|
|
65
|
+
class: "margin-top",
|
|
66
|
+
column: 2,
|
|
67
|
+
border: ""
|
|
68
|
+
}, {
|
|
69
|
+
default: o(() => [
|
|
70
|
+
l(i, null, {
|
|
71
|
+
label: o(() => [
|
|
72
|
+
s("div", z, t(e.$t("sysGov.orgName")), 1)
|
|
73
|
+
]),
|
|
74
|
+
default: o(() => [
|
|
75
|
+
c(" " + t(n.value.orgName), 1)
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
}),
|
|
79
|
+
l(i, null, {
|
|
80
|
+
label: o(() => [
|
|
81
|
+
s("div", F, t(e.$t("sysGov.status")), 1)
|
|
82
|
+
]),
|
|
83
|
+
default: o(() => [
|
|
84
|
+
c(" " + t(v(y).hasStatusDict.getValue(n.value.status)), 1)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}),
|
|
88
|
+
l(i, null, {
|
|
89
|
+
label: o(() => [
|
|
90
|
+
s("div", H, t(e.$t("sysGov.contactPerson")), 1)
|
|
91
|
+
]),
|
|
92
|
+
default: o(() => [
|
|
93
|
+
c(" " + t(n.value.contactPerson), 1)
|
|
94
|
+
]),
|
|
95
|
+
_: 1
|
|
96
|
+
}),
|
|
97
|
+
l(i, null, {
|
|
98
|
+
label: o(() => [
|
|
99
|
+
s("div", Q, t(e.$t("sysGov.contactPersonPosi")), 1)
|
|
100
|
+
]),
|
|
101
|
+
default: o(() => [
|
|
102
|
+
c(" " + t(n.value.contactPersonPosi), 1)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}),
|
|
106
|
+
l(i, null, {
|
|
107
|
+
label: o(() => [
|
|
108
|
+
s("div", W, t(e.$t("sysGov.contactPersonMobile")), 1)
|
|
109
|
+
]),
|
|
110
|
+
default: o(() => [
|
|
111
|
+
l(E, {
|
|
112
|
+
mobilePhoneIns: n.value.contactPersonMobileIns,
|
|
113
|
+
mobilePhone: n.value.contactPersonMobile,
|
|
114
|
+
mobileEncrypt: b.value[0],
|
|
115
|
+
onToggleEncrypt: d[0] || (d[0] = (m) => L(0))
|
|
116
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
120
|
+
l(i, null, {
|
|
121
|
+
label: o(() => [
|
|
122
|
+
s("div", X, t(e.$t("sysGov.contactPersonTel")), 1)
|
|
123
|
+
]),
|
|
124
|
+
default: o(() => [
|
|
125
|
+
c(" " + t(n.value.contactPersonTel), 1)
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}),
|
|
129
|
+
l(i, null, {
|
|
130
|
+
label: o(() => [
|
|
131
|
+
s("div", Y, t(e.$t("sysGov.geoLongitude")), 1)
|
|
132
|
+
]),
|
|
133
|
+
default: o(() => [
|
|
134
|
+
c(" " + t(n.value.geoLongitude), 1)
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
}),
|
|
138
|
+
l(i, null, {
|
|
139
|
+
label: o(() => [
|
|
140
|
+
s("div", Z, t(e.$t("sysGov.geoLatitude")), 1)
|
|
141
|
+
]),
|
|
142
|
+
default: o(() => [
|
|
143
|
+
c(" " + t(n.value.geoLatitude), 1)
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
}),
|
|
147
|
+
l(i, null, {
|
|
148
|
+
label: o(() => [
|
|
149
|
+
s("div", x, t(e.$t("sysGov.address")), 1)
|
|
150
|
+
]),
|
|
151
|
+
default: o(() => [
|
|
152
|
+
c(" " + t(n.value.address) + " ", 1),
|
|
153
|
+
l(G, {
|
|
154
|
+
"security-js-code": v(h).amapConfig.securityJsCode,
|
|
155
|
+
"api-key": v(h).amapConfig.apiKey,
|
|
156
|
+
lat: n.value.geoLatitude,
|
|
157
|
+
lng: n.value.geoLongitude,
|
|
158
|
+
onGetLatLng: P,
|
|
159
|
+
onGetAddress: $
|
|
160
|
+
}, null, 8, ["security-js-code", "api-key", "lat", "lng"])
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
})
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
})
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}),
|
|
170
|
+
l(g, {
|
|
171
|
+
label: "发票信息",
|
|
172
|
+
name: "second"
|
|
173
|
+
}, {
|
|
174
|
+
default: o(() => [
|
|
175
|
+
l(V, {
|
|
176
|
+
data: f.value,
|
|
177
|
+
style: { width: "100%" }
|
|
178
|
+
}, {
|
|
179
|
+
default: o(() => [
|
|
180
|
+
l(u, {
|
|
181
|
+
prop: "invoiceType",
|
|
182
|
+
label: e.$t("sysOrgInvoice.invoiceType")
|
|
183
|
+
}, {
|
|
184
|
+
default: o(({ row: m }) => [
|
|
185
|
+
s("div", null, t(v(y).invoiceTypeDictEnum.getEnumValue(m.invoiceType)), 1)
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
}, 8, ["label"]),
|
|
189
|
+
l(u, {
|
|
190
|
+
prop: "invoiceTitle",
|
|
191
|
+
label: e.$t("sysOrgInvoice.invoiceTitle")
|
|
192
|
+
}, null, 8, ["label"]),
|
|
193
|
+
l(u, {
|
|
194
|
+
prop: "taxNumber",
|
|
195
|
+
label: e.$t("sysOrgInvoice.taxNumber")
|
|
196
|
+
}, null, 8, ["label"]),
|
|
197
|
+
l(u, {
|
|
198
|
+
prop: "bankName",
|
|
199
|
+
label: e.$t("sysOrgInvoice.bankName")
|
|
200
|
+
}, null, 8, ["label"]),
|
|
201
|
+
l(u, {
|
|
202
|
+
prop: "backNumber",
|
|
203
|
+
label: e.$t("sysOrgInvoice.backNumber")
|
|
204
|
+
}, null, 8, ["label"])
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["data"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
})
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}, 8, ["modelValue"])
|
|
214
|
+
]),
|
|
215
|
+
_: 1
|
|
216
|
+
})
|
|
217
|
+
]);
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
export {
|
|
222
|
+
ie as default
|
|
223
|
+
};
|