xyvcard-itsmsys 0.0.25 → 0.0.27
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/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
- package/dist/assets/7f3e996112b4923f.png +0 -0
- package/dist/{edit-CfbonHOl.mjs → edit-4Z-ZnpFy.mjs} +1 -1
- package/dist/{edit-DybO5r3p.mjs → edit-8-gDtIOz.mjs} +1 -1
- package/dist/{edit-BrHOGUbU.mjs → edit-BlkaYTGl.mjs} +1 -1
- package/dist/{edit-C82n7Lq0.mjs → edit-CEYAvHd3.mjs} +1 -1
- package/dist/{edit-CNEVornb.mjs → edit-QJ7ZmxX_.mjs} +131 -135
- package/dist/{edit-DYqAdRsK.mjs → edit-diNsokNw.mjs} +3 -3
- package/dist/edit-oJm1rfX1.mjs +410 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs → edit.vue_vue_type_script_setup_true_lang-CFG4x85k.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs → edit.vue_vue_type_script_setup_true_lang-DeduEUOD.mjs} +100 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BfQVspxd.mjs → edit.vue_vue_type_script_setup_true_lang-T6aiep4s.mjs} +74 -72
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Cg1uyqed.mjs → edit.vue_vue_type_script_setup_true_lang-g81nThyI.mjs} +7 -7
- package/dist/{import-upload-CC1Ho43e.mjs → import-upload-BxVBkr7-.mjs} +2 -2
- package/dist/{import-upload-BaJGVcNb.mjs → import-upload-CtJh5u39.mjs} +2 -2
- package/dist/index-3An-8Hfg.mjs +343 -0
- package/dist/{index-CAzxJ_Vp.mjs → index-BsrMxEM8.mjs} +146 -116
- package/dist/{index-igV06vtf.mjs → index-C2od41K0.mjs} +161 -153
- package/dist/{index-cpyRUYdS.mjs → index-CR3fzc4o.mjs} +79 -73
- package/dist/{index-Di1yx94g.mjs → index-Cgq1M4Qb.mjs} +120 -112
- package/dist/{index-B2xwBTw-.mjs → index-RF4VErgF.mjs} +8 -8
- package/dist/{index-IpHv0Vzi.mjs → index-Trc70jRt.mjs} +1 -1
- package/dist/{index-cKI_mzoF.mjs → index-XMaINj6l.mjs} +188 -179
- package/dist/index.mjs +488 -484
- package/dist/index.vue_vue_type_script_setup_true_lang-B2_RWC8z.mjs +199 -0
- package/dist/{info-G1z1-aeX.mjs → info-0SKOqQd1.mjs} +2 -2
- package/dist/{info-BUKhtcuu.mjs → info-BVo8clC4.mjs} +2 -2
- package/dist/{info-EodyqiPm.mjs → info-CSazWjOe.mjs} +2 -2
- package/dist/{info-6E3wqxd6.mjs → info-DzQiIFfX.mjs} +35 -35
- package/dist/{info-DttXGxP3.mjs → info-Ju_uuO8i.mjs} +3 -3
- package/dist/{info-AE3ch4Zw.mjs → info-n4JaFgZW.mjs} +3 -3
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-org/types.d.ts +3 -0
- package/dts/lang/itsmsys/zh-cn.d.ts +17 -13
- package/package.json +8 -7
- package/dist/avatar-DFToerb2.mjs +0 -4
- package/dist/edit-COKceKzl.mjs +0 -358
- package/dist/index-BV5uRZXE.mjs +0 -313
- package/dist/index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs +0 -198
|
@@ -1,60 +1,67 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { ElMessageBox as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { C as
|
|
6
|
-
import { sysOrgApi as
|
|
7
|
-
import { useRouter as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as ae, getCurrentInstance as se, ref as N, onActivated as re, resolveComponent as a, resolveDirective as I, createElementBlock as k, openBlock as u, createElementVNode as me, createVNode as n, withCtx as l, withKeys as G, unref as b, createTextVNode as d, toDisplayString as p, withDirectives as v, createBlock as T, isRef as ie } from "vue";
|
|
2
|
+
import { useTableHooks as ce } from "jmash-core";
|
|
3
|
+
import { ElMessageBox as Y, ElMessage as V } from "element-plus";
|
|
4
|
+
import { useI18n as ue } from "vue-i18n";
|
|
5
|
+
import { C as de, D as pe } from "./index-dIcRC4jE.mjs";
|
|
6
|
+
import { sysOrgApi as f } from "./index.mjs";
|
|
7
|
+
import { useRouter as fe } from "vue-router";
|
|
8
|
+
const ye = { class: "app-container" }, _e = { class: "search-container" }, be = ["onClick"], ve = ["onClick"], he = ["onClick"], De = /* @__PURE__ */ ae({
|
|
9
9
|
__name: "index",
|
|
10
|
-
setup(
|
|
11
|
-
const { t:
|
|
12
|
-
orgType:
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
setup(ge) {
|
|
11
|
+
const { t: s } = ue(), $ = fe(), { proxy: j } = se(), m = N({
|
|
12
|
+
orgType: de.orgType.hall,
|
|
13
|
+
annual: j.$moment.formatDate(/* @__PURE__ */ new Date(), "YYYY")
|
|
14
|
+
}), { tableHooks: r, multipleTableRef: P, queryFormRef: D, listLoading: M, tableData: S } = ce(s, f, m);
|
|
15
|
+
let h = N([
|
|
15
16
|
{
|
|
16
17
|
label: "sysGov.orgName",
|
|
17
18
|
prop: "orgName",
|
|
18
|
-
width: "
|
|
19
|
+
width: "200",
|
|
20
|
+
sortable: "custom",
|
|
19
21
|
isColumn: !0
|
|
20
22
|
},
|
|
21
23
|
{
|
|
22
24
|
label: "sysGov.contactPerson",
|
|
23
25
|
prop: "contactPerson",
|
|
24
26
|
width: "150",
|
|
27
|
+
sortable: "custom",
|
|
25
28
|
isColumn: !0
|
|
26
29
|
},
|
|
27
30
|
{
|
|
28
31
|
label: "sysOrg.contactPersonMobile",
|
|
29
32
|
prop: "contactPersonMobile",
|
|
30
|
-
width: "
|
|
33
|
+
width: "120",
|
|
31
34
|
isColumn: !0,
|
|
35
|
+
sortable: "custom",
|
|
32
36
|
slotName: "contactPersonMobile",
|
|
33
37
|
columnType: "slot"
|
|
34
38
|
},
|
|
35
39
|
{
|
|
36
40
|
label: "sysGov.contactPersonTel",
|
|
37
41
|
prop: "contactPersonTel",
|
|
38
|
-
width: "
|
|
42
|
+
width: "120",
|
|
43
|
+
sortable: "custom",
|
|
39
44
|
isColumn: !0
|
|
40
45
|
},
|
|
41
46
|
{
|
|
42
47
|
label: "sysGov.address",
|
|
43
48
|
prop: "address",
|
|
44
|
-
|
|
49
|
+
minWidth: "150",
|
|
50
|
+
sortable: "custom",
|
|
45
51
|
isColumn: !0
|
|
46
52
|
},
|
|
47
53
|
{
|
|
48
54
|
label: "sysGov.status",
|
|
49
55
|
prop: "status",
|
|
50
56
|
isColumn: !0,
|
|
57
|
+
width: "70",
|
|
51
58
|
slotName: "status",
|
|
52
59
|
columnType: "slot"
|
|
53
60
|
},
|
|
54
61
|
{
|
|
55
62
|
label: "sysGov.orderBy",
|
|
56
63
|
prop: "orderBy",
|
|
57
|
-
width: "
|
|
64
|
+
width: "70",
|
|
58
65
|
isColumn: !0,
|
|
59
66
|
slotName: "orderBy",
|
|
60
67
|
columnType: "slot"
|
|
@@ -80,35 +87,35 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
80
87
|
query: { entityKey: e.orgId }
|
|
81
88
|
});
|
|
82
89
|
}
|
|
83
|
-
function
|
|
90
|
+
function U(e) {
|
|
84
91
|
$.push({
|
|
85
92
|
path: "/rawitsmsys/itsm-sys-gov/govInfo",
|
|
86
93
|
query: { orgId: e.orgId }
|
|
87
94
|
});
|
|
88
95
|
}
|
|
89
|
-
function
|
|
96
|
+
function O(e) {
|
|
90
97
|
r.selectionRows.value = e;
|
|
91
98
|
}
|
|
92
99
|
function A(e) {
|
|
93
100
|
r.handleSort(e.prop, e.order);
|
|
94
101
|
}
|
|
95
102
|
function B(e, t) {
|
|
96
|
-
if (typeof
|
|
103
|
+
if (typeof f.move > "u")
|
|
97
104
|
return;
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
!
|
|
105
|
+
const y = f.getKey(e);
|
|
106
|
+
f.move(y, t).then((i) => {
|
|
107
|
+
!i || typeof i != "object" || i.status === 200 && r.findList();
|
|
101
108
|
});
|
|
102
109
|
}
|
|
103
110
|
function F(e) {
|
|
104
|
-
|
|
105
|
-
cancelButtonText:
|
|
106
|
-
confirmButtonText:
|
|
111
|
+
Y.confirm(s("common.confirmDelete"), s("common.delete"), {
|
|
112
|
+
cancelButtonText: s("common.cancel"),
|
|
113
|
+
confirmButtonText: s("common.confirm"),
|
|
107
114
|
type: "warning"
|
|
108
115
|
}).then(() => {
|
|
109
|
-
|
|
110
|
-
t.status === 200 && (
|
|
111
|
-
message:
|
|
116
|
+
f.delete(e).then((t) => {
|
|
117
|
+
t.status === 200 && (V({
|
|
118
|
+
message: s("common.deleteSuccess"),
|
|
112
119
|
type: "success"
|
|
113
120
|
}), r.findList());
|
|
114
121
|
});
|
|
@@ -116,26 +123,26 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
116
123
|
}
|
|
117
124
|
function z() {
|
|
118
125
|
if (r.selectionRows.value.length === 0) {
|
|
119
|
-
|
|
120
|
-
message:
|
|
126
|
+
V({
|
|
127
|
+
message: s("common.chooseDelete"),
|
|
121
128
|
type: "warning"
|
|
122
129
|
});
|
|
123
130
|
return;
|
|
124
131
|
}
|
|
125
132
|
const e = r.selectionRows.value.map(
|
|
126
|
-
(t) =>
|
|
133
|
+
(t) => f.getKey(t)
|
|
127
134
|
);
|
|
128
|
-
|
|
129
|
-
cancelButtonText:
|
|
130
|
-
confirmButtonText:
|
|
135
|
+
Y.confirm(s("common.confirmBatchDelete"), s("common.delete"), {
|
|
136
|
+
cancelButtonText: s("common.cancel"),
|
|
137
|
+
confirmButtonText: s("common.confirm"),
|
|
131
138
|
type: "warning"
|
|
132
139
|
}).then(() => {
|
|
133
|
-
|
|
134
|
-
var
|
|
135
|
-
t.status === 200 && (
|
|
136
|
-
message:
|
|
140
|
+
f.batchDelete(e).then((t) => {
|
|
141
|
+
var y;
|
|
142
|
+
t.status === 200 && (V({
|
|
143
|
+
message: s("common.successDelete") + t.data + s("common.stripData"),
|
|
137
144
|
type: "success"
|
|
138
|
-
}), r.findList(), (
|
|
145
|
+
}), r.findList(), (y = P.value) == null || y.clearSelection());
|
|
139
146
|
});
|
|
140
147
|
});
|
|
141
148
|
}
|
|
@@ -143,35 +150,58 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
143
150
|
r.findList();
|
|
144
151
|
}
|
|
145
152
|
function H() {
|
|
146
|
-
|
|
153
|
+
D.value.resetFields(), w();
|
|
147
154
|
}
|
|
148
|
-
return
|
|
155
|
+
return re(() => {
|
|
149
156
|
r.findList();
|
|
150
157
|
}), (e, t) => {
|
|
151
|
-
const
|
|
152
|
-
return
|
|
153
|
-
|
|
154
|
-
n(
|
|
158
|
+
const y = a("el-date-picker"), i = a("el-form-item"), _ = a("el-col"), Q = a("el-input"), x = a("jmash-select"), C = a("el-button"), R = a("el-row"), W = a("el-form"), J = a("jmash-column-select"), X = a("jmash-mobileIns-component"), Z = a("Bottom"), E = a("el-icon"), ee = a("Top"), oe = a("el-switch"), te = a("jmash-table"), ne = a("el-card"), g = I("hasPerm"), le = I("loading");
|
|
159
|
+
return u(), k("div", ye, [
|
|
160
|
+
me("div", _e, [
|
|
161
|
+
n(W, {
|
|
155
162
|
ref_key: "queryFormRef",
|
|
156
|
-
ref:
|
|
157
|
-
model:
|
|
163
|
+
ref: D,
|
|
164
|
+
model: m.value,
|
|
158
165
|
inline: !0
|
|
159
166
|
}, {
|
|
160
167
|
default: l(() => [
|
|
161
|
-
n(
|
|
168
|
+
n(R, null, {
|
|
162
169
|
default: l(() => [
|
|
163
|
-
n(
|
|
170
|
+
n(_, { span: 6 }, {
|
|
164
171
|
default: l(() => [
|
|
165
|
-
n(
|
|
172
|
+
n(i, {
|
|
173
|
+
label: e.$t("sysGov.annual"),
|
|
174
|
+
prop: "annual"
|
|
175
|
+
}, {
|
|
176
|
+
default: l(() => [
|
|
177
|
+
n(y, {
|
|
178
|
+
modelValue: m.value.annual,
|
|
179
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => m.value.annual = o),
|
|
180
|
+
type: "year",
|
|
181
|
+
placeholder: e.$t("sysGov.annualRequired"),
|
|
182
|
+
format: "YYYY",
|
|
183
|
+
"value-format": "YYYY",
|
|
184
|
+
clearable: !1,
|
|
185
|
+
class: "!w-[203px]"
|
|
186
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
}, 8, ["label"])
|
|
190
|
+
]),
|
|
191
|
+
_: 1
|
|
192
|
+
}),
|
|
193
|
+
n(_, { span: 6 }, {
|
|
194
|
+
default: l(() => [
|
|
195
|
+
n(i, {
|
|
166
196
|
label: e.$t("sysGov.orgName"),
|
|
167
197
|
prop: "likeOrgName"
|
|
168
198
|
}, {
|
|
169
199
|
default: l(() => [
|
|
170
|
-
n(
|
|
171
|
-
modelValue:
|
|
172
|
-
"onUpdate:modelValue": t[
|
|
200
|
+
n(Q, {
|
|
201
|
+
modelValue: m.value.likeOrgName,
|
|
202
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => m.value.likeOrgName = o),
|
|
173
203
|
placeholder: e.$t("sysGov.orgNameRequired"),
|
|
174
|
-
onKeyup: t[
|
|
204
|
+
onKeyup: t[2] || (t[2] = G((o) => w(), ["enter"])),
|
|
175
205
|
class: "!w-[203px]",
|
|
176
206
|
clearable: ""
|
|
177
207
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -181,20 +211,20 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
181
211
|
]),
|
|
182
212
|
_: 1
|
|
183
213
|
}),
|
|
184
|
-
n(
|
|
214
|
+
n(_, { span: 6 }, {
|
|
185
215
|
default: l(() => [
|
|
186
|
-
n(
|
|
216
|
+
n(i, {
|
|
187
217
|
label: e.$t("sysGov.status"),
|
|
188
218
|
prop: "status"
|
|
189
219
|
}, {
|
|
190
220
|
default: l(() => [
|
|
191
|
-
n(
|
|
192
|
-
modelValue:
|
|
193
|
-
"onUpdate:modelValue": t[
|
|
221
|
+
n(x, {
|
|
222
|
+
modelValue: m.value.status,
|
|
223
|
+
"onUpdate:modelValue": t[3] || (t[3] = (o) => m.value.status = o),
|
|
194
224
|
placeholder: e.$t("sysGov.statusRequired"),
|
|
195
|
-
data:
|
|
225
|
+
data: b(pe).hasStatusDict.values,
|
|
196
226
|
clearable: "",
|
|
197
|
-
onKeyup: t[
|
|
227
|
+
onKeyup: t[4] || (t[4] = G((o) => w(), ["enter"]))
|
|
198
228
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
199
229
|
]),
|
|
200
230
|
_: 1
|
|
@@ -202,24 +232,24 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
202
232
|
]),
|
|
203
233
|
_: 1
|
|
204
234
|
}),
|
|
205
|
-
n(
|
|
235
|
+
n(_, { span: 6 }, {
|
|
206
236
|
default: l(() => [
|
|
207
|
-
n(
|
|
237
|
+
n(i, { class: "search-btn" }, {
|
|
208
238
|
default: l(() => [
|
|
209
239
|
n(C, {
|
|
210
240
|
type: "primary",
|
|
211
|
-
onClick: t[
|
|
241
|
+
onClick: t[5] || (t[5] = (o) => w())
|
|
212
242
|
}, {
|
|
213
243
|
default: l(() => [
|
|
214
|
-
|
|
244
|
+
d(p(e.$t("common.search")), 1)
|
|
215
245
|
]),
|
|
216
246
|
_: 1
|
|
217
247
|
}),
|
|
218
248
|
n(C, {
|
|
219
|
-
onClick: t[
|
|
249
|
+
onClick: t[6] || (t[6] = (o) => H())
|
|
220
250
|
}, {
|
|
221
251
|
default: l(() => [
|
|
222
|
-
|
|
252
|
+
d(p(e.$t("common.reset")), 1)
|
|
223
253
|
]),
|
|
224
254
|
_: 1
|
|
225
255
|
})
|
|
@@ -234,35 +264,34 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
234
264
|
})
|
|
235
265
|
]),
|
|
236
266
|
_: 1
|
|
237
|
-
}, 8, ["model"])
|
|
238
|
-
t[8] || (t[8] = R("div", { class: "clear" }, null, -1))
|
|
267
|
+
}, 8, ["model"])
|
|
239
268
|
]),
|
|
240
|
-
n(
|
|
269
|
+
n(ne, {
|
|
241
270
|
shadow: "never",
|
|
242
271
|
class: "table-container"
|
|
243
272
|
}, {
|
|
244
273
|
header: l(() => [
|
|
245
|
-
n(
|
|
274
|
+
n(R, null, {
|
|
246
275
|
default: l(() => [
|
|
247
|
-
n(
|
|
276
|
+
n(_, { span: 17 }, {
|
|
248
277
|
default: l(() => [
|
|
249
|
-
|
|
278
|
+
v((u(), T(C, {
|
|
250
279
|
type: "primary",
|
|
251
280
|
onClick: L
|
|
252
281
|
}, {
|
|
253
282
|
default: l(() => [
|
|
254
|
-
|
|
283
|
+
d(p(e.$t("common.add")), 1)
|
|
255
284
|
]),
|
|
256
285
|
_: 1
|
|
257
286
|
})), [
|
|
258
287
|
[g, ["itsmsys:sys_org_gov:add"]]
|
|
259
288
|
]),
|
|
260
|
-
|
|
289
|
+
v((u(), T(C, {
|
|
261
290
|
type: "primary",
|
|
262
|
-
onClick: t[
|
|
291
|
+
onClick: t[7] || (t[7] = (o) => z())
|
|
263
292
|
}, {
|
|
264
293
|
default: l(() => [
|
|
265
|
-
|
|
294
|
+
d(p(e.$t("common.batchDelete")), 1)
|
|
266
295
|
]),
|
|
267
296
|
_: 1
|
|
268
297
|
})), [
|
|
@@ -271,14 +300,14 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
271
300
|
]),
|
|
272
301
|
_: 1
|
|
273
302
|
}),
|
|
274
|
-
n(
|
|
303
|
+
n(_, {
|
|
275
304
|
span: 7,
|
|
276
305
|
class: "container-float"
|
|
277
306
|
}, {
|
|
278
307
|
default: l(() => [
|
|
279
308
|
n(J, {
|
|
280
|
-
modelValue:
|
|
281
|
-
"onUpdate:modelValue": t[
|
|
309
|
+
modelValue: b(h),
|
|
310
|
+
"onUpdate:modelValue": t[8] || (t[8] = (o) => ie(h) ? h.value = o : h = o),
|
|
282
311
|
"label-name": "itsmsys/itsm-sys-org"
|
|
283
312
|
}, null, 8, ["modelValue"])
|
|
284
313
|
]),
|
|
@@ -289,79 +318,80 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
289
318
|
})
|
|
290
319
|
]),
|
|
291
320
|
default: l(() => [
|
|
292
|
-
|
|
321
|
+
v((u(), T(te, {
|
|
293
322
|
ref_key: "multipleTableRef",
|
|
294
323
|
ref: P,
|
|
295
324
|
"row-key": "orgId",
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
onSelectionChange: U,
|
|
325
|
+
data: b(S),
|
|
326
|
+
"table-label": b(h),
|
|
327
|
+
onSelectionChange: O,
|
|
300
328
|
onSortChange: A
|
|
301
329
|
}, {
|
|
302
330
|
contactPersonMobile: l((o) => [
|
|
303
|
-
n(
|
|
331
|
+
n(X, {
|
|
304
332
|
mobilePhoneIns: o.data.row.contactPersonMobileIns,
|
|
305
333
|
mobilePhone: o.data.row.contactPersonMobile,
|
|
306
334
|
mobileEncrypt: o.data.row.mobileEncrypt,
|
|
307
|
-
onToggleEncrypt: (
|
|
335
|
+
onToggleEncrypt: (c) => q(o.data.row)
|
|
308
336
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
309
337
|
]),
|
|
310
338
|
orderBy: l((o) => [
|
|
311
339
|
n(E, {
|
|
312
340
|
size: "16",
|
|
313
|
-
onClick: (
|
|
341
|
+
onClick: (c) => B(o.data.row, !1)
|
|
314
342
|
}, {
|
|
315
343
|
default: l(() => [
|
|
316
|
-
n(
|
|
344
|
+
n(Z)
|
|
317
345
|
]),
|
|
318
|
-
_:
|
|
319
|
-
},
|
|
346
|
+
_: 1
|
|
347
|
+
}, 8, ["onClick"]),
|
|
320
348
|
n(E, {
|
|
321
349
|
size: "16",
|
|
322
|
-
onClick: (
|
|
350
|
+
onClick: (c) => B(o.data.row, !0)
|
|
323
351
|
}, {
|
|
324
352
|
default: l(() => [
|
|
325
|
-
n(
|
|
353
|
+
n(ee)
|
|
326
354
|
]),
|
|
327
|
-
_:
|
|
328
|
-
},
|
|
355
|
+
_: 1
|
|
356
|
+
}, 8, ["onClick"])
|
|
329
357
|
]),
|
|
330
358
|
status: l((o) => [
|
|
331
|
-
n(
|
|
359
|
+
n(oe, {
|
|
332
360
|
modelValue: o.data.row.status,
|
|
333
|
-
"onUpdate:modelValue": (
|
|
334
|
-
onChange: (
|
|
361
|
+
"onUpdate:modelValue": (c) => o.data.row.status = c,
|
|
362
|
+
onChange: (c) => b(r).enableRecord(o.data.row, o.data.row.status)
|
|
335
363
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
336
364
|
]),
|
|
337
365
|
operation: l((o) => [
|
|
338
|
-
|
|
366
|
+
v((u(), k("span", {
|
|
339
367
|
class: "el-button-color",
|
|
340
|
-
onClick: (
|
|
368
|
+
onClick: (c) => K(o.data.row)
|
|
341
369
|
}, [
|
|
342
|
-
|
|
343
|
-
], 8,
|
|
370
|
+
d(p(e.$t("common.edit")), 1)
|
|
371
|
+
], 8, be)), [
|
|
344
372
|
[g, ["itsmsys:sys_org_gov:update"]]
|
|
345
373
|
]),
|
|
346
|
-
|
|
347
|
-
class: "el-button-color
|
|
348
|
-
onClick: (
|
|
374
|
+
v((u(), k("span", {
|
|
375
|
+
class: "el-button-color",
|
|
376
|
+
onClick: (c) => F(o.data.row)
|
|
349
377
|
}, [
|
|
350
|
-
|
|
351
|
-
], 8,
|
|
378
|
+
d(p(e.$t("common.delete")), 1)
|
|
379
|
+
], 8, ve)), [
|
|
352
380
|
[g, ["itsmsys:sys_org_gov:delete"]]
|
|
353
381
|
]),
|
|
354
|
-
|
|
355
|
-
class: "el-button-color
|
|
356
|
-
onClick: (
|
|
382
|
+
v((u(), k("span", {
|
|
383
|
+
class: "el-button-color",
|
|
384
|
+
onClick: (c) => U(o.data.row)
|
|
357
385
|
}, [
|
|
358
|
-
|
|
359
|
-
], 8,
|
|
386
|
+
d(p(e.$t("common.view")), 1)
|
|
387
|
+
], 8, he)), [
|
|
360
388
|
[g, ["itsmsys:sys_org_gov:view"]]
|
|
361
389
|
])
|
|
362
390
|
]),
|
|
363
391
|
_: 1
|
|
364
|
-
}, 8, ["
|
|
392
|
+
}, 8, ["data", "table-label"])), [
|
|
393
|
+
[le, b(M)]
|
|
394
|
+
])
|
|
365
395
|
]),
|
|
366
396
|
_: 1
|
|
367
397
|
})
|
|
@@ -370,5 +400,5 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, pe =
|
|
|
370
400
|
}
|
|
371
401
|
});
|
|
372
402
|
export {
|
|
373
|
-
|
|
403
|
+
De as default
|
|
374
404
|
};
|