xyvcard-itsm-flow 0.0.10 → 0.0.12
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/README.md +51 -51
- package/dist/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
- package/dist/{edit-BnJnxvY6.mjs → edit-CnakOAD-.mjs} +1 -1
- package/dist/{edit-D8J1Znw_.mjs → edit-D3-wS-p6.mjs} +1 -1
- package/dist/{edit-har-8Y54.mjs → edit-DQMyPUX8.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs → edit.vue_vue_type_script_setup_true_lang-CQVLZd-n.mjs} +26 -23
- package/dist/{edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs → edit.vue_vue_type_script_setup_true_lang-CkrOBeOD.mjs} +222 -214
- package/dist/{edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs → edit.vue_vue_type_script_setup_true_lang-VE9Mh9aa.mjs} +216 -194
- package/dist/{el-message-CIdVBT5R.mjs → el-message-CDs_oXSE.mjs} +357 -366
- package/dist/{index-DugZK_BS.mjs → index-B80qPhYo.mjs} +50 -48
- package/dist/{index-DKIrRXT5.mjs → index-C7hbVzPq.mjs} +12 -12
- package/dist/{index-DBIF93AC.mjs → index-CKoTtfru.mjs} +22 -19
- package/dist/{index-CF0oM0UA.mjs → index-DNIaYp-o.mjs} +107 -101
- package/dist/{index-Cp3csR1g.mjs → index-DpW0lTlN.mjs} +12 -12
- package/dist/{index-BAHlhmvh.mjs → index-GS9GloHa.mjs} +95 -92
- package/dist/{index-bMREgnhp.mjs → index-JNNDVNJY.mjs} +15 -15
- package/dist/{index-C6XFHtva.mjs → index-kApGKfsk.mjs} +25 -22
- package/dist/{index-DnFWLmFk.mjs → index-tB0z_CCe.mjs} +21 -18
- package/dist/{index-BjBTIknS.mjs → index-yHpZct-P.mjs} +211 -203
- package/dist/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dts/api/itsm-flow-acceptance/types.d.ts +2 -0
- package/dts/api/itsm-flow-entrust/types.d.ts +3 -1
- package/dts/api/itsm-flow-entrust-user/types.d.ts +3 -1
- package/dts/api/itsm-flow-reckoning/types.d.ts +1 -1
- package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowEntrust/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowEntrustEdit/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +2 -2
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-acceptance/index.vue.d.ts +1 -1
- package/dts/views/itsm-flow-entrust/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-entrust/index.vue.d.ts +1 -1
- package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-reckoning/index.vue.d.ts +1 -1
- package/package.json +63 -63
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as te, mergeModels as le, ref as f, useModel as
|
|
1
|
+
import { defineComponent as te, mergeModels as le, ref as f, useModel as ne, resolveComponent as p, createElementBlock as w, openBlock as _, Fragment as M, createVNode as e, withCtx as t, createElementVNode as o, createTextVNode as r, toDisplayString as s, unref as E, createCommentVNode as g, withDirectives as j, vShow as L, createBlock as q, renderList as oe } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { D as
|
|
3
|
+
import { D as k, a as h, C as ae, u as se, e as ue } from "./index-B80qPhYo.mjs";
|
|
4
4
|
import "jmash-core";
|
|
5
5
|
import { useI18n as re } from "vue-i18n";
|
|
6
|
-
import { F as ie } from "./FileSaver.min-
|
|
7
|
-
import { E as z } from "./el-message-
|
|
6
|
+
import { F as ie } from "./FileSaver.min-5d27MsC6.mjs";
|
|
7
|
+
import { E as z } from "./el-message-CDs_oXSE.mjs";
|
|
8
8
|
const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "distance-left"
|
|
@@ -22,32 +22,32 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
22
22
|
}),
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
24
|
setup($, { expose: A }) {
|
|
25
|
-
const { t:
|
|
25
|
+
const { t: C } = re(), K = () => {
|
|
26
26
|
h.exportFilePdf({ entrustId: F.value.entrustId }).then((l) => {
|
|
27
|
-
const
|
|
27
|
+
const u = new Blob([l.data], {
|
|
28
28
|
type: "application/octet-stream"
|
|
29
29
|
});
|
|
30
|
-
ie.saveAs(
|
|
30
|
+
ie.saveAs(u, C("itsmFlowEntrust.name") + ".pdf");
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
|
-
|
|
34
|
-
const
|
|
35
|
-
entrustId:
|
|
36
|
-
}), i = f({}),
|
|
33
|
+
k.parentIdBizDict.useValues(), k.orgIdBizDict.useValues();
|
|
34
|
+
const y = $, F = f({
|
|
35
|
+
entrustId: y.task.businessKey
|
|
36
|
+
}), i = f({}), v = ne($, "modelValue"), V = f(), P = f({}), N = f(!1), U = f(), m = f([]), D = f();
|
|
37
37
|
function R() {
|
|
38
|
-
|
|
38
|
+
N.value = !0, U.value.clearFileList();
|
|
39
39
|
}
|
|
40
40
|
function T(l) {
|
|
41
41
|
m == null || m.value.splice(l, 1);
|
|
42
42
|
}
|
|
43
43
|
function W(l) {
|
|
44
|
-
const
|
|
44
|
+
const u = {
|
|
45
45
|
fileName: l.name,
|
|
46
46
|
fileId: l.response.fileId
|
|
47
47
|
};
|
|
48
|
-
m == null || m.value.push(
|
|
48
|
+
m == null || m.value.push(u), m.value = [...new Set(m.value)], D.value = {
|
|
49
49
|
requestId: Math.random() * 10 + "",
|
|
50
|
-
taskId:
|
|
50
|
+
taskId: y.task.id,
|
|
51
51
|
name: l.name,
|
|
52
52
|
type: l.response.contentType,
|
|
53
53
|
url: l.response.fileSrc
|
|
@@ -55,22 +55,22 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
55
55
|
}
|
|
56
56
|
function x() {
|
|
57
57
|
h.uploadFile(D.value).then(() => {
|
|
58
|
-
z.success(
|
|
58
|
+
z.success(C("common.uploadSuccess"));
|
|
59
59
|
}).catch(() => {
|
|
60
|
-
z.error(
|
|
60
|
+
z.error(C("common.uploadError"));
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
function O(l) {
|
|
64
64
|
l.mobileEncrypt = !l.mobileEncrypt;
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
y.task.businessKey && H(), A({
|
|
67
67
|
changeModel: () => J()
|
|
68
68
|
});
|
|
69
69
|
function G() {
|
|
70
70
|
ue.findList({ actionId: F.value.entrustId }).then(({ data: l }) => {
|
|
71
|
-
i.value.entrustUser = [], l.results.forEach((
|
|
72
|
-
|
|
73
|
-
...
|
|
71
|
+
i.value.entrustUser = [], l.results.forEach((u) => {
|
|
72
|
+
u.actionId == F.value.entrustId && i.value.entrustUser.push({
|
|
73
|
+
...u
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
76
|
});
|
|
@@ -81,24 +81,25 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
function J() {
|
|
84
|
-
return
|
|
84
|
+
return v.value && (v.value.selectActions = [
|
|
85
85
|
{ key: "true", value: "同意" },
|
|
86
86
|
{ key: "false", value: "不同意" }
|
|
87
|
-
],
|
|
87
|
+
], v.value.varName = "approved", v.value.module = "", v.value.module = ae.MODULE_ITSMFLOW), new Promise((l, u) => {
|
|
88
88
|
var a;
|
|
89
89
|
(a = V.value) == null || a.validate((d) => {
|
|
90
|
-
d ? (
|
|
90
|
+
d ? (v.value && (v.value.comment = ""), l(!0)) : u(!1);
|
|
91
91
|
});
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
return (l,
|
|
95
|
-
const a = p("el-col"), d = p("el-form-item"), c = p("el-row"), I = p("el-table-column"),
|
|
96
|
-
return
|
|
94
|
+
return (l, u) => {
|
|
95
|
+
const a = p("el-col"), d = p("el-form-item"), c = p("el-row"), I = p("el-table-column"), S = p("svg-icon"), Q = p("el-table"), B = p("el-button"), X = p("CircleClose"), Y = p("el-icon"), Z = p("el-form"), ee = p("jmash-multi-upload");
|
|
96
|
+
return _(), w(M, null, [
|
|
97
97
|
e(a, { span: 24 }, {
|
|
98
|
-
default: t(() =>
|
|
99
|
-
|
|
98
|
+
default: t(() => u[1] || (u[1] = [
|
|
99
|
+
o("div", { class: "title" }, "委托服务订单", -1)
|
|
100
100
|
])),
|
|
101
|
-
_: 1
|
|
101
|
+
_: 1,
|
|
102
|
+
__: [1]
|
|
102
103
|
}),
|
|
103
104
|
e(Z, {
|
|
104
105
|
ref_key: "taskFormRef",
|
|
@@ -117,7 +118,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
117
118
|
prop: "contractName"
|
|
118
119
|
}, {
|
|
119
120
|
default: t(() => [
|
|
120
|
-
|
|
121
|
+
r(s(i.value.contractName), 1)
|
|
121
122
|
]),
|
|
122
123
|
_: 1
|
|
123
124
|
}, 8, ["label"])
|
|
@@ -136,7 +137,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
136
137
|
prop: "contractNo"
|
|
137
138
|
}, {
|
|
138
139
|
default: t(() => [
|
|
139
|
-
|
|
140
|
+
r(s(i.value.contractNo), 1)
|
|
140
141
|
]),
|
|
141
142
|
_: 1
|
|
142
143
|
}, 8, ["label"])
|
|
@@ -155,7 +156,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
155
156
|
prop: "entrustName"
|
|
156
157
|
}, {
|
|
157
158
|
default: t(() => [
|
|
158
|
-
|
|
159
|
+
r(s(E(k).projectNameDict.getDictValue(i.value.entrustName)), 1)
|
|
159
160
|
]),
|
|
160
161
|
_: 1
|
|
161
162
|
}, 8, ["label"])
|
|
@@ -174,7 +175,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
174
175
|
prop: "entrustItsmId"
|
|
175
176
|
}, {
|
|
176
177
|
default: t(() => [
|
|
177
|
-
|
|
178
|
+
r(s(i.value.entrustItsmName), 1)
|
|
178
179
|
]),
|
|
179
180
|
_: 1
|
|
180
181
|
}, 8, ["label"])
|
|
@@ -193,9 +194,9 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
193
194
|
prop: "belongOrg"
|
|
194
195
|
}, {
|
|
195
196
|
default: t(() => {
|
|
196
|
-
var
|
|
197
|
+
var n;
|
|
197
198
|
return [
|
|
198
|
-
|
|
199
|
+
r(s((((n = i.value.belongOrgId) == null ? void 0 : n.split(",")) || []).map((b) => E(k).parentIdBizDict.getValue(b)).join(",")), 1)
|
|
199
200
|
];
|
|
200
201
|
}),
|
|
201
202
|
_: 1
|
|
@@ -215,7 +216,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
215
216
|
prop: "serviceContent"
|
|
216
217
|
}, {
|
|
217
218
|
default: t(() => [
|
|
218
|
-
|
|
219
|
+
r(s(E(k).serviceContentEnum.getEnumValue(i.value.serviceContent)), 1)
|
|
219
220
|
]),
|
|
220
221
|
_: 1
|
|
221
222
|
}, 8, ["label"])
|
|
@@ -229,7 +230,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
229
230
|
prop: "serviceOrg"
|
|
230
231
|
}, {
|
|
231
232
|
default: t(() => [
|
|
232
|
-
|
|
233
|
+
r(s(E(k).orgIdBizDict.getValue(i.value.serviceOrg)), 1)
|
|
233
234
|
]),
|
|
234
235
|
_: 1
|
|
235
236
|
}, 8, ["label"])
|
|
@@ -248,7 +249,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
248
249
|
prop: "orderNo"
|
|
249
250
|
}, {
|
|
250
251
|
default: t(() => [
|
|
251
|
-
|
|
252
|
+
r(s(i.value.orderNo), 1)
|
|
252
253
|
]),
|
|
253
254
|
_: 1
|
|
254
255
|
}, 8, ["label"])
|
|
@@ -267,7 +268,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
267
268
|
prop: "workContent"
|
|
268
269
|
}, {
|
|
269
270
|
default: t(() => [
|
|
270
|
-
|
|
271
|
+
r(s(i.value.workContent), 1)
|
|
271
272
|
]),
|
|
272
273
|
_: 1
|
|
273
274
|
}, 8, ["label"])
|
|
@@ -291,8 +292,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
291
292
|
prop: "userId",
|
|
292
293
|
label: l.$t("itsmFlowEntrustUser.userId")
|
|
293
294
|
}, {
|
|
294
|
-
default: t((
|
|
295
|
-
|
|
295
|
+
default: t((n) => [
|
|
296
|
+
r(s(n.row.userName), 1)
|
|
296
297
|
]),
|
|
297
298
|
_: 1
|
|
298
299
|
}, 8, ["label"]),
|
|
@@ -300,22 +301,22 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
300
301
|
prop: "idNo",
|
|
301
302
|
label: l.$t("itsmFlowEntrustUser.idNo")
|
|
302
303
|
}, {
|
|
303
|
-
default: t((
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
j(e(
|
|
304
|
+
default: t((n) => [
|
|
305
|
+
n.row.mobileEncrypt ? (_(), w("span", ce, s(n.row.idNo), 1)) : (_(), w("span", de, s(n.row.idNoIns), 1)),
|
|
306
|
+
n.row.idNoIns ? (_(), w("span", pe, [
|
|
307
|
+
j(e(S, {
|
|
307
308
|
"icon-class": "close-eye",
|
|
308
|
-
onClick: (b) => O(
|
|
309
|
+
onClick: (b) => O(n.row)
|
|
309
310
|
}, null, 8, ["onClick"]), [
|
|
310
|
-
[L, !
|
|
311
|
+
[L, !n.row.mobileEncrypt]
|
|
311
312
|
]),
|
|
312
|
-
j(e(
|
|
313
|
+
j(e(S, {
|
|
313
314
|
"icon-class": "eye-open",
|
|
314
|
-
onClick: (b) => O(
|
|
315
|
+
onClick: (b) => O(n.row)
|
|
315
316
|
}, null, 8, ["onClick"]), [
|
|
316
|
-
[L,
|
|
317
|
+
[L, n.row.mobileEncrypt]
|
|
317
318
|
])
|
|
318
|
-
])) :
|
|
319
|
+
])) : g("", !0)
|
|
319
320
|
]),
|
|
320
321
|
_: 1
|
|
321
322
|
}, 8, ["label"]),
|
|
@@ -323,8 +324,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
323
324
|
prop: "cost",
|
|
324
325
|
label: l.$t("itsmFlowEntrustUser.cost")
|
|
325
326
|
}, {
|
|
326
|
-
default: t((
|
|
327
|
-
|
|
327
|
+
default: t((n) => [
|
|
328
|
+
r(s(n.row.cost), 1)
|
|
328
329
|
]),
|
|
329
330
|
_: 1
|
|
330
331
|
}, 8, ["label"]),
|
|
@@ -332,8 +333,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
332
333
|
prop: "duration",
|
|
333
334
|
label: l.$t("itsmFlowEntrustUser.duration")
|
|
334
335
|
}, {
|
|
335
|
-
default: t((
|
|
336
|
-
|
|
336
|
+
default: t((n) => [
|
|
337
|
+
r(s(n.row.durationStart) + "~" + s(n.row.durationEnd), 1)
|
|
337
338
|
]),
|
|
338
339
|
_: 1
|
|
339
340
|
}, 8, ["label"])
|
|
@@ -349,50 +350,52 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
349
350
|
e(c, { class: "bordered-row" }, {
|
|
350
351
|
default: t(() => [
|
|
351
352
|
e(a, { span: 12 }, {
|
|
352
|
-
default: t(() =>
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
353
|
+
default: t(() => u[2] || (u[2] = [
|
|
354
|
+
o("div", { class: "content-box" }, [
|
|
355
|
+
o("div", { class: "content-box-top" }, [
|
|
356
|
+
o("div", null, "甲方单位(盖章)"),
|
|
357
|
+
o("div", null, "负责人(签字):"),
|
|
358
|
+
o("div", null, "或授权代理人(签字):")
|
|
358
359
|
]),
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
360
|
+
o("div", { class: "content-box-bottom" }, [
|
|
361
|
+
r(" 日期: "),
|
|
362
|
+
o("span", null, "年"),
|
|
363
|
+
o("span", null, "月"),
|
|
364
|
+
o("span", null, "日")
|
|
364
365
|
])
|
|
365
366
|
], -1)
|
|
366
367
|
])),
|
|
367
|
-
_: 1
|
|
368
|
+
_: 1,
|
|
369
|
+
__: [2]
|
|
368
370
|
}),
|
|
369
371
|
e(a, {
|
|
370
372
|
span: 12,
|
|
371
373
|
class: "with-divider"
|
|
372
374
|
}, {
|
|
373
|
-
default: t(() =>
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
375
|
+
default: t(() => u[3] || (u[3] = [
|
|
376
|
+
o("div", { class: "content-box" }, [
|
|
377
|
+
o("div", { class: "content-box-top" }, [
|
|
378
|
+
o("div", null, "服务人员所属单位(盖章)"),
|
|
379
|
+
o("div", null, "法定代表人(签字):"),
|
|
380
|
+
o("div", null, "或授权代理人(签字):")
|
|
379
381
|
]),
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
382
|
+
o("div", { class: "content-box-bottom" }, [
|
|
383
|
+
r(" 日期: "),
|
|
384
|
+
o("span", null, "年"),
|
|
385
|
+
o("span", null, "月"),
|
|
386
|
+
o("span", null, "日")
|
|
385
387
|
])
|
|
386
388
|
], -1)
|
|
387
389
|
])),
|
|
388
|
-
_: 1
|
|
390
|
+
_: 1,
|
|
391
|
+
__: [3]
|
|
389
392
|
})
|
|
390
393
|
]),
|
|
391
394
|
_: 1
|
|
392
395
|
}),
|
|
393
396
|
e(c, null, {
|
|
394
397
|
default: t(() => [
|
|
395
|
-
|
|
398
|
+
y.task.taskDefinitionKey === "UploadScanFile" ? (_(), q(a, {
|
|
396
399
|
key: 0,
|
|
397
400
|
span: 12
|
|
398
401
|
}, {
|
|
@@ -401,13 +404,13 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
401
404
|
label: l.$t("itsmFlowEntrust.scannedCopy")
|
|
402
405
|
}, {
|
|
403
406
|
default: t(() => [
|
|
404
|
-
e(
|
|
407
|
+
e(B, {
|
|
405
408
|
type: "primary",
|
|
406
409
|
icon: E(se),
|
|
407
410
|
onClick: R
|
|
408
411
|
}, {
|
|
409
412
|
default: t(() => [
|
|
410
|
-
|
|
413
|
+
r(s(l.$t("common.uploadFiles")), 1)
|
|
411
414
|
]),
|
|
412
415
|
_: 1
|
|
413
416
|
}, 8, ["icon"])
|
|
@@ -416,11 +419,11 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
416
419
|
}, 8, ["label"]),
|
|
417
420
|
e(d, null, {
|
|
418
421
|
default: t(() => [
|
|
419
|
-
(
|
|
422
|
+
(_(!0), w(M, null, oe(m.value, (n, b) => (_(), w("div", {
|
|
420
423
|
key: b,
|
|
421
424
|
class: "files-list"
|
|
422
425
|
}, [
|
|
423
|
-
|
|
426
|
+
r(s(n.fileName) + " ", 1),
|
|
424
427
|
e(Y, {
|
|
425
428
|
size: "16",
|
|
426
429
|
class: "icon-right",
|
|
@@ -437,8 +440,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
437
440
|
})
|
|
438
441
|
]),
|
|
439
442
|
_: 1
|
|
440
|
-
})) :
|
|
441
|
-
|
|
443
|
+
})) : g("", !0),
|
|
444
|
+
y.task.taskDefinitionKey === "UploadScanFile" ? (_(), q(a, {
|
|
442
445
|
key: 1,
|
|
443
446
|
span: 12
|
|
444
447
|
}, {
|
|
@@ -447,13 +450,13 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
447
450
|
label: l.$t("itsmFlowEntrust.export")
|
|
448
451
|
}, {
|
|
449
452
|
default: t(() => [
|
|
450
|
-
e(
|
|
453
|
+
e(B, {
|
|
451
454
|
plain: "",
|
|
452
455
|
type: "primary",
|
|
453
456
|
onClick: K
|
|
454
457
|
}, {
|
|
455
458
|
default: t(() => [
|
|
456
|
-
|
|
459
|
+
r(s(l.$t("itsmFlowEntrust.export")), 1)
|
|
457
460
|
]),
|
|
458
461
|
_: 1
|
|
459
462
|
})
|
|
@@ -462,7 +465,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
462
465
|
}, 8, ["label"])
|
|
463
466
|
]),
|
|
464
467
|
_: 1
|
|
465
|
-
})) :
|
|
468
|
+
})) : g("", !0)
|
|
466
469
|
]),
|
|
467
470
|
_: 1
|
|
468
471
|
})
|
|
@@ -472,8 +475,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
472
475
|
e(ee, {
|
|
473
476
|
ref_key: "uploadRef",
|
|
474
477
|
ref: U,
|
|
475
|
-
modelValue:
|
|
476
|
-
"onUpdate:modelValue":
|
|
478
|
+
modelValue: N.value,
|
|
479
|
+
"onUpdate:modelValue": u[0] || (u[0] = (n) => N.value = n),
|
|
477
480
|
onUploadFileList: W
|
|
478
481
|
}, null, 8, ["modelValue"])
|
|
479
482
|
], 64);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W,
|
|
1
|
+
import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as N, createVNode as o, createBlock as A, createCommentVNode as S, withCtx as l, withKeys as F, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as $, isRef as T } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import { D as g, C as Z, i as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as g, C as Z, i as x } from "./index-B80qPhYo.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-VE9Mh9aa.mjs";
|
|
6
6
|
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ne) {
|
|
@@ -143,7 +143,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
143
143
|
modelValue: r.value.likeContractName,
|
|
144
144
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
|
|
145
145
|
placeholder: a.$t("itsmFlowAcceptance.contractNameRequired"),
|
|
146
|
-
onKeyup: t[1] || (t[1] =
|
|
146
|
+
onKeyup: t[1] || (t[1] = F((e) => n(i).handleQuery(), ["enter"])),
|
|
147
147
|
class: "!w-[203px]"
|
|
148
148
|
}, null, 8, ["modelValue", "placeholder"])
|
|
149
149
|
]),
|
|
@@ -163,7 +163,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
163
163
|
modelValue: r.value.likeContractNo,
|
|
164
164
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
|
|
165
165
|
placeholder: a.$t("itsmFlowAcceptance.contractNoRequired"),
|
|
166
|
-
onKeyup: t[3] || (t[3] =
|
|
166
|
+
onKeyup: t[3] || (t[3] = F((e) => n(i).handleQuery(), ["enter"])),
|
|
167
167
|
class: "!w-[203px]"
|
|
168
168
|
}, null, 8, ["modelValue", "placeholder"])
|
|
169
169
|
]),
|
|
@@ -183,7 +183,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
183
183
|
modelValue: r.value.acceptanceNo,
|
|
184
184
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.acceptanceNo = e),
|
|
185
185
|
placeholder: a.$t("itsmFlowAcceptance.acceptanceNoRequired"),
|
|
186
|
-
onKeyup: t[5] || (t[5] =
|
|
186
|
+
onKeyup: t[5] || (t[5] = F((e) => n(i).handleQuery(), ["enter"])),
|
|
187
187
|
class: "!w-[203px]"
|
|
188
188
|
}, null, 8, ["modelValue", "placeholder"])
|
|
189
189
|
]),
|
|
@@ -235,7 +235,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
235
235
|
default: l(() => [
|
|
236
236
|
o(m, { span: 17 }, {
|
|
237
237
|
default: l(() => [
|
|
238
|
-
|
|
238
|
+
$((p(), A(h, {
|
|
239
239
|
type: "primary",
|
|
240
240
|
onClick: q
|
|
241
241
|
}, {
|
|
@@ -256,7 +256,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
256
256
|
default: l(() => [
|
|
257
257
|
o(I, {
|
|
258
258
|
modelValue: n(d),
|
|
259
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) =>
|
|
259
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => T(d) ? d.value = e : d = e),
|
|
260
260
|
"label-name": "itsm-flow-acceptance"
|
|
261
261
|
}, null, 8, ["modelValue"])
|
|
262
262
|
]),
|
|
@@ -267,16 +267,16 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
267
267
|
})
|
|
268
268
|
]),
|
|
269
269
|
footer: l(() => [
|
|
270
|
-
n(v) > 0 ? (p(),
|
|
270
|
+
n(v) > 0 ? (p(), A(H, {
|
|
271
271
|
key: 0,
|
|
272
272
|
total: n(v),
|
|
273
|
-
"onUpdate:total": t[9] || (t[9] = (e) =>
|
|
273
|
+
"onUpdate:total": t[9] || (t[9] = (e) => T(v) ? v.value = e : null),
|
|
274
274
|
"current-page": r.value.curPage,
|
|
275
275
|
"onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
|
|
276
276
|
"page-size": r.value.pageSize,
|
|
277
277
|
"onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
|
|
278
278
|
onPagination: t[12] || (t[12] = (e) => n(i).getList())
|
|
279
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
279
|
+
}, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
|
|
280
280
|
]),
|
|
281
281
|
default: l(() => [
|
|
282
282
|
o(E, {
|
|
@@ -299,7 +299,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
299
299
|
N("span", null, u(n(g).isValuesDict.getValue(e.data.row.result)), 1)
|
|
300
300
|
]),
|
|
301
301
|
operation: l((e) => [
|
|
302
|
-
|
|
302
|
+
$((p(), V("span", {
|
|
303
303
|
class: "el-button-color",
|
|
304
304
|
onClick: (J) => B(e.data.row)
|
|
305
305
|
}, [
|
|
@@ -307,7 +307,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
307
307
|
], 8, oe)), [
|
|
308
308
|
[k, ["itsmflow:itsm_flow_acceptance:update"]]
|
|
309
309
|
]),
|
|
310
|
-
|
|
310
|
+
$((p(), V("span", {
|
|
311
311
|
class: "el-button-color dropdown-left",
|
|
312
312
|
onClick: (J) => n(i).deleteRecord(e.data.row)
|
|
313
313
|
}, [
|
|
@@ -321,7 +321,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
321
321
|
]),
|
|
322
322
|
_: 1
|
|
323
323
|
}),
|
|
324
|
-
c.value.visible ? (p(),
|
|
324
|
+
c.value.visible ? (p(), A(ee, {
|
|
325
325
|
key: 0,
|
|
326
326
|
modelValue: c.value.visible,
|
|
327
327
|
"onUpdate:modelValue": t[13] || (t[13] = (e) => c.value.visible = e),
|
|
@@ -329,7 +329,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
329
329
|
"entity-key": n(C),
|
|
330
330
|
onRefresh: O,
|
|
331
331
|
width: "900px"
|
|
332
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
332
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
|
|
333
333
|
]);
|
|
334
334
|
};
|
|
335
335
|
}
|