xyvcard-itsmsys 0.0.5 → 0.0.7
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-DPM0jGQT.mjs → edit-B2gR_6I8.mjs} +1 -1
- package/dist/{edit-DLAiwJjs.mjs → edit-BbJa_Nfr.mjs} +10 -10
- package/dist/{edit-CIm8Y0Be.mjs → edit-C42Omp9z.mjs} +1 -1
- package/dist/{edit-DZJU5ZPt.mjs → edit-Dfay8i1B.mjs} +1 -1
- package/dist/{edit-CWVYUzgf.mjs → edit-Dm9CXMA6.mjs} +11 -10
- package/dist/{edit-D82hX9if.mjs → edit-Fi1_QjAr.mjs} +1 -1
- package/dist/{edit-BhRXuYku.mjs → edit-GlkC3kLR.mjs} +15 -15
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs → edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs} +24 -23
- package/dist/{edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs → edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs} +49 -48
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs → edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs} +46 -45
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs → edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs} +2 -2
- package/dist/index-B6FMyHxQ.mjs +99 -0
- package/dist/index-B6vJj_z6.mjs +74 -0
- package/dist/{index-B_cot8iN.mjs → index-BHLCtDlx.mjs} +126 -133
- package/dist/{index-C6KvLUoL.mjs → index-BV8SsW14.mjs} +1 -1
- package/dist/{index-CEUyLrKg.mjs → index-CSMVzE7h.mjs} +101 -108
- package/dist/{index-BkHGzL0R.mjs → index-Ce07ACPH.mjs} +130 -137
- package/dist/{index-CogdeN09.mjs → index-DTjJvEfz.mjs} +103 -124
- package/dist/{index-ClU157bA.mjs → index-N57BEkTO.mjs} +116 -130
- package/dist/index-Up4lAJrU.mjs +364 -0
- package/dist/index.mjs +1096 -1055
- package/dist/index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs +191 -0
- package/dist/{info-BWgVN2mJ.mjs → info-BVrtvDle.mjs} +1 -1
- package/dist/{info-70H0sycC.mjs → info-Bc3bycK1.mjs} +2 -2
- package/dist/{info-CE-ZnFj5.mjs → info-Bz6yHt3N.mjs} +1 -1
- package/dist/{info-MYJGcyMX.mjs → info-D-ykgDrJ.mjs} +1 -1
- package/dist/{info-Z5LuCRmr.mjs → info-D7YAHptq.mjs} +2 -2
- package/dist/{info-Kf11Ye-N.mjs → info-DO3PSaAZ.mjs} +2 -2
- package/dts/src/api/itsm-sys-org/types.d.ts +0 -3
- package/dts/src/api/itsm-sys-org-invoice/index.d.ts +1 -0
- package/dts/src/api/itsm-sys-org-invoice/types.d.ts +5 -1
- package/dts/src/constant.d.ts +9 -1
- package/dts/src/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index-BQRtMgmZ.mjs +0 -340
- package/dist/index-ChTssr8-.mjs +0 -123
- package/dist/index-DOXuGEyW.mjs +0 -62
- package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +0 -180
|
@@ -1,35 +1,29 @@
|
|
|
1
|
-
import { defineComponent as J, ref as
|
|
1
|
+
import { defineComponent as J, ref as P, resolveComponent as s, resolveDirective as W, openBlock as i, createElementBlock as h, createElementVNode as $, createVNode as n, withCtx as l, withKeys as V, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as f, createBlock as C, isRef as N, createCommentVNode as X } from "vue";
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
4
|
import { useRouter as x } from "vue-router";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { Constant as ee, sysOrgApi as te } from "./index.mjs";
|
|
6
|
+
import { D as oe } from "./index-B6FMyHxQ.mjs";
|
|
7
7
|
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ J({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ue) {
|
|
10
|
-
const { t:
|
|
10
|
+
const { t: O } = Z(), v = x(), u = P({
|
|
11
11
|
orgType: ee.orgType.outsource
|
|
12
12
|
}), {
|
|
13
|
-
tableHooks:
|
|
13
|
+
tableHooks: r,
|
|
14
14
|
multipleTableRef: T,
|
|
15
15
|
queryFormRef: E,
|
|
16
16
|
listLoading: I,
|
|
17
|
-
tableData:
|
|
17
|
+
tableData: R,
|
|
18
18
|
total: _
|
|
19
|
-
} = Y(
|
|
20
|
-
let
|
|
19
|
+
} = Y(O, te, u);
|
|
20
|
+
let c = P([
|
|
21
21
|
{
|
|
22
22
|
label: "sysOut.orgName",
|
|
23
23
|
prop: "orgName",
|
|
24
24
|
width: "270",
|
|
25
25
|
isColumn: !0
|
|
26
26
|
},
|
|
27
|
-
{
|
|
28
|
-
label: "sysOut.address",
|
|
29
|
-
prop: "address",
|
|
30
|
-
width: "350",
|
|
31
|
-
isColumn: !0
|
|
32
|
-
},
|
|
33
27
|
{
|
|
34
28
|
label: "sysOut.contactPerson",
|
|
35
29
|
prop: "contactPerson",
|
|
@@ -50,6 +44,12 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
50
44
|
width: "200",
|
|
51
45
|
isColumn: !0
|
|
52
46
|
},
|
|
47
|
+
{
|
|
48
|
+
label: "sysOut.address",
|
|
49
|
+
prop: "address",
|
|
50
|
+
width: "350",
|
|
51
|
+
isColumn: !0
|
|
52
|
+
},
|
|
53
53
|
{
|
|
54
54
|
label: "sysOut.status",
|
|
55
55
|
prop: "status",
|
|
@@ -67,76 +67,55 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
67
67
|
isColumn: !0
|
|
68
68
|
}
|
|
69
69
|
]);
|
|
70
|
-
function
|
|
70
|
+
function j(o) {
|
|
71
71
|
o.mobileEncrypt = !o.mobileEncrypt;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
|
|
73
|
+
function S() {
|
|
74
|
+
v.push({ path: "/rawitsmsys/itsm-sys-out/edit" });
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
76
|
+
function D(o) {
|
|
77
|
+
v.push({
|
|
78
78
|
path: "/rawitsmsys/itsm-sys-out/edit",
|
|
79
79
|
query: { entityKey: o.orgId }
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
82
|
+
function U(o) {
|
|
83
|
+
v.push({
|
|
84
84
|
path: "/rawitsmsys/itsm-sys-out/outInfo",
|
|
85
85
|
query: { orgId: o.orgId }
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
|
|
88
|
+
function q(o) {
|
|
89
|
+
r.selectionRows.value = o;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
|
|
91
|
+
function M(o) {
|
|
92
|
+
r.handleSort(o.prop, o.order);
|
|
93
93
|
}
|
|
94
|
-
return
|
|
95
|
-
const
|
|
94
|
+
return r.getList(), (o, t) => {
|
|
95
|
+
const z = s("el-input"), w = s("el-form-item"), y = s("el-col"), K = s("jmash-select"), g = s("el-button"), k = s("el-row"), L = s("el-form"), Q = s("jmash-column-select"), B = s("jmash-mobileIns-component"), A = s("el-switch"), F = s("jmash-table"), H = s("jmash-pagination"), G = s("el-card"), b = W("hasPerm");
|
|
96
96
|
return i(), h("div", le, [
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
$("div", ne, [
|
|
98
|
+
n(L, {
|
|
99
99
|
ref_key: "queryFormRef",
|
|
100
100
|
ref: E,
|
|
101
|
-
model:
|
|
101
|
+
model: u.value,
|
|
102
102
|
inline: !0
|
|
103
103
|
}, {
|
|
104
|
-
default:
|
|
105
|
-
|
|
106
|
-
default:
|
|
107
|
-
|
|
108
|
-
default:
|
|
109
|
-
|
|
104
|
+
default: l(() => [
|
|
105
|
+
n(k, null, {
|
|
106
|
+
default: l(() => [
|
|
107
|
+
n(y, { span: 6 }, {
|
|
108
|
+
default: l(() => [
|
|
109
|
+
n(w, {
|
|
110
110
|
label: o.$t("sysOut.orgName"),
|
|
111
111
|
prop: "likeOrgName"
|
|
112
112
|
}, {
|
|
113
|
-
default:
|
|
114
|
-
|
|
115
|
-
modelValue:
|
|
116
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) =>
|
|
113
|
+
default: l(() => [
|
|
114
|
+
n(z, {
|
|
115
|
+
modelValue: u.value.likeOrgName,
|
|
116
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.likeOrgName = e),
|
|
117
117
|
placeholder: o.$t("sysOut.orgNameRequired"),
|
|
118
|
-
onKeyup: t[1] || (t[1] =
|
|
119
|
-
class: "!w-[203px]",
|
|
120
|
-
clearable: ""
|
|
121
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}, 8, ["label"])
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
}),
|
|
128
|
-
l(p, { span: 6 }, {
|
|
129
|
-
default: n(() => [
|
|
130
|
-
l(g, {
|
|
131
|
-
label: o.$t("sysOut.contactPerson"),
|
|
132
|
-
prop: "contactPerson"
|
|
133
|
-
}, {
|
|
134
|
-
default: n(() => [
|
|
135
|
-
l($, {
|
|
136
|
-
modelValue: r.value.contactPerson,
|
|
137
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.contactPerson = e),
|
|
138
|
-
placeholder: o.$t("sysOut.contactPersonRequired"),
|
|
139
|
-
onKeyup: t[3] || (t[3] = C((e) => a(u).handleQuery(), ["enter"])),
|
|
118
|
+
onKeyup: t[1] || (t[1] = V((e) => a(r).handleQuery(), ["enter"])),
|
|
140
119
|
class: "!w-[203px]",
|
|
141
120
|
clearable: ""
|
|
142
121
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -146,20 +125,20 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
146
125
|
]),
|
|
147
126
|
_: 1
|
|
148
127
|
}),
|
|
149
|
-
|
|
150
|
-
default:
|
|
151
|
-
|
|
128
|
+
n(y, { span: 6 }, {
|
|
129
|
+
default: l(() => [
|
|
130
|
+
n(w, {
|
|
152
131
|
label: o.$t("sysOut.status"),
|
|
153
132
|
prop: "status"
|
|
154
133
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
|
|
157
|
-
modelValue:
|
|
158
|
-
"onUpdate:modelValue": t[
|
|
134
|
+
default: l(() => [
|
|
135
|
+
n(K, {
|
|
136
|
+
modelValue: u.value.status,
|
|
137
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.status = e),
|
|
159
138
|
placeholder: o.$t("sysOut.statusRequired"),
|
|
160
|
-
data: a(
|
|
139
|
+
data: a(oe).hasStatusDict.values,
|
|
161
140
|
clearable: "",
|
|
162
|
-
onKeyup: t[
|
|
141
|
+
onKeyup: t[3] || (t[3] = V((e) => a(r).handleQuery(), ["enter"]))
|
|
163
142
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
164
143
|
]),
|
|
165
144
|
_: 1
|
|
@@ -167,23 +146,23 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
167
146
|
]),
|
|
168
147
|
_: 1
|
|
169
148
|
}),
|
|
170
|
-
|
|
171
|
-
default:
|
|
172
|
-
|
|
173
|
-
default:
|
|
174
|
-
|
|
149
|
+
n(y, { span: 12 }, {
|
|
150
|
+
default: l(() => [
|
|
151
|
+
n(w, { class: "search-btn" }, {
|
|
152
|
+
default: l(() => [
|
|
153
|
+
n(g, {
|
|
175
154
|
type: "primary",
|
|
176
|
-
onClick: t[
|
|
155
|
+
onClick: t[4] || (t[4] = (e) => a(r).handleQuery())
|
|
177
156
|
}, {
|
|
178
|
-
default:
|
|
157
|
+
default: l(() => [
|
|
179
158
|
m(d(o.$t("common.search")), 1)
|
|
180
159
|
]),
|
|
181
160
|
_: 1
|
|
182
161
|
}),
|
|
183
|
-
|
|
184
|
-
onClick: t[
|
|
162
|
+
n(g, {
|
|
163
|
+
onClick: t[5] || (t[5] = (e) => a(r).resetQuery())
|
|
185
164
|
}, {
|
|
186
|
-
default:
|
|
165
|
+
default: l(() => [
|
|
187
166
|
m(d(o.$t("common.reset")), 1)
|
|
188
167
|
]),
|
|
189
168
|
_: 1
|
|
@@ -200,33 +179,33 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
200
179
|
]),
|
|
201
180
|
_: 1
|
|
202
181
|
}, 8, ["model"]),
|
|
203
|
-
t[
|
|
182
|
+
t[12] || (t[12] = $("div", { class: "clear" }, null, -1))
|
|
204
183
|
]),
|
|
205
|
-
|
|
184
|
+
n(G, {
|
|
206
185
|
shadow: "never",
|
|
207
186
|
class: "table-container"
|
|
208
187
|
}, {
|
|
209
|
-
header:
|
|
210
|
-
|
|
211
|
-
default:
|
|
212
|
-
|
|
213
|
-
default:
|
|
214
|
-
f((i(),
|
|
188
|
+
header: l(() => [
|
|
189
|
+
n(k, null, {
|
|
190
|
+
default: l(() => [
|
|
191
|
+
n(y, { span: 17 }, {
|
|
192
|
+
default: l(() => [
|
|
193
|
+
f((i(), C(g, {
|
|
215
194
|
type: "primary",
|
|
216
|
-
onClick:
|
|
195
|
+
onClick: S
|
|
217
196
|
}, {
|
|
218
|
-
default:
|
|
197
|
+
default: l(() => [
|
|
219
198
|
m(d(o.$t("common.add")), 1)
|
|
220
199
|
]),
|
|
221
200
|
_: 1
|
|
222
201
|
})), [
|
|
223
202
|
[b, ["itsmsys:sys_out:add"]]
|
|
224
203
|
]),
|
|
225
|
-
f((i(),
|
|
204
|
+
f((i(), C(g, {
|
|
226
205
|
type: "primary",
|
|
227
|
-
onClick: t[
|
|
206
|
+
onClick: t[6] || (t[6] = (e) => a(r).deleteRecords())
|
|
228
207
|
}, {
|
|
229
|
-
default:
|
|
208
|
+
default: l(() => [
|
|
230
209
|
m(d(o.$t("common.batchDelete")), 1)
|
|
231
210
|
]),
|
|
232
211
|
_: 1
|
|
@@ -236,14 +215,14 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
236
215
|
]),
|
|
237
216
|
_: 1
|
|
238
217
|
}),
|
|
239
|
-
|
|
218
|
+
n(y, {
|
|
240
219
|
span: 7,
|
|
241
220
|
class: "container-float"
|
|
242
221
|
}, {
|
|
243
|
-
default:
|
|
244
|
-
|
|
245
|
-
modelValue: a(
|
|
246
|
-
"onUpdate:modelValue": t[
|
|
222
|
+
default: l(() => [
|
|
223
|
+
n(Q, {
|
|
224
|
+
modelValue: a(c),
|
|
225
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => N(c) ? c.value = e : c = e),
|
|
247
226
|
"label-name": "itsmsys/itsm-sys-out"
|
|
248
227
|
}, null, 8, ["modelValue"])
|
|
249
228
|
]),
|
|
@@ -253,48 +232,48 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
253
232
|
_: 1
|
|
254
233
|
})
|
|
255
234
|
]),
|
|
256
|
-
footer:
|
|
257
|
-
a(_) > 0 ? (i(),
|
|
235
|
+
footer: l(() => [
|
|
236
|
+
a(_) > 0 ? (i(), C(H, {
|
|
258
237
|
key: 0,
|
|
259
238
|
total: a(_),
|
|
260
|
-
"onUpdate:total": t[
|
|
261
|
-
"current-page":
|
|
262
|
-
"onUpdate:currentPage": t[
|
|
263
|
-
"page-size":
|
|
264
|
-
"onUpdate:pageSize": t[
|
|
265
|
-
onPagination: t[
|
|
239
|
+
"onUpdate:total": t[8] || (t[8] = (e) => N(_) ? _.value = e : null),
|
|
240
|
+
"current-page": u.value.curPage,
|
|
241
|
+
"onUpdate:currentPage": t[9] || (t[9] = (e) => u.value.curPage = e),
|
|
242
|
+
"page-size": u.value.pageSize,
|
|
243
|
+
"onUpdate:pageSize": t[10] || (t[10] = (e) => u.value.pageSize = e),
|
|
244
|
+
onPagination: t[11] || (t[11] = (e) => a(r).getList())
|
|
266
245
|
}, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
|
|
267
246
|
]),
|
|
268
|
-
default:
|
|
269
|
-
|
|
247
|
+
default: l(() => [
|
|
248
|
+
n(F, {
|
|
270
249
|
ref_key: "multipleTableRef",
|
|
271
250
|
ref: T,
|
|
272
251
|
"row-key": "orgId",
|
|
273
252
|
"list-loading": a(I),
|
|
274
|
-
data: a(
|
|
275
|
-
"table-label": a(
|
|
276
|
-
onSelectionChange:
|
|
277
|
-
onSortChange:
|
|
253
|
+
data: a(R),
|
|
254
|
+
"table-label": a(c),
|
|
255
|
+
onSelectionChange: q,
|
|
256
|
+
onSortChange: M
|
|
278
257
|
}, {
|
|
279
|
-
contactPersonMobile:
|
|
280
|
-
|
|
258
|
+
contactPersonMobile: l((e) => [
|
|
259
|
+
n(B, {
|
|
281
260
|
mobilePhoneIns: e.data.row.contactPersonMobileIns,
|
|
282
261
|
mobilePhone: e.data.row.contactPersonMobile,
|
|
283
262
|
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
284
|
-
onToggleEncrypt: (
|
|
263
|
+
onToggleEncrypt: (p) => j(e.data.row)
|
|
285
264
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
286
265
|
]),
|
|
287
|
-
status:
|
|
288
|
-
|
|
266
|
+
status: l((e) => [
|
|
267
|
+
n(A, {
|
|
289
268
|
modelValue: e.data.row.status,
|
|
290
|
-
"onUpdate:modelValue": (
|
|
291
|
-
onChange: (
|
|
269
|
+
"onUpdate:modelValue": (p) => e.data.row.status = p,
|
|
270
|
+
onChange: (p) => a(r).enableRecord(e.data.row, e.data.row.status)
|
|
292
271
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
293
272
|
]),
|
|
294
|
-
operation:
|
|
273
|
+
operation: l((e) => [
|
|
295
274
|
f((i(), h("span", {
|
|
296
275
|
class: "el-button-color",
|
|
297
|
-
onClick: (
|
|
276
|
+
onClick: (p) => D(e.data.row)
|
|
298
277
|
}, [
|
|
299
278
|
m(d(o.$t("common.edit")), 1)
|
|
300
279
|
], 8, ae)), [
|
|
@@ -302,7 +281,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
302
281
|
]),
|
|
303
282
|
f((i(), h("span", {
|
|
304
283
|
class: "el-button-color dropdown-left",
|
|
305
|
-
onClick: (
|
|
284
|
+
onClick: (p) => a(r).deleteRecord(e.data.row)
|
|
306
285
|
}, [
|
|
307
286
|
m(d(o.$t("common.delete")), 1)
|
|
308
287
|
], 8, se)), [
|
|
@@ -310,7 +289,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
310
289
|
]),
|
|
311
290
|
f((i(), h("span", {
|
|
312
291
|
class: "el-button-color dropdown-left",
|
|
313
|
-
onClick: (
|
|
292
|
+
onClick: (p) => U(e.data.row)
|
|
314
293
|
}, [
|
|
315
294
|
m(d(o.$t("common.view")), 1)
|
|
316
295
|
], 8, re)), [
|