xyvcard-itsmsys 0.0.2 → 0.0.3
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-BeMy_aOl.mjs +548 -0
- package/dist/edit-BhXrnHr7.mjs +520 -0
- package/dist/edit-BsLAy2-H.mjs +276 -0
- package/dist/edit-D7n1rZY2.mjs +240 -0
- package/dist/edit-l4-w6Psd.mjs +520 -0
- package/dist/index-B02UvpyC.mjs +334 -0
- package/dist/index-BRupqW34.mjs +96 -0
- package/dist/index-Bw3EuEs9.mjs +345 -0
- package/dist/index-COPul57Z.mjs +84 -0
- package/dist/index-CRlIL96y.mjs +334 -0
- package/dist/index-CUjT3FVb.mjs +351 -0
- package/dist/index-Cskg0LGf.mjs +341 -0
- package/dist/{index-B-FkgFqA.mjs → index-DOXuGEyW.mjs} +6 -6
- package/dist/index.mjs +236 -42
- package/dist/info-7Rre3Mm0.mjs +198 -0
- package/dist/info-CYKiOMB6.mjs +198 -0
- package/dist/info-Dub2j7gN.mjs +198 -0
- package/dist/info-O3dKVGmT.mjs +10 -0
- package/dist/invoiceEdit-C5dQG8ZJ.mjs +253 -0
- package/dist/invoiceEdit-Chsj8_aC.mjs +253 -0
- package/dist/invoiceEdit-DuSCNiDz.mjs +253 -0
- package/dist/style.css +1 -1
- package/dts/src/api/dict.d.ts +6 -1
- package/dts/src/api/index.d.ts +5 -1
- package/dts/src/api/itsm-sys-org/index.d.ts +1 -0
- package/dts/src/api/itsm-sys-org/types.d.ts +13 -5
- package/dts/src/api/itsm-sys-user-ext/index.d.ts +14 -0
- package/dts/src/api/itsm-sys-user-ext/types.d.ts +76 -0
- package/dts/src/constant.d.ts +4 -0
- package/dts/src/index.d.ts +2 -0
- package/dts/src/lang/itsmsys/zh-cn.d.ts +65 -4
- package/dts/src/router/index.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-gov/invoiceEdit.vue.d.ts +31 -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-out/invoiceEdit.vue.d.ts +31 -0
- package/dts/src/views/itsmsys-user/itsm-sys-user-man/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys-user/itsm-sys-user-man/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys-user/itsm-sys-user-man/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys-user/itsm-sys-user-ops/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys-user/itsm-sys-user-ops/index.vue.d.ts +2 -0
- package/package.json +2 -2
- 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
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
import { _ as se } from "./index-BRupqW34.mjs";
|
|
2
|
+
import { defineComponent as ie, ref as p, reactive as h, resolveComponent as c, resolveDirective as de, openBlock as b, createElementBlock as T, createVNode as o, withCtx as t, unref as r, createTextVNode as P, toDisplayString as _, createBlock as R, withDirectives as q, isRef as ue, createElementVNode as ce, createCommentVNode as D } from "vue";
|
|
3
|
+
import { ElMessage as k, ElMessageBox as me } from "element-plus";
|
|
4
|
+
import { useI18n as pe } from "vue-i18n";
|
|
5
|
+
import { useRoute as ge } from "vue-router";
|
|
6
|
+
import { sysOrgApi as L } from "./index.mjs";
|
|
7
|
+
import { useTableHooks as fe } from "jmash-core";
|
|
8
|
+
import { s as C } from "./index-DOXuGEyW.mjs";
|
|
9
|
+
import be from "./invoiceEdit-C5dQG8ZJ.mjs";
|
|
10
|
+
import { D as ye } from "./index-COPul57Z.mjs";
|
|
11
|
+
const ve = { class: "app-container" }, _e = ["onClick"], he = ["onClick"], $e = /* @__PURE__ */ ie({
|
|
12
|
+
__name: "edit",
|
|
13
|
+
setup(Pe) {
|
|
14
|
+
const { t: s } = pe(), V = ge(), j = p({}), { tableHooks: N, multipleTableRef: B, listLoading: x } = fe(
|
|
15
|
+
s,
|
|
16
|
+
C,
|
|
17
|
+
j
|
|
18
|
+
), $ = p(), I = p([]), g = p("first"), f = p("");
|
|
19
|
+
f.value = V.query.entityKey;
|
|
20
|
+
function A(e) {
|
|
21
|
+
g.value = e.props.name, g.value === "second" ? v() : a.requestId = Math.random() * 10 + "";
|
|
22
|
+
}
|
|
23
|
+
let a = h({
|
|
24
|
+
requestId: Math.random() * 10 + "",
|
|
25
|
+
updateMask: "orgName,address,contactPerson,contactPersonPosi,contactPersonTel,contactPersonMobile",
|
|
26
|
+
orgType: "CLOUD"
|
|
27
|
+
});
|
|
28
|
+
const F = (e, l, i) => {
|
|
29
|
+
(l === void 0 || l === "") && i(new Error(s("sysOrg.contactPersonTelRequired"))), /^0\d{2,3}-\d{7,8}$/.test(l) || i(new Error(s("sysOrg.contactPersonTelRequireds"))), i();
|
|
30
|
+
}, K = (e, l, i) => {
|
|
31
|
+
l === void 0 && i(new Error(s("sysOrg.contactPersonMobileRequired"))), /^1[3-9]\d{9}$/.test(l) || i(new Error(s("sysOrg.contactPersonMobileRequireds"))), i();
|
|
32
|
+
}, G = h({
|
|
33
|
+
orgName: [
|
|
34
|
+
{
|
|
35
|
+
required: !0,
|
|
36
|
+
message: s("sysOrg.orgNameRequired"),
|
|
37
|
+
trigger: "blur"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
address: [
|
|
41
|
+
{
|
|
42
|
+
required: !0,
|
|
43
|
+
message: s("sysOrg.addressRequired"),
|
|
44
|
+
trigger: "blur"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
contactPerson: [
|
|
48
|
+
{
|
|
49
|
+
required: !0,
|
|
50
|
+
message: s("sysOrg.contactPersonRequired"),
|
|
51
|
+
trigger: "blur"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
contactPersonPosi: [
|
|
55
|
+
{
|
|
56
|
+
required: !0,
|
|
57
|
+
message: s("sysOrg.contactPersonPosiRequired"),
|
|
58
|
+
trigger: "blur"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
contactPersonMobile: [
|
|
62
|
+
{
|
|
63
|
+
required: !0,
|
|
64
|
+
trigger: "blur",
|
|
65
|
+
validator: K
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
contactPersonTel: [
|
|
69
|
+
{
|
|
70
|
+
required: !0,
|
|
71
|
+
trigger: "blur",
|
|
72
|
+
validator: F
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
});
|
|
76
|
+
function H(e) {
|
|
77
|
+
a.geoLatitude = e[0], a.geoLongitude = e[1];
|
|
78
|
+
}
|
|
79
|
+
function W(e) {
|
|
80
|
+
a.address = e;
|
|
81
|
+
}
|
|
82
|
+
V.query.entityKey && L.findById({ orgId: V.query.entityKey }).then(({ data: e }) => {
|
|
83
|
+
Object.assign(a, e);
|
|
84
|
+
});
|
|
85
|
+
const z = async () => {
|
|
86
|
+
var e;
|
|
87
|
+
await ((e = $.value) == null ? void 0 : e.validate((l) => {
|
|
88
|
+
var i, u;
|
|
89
|
+
l && (a.geoLongitude = (i = a.geoLongitude) == null ? void 0 : i.toString(), a.geoLatitude = (u = a.geoLatitude) == null ? void 0 : u.toString(), a.orgId = f.value, a.orgId ? L.update(a).then((d) => {
|
|
90
|
+
d.status === 200 && (k({
|
|
91
|
+
message: s("common.submitSuccess"),
|
|
92
|
+
type: "success"
|
|
93
|
+
}), g.value = "second", v());
|
|
94
|
+
}) : L.create(a).then((d) => {
|
|
95
|
+
d.status === 200 && (k({
|
|
96
|
+
message: s("common.submitSuccess"),
|
|
97
|
+
type: "success"
|
|
98
|
+
}), f.value = d.data.orgId, g.value = "second", v());
|
|
99
|
+
}));
|
|
100
|
+
}));
|
|
101
|
+
};
|
|
102
|
+
let y = p([
|
|
103
|
+
{
|
|
104
|
+
label: "sysOrgInvoice.invoiceType",
|
|
105
|
+
prop: "invoiceType",
|
|
106
|
+
width: "150",
|
|
107
|
+
isColumn: !0,
|
|
108
|
+
slotName: "invoiceType",
|
|
109
|
+
columnType: "slot"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
label: "sysOrgInvoice.invoiceTitle",
|
|
113
|
+
prop: "invoiceTitle",
|
|
114
|
+
width: "150",
|
|
115
|
+
isColumn: !0
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
label: "sysOrgInvoice.taxNumber",
|
|
119
|
+
prop: "taxNumber",
|
|
120
|
+
isColumn: !0
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: "sysOrgInvoice.bankName",
|
|
124
|
+
prop: "bankName",
|
|
125
|
+
isColumn: !0
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
label: "sysOrgInvoice.backNumber",
|
|
129
|
+
prop: "backNumber",
|
|
130
|
+
isColumn: !0
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
label: "common.operate",
|
|
134
|
+
width: "200",
|
|
135
|
+
slotName: "operation",
|
|
136
|
+
columnType: "slot",
|
|
137
|
+
fixed: "right",
|
|
138
|
+
isColumn: !0
|
|
139
|
+
}
|
|
140
|
+
]);
|
|
141
|
+
const m = p({
|
|
142
|
+
title: s("common.edit"),
|
|
143
|
+
visible: !1
|
|
144
|
+
});
|
|
145
|
+
let O = h({});
|
|
146
|
+
function J() {
|
|
147
|
+
O = h({}), m.value.title = s("common.add"), m.value.visible = !0;
|
|
148
|
+
}
|
|
149
|
+
function Q(e) {
|
|
150
|
+
O.invoiceId = e.invoiceId, m.value.title = s("common.edit"), m.value.visible = !0;
|
|
151
|
+
}
|
|
152
|
+
function X(e) {
|
|
153
|
+
me.confirm(s("common.confirmDelete"), s("common.delete"), {
|
|
154
|
+
cancelButtonText: s("common.cancel"),
|
|
155
|
+
confirmButtonText: s("common.confirm"),
|
|
156
|
+
type: "warning"
|
|
157
|
+
}).then(() => {
|
|
158
|
+
C.delete(e).then((l) => {
|
|
159
|
+
l.status === 200 && (k({
|
|
160
|
+
message: s("common.deleteSuccess"),
|
|
161
|
+
type: "success"
|
|
162
|
+
}), v());
|
|
163
|
+
});
|
|
164
|
+
}).catch(() => {
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
function v() {
|
|
168
|
+
C.findList({ orgId: f.value }).then(({ data: e }) => {
|
|
169
|
+
I.value = e.results;
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
function Y(e) {
|
|
173
|
+
e && v();
|
|
174
|
+
}
|
|
175
|
+
function Z(e) {
|
|
176
|
+
N.selectionRows.value = e;
|
|
177
|
+
}
|
|
178
|
+
function ee(e) {
|
|
179
|
+
N.handleSort(e.prop, e.order);
|
|
180
|
+
}
|
|
181
|
+
return (e, l) => {
|
|
182
|
+
const i = c("el-input"), u = c("el-form-item"), d = c("el-col"), oe = se, M = c("el-row"), E = c("el-button"), te = c("el-form"), U = c("el-tab-pane"), le = c("jmash-column-select"), ae = c("jmash-table"), S = c("el-card"), ne = c("el-tabs"), w = de("hasPerm");
|
|
183
|
+
return b(), T("div", ve, [
|
|
184
|
+
o(S, { shadow: "never" }, {
|
|
185
|
+
default: t(() => [
|
|
186
|
+
o(ne, {
|
|
187
|
+
modelValue: g.value,
|
|
188
|
+
"onUpdate:modelValue": l[10] || (l[10] = (n) => g.value = n),
|
|
189
|
+
onTabClick: A
|
|
190
|
+
}, {
|
|
191
|
+
default: t(() => [
|
|
192
|
+
o(U, {
|
|
193
|
+
label: "公司信息",
|
|
194
|
+
name: "first"
|
|
195
|
+
}, {
|
|
196
|
+
default: t(() => [
|
|
197
|
+
o(te, {
|
|
198
|
+
ref_key: "sysOrgFormRef",
|
|
199
|
+
ref: $,
|
|
200
|
+
model: r(a),
|
|
201
|
+
"label-width": "120px",
|
|
202
|
+
rules: G
|
|
203
|
+
}, {
|
|
204
|
+
default: t(() => [
|
|
205
|
+
o(M, null, {
|
|
206
|
+
default: t(() => [
|
|
207
|
+
o(d, { span: 24 }, {
|
|
208
|
+
default: t(() => [
|
|
209
|
+
o(u, {
|
|
210
|
+
label: e.$t("sysOrg.orgName"),
|
|
211
|
+
prop: "orgName"
|
|
212
|
+
}, {
|
|
213
|
+
default: t(() => [
|
|
214
|
+
o(i, {
|
|
215
|
+
modelValue: r(a).orgName,
|
|
216
|
+
"onUpdate:modelValue": l[0] || (l[0] = (n) => r(a).orgName = n),
|
|
217
|
+
placeholder: e.$t("sysOrg.orgNameRequired"),
|
|
218
|
+
maxlength: "50",
|
|
219
|
+
"show-word-limit": "",
|
|
220
|
+
clearable: ""
|
|
221
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
}, 8, ["label"])
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}),
|
|
228
|
+
o(d, { span: 24 }, {
|
|
229
|
+
default: t(() => [
|
|
230
|
+
o(u, {
|
|
231
|
+
label: e.$t("sysOrg.address"),
|
|
232
|
+
prop: "address"
|
|
233
|
+
}, {
|
|
234
|
+
default: t(() => [
|
|
235
|
+
o(i, {
|
|
236
|
+
modelValue: r(a).address,
|
|
237
|
+
"onUpdate:modelValue": l[1] || (l[1] = (n) => r(a).address = n),
|
|
238
|
+
placeholder: e.$t("sysOrg.addressRequired"),
|
|
239
|
+
maxlength: "120",
|
|
240
|
+
"show-word-limit": "",
|
|
241
|
+
clearable: ""
|
|
242
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}, 8, ["label"])
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
}),
|
|
249
|
+
o(d, { span: 24 }, {
|
|
250
|
+
default: t(() => [
|
|
251
|
+
o(u, null, {
|
|
252
|
+
default: t(() => [
|
|
253
|
+
o(oe, {
|
|
254
|
+
address: r(a).address,
|
|
255
|
+
onGetLatLng: H,
|
|
256
|
+
onGetAddress: W
|
|
257
|
+
}, null, 8, ["address"])
|
|
258
|
+
]),
|
|
259
|
+
_: 1
|
|
260
|
+
})
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}),
|
|
264
|
+
o(d, { span: 12 }, {
|
|
265
|
+
default: t(() => [
|
|
266
|
+
o(u, {
|
|
267
|
+
label: e.$t("sysOrg.geoLongitude"),
|
|
268
|
+
prop: "geoLongitude"
|
|
269
|
+
}, {
|
|
270
|
+
default: t(() => [
|
|
271
|
+
o(i, {
|
|
272
|
+
modelValue: r(a).geoLongitude,
|
|
273
|
+
"onUpdate:modelValue": l[2] || (l[2] = (n) => r(a).geoLongitude = n),
|
|
274
|
+
clearable: "",
|
|
275
|
+
disabled: !0
|
|
276
|
+
}, null, 8, ["modelValue"])
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}, 8, ["label"])
|
|
280
|
+
]),
|
|
281
|
+
_: 1
|
|
282
|
+
}),
|
|
283
|
+
o(d, { span: 12 }, {
|
|
284
|
+
default: t(() => [
|
|
285
|
+
o(u, {
|
|
286
|
+
label: e.$t("sysOrg.geoLatitude"),
|
|
287
|
+
prop: "geoLatitude"
|
|
288
|
+
}, {
|
|
289
|
+
default: t(() => [
|
|
290
|
+
o(i, {
|
|
291
|
+
modelValue: r(a).geoLatitude,
|
|
292
|
+
"onUpdate:modelValue": l[3] || (l[3] = (n) => r(a).geoLatitude = n),
|
|
293
|
+
clearable: "",
|
|
294
|
+
disabled: !0
|
|
295
|
+
}, null, 8, ["modelValue"])
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}, 8, ["label"])
|
|
299
|
+
]),
|
|
300
|
+
_: 1
|
|
301
|
+
}),
|
|
302
|
+
o(d, { span: 12 }, {
|
|
303
|
+
default: t(() => [
|
|
304
|
+
o(u, {
|
|
305
|
+
label: e.$t("sysOrg.contactPerson"),
|
|
306
|
+
prop: "contactPerson"
|
|
307
|
+
}, {
|
|
308
|
+
default: t(() => [
|
|
309
|
+
o(i, {
|
|
310
|
+
modelValue: r(a).contactPerson,
|
|
311
|
+
"onUpdate:modelValue": l[4] || (l[4] = (n) => r(a).contactPerson = n),
|
|
312
|
+
placeholder: e.$t("sysOrg.contactPersonRequired"),
|
|
313
|
+
maxlength: "20",
|
|
314
|
+
"show-word-limit": "",
|
|
315
|
+
clearable: ""
|
|
316
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
317
|
+
]),
|
|
318
|
+
_: 1
|
|
319
|
+
}, 8, ["label"])
|
|
320
|
+
]),
|
|
321
|
+
_: 1
|
|
322
|
+
}),
|
|
323
|
+
o(d, { span: 12 }, {
|
|
324
|
+
default: t(() => [
|
|
325
|
+
o(u, {
|
|
326
|
+
label: e.$t("sysOrg.contactPersonPosi"),
|
|
327
|
+
prop: "contactPersonPosi"
|
|
328
|
+
}, {
|
|
329
|
+
default: t(() => [
|
|
330
|
+
o(i, {
|
|
331
|
+
modelValue: r(a).contactPersonPosi,
|
|
332
|
+
"onUpdate:modelValue": l[5] || (l[5] = (n) => r(a).contactPersonPosi = n),
|
|
333
|
+
placeholder: e.$t("sysOrg.contactPersonPosiRequired"),
|
|
334
|
+
maxlength: "30",
|
|
335
|
+
"show-word-limit": "",
|
|
336
|
+
clearable: ""
|
|
337
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
338
|
+
]),
|
|
339
|
+
_: 1
|
|
340
|
+
}, 8, ["label"])
|
|
341
|
+
]),
|
|
342
|
+
_: 1
|
|
343
|
+
}),
|
|
344
|
+
o(d, { span: 12 }, {
|
|
345
|
+
default: t(() => [
|
|
346
|
+
o(u, {
|
|
347
|
+
label: e.$t("sysOrg.contactPersonTel"),
|
|
348
|
+
prop: "contactPersonTel"
|
|
349
|
+
}, {
|
|
350
|
+
default: t(() => [
|
|
351
|
+
o(i, {
|
|
352
|
+
modelValue: r(a).contactPersonTel,
|
|
353
|
+
"onUpdate:modelValue": l[6] || (l[6] = (n) => r(a).contactPersonTel = n),
|
|
354
|
+
placeholder: e.$t("sysOrg.contactPersonTels"),
|
|
355
|
+
maxlength: "15",
|
|
356
|
+
"show-word-limit": "",
|
|
357
|
+
clearable: ""
|
|
358
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
}, 8, ["label"])
|
|
362
|
+
]),
|
|
363
|
+
_: 1
|
|
364
|
+
}),
|
|
365
|
+
o(d, { span: 12 }, {
|
|
366
|
+
default: t(() => [
|
|
367
|
+
o(u, {
|
|
368
|
+
label: e.$t("sysOrg.contactPersonMobile"),
|
|
369
|
+
prop: "contactPersonMobile"
|
|
370
|
+
}, {
|
|
371
|
+
default: t(() => [
|
|
372
|
+
o(i, {
|
|
373
|
+
modelValue: r(a).contactPersonMobile,
|
|
374
|
+
"onUpdate:modelValue": l[7] || (l[7] = (n) => r(a).contactPersonMobile = n),
|
|
375
|
+
placeholder: e.$t("sysOrg.contactPersonMobileRequired"),
|
|
376
|
+
maxlength: "11",
|
|
377
|
+
"show-word-limit": "",
|
|
378
|
+
clearable: ""
|
|
379
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
380
|
+
]),
|
|
381
|
+
_: 1
|
|
382
|
+
}, 8, ["label"])
|
|
383
|
+
]),
|
|
384
|
+
_: 1
|
|
385
|
+
})
|
|
386
|
+
]),
|
|
387
|
+
_: 1
|
|
388
|
+
}),
|
|
389
|
+
o(u, null, {
|
|
390
|
+
default: t(() => [
|
|
391
|
+
o(E, {
|
|
392
|
+
type: "primary",
|
|
393
|
+
onClick: z
|
|
394
|
+
}, {
|
|
395
|
+
default: t(() => [
|
|
396
|
+
P(_(e.$t("common.save")), 1)
|
|
397
|
+
]),
|
|
398
|
+
_: 1
|
|
399
|
+
})
|
|
400
|
+
]),
|
|
401
|
+
_: 1
|
|
402
|
+
})
|
|
403
|
+
]),
|
|
404
|
+
_: 1
|
|
405
|
+
}, 8, ["model", "rules"])
|
|
406
|
+
]),
|
|
407
|
+
_: 1
|
|
408
|
+
}),
|
|
409
|
+
f.value ? (b(), R(U, {
|
|
410
|
+
key: 0,
|
|
411
|
+
label: "发票信息",
|
|
412
|
+
name: "second"
|
|
413
|
+
}, {
|
|
414
|
+
default: t(() => [
|
|
415
|
+
o(S, {
|
|
416
|
+
shadow: "never",
|
|
417
|
+
class: "table-container"
|
|
418
|
+
}, {
|
|
419
|
+
header: t(() => [
|
|
420
|
+
o(M, null, {
|
|
421
|
+
default: t(() => [
|
|
422
|
+
o(d, { span: 17 }, {
|
|
423
|
+
default: t(() => [
|
|
424
|
+
q((b(), R(E, {
|
|
425
|
+
type: "primary",
|
|
426
|
+
onClick: J
|
|
427
|
+
}, {
|
|
428
|
+
default: t(() => [
|
|
429
|
+
P(_(e.$t("common.add")), 1)
|
|
430
|
+
]),
|
|
431
|
+
_: 1
|
|
432
|
+
})), [
|
|
433
|
+
[w, ["itsmsys:sys_org_invoice:add"]]
|
|
434
|
+
])
|
|
435
|
+
]),
|
|
436
|
+
_: 1
|
|
437
|
+
}),
|
|
438
|
+
o(d, {
|
|
439
|
+
span: 7,
|
|
440
|
+
class: "container-float"
|
|
441
|
+
}, {
|
|
442
|
+
default: t(() => [
|
|
443
|
+
o(le, {
|
|
444
|
+
modelValue: r(y),
|
|
445
|
+
"onUpdate:modelValue": l[8] || (l[8] = (n) => ue(y) ? y.value = n : y = n),
|
|
446
|
+
"label-name": "jobs/job-trigger"
|
|
447
|
+
}, null, 8, ["modelValue"])
|
|
448
|
+
]),
|
|
449
|
+
_: 1
|
|
450
|
+
})
|
|
451
|
+
]),
|
|
452
|
+
_: 1
|
|
453
|
+
})
|
|
454
|
+
]),
|
|
455
|
+
default: t(() => [
|
|
456
|
+
o(ae, {
|
|
457
|
+
ref_key: "multipleTableRef",
|
|
458
|
+
ref: B,
|
|
459
|
+
class: "table-top",
|
|
460
|
+
"row-key": "triggerId",
|
|
461
|
+
"list-loading": r(x),
|
|
462
|
+
data: I.value,
|
|
463
|
+
"table-label": r(y),
|
|
464
|
+
onSelectionChange: Z,
|
|
465
|
+
onSortChange: ee
|
|
466
|
+
}, {
|
|
467
|
+
invoiceType: t((n) => [
|
|
468
|
+
ce("span", null, _(r(ye).invoiceTypeDictEnum.getEnumValue(
|
|
469
|
+
n.data.row.invoiceType
|
|
470
|
+
)), 1)
|
|
471
|
+
]),
|
|
472
|
+
operation: t((n) => [
|
|
473
|
+
q((b(), T("span", {
|
|
474
|
+
class: "el-button-color",
|
|
475
|
+
onClick: (re) => Q(n.data.row)
|
|
476
|
+
}, [
|
|
477
|
+
P(_(e.$t("common.edit")), 1)
|
|
478
|
+
], 8, _e)), [
|
|
479
|
+
[w, ["itsmsys:sys_org_invoice:update"]]
|
|
480
|
+
]),
|
|
481
|
+
q((b(), T("span", {
|
|
482
|
+
class: "el-button-color dropdown-left",
|
|
483
|
+
onClick: (re) => X(n.data.row)
|
|
484
|
+
}, [
|
|
485
|
+
P(_(e.$t("common.delete")), 1)
|
|
486
|
+
], 8, he)), [
|
|
487
|
+
[w, ["itsmsys:sys_org_invoice:delete"]]
|
|
488
|
+
])
|
|
489
|
+
]),
|
|
490
|
+
_: 1
|
|
491
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
492
|
+
]),
|
|
493
|
+
_: 1
|
|
494
|
+
}),
|
|
495
|
+
m.value.visible ? (b(), R(be, {
|
|
496
|
+
key: 0,
|
|
497
|
+
modelValue: m.value.visible,
|
|
498
|
+
"onUpdate:modelValue": l[9] || (l[9] = (n) => m.value.visible = n),
|
|
499
|
+
title: m.value.title,
|
|
500
|
+
"org-key": f.value,
|
|
501
|
+
"invoice-key": r(O),
|
|
502
|
+
onRefresh: Y,
|
|
503
|
+
width: "700px"
|
|
504
|
+
}, null, 8, ["modelValue", "title", "org-key", "invoice-key"])) : D("", !0)
|
|
505
|
+
]),
|
|
506
|
+
_: 1
|
|
507
|
+
})) : D("", !0)
|
|
508
|
+
]),
|
|
509
|
+
_: 1
|
|
510
|
+
}, 8, ["modelValue"])
|
|
511
|
+
]),
|
|
512
|
+
_: 1
|
|
513
|
+
})
|
|
514
|
+
]);
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
});
|
|
518
|
+
export {
|
|
519
|
+
$e as default
|
|
520
|
+
};
|