xyvcard-itsm-flow 0.0.20 → 0.0.22
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-5d27MsC6.mjs → FileSaver.min-X2_RihtX.mjs} +29 -28
- package/dist/_commonjsHelpers-BVfed4GL.mjs +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/{edit-DIh0NEYf.mjs → edit-B4N5cmbv.mjs} +1 -1
- package/dist/edit-C1Zif4Ov.mjs +492 -0
- package/dist/edit-CUiT79xP.mjs +794 -0
- package/dist/{edit-DdzFTqhg.mjs → edit-Crp2NJw2.mjs} +1 -1
- package/dist/{edit-Vw2XQ1u6.mjs → edit-Da4XYqIW.mjs} +1 -1
- package/dist/edit-z2fcZzRN.mjs +378 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs → edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs → edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs} +5 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs → edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs} +2 -2
- package/dist/{el-message-DawVzOVQ.mjs → el-message-BJAl6Gwu.mjs} +1 -1
- package/dist/index-5ECLdS5y.mjs +749 -0
- package/dist/{index-Cgbv4Ijf.mjs → index-5rQmXXAD.mjs} +118 -173
- package/dist/{index-CITy8Hqm.mjs → index-B0J0xma8.mjs} +29 -28
- package/dist/{index-7_pEehBt.mjs → index-B5OVt83d.mjs} +2 -2
- package/dist/index-BMCOCsW6.mjs +278 -0
- package/dist/index-BNfIR-q1.mjs +330 -0
- package/dist/index-BW4DcS26.mjs +272 -0
- package/dist/{index-DaSMRndr.mjs → index-BYazmSpv.mjs} +8 -7
- package/dist/{index-54evOMFJ.mjs → index-Bmev8P7I.mjs} +8 -7
- package/dist/index-C3QjePKd.mjs +390 -0
- package/dist/{index-DyOibT57.mjs → index-CBowEKcR.mjs} +2 -2
- package/dist/{index-Dooa5UH_.mjs → index-CCnjfMtC.mjs} +23 -22
- package/dist/{index-v18knD_f.mjs → index-COT8mjWU.mjs} +2 -2
- package/dist/index-CbG_QqOf.mjs +149 -0
- package/dist/index-CeA9V38o.mjs +339 -0
- package/dist/index-ChmGQcWY.mjs +396 -0
- package/dist/index-Coz_j3ZO.mjs +400 -0
- package/dist/{index-PafaMNgK.mjs → index-CvX2It1o.mjs} +64 -30
- package/dist/index-DKewqFNP.mjs +273 -0
- package/dist/{index-g0KiWDPW.mjs → index-DNFVieqg.mjs} +3 -3
- package/dist/{index-BI1uXq1f.mjs → index-DPqaoK4-.mjs} +7 -6
- package/dist/{index-CxyHtsq2.mjs → index-DVyAUAgy.mjs} +2 -2
- package/dist/index-Dd1bJ-eY.mjs +479 -0
- package/dist/index-DgQ1cL3p.mjs +221 -0
- package/dist/{index-C7_kMdm5.mjs → index-Dxfj5xxz.mjs} +2 -2
- package/dist/index-HVCVVhoT.mjs +1385 -0
- package/dist/index-V8eBbfrN.mjs +402 -0
- package/dist/index-YVpXj5al.mjs +316 -0
- package/dist/index-gea6CFp0.mjs +457 -0
- package/dist/index-oGFiETVc.mjs +366 -0
- package/dist/{index-tnTugnqa.mjs → index-sjkYgg27.mjs} +6 -5
- package/dist/index.mjs +1203 -999
- package/dist/{info-8NydJYfB.mjs → info-C2QOALBq.mjs} +1 -1
- package/dist/{info-BbMCDfFR.mjs → info-D90oJO1z.mjs} +1 -1
- package/dist/{info-l0eP5Tw1.mjs → info-XskyQapE.mjs} +1 -1
- package/dist/info-Y2dPD9_Q.mjs +4 -0
- package/dist/info-a4HMapKP.mjs +4 -0
- package/dist/info-bvVxVHFs.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs → info.vue_vue_type_script_setup_true_lang-BvcEV_aO.mjs} +115 -114
- package/dist/{info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs → info.vue_vue_type_script_setup_true_lang-BzNQmLMY.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-CAAnevRr.mjs +209 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-DROdDnz4.mjs +260 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs → info.vue_vue_type_script_setup_true_lang-DhuclI_H.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-Dngt4TDa.mjs +374 -0
- package/dist/style.css +1 -1
- package/dts/api/index.d.ts +5 -1
- package/dts/api/itsm-flow-spare-parts/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts/types.d.ts +113 -0
- package/dts/api/itsm-flow-spare-parts-details/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts-details/types.d.ts +77 -0
- package/dts/api/itsm-flow-temporary/index.d.ts +21 -0
- package/dts/api/itsm-flow-temporary/types.d.ts +115 -0
- package/dts/components/ImageUpload/ImageUpload.vue.d.ts +36 -0
- package/dts/components/TaskItsmFlowImOrderInterior/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorView/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareParts/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsUse/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporary/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryView/index.vue.d.ts +28 -0
- package/dts/constant.d.ts +8 -0
- package/dts/index.d.ts +13 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +81 -0
- package/dts/views/item-flow-orders-interior/edit.vue.d.ts +28 -0
- package/dts/views/item-flow-orders-interior/index.vue.d.ts +2 -0
- package/dts/views/item-flow-orders-interior/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-spare-parts/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-spare-parts/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-spare-parts/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-temporary/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-temporary/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-temporary/info.vue.d.ts +26 -0
- package/package.json +63 -63
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import { defineComponent as re, mergeModels as U, ref as f, reactive as S, useModel as ae, computed as se, nextTick as ie, resolveComponent as i, createBlock as N, openBlock as c, withCtx as o, createVNode as t, unref as s, createElementBlock as w, Fragment as b, renderList as M, createCommentVNode as ne, createTextVNode as y, toDisplayString as g, createElementVNode as ue } from "vue";
|
|
2
|
+
import { ElMessage as O } from "element-plus";
|
|
3
|
+
import { useI18n as me } from "vue-i18n";
|
|
4
|
+
import { i as V } from "./index-CbG_QqOf.mjs";
|
|
5
|
+
import { U as de, C as Y, D as I, i as pe } from "./index-5rQmXXAD.mjs";
|
|
6
|
+
import { u as ce } from "./index-CvX2It1o.mjs";
|
|
7
|
+
import { useUserStoreHook as fe } from "jmash-core";
|
|
8
|
+
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
const ge = { class: "title" }, _e = /* @__PURE__ */ re({
|
|
10
|
+
__name: "edit",
|
|
11
|
+
props: /* @__PURE__ */ U({
|
|
12
|
+
entityKey: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default: () => {
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}, {
|
|
18
|
+
modelValue: { type: Boolean },
|
|
19
|
+
modelModifiers: {}
|
|
20
|
+
}),
|
|
21
|
+
emits: /* @__PURE__ */ U(["refresh"], ["update:modelValue"]),
|
|
22
|
+
setup(q, { emit: j }) {
|
|
23
|
+
const A = fe(), { t: u } = me(), F = new de({ userType: Y.COMPANY_MANAGER });
|
|
24
|
+
F.useValues(), console.log("userIdList values:", F.values);
|
|
25
|
+
const T = f(), C = f((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
26
|
+
let r = S({
|
|
27
|
+
requestId: Math.random() * 10 + "",
|
|
28
|
+
files: [],
|
|
29
|
+
temporaryType: Y.Internal
|
|
30
|
+
});
|
|
31
|
+
const h = f(!1), k = f(), E = S({
|
|
32
|
+
govOrgId: [
|
|
33
|
+
{
|
|
34
|
+
required: !0,
|
|
35
|
+
message: u("itsmFlowTemporary.govOrgIdRequired"),
|
|
36
|
+
trigger: "change"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
itemId: [
|
|
40
|
+
{
|
|
41
|
+
required: !0,
|
|
42
|
+
message: u("itsmFlowTemporary.itemIdRequired"),
|
|
43
|
+
trigger: "change"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
title: [
|
|
47
|
+
{
|
|
48
|
+
required: !0,
|
|
49
|
+
message: u("itsmFlowTemporary.titleRequired"),
|
|
50
|
+
trigger: "change"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
temporaryType: [
|
|
54
|
+
{
|
|
55
|
+
required: !0,
|
|
56
|
+
message: u("itsmFlowTemporary.temporaryTypeRequired"),
|
|
57
|
+
trigger: "change"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
outOrgId: [
|
|
61
|
+
{
|
|
62
|
+
required: !0,
|
|
63
|
+
message: u("itsmFlowTemporary.outOrgIdRequired"),
|
|
64
|
+
trigger: "change"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
userId: [
|
|
68
|
+
{
|
|
69
|
+
required: !0,
|
|
70
|
+
message: u("itsmFlowTemporary.userIdRequired"),
|
|
71
|
+
trigger: "change"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}), p = ae(q, "modelValue"), v = q, L = se(() => {
|
|
75
|
+
const e = I.fileTypeDict.values.slice(2, 3)[0];
|
|
76
|
+
return e ? e.dictCode : "temporary_file";
|
|
77
|
+
});
|
|
78
|
+
function B() {
|
|
79
|
+
h.value = !0, k.value.clearFileList();
|
|
80
|
+
}
|
|
81
|
+
function P(e) {
|
|
82
|
+
const l = {
|
|
83
|
+
fileName: e.name,
|
|
84
|
+
fileId: e.response.fileId,
|
|
85
|
+
fileSort: L.value,
|
|
86
|
+
fileSrc: ""
|
|
87
|
+
};
|
|
88
|
+
r.files || (r.files = []), r.files.push(l), r.files = [...new Set(r.files)];
|
|
89
|
+
}
|
|
90
|
+
console.log(I.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
|
|
91
|
+
function K(e) {
|
|
92
|
+
var l;
|
|
93
|
+
(l = r.files) == null || l.splice(e, 1);
|
|
94
|
+
}
|
|
95
|
+
const R = j, z = Object.keys(v.entityKey);
|
|
96
|
+
f(z.length >= 1).value && V.findById(v.entityKey).then(({ data: e }) => {
|
|
97
|
+
r.outOrgId = e.outOrgId, ie(() => {
|
|
98
|
+
Object.assign(r, e), G();
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
function G() {
|
|
102
|
+
pe.findFilesList({ actionId: v.entityKey.temporaryId }).then(({ data: e }) => {
|
|
103
|
+
e.results && Array.isArray(e.results) && (r.files = e.results.map((l) => {
|
|
104
|
+
let n = "";
|
|
105
|
+
return l.fileName && (n = l.fileSort || l.type || ""), {
|
|
106
|
+
fileName: l.fileName || "",
|
|
107
|
+
fileId: l.fileId || "",
|
|
108
|
+
fileSort: n,
|
|
109
|
+
fileSrc: l.fileSrc || ""
|
|
110
|
+
};
|
|
111
|
+
}));
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
const H = async () => {
|
|
115
|
+
var e;
|
|
116
|
+
await ((e = T.value) == null ? void 0 : e.validate(async (l) => {
|
|
117
|
+
l && V.create(r).then((n) => {
|
|
118
|
+
n.status === 200 && (O({
|
|
119
|
+
message: u("common.submitSuccess"),
|
|
120
|
+
type: "success"
|
|
121
|
+
}), p.value = !1, R("refresh", !0));
|
|
122
|
+
});
|
|
123
|
+
}));
|
|
124
|
+
}, J = async () => {
|
|
125
|
+
var e;
|
|
126
|
+
await ((e = T.value) == null ? void 0 : e.validate(async (l) => {
|
|
127
|
+
l && V.submit(r).then((n) => {
|
|
128
|
+
n.status === 200 && (O({
|
|
129
|
+
message: u("common.submitSuccess"),
|
|
130
|
+
type: "success"
|
|
131
|
+
}), p.value = !1, R("refresh", !0));
|
|
132
|
+
});
|
|
133
|
+
}));
|
|
134
|
+
};
|
|
135
|
+
function $() {
|
|
136
|
+
p.value && (p.value = !1);
|
|
137
|
+
}
|
|
138
|
+
return (e, l) => {
|
|
139
|
+
const n = i("el-input"), m = i("el-form-item"), d = i("el-col"), _ = i("el-button"), Q = i("CircleClose"), W = i("el-icon"), X = i("el-date-picker"), Z = i("jmash-select"), x = i("el-row"), ee = i("el-form"), le = i("jmash-multi-upload"), te = i("el-dialog");
|
|
140
|
+
return c(), N(te, {
|
|
141
|
+
modelValue: p.value,
|
|
142
|
+
"onUpdate:modelValue": l[6] || (l[6] = (a) => p.value = a),
|
|
143
|
+
onClose: $
|
|
144
|
+
}, {
|
|
145
|
+
footer: o(() => [
|
|
146
|
+
ue("div", ge, [
|
|
147
|
+
t(_, { onClick: $ }, {
|
|
148
|
+
default: o(() => [
|
|
149
|
+
y(g(e.$t("common.cancel")), 1)
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
}),
|
|
153
|
+
t(_, {
|
|
154
|
+
type: "primary",
|
|
155
|
+
onClick: H
|
|
156
|
+
}, {
|
|
157
|
+
default: o(() => [
|
|
158
|
+
y(g(e.$t("itsmFlowEntrustUser.save")), 1)
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}),
|
|
162
|
+
t(_, {
|
|
163
|
+
type: "primary",
|
|
164
|
+
onClick: J
|
|
165
|
+
}, {
|
|
166
|
+
default: o(() => [
|
|
167
|
+
y(g(e.$t("itsmFlowEntrustUser.submit")), 1)
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
})
|
|
171
|
+
])
|
|
172
|
+
]),
|
|
173
|
+
default: o(() => [
|
|
174
|
+
t(ee, {
|
|
175
|
+
ref_key: "itsmFlowTemporaryFormRef",
|
|
176
|
+
ref: T,
|
|
177
|
+
model: s(r),
|
|
178
|
+
"label-width": "150px",
|
|
179
|
+
rules: E,
|
|
180
|
+
class: "custom-table-form custom-form"
|
|
181
|
+
}, {
|
|
182
|
+
default: o(() => [
|
|
183
|
+
t(x, null, {
|
|
184
|
+
default: o(() => [
|
|
185
|
+
t(d, { span: 24 }, {
|
|
186
|
+
default: o(() => [
|
|
187
|
+
t(m, {
|
|
188
|
+
label: e.$t("itsmFlowTemporary.title"),
|
|
189
|
+
prop: "title"
|
|
190
|
+
}, {
|
|
191
|
+
default: o(() => [
|
|
192
|
+
t(n, {
|
|
193
|
+
modelValue: s(r).title,
|
|
194
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => s(r).title = a),
|
|
195
|
+
placeholder: e.$t("itsmFlowTemporary.titleRequired"),
|
|
196
|
+
"show-word-limit": "",
|
|
197
|
+
clearable: ""
|
|
198
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}, 8, ["label"])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
}),
|
|
205
|
+
t(d, { span: 24 }, {
|
|
206
|
+
default: o(() => [
|
|
207
|
+
t(m, {
|
|
208
|
+
label: e.$t("itsmFlowTemporary.content"),
|
|
209
|
+
prop: "content"
|
|
210
|
+
}, {
|
|
211
|
+
default: o(() => [
|
|
212
|
+
t(n, {
|
|
213
|
+
modelValue: s(r).content,
|
|
214
|
+
"onUpdate:modelValue": l[1] || (l[1] = (a) => s(r).content = a),
|
|
215
|
+
placeholder: e.$t("itsmFlowTemporary.contentRequired"),
|
|
216
|
+
"show-word-limit": "",
|
|
217
|
+
clearable: ""
|
|
218
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
}, 8, ["label"])
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
}),
|
|
225
|
+
t(d, { span: 24 }, {
|
|
226
|
+
default: o(() => [
|
|
227
|
+
(c(!0), w(b, null, M(s(I).fileTypeDict.values.slice(2, 3), (a, Fe) => (c(), w(b, {
|
|
228
|
+
key: a.dictCode
|
|
229
|
+
}, [
|
|
230
|
+
t(m, {
|
|
231
|
+
label: a.dictName
|
|
232
|
+
}, {
|
|
233
|
+
default: o(() => [
|
|
234
|
+
t(_, {
|
|
235
|
+
type: "primary",
|
|
236
|
+
icon: s(ce),
|
|
237
|
+
onClick: B
|
|
238
|
+
}, {
|
|
239
|
+
default: o(() => [
|
|
240
|
+
y(g(e.$t("common.uploadFiles")), 1)
|
|
241
|
+
]),
|
|
242
|
+
_: 1
|
|
243
|
+
}, 8, ["icon"])
|
|
244
|
+
]),
|
|
245
|
+
_: 2
|
|
246
|
+
}, 1032, ["label"]),
|
|
247
|
+
s(r).files && s(r).files.length > 0 ? (c(), N(m, { key: 0 }, {
|
|
248
|
+
default: o(() => [
|
|
249
|
+
(c(!0), w(b, null, M(s(r).files, (oe, D) => (c(), w("div", {
|
|
250
|
+
key: D,
|
|
251
|
+
class: "files-list"
|
|
252
|
+
}, [
|
|
253
|
+
y(g(oe.fileName) + " ", 1),
|
|
254
|
+
t(W, {
|
|
255
|
+
size: "16",
|
|
256
|
+
class: "icon-right",
|
|
257
|
+
onClick: (Te) => K(D)
|
|
258
|
+
}, {
|
|
259
|
+
default: o(() => [
|
|
260
|
+
t(Q)
|
|
261
|
+
]),
|
|
262
|
+
_: 2
|
|
263
|
+
}, 1032, ["onClick"])
|
|
264
|
+
]))), 128))
|
|
265
|
+
]),
|
|
266
|
+
_: 2
|
|
267
|
+
}, 1024)) : ne("", !0)
|
|
268
|
+
], 64))), 128))
|
|
269
|
+
]),
|
|
270
|
+
_: 1
|
|
271
|
+
}),
|
|
272
|
+
t(d, { span: 12 }, {
|
|
273
|
+
default: o(() => [
|
|
274
|
+
t(m, {
|
|
275
|
+
label: e.$t("itsmFlowTemporary.createUser")
|
|
276
|
+
}, {
|
|
277
|
+
default: o(() => [
|
|
278
|
+
t(n, {
|
|
279
|
+
value: s(A).user.realName,
|
|
280
|
+
placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
|
|
281
|
+
"show-word-limit": "",
|
|
282
|
+
clearable: "",
|
|
283
|
+
disabled: !0
|
|
284
|
+
}, null, 8, ["value", "placeholder"])
|
|
285
|
+
]),
|
|
286
|
+
_: 1
|
|
287
|
+
}, 8, ["label"])
|
|
288
|
+
]),
|
|
289
|
+
_: 1
|
|
290
|
+
}),
|
|
291
|
+
t(d, { span: 12 }, {
|
|
292
|
+
default: o(() => [
|
|
293
|
+
t(m, {
|
|
294
|
+
label: e.$t("itsmFlowTemporary.createTime"),
|
|
295
|
+
prop: "createTime"
|
|
296
|
+
}, {
|
|
297
|
+
default: o(() => [
|
|
298
|
+
t(X, {
|
|
299
|
+
modelValue: C.value,
|
|
300
|
+
"onUpdate:modelValue": l[2] || (l[2] = (a) => C.value = a),
|
|
301
|
+
type: "date",
|
|
302
|
+
placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
|
|
303
|
+
format: "YYYY-MM-DD",
|
|
304
|
+
"value-format": "YYYY-MM-DD",
|
|
305
|
+
clearable: !1,
|
|
306
|
+
class: "w-full",
|
|
307
|
+
disabled: !0
|
|
308
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}, 8, ["label"])
|
|
312
|
+
]),
|
|
313
|
+
_: 1
|
|
314
|
+
}),
|
|
315
|
+
t(d, { span: 24 }, {
|
|
316
|
+
default: o(() => [
|
|
317
|
+
t(m, {
|
|
318
|
+
label: e.$t("itsmFlowTemporary.userId"),
|
|
319
|
+
prop: "userId"
|
|
320
|
+
}, {
|
|
321
|
+
default: o(() => [
|
|
322
|
+
t(Z, {
|
|
323
|
+
modelValue: s(r).userId,
|
|
324
|
+
"onUpdate:modelValue": l[3] || (l[3] = (a) => s(r).userId = a),
|
|
325
|
+
data: s(F).values,
|
|
326
|
+
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
327
|
+
"show-word-limit": "",
|
|
328
|
+
clearable: "",
|
|
329
|
+
class: "w-full"
|
|
330
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
331
|
+
]),
|
|
332
|
+
_: 1
|
|
333
|
+
}, 8, ["label"])
|
|
334
|
+
]),
|
|
335
|
+
_: 1
|
|
336
|
+
}),
|
|
337
|
+
t(d, { span: 24 }, {
|
|
338
|
+
default: o(() => [
|
|
339
|
+
t(m, {
|
|
340
|
+
label: e.$t("itsmFlowTemporary.handlingPeriod"),
|
|
341
|
+
prop: "handlingPeriod"
|
|
342
|
+
}, {
|
|
343
|
+
default: o(() => [
|
|
344
|
+
t(n, {
|
|
345
|
+
modelValue: s(r).handlingPeriod,
|
|
346
|
+
"onUpdate:modelValue": l[4] || (l[4] = (a) => s(r).handlingPeriod = a),
|
|
347
|
+
placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
|
|
348
|
+
"show-word-limit": "",
|
|
349
|
+
clearable: ""
|
|
350
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
}, 8, ["label"])
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
})
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
})
|
|
360
|
+
]),
|
|
361
|
+
_: 1
|
|
362
|
+
}, 8, ["model", "rules"]),
|
|
363
|
+
t(le, {
|
|
364
|
+
ref_key: "uploadRef",
|
|
365
|
+
ref: k,
|
|
366
|
+
modelValue: h.value,
|
|
367
|
+
"onUpdate:modelValue": l[5] || (l[5] = (a) => h.value = a),
|
|
368
|
+
onUploadFileList: P
|
|
369
|
+
}, null, 8, ["modelValue"])
|
|
370
|
+
]),
|
|
371
|
+
_: 1
|
|
372
|
+
}, 8, ["modelValue"]);
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
}), Re = /* @__PURE__ */ ye(_e, [["__scopeId", "data-v-3185250c"]]);
|
|
376
|
+
export {
|
|
377
|
+
Re as default
|
|
378
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { u as ye } from "./index-
|
|
4
|
+
import { I as ge, C as j, U as he, D as A, i as V } from "./index-5rQmXXAD.mjs";
|
|
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({
|
|
8
8
|
__name: "edit",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Ee, mergeModels as Q, ref as f, useModel as _e, reactive as W, resolveComponent as d, createBlock as k, openBlock as E, withCtx as o, createVNode as l, createElementVNode as u, unref as s, createElementBlock as X, Fragment as Y, renderList as Z, toDisplayString as U, createCommentVNode as Ve, createTextVNode as _ } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as Fe } from "vue-i18n";
|
|
4
|
-
import { p as Ue } from "./index-
|
|
5
|
-
import {
|
|
4
|
+
import { p as Ue } from "./index-CvX2It1o.mjs";
|
|
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
|
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as se, mergeModels as z, ref as k, useModel as de, reac
|
|
|
2
2
|
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
|
-
import { p as ve } from "./index-
|
|
6
|
-
import {
|
|
5
|
+
import { p as ve } from "./index-CvX2It1o.mjs";
|
|
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({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getCurrentInstance as z, inject as j, ref as _, computed as d, unref as l, readonly as yt, getCurrentScope as vt, onScopeDispose as ht, onMounted as Be, nextTick as Le, watch as Y, isRef as bt, warn as _t, provide as Ct, defineComponent as P, createElementBlock as J, openBlock as T, mergeProps as Ot, renderSlot as k, normalizeClass as N, createVNode as se, Transition as ke, withCtx as U, withDirectives as Ve, createElementVNode as re, normalizeStyle as Ke, createTextVNode as wt, toDisplayString as Re, vShow as He, shallowReactive as St, createBlock as B, createCommentVNode as G, resolveDynamicComponent as Tt, Fragment as Nt, withModifiers as Et, isVNode as Ge, render as he } from "vue";
|
|
2
|
-
import { i as be,
|
|
2
|
+
import { i as be, a as It, w as xt, s as Pt, b as $t } from "./index-CvX2It1o.mjs";
|
|
3
3
|
const Ue = Symbol(), Z = "el", jt = "is-", E = (e, t, n, o, r) => {
|
|
4
4
|
let s = `${e}-${t}`;
|
|
5
5
|
return n && (s += `-${n}`), o && (s += `__${o}`), r && (s += `--${r}`), s;
|