xyvcard-itsm-flow 0.0.25 → 0.0.26
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-Dlb0564v.mjs → FileSaver.min-FLjvLk81.mjs} +1 -1
- package/dist/{edit-DGLeO86x.mjs → edit-Bj6O1CiV.mjs} +36 -36
- package/dist/{edit-b1Qpq27u.mjs → edit-BoyxGI-j.mjs} +1 -1
- package/dist/{edit-DYzjfcpe.mjs → edit-ChPw3-tf.mjs} +45 -43
- package/dist/{edit-Bb1ZMrgr.mjs → edit-D--QEJjt.mjs} +1 -1
- package/dist/{edit-DEz__zGH.mjs → edit-DE30a8nF.mjs} +1 -1
- package/dist/{edit-X4DuZAeC.mjs → edit-DVqIGzRC.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-COV7eZfh.mjs → edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DDFusQ6S.mjs → edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs → edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs} +1 -1
- package/dist/{index-CUdCuMce.mjs → index-8wrBAgqn.mjs} +5 -5
- package/dist/{index-Dx_iePKi.mjs → index-BCm8GyNp.mjs} +1 -1
- package/dist/{index-CJmsWz8H.mjs → index-BGUJBf1b.mjs} +25 -25
- package/dist/{index-COlNrHOr.mjs → index-BKReblQ-.mjs} +56 -56
- package/dist/{index-D4hmXu0K.mjs → index-BPbEgv_g.mjs} +68 -68
- package/dist/{index-C6QayKyI.mjs → index-BVKYrCIy.mjs} +1 -1
- package/dist/{index-BnbyM6r8.mjs → index-BnpWxtwn.mjs} +3 -3
- package/dist/{index-Cc1yu7_y.mjs → index-C2_qB4RV.mjs} +1 -1
- package/dist/{index-BjIcvBcw.mjs → index-C6lbS4Lo.mjs} +2 -2
- package/dist/{index-DTmCekOe.mjs → index-CBlDGIOm.mjs} +26 -26
- package/dist/{index-Crv7Y3gz.mjs → index-Cbd9gMMJ.mjs} +21 -21
- package/dist/{index-ZQIeIrUc.mjs → index-CcmelnG0.mjs} +27 -27
- package/dist/{index-DB_7mB_B.mjs → index-Cv9EtBjj.mjs} +93 -85
- package/dist/{index-CK8x-scl.mjs → index-DCrOzptR.mjs} +3 -3
- package/dist/{index-B3Od63yb.mjs → index-DLKaq1KT.mjs} +3 -3
- package/dist/{index-DsEA0PWP.mjs → index-DUeJgFzy.mjs} +2 -2
- package/dist/{index-CTX-1ZJN.mjs → index-DWJG5OHB.mjs} +1 -1
- package/dist/{index-Dr2VSx72.mjs → index-DeWL7kiw.mjs} +2 -2
- package/dist/{index-CsRdrLdB.mjs → index-DgMfinzm.mjs} +2 -2
- package/dist/{index-41pGjG4z.mjs → index-DrUmzzLs.mjs} +13 -13
- package/dist/{index-Ddn-uP9d.mjs → index-DvfEpZEP.mjs} +44 -44
- package/dist/{index-M_tEOKq6.mjs → index-DwPAoK5U.mjs} +130 -127
- package/dist/{index-ChiSO5mf.mjs → index-DyZhLpPq.mjs} +18 -18
- package/dist/{index-XQliRAX-.mjs → index-DyhFuDLH.mjs} +9 -9
- package/dist/{index-BL1EL_Kk.mjs → index-DymW6iPU.mjs} +3 -3
- package/dist/{index-BzzIS37Q.mjs → index-SilwoNEK.mjs} +123 -123
- package/dist/{index-UIHGXuWX.mjs → index-jG64vmFA.mjs} +128 -128
- package/dist/{index-uhCfQAOU.mjs → index-r4Tg0GX2.mjs} +3 -3
- package/dist/{index-DReilvk8.mjs → index-xWvPJZ-m.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{info-ChOjJGUZ.mjs → info-9EvTq-5p.mjs} +1 -1
- package/dist/{info-CqJnfPyk.mjs → info-BWhsB1Ap.mjs} +1 -1
- package/dist/{info-Cu1I8L0Q.mjs → info-CGUYIYny.mjs} +1 -1
- package/dist/{info-C7BOFhdZ.mjs → info-CbJJduEU.mjs} +1 -1
- package/dist/info-CtxVi70h.mjs +4 -0
- package/dist/info-ZeMWMgd3.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-_Rd1Paqi.mjs → info.vue_vue_type_script_setup_true_lang-C0J9fiF3.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs → info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs} +10 -10
- package/dist/{info.vue_vue_type_script_setup_true_lang-CwpN4E5Y.mjs → info.vue_vue_type_script_setup_true_lang-CY7c7Xmz.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BupLtTsI.mjs → info.vue_vue_type_script_setup_true_lang-CdiFub3m.mjs} +8 -8
- package/dist/{info.vue_vue_type_script_setup_true_lang-D36lalXS.mjs → info.vue_vue_type_script_setup_true_lang-DIXXp0TI.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CxZBVr6Z.mjs → info.vue_vue_type_script_setup_true_lang-Dm4Ld-wL.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/lang/itsm-flow/zh-cn.d.ts +2 -2
- package/package.json +1 -1
- package/dist/info-DDaeV1sJ.mjs +0 -4
- package/dist/info-DstAR0-a.mjs +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as se, mergeModels as ue, ref as y, useModel as de, reactive as B, computed as M, watch as N, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as I, createVNode as o, withCtx as r, createElementVNode as me, unref as i, renderList as _, createBlock as h, createCommentVNode as pe, createTextVNode as A, toDisplayString as P } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as fe } from "vue-i18n";
|
|
4
|
-
import { i as
|
|
5
|
-
import { D as
|
|
4
|
+
import { i as z } from "./index-SilwoNEK.mjs";
|
|
5
|
+
import { D as f, O as Y, C as T, i as ce } from "./index-DWJG5OHB.mjs";
|
|
6
6
|
import { u as ge } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { sysUserExtApi as ye } from "xyvcard-itsmsys";
|
|
8
8
|
import { useUserStoreHook as Ie } from "jmash-core";
|
|
9
9
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
|
-
const be = /* @__PURE__ */
|
|
10
|
+
const be = /* @__PURE__ */ se({
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: /* @__PURE__ */ ue({
|
|
13
13
|
task: {
|
|
@@ -21,95 +21,95 @@ const be = /* @__PURE__ */ ie({
|
|
|
21
21
|
}),
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
23
|
setup(V, { expose: E }) {
|
|
24
|
-
const j = Ie(), { t:
|
|
25
|
-
|
|
26
|
-
const m = de(V, "modelValue"), k = new
|
|
24
|
+
const j = Ie(), { t: c } = fe(), O = y();
|
|
25
|
+
f.itemBizLayDict.useValues(), console.log(f.itemBizLayDict.values, "=>Dict.itemBizLayDict ");
|
|
26
|
+
const m = de(V, "modelValue"), k = new Y({ orgType: T.HALL });
|
|
27
27
|
k.useValues();
|
|
28
|
-
const q = new
|
|
29
|
-
q.useValues(),
|
|
30
|
-
const D =
|
|
31
|
-
let t =
|
|
28
|
+
const q = new Y({ orgType: T.OUTSOURCE });
|
|
29
|
+
q.useValues(), f.userExtBizDict.useValues();
|
|
30
|
+
const D = y((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
31
|
+
let t = B({
|
|
32
32
|
requestId: Math.random() * 10 + "",
|
|
33
33
|
files: [],
|
|
34
34
|
temporaryType: T.External
|
|
35
35
|
});
|
|
36
|
-
const R =
|
|
36
|
+
const R = M(() => t.govOrgId ? f.itemBizLayDict.values.filter(
|
|
37
37
|
(l) => l.orgId === t.govOrgId
|
|
38
38
|
) : []);
|
|
39
39
|
function H(e) {
|
|
40
40
|
t.itemId = void 0;
|
|
41
41
|
}
|
|
42
|
-
const v =
|
|
42
|
+
const v = y([]), g = y([]);
|
|
43
43
|
ye.findList().then((e) => {
|
|
44
44
|
v.value = e.data.results;
|
|
45
|
-
}),
|
|
45
|
+
}), N(
|
|
46
46
|
[v, () => t.userId],
|
|
47
47
|
([e, l]) => {
|
|
48
|
-
e && l && t.outOrgId && (
|
|
49
|
-
(
|
|
48
|
+
e && l && t.outOrgId && (g.value = e.filter(
|
|
49
|
+
(s) => s.orgId === t.outOrgId
|
|
50
50
|
));
|
|
51
51
|
},
|
|
52
52
|
{ immediate: !0 }
|
|
53
|
-
),
|
|
53
|
+
), N(
|
|
54
54
|
() => t.outOrgId,
|
|
55
55
|
(e) => {
|
|
56
|
-
e && Array.isArray(v.value) ? (
|
|
56
|
+
e && Array.isArray(v.value) ? (g.value = v.value.filter(
|
|
57
57
|
(l) => l.orgId === e
|
|
58
|
-
), console.log("filteredUserList:",
|
|
58
|
+
), console.log("filteredUserList:", g.value), t.userId && !g.value.some(
|
|
59
59
|
(l) => l.userId === t.userId
|
|
60
|
-
) && (t.userId = "")) : (
|
|
60
|
+
) && (t.userId = "")) : (g.value = [], t.userId = "");
|
|
61
61
|
},
|
|
62
62
|
{ immediate: !0 }
|
|
63
63
|
);
|
|
64
|
-
const F =
|
|
64
|
+
const F = y(!1), $ = y(), K = B({
|
|
65
65
|
govOrgId: [
|
|
66
66
|
{
|
|
67
67
|
required: !0,
|
|
68
|
-
message:
|
|
68
|
+
message: c("itsmFlowTemporary.govOrgIdRequired"),
|
|
69
69
|
trigger: "change"
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
itemId: [
|
|
73
73
|
{
|
|
74
74
|
required: !0,
|
|
75
|
-
message:
|
|
75
|
+
message: c("itsmFlowTemporary.itemIdRequired"),
|
|
76
76
|
trigger: "change"
|
|
77
77
|
}
|
|
78
78
|
],
|
|
79
79
|
title: [
|
|
80
80
|
{
|
|
81
81
|
required: !0,
|
|
82
|
-
message:
|
|
82
|
+
message: c("itsmFlowTemporary.titleRequired"),
|
|
83
83
|
trigger: "change"
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
86
|
temporaryType: [
|
|
87
87
|
{
|
|
88
88
|
required: !0,
|
|
89
|
-
message:
|
|
89
|
+
message: c("itsmFlowTemporary.temporaryTypeRequired"),
|
|
90
90
|
trigger: "change"
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
93
|
outOrgId: [
|
|
94
94
|
{
|
|
95
95
|
required: !0,
|
|
96
|
-
message:
|
|
96
|
+
message: c("itsmFlowTemporary.outOrgIdRequired"),
|
|
97
97
|
trigger: "change"
|
|
98
98
|
}
|
|
99
99
|
],
|
|
100
100
|
userId: [
|
|
101
101
|
{
|
|
102
102
|
required: !0,
|
|
103
|
-
message:
|
|
103
|
+
message: c("itsmFlowTemporary.userIdRequired"),
|
|
104
104
|
trigger: "change"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
|
-
}),
|
|
108
|
-
const e =
|
|
107
|
+
}), C = V, W = M(() => {
|
|
108
|
+
const e = f.fileTypeDict.values.slice(2, 3)[0];
|
|
109
109
|
return e ? e.dictCode : "temporary_file";
|
|
110
110
|
});
|
|
111
111
|
function G() {
|
|
112
|
-
F.value = !0,
|
|
112
|
+
F.value = !0, $.value.clearFileList();
|
|
113
113
|
}
|
|
114
114
|
function J(e) {
|
|
115
115
|
const l = {
|
|
@@ -120,24 +120,24 @@ const be = /* @__PURE__ */ ie({
|
|
|
120
120
|
};
|
|
121
121
|
t.files || (t.files = []), t.files.push(l), t.files = [...new Set(t.files)];
|
|
122
122
|
}
|
|
123
|
-
console.log(
|
|
123
|
+
console.log(f.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
|
|
124
124
|
function Q(e) {
|
|
125
125
|
var l;
|
|
126
126
|
(l = t.files) == null || l.splice(e, 1);
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
z.findById({ temporaryId: C.task.businessKey }).then(({ data: e }) => {
|
|
129
129
|
t.outOrgId = e.outOrgId, ne(() => {
|
|
130
130
|
Object.assign(t, e), X();
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
function X() {
|
|
134
|
-
ce.findFilesList({ actionId:
|
|
134
|
+
ce.findFilesList({ actionId: C.task.businessKey }).then(({ data: e }) => {
|
|
135
135
|
console.log(e, "=>data "), e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
|
|
136
|
-
let
|
|
137
|
-
return l.fileName && (
|
|
136
|
+
let s = "";
|
|
137
|
+
return l.fileName && (s = l.fileSort || l.type || ""), {
|
|
138
138
|
fileName: l.fileName || "",
|
|
139
139
|
fileId: l.fileId || "",
|
|
140
|
-
fileSort:
|
|
140
|
+
fileSort: s
|
|
141
141
|
};
|
|
142
142
|
}));
|
|
143
143
|
});
|
|
@@ -150,47 +150,47 @@ const be = /* @__PURE__ */ ie({
|
|
|
150
150
|
{ key: "true", value: "同意" },
|
|
151
151
|
{ key: "false", value: "不同意" }
|
|
152
152
|
], m.value.varName = "approved", m.value.module = "", m.value.module = T.MODULE_ITSMFLOW), new Promise((e, l) => {
|
|
153
|
-
var
|
|
154
|
-
(
|
|
155
|
-
b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "",
|
|
153
|
+
var s;
|
|
154
|
+
(s = O.value) == null || s.validate((b) => {
|
|
155
|
+
b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "", z.create(t).then((u) => {
|
|
156
156
|
u.status === 200 ? e(!0) : l(!1);
|
|
157
157
|
})) : l(!1);
|
|
158
158
|
});
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
return (e, l) => {
|
|
162
|
-
const
|
|
163
|
-
return n(), p(
|
|
164
|
-
o(
|
|
165
|
-
default:
|
|
162
|
+
const s = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), U = d("el-option"), L = d("el-select"), w = d("el-input"), x = d("el-date-picker"), ee = d("el-button"), le = d("CircleClose"), te = d("el-icon"), oe = d("el-row"), ae = d("el-form"), re = d("jmash-multi-upload");
|
|
163
|
+
return n(), p(I, null, [
|
|
164
|
+
o(s, { span: 24 }, {
|
|
165
|
+
default: r(() => l[9] || (l[9] = [
|
|
166
166
|
me("div", { class: "title" }, "外部临时工单临时工单", -1)
|
|
167
167
|
])),
|
|
168
168
|
_: 1,
|
|
169
169
|
__: [9]
|
|
170
170
|
}),
|
|
171
|
-
o(
|
|
171
|
+
o(ae, {
|
|
172
172
|
ref_key: "taskFormRef",
|
|
173
173
|
ref: O,
|
|
174
|
-
model:
|
|
174
|
+
model: i(t),
|
|
175
175
|
"label-width": "150px",
|
|
176
176
|
rules: K,
|
|
177
177
|
class: "custom-table-form custom-form"
|
|
178
178
|
}, {
|
|
179
|
-
default:
|
|
179
|
+
default: r(() => [
|
|
180
180
|
o(oe, null, {
|
|
181
|
-
default:
|
|
182
|
-
o(
|
|
183
|
-
default:
|
|
181
|
+
default: r(() => [
|
|
182
|
+
o(s, { span: 24 }, {
|
|
183
|
+
default: r(() => [
|
|
184
184
|
o(u, {
|
|
185
185
|
label: e.$t("itsmFlowSpareParts.govOrgId"),
|
|
186
186
|
prop: "govOrgId"
|
|
187
187
|
}, {
|
|
188
|
-
default:
|
|
188
|
+
default: r(() => [
|
|
189
189
|
o(b, {
|
|
190
|
-
modelValue:
|
|
191
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
190
|
+
modelValue: i(t).govOrgId,
|
|
191
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => i(t).govOrgId = a),
|
|
192
192
|
placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
|
|
193
|
-
data:
|
|
193
|
+
data: i(k).values,
|
|
194
194
|
clearable: "",
|
|
195
195
|
filterable: "",
|
|
196
196
|
class: "w-full",
|
|
@@ -202,27 +202,27 @@ const be = /* @__PURE__ */ ie({
|
|
|
202
202
|
]),
|
|
203
203
|
_: 1
|
|
204
204
|
}),
|
|
205
|
-
o(
|
|
206
|
-
default:
|
|
205
|
+
o(s, { span: 24 }, {
|
|
206
|
+
default: r(() => [
|
|
207
207
|
o(u, {
|
|
208
|
-
label: e.$t("itsmFlowSpareParts.
|
|
208
|
+
label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
|
|
209
209
|
prop: "itemId"
|
|
210
210
|
}, {
|
|
211
|
-
default:
|
|
212
|
-
o(
|
|
213
|
-
modelValue:
|
|
214
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
211
|
+
default: r(() => [
|
|
212
|
+
o(L, {
|
|
213
|
+
modelValue: i(t).itemId,
|
|
214
|
+
"onUpdate:modelValue": l[1] || (l[1] = (a) => i(t).itemId = a),
|
|
215
215
|
placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
216
216
|
data: R.value,
|
|
217
217
|
clearable: "",
|
|
218
218
|
filterable: "",
|
|
219
|
-
disabled: !
|
|
219
|
+
disabled: !i(t).govOrgId
|
|
220
220
|
}, {
|
|
221
|
-
default:
|
|
222
|
-
(n(!0), p(
|
|
223
|
-
key:
|
|
224
|
-
value:
|
|
225
|
-
label:
|
|
221
|
+
default: r(() => [
|
|
222
|
+
(n(!0), p(I, null, _(R.value, (a) => (n(), h(U, {
|
|
223
|
+
key: a.key,
|
|
224
|
+
value: a.key,
|
|
225
|
+
label: a.value
|
|
226
226
|
}, null, 8, ["value", "label"]))), 128))
|
|
227
227
|
]),
|
|
228
228
|
_: 1
|
|
@@ -233,14 +233,14 @@ const be = /* @__PURE__ */ ie({
|
|
|
233
233
|
]),
|
|
234
234
|
_: 1
|
|
235
235
|
}),
|
|
236
|
-
o(
|
|
237
|
-
default:
|
|
236
|
+
o(s, { span: 12 }, {
|
|
237
|
+
default: r(() => [
|
|
238
238
|
o(u, {
|
|
239
|
-
label: e.$t("itsmFlowTemporary.
|
|
239
|
+
label: e.$t("itsmFlowTemporary.createBy")
|
|
240
240
|
}, {
|
|
241
|
-
default:
|
|
241
|
+
default: r(() => [
|
|
242
242
|
o(w, {
|
|
243
|
-
value:
|
|
243
|
+
value: i(j).user.realName,
|
|
244
244
|
placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
|
|
245
245
|
"show-word-limit": "",
|
|
246
246
|
clearable: "",
|
|
@@ -252,16 +252,16 @@ const be = /* @__PURE__ */ ie({
|
|
|
252
252
|
]),
|
|
253
253
|
_: 1
|
|
254
254
|
}),
|
|
255
|
-
o(
|
|
256
|
-
default:
|
|
255
|
+
o(s, { span: 12 }, {
|
|
256
|
+
default: r(() => [
|
|
257
257
|
o(u, {
|
|
258
258
|
label: e.$t("itsmFlowTemporary.createTime"),
|
|
259
259
|
prop: "createTime"
|
|
260
260
|
}, {
|
|
261
|
-
default:
|
|
261
|
+
default: r(() => [
|
|
262
262
|
o(x, {
|
|
263
263
|
modelValue: D.value,
|
|
264
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
264
|
+
"onUpdate:modelValue": l[2] || (l[2] = (a) => D.value = a),
|
|
265
265
|
type: "date",
|
|
266
266
|
placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
|
|
267
267
|
format: "YYYY-MM-DD",
|
|
@@ -276,16 +276,16 @@ const be = /* @__PURE__ */ ie({
|
|
|
276
276
|
]),
|
|
277
277
|
_: 1
|
|
278
278
|
}),
|
|
279
|
-
o(
|
|
280
|
-
default:
|
|
279
|
+
o(s, { span: 24 }, {
|
|
280
|
+
default: r(() => [
|
|
281
281
|
o(u, {
|
|
282
282
|
label: e.$t("itsmFlowTemporary.title"),
|
|
283
283
|
prop: "title"
|
|
284
284
|
}, {
|
|
285
|
-
default:
|
|
285
|
+
default: r(() => [
|
|
286
286
|
o(w, {
|
|
287
|
-
modelValue:
|
|
288
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
287
|
+
modelValue: i(t).title,
|
|
288
|
+
"onUpdate:modelValue": l[3] || (l[3] = (a) => i(t).title = a),
|
|
289
289
|
placeholder: e.$t("itsmFlowTemporary.titleRequired"),
|
|
290
290
|
"show-word-limit": "",
|
|
291
291
|
clearable: ""
|
|
@@ -296,16 +296,16 @@ const be = /* @__PURE__ */ ie({
|
|
|
296
296
|
]),
|
|
297
297
|
_: 1
|
|
298
298
|
}),
|
|
299
|
-
o(
|
|
300
|
-
default:
|
|
299
|
+
o(s, { span: 24 }, {
|
|
300
|
+
default: r(() => [
|
|
301
301
|
o(u, {
|
|
302
302
|
label: e.$t("itsmFlowTemporary.content"),
|
|
303
303
|
prop: "content"
|
|
304
304
|
}, {
|
|
305
|
-
default:
|
|
305
|
+
default: r(() => [
|
|
306
306
|
o(w, {
|
|
307
|
-
modelValue:
|
|
308
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
307
|
+
modelValue: i(t).content,
|
|
308
|
+
"onUpdate:modelValue": l[4] || (l[4] = (a) => i(t).content = a),
|
|
309
309
|
placeholder: e.$t("itsmFlowTemporary.contentRequired"),
|
|
310
310
|
"show-word-limit": "",
|
|
311
311
|
clearable: ""
|
|
@@ -316,41 +316,41 @@ const be = /* @__PURE__ */ ie({
|
|
|
316
316
|
]),
|
|
317
317
|
_: 1
|
|
318
318
|
}),
|
|
319
|
-
o(
|
|
320
|
-
default:
|
|
321
|
-
(n(!0), p(
|
|
322
|
-
key:
|
|
319
|
+
o(s, { span: 24 }, {
|
|
320
|
+
default: r(() => [
|
|
321
|
+
(n(!0), p(I, null, _(i(f).fileTypeDict.values.slice(2, 3), (a, we) => (n(), p(I, {
|
|
322
|
+
key: a.dictCode
|
|
323
323
|
}, [
|
|
324
324
|
o(u, {
|
|
325
|
-
label:
|
|
325
|
+
label: a.dictName
|
|
326
326
|
}, {
|
|
327
|
-
default:
|
|
327
|
+
default: r(() => [
|
|
328
328
|
o(ee, {
|
|
329
329
|
type: "primary",
|
|
330
|
-
icon:
|
|
330
|
+
icon: i(ge),
|
|
331
331
|
onClick: G
|
|
332
332
|
}, {
|
|
333
|
-
default:
|
|
334
|
-
|
|
333
|
+
default: r(() => [
|
|
334
|
+
A(P(e.$t("common.uploadFiles")), 1)
|
|
335
335
|
]),
|
|
336
336
|
_: 1
|
|
337
337
|
}, 8, ["icon"])
|
|
338
338
|
]),
|
|
339
339
|
_: 2
|
|
340
340
|
}, 1032, ["label"]),
|
|
341
|
-
|
|
342
|
-
default:
|
|
343
|
-
(n(!0), p(
|
|
344
|
-
key:
|
|
341
|
+
i(t).files && i(t).files.length > 0 ? (n(), h(u, { key: 0 }, {
|
|
342
|
+
default: r(() => [
|
|
343
|
+
(n(!0), p(I, null, _(i(t).files, (ie, S) => (n(), p("div", {
|
|
344
|
+
key: S,
|
|
345
345
|
class: "files-list"
|
|
346
346
|
}, [
|
|
347
|
-
|
|
347
|
+
A(P(ie.fileName) + " ", 1),
|
|
348
348
|
o(te, {
|
|
349
349
|
size: "16",
|
|
350
350
|
class: "icon-right",
|
|
351
|
-
onClick: (_e) => Q(
|
|
351
|
+
onClick: (_e) => Q(S)
|
|
352
352
|
}, {
|
|
353
|
-
default:
|
|
353
|
+
default: r(() => [
|
|
354
354
|
o(le)
|
|
355
355
|
]),
|
|
356
356
|
_: 2
|
|
@@ -363,18 +363,18 @@ const be = /* @__PURE__ */ ie({
|
|
|
363
363
|
]),
|
|
364
364
|
_: 1
|
|
365
365
|
}),
|
|
366
|
-
o(
|
|
367
|
-
default:
|
|
366
|
+
o(s, { span: 24 }, {
|
|
367
|
+
default: r(() => [
|
|
368
368
|
o(u, {
|
|
369
369
|
label: e.$t("itsmFlowTemporary.outOrgIdTemporary"),
|
|
370
370
|
prop: "outOrgId"
|
|
371
371
|
}, {
|
|
372
|
-
default:
|
|
372
|
+
default: r(() => [
|
|
373
373
|
o(b, {
|
|
374
|
-
modelValue:
|
|
375
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
374
|
+
modelValue: i(t).outOrgId,
|
|
375
|
+
"onUpdate:modelValue": l[5] || (l[5] = (a) => i(t).outOrgId = a),
|
|
376
376
|
placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
|
|
377
|
-
data:
|
|
377
|
+
data: i(q).values,
|
|
378
378
|
clearable: "",
|
|
379
379
|
filterable: "",
|
|
380
380
|
class: "w-full"
|
|
@@ -385,26 +385,26 @@ const be = /* @__PURE__ */ ie({
|
|
|
385
385
|
]),
|
|
386
386
|
_: 1
|
|
387
387
|
}),
|
|
388
|
-
o(
|
|
389
|
-
default:
|
|
388
|
+
o(s, { span: 24 }, {
|
|
389
|
+
default: r(() => [
|
|
390
390
|
o(u, {
|
|
391
391
|
label: e.$t("itsmFlowTemporary.userIdTemporary"),
|
|
392
392
|
prop: "userId"
|
|
393
393
|
}, {
|
|
394
|
-
default:
|
|
395
|
-
o(
|
|
396
|
-
modelValue:
|
|
397
|
-
"onUpdate:modelValue": l[6] || (l[6] = (
|
|
394
|
+
default: r(() => [
|
|
395
|
+
o(L, {
|
|
396
|
+
modelValue: i(t).userId,
|
|
397
|
+
"onUpdate:modelValue": l[6] || (l[6] = (a) => i(t).userId = a),
|
|
398
398
|
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
399
399
|
"show-word-limit": "",
|
|
400
400
|
clearable: "",
|
|
401
401
|
class: "w-full"
|
|
402
402
|
}, {
|
|
403
|
-
default:
|
|
404
|
-
(n(!0), p(
|
|
405
|
-
key:
|
|
406
|
-
value:
|
|
407
|
-
label:
|
|
403
|
+
default: r(() => [
|
|
404
|
+
(n(!0), p(I, null, _(g.value, (a) => (n(), h(U, {
|
|
405
|
+
key: a.userId,
|
|
406
|
+
value: a.userId,
|
|
407
|
+
label: a.realName
|
|
408
408
|
}, null, 8, ["value", "label"]))), 128))
|
|
409
409
|
]),
|
|
410
410
|
_: 1
|
|
@@ -415,16 +415,16 @@ const be = /* @__PURE__ */ ie({
|
|
|
415
415
|
]),
|
|
416
416
|
_: 1
|
|
417
417
|
}),
|
|
418
|
-
o(
|
|
419
|
-
default:
|
|
418
|
+
o(s, { span: 24 }, {
|
|
419
|
+
default: r(() => [
|
|
420
420
|
o(u, {
|
|
421
421
|
label: e.$t("itsmFlowTemporary.handlingPeriod"),
|
|
422
422
|
prop: "handlingPeriod"
|
|
423
423
|
}, {
|
|
424
|
-
default:
|
|
424
|
+
default: r(() => [
|
|
425
425
|
o(w, {
|
|
426
|
-
modelValue:
|
|
427
|
-
"onUpdate:modelValue": l[7] || (l[7] = (
|
|
426
|
+
modelValue: i(t).handlingPeriod,
|
|
427
|
+
"onUpdate:modelValue": l[7] || (l[7] = (a) => i(t).handlingPeriod = a),
|
|
428
428
|
placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
|
|
429
429
|
"show-word-limit": "",
|
|
430
430
|
clearable: ""
|
|
@@ -441,17 +441,17 @@ const be = /* @__PURE__ */ ie({
|
|
|
441
441
|
]),
|
|
442
442
|
_: 1
|
|
443
443
|
}, 8, ["model", "rules"]),
|
|
444
|
-
o(
|
|
444
|
+
o(re, {
|
|
445
445
|
ref_key: "uploadRef",
|
|
446
|
-
ref:
|
|
446
|
+
ref: $,
|
|
447
447
|
modelValue: F.value,
|
|
448
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
|
448
|
+
"onUpdate:modelValue": l[8] || (l[8] = (a) => F.value = a),
|
|
449
449
|
onUploadFileList: J
|
|
450
450
|
}, null, 8, ["modelValue"])
|
|
451
451
|
], 64);
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
|
-
}),
|
|
454
|
+
}), $e = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-e6afe84e"]]);
|
|
455
455
|
export {
|
|
456
|
-
|
|
456
|
+
$e as default
|
|
457
457
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
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 r, unref as b, createBlock as $, createCommentVNode as V, renderList as te } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as ae } from "./index-CvX2It1o.mjs";
|
|
4
|
-
import { a as oe } from "./index-
|
|
5
|
-
import { D as F, i as I, C as y } from "./index-
|
|
4
|
+
import { a as oe } from "./index-SilwoNEK.mjs";
|
|
5
|
+
import { D as F, i as I, C as y } from "./index-DWJG5OHB.mjs";
|
|
6
6
|
import { fileApi as ne } from "jmash-core";
|
|
7
7
|
import { useI18n as se } from "vue-i18n";
|
|
8
|
-
import { F as ue } from "./FileSaver.min-
|
|
8
|
+
import { F as ue } from "./FileSaver.min-FLjvLk81.mjs";
|
|
9
9
|
import { E as j } from "./el-message-BJAl6Gwu.mjs";
|
|
10
10
|
const ke = /* @__PURE__ */ Z({
|
|
11
11
|
__name: "index",
|
|
@@ -2,8 +2,8 @@ import { defineComponent as M, ref as R, reactive as S, resolveComponent as s, r
|
|
|
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-DiY4aiPm.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-DWJG5OHB.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) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "jmash-core";
|
|
2
|
-
import { d as m, e, T as o, b as I, p as l, r as T, s as p, t as i, h as w, j as k, k as F, l as n, m as d, n as E, o as c, f as S, g as u, u as y, a as A, i as O } from "./index-
|
|
2
|
+
import { d as m, e, T as o, b as I, p as l, r as T, s as p, t as i, h as w, j as k, k as F, l as n, m as d, n as E, o as c, f as S, g as u, u as y, a as A, i as O } from "./index-SilwoNEK.mjs";
|
|
3
3
|
import "jmash-flow";
|
|
4
4
|
export {
|
|
5
5
|
m as TaskItsmFlowAcceptance,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as I, mergeModels as h, ref as N, useModel as B, resolveComponent as p, createBlock as O, openBlock as U, withCtx as e, createVNode as l, createElementVNode as a, createTextVNode as u, toDisplayString as i, unref as v } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { D as m, i as F } from "./index-
|
|
3
|
+
import { D as m, i as F } from "./index-DWJG5OHB.mjs";
|
|
4
4
|
import { fileApi as j } from "jmash-core";
|
|
5
5
|
const M = /* @__PURE__ */ I({
|
|
6
6
|
__name: "info",
|