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,341 @@
|
|
|
1
|
+
import { defineComponent as X, ref as N, resolveComponent as s, resolveDirective as Y, openBlock as i, createElementBlock as c, createElementVNode as R, createVNode as l, withCtx as n, withKeys as C, unref as a, createTextVNode as p, toDisplayString as d, withDirectives as y, createBlock as P, isRef as M, createCommentVNode as S, vShow as E } from "vue";
|
|
2
|
+
import { useTableHooks as Z } from "jmash-core";
|
|
3
|
+
import { useI18n as x } from "vue-i18n";
|
|
4
|
+
import { useRouter as ee } from "vue-router";
|
|
5
|
+
import { sysOrgApi as te } from "./index.mjs";
|
|
6
|
+
import { D as oe } from "./index-COPul57Z.mjs";
|
|
7
|
+
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = { key: 0 }, se = { key: 1 }, re = {
|
|
8
|
+
key: 2,
|
|
9
|
+
class: "distance-left"
|
|
10
|
+
}, ue = ["onClick"], ie = ["onClick"], de = ["onClick"], ve = /* @__PURE__ */ X({
|
|
11
|
+
__name: "index",
|
|
12
|
+
setup(me) {
|
|
13
|
+
const { t: I } = x(), h = ee(), r = N({
|
|
14
|
+
orgType: "OUTSOURCE"
|
|
15
|
+
}), {
|
|
16
|
+
tableHooks: u,
|
|
17
|
+
multipleTableRef: T,
|
|
18
|
+
queryFormRef: U,
|
|
19
|
+
listLoading: j,
|
|
20
|
+
tableData: q,
|
|
21
|
+
total: v
|
|
22
|
+
} = Z(I, te, r);
|
|
23
|
+
let b = N([
|
|
24
|
+
{
|
|
25
|
+
label: "sysOut.orgName",
|
|
26
|
+
prop: "orgName",
|
|
27
|
+
width: "270",
|
|
28
|
+
isColumn: !0
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: "sysOut.address",
|
|
32
|
+
prop: "address",
|
|
33
|
+
width: "350",
|
|
34
|
+
isColumn: !0
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
label: "sysOut.contactPerson",
|
|
38
|
+
prop: "contactPerson",
|
|
39
|
+
width: "150",
|
|
40
|
+
isColumn: !0
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: "sysOut.contactPersonMobile",
|
|
44
|
+
prop: "contactPersonMobile",
|
|
45
|
+
width: "200",
|
|
46
|
+
isColumn: !0,
|
|
47
|
+
slotName: "contactPersonMobile",
|
|
48
|
+
columnType: "slot"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: "sysOut.contactPersonTel",
|
|
52
|
+
prop: "contactPersonTel",
|
|
53
|
+
width: "200",
|
|
54
|
+
isColumn: !0
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
label: "sysOut.status",
|
|
58
|
+
prop: "status",
|
|
59
|
+
width: "150",
|
|
60
|
+
isColumn: !0,
|
|
61
|
+
slotName: "status",
|
|
62
|
+
columnType: "slot"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
label: "common.operate",
|
|
66
|
+
width: "200",
|
|
67
|
+
slotName: "operation",
|
|
68
|
+
columnType: "slot",
|
|
69
|
+
fixed: "right",
|
|
70
|
+
isColumn: !0
|
|
71
|
+
}
|
|
72
|
+
]);
|
|
73
|
+
function k(o) {
|
|
74
|
+
o.contactPersonMobileEncrypt = !o.contactPersonMobileEncrypt;
|
|
75
|
+
}
|
|
76
|
+
function D() {
|
|
77
|
+
h.push({ path: "/itsmsys/itsm-sys-out/editOutInfo" });
|
|
78
|
+
}
|
|
79
|
+
function z(o) {
|
|
80
|
+
h.push({
|
|
81
|
+
path: "/itsmsys/itsm-sys-out/editOutInfo",
|
|
82
|
+
query: { entityKey: o.orgId }
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function K(o) {
|
|
86
|
+
h.push({
|
|
87
|
+
path: "/itsmsys/itsm-sys-out/outInfo",
|
|
88
|
+
query: { orgId: o.orgId }
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function Q(o) {
|
|
92
|
+
u.selectionRows.value = o;
|
|
93
|
+
}
|
|
94
|
+
function L(o) {
|
|
95
|
+
u.handleSort(o.prop, o.order);
|
|
96
|
+
}
|
|
97
|
+
return u.getList(), (o, t) => {
|
|
98
|
+
const $ = s("el-input"), g = s("el-form-item"), f = s("el-col"), B = s("jmash-select"), w = s("el-button"), V = s("el-row"), A = s("el-form"), F = s("jmash-column-select"), O = s("svg-icon"), H = s("el-switch"), G = s("jmash-table"), J = s("jmash-pagination"), W = s("el-card"), _ = Y("hasPerm");
|
|
99
|
+
return i(), c("div", le, [
|
|
100
|
+
R("div", ne, [
|
|
101
|
+
l(A, {
|
|
102
|
+
ref_key: "queryFormRef",
|
|
103
|
+
ref: U,
|
|
104
|
+
model: r.value,
|
|
105
|
+
inline: !0
|
|
106
|
+
}, {
|
|
107
|
+
default: n(() => [
|
|
108
|
+
l(V, null, {
|
|
109
|
+
default: n(() => [
|
|
110
|
+
l(f, { span: 6 }, {
|
|
111
|
+
default: n(() => [
|
|
112
|
+
l(g, {
|
|
113
|
+
label: o.$t("sysOut.orgName"),
|
|
114
|
+
prop: "orgName"
|
|
115
|
+
}, {
|
|
116
|
+
default: n(() => [
|
|
117
|
+
l($, {
|
|
118
|
+
modelValue: r.value.orgName,
|
|
119
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.orgName = e),
|
|
120
|
+
placeholder: o.$t("sysOut.orgNameRequired"),
|
|
121
|
+
onKeyup: t[1] || (t[1] = C((e) => a(u).handleQuery(), ["enter"])),
|
|
122
|
+
class: "!w-[203px]"
|
|
123
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
124
|
+
]),
|
|
125
|
+
_: 1
|
|
126
|
+
}, 8, ["label"])
|
|
127
|
+
]),
|
|
128
|
+
_: 1
|
|
129
|
+
}),
|
|
130
|
+
l(f, { span: 6 }, {
|
|
131
|
+
default: n(() => [
|
|
132
|
+
l(g, {
|
|
133
|
+
label: o.$t("sysOut.contactPerson"),
|
|
134
|
+
prop: "contactPerson"
|
|
135
|
+
}, {
|
|
136
|
+
default: n(() => [
|
|
137
|
+
l($, {
|
|
138
|
+
modelValue: r.value.contactPerson,
|
|
139
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.contactPerson = e),
|
|
140
|
+
placeholder: o.$t("sysOut.contactPersonRequired"),
|
|
141
|
+
onKeyup: t[3] || (t[3] = C((e) => a(u).handleQuery(), ["enter"])),
|
|
142
|
+
class: "!w-[203px]"
|
|
143
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
}, 8, ["label"])
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}),
|
|
150
|
+
l(f, { span: 6 }, {
|
|
151
|
+
default: n(() => [
|
|
152
|
+
l(g, {
|
|
153
|
+
label: o.$t("sysOut.status"),
|
|
154
|
+
prop: "status"
|
|
155
|
+
}, {
|
|
156
|
+
default: n(() => [
|
|
157
|
+
l(B, {
|
|
158
|
+
modelValue: r.value.status,
|
|
159
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.status = e),
|
|
160
|
+
placeholder: o.$t("sysOut.statusRequired"),
|
|
161
|
+
data: a(oe).hasStatusDict.values,
|
|
162
|
+
clearable: "",
|
|
163
|
+
onKeyup: t[5] || (t[5] = C((e) => a(u).handleQuery(), ["enter"]))
|
|
164
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
165
|
+
]),
|
|
166
|
+
_: 1
|
|
167
|
+
}, 8, ["label"])
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}),
|
|
171
|
+
l(f, { span: 6 }, {
|
|
172
|
+
default: n(() => [
|
|
173
|
+
l(g, { class: "search-btn" }, {
|
|
174
|
+
default: n(() => [
|
|
175
|
+
l(w, {
|
|
176
|
+
type: "primary",
|
|
177
|
+
onClick: t[6] || (t[6] = (e) => a(u).handleQuery())
|
|
178
|
+
}, {
|
|
179
|
+
default: n(() => [
|
|
180
|
+
p(d(o.$t("common.search")), 1)
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
}),
|
|
184
|
+
l(w, {
|
|
185
|
+
onClick: t[7] || (t[7] = (e) => a(u).resetQuery())
|
|
186
|
+
}, {
|
|
187
|
+
default: n(() => [
|
|
188
|
+
p(d(o.$t("common.reset")), 1)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
})
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
})
|
|
198
|
+
]),
|
|
199
|
+
_: 1
|
|
200
|
+
})
|
|
201
|
+
]),
|
|
202
|
+
_: 1
|
|
203
|
+
}, 8, ["model"]),
|
|
204
|
+
t[14] || (t[14] = R("div", { class: "clear" }, null, -1))
|
|
205
|
+
]),
|
|
206
|
+
l(W, {
|
|
207
|
+
shadow: "never",
|
|
208
|
+
class: "table-container"
|
|
209
|
+
}, {
|
|
210
|
+
header: n(() => [
|
|
211
|
+
l(V, null, {
|
|
212
|
+
default: n(() => [
|
|
213
|
+
l(f, { span: 17 }, {
|
|
214
|
+
default: n(() => [
|
|
215
|
+
y((i(), P(w, {
|
|
216
|
+
type: "primary",
|
|
217
|
+
onClick: D
|
|
218
|
+
}, {
|
|
219
|
+
default: n(() => [
|
|
220
|
+
p(d(o.$t("common.add")), 1)
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
})), [
|
|
224
|
+
[_, ["itsmsys:sys_out:add"]]
|
|
225
|
+
]),
|
|
226
|
+
y((i(), P(w, {
|
|
227
|
+
type: "primary",
|
|
228
|
+
onClick: t[8] || (t[8] = (e) => a(u).deleteRecords())
|
|
229
|
+
}, {
|
|
230
|
+
default: n(() => [
|
|
231
|
+
p(d(o.$t("common.batchDelete")), 1)
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
})), [
|
|
235
|
+
[_, ["itsmsys:sys_out:delete"]]
|
|
236
|
+
])
|
|
237
|
+
]),
|
|
238
|
+
_: 1
|
|
239
|
+
}),
|
|
240
|
+
l(f, {
|
|
241
|
+
span: 7,
|
|
242
|
+
class: "container-float"
|
|
243
|
+
}, {
|
|
244
|
+
default: n(() => [
|
|
245
|
+
l(F, {
|
|
246
|
+
modelValue: a(b),
|
|
247
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => M(b) ? b.value = e : b = e),
|
|
248
|
+
"label-name": "itsmsys/itsm-sys-out"
|
|
249
|
+
}, null, 8, ["modelValue"])
|
|
250
|
+
]),
|
|
251
|
+
_: 1
|
|
252
|
+
})
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
})
|
|
256
|
+
]),
|
|
257
|
+
footer: n(() => [
|
|
258
|
+
a(v) > 0 ? (i(), P(J, {
|
|
259
|
+
key: 0,
|
|
260
|
+
total: a(v),
|
|
261
|
+
"onUpdate:total": t[10] || (t[10] = (e) => M(v) ? v.value = e : null),
|
|
262
|
+
"current-page": r.value.curPage,
|
|
263
|
+
"onUpdate:currentPage": t[11] || (t[11] = (e) => r.value.curPage = e),
|
|
264
|
+
"page-size": r.value.pageSize,
|
|
265
|
+
"onUpdate:pageSize": t[12] || (t[12] = (e) => r.value.pageSize = e),
|
|
266
|
+
onPagination: t[13] || (t[13] = (e) => a(u).getList())
|
|
267
|
+
}, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
|
|
268
|
+
]),
|
|
269
|
+
default: n(() => [
|
|
270
|
+
l(G, {
|
|
271
|
+
ref_key: "multipleTableRef",
|
|
272
|
+
ref: T,
|
|
273
|
+
"row-key": "orgId",
|
|
274
|
+
"list-loading": a(j),
|
|
275
|
+
data: a(q),
|
|
276
|
+
"table-label": a(b),
|
|
277
|
+
onSelectionChange: Q,
|
|
278
|
+
onSortChange: L
|
|
279
|
+
}, {
|
|
280
|
+
contactPersonMobile: n((e) => [
|
|
281
|
+
e.data.row.contactPersonMobileEncrypt ? (i(), c("span", se, d(e.data.row.contactPersonMobile), 1)) : (i(), c("span", ae, d(e.data.row.contactPersonMobileIns), 1)),
|
|
282
|
+
e.data.row.contactPersonMobileIns ? (i(), c("span", re, [
|
|
283
|
+
y(l(O, {
|
|
284
|
+
"icon-class": "close-eye",
|
|
285
|
+
onClick: (m) => k(e.data.row)
|
|
286
|
+
}, null, 8, ["onClick"]), [
|
|
287
|
+
[E, !e.data.row.contactPersonMobileEncrypt]
|
|
288
|
+
]),
|
|
289
|
+
y(l(O, {
|
|
290
|
+
"icon-class": "eye-open",
|
|
291
|
+
onClick: (m) => k(e.data.row)
|
|
292
|
+
}, null, 8, ["onClick"]), [
|
|
293
|
+
[E, e.data.row.contactPersonMobileEncrypt]
|
|
294
|
+
])
|
|
295
|
+
])) : S("", !0)
|
|
296
|
+
]),
|
|
297
|
+
status: n((e) => [
|
|
298
|
+
l(H, {
|
|
299
|
+
modelValue: e.data.row.status,
|
|
300
|
+
"onUpdate:modelValue": (m) => e.data.row.status = m,
|
|
301
|
+
onChange: (m) => a(u).enableRecord(e.data.row, e.data.row.status)
|
|
302
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
303
|
+
]),
|
|
304
|
+
operation: n((e) => [
|
|
305
|
+
y((i(), c("span", {
|
|
306
|
+
class: "el-button-color",
|
|
307
|
+
onClick: (m) => z(e.data.row)
|
|
308
|
+
}, [
|
|
309
|
+
p(d(o.$t("common.edit")), 1)
|
|
310
|
+
], 8, ue)), [
|
|
311
|
+
[_, ["itsmsys:sys_out:update"]]
|
|
312
|
+
]),
|
|
313
|
+
y((i(), c("span", {
|
|
314
|
+
class: "el-button-color dropdown-left",
|
|
315
|
+
onClick: (m) => a(u).deleteRecord(e.data.row)
|
|
316
|
+
}, [
|
|
317
|
+
p(d(o.$t("common.delete")), 1)
|
|
318
|
+
], 8, ie)), [
|
|
319
|
+
[_, ["itsmsys:sys_out:delete"]]
|
|
320
|
+
]),
|
|
321
|
+
y((i(), c("span", {
|
|
322
|
+
class: "el-button-color dropdown-left",
|
|
323
|
+
onClick: (m) => K(e.data.row)
|
|
324
|
+
}, [
|
|
325
|
+
p(d(o.$t("common.view")), 1)
|
|
326
|
+
], 8, de)), [
|
|
327
|
+
[_, ["itsmsys:sys_out:view"]]
|
|
328
|
+
])
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
332
|
+
]),
|
|
333
|
+
_: 1
|
|
334
|
+
})
|
|
335
|
+
]);
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
export {
|
|
340
|
+
ve as default
|
|
341
|
+
};
|
|
@@ -5,7 +5,7 @@ class i {
|
|
|
5
5
|
invoiceId: e.invoiceId
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
|
-
//
|
|
8
|
+
// 查询翻页信息机构发票信息
|
|
9
9
|
findPage(e) {
|
|
10
10
|
const r = t().user.tenant;
|
|
11
11
|
return s(e), n({
|
|
@@ -14,7 +14,7 @@ class i {
|
|
|
14
14
|
params: e
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
//
|
|
17
|
+
// 查询列表信息机构发票信息
|
|
18
18
|
findList(e) {
|
|
19
19
|
const r = t().user.tenant;
|
|
20
20
|
return s(e), n({
|
|
@@ -23,7 +23,7 @@ class i {
|
|
|
23
23
|
params: e
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
//
|
|
26
|
+
// 查询机构发票信息
|
|
27
27
|
findById(e) {
|
|
28
28
|
const r = t().user.tenant;
|
|
29
29
|
return s(e), n({
|
|
@@ -31,7 +31,7 @@ class i {
|
|
|
31
31
|
method: "get"
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
//
|
|
34
|
+
// 创建实体机构发票信息
|
|
35
35
|
create(e) {
|
|
36
36
|
return e.tenant = t().user.tenant, s(e), n({
|
|
37
37
|
url: "/v1/itsmsys/sys_org_invoice",
|
|
@@ -39,7 +39,7 @@ class i {
|
|
|
39
39
|
data: e
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
//
|
|
42
|
+
// 修改实体机构发票信息
|
|
43
43
|
update(e) {
|
|
44
44
|
return e.tenant = t().user.tenant, s(e), n({
|
|
45
45
|
url: "/v1/itsmsys/sys_org_invoice",
|
|
@@ -47,7 +47,7 @@ class i {
|
|
|
47
47
|
data: e
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
//
|
|
50
|
+
// 删除机构发票信息
|
|
51
51
|
delete(e) {
|
|
52
52
|
return e.tenant = t().user.tenant, s(e), n({
|
|
53
53
|
url: "/v1/itsmsys/sys_org_invoice/id",
|