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,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as X, mergeModels as Y, ref as m, useModel as Z, resolveComponent as d,
|
|
1
|
+
import { defineComponent as X, mergeModels as Y, ref as m, useModel as Z, resolveComponent as d, createElementBlock as g, openBlock as b, Fragment as M, createVNode as e, withCtx as l, createElementVNode as n, createTextVNode as u, toDisplayString as r, unref as F, createBlock as S, createCommentVNode as B, renderList as ee } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { D as k, i as A, C as le, u as ae, a as te } from "./index-
|
|
3
|
+
import { D as k, i as A, C as le, u as ae, a as te } from "./index-B80qPhYo.mjs";
|
|
4
4
|
import { handlePreview as oe } from "jmash-core";
|
|
5
5
|
import { useI18n as ne } from "vue-i18n";
|
|
6
|
-
import { F as se } from "./FileSaver.min-
|
|
7
|
-
import { E as L } from "./el-message-
|
|
8
|
-
const
|
|
6
|
+
import { F as se } from "./FileSaver.min-5d27MsC6.mjs";
|
|
7
|
+
import { E as L } from "./el-message-CDs_oXSE.mjs";
|
|
8
|
+
const _e = /* @__PURE__ */ X({
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: /* @__PURE__ */ Y({
|
|
11
11
|
task: {
|
|
@@ -20,53 +20,55 @@ const ve = /* @__PURE__ */ X({
|
|
|
20
20
|
emits: ["update:modelValue"],
|
|
21
21
|
setup($, { expose: O }) {
|
|
22
22
|
const { t: w } = ne(), U = () => {
|
|
23
|
-
A.exportFilePdf({ acceptanceId:
|
|
24
|
-
const
|
|
23
|
+
A.exportFilePdf({ acceptanceId: h.value.acceptanceId }).then((a) => {
|
|
24
|
+
const o = new Blob([a.data], {
|
|
25
25
|
type: "application/octet-stream"
|
|
26
26
|
});
|
|
27
|
-
se.saveAs(
|
|
27
|
+
se.saveAs(o, w("itsmFlowAcceptance.name") + ".pdf");
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
k.orgIdBizDict.useValues();
|
|
31
|
-
const
|
|
32
|
-
acceptanceId:
|
|
33
|
-
}), c = m({}), f = Z($, "modelValue"),
|
|
34
|
-
function
|
|
35
|
-
y.value = !0,
|
|
31
|
+
const _ = $, h = m({
|
|
32
|
+
acceptanceId: _.task.businessKey
|
|
33
|
+
}), c = m({}), f = Z($, "modelValue"), V = m(), j = m({}), y = m(!1), I = m(), p = m([]), E = m();
|
|
34
|
+
function P() {
|
|
35
|
+
y.value = !0, I.value.clearFileList();
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function q(a) {
|
|
38
38
|
p == null || p.value.splice(a, 1);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const
|
|
40
|
+
function K(a) {
|
|
41
|
+
const o = {
|
|
42
42
|
fileName: a.name,
|
|
43
43
|
fileId: a.response.fileId
|
|
44
44
|
};
|
|
45
|
-
p == null || p.value.push(
|
|
45
|
+
p == null || p.value.push(o), p.value = [...new Set(p.value)], E.value = {
|
|
46
46
|
requestId: Math.random() * 10 + "",
|
|
47
|
-
taskId:
|
|
47
|
+
taskId: _.task.id,
|
|
48
48
|
name: a.name,
|
|
49
49
|
type: a.response.contentType,
|
|
50
50
|
url: a.response.fileSrc
|
|
51
51
|
}, z();
|
|
52
52
|
}
|
|
53
53
|
function z() {
|
|
54
|
-
te.uploadFile(
|
|
54
|
+
te.uploadFile(E.value).then(() => {
|
|
55
55
|
L.success(w("common.uploadSuccess"));
|
|
56
56
|
}).catch(() => {
|
|
57
57
|
L.error(w("common.uploadError"));
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
function R() {
|
|
61
|
-
A.findFilesList({ actionId:
|
|
62
|
-
|
|
61
|
+
A.findFilesList({ actionId: _.task.businessKey }).then(({ data: a }) => {
|
|
62
|
+
a.results.forEach((o) => {
|
|
63
|
+
o.filePath = o.fileSrc;
|
|
64
|
+
}), c.value.files = a.results;
|
|
63
65
|
});
|
|
64
66
|
}
|
|
65
|
-
|
|
67
|
+
_.task.businessKey && T(), O({
|
|
66
68
|
changeModel: () => W()
|
|
67
69
|
});
|
|
68
70
|
function T() {
|
|
69
|
-
A.findById({ acceptanceId:
|
|
71
|
+
A.findById({ acceptanceId: h.value.acceptanceId }).then(({ data: a }) => {
|
|
70
72
|
c.value = Object.assign(c.value, a);
|
|
71
73
|
}), R();
|
|
72
74
|
}
|
|
@@ -74,25 +76,26 @@ const ve = /* @__PURE__ */ X({
|
|
|
74
76
|
return f.value && (f.value.selectActions = [
|
|
75
77
|
{ key: "true", value: "同意" },
|
|
76
78
|
{ key: "false", value: "不同意" }
|
|
77
|
-
], f.value.varName = "approved", f.value.module = "", f.value.module = le.MODULE_ITSMFLOW), new Promise((a,
|
|
79
|
+
], f.value.varName = "approved", f.value.module = "", f.value.module = le.MODULE_ITSMFLOW), new Promise((a, o) => {
|
|
78
80
|
var t;
|
|
79
|
-
(t =
|
|
80
|
-
|
|
81
|
+
(t = V.value) == null || t.validate((s) => {
|
|
82
|
+
s ? (f.value && (f.value.comment = ""), a(!0)) : o(!1);
|
|
81
83
|
});
|
|
82
84
|
});
|
|
83
85
|
}
|
|
84
|
-
return (a,
|
|
85
|
-
const t = d("el-col"),
|
|
86
|
+
return (a, o) => {
|
|
87
|
+
const t = d("el-col"), s = d("el-form-item"), i = d("el-row"), D = d("el-table-column"), N = d("el-button"), x = d("el-table"), G = d("CircleClose"), H = d("el-icon"), J = d("el-form"), Q = d("jmash-multi-upload");
|
|
86
88
|
return b(), g(M, null, [
|
|
87
89
|
e(t, { span: 24 }, {
|
|
88
|
-
default: l(() =>
|
|
89
|
-
|
|
90
|
+
default: l(() => o[1] || (o[1] = [
|
|
91
|
+
n("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
|
|
90
92
|
])),
|
|
91
|
-
_: 1
|
|
93
|
+
_: 1,
|
|
94
|
+
__: [1]
|
|
92
95
|
}),
|
|
93
96
|
e(J, {
|
|
94
97
|
ref_key: "taskFormRef",
|
|
95
|
-
ref:
|
|
98
|
+
ref: V,
|
|
96
99
|
model: j.value,
|
|
97
100
|
"label-width": "150px",
|
|
98
101
|
class: "custom-table-form"
|
|
@@ -102,12 +105,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
102
105
|
default: l(() => [
|
|
103
106
|
e(t, { span: 24 }, {
|
|
104
107
|
default: l(() => [
|
|
105
|
-
e(
|
|
108
|
+
e(s, {
|
|
106
109
|
label: a.$t("itsmFlowAcceptance.contractName"),
|
|
107
110
|
prop: "contractName"
|
|
108
111
|
}, {
|
|
109
112
|
default: l(() => [
|
|
110
|
-
|
|
113
|
+
u(r(c.value.contractName), 1)
|
|
111
114
|
]),
|
|
112
115
|
_: 1
|
|
113
116
|
}, 8, ["label"])
|
|
@@ -121,12 +124,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
121
124
|
default: l(() => [
|
|
122
125
|
e(t, { span: 24 }, {
|
|
123
126
|
default: l(() => [
|
|
124
|
-
e(
|
|
127
|
+
e(s, {
|
|
125
128
|
label: a.$t("itsmFlowAcceptance.contractNo"),
|
|
126
129
|
prop: "contractNo"
|
|
127
130
|
}, {
|
|
128
131
|
default: l(() => [
|
|
129
|
-
|
|
132
|
+
u(r(c.value.contractNo), 1)
|
|
130
133
|
]),
|
|
131
134
|
_: 1
|
|
132
135
|
}, 8, ["label"])
|
|
@@ -140,12 +143,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
140
143
|
default: l(() => [
|
|
141
144
|
e(t, { span: 24 }, {
|
|
142
145
|
default: l(() => [
|
|
143
|
-
e(
|
|
146
|
+
e(s, {
|
|
144
147
|
label: a.$t("itsmFlowAcceptance.orderId"),
|
|
145
148
|
prop: "orderNo"
|
|
146
149
|
}, {
|
|
147
150
|
default: l(() => [
|
|
148
|
-
|
|
151
|
+
u(r(c.value.orderNo), 1)
|
|
149
152
|
]),
|
|
150
153
|
_: 1
|
|
151
154
|
}, 8, ["label"])
|
|
@@ -159,12 +162,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
159
162
|
default: l(() => [
|
|
160
163
|
e(t, { span: 24 }, {
|
|
161
164
|
default: l(() => [
|
|
162
|
-
e(
|
|
165
|
+
e(s, {
|
|
163
166
|
label: a.$t("itsmFlowAcceptance.entrustName"),
|
|
164
167
|
prop: "entrustName"
|
|
165
168
|
}, {
|
|
166
169
|
default: l(() => [
|
|
167
|
-
|
|
170
|
+
u(r(F(k).projectNameDict.getDictValue(c.value.entrustName)), 1)
|
|
168
171
|
]),
|
|
169
172
|
_: 1
|
|
170
173
|
}, 8, ["label"])
|
|
@@ -178,12 +181,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
178
181
|
default: l(() => [
|
|
179
182
|
e(t, { span: 12 }, {
|
|
180
183
|
default: l(() => [
|
|
181
|
-
e(
|
|
184
|
+
e(s, {
|
|
182
185
|
label: a.$t("itsmFlowAcceptance.serviceOrg"),
|
|
183
186
|
prop: "serviceOrg"
|
|
184
187
|
}, {
|
|
185
188
|
default: l(() => [
|
|
186
|
-
|
|
189
|
+
u(r(F(k).orgIdBizDict.getValue(c.value.serviceOrg)), 1)
|
|
187
190
|
]),
|
|
188
191
|
_: 1
|
|
189
192
|
}, 8, ["label"])
|
|
@@ -192,12 +195,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
192
195
|
}),
|
|
193
196
|
e(t, { span: 12 }, {
|
|
194
197
|
default: l(() => [
|
|
195
|
-
e(
|
|
198
|
+
e(s, {
|
|
196
199
|
label: a.$t("itsmFlowAcceptance.stage"),
|
|
197
200
|
prop: "stage"
|
|
198
201
|
}, {
|
|
199
202
|
default: l(() => [
|
|
200
|
-
|
|
203
|
+
u(r(c.value.stage), 1)
|
|
201
204
|
]),
|
|
202
205
|
_: 1
|
|
203
206
|
}, 8, ["label"])
|
|
@@ -206,12 +209,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
206
209
|
}),
|
|
207
210
|
e(t, { span: 12 }, {
|
|
208
211
|
default: l(() => [
|
|
209
|
-
e(
|
|
212
|
+
e(s, {
|
|
210
213
|
label: a.$t("itsmFlowAcceptance.headman"),
|
|
211
214
|
prop: "headmanName"
|
|
212
215
|
}, {
|
|
213
216
|
default: l(() => [
|
|
214
|
-
|
|
217
|
+
u(r(c.value.headmanName), 1)
|
|
215
218
|
]),
|
|
216
219
|
_: 1
|
|
217
220
|
}, 8, ["label"])
|
|
@@ -220,12 +223,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
220
223
|
}),
|
|
221
224
|
e(t, { span: 12 }, {
|
|
222
225
|
default: l(() => [
|
|
223
|
-
e(
|
|
226
|
+
e(s, {
|
|
224
227
|
label: a.$t("itsmFlowAcceptance.members"),
|
|
225
228
|
prop: "membersName"
|
|
226
229
|
}, {
|
|
227
230
|
default: l(() => [
|
|
228
|
-
|
|
231
|
+
u(r(c.value.membersName), 1)
|
|
229
232
|
]),
|
|
230
233
|
_: 1
|
|
231
234
|
}, 8, ["label"])
|
|
@@ -239,7 +242,7 @@ const ve = /* @__PURE__ */ X({
|
|
|
239
242
|
default: l(() => [
|
|
240
243
|
e(t, { span: 24 }, {
|
|
241
244
|
default: l(() => [
|
|
242
|
-
e(
|
|
245
|
+
e(s, {
|
|
243
246
|
label: a.$t("itsmFlowAcceptance.files"),
|
|
244
247
|
prop: "files"
|
|
245
248
|
}, {
|
|
@@ -249,26 +252,27 @@ const ve = /* @__PURE__ */ X({
|
|
|
249
252
|
border: ""
|
|
250
253
|
}, {
|
|
251
254
|
default: l(() => [
|
|
252
|
-
e(
|
|
255
|
+
e(D, {
|
|
253
256
|
prop: "fileName",
|
|
254
257
|
label: "附件名称"
|
|
255
258
|
}),
|
|
256
|
-
e(
|
|
259
|
+
e(D, {
|
|
257
260
|
prop: "",
|
|
258
261
|
label: "操作",
|
|
259
262
|
width: "100"
|
|
260
263
|
}, {
|
|
261
|
-
default: l((
|
|
264
|
+
default: l((v) => [
|
|
262
265
|
e(N, {
|
|
263
266
|
type: "primary",
|
|
264
267
|
link: "",
|
|
265
268
|
size: "small",
|
|
266
|
-
onClick: (C) => F(oe)(
|
|
269
|
+
onClick: (C) => F(oe)(v.row)
|
|
267
270
|
}, {
|
|
268
|
-
default: l(() =>
|
|
269
|
-
|
|
271
|
+
default: l(() => o[2] || (o[2] = [
|
|
272
|
+
u(" 查看 ")
|
|
270
273
|
])),
|
|
271
|
-
_: 2
|
|
274
|
+
_: 2,
|
|
275
|
+
__: [2]
|
|
272
276
|
}, 1032, ["onClick"])
|
|
273
277
|
]),
|
|
274
278
|
_: 1
|
|
@@ -289,12 +293,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
289
293
|
default: l(() => [
|
|
290
294
|
e(t, { span: 24 }, {
|
|
291
295
|
default: l(() => [
|
|
292
|
-
e(
|
|
296
|
+
e(s, {
|
|
293
297
|
label: a.$t("itsmFlowAcceptance.serviceContent"),
|
|
294
298
|
prop: "serviceContent"
|
|
295
299
|
}, {
|
|
296
300
|
default: l(() => [
|
|
297
|
-
|
|
301
|
+
u(r(c.value.serviceContent), 1)
|
|
298
302
|
]),
|
|
299
303
|
_: 1
|
|
300
304
|
}, 8, ["label"])
|
|
@@ -308,12 +312,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
308
312
|
default: l(() => [
|
|
309
313
|
e(t, { span: 24 }, {
|
|
310
314
|
default: l(() => [
|
|
311
|
-
e(
|
|
315
|
+
e(s, {
|
|
312
316
|
label: a.$t("itsmFlowAcceptance.result"),
|
|
313
317
|
prop: "result"
|
|
314
318
|
}, {
|
|
315
319
|
default: l(() => [
|
|
316
|
-
|
|
320
|
+
u(r(F(k).isValuesDict.getValue(c.value.result)), 1)
|
|
317
321
|
]),
|
|
318
322
|
_: 1
|
|
319
323
|
}, 8, ["label"])
|
|
@@ -327,12 +331,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
327
331
|
default: l(() => [
|
|
328
332
|
e(t, { span: 24 }, {
|
|
329
333
|
default: l(() => [
|
|
330
|
-
e(
|
|
334
|
+
e(s, {
|
|
331
335
|
label: a.$t("itsmFlowAcceptance.evaluate"),
|
|
332
336
|
prop: "evaluate"
|
|
333
337
|
}, {
|
|
334
338
|
default: l(() => [
|
|
335
|
-
|
|
339
|
+
u(r(c.value.evaluate), 1)
|
|
336
340
|
]),
|
|
337
341
|
_: 1
|
|
338
342
|
}, 8, ["label"])
|
|
@@ -345,82 +349,84 @@ const ve = /* @__PURE__ */ X({
|
|
|
345
349
|
e(i, { class: "bordered-row" }, {
|
|
346
350
|
default: l(() => [
|
|
347
351
|
e(t, { span: 12 }, {
|
|
348
|
-
default: l(() =>
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
default: l(() => o[3] || (o[3] = [
|
|
353
|
+
n("div", { class: "content-box" }, [
|
|
354
|
+
n("div", { class: "content-box-top" }, [
|
|
355
|
+
n("div", null, "甲方单位(盖章)"),
|
|
356
|
+
n("div", null, "负责人(签字):"),
|
|
357
|
+
n("div", null, "或授权代理人(签字):")
|
|
354
358
|
]),
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
359
|
+
n("div", { class: "content-box-bottom" }, [
|
|
360
|
+
u(" 日期: "),
|
|
361
|
+
n("span", null, "年"),
|
|
362
|
+
n("span", null, "月"),
|
|
363
|
+
n("span", null, "日")
|
|
360
364
|
])
|
|
361
365
|
], -1)
|
|
362
366
|
])),
|
|
363
|
-
_: 1
|
|
367
|
+
_: 1,
|
|
368
|
+
__: [3]
|
|
364
369
|
}),
|
|
365
370
|
e(t, {
|
|
366
371
|
span: 12,
|
|
367
372
|
class: "with-divider"
|
|
368
373
|
}, {
|
|
369
|
-
default: l(() =>
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
374
|
+
default: l(() => o[4] || (o[4] = [
|
|
375
|
+
n("div", { class: "content-box" }, [
|
|
376
|
+
n("div", { class: "content-box-top" }, [
|
|
377
|
+
n("div", null, "服务人员所属单位(盖章)"),
|
|
378
|
+
n("div", null, "法定代表人(签字):"),
|
|
379
|
+
n("div", null, "或授权代理人(签字):")
|
|
375
380
|
]),
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
+
n("div", { class: "content-box-bottom" }, [
|
|
382
|
+
u(" 日期: "),
|
|
383
|
+
n("span", null, "年"),
|
|
384
|
+
n("span", null, "月"),
|
|
385
|
+
n("span", null, "日")
|
|
381
386
|
])
|
|
382
387
|
], -1)
|
|
383
388
|
])),
|
|
384
|
-
_: 1
|
|
389
|
+
_: 1,
|
|
390
|
+
__: [4]
|
|
385
391
|
})
|
|
386
392
|
]),
|
|
387
393
|
_: 1
|
|
388
394
|
}),
|
|
389
395
|
e(i, null, {
|
|
390
396
|
default: l(() => [
|
|
391
|
-
|
|
397
|
+
_.task.taskDefinitionKey === "UploadScanFile" ? (b(), S(t, {
|
|
392
398
|
key: 0,
|
|
393
399
|
span: 12
|
|
394
400
|
}, {
|
|
395
401
|
default: l(() => [
|
|
396
|
-
e(
|
|
402
|
+
e(s, {
|
|
397
403
|
label: a.$t("itsmFlowEntrust.scannedCopy")
|
|
398
404
|
}, {
|
|
399
405
|
default: l(() => [
|
|
400
406
|
e(N, {
|
|
401
407
|
type: "primary",
|
|
402
408
|
icon: F(ae),
|
|
403
|
-
onClick:
|
|
409
|
+
onClick: P
|
|
404
410
|
}, {
|
|
405
411
|
default: l(() => [
|
|
406
|
-
|
|
412
|
+
u(r(a.$t("common.uploadFiles")), 1)
|
|
407
413
|
]),
|
|
408
414
|
_: 1
|
|
409
415
|
}, 8, ["icon"])
|
|
410
416
|
]),
|
|
411
417
|
_: 1
|
|
412
418
|
}, 8, ["label"]),
|
|
413
|
-
e(
|
|
419
|
+
e(s, null, {
|
|
414
420
|
default: l(() => [
|
|
415
|
-
(b(!0), g(M, null, ee(p.value, (
|
|
421
|
+
(b(!0), g(M, null, ee(p.value, (v, C) => (b(), g("div", {
|
|
416
422
|
key: C,
|
|
417
423
|
class: "files-list"
|
|
418
424
|
}, [
|
|
419
|
-
|
|
425
|
+
u(r(v.fileName) + " ", 1),
|
|
420
426
|
e(H, {
|
|
421
427
|
size: "16",
|
|
422
428
|
class: "icon-right",
|
|
423
|
-
onClick: (ue) =>
|
|
429
|
+
onClick: (ue) => q(C)
|
|
424
430
|
}, {
|
|
425
431
|
default: l(() => [
|
|
426
432
|
e(G)
|
|
@@ -434,12 +440,12 @@ const ve = /* @__PURE__ */ X({
|
|
|
434
440
|
]),
|
|
435
441
|
_: 1
|
|
436
442
|
})) : B("", !0),
|
|
437
|
-
|
|
443
|
+
_.task.taskDefinitionKey === "UploadScanFile" ? (b(), S(t, {
|
|
438
444
|
key: 1,
|
|
439
445
|
span: 12
|
|
440
446
|
}, {
|
|
441
447
|
default: l(() => [
|
|
442
|
-
e(
|
|
448
|
+
e(s, {
|
|
443
449
|
label: a.$t("itsmFlowEntrust.export")
|
|
444
450
|
}, {
|
|
445
451
|
default: l(() => [
|
|
@@ -449,7 +455,7 @@ const ve = /* @__PURE__ */ X({
|
|
|
449
455
|
onClick: U
|
|
450
456
|
}, {
|
|
451
457
|
default: l(() => [
|
|
452
|
-
|
|
458
|
+
u(r(a.$t("itsmFlowEntrust.export")), 1)
|
|
453
459
|
]),
|
|
454
460
|
_: 1
|
|
455
461
|
})
|
|
@@ -467,15 +473,15 @@ const ve = /* @__PURE__ */ X({
|
|
|
467
473
|
}, 8, ["model"]),
|
|
468
474
|
e(Q, {
|
|
469
475
|
ref_key: "uploadRef",
|
|
470
|
-
ref:
|
|
476
|
+
ref: I,
|
|
471
477
|
modelValue: y.value,
|
|
472
|
-
"onUpdate:modelValue":
|
|
473
|
-
onUploadFileList:
|
|
478
|
+
"onUpdate:modelValue": o[0] || (o[0] = (v) => y.value = v),
|
|
479
|
+
onUploadFileList: K
|
|
474
480
|
}, null, 8, ["modelValue"])
|
|
475
481
|
], 64);
|
|
476
482
|
};
|
|
477
483
|
}
|
|
478
484
|
});
|
|
479
485
|
export {
|
|
480
|
-
|
|
486
|
+
_e as default
|
|
481
487
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as M, ref as R, reactive as S, resolveComponent as s, resolveDirective as W,
|
|
1
|
+
import { defineComponent as M, ref as R, reactive as S, resolveComponent as s, resolveDirective as W, createElementBlock as _, openBlock as c, createElementVNode as V, createVNode as l, createBlock as $, createCommentVNode as U, withCtx as t, withKeys as v, unref as a, createTextVNode as k, toDisplayString as d, withDirectives as F, isRef as q } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
4
|
import { i as Z } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { C as ee, D as h } from "./index-
|
|
5
|
+
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-CQVLZd-n.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-B80qPhYo.mjs";
|
|
7
7
|
const oe = { class: "app-container" }, le = { class: "search-container" }, te = ["onClick"], ne = ["onClick"], pe = /* @__PURE__ */ M({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ae) {
|
|
@@ -255,7 +255,7 @@ const oe = { class: "app-container" }, le = { class: "search-container" }, te =
|
|
|
255
255
|
default: t(() => [
|
|
256
256
|
l(m, { span: 17 }, {
|
|
257
257
|
default: t(() => [
|
|
258
|
-
|
|
258
|
+
F((c(), $(y, {
|
|
259
259
|
type: "primary",
|
|
260
260
|
onClick: Q
|
|
261
261
|
}, {
|
|
@@ -276,7 +276,7 @@ const oe = { class: "app-container" }, le = { class: "search-container" }, te =
|
|
|
276
276
|
default: t(() => [
|
|
277
277
|
l(E, {
|
|
278
278
|
modelValue: a(f),
|
|
279
|
-
"onUpdate:modelValue": e[12] || (e[12] = (o) =>
|
|
279
|
+
"onUpdate:modelValue": e[12] || (e[12] = (o) => q(f) ? f.value = o : f = o),
|
|
280
280
|
"label-name": "itsm-flow-reckoning"
|
|
281
281
|
}, null, 8, ["modelValue"])
|
|
282
282
|
]),
|
|
@@ -287,16 +287,16 @@ const oe = { class: "app-container" }, le = { class: "search-container" }, te =
|
|
|
287
287
|
})
|
|
288
288
|
]),
|
|
289
289
|
footer: t(() => [
|
|
290
|
-
a(N) > 0 ? (c(),
|
|
290
|
+
a(N) > 0 ? (c(), $(H, {
|
|
291
291
|
key: 0,
|
|
292
292
|
total: a(N),
|
|
293
|
-
"onUpdate:total": e[13] || (e[13] = (o) =>
|
|
293
|
+
"onUpdate:total": e[13] || (e[13] = (o) => q(N) ? N.value = o : null),
|
|
294
294
|
"current-page": r.value.curPage,
|
|
295
295
|
"onUpdate:currentPage": e[14] || (e[14] = (o) => r.value.curPage = o),
|
|
296
296
|
"page-size": r.value.pageSize,
|
|
297
297
|
"onUpdate:pageSize": e[15] || (e[15] = (o) => r.value.pageSize = o),
|
|
298
298
|
onPagination: e[16] || (e[16] = (o) => a(i).getList())
|
|
299
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
299
|
+
}, null, 8, ["total", "current-page", "page-size"])) : U("", !0)
|
|
300
300
|
]),
|
|
301
301
|
default: t(() => [
|
|
302
302
|
l(A, {
|
|
@@ -316,7 +316,7 @@ const oe = { class: "app-container" }, le = { class: "search-container" }, te =
|
|
|
316
316
|
V("span", null, d(a(h).orgIdBizDict.getValue(o.data.row.serviceOrg)), 1)
|
|
317
317
|
]),
|
|
318
318
|
operation: t((o) => [
|
|
319
|
-
|
|
319
|
+
F((c(), _("span", {
|
|
320
320
|
class: "el-button-color",
|
|
321
321
|
onClick: (J) => T(o.data.row)
|
|
322
322
|
}, [
|
|
@@ -324,7 +324,7 @@ const oe = { class: "app-container" }, le = { class: "search-container" }, te =
|
|
|
324
324
|
], 8, te)), [
|
|
325
325
|
[C, ["itsmflow:itsm_flow_reckoning:update"]]
|
|
326
326
|
]),
|
|
327
|
-
|
|
327
|
+
F((c(), _("span", {
|
|
328
328
|
class: "el-button-color dropdown-left",
|
|
329
329
|
onClick: (J) => a(i).deleteRecord(o.data.row)
|
|
330
330
|
}, [
|
|
@@ -338,7 +338,7 @@ const oe = { class: "app-container" }, le = { class: "search-container" }, te =
|
|
|
338
338
|
]),
|
|
339
339
|
_: 1
|
|
340
340
|
}),
|
|
341
|
-
u.value.visible ? (c(),
|
|
341
|
+
u.value.visible ? (c(), $(x, {
|
|
342
342
|
key: 0,
|
|
343
343
|
modelValue: u.value.visible,
|
|
344
344
|
"onUpdate:modelValue": e[17] || (e[17] = (o) => u.value.visible = o),
|
|
@@ -346,7 +346,7 @@ const oe = { class: "app-container" }, le = { class: "search-container" }, te =
|
|
|
346
346
|
"entity-key": a(b),
|
|
347
347
|
onRefresh: O,
|
|
348
348
|
width: "900px"
|
|
349
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
349
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : U("", !0)
|
|
350
350
|
]);
|
|
351
351
|
};
|
|
352
352
|
}
|