xyvcard-itsm-flow 0.0.21 → 0.0.23
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/{edit-CuL-MqiW.mjs → edit-2P3cMaku.mjs} +1 -1
- package/dist/{edit-AAIDp3Ys.mjs → edit-B4N5cmbv.mjs} +1 -1
- package/dist/{edit-zRQs9w8y.mjs → edit-BOpnkf82.mjs} +83 -83
- package/dist/{edit-XWSh98dW.mjs → edit-Crp2NJw2.mjs} +1 -1
- package/dist/{edit-BC3HBHna.mjs → edit-DSzeVnep.mjs} +13 -13
- package/dist/{edit-CWx9fJF7.mjs → edit-Da4XYqIW.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BHgx58mh.mjs → edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Rs79eFoT.mjs → edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs} +4 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BCVm7-Ex.mjs → edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs} +1 -1
- package/dist/{index-D7TvdZ0W.mjs → index-5rQmXXAD.mjs} +58 -133
- package/dist/{index-DFj2i4Kf.mjs → index-B0J0xma8.mjs} +27 -26
- package/dist/{index-DBRvKb1w.mjs → index-B5OVt83d.mjs} +1 -1
- package/dist/{index-BLHnAUcn.mjs → index-BYazmSpv.mjs} +8 -7
- package/dist/{index-BDh2WCIf.mjs → index-BePwvZ9m.mjs} +1 -1
- package/dist/{index-BYbmB9DD.mjs → index-Bmev8P7I.mjs} +8 -7
- package/dist/{index-BSRU0wyQ.mjs → index-C9LdNu0a.mjs} +1 -1
- package/dist/{index-C5pj6umx.mjs → index-CBowEKcR.mjs} +2 -2
- package/dist/{index-CLZfBnlo.mjs → index-CCnjfMtC.mjs} +20 -19
- package/dist/{index-CXAtR6Vv.mjs → index-CIG303fh.mjs} +1 -1
- package/dist/{index-DkPqpjkA.mjs → index-COT8mjWU.mjs} +2 -2
- package/dist/{index-DesY4um_.mjs → index-CPwNJkJK.mjs} +17 -17
- package/dist/{index-gWMTJ0gB.mjs → index-CWrb0ryZ.mjs} +1 -1
- package/dist/{index-cjJjrvPP.mjs → index-CmV8q0HE.mjs} +5 -5
- package/dist/{index-BtiMpwj2.mjs → index-D47Eql1L.mjs} +1 -1
- package/dist/{index-enjFe_Qb.mjs → index-D5jF4kAT.mjs} +1 -1
- package/dist/{index--gw38QeR.mjs → index-DNFVieqg.mjs} +1 -1
- package/dist/{index-Bom-5z91.mjs → index-DPqaoK4-.mjs} +4 -3
- package/dist/{index-BFtKB0qe.mjs → index-DVyAUAgy.mjs} +2 -2
- package/dist/{index-DQOGU1Vs.mjs → index-D_jvfqbu.mjs} +3 -3
- package/dist/{index-Sm592CoC.mjs → index-Dx0mdENP.mjs} +1 -1
- package/dist/{index-CDKSx5IH.mjs → index-Dxfj5xxz.mjs} +2 -2
- package/dist/{index-D2AIn13F.mjs → index-KUs-CZ9C.mjs} +1 -1
- package/dist/{index-3BgV8fss.mjs → index-jzk2C9cj.mjs} +1 -1
- package/dist/{index-DNsy9Enp.mjs → index-k6cvISUf.mjs} +1 -1
- package/dist/{index-C-HQUPPS.mjs → index-sjkYgg27.mjs} +4 -3
- package/dist/{index-D_PiZ_6x.mjs → index-tcsDF6U0.mjs} +1 -1
- package/dist/index.mjs +1309 -1233
- package/dist/{info-BQh86EaI.mjs → info-6YpNb7VF.mjs} +1 -1
- package/dist/{info-CYY7U06K.mjs → info-B6nfKr37.mjs} +1 -1
- package/dist/{info-ClUXgnK1.mjs → info-Cd4n1Hxk.mjs} +1 -1
- package/dist/{info-06y0zz8D.mjs → info-D90oJO1z.mjs} +1 -1
- package/dist/info-XskyQapE.mjs +4 -0
- package/dist/info-a4HMapKP.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-DxArle2x.mjs → info.vue_vue_type_script_setup_true_lang-BM-bddTj.mjs} +14 -14
- package/dist/{info.vue_vue_type_script_setup_true_lang-y8F2Xg5z.mjs → info.vue_vue_type_script_setup_true_lang-BWMDxwv-.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BHjv3DSd.mjs → info.vue_vue_type_script_setup_true_lang-BvcEV_aO.mjs} +115 -114
- package/dist/{info.vue_vue_type_script_setup_true_lang-7L5RJMrf.mjs → info.vue_vue_type_script_setup_true_lang-BzNQmLMY.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-hwan7iwm.mjs → info.vue_vue_type_script_setup_true_lang-CZa5y_q9.mjs} +27 -27
- package/dist/{info.vue_vue_type_script_setup_true_lang-D5eF48hb.mjs → info.vue_vue_type_script_setup_true_lang-DhuclI_H.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/index.d.ts +2 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +3 -3
- package/package.json +1 -1
- package/dist/info-DJvahDDF.mjs +0 -4
- package/dist/info-nzbmqI2A.mjs +0 -4
|
@@ -4,7 +4,7 @@ import { d as qe, p as ke, u as De, c as Ue } from "./index-CvX2It1o.mjs";
|
|
|
4
4
|
import "jmash-rbac";
|
|
5
5
|
import { useI18n as Be } from "vue-i18n";
|
|
6
6
|
import { i as Y, a as Re } from "./index-COvZrTZl.mjs";
|
|
7
|
-
import { D as v, i as Ce } from "./index-
|
|
7
|
+
import { D as v, i as Ce } from "./index-5rQmXXAD.mjs";
|
|
8
8
|
import { itemBudgetApi as x } from "xyvcard-itsm";
|
|
9
9
|
import { useUserStoreHook as Me } from "jmash-core";
|
|
10
10
|
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as fe, mergeModels as j, ref as c, reactive as Y, computed as z, watch as K, useModel as
|
|
1
|
+
import { defineComponent as fe, mergeModels as j, ref as c, reactive as Y, computed as z, watch as K, useModel as ye, nextTick as ge, resolveComponent as i, createBlock as h, openBlock as m, withCtx as r, createVNode as o, unref as s, createElementBlock as g, Fragment as I, renderList as V, createCommentVNode as ve, createTextVNode as w, toDisplayString as b, createElementVNode as Ie } from "vue";
|
|
2
2
|
import { ElMessage as H } from "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
4
|
import { i as C } from "./index-o0oTSdUL.mjs";
|
|
5
|
-
import { D as v, O as G, C as $, i as be } from "./index-
|
|
5
|
+
import { D as v, O as G, C as $, i as be } from "./index-5rQmXXAD.mjs";
|
|
6
6
|
import { u as _e } from "./index-CvX2It1o.mjs";
|
|
7
|
-
import { sysUserExtApi as
|
|
8
|
-
import { useUserStoreHook as
|
|
7
|
+
import { sysUserExtApi as Te } from "xyvcard-itsmsys";
|
|
8
|
+
import { useUserStoreHook as Fe } from "jmash-core";
|
|
9
9
|
import { _ as he } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
10
|
const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
11
11
|
__name: "edit",
|
|
@@ -21,7 +21,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
21
21
|
}),
|
|
22
22
|
emits: /* @__PURE__ */ j(["refresh"], ["update:modelValue"]),
|
|
23
23
|
setup(U, { emit: J }) {
|
|
24
|
-
const Q =
|
|
24
|
+
const Q = Fe(), { t: p } = we(), O = c();
|
|
25
25
|
v.itemBizLayDict.useValues();
|
|
26
26
|
const D = new G({ orgType: $.HALL });
|
|
27
27
|
D.useValues();
|
|
@@ -40,7 +40,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
40
40
|
t.itemId = void 0;
|
|
41
41
|
}
|
|
42
42
|
const _ = c([]), f = c([]);
|
|
43
|
-
|
|
43
|
+
Te.findList().then((e) => {
|
|
44
44
|
_.value = e.data.results;
|
|
45
45
|
}), K(
|
|
46
46
|
[_, () => t.userId],
|
|
@@ -102,7 +102,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
102
102
|
trigger: "change"
|
|
103
103
|
}
|
|
104
104
|
]
|
|
105
|
-
}),
|
|
105
|
+
}), y = ye(U, "modelValue"), q = U, Z = z(() => {
|
|
106
106
|
const e = v.fileTypeDict.values.slice(2, 3)[0];
|
|
107
107
|
return e ? e.dictCode : "temporary_file";
|
|
108
108
|
});
|
|
@@ -125,7 +125,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
125
125
|
}
|
|
126
126
|
const B = J, te = Object.keys(q.entityKey);
|
|
127
127
|
c(te.length >= 1).value && C.findById(q.entityKey).then(({ data: e }) => {
|
|
128
|
-
t.outOrgId = e.outOrgId,
|
|
128
|
+
t.outOrgId = e.outOrgId, ge(() => {
|
|
129
129
|
Object.assign(t, e), oe();
|
|
130
130
|
});
|
|
131
131
|
});
|
|
@@ -141,66 +141,66 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
141
141
|
}));
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
|
-
const
|
|
144
|
+
const re = async () => {
|
|
145
145
|
var e;
|
|
146
146
|
await ((e = O.value) == null ? void 0 : e.validate(async (l) => {
|
|
147
147
|
l && C.create(t).then((u) => {
|
|
148
148
|
u.status === 200 && (H({
|
|
149
149
|
message: p("common.submitSuccess"),
|
|
150
150
|
type: "success"
|
|
151
|
-
}),
|
|
151
|
+
}), y.value = !1, B("refresh", !0));
|
|
152
152
|
});
|
|
153
153
|
}));
|
|
154
|
-
},
|
|
154
|
+
}, ae = async () => {
|
|
155
155
|
var e;
|
|
156
156
|
await ((e = O.value) == null ? void 0 : e.validate(async (l) => {
|
|
157
157
|
l && C.submit(t).then((u) => {
|
|
158
158
|
u.status === 200 && (H({
|
|
159
159
|
message: p("common.submitSuccess"),
|
|
160
160
|
type: "success"
|
|
161
|
-
}),
|
|
161
|
+
}), y.value = !1, B("refresh", !0));
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
164
|
};
|
|
165
165
|
function E() {
|
|
166
|
-
|
|
166
|
+
y.value && (y.value = !1);
|
|
167
167
|
}
|
|
168
168
|
return (e, l) => {
|
|
169
|
-
const u = i("jmash-select"), d = i("el-form-item"), n = i("el-col"), A = i("el-option"), M = i("el-select"),
|
|
169
|
+
const u = i("jmash-select"), d = i("el-form-item"), n = i("el-col"), A = i("el-option"), M = i("el-select"), T = i("el-input"), se = i("el-date-picker"), F = i("el-button"), ie = i("CircleClose"), ue = i("el-icon"), de = i("el-row"), ne = i("el-form"), me = i("jmash-multi-upload"), pe = i("el-dialog");
|
|
170
170
|
return m(), h(pe, {
|
|
171
|
-
modelValue:
|
|
172
|
-
"onUpdate:modelValue": l[9] || (l[9] = (
|
|
171
|
+
modelValue: y.value,
|
|
172
|
+
"onUpdate:modelValue": l[9] || (l[9] = (a) => y.value = a),
|
|
173
173
|
onClose: E
|
|
174
174
|
}, {
|
|
175
|
-
footer:
|
|
175
|
+
footer: r(() => [
|
|
176
176
|
Ie("div", Ve, [
|
|
177
|
-
o(
|
|
178
|
-
default:
|
|
177
|
+
o(F, { onClick: E }, {
|
|
178
|
+
default: r(() => [
|
|
179
179
|
w(b(e.$t("common.cancel")), 1)
|
|
180
180
|
]),
|
|
181
181
|
_: 1
|
|
182
182
|
}),
|
|
183
|
-
o(
|
|
183
|
+
o(F, {
|
|
184
184
|
type: "primary",
|
|
185
|
-
onClick:
|
|
185
|
+
onClick: re
|
|
186
186
|
}, {
|
|
187
|
-
default:
|
|
187
|
+
default: r(() => [
|
|
188
188
|
w(b(e.$t("itsmFlowEntrustUser.save")), 1)
|
|
189
189
|
]),
|
|
190
190
|
_: 1
|
|
191
191
|
}),
|
|
192
|
-
o(
|
|
192
|
+
o(F, {
|
|
193
193
|
type: "primary",
|
|
194
|
-
onClick:
|
|
194
|
+
onClick: ae
|
|
195
195
|
}, {
|
|
196
|
-
default:
|
|
196
|
+
default: r(() => [
|
|
197
197
|
w(b(e.$t("itsmFlowEntrustUser.submit")), 1)
|
|
198
198
|
]),
|
|
199
199
|
_: 1
|
|
200
200
|
})
|
|
201
201
|
])
|
|
202
202
|
]),
|
|
203
|
-
default:
|
|
203
|
+
default: r(() => [
|
|
204
204
|
o(ne, {
|
|
205
205
|
ref_key: "itsmFlowTemporaryFormRef",
|
|
206
206
|
ref: O,
|
|
@@ -209,19 +209,19 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
209
209
|
rules: X,
|
|
210
210
|
class: "custom-table-form custom-form"
|
|
211
211
|
}, {
|
|
212
|
-
default:
|
|
212
|
+
default: r(() => [
|
|
213
213
|
o(de, null, {
|
|
214
|
-
default:
|
|
214
|
+
default: r(() => [
|
|
215
215
|
o(n, { span: 24 }, {
|
|
216
|
-
default:
|
|
216
|
+
default: r(() => [
|
|
217
217
|
o(d, {
|
|
218
218
|
label: e.$t("itsmFlowSpareParts.govOrgId"),
|
|
219
219
|
prop: "govOrgId"
|
|
220
220
|
}, {
|
|
221
|
-
default:
|
|
221
|
+
default: r(() => [
|
|
222
222
|
o(u, {
|
|
223
223
|
modelValue: s(t).govOrgId,
|
|
224
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
224
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => s(t).govOrgId = a),
|
|
225
225
|
placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
|
|
226
226
|
data: s(D).values,
|
|
227
227
|
clearable: "",
|
|
@@ -236,26 +236,26 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
236
236
|
_: 1
|
|
237
237
|
}),
|
|
238
238
|
o(n, { span: 24 }, {
|
|
239
|
-
default:
|
|
239
|
+
default: r(() => [
|
|
240
240
|
o(d, {
|
|
241
241
|
label: e.$t("itsmFlowSpareParts.itemId"),
|
|
242
242
|
prop: "itemId"
|
|
243
243
|
}, {
|
|
244
|
-
default:
|
|
244
|
+
default: r(() => [
|
|
245
245
|
o(M, {
|
|
246
246
|
modelValue: s(t).itemId,
|
|
247
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
247
|
+
"onUpdate:modelValue": l[1] || (l[1] = (a) => s(t).itemId = a),
|
|
248
248
|
placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
249
249
|
data: L.value,
|
|
250
250
|
clearable: "",
|
|
251
251
|
filterable: "",
|
|
252
252
|
disabled: !s(t).govOrgId
|
|
253
253
|
}, {
|
|
254
|
-
default:
|
|
255
|
-
(m(!0),
|
|
256
|
-
key:
|
|
257
|
-
value:
|
|
258
|
-
label:
|
|
254
|
+
default: r(() => [
|
|
255
|
+
(m(!0), g(I, null, V(L.value, (a) => (m(), h(A, {
|
|
256
|
+
key: a.key,
|
|
257
|
+
value: a.key,
|
|
258
|
+
label: a.value
|
|
259
259
|
}, null, 8, ["value", "label"]))), 128))
|
|
260
260
|
]),
|
|
261
261
|
_: 1
|
|
@@ -267,12 +267,12 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
267
267
|
_: 1
|
|
268
268
|
}),
|
|
269
269
|
o(n, { span: 12 }, {
|
|
270
|
-
default:
|
|
270
|
+
default: r(() => [
|
|
271
271
|
o(d, {
|
|
272
|
-
label: e.$t("itsmFlowTemporary.
|
|
272
|
+
label: e.$t("itsmFlowTemporary.createUserTemporary")
|
|
273
273
|
}, {
|
|
274
|
-
default:
|
|
275
|
-
o(
|
|
274
|
+
default: r(() => [
|
|
275
|
+
o(T, {
|
|
276
276
|
value: s(Q).user.realName,
|
|
277
277
|
placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
|
|
278
278
|
"show-word-limit": "",
|
|
@@ -286,15 +286,15 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
286
286
|
_: 1
|
|
287
287
|
}),
|
|
288
288
|
o(n, { span: 12 }, {
|
|
289
|
-
default:
|
|
289
|
+
default: r(() => [
|
|
290
290
|
o(d, {
|
|
291
291
|
label: e.$t("itsmFlowTemporary.createTime"),
|
|
292
292
|
prop: "createTime"
|
|
293
293
|
}, {
|
|
294
|
-
default:
|
|
294
|
+
default: r(() => [
|
|
295
295
|
o(se, {
|
|
296
296
|
modelValue: S.value,
|
|
297
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
297
|
+
"onUpdate:modelValue": l[2] || (l[2] = (a) => S.value = a),
|
|
298
298
|
type: "date",
|
|
299
299
|
placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
|
|
300
300
|
format: "YYYY-MM-DD",
|
|
@@ -310,15 +310,15 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
310
310
|
_: 1
|
|
311
311
|
}),
|
|
312
312
|
o(n, { span: 24 }, {
|
|
313
|
-
default:
|
|
313
|
+
default: r(() => [
|
|
314
314
|
o(d, {
|
|
315
315
|
label: e.$t("itsmFlowTemporary.title"),
|
|
316
316
|
prop: "title"
|
|
317
317
|
}, {
|
|
318
|
-
default:
|
|
319
|
-
o(
|
|
318
|
+
default: r(() => [
|
|
319
|
+
o(T, {
|
|
320
320
|
modelValue: s(t).title,
|
|
321
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
321
|
+
"onUpdate:modelValue": l[3] || (l[3] = (a) => s(t).title = a),
|
|
322
322
|
placeholder: e.$t("itsmFlowTemporary.titleRequired"),
|
|
323
323
|
"show-word-limit": "",
|
|
324
324
|
clearable: ""
|
|
@@ -330,15 +330,15 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
330
330
|
_: 1
|
|
331
331
|
}),
|
|
332
332
|
o(n, { span: 24 }, {
|
|
333
|
-
default:
|
|
333
|
+
default: r(() => [
|
|
334
334
|
o(d, {
|
|
335
335
|
label: e.$t("itsmFlowTemporary.content"),
|
|
336
336
|
prop: "content"
|
|
337
337
|
}, {
|
|
338
|
-
default:
|
|
339
|
-
o(
|
|
338
|
+
default: r(() => [
|
|
339
|
+
o(T, {
|
|
340
340
|
modelValue: s(t).content,
|
|
341
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
341
|
+
"onUpdate:modelValue": l[4] || (l[4] = (a) => s(t).content = a),
|
|
342
342
|
placeholder: e.$t("itsmFlowTemporary.contentRequired"),
|
|
343
343
|
"show-word-limit": "",
|
|
344
344
|
clearable: ""
|
|
@@ -350,20 +350,20 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
350
350
|
_: 1
|
|
351
351
|
}),
|
|
352
352
|
o(n, { span: 24 }, {
|
|
353
|
-
default:
|
|
354
|
-
(m(!0),
|
|
355
|
-
key:
|
|
353
|
+
default: r(() => [
|
|
354
|
+
(m(!0), g(I, null, V(s(v).fileTypeDict.values.slice(2, 3), (a, qe) => (m(), g(I, {
|
|
355
|
+
key: a.dictCode
|
|
356
356
|
}, [
|
|
357
357
|
o(d, {
|
|
358
|
-
label:
|
|
358
|
+
label: a.dictName
|
|
359
359
|
}, {
|
|
360
|
-
default:
|
|
361
|
-
o(
|
|
360
|
+
default: r(() => [
|
|
361
|
+
o(F, {
|
|
362
362
|
type: "primary",
|
|
363
363
|
icon: s(_e),
|
|
364
364
|
onClick: x
|
|
365
365
|
}, {
|
|
366
|
-
default:
|
|
366
|
+
default: r(() => [
|
|
367
367
|
w(b(e.$t("common.uploadFiles")), 1)
|
|
368
368
|
]),
|
|
369
369
|
_: 1
|
|
@@ -372,8 +372,8 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
372
372
|
_: 2
|
|
373
373
|
}, 1032, ["label"]),
|
|
374
374
|
s(t).files && s(t).files.length > 0 ? (m(), h(d, { key: 0 }, {
|
|
375
|
-
default:
|
|
376
|
-
(m(!0),
|
|
375
|
+
default: r(() => [
|
|
376
|
+
(m(!0), g(I, null, V(s(t).files, (ce, P) => (m(), g("div", {
|
|
377
377
|
key: P,
|
|
378
378
|
class: "files-list"
|
|
379
379
|
}, [
|
|
@@ -383,7 +383,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
383
383
|
class: "icon-right",
|
|
384
384
|
onClick: (Ce) => le(P)
|
|
385
385
|
}, {
|
|
386
|
-
default:
|
|
386
|
+
default: r(() => [
|
|
387
387
|
o(ie)
|
|
388
388
|
]),
|
|
389
389
|
_: 2
|
|
@@ -397,15 +397,15 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
397
397
|
_: 1
|
|
398
398
|
}),
|
|
399
399
|
o(n, { span: 24 }, {
|
|
400
|
-
default:
|
|
400
|
+
default: r(() => [
|
|
401
401
|
o(d, {
|
|
402
|
-
label: e.$t("itsmFlowTemporary.
|
|
402
|
+
label: e.$t("itsmFlowTemporary.outOrgIdTemporary"),
|
|
403
403
|
prop: "outOrgId"
|
|
404
404
|
}, {
|
|
405
|
-
default:
|
|
405
|
+
default: r(() => [
|
|
406
406
|
o(u, {
|
|
407
407
|
modelValue: s(t).outOrgId,
|
|
408
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
408
|
+
"onUpdate:modelValue": l[5] || (l[5] = (a) => s(t).outOrgId = a),
|
|
409
409
|
placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
|
|
410
410
|
data: s(R).values,
|
|
411
411
|
clearable: "",
|
|
@@ -419,25 +419,25 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
419
419
|
_: 1
|
|
420
420
|
}),
|
|
421
421
|
o(n, { span: 24 }, {
|
|
422
|
-
default:
|
|
422
|
+
default: r(() => [
|
|
423
423
|
o(d, {
|
|
424
|
-
label: e.$t("itsmFlowTemporary.
|
|
424
|
+
label: e.$t("itsmFlowTemporary.userIdTemporary"),
|
|
425
425
|
prop: "userId"
|
|
426
426
|
}, {
|
|
427
|
-
default:
|
|
427
|
+
default: r(() => [
|
|
428
428
|
o(M, {
|
|
429
429
|
modelValue: s(t).userId,
|
|
430
|
-
"onUpdate:modelValue": l[6] || (l[6] = (
|
|
430
|
+
"onUpdate:modelValue": l[6] || (l[6] = (a) => s(t).userId = a),
|
|
431
431
|
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
432
432
|
"show-word-limit": "",
|
|
433
433
|
clearable: "",
|
|
434
434
|
class: "w-full"
|
|
435
435
|
}, {
|
|
436
|
-
default:
|
|
437
|
-
(m(!0),
|
|
438
|
-
key:
|
|
439
|
-
value:
|
|
440
|
-
label:
|
|
436
|
+
default: r(() => [
|
|
437
|
+
(m(!0), g(I, null, V(f.value, (a) => (m(), h(A, {
|
|
438
|
+
key: a.userId,
|
|
439
|
+
value: a.userId,
|
|
440
|
+
label: a.realName
|
|
441
441
|
}, null, 8, ["value", "label"]))), 128))
|
|
442
442
|
]),
|
|
443
443
|
_: 1
|
|
@@ -449,15 +449,15 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
449
449
|
_: 1
|
|
450
450
|
}),
|
|
451
451
|
o(n, { span: 24 }, {
|
|
452
|
-
default:
|
|
452
|
+
default: r(() => [
|
|
453
453
|
o(d, {
|
|
454
454
|
label: e.$t("itsmFlowTemporary.handlingPeriod"),
|
|
455
455
|
prop: "handlingPeriod"
|
|
456
456
|
}, {
|
|
457
|
-
default:
|
|
458
|
-
o(
|
|
457
|
+
default: r(() => [
|
|
458
|
+
o(T, {
|
|
459
459
|
modelValue: s(t).handlingPeriod,
|
|
460
|
-
"onUpdate:modelValue": l[7] || (l[7] = (
|
|
460
|
+
"onUpdate:modelValue": l[7] || (l[7] = (a) => s(t).handlingPeriod = a),
|
|
461
461
|
placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
|
|
462
462
|
"show-word-limit": "",
|
|
463
463
|
clearable: ""
|
|
@@ -478,7 +478,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
478
478
|
ref_key: "uploadRef",
|
|
479
479
|
ref: N,
|
|
480
480
|
modelValue: k.value,
|
|
481
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
|
481
|
+
"onUpdate:modelValue": l[8] || (l[8] = (a) => k.value = a),
|
|
482
482
|
onUploadFileList: ee
|
|
483
483
|
}, null, 8, ["modelValue"])
|
|
484
484
|
]),
|
|
@@ -486,7 +486,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
|
|
|
486
486
|
}, 8, ["modelValue"]);
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
}), Ae = /* @__PURE__ */ he(Oe, [["__scopeId", "data-v-
|
|
489
|
+
}), Ae = /* @__PURE__ */ he(Oe, [["__scopeId", "data-v-afccd966"]]);
|
|
490
490
|
export {
|
|
491
491
|
Ae as default
|
|
492
492
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as re, mergeModels as U, ref as f, reactive as S, useMo
|
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
4
|
import { i as V } from "./index-o0oTSdUL.mjs";
|
|
5
|
-
import { U as de, C as Y, D as I, i as pe } from "./index-
|
|
5
|
+
import { U as de, C as Y, D as I, i as pe } from "./index-5rQmXXAD.mjs";
|
|
6
6
|
import { u as ce } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { useUserStoreHook as fe } from "jmash-core";
|
|
8
8
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -20,9 +20,9 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
20
20
|
}),
|
|
21
21
|
emits: /* @__PURE__ */ U(["refresh"], ["update:modelValue"]),
|
|
22
22
|
setup(q, { emit: j }) {
|
|
23
|
-
const A = fe(), { t: u } = me(),
|
|
24
|
-
|
|
25
|
-
const
|
|
23
|
+
const A = fe(), { t: u } = me(), T = new de({ userType: Y.COMPANY_MANAGER });
|
|
24
|
+
T.useValues(), console.log("userIdList values:", T.values);
|
|
25
|
+
const F = f(), C = f((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
26
26
|
let r = S({
|
|
27
27
|
requestId: Math.random() * 10 + "",
|
|
28
28
|
files: [],
|
|
@@ -113,7 +113,7 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
113
113
|
}
|
|
114
114
|
const H = async () => {
|
|
115
115
|
var e;
|
|
116
|
-
await ((e =
|
|
116
|
+
await ((e = F.value) == null ? void 0 : e.validate(async (l) => {
|
|
117
117
|
l && V.create(r).then((n) => {
|
|
118
118
|
n.status === 200 && (O({
|
|
119
119
|
message: u("common.submitSuccess"),
|
|
@@ -123,7 +123,7 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
123
123
|
}));
|
|
124
124
|
}, J = async () => {
|
|
125
125
|
var e;
|
|
126
|
-
await ((e =
|
|
126
|
+
await ((e = F.value) == null ? void 0 : e.validate(async (l) => {
|
|
127
127
|
l && V.submit(r).then((n) => {
|
|
128
128
|
n.status === 200 && (O({
|
|
129
129
|
message: u("common.submitSuccess"),
|
|
@@ -173,7 +173,7 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
173
173
|
default: o(() => [
|
|
174
174
|
t(ee, {
|
|
175
175
|
ref_key: "itsmFlowTemporaryFormRef",
|
|
176
|
-
ref:
|
|
176
|
+
ref: F,
|
|
177
177
|
model: s(r),
|
|
178
178
|
"label-width": "150px",
|
|
179
179
|
rules: E,
|
|
@@ -224,7 +224,7 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
224
224
|
}),
|
|
225
225
|
t(d, { span: 24 }, {
|
|
226
226
|
default: o(() => [
|
|
227
|
-
(c(!0), w(b, null, M(s(I).fileTypeDict.values.slice(2, 3), (a,
|
|
227
|
+
(c(!0), w(b, null, M(s(I).fileTypeDict.values.slice(2, 3), (a, Te) => (c(), w(b, {
|
|
228
228
|
key: a.dictCode
|
|
229
229
|
}, [
|
|
230
230
|
t(m, {
|
|
@@ -254,7 +254,7 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
254
254
|
t(W, {
|
|
255
255
|
size: "16",
|
|
256
256
|
class: "icon-right",
|
|
257
|
-
onClick: (
|
|
257
|
+
onClick: (Fe) => K(D)
|
|
258
258
|
}, {
|
|
259
259
|
default: o(() => [
|
|
260
260
|
t(Q)
|
|
@@ -272,7 +272,7 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
272
272
|
t(d, { span: 12 }, {
|
|
273
273
|
default: o(() => [
|
|
274
274
|
t(m, {
|
|
275
|
-
label: e.$t("itsmFlowTemporary.
|
|
275
|
+
label: e.$t("itsmFlowTemporary.createUserTemporary")
|
|
276
276
|
}, {
|
|
277
277
|
default: o(() => [
|
|
278
278
|
t(n, {
|
|
@@ -315,14 +315,14 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
315
315
|
t(d, { span: 24 }, {
|
|
316
316
|
default: o(() => [
|
|
317
317
|
t(m, {
|
|
318
|
-
label: e.$t("itsmFlowTemporary.
|
|
318
|
+
label: e.$t("itsmFlowTemporary.userIdTemporary"),
|
|
319
319
|
prop: "userId"
|
|
320
320
|
}, {
|
|
321
321
|
default: o(() => [
|
|
322
322
|
t(Z, {
|
|
323
323
|
modelValue: s(r).userId,
|
|
324
324
|
"onUpdate:modelValue": l[3] || (l[3] = (a) => s(r).userId = a),
|
|
325
|
-
data: s(
|
|
325
|
+
data: s(T).values,
|
|
326
326
|
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
327
327
|
"show-word-limit": "",
|
|
328
328
|
clearable: "",
|
|
@@ -372,7 +372,7 @@ const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
|
372
372
|
}, 8, ["modelValue"]);
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
}), Re = /* @__PURE__ */ ye(_e, [["__scopeId", "data-v-
|
|
375
|
+
}), Re = /* @__PURE__ */ ye(_e, [["__scopeId", "data-v-898ff694"]]);
|
|
376
376
|
export {
|
|
377
377
|
Re as default
|
|
378
378
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ve, mergeModels as L, ref as f, useModel as be, reactive as T, resolveComponent as u, createBlock as H, openBlock as y, withCtx as o, createVNode as t, createElementVNode as r, unref as d, createElementBlock as R, Fragment as G, renderList as J, createTextVNode as b, toDisplayString as F } from "vue";
|
|
2
2
|
import { ElMessage as N } from "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
|
-
import { I as ge, C as j, U as he, D as A, i as V } from "./index-
|
|
4
|
+
import { I as ge, C as j, U as he, D as A, i as V } from "./index-5rQmXXAD.mjs";
|
|
5
5
|
import { u as ye } from "./index-CvX2It1o.mjs";
|
|
6
6
|
import { useUserStore as Fe } from "jmash-core";
|
|
7
7
|
const Ne = { class: "title" }, qe = /* @__PURE__ */ ve({
|
|
@@ -2,9 +2,10 @@ import { defineComponent as Ee, mergeModels as Q, ref as f, useModel as _e, reac
|
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as Fe } from "vue-i18n";
|
|
4
4
|
import { p as Ue } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { itsmFlowEntrustApi as A } from "./index.mjs";
|
|
6
|
+
import { b as Ne, C as g, c as Ce, d as $e, D as V, a as ke, e as x } from "./index-5rQmXXAD.mjs";
|
|
6
7
|
import "xyvcard-itsm";
|
|
7
|
-
const Oe = { class: "title" },
|
|
8
|
+
const Oe = { class: "title" }, Me = /* @__PURE__ */ Ee({
|
|
8
9
|
__name: "edit",
|
|
9
10
|
props: /* @__PURE__ */ Q({
|
|
10
11
|
entityKey: {
|
|
@@ -675,5 +676,5 @@ const Oe = { class: "title" }, Ae = /* @__PURE__ */ Ee({
|
|
|
675
676
|
}
|
|
676
677
|
});
|
|
677
678
|
export {
|
|
678
|
-
|
|
679
|
+
Me as _
|
|
679
680
|
};
|
|
@@ -3,7 +3,7 @@ import { ElMessage as S } from "element-plus";
|
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import { i as I, t as fe, a as be } from "./common-Cwl5jzlM.mjs";
|
|
5
5
|
import { p as ve } from "./index-CvX2It1o.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { f as ge, C as Ne, D as $, g as ke, a as _e } from "./index-5rQmXXAD.mjs";
|
|
7
7
|
const he = { class: "title" }, $e = /* @__PURE__ */ se({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ z({
|