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