xyvcard-itsmsys 0.0.3 → 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/{invoiceEdit-Chsj8_aC.mjs → edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs} +58 -63
- package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -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-B02UvpyC.mjs → index-ClU157bA.mjs} +103 -113
- package/dist/{index-Cskg0LGf.mjs → index-CogdeN09.mjs} +101 -111
- package/dist/{index-CUjT3FVb.mjs → index-i7X9N_rj.mjs} +107 -117
- package/dist/index.mjs +2765 -126
- 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 +4 -1
- package/dts/src/api/index.d.ts +4 -1
- package/dts/src/api/itsm-sys-org/index.d.ts +1 -0
- package/dts/src/api/itsm-sys-org/types.d.ts +2 -2
- package/dts/src/api/itsm-sys-user-ext/types.d.ts +18 -3
- package/dts/src/constant.d.ts +7 -0
- package/dts/src/lang/itsmsys/zh-cn.d.ts +27 -11
- package/dts/src/router/index.d.ts +6 -4
- 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/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
- 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-org/invoiceEdit.vue.d.ts → itsm-sys-user-out/edit.vue.d.ts} +6 -15
- 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-BeMy_aOl.mjs +0 -548
- package/dist/edit-BhXrnHr7.mjs +0 -520
- package/dist/edit-BsLAy2-H.mjs +0 -276
- package/dist/edit-D7n1rZY2.mjs +0 -240
- package/dist/edit-l4-w6Psd.mjs +0 -520
- package/dist/index-Bw3EuEs9.mjs +0 -345
- package/dist/index-COPul57Z.mjs +0 -84
- package/dist/index-CRlIL96y.mjs +0 -334
- package/dist/info-7Rre3Mm0.mjs +0 -198
- package/dist/info-CYKiOMB6.mjs +0 -198
- package/dist/info-Dub2j7gN.mjs +0 -198
- package/dist/info-O3dKVGmT.mjs +0 -10
- package/dist/invoiceEdit-C5dQG8ZJ.mjs +0 -253
- package/dist/invoiceEdit-DuSCNiDz.mjs +0 -253
- 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
- package/dts/src/views/itsmsys/itsm-sys-out/invoiceEdit.vue.d.ts +0 -31
- /package/dts/src/views/{itsmsys-user/itsm-sys-user-man → itsmsys/itsm-sys-org-invoice}/index.vue.d.ts +0 -0
- /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/edit.vue.d.ts +0 -0
- /package/dts/src/views/{itsmsys-user/itsm-sys-user-ops → itsmsys/itsm-sys-user-man}/index.vue.d.ts +0 -0
- /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/info.vue.d.ts +0 -0
- /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-ops/edit.vue.d.ts +0 -0
package/dist/index-CRlIL96y.mjs
DELETED
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ee, ref as j, reactive as M, resolveComponent as s, resolveDirective as te, openBlock as m, createElementBlock as _, createElementVNode as y, createVNode as n, withCtx as l, withKeys as R, unref as a, createTextVNode as p, toDisplayString as i, withDirectives as c, createBlock as C, isRef as I, createCommentVNode as N, vShow as D } from "vue";
|
|
2
|
-
import { useTableHooks as oe } from "jmash-core";
|
|
3
|
-
import { useI18n as le } from "vue-i18n";
|
|
4
|
-
import { useRouter as ne } from "vue-router";
|
|
5
|
-
import { sysUserExtApi as ae } from "./index.mjs";
|
|
6
|
-
import se from "./edit-BsLAy2-H.mjs";
|
|
7
|
-
import { D as U } from "./index-COPul57Z.mjs";
|
|
8
|
-
const re = { class: "app-container" }, ie = { class: "search-container" }, ue = { key: 0 }, me = ["onClick"], de = ["onClick"], pe = ["onClick"], ge = /* @__PURE__ */ ee({
|
|
9
|
-
__name: "index",
|
|
10
|
-
setup(ce) {
|
|
11
|
-
const { t: w } = le(), T = ne(), u = j({
|
|
12
|
-
userType: "COMPANY_MANAGER"
|
|
13
|
-
}), {
|
|
14
|
-
tableHooks: r,
|
|
15
|
-
multipleTableRef: q,
|
|
16
|
-
queryFormRef: z,
|
|
17
|
-
listLoading: A,
|
|
18
|
-
tableData: L,
|
|
19
|
-
total: h
|
|
20
|
-
} = oe(w, ae, u);
|
|
21
|
-
let f = j([
|
|
22
|
-
{
|
|
23
|
-
label: "sysUserMan.realName",
|
|
24
|
-
prop: "realName",
|
|
25
|
-
width: "200",
|
|
26
|
-
isColumn: !0
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
label: "sysUserMan.gender",
|
|
30
|
-
prop: "gender",
|
|
31
|
-
width: "100",
|
|
32
|
-
isColumn: !0,
|
|
33
|
-
slotName: "gender",
|
|
34
|
-
columnType: "slot"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
label: "sysUserMan.mobilePhone",
|
|
38
|
-
prop: "mobilePhone",
|
|
39
|
-
width: "150",
|
|
40
|
-
isColumn: !0,
|
|
41
|
-
slotName: "mobilePhone",
|
|
42
|
-
columnType: "slot"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: "sysUserMan.email",
|
|
46
|
-
prop: "email",
|
|
47
|
-
isColumn: !0,
|
|
48
|
-
slotName: "email",
|
|
49
|
-
columnType: "slot"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: "sysUserMan.jobStatus",
|
|
53
|
-
prop: "jobStatus",
|
|
54
|
-
width: "150",
|
|
55
|
-
isColumn: !0,
|
|
56
|
-
slotName: "jobStatus",
|
|
57
|
-
columnType: "slot"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
label: "common.operate",
|
|
61
|
-
width: "200",
|
|
62
|
-
slotName: "operation",
|
|
63
|
-
columnType: "slot",
|
|
64
|
-
fixed: "right",
|
|
65
|
-
isColumn: !0
|
|
66
|
-
}
|
|
67
|
-
]);
|
|
68
|
-
function V(o) {
|
|
69
|
-
o.showEncrypt = !o.showEncrypt;
|
|
70
|
-
}
|
|
71
|
-
const d = j({
|
|
72
|
-
title: w("common.edit"),
|
|
73
|
-
visible: !1
|
|
74
|
-
});
|
|
75
|
-
let S = M({});
|
|
76
|
-
function K() {
|
|
77
|
-
S = M({}), d.value.title = w("common.add"), d.value.visible = !0;
|
|
78
|
-
}
|
|
79
|
-
function Q(o) {
|
|
80
|
-
S.userId = o.userId, d.value.title = w("common.edit"), d.value.visible = !0;
|
|
81
|
-
}
|
|
82
|
-
function B(o) {
|
|
83
|
-
T.push({
|
|
84
|
-
path: "/itsmsys-user/itsm-sys-user-man/userManInfo",
|
|
85
|
-
query: { userId: o.userId }
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
function F(o) {
|
|
89
|
-
r.selectionRows.value = o;
|
|
90
|
-
}
|
|
91
|
-
function H(o) {
|
|
92
|
-
r.handleSort(o.prop, o.order);
|
|
93
|
-
}
|
|
94
|
-
function G(o) {
|
|
95
|
-
o && r.getList();
|
|
96
|
-
}
|
|
97
|
-
return r.getList(), (o, t) => {
|
|
98
|
-
const O = s("el-input"), $ = s("el-form-item"), b = s("el-col"), Y = s("jmash-select"), g = s("el-button"), E = s("el-row"), J = s("el-form"), W = s("jmash-column-select"), P = s("svg-icon"), X = s("jmash-table"), Z = s("jmash-pagination"), x = s("el-card"), v = te("hasPerm");
|
|
99
|
-
return m(), _("div", re, [
|
|
100
|
-
y("div", ie, [
|
|
101
|
-
n(J, {
|
|
102
|
-
ref_key: "queryFormRef",
|
|
103
|
-
ref: z,
|
|
104
|
-
model: u.value,
|
|
105
|
-
inline: !0
|
|
106
|
-
}, {
|
|
107
|
-
default: l(() => [
|
|
108
|
-
n(E, null, {
|
|
109
|
-
default: l(() => [
|
|
110
|
-
n(b, { span: 6 }, {
|
|
111
|
-
default: l(() => [
|
|
112
|
-
n($, {
|
|
113
|
-
label: o.$t("sysUserMan.realName"),
|
|
114
|
-
prop: "realName"
|
|
115
|
-
}, {
|
|
116
|
-
default: l(() => [
|
|
117
|
-
n(O, {
|
|
118
|
-
modelValue: u.value.realName,
|
|
119
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.realName = e),
|
|
120
|
-
placeholder: o.$t("sysUserMan.realNameRequired"),
|
|
121
|
-
onKeyup: t[1] || (t[1] = R((e) => a(r).handleQuery(), ["enter"])),
|
|
122
|
-
class: "!w-[203px]"
|
|
123
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
124
|
-
]),
|
|
125
|
-
_: 1
|
|
126
|
-
}, 8, ["label"])
|
|
127
|
-
]),
|
|
128
|
-
_: 1
|
|
129
|
-
}),
|
|
130
|
-
n(b, { span: 6 }, {
|
|
131
|
-
default: l(() => [
|
|
132
|
-
n($, {
|
|
133
|
-
label: o.$t("sysUserMan.jobStatus"),
|
|
134
|
-
prop: "jobStatus"
|
|
135
|
-
}, {
|
|
136
|
-
default: l(() => [
|
|
137
|
-
n(Y, {
|
|
138
|
-
modelValue: u.value.jobStatus,
|
|
139
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.jobStatus = e),
|
|
140
|
-
placeholder: o.$t("sysUserMan.jobStatusRequired"),
|
|
141
|
-
data: a(U).jobStatusDictEnum.values,
|
|
142
|
-
onKeyup: t[3] || (t[3] = R((e) => a(r).handleQuery(), ["enter"])),
|
|
143
|
-
clearable: ""
|
|
144
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
145
|
-
]),
|
|
146
|
-
_: 1
|
|
147
|
-
}, 8, ["label"])
|
|
148
|
-
]),
|
|
149
|
-
_: 1
|
|
150
|
-
}),
|
|
151
|
-
n(b, { span: 12 }, {
|
|
152
|
-
default: l(() => [
|
|
153
|
-
n($, { class: "search-btn" }, {
|
|
154
|
-
default: l(() => [
|
|
155
|
-
n(g, {
|
|
156
|
-
type: "primary",
|
|
157
|
-
onClick: t[4] || (t[4] = (e) => a(r).handleQuery())
|
|
158
|
-
}, {
|
|
159
|
-
default: l(() => [
|
|
160
|
-
p(i(o.$t("common.search")), 1)
|
|
161
|
-
]),
|
|
162
|
-
_: 1
|
|
163
|
-
}),
|
|
164
|
-
n(g, {
|
|
165
|
-
onClick: t[5] || (t[5] = (e) => a(r).resetQuery())
|
|
166
|
-
}, {
|
|
167
|
-
default: l(() => [
|
|
168
|
-
p(i(o.$t("common.reset")), 1)
|
|
169
|
-
]),
|
|
170
|
-
_: 1
|
|
171
|
-
})
|
|
172
|
-
]),
|
|
173
|
-
_: 1
|
|
174
|
-
})
|
|
175
|
-
]),
|
|
176
|
-
_: 1
|
|
177
|
-
})
|
|
178
|
-
]),
|
|
179
|
-
_: 1
|
|
180
|
-
})
|
|
181
|
-
]),
|
|
182
|
-
_: 1
|
|
183
|
-
}, 8, ["model"]),
|
|
184
|
-
t[13] || (t[13] = y("div", { class: "clear" }, null, -1))
|
|
185
|
-
]),
|
|
186
|
-
n(x, {
|
|
187
|
-
shadow: "never",
|
|
188
|
-
class: "table-container"
|
|
189
|
-
}, {
|
|
190
|
-
header: l(() => [
|
|
191
|
-
n(E, null, {
|
|
192
|
-
default: l(() => [
|
|
193
|
-
n(b, { span: 17 }, {
|
|
194
|
-
default: l(() => [
|
|
195
|
-
c((m(), C(g, {
|
|
196
|
-
type: "primary",
|
|
197
|
-
onClick: K
|
|
198
|
-
}, {
|
|
199
|
-
default: l(() => [
|
|
200
|
-
p(i(o.$t("common.add")), 1)
|
|
201
|
-
]),
|
|
202
|
-
_: 1
|
|
203
|
-
})), [
|
|
204
|
-
[v, ["itsmsys:sys_user_man:add"]]
|
|
205
|
-
]),
|
|
206
|
-
c((m(), C(g, {
|
|
207
|
-
type: "primary",
|
|
208
|
-
onClick: t[6] || (t[6] = (e) => a(r).deleteRecords())
|
|
209
|
-
}, {
|
|
210
|
-
default: l(() => [
|
|
211
|
-
p(i(o.$t("common.batchDelete")), 1)
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
})), [
|
|
215
|
-
[v, ["itsmsys:sys_user_man:delete"]]
|
|
216
|
-
])
|
|
217
|
-
]),
|
|
218
|
-
_: 1
|
|
219
|
-
}),
|
|
220
|
-
n(b, {
|
|
221
|
-
span: 7,
|
|
222
|
-
class: "container-float"
|
|
223
|
-
}, {
|
|
224
|
-
default: l(() => [
|
|
225
|
-
n(W, {
|
|
226
|
-
modelValue: a(f),
|
|
227
|
-
"onUpdate:modelValue": t[7] || (t[7] = (e) => I(f) ? f.value = e : f = e),
|
|
228
|
-
"label-name": "itsmsys/itsm-sys-user-man"
|
|
229
|
-
}, null, 8, ["modelValue"])
|
|
230
|
-
]),
|
|
231
|
-
_: 1
|
|
232
|
-
})
|
|
233
|
-
]),
|
|
234
|
-
_: 1
|
|
235
|
-
})
|
|
236
|
-
]),
|
|
237
|
-
footer: l(() => [
|
|
238
|
-
a(h) > 0 ? (m(), C(Z, {
|
|
239
|
-
key: 0,
|
|
240
|
-
total: a(h),
|
|
241
|
-
"onUpdate:total": t[8] || (t[8] = (e) => I(h) ? h.value = e : null),
|
|
242
|
-
"current-page": u.value.curPage,
|
|
243
|
-
"onUpdate:currentPage": t[9] || (t[9] = (e) => u.value.curPage = e),
|
|
244
|
-
"page-size": u.value.pageSize,
|
|
245
|
-
"onUpdate:pageSize": t[10] || (t[10] = (e) => u.value.pageSize = e),
|
|
246
|
-
onPagination: t[11] || (t[11] = (e) => a(r).getList())
|
|
247
|
-
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
|
|
248
|
-
]),
|
|
249
|
-
default: l(() => [
|
|
250
|
-
n(X, {
|
|
251
|
-
ref_key: "multipleTableRef",
|
|
252
|
-
ref: q,
|
|
253
|
-
"row-key": "userId",
|
|
254
|
-
"list-loading": a(A),
|
|
255
|
-
data: a(L),
|
|
256
|
-
"table-label": a(f),
|
|
257
|
-
onSelectionChange: F,
|
|
258
|
-
onSortChange: H
|
|
259
|
-
}, {
|
|
260
|
-
gender: l((e) => [
|
|
261
|
-
y("span", null, i(a(U).genderDict.getEnumValue(e.data.row.gender)), 1)
|
|
262
|
-
]),
|
|
263
|
-
mobilePhone: l((e) => [
|
|
264
|
-
y("span", null, i(e.data.row.showEncrypt ? e.data.row.mobilePhone : e.data.row.mobilePhoneIns), 1)
|
|
265
|
-
]),
|
|
266
|
-
email: l((e) => [
|
|
267
|
-
y("span", null, i(e.data.row.showEncrypt ? e.data.row.email : e.data.row.emailIns), 1)
|
|
268
|
-
]),
|
|
269
|
-
jobStatus: l((e) => [
|
|
270
|
-
y("span", null, i(a(U).jobStatusDictEnum.getEnumValue(
|
|
271
|
-
e.data.row.jobStatus
|
|
272
|
-
)), 1)
|
|
273
|
-
]),
|
|
274
|
-
operation: l((e) => [
|
|
275
|
-
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (m(), _("span", ue, [
|
|
276
|
-
c(n(P, {
|
|
277
|
-
"icon-class": "close-eye",
|
|
278
|
-
onClick: (k) => V(e.data.row)
|
|
279
|
-
}, null, 8, ["onClick"]), [
|
|
280
|
-
[D, !e.data.row.showEncrypt]
|
|
281
|
-
]),
|
|
282
|
-
c(n(P, {
|
|
283
|
-
"icon-class": "eye-open",
|
|
284
|
-
onClick: (k) => V(e.data.row)
|
|
285
|
-
}, null, 8, ["onClick"]), [
|
|
286
|
-
[D, e.data.row.showEncrypt]
|
|
287
|
-
])
|
|
288
|
-
])) : N("", !0),
|
|
289
|
-
c((m(), _("span", {
|
|
290
|
-
class: "el-button-color dropdown-left",
|
|
291
|
-
onClick: (k) => Q(e.data.row)
|
|
292
|
-
}, [
|
|
293
|
-
p(i(o.$t("common.edit")), 1)
|
|
294
|
-
], 8, me)), [
|
|
295
|
-
[v, ["itsmsys:sys_user_man:update"]]
|
|
296
|
-
]),
|
|
297
|
-
c((m(), _("span", {
|
|
298
|
-
class: "el-button-color dropdown-left",
|
|
299
|
-
onClick: (k) => a(r).deleteRecord(e.data.row)
|
|
300
|
-
}, [
|
|
301
|
-
p(i(o.$t("common.delete")), 1)
|
|
302
|
-
], 8, de)), [
|
|
303
|
-
[v, ["itsmsys:sys_user_man:delete"]]
|
|
304
|
-
]),
|
|
305
|
-
c((m(), _("span", {
|
|
306
|
-
class: "el-button-color dropdown-left",
|
|
307
|
-
onClick: (k) => B(e.data.row)
|
|
308
|
-
}, [
|
|
309
|
-
p(i(o.$t("common.view")), 1)
|
|
310
|
-
], 8, pe)), [
|
|
311
|
-
[v, ["itsmsys:sys_user_man:view"]]
|
|
312
|
-
])
|
|
313
|
-
]),
|
|
314
|
-
_: 1
|
|
315
|
-
}, 8, ["list-loading", "data", "table-label"])
|
|
316
|
-
]),
|
|
317
|
-
_: 1
|
|
318
|
-
}),
|
|
319
|
-
d.value.visible ? (m(), C(se, {
|
|
320
|
-
key: 0,
|
|
321
|
-
modelValue: d.value.visible,
|
|
322
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) => d.value.visible = e),
|
|
323
|
-
title: d.value.title,
|
|
324
|
-
"entity-key": a(S),
|
|
325
|
-
onRefresh: G,
|
|
326
|
-
width: "900px"
|
|
327
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
|
|
328
|
-
]);
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
});
|
|
332
|
-
export {
|
|
333
|
-
ge as default
|
|
334
|
-
};
|
package/dist/info-7Rre3Mm0.mjs
DELETED
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, ref as b, onBeforeMount as S, resolveComponent as s, openBlock as p, createElementBlock as v, createVNode as o, withCtx as e, createTextVNode as u, toDisplayString as l, createElementVNode as a, unref as k, withDirectives as O, vShow as h, createCommentVNode as q } from "vue";
|
|
2
|
-
import { useRouter as A, useRoute as R } from "vue-router";
|
|
3
|
-
import { routerUtil as U } from "jmash-core";
|
|
4
|
-
import { sysOrgApi as j } from "./index.mjs";
|
|
5
|
-
import { s as L } from "./index-DOXuGEyW.mjs";
|
|
6
|
-
import { D as I } from "./index-COPul57Z.mjs";
|
|
7
|
-
const z = { class: "app-container" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, K = { class: "cell-item" }, Q = { key: 0 }, W = { key: 1 }, X = {
|
|
8
|
-
key: 2,
|
|
9
|
-
class: "distance-left"
|
|
10
|
-
}, Y = { class: "cell-item" }, se = /* @__PURE__ */ B({
|
|
11
|
-
__name: "info",
|
|
12
|
-
setup(Z) {
|
|
13
|
-
const N = A(), _ = R(), n = b({}), f = b([]), m = b("first");
|
|
14
|
-
function $(t) {
|
|
15
|
-
m.value = t.props.name, m.value === "second" && T();
|
|
16
|
-
}
|
|
17
|
-
function y(t) {
|
|
18
|
-
t.contactPersonMobileEncrypt = !t.contactPersonMobileEncrypt;
|
|
19
|
-
}
|
|
20
|
-
function E() {
|
|
21
|
-
U.closeTagView(_.fullPath, N, !1);
|
|
22
|
-
}
|
|
23
|
-
S(() => {
|
|
24
|
-
j.findById({ orgId: _.query.orgId }).then(({ data: t }) => {
|
|
25
|
-
n.value = Object.assign(n.value, t);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
function T() {
|
|
29
|
-
L.findList({ orgId: _.query.orgId }).then(({ data: t }) => {
|
|
30
|
-
f.value = t.results;
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
return (t, i) => {
|
|
34
|
-
const M = s("el-button"), r = s("el-descriptions-item"), g = s("svg-icon"), V = s("el-descriptions"), P = s("el-tab-pane"), d = s("el-table-column"), C = s("el-table"), D = s("el-tabs"), w = s("el-card");
|
|
35
|
-
return p(), v("div", z, [
|
|
36
|
-
o(w, { shadow: "never" }, {
|
|
37
|
-
header: e(() => [
|
|
38
|
-
o(M, {
|
|
39
|
-
type: "primary",
|
|
40
|
-
onClick: E
|
|
41
|
-
}, {
|
|
42
|
-
default: e(() => [
|
|
43
|
-
u(l(t.$t("common.back")), 1)
|
|
44
|
-
]),
|
|
45
|
-
_: 1
|
|
46
|
-
})
|
|
47
|
-
]),
|
|
48
|
-
default: e(() => [
|
|
49
|
-
o(D, {
|
|
50
|
-
modelValue: m.value,
|
|
51
|
-
"onUpdate:modelValue": i[2] || (i[2] = (c) => m.value = c),
|
|
52
|
-
onTabClick: $
|
|
53
|
-
}, {
|
|
54
|
-
default: e(() => [
|
|
55
|
-
o(P, {
|
|
56
|
-
label: "外协单位信息",
|
|
57
|
-
name: "first"
|
|
58
|
-
}, {
|
|
59
|
-
default: e(() => [
|
|
60
|
-
o(V, {
|
|
61
|
-
class: "margin-top",
|
|
62
|
-
column: 2,
|
|
63
|
-
border: ""
|
|
64
|
-
}, {
|
|
65
|
-
default: e(() => [
|
|
66
|
-
o(r, null, {
|
|
67
|
-
label: e(() => [
|
|
68
|
-
a("div", F, l(t.$t("sysOut.orgName")), 1)
|
|
69
|
-
]),
|
|
70
|
-
default: e(() => [
|
|
71
|
-
u(" " + l(n.value.orgName), 1)
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}),
|
|
75
|
-
o(r, null, {
|
|
76
|
-
label: e(() => [
|
|
77
|
-
a("div", G, l(t.$t("sysOut.status")), 1)
|
|
78
|
-
]),
|
|
79
|
-
default: e(() => [
|
|
80
|
-
u(" " + l(k(I).hasStatusDict.getValue(n.value.status)), 1)
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
}),
|
|
84
|
-
o(r, null, {
|
|
85
|
-
label: e(() => [
|
|
86
|
-
a("div", H, l(t.$t("sysOut.contactPerson")), 1)
|
|
87
|
-
]),
|
|
88
|
-
default: e(() => [
|
|
89
|
-
u(" " + l(n.value.contactPerson), 1)
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
}),
|
|
93
|
-
o(r, null, {
|
|
94
|
-
label: e(() => [
|
|
95
|
-
a("div", J, l(t.$t("sysOut.contactPersonPosi")), 1)
|
|
96
|
-
]),
|
|
97
|
-
default: e(() => [
|
|
98
|
-
u(" " + l(n.value.contactPersonPosi), 1)
|
|
99
|
-
]),
|
|
100
|
-
_: 1
|
|
101
|
-
}),
|
|
102
|
-
o(r, null, {
|
|
103
|
-
label: e(() => [
|
|
104
|
-
a("div", K, l(t.$t("sysOut.contactPersonMobile")), 1)
|
|
105
|
-
]),
|
|
106
|
-
default: e(() => [
|
|
107
|
-
n.value.contactPersonMobileEncrypt ? (p(), v("span", W, l(n.value.contactPersonMobile), 1)) : (p(), v("span", Q, l(n.value.contactPersonMobileIns), 1)),
|
|
108
|
-
n.value.contactPersonMobileIns ? (p(), v("span", X, [
|
|
109
|
-
O(o(g, {
|
|
110
|
-
"icon-class": "close-eye",
|
|
111
|
-
onClick: i[0] || (i[0] = (c) => y(n.value))
|
|
112
|
-
}, null, 512), [
|
|
113
|
-
[h, !n.value.contactPersonMobileEncrypt]
|
|
114
|
-
]),
|
|
115
|
-
O(o(g, {
|
|
116
|
-
"icon-class": "eye-open",
|
|
117
|
-
onClick: i[1] || (i[1] = (c) => y(n.value))
|
|
118
|
-
}, null, 512), [
|
|
119
|
-
[h, n.value.contactPersonMobileEncrypt]
|
|
120
|
-
])
|
|
121
|
-
])) : q("", !0)
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}),
|
|
125
|
-
o(r, null, {
|
|
126
|
-
label: e(() => [
|
|
127
|
-
a("div", Y, l(t.$t("sysOut.contactPersonTel")), 1)
|
|
128
|
-
]),
|
|
129
|
-
default: e(() => [
|
|
130
|
-
u(" " + l(n.value.contactPersonTel), 1)
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
})
|
|
134
|
-
]),
|
|
135
|
-
_: 1
|
|
136
|
-
})
|
|
137
|
-
]),
|
|
138
|
-
_: 1
|
|
139
|
-
}),
|
|
140
|
-
o(P, {
|
|
141
|
-
label: "发票信息",
|
|
142
|
-
name: "second"
|
|
143
|
-
}, {
|
|
144
|
-
default: e(() => [
|
|
145
|
-
o(C, {
|
|
146
|
-
data: f.value,
|
|
147
|
-
style: { width: "100%" }
|
|
148
|
-
}, {
|
|
149
|
-
default: e(() => [
|
|
150
|
-
o(d, {
|
|
151
|
-
prop: "invoiceType",
|
|
152
|
-
label: t.$t("sysOrgInvoice.invoiceType")
|
|
153
|
-
}, {
|
|
154
|
-
default: e(({ row: c }) => [
|
|
155
|
-
a("div", null, l(k(I).invoiceTypeDictEnum.getEnumValue(c.invoiceType)), 1)
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
}, 8, ["label"]),
|
|
159
|
-
o(d, {
|
|
160
|
-
prop: "invoiceTitle",
|
|
161
|
-
label: t.$t("sysOrgInvoice.invoiceTitle")
|
|
162
|
-
}, null, 8, ["label"]),
|
|
163
|
-
o(d, {
|
|
164
|
-
prop: "taxNumber",
|
|
165
|
-
label: t.$t("sysOrgInvoice.taxNumber")
|
|
166
|
-
}, null, 8, ["label"]),
|
|
167
|
-
o(d, {
|
|
168
|
-
prop: "bankName",
|
|
169
|
-
label: t.$t("sysOrgInvoice.bankName")
|
|
170
|
-
}, null, 8, ["label"]),
|
|
171
|
-
o(d, {
|
|
172
|
-
prop: "backNumber",
|
|
173
|
-
label: t.$t("sysOrgInvoice.backNumber")
|
|
174
|
-
}, {
|
|
175
|
-
default: e(({ row: c }) => [
|
|
176
|
-
a("div", null, l(c.backNumber), 1)
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
}, 8, ["label"])
|
|
180
|
-
]),
|
|
181
|
-
_: 1
|
|
182
|
-
}, 8, ["data"])
|
|
183
|
-
]),
|
|
184
|
-
_: 1
|
|
185
|
-
})
|
|
186
|
-
]),
|
|
187
|
-
_: 1
|
|
188
|
-
}, 8, ["modelValue"])
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
})
|
|
192
|
-
]);
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
export {
|
|
197
|
-
se as default
|
|
198
|
-
};
|