xyvcard-itsm-flow 0.0.27 → 0.0.28
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-DDqwfEMu.mjs → FileSaver.min-Bst8M31G.mjs} +1 -1
- package/dist/{edit-CkGTDSiH.mjs → edit-B5e6Z4D-.mjs} +1 -1
- package/dist/{edit-BH_qEChy.mjs → edit-B6x5LnXs.mjs} +1 -1
- package/dist/{edit-D0-xQV59.mjs → edit-CDrqDH14.mjs} +1 -1
- package/dist/{edit-BWaFYsWY.mjs → edit-Cdqv3LYF.mjs} +2 -2
- package/dist/{edit-DIyC972n.mjs → edit-CtGnGMdI.mjs} +2 -2
- package/dist/{edit-BpAjiLxu.mjs → edit-s6tpuJqi.mjs} +32 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs → edit.vue_vue_type_script_setup_true_lang-Dlt4h5rH.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs → edit.vue_vue_type_script_setup_true_lang-Z6oOT8ZZ.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs → edit.vue_vue_type_script_setup_true_lang-mfIQLtr7.mjs} +1 -1
- package/dist/{index-QPdQNctc.mjs → index-B343YUBs.mjs} +4 -4
- package/dist/{index-D6Poyzq3.mjs → index-BHx7wTh8.mjs} +2 -2
- package/dist/{index-Bjjyjlwd.mjs → index-BRS1J0_N.mjs} +1 -1
- package/dist/{index-BKQGui3N.mjs → index-BpTgZ8S6.mjs} +3 -3
- package/dist/{index-CjYlJigX.mjs → index-BryuNtvE.mjs} +4 -4
- package/dist/{index-DfptoNZ3.mjs → index-Bv6L7pj-.mjs} +225 -234
- package/dist/{index-CV6uWLV9.mjs → index-Bvl7uSjW.mjs} +33 -33
- package/dist/{index-CXOeg2so.mjs → index-BzNd3aeo.mjs} +1 -1
- package/dist/{index-Cd9CTAUb.mjs → index-C3imt6Nt.mjs} +43 -43
- package/dist/{index-Chh_9yED.mjs → index-C9XYUxJJ.mjs} +64 -64
- package/dist/{index-CillImY_.mjs → index-CND3lY5T.mjs} +130 -131
- package/dist/{index-n6pwVFlo.mjs → index-CVEflwbt.mjs} +1 -1
- package/dist/{index-rHARbj0G.mjs → index-CYgdVX3-.mjs} +3 -3
- package/dist/{index-CI9FMMKr.mjs → index-CaCAQvu3.mjs} +34 -35
- package/dist/{index-DcDzU5zK.mjs → index-Cd1wffPr.mjs} +61 -58
- package/dist/{index-qvWMlGg9.mjs → index-CeYdPqBa.mjs} +2 -2
- package/dist/{index-WpTFFCXY.mjs → index-ChDJ7snw.mjs} +3 -3
- package/dist/{index-DBRVK73O.mjs → index-Cp5FZJRb.mjs} +2 -2
- package/dist/{index-DY5EGkfi.mjs → index-DL0G-1We.mjs} +3 -3
- package/dist/{index-DxoX_XqQ.mjs → index-DS5-j9pi.mjs} +54 -56
- package/dist/{index-B20ya3NZ.mjs → index-DVTVgX1p.mjs} +93 -93
- package/dist/{index-C3zQQDPa.mjs → index-ETbLgbz7.mjs} +3 -3
- package/dist/{index-DTY8LR57.mjs → index-MPqnkTdo.mjs} +1 -1
- package/dist/{index-DjZysfQB.mjs → index-NEYEBifl.mjs} +19 -20
- package/dist/{index-CQ9elIv7.mjs → index-_lw11aC1.mjs} +2 -2
- package/dist/{index-BKveaoi_.mjs → index-j6FSzNWr.mjs} +15 -15
- package/dist/{index-CGDEQO2p.mjs → index-oYL4MO3G.mjs} +2 -2
- package/dist/{index-YBHgdjIk.mjs → index-qXw5Aiao.mjs} +77 -77
- package/dist/{index-BkqkF7bW.mjs → index-v6aOPnu6.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{info-BmfgBiif.mjs → info-BBeI4Gu-.mjs} +1 -1
- package/dist/{info-C1J_4HDK.mjs → info-BMDpWXun.mjs} +1 -1
- package/dist/{info-DTZck-Y6.mjs → info-D8JhIxGy.mjs} +1 -1
- package/dist/{info-0Dcd8VrX.mjs → info-Dcc0vKH3.mjs} +1 -1
- package/dist/info-Dmo9yYXs.mjs +4 -0
- package/dist/info-ghO6g5a7.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs → info.vue_vue_type_script_setup_true_lang-B_xQV4zS.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs → info.vue_vue_type_script_setup_true_lang-CcAaUZ-e.mjs} +14 -14
- package/dist/{info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs → info.vue_vue_type_script_setup_true_lang-CdlYnhVI.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs → info.vue_vue_type_script_setup_true_lang-Comh2IyD.mjs} +12 -12
- package/dist/{info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs → info.vue_vue_type_script_setup_true_lang-DVu1OSso.mjs} +10 -10
- package/dist/{info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs → info.vue_vue_type_script_setup_true_lang-DwW2WxUK.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/api/itsm-flow-temporary/types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/info-DjtHpeoT.mjs +0 -4
- package/dist/info-qIG0jebP.mjs +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as Q, mergeModels as X, ref as y, useModel as Z, reactive as
|
|
1
|
+
import { defineComponent as Q, mergeModels as X, ref as y, useModel as Z, reactive as k, computed as x, nextTick as ee, resolveComponent as n, createElementBlock as f, openBlock as c, Fragment as g, createVNode as t, withCtx as r, createElementVNode as le, unref as a, renderList as q, createBlock as te, createCommentVNode as oe, createTextVNode as C, toDisplayString as R } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as re } from "vue-i18n";
|
|
4
|
-
import { i as
|
|
5
|
-
import { U as ae, C as
|
|
4
|
+
import { i as D } from "./index-BzNd3aeo.mjs";
|
|
5
|
+
import { U as ae, C as w, D as M, i as ie } from "./index-MPqnkTdo.mjs";
|
|
6
6
|
import { u as se } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { useUserStoreHook as ne } from "jmash-core";
|
|
8
8
|
import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -19,16 +19,16 @@ const de = /* @__PURE__ */ Q({
|
|
|
19
19
|
modelModifiers: {}
|
|
20
20
|
}),
|
|
21
21
|
emits: ["update:modelValue"],
|
|
22
|
-
setup(
|
|
23
|
-
const $ = ne(), { t: m } = re(),
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
let o =
|
|
22
|
+
setup(T, { expose: N }) {
|
|
23
|
+
const $ = ne(), { t: m } = re(), v = new ae({ userType: w.COMPANY_MANAGER });
|
|
24
|
+
v.useValues();
|
|
25
|
+
const F = y(), d = Z(T, "modelValue"), b = T, h = y((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
26
|
+
let o = k({
|
|
27
27
|
requestId: Math.random() * 10 + "",
|
|
28
28
|
files: [],
|
|
29
|
-
temporaryType:
|
|
29
|
+
temporaryType: w.Internal
|
|
30
30
|
});
|
|
31
|
-
const
|
|
31
|
+
const _ = y(!1), I = y(), U = k({
|
|
32
32
|
govOrgId: [
|
|
33
33
|
{
|
|
34
34
|
required: !0,
|
|
@@ -72,11 +72,11 @@ const de = /* @__PURE__ */ Q({
|
|
|
72
72
|
}
|
|
73
73
|
]
|
|
74
74
|
}), O = x(() => {
|
|
75
|
-
const e =
|
|
75
|
+
const e = M.fileTypeDict.values.slice(2, 3)[0];
|
|
76
76
|
return e ? e.dictCode : "temporary_file";
|
|
77
77
|
});
|
|
78
78
|
function S() {
|
|
79
|
-
|
|
79
|
+
_.value = !0, I.value.clearFileList();
|
|
80
80
|
}
|
|
81
81
|
function A(e) {
|
|
82
82
|
const l = {
|
|
@@ -87,18 +87,17 @@ const de = /* @__PURE__ */ Q({
|
|
|
87
87
|
};
|
|
88
88
|
o.files || (o.files = []), o.files.push(l), o.files = [...new Set(o.files)];
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
function L(e) {
|
|
90
|
+
function Y(e) {
|
|
92
91
|
var l;
|
|
93
92
|
(l = o.files) == null || l.splice(e, 1);
|
|
94
93
|
}
|
|
95
|
-
|
|
94
|
+
D.findById({ temporaryId: b.task.businessKey }).then(({ data: e }) => {
|
|
96
95
|
o.outOrgId = e.outOrgId, ee(() => {
|
|
97
|
-
Object.assign(o, e),
|
|
96
|
+
Object.assign(o, e), L();
|
|
98
97
|
});
|
|
99
98
|
});
|
|
100
|
-
function
|
|
101
|
-
ie.findFilesList({ actionId:
|
|
99
|
+
function L() {
|
|
100
|
+
ie.findFilesList({ actionId: b.task.businessKey }).then(({ data: e }) => {
|
|
102
101
|
e.results && Array.isArray(e.results) && (o.files = e.results.map((l) => {
|
|
103
102
|
let i = "";
|
|
104
103
|
return l.fileName && (i = l.fileSort || l.type || ""), {
|
|
@@ -117,10 +116,10 @@ const de = /* @__PURE__ */ Q({
|
|
|
117
116
|
return d.value && (d.value.selectActions = [
|
|
118
117
|
{ key: "true", value: "同意" },
|
|
119
118
|
{ key: "false", value: "不同意" }
|
|
120
|
-
], d.value.varName = "approved", d.value.module = "", d.value.module =
|
|
119
|
+
], d.value.varName = "approved", d.value.module = "", d.value.module = w.MODULE_ITSMFLOW), new Promise((e, l) => {
|
|
121
120
|
var i;
|
|
122
|
-
(i =
|
|
123
|
-
p ? (d.value && (d.value.comment = ""),
|
|
121
|
+
(i = F.value) == null || i.validate((p) => {
|
|
122
|
+
p ? (d.value && (d.value.comment = ""), D.create(o), e(!0)) : l(!1);
|
|
124
123
|
});
|
|
125
124
|
});
|
|
126
125
|
}
|
|
@@ -136,7 +135,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
136
135
|
}),
|
|
137
136
|
t(H, {
|
|
138
137
|
ref_key: "taskFormRef",
|
|
139
|
-
ref:
|
|
138
|
+
ref: F,
|
|
140
139
|
model: a(o),
|
|
141
140
|
"label-width": "150px",
|
|
142
141
|
rules: U,
|
|
@@ -187,7 +186,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
187
186
|
}),
|
|
188
187
|
t(i, { span: 24 }, {
|
|
189
188
|
default: r(() => [
|
|
190
|
-
(c(!0), f(g, null,
|
|
189
|
+
(c(!0), f(g, null, q(a(M).fileTypeDict.values.slice(2, 3), (s, me) => (c(), f(g, {
|
|
191
190
|
key: s.dictCode
|
|
192
191
|
}, [
|
|
193
192
|
t(u, {
|
|
@@ -200,7 +199,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
200
199
|
onClick: S
|
|
201
200
|
}, {
|
|
202
201
|
default: r(() => [
|
|
203
|
-
R(
|
|
202
|
+
C(R(e.$t("common.uploadFiles")), 1)
|
|
204
203
|
]),
|
|
205
204
|
_: 1
|
|
206
205
|
}, 8, ["icon"])
|
|
@@ -209,15 +208,15 @@ const de = /* @__PURE__ */ Q({
|
|
|
209
208
|
}, 1032, ["label"]),
|
|
210
209
|
a(o).files && a(o).files.length > 0 ? (c(), te(u, { key: 0 }, {
|
|
211
210
|
default: r(() => [
|
|
212
|
-
(c(!0), f(g, null,
|
|
213
|
-
key:
|
|
211
|
+
(c(!0), f(g, null, q(a(o).files, (J, V) => (c(), f("div", {
|
|
212
|
+
key: V,
|
|
214
213
|
class: "files-list"
|
|
215
214
|
}, [
|
|
216
|
-
R(
|
|
215
|
+
C(R(J.fileName) + " ", 1),
|
|
217
216
|
t(E, {
|
|
218
217
|
size: "16",
|
|
219
218
|
class: "icon-right",
|
|
220
|
-
onClick: (pe) =>
|
|
219
|
+
onClick: (pe) => Y(V)
|
|
221
220
|
}, {
|
|
222
221
|
default: r(() => [
|
|
223
222
|
t(B)
|
|
@@ -259,8 +258,8 @@ const de = /* @__PURE__ */ Q({
|
|
|
259
258
|
}, {
|
|
260
259
|
default: r(() => [
|
|
261
260
|
t(z, {
|
|
262
|
-
modelValue:
|
|
263
|
-
"onUpdate:modelValue": l[2] || (l[2] = (s) =>
|
|
261
|
+
modelValue: h.value,
|
|
262
|
+
"onUpdate:modelValue": l[2] || (l[2] = (s) => h.value = s),
|
|
264
263
|
type: "date",
|
|
265
264
|
placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
|
|
266
265
|
format: "YYYY-MM-DD",
|
|
@@ -285,7 +284,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
285
284
|
t(K, {
|
|
286
285
|
modelValue: a(o).userId,
|
|
287
286
|
"onUpdate:modelValue": l[3] || (l[3] = (s) => a(o).userId = s),
|
|
288
|
-
data: a(
|
|
287
|
+
data: a(v).values,
|
|
289
288
|
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
290
289
|
"show-word-limit": "",
|
|
291
290
|
clearable: "",
|
|
@@ -325,15 +324,15 @@ const de = /* @__PURE__ */ Q({
|
|
|
325
324
|
}, 8, ["model", "rules"]),
|
|
326
325
|
t(W, {
|
|
327
326
|
ref_key: "uploadRef",
|
|
328
|
-
ref:
|
|
329
|
-
modelValue:
|
|
330
|
-
"onUpdate:modelValue": l[5] || (l[5] = (s) =>
|
|
327
|
+
ref: I,
|
|
328
|
+
modelValue: _.value,
|
|
329
|
+
"onUpdate:modelValue": l[5] || (l[5] = (s) => _.value = s),
|
|
331
330
|
onUploadFileList: A
|
|
332
331
|
}, null, 8, ["modelValue"])
|
|
333
332
|
], 64);
|
|
334
333
|
};
|
|
335
334
|
}
|
|
336
|
-
}), Fe = /* @__PURE__ */ ue(de, [["__scopeId", "data-v-
|
|
335
|
+
}), Fe = /* @__PURE__ */ ue(de, [["__scopeId", "data-v-56312c78"]]);
|
|
337
336
|
export {
|
|
338
337
|
Fe as default
|
|
339
338
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as P, mergeModels as z, getCurrentInstance as R, ref as v, useModel as Y, nextTick as j, resolveComponent as b, createElementBlock as f, openBlock as d, Fragment as k, createVNode as l, withCtx as e, createElementVNode as F, createTextVNode as i, toDisplayString as u, renderList as T, unref as w, createBlock as M } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { i as H } from "./index-
|
|
4
|
-
import { D as
|
|
3
|
+
import { i as H } from "./index-BzNd3aeo.mjs";
|
|
4
|
+
import { D as _, i as K, C as W } from "./index-MPqnkTdo.mjs";
|
|
5
5
|
import { useUserStoreHook as q, fileApi as G } from "jmash-core";
|
|
6
6
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
|
-
const Q = /* @__PURE__ */
|
|
7
|
+
const Q = /* @__PURE__ */ P({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: /* @__PURE__ */ z({
|
|
10
10
|
task: {
|
|
@@ -17,64 +17,67 @@ const Q = /* @__PURE__ */ A({
|
|
|
17
17
|
modelModifiers: {}
|
|
18
18
|
}),
|
|
19
19
|
emits: ["update:modelValue"],
|
|
20
|
-
setup(
|
|
20
|
+
setup(h, { expose: V }) {
|
|
21
21
|
const { proxy: x } = R(), B = q();
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
var a,
|
|
26
|
-
g.value = t.data.results
|
|
27
|
-
const s = ((a =
|
|
28
|
-
|
|
29
|
-
(
|
|
30
|
-
),
|
|
31
|
-
(
|
|
32
|
-
);
|
|
33
|
-
}), H.findById({ temporaryId:
|
|
22
|
+
_.userExtBizDict.useValues();
|
|
23
|
+
const I = v(), m = Y(h, "modelValue"), O = v({}), g = v([]), L = v([]), C = v([]), n = v({}), $ = h;
|
|
24
|
+
K.findFilesList({ actionId: $.task.businessKey }).then((t) => {
|
|
25
|
+
var a, p;
|
|
26
|
+
g.value = t.data.results;
|
|
27
|
+
const s = ((a = _.fileTypeDict.values.slice(2, 3)[0]) == null ? void 0 : a.dictCode) || "", o = ((p = _.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : p.dictCode) || "";
|
|
28
|
+
L.value = g.value.filter(
|
|
29
|
+
(r) => r.fileSort === s
|
|
30
|
+
), C.value = g.value.filter(
|
|
31
|
+
(r) => r.fileSort === o
|
|
32
|
+
), console.log(C.value, "=>filesList2 ");
|
|
33
|
+
}), H.findById({ temporaryId: $.task.businessKey }).then(({ data: t }) => {
|
|
34
34
|
n.value = t, n.value.outOrgId = t.outOrgId, j(() => {
|
|
35
35
|
Object.assign(n.value, t);
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
async function N(t) {
|
|
39
39
|
try {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
console.log(t, "=> item");
|
|
41
|
+
const s = G.fileUrl(t.fileSrc);
|
|
42
|
+
console.log(s, "=> fileUrl");
|
|
43
|
+
const a = await (await fetch(s)).blob(), p = window.URL.createObjectURL(a), r = document.createElement("a");
|
|
44
|
+
r.href = p, r.download = t.fileName || "download", document.body.appendChild(r), r.click();
|
|
42
45
|
} catch {
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
48
|
V({
|
|
46
|
-
changeModel: () =>
|
|
49
|
+
changeModel: () => S()
|
|
47
50
|
});
|
|
48
|
-
function
|
|
49
|
-
return
|
|
51
|
+
function S() {
|
|
52
|
+
return m.value && (m.value.selectActions = [
|
|
50
53
|
{ key: "true", value: "同意" },
|
|
51
54
|
{ key: "false", value: "不同意" }
|
|
52
|
-
],
|
|
55
|
+
], m.value.varName = "approved", m.value.module = "", m.value.module = W.MODULE_ITSMFLOW), new Promise((t, s) => {
|
|
53
56
|
var o;
|
|
54
|
-
(o =
|
|
55
|
-
a ? (
|
|
57
|
+
(o = I.value) == null || o.validate((a) => {
|
|
58
|
+
a ? (m.value && (m.value.comment = ""), t(!0)) : s(!1);
|
|
56
59
|
});
|
|
57
60
|
});
|
|
58
61
|
}
|
|
59
62
|
return (t, s) => {
|
|
60
|
-
const o = b("el-col"), a = b("el-form-item"),
|
|
61
|
-
return
|
|
63
|
+
const o = b("el-col"), a = b("el-form-item"), p = b("el-button"), r = b("el-row"), U = b("el-form");
|
|
64
|
+
return d(), f(k, null, [
|
|
62
65
|
l(o, { span: 24 }, {
|
|
63
66
|
default: e(() => s[0] || (s[0] = [
|
|
64
|
-
|
|
67
|
+
F("div", { class: "title" }, "内部临时工单", -1)
|
|
65
68
|
])),
|
|
66
69
|
_: 1,
|
|
67
70
|
__: [0]
|
|
68
71
|
}),
|
|
69
|
-
l(
|
|
72
|
+
l(U, {
|
|
70
73
|
ref_key: "taskFormRef",
|
|
71
|
-
ref:
|
|
74
|
+
ref: I,
|
|
72
75
|
model: O.value,
|
|
73
76
|
"label-width": "150px",
|
|
74
77
|
class: "custom-table-form custom-form"
|
|
75
78
|
}, {
|
|
76
79
|
default: e(() => [
|
|
77
|
-
l(
|
|
80
|
+
l(r, null, {
|
|
78
81
|
default: e(() => [
|
|
79
82
|
l(o, { span: 24 }, {
|
|
80
83
|
default: e(() => [
|
|
@@ -83,7 +86,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
83
86
|
prop: "title"
|
|
84
87
|
}, {
|
|
85
88
|
default: e(() => [
|
|
86
|
-
|
|
89
|
+
i(u(n.value.title), 1)
|
|
87
90
|
]),
|
|
88
91
|
_: 1
|
|
89
92
|
}, 8, ["label"])
|
|
@@ -97,7 +100,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
97
100
|
prop: "content"
|
|
98
101
|
}, {
|
|
99
102
|
default: e(() => [
|
|
100
|
-
|
|
103
|
+
i(u(n.value.content), 1)
|
|
101
104
|
]),
|
|
102
105
|
_: 1
|
|
103
106
|
}, 8, ["label"])
|
|
@@ -106,25 +109,25 @@ const Q = /* @__PURE__ */ A({
|
|
|
106
109
|
}),
|
|
107
110
|
l(o, { span: 24 }, {
|
|
108
111
|
default: e(() => [
|
|
109
|
-
(
|
|
110
|
-
key:
|
|
111
|
-
label:
|
|
112
|
+
(d(!0), f(k, null, T(w(_).fileTypeDict.values.slice(2, 3), (c, E) => (d(), M(a, {
|
|
113
|
+
key: c.dictCode,
|
|
114
|
+
label: c.dictName
|
|
112
115
|
}, {
|
|
113
116
|
default: e(() => [
|
|
114
|
-
(
|
|
117
|
+
(d(!0), f(k, null, T(L.value, (y, D) => (d(), f("div", {
|
|
115
118
|
key: D,
|
|
116
119
|
class: "files-list"
|
|
117
120
|
}, [
|
|
118
|
-
|
|
119
|
-
l(
|
|
121
|
+
F("span", null, u(y.fileName), 1),
|
|
122
|
+
l(p, {
|
|
120
123
|
type: "primary",
|
|
121
124
|
link: "",
|
|
122
125
|
size: "small",
|
|
123
126
|
class: "icon-right",
|
|
124
|
-
onClick: (
|
|
127
|
+
onClick: (A) => N(y)
|
|
125
128
|
}, {
|
|
126
129
|
default: e(() => s[1] || (s[1] = [
|
|
127
|
-
|
|
130
|
+
i(" 查看 ")
|
|
128
131
|
])),
|
|
129
132
|
_: 2,
|
|
130
133
|
__: [1]
|
|
@@ -142,7 +145,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
142
145
|
label: t.$t("itsmFlowTemporary.createBy")
|
|
143
146
|
}, {
|
|
144
147
|
default: e(() => [
|
|
145
|
-
|
|
148
|
+
i(u(w(B).user.realName), 1)
|
|
146
149
|
]),
|
|
147
150
|
_: 1
|
|
148
151
|
}, 8, ["label"])
|
|
@@ -156,10 +159,10 @@ const Q = /* @__PURE__ */ A({
|
|
|
156
159
|
prop: "createTime"
|
|
157
160
|
}, {
|
|
158
161
|
default: e(() => {
|
|
159
|
-
var
|
|
162
|
+
var c;
|
|
160
163
|
return [
|
|
161
|
-
|
|
162
|
-
(
|
|
164
|
+
i(u(w(x).$moment.formatDate(
|
|
165
|
+
(c = n.value) == null ? void 0 : c.createTime,
|
|
163
166
|
"YYYY-MM-DD HH:mm:ss"
|
|
164
167
|
)), 1)
|
|
165
168
|
];
|
|
@@ -176,7 +179,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
176
179
|
prop: "userId"
|
|
177
180
|
}, {
|
|
178
181
|
default: e(() => [
|
|
179
|
-
|
|
182
|
+
i(u(w(_).userExtBizDict.getValue(n.value.userId)), 1)
|
|
180
183
|
]),
|
|
181
184
|
_: 1
|
|
182
185
|
}, 8, ["label"])
|
|
@@ -190,7 +193,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
190
193
|
prop: "handlingPeriod"
|
|
191
194
|
}, {
|
|
192
195
|
default: e(() => [
|
|
193
|
-
|
|
196
|
+
i(u(n.value.handlingPeriod), 1)
|
|
194
197
|
]),
|
|
195
198
|
_: 1
|
|
196
199
|
}, 8, ["label"])
|
|
@@ -204,7 +207,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
204
207
|
prop: "finishDate"
|
|
205
208
|
}, {
|
|
206
209
|
default: e(() => [
|
|
207
|
-
|
|
210
|
+
i(u(n.value.finishDate), 1)
|
|
208
211
|
]),
|
|
209
212
|
_: 1
|
|
210
213
|
}, 8, ["label"])
|
|
@@ -218,7 +221,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
218
221
|
prop: "completion"
|
|
219
222
|
}, {
|
|
220
223
|
default: e(() => [
|
|
221
|
-
|
|
224
|
+
i(u(n.value.completion), 1)
|
|
222
225
|
]),
|
|
223
226
|
_: 1
|
|
224
227
|
}, 8, ["label"])
|
|
@@ -227,25 +230,25 @@ const Q = /* @__PURE__ */ A({
|
|
|
227
230
|
}),
|
|
228
231
|
l(o, { span: 24 }, {
|
|
229
232
|
default: e(() => [
|
|
230
|
-
(
|
|
231
|
-
key:
|
|
232
|
-
label:
|
|
233
|
+
(d(!0), f(k, null, T(w(_).fileTypeDict.values.slice(3, 4), (c, E) => (d(), M(a, {
|
|
234
|
+
key: c.dictCode,
|
|
235
|
+
label: c.dictName
|
|
233
236
|
}, {
|
|
234
237
|
default: e(() => [
|
|
235
|
-
(
|
|
238
|
+
(d(!0), f(k, null, T(C.value, (y, D) => (d(), f("div", {
|
|
236
239
|
key: D,
|
|
237
240
|
class: "files-list"
|
|
238
241
|
}, [
|
|
239
|
-
|
|
240
|
-
l(
|
|
242
|
+
F("span", null, u(y.fileName), 1),
|
|
243
|
+
l(p, {
|
|
241
244
|
type: "primary",
|
|
242
245
|
link: "",
|
|
243
246
|
size: "small",
|
|
244
247
|
class: "icon-right",
|
|
245
|
-
onClick: (
|
|
248
|
+
onClick: (A) => N(y)
|
|
246
249
|
}, {
|
|
247
250
|
default: e(() => s[2] || (s[2] = [
|
|
248
|
-
|
|
251
|
+
i(" 查看 ")
|
|
249
252
|
])),
|
|
250
253
|
_: 2,
|
|
251
254
|
__: [2]
|
|
@@ -266,7 +269,7 @@ const Q = /* @__PURE__ */ A({
|
|
|
266
269
|
], 64);
|
|
267
270
|
};
|
|
268
271
|
}
|
|
269
|
-
}), ae = /* @__PURE__ */ J(Q, [["__scopeId", "data-v-
|
|
272
|
+
}), ae = /* @__PURE__ */ J(Q, [["__scopeId", "data-v-c6d4eacd"]]);
|
|
270
273
|
export {
|
|
271
274
|
ae as default
|
|
272
275
|
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, r
|
|
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
4
|
import { i as Y } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { D as k, O as Z, C as x } from "./index-
|
|
6
|
-
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { D as k, O as Z, C as x } from "./index-MPqnkTdo.mjs";
|
|
6
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CdlYnhVI.mjs";
|
|
7
7
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], de = /* @__PURE__ */ H({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ne) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as W, ref as C, reactive as G, resolveComponent as i, resolveDirective as J, createElementBlock as S, openBlock as y, createElementVNode as b, createVNode as t, createBlock as U, createCommentVNode as D, withCtx as o, withKeys as d, unref as n, createTextVNode as k, toDisplayString as v, withDirectives as M, isRef as R } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import { a as Z } from "./index-
|
|
5
|
-
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { D as p, O as ee, C as le } from "./index-
|
|
4
|
+
import { a as Z } from "./index-BzNd3aeo.mjs";
|
|
5
|
+
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-B_xQV4zS.mjs";
|
|
6
|
+
import { D as p, O as ee, C as le } from "./index-MPqnkTdo.mjs";
|
|
7
7
|
const te = { class: "app-container" }, oe = { class: "search-container" }, ae = ["onClick"], pe = /* @__PURE__ */ W({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ne) {
|
|
@@ -2,8 +2,8 @@ import { defineComponent as be, mergeModels as ge, ref as f, useModel as Ie, rea
|
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
4
|
import { p as Ee } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import { a as J } from "./index-
|
|
6
|
-
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-
|
|
5
|
+
import { a as J } from "./index-BzNd3aeo.mjs";
|
|
6
|
+
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-MPqnkTdo.mjs";
|
|
7
7
|
import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
|
|
8
8
|
const De = /* @__PURE__ */ be({
|
|
9
9
|
__name: "index",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as oe, mergeModels as ne, computed as ae, ref as f, useModel as se, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as P, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as r, toDisplayString as u, unref as b, createCommentVNode as I, withDirectives as A, vShow as B, createBlock as O, renderList as re } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as ue } from "./index-CvX2It1o.mjs";
|
|
4
|
-
import { a as ie } from "./index-
|
|
5
|
-
import { D as C, C as $, a as de } from "./index-
|
|
4
|
+
import { a as ie } from "./index-BzNd3aeo.mjs";
|
|
5
|
+
import { D as C, C as $, a as de } from "./index-MPqnkTdo.mjs";
|
|
6
6
|
import { i as S, t as ce, a as pe } from "./common-Cwl5jzlM.mjs";
|
|
7
7
|
import "jmash-core";
|
|
8
8
|
import { useI18n as me } from "vue-i18n";
|
|
9
|
-
import { F as fe } from "./FileSaver.min-
|
|
9
|
+
import { F as fe } from "./FileSaver.min-Bst8M31G.mjs";
|
|
10
10
|
import { E as j } from "./el-message-BJAl6Gwu.mjs";
|
|
11
11
|
const _e = { key: 0 }, ve = { key: 1 }, be = {
|
|
12
12
|
key: 2,
|