xyvcard-itsm-flow 0.0.13 → 0.0.15
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/{index-1bFZ2FEX.mjs → index-BvRC1w8b.mjs} +188 -180
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Z, mergeModels as ee, ref as m, useModel as le, resolveComponent as d, createElementBlock as A, openBlock as k, Fragment as O, createVNode as e, withCtx as l, createElementVNode as s, createTextVNode as u, toDisplayString as i, unref as b, createBlock as $, createCommentVNode as V, renderList as te } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { D as
|
|
4
|
-
import {
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { F as
|
|
7
|
-
import { E as
|
|
8
|
-
const
|
|
3
|
+
import { D as F, i as I, C as y, u as ae, a as oe } from "./index-CMpeLVvR.mjs";
|
|
4
|
+
import { fileApi as ne } from "jmash-core";
|
|
5
|
+
import { useI18n as se } from "vue-i18n";
|
|
6
|
+
import { F as ue } from "./FileSaver.min-5d27MsC6.mjs";
|
|
7
|
+
import { E as j } from "./el-message-DweX1k3E.mjs";
|
|
8
|
+
const ve = /* @__PURE__ */ Z({
|
|
9
9
|
__name: "index",
|
|
10
|
-
props: /* @__PURE__ */
|
|
10
|
+
props: /* @__PURE__ */ ee({
|
|
11
11
|
task: {
|
|
12
12
|
type: Object,
|
|
13
13
|
default: () => {
|
|
@@ -18,99 +18,107 @@ const _e = /* @__PURE__ */ Y({
|
|
|
18
18
|
modelModifiers: {}
|
|
19
19
|
}),
|
|
20
20
|
emits: ["update:modelValue"],
|
|
21
|
-
setup(
|
|
22
|
-
const { t:
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
setup(E, { expose: B }) {
|
|
22
|
+
const { t: N } = se();
|
|
23
|
+
async function P(t) {
|
|
24
|
+
try {
|
|
25
|
+
const a = ne.fileUrl(t.filePath), n = await (await fetch(a)).blob(), r = window.URL.createObjectURL(n), v = document.createElement("a");
|
|
26
|
+
v.href = r, v.download = t.fileName || "download", document.body.appendChild(v), v.click();
|
|
27
|
+
} catch {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
const S = () => {
|
|
31
|
+
I.exportFilePdf({ acceptanceId: D.value.acceptanceId }).then((t) => {
|
|
32
|
+
const a = new Blob([t.data], {
|
|
25
33
|
type: "application/octet-stream"
|
|
26
34
|
});
|
|
27
|
-
|
|
35
|
+
ue.saveAs(a, N("itsmFlowAcceptance.name") + ".pdf");
|
|
28
36
|
});
|
|
29
37
|
};
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
acceptanceId:
|
|
33
|
-
}), c = m({}),
|
|
34
|
-
function
|
|
35
|
-
|
|
38
|
+
F.orgIdBizDict.useValues();
|
|
39
|
+
const f = E, D = m({
|
|
40
|
+
acceptanceId: f.task.businessKey
|
|
41
|
+
}), c = m({}), _ = le(E, "modelValue"), L = m(), K = m({}), h = m(!1), M = m(), p = m([]), U = m();
|
|
42
|
+
function R() {
|
|
43
|
+
h.value = !0, M.value.clearFileList();
|
|
36
44
|
}
|
|
37
|
-
function
|
|
38
|
-
p == null || p.value.splice(
|
|
45
|
+
function q(t) {
|
|
46
|
+
p == null || p.value.splice(t, 1);
|
|
39
47
|
}
|
|
40
|
-
function z(
|
|
41
|
-
const
|
|
42
|
-
fileName:
|
|
43
|
-
fileId:
|
|
48
|
+
function z(t) {
|
|
49
|
+
const a = {
|
|
50
|
+
fileName: t.name,
|
|
51
|
+
fileId: t.response.fileId
|
|
44
52
|
};
|
|
45
|
-
p == null || p.value.push(
|
|
53
|
+
p == null || p.value.push(a), p.value = [...new Set(p.value)], U.value = {
|
|
46
54
|
requestId: Math.random() * 10 + "",
|
|
47
|
-
taskId:
|
|
48
|
-
name:
|
|
49
|
-
type:
|
|
50
|
-
url:
|
|
51
|
-
},
|
|
55
|
+
taskId: f.task.id,
|
|
56
|
+
name: t.name,
|
|
57
|
+
type: t.response.contentType,
|
|
58
|
+
url: t.response.fileSrc
|
|
59
|
+
}, T();
|
|
52
60
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
55
|
-
|
|
61
|
+
function T() {
|
|
62
|
+
oe.uploadFile(U.value).then(() => {
|
|
63
|
+
j.success(N("common.uploadSuccess"));
|
|
56
64
|
}).catch(() => {
|
|
57
|
-
|
|
65
|
+
j.error(N("common.uploadError"));
|
|
58
66
|
});
|
|
59
67
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}), c.value.files =
|
|
68
|
+
function W() {
|
|
69
|
+
I.findFilesList({ actionId: f.task.businessKey }).then(({ data: t }) => {
|
|
70
|
+
t.results.forEach((a) => {
|
|
71
|
+
a.filePath = a.fileSrc;
|
|
72
|
+
}), c.value.files = t.results;
|
|
65
73
|
});
|
|
66
74
|
}
|
|
67
|
-
|
|
68
|
-
changeModel: () =>
|
|
75
|
+
f.task.businessKey && x(), B({
|
|
76
|
+
changeModel: () => G()
|
|
69
77
|
});
|
|
70
|
-
function W() {
|
|
71
|
-
V.findById({ acceptanceId: D.value.acceptanceId }).then(({ data: a }) => {
|
|
72
|
-
c.value = Object.assign(c.value, a);
|
|
73
|
-
}), T();
|
|
74
|
-
}
|
|
75
78
|
function x() {
|
|
76
|
-
|
|
79
|
+
I.findById({ acceptanceId: D.value.acceptanceId }).then(({ data: t }) => {
|
|
80
|
+
c.value = Object.assign(c.value, t);
|
|
81
|
+
}), W();
|
|
82
|
+
}
|
|
83
|
+
function G() {
|
|
84
|
+
return _.value && (_.value.selectActions = [
|
|
77
85
|
{ key: "true", value: "同意" },
|
|
78
86
|
{ key: "false", value: "不同意" }
|
|
79
|
-
],
|
|
80
|
-
var
|
|
81
|
-
(
|
|
82
|
-
|
|
87
|
+
], _.value.varName = "approved", _.value.module = "", _.value.module = y.MODULE_ITSMFLOW), new Promise((t, a) => {
|
|
88
|
+
var o;
|
|
89
|
+
(o = L.value) == null || o.validate((n) => {
|
|
90
|
+
n ? (_.value && (_.value.comment = ""), t(!0)) : a(!1);
|
|
83
91
|
});
|
|
84
92
|
});
|
|
85
93
|
}
|
|
86
|
-
return (
|
|
87
|
-
const
|
|
88
|
-
return
|
|
89
|
-
e(
|
|
90
|
-
default: l(() =>
|
|
91
|
-
|
|
94
|
+
return (t, a) => {
|
|
95
|
+
const o = d("el-col"), n = d("el-form-item"), r = d("el-row"), v = d("el-table-column"), C = d("el-button"), H = d("el-table"), J = d("CircleClose"), Q = d("el-icon"), X = d("el-form"), Y = d("jmash-multi-upload");
|
|
96
|
+
return k(), A(O, null, [
|
|
97
|
+
e(o, { span: 24 }, {
|
|
98
|
+
default: l(() => a[1] || (a[1] = [
|
|
99
|
+
s("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
|
|
92
100
|
])),
|
|
93
101
|
_: 1,
|
|
94
102
|
__: [1]
|
|
95
103
|
}),
|
|
96
|
-
e(
|
|
104
|
+
e(X, {
|
|
97
105
|
ref_key: "taskFormRef",
|
|
98
|
-
ref:
|
|
99
|
-
model:
|
|
106
|
+
ref: L,
|
|
107
|
+
model: K.value,
|
|
100
108
|
"label-width": "150px",
|
|
101
109
|
class: "custom-table-form"
|
|
102
110
|
}, {
|
|
103
111
|
default: l(() => [
|
|
104
|
-
e(
|
|
112
|
+
e(r, null, {
|
|
105
113
|
default: l(() => [
|
|
106
|
-
e(
|
|
114
|
+
e(o, { span: 24 }, {
|
|
107
115
|
default: l(() => [
|
|
108
|
-
e(
|
|
109
|
-
label:
|
|
116
|
+
e(n, {
|
|
117
|
+
label: t.$t("itsmFlowAcceptance.contractName"),
|
|
110
118
|
prop: "contractName"
|
|
111
119
|
}, {
|
|
112
120
|
default: l(() => [
|
|
113
|
-
u(
|
|
121
|
+
u(i(c.value.contractName), 1)
|
|
114
122
|
]),
|
|
115
123
|
_: 1
|
|
116
124
|
}, 8, ["label"])
|
|
@@ -120,16 +128,16 @@ const _e = /* @__PURE__ */ Y({
|
|
|
120
128
|
]),
|
|
121
129
|
_: 1
|
|
122
130
|
}),
|
|
123
|
-
e(
|
|
131
|
+
e(r, null, {
|
|
124
132
|
default: l(() => [
|
|
125
|
-
e(
|
|
133
|
+
e(o, { span: 24 }, {
|
|
126
134
|
default: l(() => [
|
|
127
|
-
e(
|
|
128
|
-
label:
|
|
135
|
+
e(n, {
|
|
136
|
+
label: t.$t("itsmFlowAcceptance.contractNo"),
|
|
129
137
|
prop: "contractNo"
|
|
130
138
|
}, {
|
|
131
139
|
default: l(() => [
|
|
132
|
-
u(
|
|
140
|
+
u(i(c.value.contractNo), 1)
|
|
133
141
|
]),
|
|
134
142
|
_: 1
|
|
135
143
|
}, 8, ["label"])
|
|
@@ -139,16 +147,16 @@ const _e = /* @__PURE__ */ Y({
|
|
|
139
147
|
]),
|
|
140
148
|
_: 1
|
|
141
149
|
}),
|
|
142
|
-
e(
|
|
150
|
+
e(r, null, {
|
|
143
151
|
default: l(() => [
|
|
144
|
-
e(
|
|
152
|
+
e(o, { span: 24 }, {
|
|
145
153
|
default: l(() => [
|
|
146
|
-
e(
|
|
147
|
-
label:
|
|
154
|
+
e(n, {
|
|
155
|
+
label: t.$t("itsmFlowAcceptance.orderId"),
|
|
148
156
|
prop: "orderNo"
|
|
149
157
|
}, {
|
|
150
158
|
default: l(() => [
|
|
151
|
-
u(
|
|
159
|
+
u(i(c.value.orderNo), 1)
|
|
152
160
|
]),
|
|
153
161
|
_: 1
|
|
154
162
|
}, 8, ["label"])
|
|
@@ -158,16 +166,16 @@ const _e = /* @__PURE__ */ Y({
|
|
|
158
166
|
]),
|
|
159
167
|
_: 1
|
|
160
168
|
}),
|
|
161
|
-
e(
|
|
169
|
+
e(r, null, {
|
|
162
170
|
default: l(() => [
|
|
163
|
-
e(
|
|
171
|
+
e(o, { span: 24 }, {
|
|
164
172
|
default: l(() => [
|
|
165
|
-
e(
|
|
166
|
-
label:
|
|
173
|
+
e(n, {
|
|
174
|
+
label: t.$t("itsmFlowAcceptance.entrustName"),
|
|
167
175
|
prop: "entrustName"
|
|
168
176
|
}, {
|
|
169
177
|
default: l(() => [
|
|
170
|
-
u(
|
|
178
|
+
u(i(b(F).projectNameDict.getDictValue(c.value.entrustName)), 1)
|
|
171
179
|
]),
|
|
172
180
|
_: 1
|
|
173
181
|
}, 8, ["label"])
|
|
@@ -177,58 +185,58 @@ const _e = /* @__PURE__ */ Y({
|
|
|
177
185
|
]),
|
|
178
186
|
_: 1
|
|
179
187
|
}),
|
|
180
|
-
e(
|
|
188
|
+
e(r, null, {
|
|
181
189
|
default: l(() => [
|
|
182
|
-
e(
|
|
190
|
+
e(o, { span: 12 }, {
|
|
183
191
|
default: l(() => [
|
|
184
|
-
e(
|
|
185
|
-
label:
|
|
192
|
+
e(n, {
|
|
193
|
+
label: t.$t("itsmFlowAcceptance.serviceOrg"),
|
|
186
194
|
prop: "serviceOrg"
|
|
187
195
|
}, {
|
|
188
196
|
default: l(() => [
|
|
189
|
-
u(
|
|
197
|
+
u(i(b(F).orgIdBizDict.getValue(c.value.serviceOrg)), 1)
|
|
190
198
|
]),
|
|
191
199
|
_: 1
|
|
192
200
|
}, 8, ["label"])
|
|
193
201
|
]),
|
|
194
202
|
_: 1
|
|
195
203
|
}),
|
|
196
|
-
e(
|
|
204
|
+
e(o, { span: 12 }, {
|
|
197
205
|
default: l(() => [
|
|
198
|
-
e(
|
|
199
|
-
label:
|
|
206
|
+
e(n, {
|
|
207
|
+
label: t.$t("itsmFlowAcceptance.stage"),
|
|
200
208
|
prop: "stage"
|
|
201
209
|
}, {
|
|
202
210
|
default: l(() => [
|
|
203
|
-
u(
|
|
211
|
+
u(i(c.value.stage), 1)
|
|
204
212
|
]),
|
|
205
213
|
_: 1
|
|
206
214
|
}, 8, ["label"])
|
|
207
215
|
]),
|
|
208
216
|
_: 1
|
|
209
217
|
}),
|
|
210
|
-
e(
|
|
218
|
+
e(o, { span: 12 }, {
|
|
211
219
|
default: l(() => [
|
|
212
|
-
e(
|
|
213
|
-
label:
|
|
220
|
+
e(n, {
|
|
221
|
+
label: t.$t("itsmFlowAcceptance.headman"),
|
|
214
222
|
prop: "headmanName"
|
|
215
223
|
}, {
|
|
216
224
|
default: l(() => [
|
|
217
|
-
u(
|
|
225
|
+
u(i(c.value.headmanName), 1)
|
|
218
226
|
]),
|
|
219
227
|
_: 1
|
|
220
228
|
}, 8, ["label"])
|
|
221
229
|
]),
|
|
222
230
|
_: 1
|
|
223
231
|
}),
|
|
224
|
-
e(
|
|
232
|
+
e(o, { span: 12 }, {
|
|
225
233
|
default: l(() => [
|
|
226
|
-
e(
|
|
227
|
-
label:
|
|
234
|
+
e(n, {
|
|
235
|
+
label: t.$t("itsmFlowAcceptance.members"),
|
|
228
236
|
prop: "membersName"
|
|
229
237
|
}, {
|
|
230
238
|
default: l(() => [
|
|
231
|
-
u(
|
|
239
|
+
u(i(c.value.membersName), 1)
|
|
232
240
|
]),
|
|
233
241
|
_: 1
|
|
234
242
|
}, 8, ["label"])
|
|
@@ -238,37 +246,37 @@ const _e = /* @__PURE__ */ Y({
|
|
|
238
246
|
]),
|
|
239
247
|
_: 1
|
|
240
248
|
}),
|
|
241
|
-
e(
|
|
249
|
+
e(r, null, {
|
|
242
250
|
default: l(() => [
|
|
243
|
-
e(
|
|
251
|
+
e(o, { span: 24 }, {
|
|
244
252
|
default: l(() => [
|
|
245
|
-
e(
|
|
246
|
-
label:
|
|
253
|
+
e(n, {
|
|
254
|
+
label: t.$t("itsmFlowAcceptance.files"),
|
|
247
255
|
prop: "files"
|
|
248
256
|
}, {
|
|
249
257
|
default: l(() => [
|
|
250
|
-
e(
|
|
258
|
+
e(H, {
|
|
251
259
|
data: c.value.files,
|
|
252
260
|
border: ""
|
|
253
261
|
}, {
|
|
254
262
|
default: l(() => [
|
|
255
|
-
e(
|
|
263
|
+
e(v, {
|
|
256
264
|
prop: "fileName",
|
|
257
265
|
label: "附件名称"
|
|
258
266
|
}),
|
|
259
|
-
e(
|
|
267
|
+
e(v, {
|
|
260
268
|
prop: "",
|
|
261
269
|
label: "操作",
|
|
262
270
|
width: "100"
|
|
263
271
|
}, {
|
|
264
|
-
default: l((
|
|
265
|
-
e(
|
|
272
|
+
default: l((w) => [
|
|
273
|
+
e(C, {
|
|
266
274
|
type: "primary",
|
|
267
275
|
link: "",
|
|
268
276
|
size: "small",
|
|
269
|
-
onClick: (
|
|
277
|
+
onClick: (g) => P(w.row)
|
|
270
278
|
}, {
|
|
271
|
-
default: l(() =>
|
|
279
|
+
default: l(() => a[2] || (a[2] = [
|
|
272
280
|
u(" 查看 ")
|
|
273
281
|
])),
|
|
274
282
|
_: 2,
|
|
@@ -289,16 +297,16 @@ const _e = /* @__PURE__ */ Y({
|
|
|
289
297
|
]),
|
|
290
298
|
_: 1
|
|
291
299
|
}),
|
|
292
|
-
e(
|
|
300
|
+
e(r, null, {
|
|
293
301
|
default: l(() => [
|
|
294
|
-
e(
|
|
302
|
+
e(o, { span: 24 }, {
|
|
295
303
|
default: l(() => [
|
|
296
|
-
e(
|
|
297
|
-
label:
|
|
304
|
+
e(n, {
|
|
305
|
+
label: t.$t("itsmFlowAcceptance.serviceContent"),
|
|
298
306
|
prop: "serviceContent"
|
|
299
307
|
}, {
|
|
300
308
|
default: l(() => [
|
|
301
|
-
u(
|
|
309
|
+
u(i(c.value.serviceContent), 1)
|
|
302
310
|
]),
|
|
303
311
|
_: 1
|
|
304
312
|
}, 8, ["label"])
|
|
@@ -308,38 +316,38 @@ const _e = /* @__PURE__ */ Y({
|
|
|
308
316
|
]),
|
|
309
317
|
_: 1
|
|
310
318
|
}),
|
|
311
|
-
e(
|
|
319
|
+
e(r, null, {
|
|
312
320
|
default: l(() => [
|
|
313
|
-
|
|
321
|
+
f.task.taskDefinitionKey !== b(y).node.sign ? (k(), $(o, {
|
|
314
322
|
key: 0,
|
|
315
323
|
span: 24
|
|
316
324
|
}, {
|
|
317
325
|
default: l(() => [
|
|
318
|
-
e(
|
|
319
|
-
label:
|
|
326
|
+
e(n, {
|
|
327
|
+
label: t.$t("itsmFlowAcceptance.result"),
|
|
320
328
|
prop: "result"
|
|
321
329
|
}, {
|
|
322
330
|
default: l(() => [
|
|
323
|
-
u(
|
|
331
|
+
u(i(b(F).isValuesDict.getValue(c.value.result)), 1)
|
|
324
332
|
]),
|
|
325
333
|
_: 1
|
|
326
334
|
}, 8, ["label"])
|
|
327
335
|
]),
|
|
328
336
|
_: 1
|
|
329
|
-
})) :
|
|
337
|
+
})) : V("", !0)
|
|
330
338
|
]),
|
|
331
339
|
_: 1
|
|
332
340
|
}),
|
|
333
|
-
e(
|
|
341
|
+
e(r, null, {
|
|
334
342
|
default: l(() => [
|
|
335
|
-
e(
|
|
343
|
+
e(o, { span: 24 }, {
|
|
336
344
|
default: l(() => [
|
|
337
|
-
e(
|
|
338
|
-
label:
|
|
345
|
+
e(n, {
|
|
346
|
+
label: t.$t("itsmFlowAcceptance.acceptanceNo"),
|
|
339
347
|
prop: "acceptanceNo"
|
|
340
348
|
}, {
|
|
341
349
|
default: l(() => [
|
|
342
|
-
u(
|
|
350
|
+
u(i(c.value.acceptanceNo), 1)
|
|
343
351
|
]),
|
|
344
352
|
_: 1
|
|
345
353
|
}, 8, ["label"])
|
|
@@ -349,16 +357,16 @@ const _e = /* @__PURE__ */ Y({
|
|
|
349
357
|
]),
|
|
350
358
|
_: 1
|
|
351
359
|
}),
|
|
352
|
-
e(
|
|
360
|
+
e(r, null, {
|
|
353
361
|
default: l(() => [
|
|
354
|
-
e(
|
|
362
|
+
e(o, { span: 24 }, {
|
|
355
363
|
default: l(() => [
|
|
356
|
-
e(
|
|
357
|
-
label:
|
|
364
|
+
e(n, {
|
|
365
|
+
label: t.$t("itsmFlowAcceptance.evaluate"),
|
|
358
366
|
prop: "evaluate"
|
|
359
367
|
}, {
|
|
360
368
|
default: l(() => [
|
|
361
|
-
u(
|
|
369
|
+
u(i(c.value.evaluate), 1)
|
|
362
370
|
]),
|
|
363
371
|
_: 1
|
|
364
372
|
}, 8, ["label"])
|
|
@@ -368,43 +376,43 @@ const _e = /* @__PURE__ */ Y({
|
|
|
368
376
|
]),
|
|
369
377
|
_: 1
|
|
370
378
|
}),
|
|
371
|
-
e(
|
|
379
|
+
e(r, { class: "bordered-row" }, {
|
|
372
380
|
default: l(() => [
|
|
373
|
-
e(
|
|
374
|
-
default: l(() =>
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
381
|
+
e(o, { span: 12 }, {
|
|
382
|
+
default: l(() => a[3] || (a[3] = [
|
|
383
|
+
s("div", { class: "content-box" }, [
|
|
384
|
+
s("div", { class: "content-box-top" }, [
|
|
385
|
+
s("div", null, "甲方单位(盖章)"),
|
|
386
|
+
s("div", null, "负责人(签字):"),
|
|
387
|
+
s("div", null, "或授权代理人(签字):")
|
|
380
388
|
]),
|
|
381
|
-
|
|
389
|
+
s("div", { class: "content-box-bottom" }, [
|
|
382
390
|
u(" 日期: "),
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
391
|
+
s("span", null, "年"),
|
|
392
|
+
s("span", null, "月"),
|
|
393
|
+
s("span", null, "日")
|
|
386
394
|
])
|
|
387
395
|
], -1)
|
|
388
396
|
])),
|
|
389
397
|
_: 1,
|
|
390
398
|
__: [3]
|
|
391
399
|
}),
|
|
392
|
-
e(
|
|
400
|
+
e(o, {
|
|
393
401
|
span: 12,
|
|
394
402
|
class: "with-divider"
|
|
395
403
|
}, {
|
|
396
|
-
default: l(() =>
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
404
|
+
default: l(() => a[4] || (a[4] = [
|
|
405
|
+
s("div", { class: "content-box" }, [
|
|
406
|
+
s("div", { class: "content-box-top" }, [
|
|
407
|
+
s("div", null, "服务人员所属单位(盖章)"),
|
|
408
|
+
s("div", null, "法定代表人(签字):"),
|
|
409
|
+
s("div", null, "或授权代理人(签字):")
|
|
402
410
|
]),
|
|
403
|
-
|
|
411
|
+
s("div", { class: "content-box-bottom" }, [
|
|
404
412
|
u(" 日期: "),
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
413
|
+
s("span", null, "年"),
|
|
414
|
+
s("span", null, "月"),
|
|
415
|
+
s("span", null, "日")
|
|
408
416
|
])
|
|
409
417
|
], -1)
|
|
410
418
|
])),
|
|
@@ -414,44 +422,44 @@ const _e = /* @__PURE__ */ Y({
|
|
|
414
422
|
]),
|
|
415
423
|
_: 1
|
|
416
424
|
}),
|
|
417
|
-
e(
|
|
425
|
+
e(r, null, {
|
|
418
426
|
default: l(() => [
|
|
419
|
-
|
|
427
|
+
f.task.taskDefinitionKey === b(y).node.upload ? (k(), $(o, {
|
|
420
428
|
key: 0,
|
|
421
429
|
span: 12
|
|
422
430
|
}, {
|
|
423
431
|
default: l(() => [
|
|
424
|
-
e(
|
|
425
|
-
label:
|
|
432
|
+
e(n, {
|
|
433
|
+
label: t.$t("itsmFlowEntrust.scannedCopy")
|
|
426
434
|
}, {
|
|
427
435
|
default: l(() => [
|
|
428
|
-
e(
|
|
436
|
+
e(C, {
|
|
429
437
|
type: "primary",
|
|
430
|
-
icon:
|
|
431
|
-
onClick:
|
|
438
|
+
icon: b(ae),
|
|
439
|
+
onClick: R
|
|
432
440
|
}, {
|
|
433
441
|
default: l(() => [
|
|
434
|
-
u(
|
|
442
|
+
u(i(t.$t("common.uploadFiles")), 1)
|
|
435
443
|
]),
|
|
436
444
|
_: 1
|
|
437
445
|
}, 8, ["icon"])
|
|
438
446
|
]),
|
|
439
447
|
_: 1
|
|
440
448
|
}, 8, ["label"]),
|
|
441
|
-
e(
|
|
449
|
+
e(n, null, {
|
|
442
450
|
default: l(() => [
|
|
443
|
-
(
|
|
444
|
-
key:
|
|
451
|
+
(k(!0), A(O, null, te(p.value, (w, g) => (k(), A("div", {
|
|
452
|
+
key: g,
|
|
445
453
|
class: "files-list"
|
|
446
454
|
}, [
|
|
447
|
-
u(
|
|
448
|
-
e(
|
|
455
|
+
u(i(w.fileName) + " ", 1),
|
|
456
|
+
e(Q, {
|
|
449
457
|
size: "16",
|
|
450
458
|
class: "icon-right",
|
|
451
|
-
onClick: (
|
|
459
|
+
onClick: (ce) => q(g)
|
|
452
460
|
}, {
|
|
453
461
|
default: l(() => [
|
|
454
|
-
e(
|
|
462
|
+
e(J)
|
|
455
463
|
]),
|
|
456
464
|
_: 2
|
|
457
465
|
}, 1032, ["onClick"])
|
|
@@ -461,23 +469,23 @@ const _e = /* @__PURE__ */ Y({
|
|
|
461
469
|
})
|
|
462
470
|
]),
|
|
463
471
|
_: 1
|
|
464
|
-
})) :
|
|
465
|
-
|
|
472
|
+
})) : V("", !0),
|
|
473
|
+
f.task.taskDefinitionKey === b(y).node.upload ? (k(), $(o, {
|
|
466
474
|
key: 1,
|
|
467
475
|
span: 12
|
|
468
476
|
}, {
|
|
469
477
|
default: l(() => [
|
|
470
|
-
e(
|
|
471
|
-
label:
|
|
478
|
+
e(n, {
|
|
479
|
+
label: t.$t("itsmFlowEntrust.export")
|
|
472
480
|
}, {
|
|
473
481
|
default: l(() => [
|
|
474
|
-
e(
|
|
482
|
+
e(C, {
|
|
475
483
|
plain: "",
|
|
476
484
|
type: "primary",
|
|
477
|
-
onClick:
|
|
485
|
+
onClick: S
|
|
478
486
|
}, {
|
|
479
487
|
default: l(() => [
|
|
480
|
-
u(
|
|
488
|
+
u(i(t.$t("itsmFlowEntrust.export")), 1)
|
|
481
489
|
]),
|
|
482
490
|
_: 1
|
|
483
491
|
})
|
|
@@ -486,18 +494,18 @@ const _e = /* @__PURE__ */ Y({
|
|
|
486
494
|
}, 8, ["label"])
|
|
487
495
|
]),
|
|
488
496
|
_: 1
|
|
489
|
-
})) :
|
|
497
|
+
})) : V("", !0)
|
|
490
498
|
]),
|
|
491
499
|
_: 1
|
|
492
500
|
})
|
|
493
501
|
]),
|
|
494
502
|
_: 1
|
|
495
503
|
}, 8, ["model"]),
|
|
496
|
-
e(
|
|
504
|
+
e(Y, {
|
|
497
505
|
ref_key: "uploadRef",
|
|
498
506
|
ref: M,
|
|
499
|
-
modelValue:
|
|
500
|
-
"onUpdate:modelValue":
|
|
507
|
+
modelValue: h.value,
|
|
508
|
+
"onUpdate:modelValue": a[0] || (a[0] = (w) => h.value = w),
|
|
501
509
|
onUploadFileList: z
|
|
502
510
|
}, null, 8, ["modelValue"])
|
|
503
511
|
], 64);
|
|
@@ -505,5 +513,5 @@ const _e = /* @__PURE__ */ Y({
|
|
|
505
513
|
}
|
|
506
514
|
});
|
|
507
515
|
export {
|
|
508
|
-
|
|
516
|
+
ve as default
|
|
509
517
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -2687,7 +2687,7 @@ const Wi = {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
};
|
|
2689
2689
|
}
|
|
2690
|
-
}, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-Rj9Uz_7E.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-D8N9GIjm.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-C5EkvsBj.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-tRvxeQdk.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-CF3xSSyv.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-DkosMJpy.mjs") }), Wt = () => import("./index-VuC-5Jb_.mjs"), Fi = () => import("./index-ciUtLvg7.mjs"), Pt = () => import("./index-
|
|
2690
|
+
}, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-Rj9Uz_7E.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-D8N9GIjm.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-C5EkvsBj.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-tRvxeQdk.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-CF3xSSyv.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-DkosMJpy.mjs") }), Wt = () => import("./index-VuC-5Jb_.mjs"), Fi = () => import("./index-ciUtLvg7.mjs"), Pt = () => import("./index-BvRC1w8b.mjs"), Ii = () => import("./index-CWrGwJD5.mjs"), Ft = () => import("./index-_KUj3xRY.mjs"), Ci = () => import("./index-DukVUjy5.mjs"), Ei = {
|
|
2691
2691
|
install(e) {
|
|
2692
2692
|
Os(Pi, 7), Rs(Ts), H("TaskItsmFlowEntrust", Wt), H("TaskItsmFlowEntrustEdit", Fi), H("TaskItsmFlowEntrustView", Wt), H("TaskItsmFlowAcceptance", Pt), H(
|
|
2693
2693
|
"TaskItsmFlowAcceptanceEdit",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-itsm-flow",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"vue": "^3.5.13",
|
|
26
26
|
"vue-i18n": "^9.14.4",
|
|
27
27
|
"vue-router": "^4.5.1",
|
|
28
|
-
"jmash-core": "^0.1.
|
|
28
|
+
"jmash-core": "^0.1.4",
|
|
29
29
|
"jmash-dict": "^0.1.1",
|
|
30
|
-
"jmash-rbac": "^0.1.
|
|
30
|
+
"jmash-rbac": "^0.1.11",
|
|
31
31
|
"jmash-flow": "^0.0.21",
|
|
32
|
-
"xyvcard-workflow": "^0.0.
|
|
33
|
-
"xyvcard-itsmsys": "^0.0.
|
|
32
|
+
"xyvcard-workflow": "^0.0.41",
|
|
33
|
+
"xyvcard-itsmsys": "^0.0.20",
|
|
34
34
|
"xyvcard-itsm": "^0.0.26"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|