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