xyvcard-itsmsys 0.0.12 → 0.0.13
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-aqBMKpoJ.mjs → edit-B7N9QLYv.mjs} +97 -82
- package/dist/{edit-C-Ddf0UV.mjs → edit-CBnnqc6q.mjs} +103 -87
- package/dist/{edit-BSgQ7aTw.mjs → edit-CuD0yKla.mjs} +1 -1
- package/dist/{edit-BSllWdRO.mjs → edit-D2lhB7lU.mjs} +1 -1
- package/dist/{edit-CNw8JPUb.mjs → edit-DQ04LbhC.mjs} +89 -74
- package/dist/{edit-Cd4dWFsH.mjs → edit-IRLCMnWT.mjs} +1 -1
- package/dist/{edit-q5TFAMBm.mjs → edit-g4L03h6h.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BJcLgzvH.mjs → edit.vue_vue_type_script_setup_true_lang-CEzM2X-C.mjs} +50 -50
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs → edit.vue_vue_type_script_setup_true_lang-DD9BucLK.mjs} +50 -50
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D1lAHFeM.mjs → edit.vue_vue_type_script_setup_true_lang-Daxe3FpV.mjs} +44 -37
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BV_YHrlE.mjs → edit.vue_vue_type_script_setup_true_lang-SzJApeB-.mjs} +74 -74
- package/dist/import-upload-Bsl-7w0B.mjs +161 -0
- package/dist/import-upload-COLdGpcs.mjs +161 -0
- package/dist/{index-Dno_3GpX.mjs → index-B4M6ZC7N.mjs} +91 -40
- package/dist/{index-BY5Djw_C.mjs → index-BBPQd1dS.mjs} +138 -127
- package/dist/{index-BaixQptZ.mjs → index-BxX1lrD5.mjs} +63 -61
- package/dist/{index-LOMCvxtf.mjs → index-CzVhcXfx.mjs} +57 -55
- package/dist/index-DNpEXtyQ.mjs +423 -0
- package/dist/{index-DrBtW9Aj.mjs → index-Dh_kNwqv.mjs} +144 -157
- package/dist/{index-Cz9Xj4Mn.mjs → index-Dih4mOx4.mjs} +1 -1
- package/dist/index-n4FekcLF.mjs +504 -0
- package/dist/index.mjs +118 -114
- package/dist/{index.vue_vue_type_script_setup_true_lang-C67sXgs5.mjs → index.vue_vue_type_script_setup_true_lang-D0pyunau.mjs} +2 -2
- package/dist/info-BHylKqOX.mjs +186 -0
- package/dist/info-BZOWTNSd.mjs +209 -0
- package/dist/{info-BUDmirQy.mjs → info-CDtqpKVD.mjs} +80 -58
- package/dist/{info-D0Pwnmsu.mjs → info-XDDe5ve6.mjs} +1 -1
- package/dist/{info-C3knY6l_.mjs → info-bwhmPzeG.mjs} +1 -1
- package/dist/info-dBqoxL-p.mjs +209 -0
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +7 -1
- package/dts/api/index.d.ts +3 -1
- package/dts/api/itsm-sys-org/types.d.ts +1 -0
- package/dts/api/itsm-sys-user-ext/types.d.ts +4 -0
- package/dts/constant.d.ts +8 -0
- package/dts/lang/itsmsys/zh-cn.d.ts +4 -0
- package/package.json +1 -1
- package/dist/import-upload-BIT504-g.mjs +0 -4
- package/dist/import-upload-pZG8yku3.mjs +0 -4
- package/dist/import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs +0 -162
- package/dist/import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs +0 -162
- package/dist/index-CoMhbtrg.mjs +0 -449
- package/dist/index-DPz8be3T.mjs +0 -351
- package/dist/info-BivxW-qV.mjs +0 -187
- package/dist/info-Bn-BseIm.mjs +0 -187
- package/dist/info-C-ga_8K9.mjs +0 -176
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { C as
|
|
1
|
+
import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective as X, openBlock as i, createElementBlock as h, createElementVNode as V, createVNode as n, withCtx as l, withKeys as N, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as _, createBlock as C, isRef as O, createCommentVNode as Y } 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 { C as k, D as te } from "./index-B4M6ZC7N.mjs";
|
|
6
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__ */
|
|
7
|
+
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ W({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ue) {
|
|
10
|
-
const { t:
|
|
11
|
-
orgType:
|
|
10
|
+
const { t: T } = x(), v = ee(), u = $({
|
|
11
|
+
orgType: k.orgType.outsource,
|
|
12
|
+
orderName: k.orderBy.orderName,
|
|
13
|
+
orderAsc: k.orderBy.orderAsc
|
|
12
14
|
}), {
|
|
13
15
|
tableHooks: r,
|
|
14
|
-
multipleTableRef:
|
|
15
|
-
queryFormRef:
|
|
16
|
-
listLoading:
|
|
17
|
-
tableData:
|
|
18
|
-
total:
|
|
19
|
-
} =
|
|
20
|
-
let c =
|
|
16
|
+
multipleTableRef: E,
|
|
17
|
+
queryFormRef: I,
|
|
18
|
+
listLoading: R,
|
|
19
|
+
tableData: j,
|
|
20
|
+
total: f
|
|
21
|
+
} = Z(T, oe, u);
|
|
22
|
+
let c = $([
|
|
21
23
|
{
|
|
22
24
|
label: "sysOut.orgName",
|
|
23
25
|
prop: "orgName",
|
|
@@ -67,42 +69,42 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
67
69
|
isColumn: !0
|
|
68
70
|
}
|
|
69
71
|
]);
|
|
70
|
-
function
|
|
72
|
+
function S(o) {
|
|
71
73
|
o.mobileEncrypt = !o.mobileEncrypt;
|
|
72
74
|
}
|
|
73
|
-
function
|
|
75
|
+
function D() {
|
|
74
76
|
v.push({ path: "/rawitsmsys/itsm-sys-out/edit" });
|
|
75
77
|
}
|
|
76
|
-
function
|
|
78
|
+
function U(o) {
|
|
77
79
|
v.push({
|
|
78
80
|
path: "/rawitsmsys/itsm-sys-out/edit",
|
|
79
81
|
query: { entityKey: o.orgId }
|
|
80
82
|
});
|
|
81
83
|
}
|
|
82
|
-
function
|
|
84
|
+
function q(o) {
|
|
83
85
|
v.push({
|
|
84
86
|
path: "/rawitsmsys/itsm-sys-out/outInfo",
|
|
85
87
|
query: { orgId: o.orgId }
|
|
86
88
|
});
|
|
87
89
|
}
|
|
88
|
-
function
|
|
90
|
+
function M(o) {
|
|
89
91
|
r.selectionRows.value = o;
|
|
90
92
|
}
|
|
91
|
-
function
|
|
93
|
+
function z(o) {
|
|
92
94
|
r.handleSort(o.prop, o.order);
|
|
93
95
|
}
|
|
94
96
|
return r.getList(), (o, t) => {
|
|
95
|
-
const
|
|
97
|
+
const B = s("el-input"), w = s("el-form-item"), y = s("el-col"), A = s("jmash-select"), g = s("el-button"), P = s("el-row"), K = s("el-form"), L = s("jmash-column-select"), Q = s("jmash-mobileIns-component"), F = s("el-switch"), H = s("jmash-table"), G = s("jmash-pagination"), J = s("el-card"), b = X("hasPerm");
|
|
96
98
|
return i(), h("div", le, [
|
|
97
|
-
|
|
98
|
-
n(
|
|
99
|
+
V("div", ne, [
|
|
100
|
+
n(K, {
|
|
99
101
|
ref_key: "queryFormRef",
|
|
100
|
-
ref:
|
|
102
|
+
ref: I,
|
|
101
103
|
model: u.value,
|
|
102
104
|
inline: !0
|
|
103
105
|
}, {
|
|
104
106
|
default: l(() => [
|
|
105
|
-
n(
|
|
107
|
+
n(P, null, {
|
|
106
108
|
default: l(() => [
|
|
107
109
|
n(y, { span: 6 }, {
|
|
108
110
|
default: l(() => [
|
|
@@ -111,11 +113,11 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
111
113
|
prop: "likeOrgName"
|
|
112
114
|
}, {
|
|
113
115
|
default: l(() => [
|
|
114
|
-
n(
|
|
116
|
+
n(B, {
|
|
115
117
|
modelValue: u.value.likeOrgName,
|
|
116
118
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.likeOrgName = e),
|
|
117
119
|
placeholder: o.$t("sysOut.orgNameRequired"),
|
|
118
|
-
onKeyup: t[1] || (t[1] =
|
|
120
|
+
onKeyup: t[1] || (t[1] = N((e) => a(r).handleQuery(), ["enter"])),
|
|
119
121
|
class: "!w-[203px]",
|
|
120
122
|
clearable: ""
|
|
121
123
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -132,13 +134,13 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
132
134
|
prop: "status"
|
|
133
135
|
}, {
|
|
134
136
|
default: l(() => [
|
|
135
|
-
n(
|
|
137
|
+
n(A, {
|
|
136
138
|
modelValue: u.value.status,
|
|
137
139
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.status = e),
|
|
138
140
|
placeholder: o.$t("sysOut.statusRequired"),
|
|
139
141
|
data: a(te).hasStatusDict.values,
|
|
140
142
|
clearable: "",
|
|
141
|
-
onKeyup: t[3] || (t[3] =
|
|
143
|
+
onKeyup: t[3] || (t[3] = N((e) => a(r).handleQuery(), ["enter"]))
|
|
142
144
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
143
145
|
]),
|
|
144
146
|
_: 1
|
|
@@ -179,29 +181,29 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
179
181
|
]),
|
|
180
182
|
_: 1
|
|
181
183
|
}, 8, ["model"]),
|
|
182
|
-
t[12] || (t[12] =
|
|
184
|
+
t[12] || (t[12] = V("div", { class: "clear" }, null, -1))
|
|
183
185
|
]),
|
|
184
|
-
n(
|
|
186
|
+
n(J, {
|
|
185
187
|
shadow: "never",
|
|
186
188
|
class: "table-container"
|
|
187
189
|
}, {
|
|
188
190
|
header: l(() => [
|
|
189
|
-
n(
|
|
191
|
+
n(P, null, {
|
|
190
192
|
default: l(() => [
|
|
191
193
|
n(y, { span: 17 }, {
|
|
192
194
|
default: l(() => [
|
|
193
|
-
|
|
195
|
+
_((i(), C(g, {
|
|
194
196
|
type: "primary",
|
|
195
|
-
onClick:
|
|
197
|
+
onClick: D
|
|
196
198
|
}, {
|
|
197
199
|
default: l(() => [
|
|
198
200
|
m(d(o.$t("common.add")), 1)
|
|
199
201
|
]),
|
|
200
202
|
_: 1
|
|
201
203
|
})), [
|
|
202
|
-
[b, ["itsmsys:
|
|
204
|
+
[b, ["itsmsys:sys_org_out:add"]]
|
|
203
205
|
]),
|
|
204
|
-
|
|
206
|
+
_((i(), C(g, {
|
|
205
207
|
type: "primary",
|
|
206
208
|
onClick: t[6] || (t[6] = (e) => a(r).deleteRecords())
|
|
207
209
|
}, {
|
|
@@ -210,7 +212,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
210
212
|
]),
|
|
211
213
|
_: 1
|
|
212
214
|
})), [
|
|
213
|
-
[b, ["itsmsys:
|
|
215
|
+
[b, ["itsmsys:sys_org_out:delete"]]
|
|
214
216
|
])
|
|
215
217
|
]),
|
|
216
218
|
_: 1
|
|
@@ -220,9 +222,9 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
220
222
|
class: "container-float"
|
|
221
223
|
}, {
|
|
222
224
|
default: l(() => [
|
|
223
|
-
n(
|
|
225
|
+
n(L, {
|
|
224
226
|
modelValue: a(c),
|
|
225
|
-
"onUpdate:modelValue": t[7] || (t[7] = (e) =>
|
|
227
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => O(c) ? c.value = e : c = e),
|
|
226
228
|
"label-name": "itsmsys/itsm-sys-org"
|
|
227
229
|
}, null, 8, ["modelValue"])
|
|
228
230
|
]),
|
|
@@ -233,67 +235,67 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
233
235
|
})
|
|
234
236
|
]),
|
|
235
237
|
footer: l(() => [
|
|
236
|
-
a(
|
|
238
|
+
a(f) > 0 ? (i(), C(G, {
|
|
237
239
|
key: 0,
|
|
238
|
-
total: a(
|
|
239
|
-
"onUpdate:total": t[8] || (t[8] = (e) =>
|
|
240
|
+
total: a(f),
|
|
241
|
+
"onUpdate:total": t[8] || (t[8] = (e) => O(f) ? f.value = e : null),
|
|
240
242
|
"current-page": u.value.curPage,
|
|
241
243
|
"onUpdate:currentPage": t[9] || (t[9] = (e) => u.value.curPage = e),
|
|
242
244
|
"page-size": u.value.pageSize,
|
|
243
245
|
"onUpdate:pageSize": t[10] || (t[10] = (e) => u.value.pageSize = e),
|
|
244
246
|
onPagination: t[11] || (t[11] = (e) => a(r).getList())
|
|
245
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
247
|
+
}, null, 8, ["total", "current-page", "page-size"])) : Y("", !0)
|
|
246
248
|
]),
|
|
247
249
|
default: l(() => [
|
|
248
|
-
n(
|
|
250
|
+
n(H, {
|
|
249
251
|
ref_key: "multipleTableRef",
|
|
250
|
-
ref:
|
|
252
|
+
ref: E,
|
|
251
253
|
"row-key": "orgId",
|
|
252
|
-
"list-loading": a(
|
|
253
|
-
data: a(
|
|
254
|
+
"list-loading": a(R),
|
|
255
|
+
data: a(j),
|
|
254
256
|
"table-label": a(c),
|
|
255
|
-
onSelectionChange:
|
|
256
|
-
onSortChange:
|
|
257
|
+
onSelectionChange: M,
|
|
258
|
+
onSortChange: z
|
|
257
259
|
}, {
|
|
258
260
|
contactPersonMobile: l((e) => [
|
|
259
|
-
n(
|
|
261
|
+
n(Q, {
|
|
260
262
|
mobilePhoneIns: e.data.row.contactPersonMobileIns,
|
|
261
263
|
mobilePhone: e.data.row.contactPersonMobile,
|
|
262
264
|
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
263
|
-
onToggleEncrypt: (p) =>
|
|
265
|
+
onToggleEncrypt: (p) => S(e.data.row)
|
|
264
266
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
265
267
|
]),
|
|
266
268
|
status: l((e) => [
|
|
267
|
-
n(
|
|
269
|
+
n(F, {
|
|
268
270
|
modelValue: e.data.row.status,
|
|
269
271
|
"onUpdate:modelValue": (p) => e.data.row.status = p,
|
|
270
272
|
onChange: (p) => a(r).enableRecord(e.data.row, e.data.row.status)
|
|
271
273
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
272
274
|
]),
|
|
273
275
|
operation: l((e) => [
|
|
274
|
-
|
|
276
|
+
_((i(), h("span", {
|
|
275
277
|
class: "el-button-color",
|
|
276
|
-
onClick: (p) =>
|
|
278
|
+
onClick: (p) => U(e.data.row)
|
|
277
279
|
}, [
|
|
278
280
|
m(d(o.$t("common.edit")), 1)
|
|
279
281
|
], 8, ae)), [
|
|
280
|
-
[b, ["itsmsys:
|
|
282
|
+
[b, ["itsmsys:sys_org_out:update"]]
|
|
281
283
|
]),
|
|
282
|
-
|
|
284
|
+
_((i(), h("span", {
|
|
283
285
|
class: "el-button-color dropdown-left",
|
|
284
286
|
onClick: (p) => a(r).deleteRecord(e.data.row)
|
|
285
287
|
}, [
|
|
286
288
|
m(d(o.$t("common.delete")), 1)
|
|
287
289
|
], 8, se)), [
|
|
288
|
-
[b, ["itsmsys:
|
|
290
|
+
[b, ["itsmsys:sys_org_out:delete"]]
|
|
289
291
|
]),
|
|
290
|
-
|
|
292
|
+
_((i(), h("span", {
|
|
291
293
|
class: "el-button-color dropdown-left",
|
|
292
|
-
onClick: (p) =>
|
|
294
|
+
onClick: (p) => q(e.data.row)
|
|
293
295
|
}, [
|
|
294
296
|
m(d(o.$t("common.view")), 1)
|
|
295
297
|
], 8, re)), [
|
|
296
|
-
[b, ["itsmsys:
|
|
298
|
+
[b, ["itsmsys:sys_org_out:view"]]
|
|
297
299
|
])
|
|
298
300
|
]),
|
|
299
301
|
_: 1
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { C as
|
|
1
|
+
import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective as X, openBlock as m, createElementBlock as h, createElementVNode as V, createVNode as n, withCtx as l, withKeys as N, unref as a, createTextVNode as d, toDisplayString as u, withDirectives as b, createBlock as C, isRef as O, createCommentVNode as Y } from "vue";
|
|
2
|
+
import { useTableHooks as Z } from "jmash-core";
|
|
3
|
+
import { useI18n as x } from "vue-i18n";
|
|
4
|
+
import { C as k, D as ee } from "./index-B4M6ZC7N.mjs";
|
|
5
5
|
import { sysOrgApi as te } from "./index.mjs";
|
|
6
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__ */
|
|
7
|
+
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], ge = /* @__PURE__ */ W({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ie) {
|
|
10
|
-
const { t:
|
|
11
|
-
orgType:
|
|
10
|
+
const { t: T } = x(), v = oe(), i = $({
|
|
11
|
+
orgType: k.orgType.cloud,
|
|
12
|
+
orderName: k.orderBy.orderName,
|
|
13
|
+
orderAsc: k.orderBy.orderAsc
|
|
12
14
|
}), {
|
|
13
15
|
tableHooks: r,
|
|
14
|
-
multipleTableRef:
|
|
15
|
-
queryFormRef:
|
|
16
|
-
listLoading:
|
|
17
|
-
tableData:
|
|
16
|
+
multipleTableRef: E,
|
|
17
|
+
queryFormRef: I,
|
|
18
|
+
listLoading: R,
|
|
19
|
+
tableData: j,
|
|
18
20
|
total: f
|
|
19
|
-
} =
|
|
20
|
-
let c =
|
|
21
|
+
} = Z(T, te, i);
|
|
22
|
+
let c = $([
|
|
21
23
|
{
|
|
22
24
|
label: "sysOrg.orgName",
|
|
23
25
|
prop: "orgName",
|
|
@@ -67,42 +69,42 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
67
69
|
isColumn: !0
|
|
68
70
|
}
|
|
69
71
|
]);
|
|
70
|
-
function
|
|
72
|
+
function S(o) {
|
|
71
73
|
o.mobileEncrypt = !o.mobileEncrypt;
|
|
72
74
|
}
|
|
73
|
-
function
|
|
75
|
+
function D() {
|
|
74
76
|
v.push({ path: "/rawitsmsys/itsm-sys-org/edit" });
|
|
75
77
|
}
|
|
76
|
-
function
|
|
78
|
+
function U(o) {
|
|
77
79
|
v.push({
|
|
78
80
|
path: "/rawitsmsys/itsm-sys-org/edit",
|
|
79
81
|
query: { entityKey: o.orgId }
|
|
80
82
|
});
|
|
81
83
|
}
|
|
82
|
-
function
|
|
84
|
+
function q(o) {
|
|
83
85
|
v.push({
|
|
84
86
|
path: "/rawitsmsys/itsm-sys-org/orgInfo",
|
|
85
87
|
query: { orgId: o.orgId }
|
|
86
88
|
});
|
|
87
89
|
}
|
|
88
|
-
function
|
|
90
|
+
function M(o) {
|
|
89
91
|
r.selectionRows.value = o;
|
|
90
92
|
}
|
|
91
|
-
function
|
|
93
|
+
function z(o) {
|
|
92
94
|
r.handleSort(o.prop, o.order);
|
|
93
95
|
}
|
|
94
96
|
return r.getList(), (o, t) => {
|
|
95
|
-
const
|
|
97
|
+
const B = s("el-input"), w = s("el-form-item"), y = s("el-col"), A = s("jmash-select"), _ = s("el-button"), P = s("el-row"), K = s("el-form"), L = s("jmash-column-select"), Q = s("jmash-mobileIns-component"), F = s("el-switch"), H = s("jmash-table"), G = s("jmash-pagination"), J = s("el-card"), g = X("hasPerm");
|
|
96
98
|
return m(), h("div", le, [
|
|
97
|
-
|
|
98
|
-
n(
|
|
99
|
+
V("div", ne, [
|
|
100
|
+
n(K, {
|
|
99
101
|
ref_key: "queryFormRef",
|
|
100
|
-
ref:
|
|
102
|
+
ref: I,
|
|
101
103
|
model: i.value,
|
|
102
104
|
inline: !0
|
|
103
105
|
}, {
|
|
104
106
|
default: l(() => [
|
|
105
|
-
n(
|
|
107
|
+
n(P, null, {
|
|
106
108
|
default: l(() => [
|
|
107
109
|
n(y, { span: 6 }, {
|
|
108
110
|
default: l(() => [
|
|
@@ -111,11 +113,11 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
111
113
|
prop: "likeOrgName"
|
|
112
114
|
}, {
|
|
113
115
|
default: l(() => [
|
|
114
|
-
n(
|
|
116
|
+
n(B, {
|
|
115
117
|
modelValue: i.value.likeOrgName,
|
|
116
118
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.value.likeOrgName = e),
|
|
117
119
|
placeholder: o.$t("sysOrg.orgNameRequired"),
|
|
118
|
-
onKeyup: t[1] || (t[1] =
|
|
120
|
+
onKeyup: t[1] || (t[1] = N((e) => a(r).handleQuery(), ["enter"])),
|
|
119
121
|
class: "!w-[203px]",
|
|
120
122
|
clearable: ""
|
|
121
123
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -132,13 +134,13 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
132
134
|
prop: "status"
|
|
133
135
|
}, {
|
|
134
136
|
default: l(() => [
|
|
135
|
-
n(
|
|
137
|
+
n(A, {
|
|
136
138
|
modelValue: i.value.status,
|
|
137
139
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => i.value.status = e),
|
|
138
140
|
placeholder: o.$t("sysOrg.statusRequired"),
|
|
139
141
|
data: a(ee).hasStatusDict.values,
|
|
140
142
|
clearable: "",
|
|
141
|
-
onKeyup: t[3] || (t[3] =
|
|
143
|
+
onKeyup: t[3] || (t[3] = N((e) => a(r).handleQuery(), ["enter"]))
|
|
142
144
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
143
145
|
]),
|
|
144
146
|
_: 1
|
|
@@ -155,7 +157,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
155
157
|
onClick: t[4] || (t[4] = (e) => a(r).handleQuery())
|
|
156
158
|
}, {
|
|
157
159
|
default: l(() => [
|
|
158
|
-
u(
|
|
160
|
+
d(u(o.$t("common.search")), 1)
|
|
159
161
|
]),
|
|
160
162
|
_: 1
|
|
161
163
|
}),
|
|
@@ -163,7 +165,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
163
165
|
onClick: t[5] || (t[5] = (e) => a(r).resetQuery())
|
|
164
166
|
}, {
|
|
165
167
|
default: l(() => [
|
|
166
|
-
u(
|
|
168
|
+
d(u(o.$t("common.reset")), 1)
|
|
167
169
|
]),
|
|
168
170
|
_: 1
|
|
169
171
|
})
|
|
@@ -179,23 +181,23 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
179
181
|
]),
|
|
180
182
|
_: 1
|
|
181
183
|
}, 8, ["model"]),
|
|
182
|
-
t[12] || (t[12] =
|
|
184
|
+
t[12] || (t[12] = V("div", { class: "clear" }, null, -1))
|
|
183
185
|
]),
|
|
184
|
-
n(
|
|
186
|
+
n(J, {
|
|
185
187
|
shadow: "never",
|
|
186
188
|
class: "table-container"
|
|
187
189
|
}, {
|
|
188
190
|
header: l(() => [
|
|
189
|
-
n(
|
|
191
|
+
n(P, null, {
|
|
190
192
|
default: l(() => [
|
|
191
193
|
n(y, { span: 17 }, {
|
|
192
194
|
default: l(() => [
|
|
193
195
|
b((m(), C(_, {
|
|
194
196
|
type: "primary",
|
|
195
|
-
onClick:
|
|
197
|
+
onClick: D
|
|
196
198
|
}, {
|
|
197
199
|
default: l(() => [
|
|
198
|
-
u(
|
|
200
|
+
d(u(o.$t("common.add")), 1)
|
|
199
201
|
]),
|
|
200
202
|
_: 1
|
|
201
203
|
})), [
|
|
@@ -206,7 +208,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
206
208
|
onClick: t[6] || (t[6] = (e) => a(r).deleteRecords())
|
|
207
209
|
}, {
|
|
208
210
|
default: l(() => [
|
|
209
|
-
u(
|
|
211
|
+
d(u(o.$t("common.batchDelete")), 1)
|
|
210
212
|
]),
|
|
211
213
|
_: 1
|
|
212
214
|
})), [
|
|
@@ -220,9 +222,9 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
220
222
|
class: "container-float"
|
|
221
223
|
}, {
|
|
222
224
|
default: l(() => [
|
|
223
|
-
n(
|
|
225
|
+
n(L, {
|
|
224
226
|
modelValue: a(c),
|
|
225
|
-
"onUpdate:modelValue": t[7] || (t[7] = (e) =>
|
|
227
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => O(c) ? c.value = e : c = e),
|
|
226
228
|
"label-name": "itsmsys/itsm-sys-org"
|
|
227
229
|
}, null, 8, ["modelValue"])
|
|
228
230
|
]),
|
|
@@ -233,38 +235,38 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
233
235
|
})
|
|
234
236
|
]),
|
|
235
237
|
footer: l(() => [
|
|
236
|
-
a(f) > 0 ? (m(), C(
|
|
238
|
+
a(f) > 0 ? (m(), C(G, {
|
|
237
239
|
key: 0,
|
|
238
240
|
total: a(f),
|
|
239
|
-
"onUpdate:total": t[8] || (t[8] = (e) =>
|
|
241
|
+
"onUpdate:total": t[8] || (t[8] = (e) => O(f) ? f.value = e : null),
|
|
240
242
|
"current-page": i.value.curPage,
|
|
241
243
|
"onUpdate:currentPage": t[9] || (t[9] = (e) => i.value.curPage = e),
|
|
242
244
|
"page-size": i.value.pageSize,
|
|
243
245
|
"onUpdate:pageSize": t[10] || (t[10] = (e) => i.value.pageSize = e),
|
|
244
246
|
onPagination: t[11] || (t[11] = (e) => a(r).getList())
|
|
245
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
247
|
+
}, null, 8, ["total", "current-page", "page-size"])) : Y("", !0)
|
|
246
248
|
]),
|
|
247
249
|
default: l(() => [
|
|
248
|
-
n(
|
|
250
|
+
n(H, {
|
|
249
251
|
ref_key: "multipleTableRef",
|
|
250
|
-
ref:
|
|
252
|
+
ref: E,
|
|
251
253
|
"row-key": "orgId",
|
|
252
|
-
"list-loading": a(
|
|
253
|
-
data: a(
|
|
254
|
+
"list-loading": a(R),
|
|
255
|
+
data: a(j),
|
|
254
256
|
"table-label": a(c),
|
|
255
|
-
onSelectionChange:
|
|
256
|
-
onSortChange:
|
|
257
|
+
onSelectionChange: M,
|
|
258
|
+
onSortChange: z
|
|
257
259
|
}, {
|
|
258
260
|
contactPersonMobile: l((e) => [
|
|
259
|
-
n(
|
|
261
|
+
n(Q, {
|
|
260
262
|
mobilePhoneIns: e.data.row.contactPersonMobileIns,
|
|
261
263
|
mobilePhone: e.data.row.contactPersonMobile,
|
|
262
264
|
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
263
|
-
onToggleEncrypt: (p) =>
|
|
265
|
+
onToggleEncrypt: (p) => S(e.data.row)
|
|
264
266
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
265
267
|
]),
|
|
266
268
|
status: l((e) => [
|
|
267
|
-
n(
|
|
269
|
+
n(F, {
|
|
268
270
|
modelValue: e.data.row.status,
|
|
269
271
|
"onUpdate:modelValue": (p) => e.data.row.status = p,
|
|
270
272
|
onChange: (p) => a(r).enableRecord(e.data.row, e.data.row.status)
|
|
@@ -273,9 +275,9 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
273
275
|
operation: l((e) => [
|
|
274
276
|
b((m(), h("span", {
|
|
275
277
|
class: "el-button-color",
|
|
276
|
-
onClick: (p) =>
|
|
278
|
+
onClick: (p) => U(e.data.row)
|
|
277
279
|
}, [
|
|
278
|
-
u(
|
|
280
|
+
d(u(o.$t("common.edit")), 1)
|
|
279
281
|
], 8, ae)), [
|
|
280
282
|
[g, ["itsmsys:sys_org:update"]]
|
|
281
283
|
]),
|
|
@@ -283,15 +285,15 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
283
285
|
class: "el-button-color dropdown-left",
|
|
284
286
|
onClick: (p) => a(r).deleteRecord(e.data.row)
|
|
285
287
|
}, [
|
|
286
|
-
u(
|
|
288
|
+
d(u(o.$t("common.delete")), 1)
|
|
287
289
|
], 8, se)), [
|
|
288
290
|
[g, ["itsmsys:sys_org:delete"]]
|
|
289
291
|
]),
|
|
290
292
|
b((m(), h("span", {
|
|
291
293
|
class: "el-button-color dropdown-left",
|
|
292
|
-
onClick: (p) =>
|
|
294
|
+
onClick: (p) => q(e.data.row)
|
|
293
295
|
}, [
|
|
294
|
-
u(
|
|
296
|
+
d(u(o.$t("common.view")), 1)
|
|
295
297
|
], 8, re)), [
|
|
296
298
|
[g, ["itsmsys:sys_org:view"]]
|
|
297
299
|
])
|