xyvcard-itsm-flow 0.0.9 → 0.0.10
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-BatVtQjM.mjs → edit-BnJnxvY6.mjs} +1 -1
- package/dist/{edit-CJKi69Ya.mjs → edit-D8J1Znw_.mjs} +1 -1
- package/dist/{edit-RNcc8UYn.mjs → edit-har-8Y54.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D9fa466K.mjs → edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs} +3 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DlfhAjvW.mjs → edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-4mAArGdW.mjs → edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs} +138 -135
- package/dist/{el-message-9Nit-6wb.mjs → el-message-CIdVBT5R.mjs} +1 -1
- package/dist/{index-CpSpS_gR.mjs → index-BAHlhmvh.mjs} +60 -61
- package/dist/{index-tnwVLRVb.mjs → index-BjBTIknS.mjs} +115 -114
- package/dist/{index-w_RSrZed.mjs → index-C6XFHtva.mjs} +72 -76
- package/dist/{index-BkB6hpAN.mjs → index-CF0oM0UA.mjs} +98 -99
- package/dist/{index-2vkMhoSW.mjs → index-Cp3csR1g.mjs} +2 -2
- package/dist/{index-Ckl3mXfI.mjs → index-DBIF93AC.mjs} +175 -157
- package/dist/{index-BqZwYXr_.mjs → index-DKIrRXT5.mjs} +2 -2
- package/dist/{index-DmttwKtY.mjs → index-DnFWLmFk.mjs} +58 -59
- package/dist/{index-CitJdS-N.mjs → index-DugZK_BS.mjs} +56 -60
- package/dist/{index-ay0TMqjH.mjs → index-bMREgnhp.mjs} +2 -2
- package/dist/index.mjs +60 -59
- package/dts/api/itsm-flow-acceptance/index.d.ts +1 -3
- package/dts/api/itsm-flow-acceptance/types.d.ts +1 -6
- package/dts/constant.d.ts +3 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ge, mergeModels as Ie, ref as f, useModel as we, reactive as H, resolveComponent as d, openBlock as h, createElementBlock as k, Fragment as $, createVNode as l, withCtx as n, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as he, createTextVNode as O } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { useRoute as Ee } from "vue-router";
|
|
4
3
|
import { useI18n as Ve } from "vue-i18n";
|
|
5
|
-
import { b as
|
|
6
|
-
import { E as
|
|
7
|
-
const
|
|
4
|
+
import { b as Ee, C as v, c as Ne, d as Fe, D as V, a as J, f as R, p as Ue, e as _e } from "./index-DugZK_BS.mjs";
|
|
5
|
+
import { E as G } from "./el-message-CIdVBT5R.mjs";
|
|
6
|
+
const Oe = /* @__PURE__ */ ge({
|
|
8
7
|
__name: "index",
|
|
9
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ Ie({
|
|
10
9
|
task: {
|
|
11
10
|
type: Object,
|
|
12
11
|
default: () => {
|
|
@@ -17,28 +16,28 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
17
16
|
modelModifiers: {}
|
|
18
17
|
}),
|
|
19
18
|
emits: ["update:modelValue"],
|
|
20
|
-
setup(D, { expose:
|
|
21
|
-
const { t: I } = Ve(), B =
|
|
22
|
-
contractSort:
|
|
23
|
-
contractType:
|
|
24
|
-
});
|
|
25
|
-
y.useValues();
|
|
26
|
-
const _ = new Ue({
|
|
27
|
-
contractSort: f.contractSort.manpower,
|
|
28
|
-
contractType: f.contractType.outsource
|
|
19
|
+
setup(D, { expose: Q }) {
|
|
20
|
+
const { t: I } = Ve(), B = f([]), z = f([]), M = f([]), E = f([]), p = f({}), N = f([]), _ = new Ee({
|
|
21
|
+
contractSort: v.contractSort.manpower,
|
|
22
|
+
contractType: v.contractType.outsource
|
|
29
23
|
});
|
|
30
24
|
_.useValues();
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
const y = new Ne({
|
|
26
|
+
contractSort: v.contractSort.manpower,
|
|
27
|
+
contractType: v.contractType.outsource
|
|
28
|
+
});
|
|
29
|
+
y.useValues();
|
|
30
|
+
const F = new Fe({});
|
|
31
|
+
F.useValues(), V.parentIdBizDict.useValues(), V.orgIdBizDict.useValues();
|
|
32
|
+
const T = D, A = f({
|
|
34
33
|
curPage: 1,
|
|
35
34
|
pageSize: 10,
|
|
36
|
-
entrustId:
|
|
37
|
-
}), b =
|
|
38
|
-
let
|
|
35
|
+
entrustId: T.task.businessKey
|
|
36
|
+
}), b = we(D, "modelValue"), S = f();
|
|
37
|
+
let s = H({
|
|
39
38
|
requestId: Math.random() * 10 + ""
|
|
40
39
|
});
|
|
41
|
-
const g =
|
|
40
|
+
const g = f([
|
|
42
41
|
{
|
|
43
42
|
contractUserId: "",
|
|
44
43
|
idNo: "",
|
|
@@ -46,7 +45,7 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
46
45
|
duration: []
|
|
47
46
|
}
|
|
48
47
|
]);
|
|
49
|
-
function
|
|
48
|
+
function X() {
|
|
50
49
|
g.value.push({
|
|
51
50
|
contractUserId: "",
|
|
52
51
|
idNo: "",
|
|
@@ -54,11 +53,11 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
54
53
|
duration: []
|
|
55
54
|
});
|
|
56
55
|
}
|
|
57
|
-
function
|
|
56
|
+
function Y(t) {
|
|
58
57
|
const e = g.value.indexOf(t.row);
|
|
59
58
|
e !== 0 && g.value.splice(e, 1);
|
|
60
59
|
}
|
|
61
|
-
const
|
|
60
|
+
const Z = H({
|
|
62
61
|
contractId: [
|
|
63
62
|
{
|
|
64
63
|
required: !0,
|
|
@@ -88,11 +87,11 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
88
87
|
}
|
|
89
88
|
]
|
|
90
89
|
});
|
|
91
|
-
T.task.businessKey &&
|
|
92
|
-
changeModel: () =>
|
|
90
|
+
T.task.businessKey && ee(), Q({
|
|
91
|
+
changeModel: () => ue()
|
|
93
92
|
});
|
|
94
|
-
function
|
|
95
|
-
|
|
93
|
+
function x() {
|
|
94
|
+
_e.findList({ actionId: A.value.entrustId }).then(({ data: t }) => {
|
|
96
95
|
const e = t.results.map((o) => ({
|
|
97
96
|
...o,
|
|
98
97
|
contractUserId: o.userId,
|
|
@@ -101,39 +100,41 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
101
100
|
g.value = e;
|
|
102
101
|
});
|
|
103
102
|
}
|
|
104
|
-
function
|
|
105
|
-
|
|
106
|
-
Object.assign(
|
|
103
|
+
function ee() {
|
|
104
|
+
J.findById({ entrustId: A.value.entrustId }).then(({ data: t }) => {
|
|
105
|
+
Object.assign(s, t), x(), p.value = new R({
|
|
106
|
+
contractId: t.contractId
|
|
107
|
+
}), p.value.useValues(), N.value = typeof t.entrustItsmId == "string" ? t.entrustItsmId.split(",") || [] : [], E.value = typeof t.belongOrgId == "string" ? t.belongOrgId.split(",") || [] : [];
|
|
107
108
|
});
|
|
108
109
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
110
|
+
function L() {
|
|
111
|
+
p.value = { values: [] }, g.value.forEach((t) => {
|
|
111
112
|
t.contractUserId = "", t.idNo = "", t.cost = 0, t.duration = "";
|
|
112
113
|
});
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
-
const e =
|
|
115
|
+
function te(t) {
|
|
116
|
+
const e = _.values.find(
|
|
116
117
|
(o) => o.key === t
|
|
117
118
|
);
|
|
118
|
-
|
|
119
|
+
s.contractNo = (e == null ? void 0 : e.contractNumber) ?? "", s.serviceOrg = (e == null ? void 0 : e.orgId) ?? "", s.contractName = (e == null ? void 0 : e.value) ?? "", L(), p.value = new R({
|
|
119
120
|
contractId: t
|
|
120
|
-
}),
|
|
121
|
+
}), p.value.useValues();
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
-
const e =
|
|
123
|
+
function le(t) {
|
|
124
|
+
const e = y.values.find(
|
|
124
125
|
(o) => o.key === t
|
|
125
126
|
);
|
|
126
|
-
|
|
127
|
+
s.contractId = (e == null ? void 0 : e.contractId) ?? "", s.serviceOrg = (e == null ? void 0 : e.orgId) ?? "", s.contractName = (e == null ? void 0 : e.value) ?? "", L(), p.value = new R({
|
|
127
128
|
contractId: e.contractId
|
|
128
|
-
}),
|
|
129
|
+
}), p.value.useValues();
|
|
129
130
|
}
|
|
130
|
-
function
|
|
131
|
-
const o =
|
|
131
|
+
function ae(t, e) {
|
|
132
|
+
const o = p.value.values.find(
|
|
132
133
|
(m) => m.key === t
|
|
133
134
|
);
|
|
134
135
|
o ? (e.userName = o.value ?? "", e.idNo = o.idNo ?? "", e.cost = Number(o.cost) || 0) : (e.userName = "", e.idNo = "", e.cost = 0);
|
|
135
136
|
}
|
|
136
|
-
function
|
|
137
|
+
function oe(t) {
|
|
137
138
|
const e = t.map((o) => {
|
|
138
139
|
const m = F.values.find(
|
|
139
140
|
(c) => c.key === o
|
|
@@ -142,8 +143,8 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
142
143
|
}).filter((o) => o !== null);
|
|
143
144
|
E.value = Array.from(new Set(e));
|
|
144
145
|
}
|
|
145
|
-
function
|
|
146
|
-
z.value =
|
|
146
|
+
function ne() {
|
|
147
|
+
z.value = N.value.map((t) => {
|
|
147
148
|
const e = F.values.find(
|
|
148
149
|
(o) => o.key === t
|
|
149
150
|
);
|
|
@@ -153,9 +154,9 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
153
154
|
};
|
|
154
155
|
});
|
|
155
156
|
}
|
|
156
|
-
function
|
|
157
|
+
function re() {
|
|
157
158
|
M.value = E.value.map((t) => {
|
|
158
|
-
const e =
|
|
159
|
+
const e = V.parentIdBizDict.values.find(
|
|
159
160
|
(o) => o.value === t
|
|
160
161
|
);
|
|
161
162
|
return {
|
|
@@ -164,32 +165,32 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
164
165
|
};
|
|
165
166
|
});
|
|
166
167
|
}
|
|
167
|
-
function
|
|
168
|
+
function se() {
|
|
168
169
|
B.value = g.value.map((t) => ({
|
|
169
170
|
...t,
|
|
170
171
|
duration: Array.isArray(t.duration) ? t.duration.join(",") : t.duration
|
|
171
172
|
})).filter(
|
|
172
173
|
(t) => !(t.cost === 0 && !t.contractUserId)
|
|
173
|
-
),
|
|
174
|
+
), ne(), re();
|
|
174
175
|
}
|
|
175
|
-
function
|
|
176
|
+
function ue() {
|
|
176
177
|
return b.value && (b.value.selectActions = [
|
|
177
178
|
{ key: "true", value: "同意" },
|
|
178
179
|
{ key: "false", value: "不同意" }
|
|
179
|
-
], b.value.varName = "approved", b.value.module = "", b.value.module =
|
|
180
|
+
], b.value.varName = "approved", b.value.module = "", b.value.module = v.MODULE_ITSMFLOW), new Promise((t, e) => {
|
|
180
181
|
var o;
|
|
181
|
-
(o =
|
|
182
|
+
(o = S.value) == null || o.validate((m) => {
|
|
182
183
|
if (m) {
|
|
183
184
|
if (b.value) {
|
|
184
|
-
if (b.value.comment = "",
|
|
185
|
-
return
|
|
186
|
-
|
|
187
|
-
...
|
|
185
|
+
if (b.value.comment = "", se(), N.value.length === 0)
|
|
186
|
+
return G.warning(I("itsmFlowEntrust.entrustItsmIdRequired")), e(!1);
|
|
187
|
+
s.requestId = Math.random() * 10 + "", J.save({
|
|
188
|
+
...s,
|
|
188
189
|
entrustUser: B.value,
|
|
189
190
|
belongOrg: M.value,
|
|
190
191
|
entrustItsm: z.value
|
|
191
192
|
}).then((c) => {
|
|
192
|
-
c.status === 200 ? t(!0) : (
|
|
193
|
+
c.status === 200 ? t(!0) : (G({
|
|
193
194
|
message: "保存失败,请联系管理员!",
|
|
194
195
|
type: "error"
|
|
195
196
|
}), e(!1));
|
|
@@ -201,20 +202,20 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
201
202
|
});
|
|
202
203
|
}
|
|
203
204
|
return (t, e) => {
|
|
204
|
-
const o = d("el-col"), m = d("jmash-select"), c = d("el-form-item"),
|
|
205
|
-
return h(),
|
|
205
|
+
const o = d("el-col"), m = d("jmash-select"), c = d("el-form-item"), de = d("jmash-dict-select"), j = d("el-option"), P = d("el-select"), ie = d("el-tree-select"), C = d("el-row"), U = d("el-input"), w = d("el-table-column"), ce = d("el-date-picker"), me = d("DeleteFilled"), pe = d("el-icon"), fe = d("el-table"), ve = d("el-button"), be = d("el-form");
|
|
206
|
+
return h(), k($, null, [
|
|
206
207
|
l(o, { span: 24 }, {
|
|
207
208
|
default: n(() => e[9] || (e[9] = [
|
|
208
209
|
u("div", { class: "title" }, "委托服务订单", -1)
|
|
209
210
|
])),
|
|
210
211
|
_: 1
|
|
211
212
|
}),
|
|
212
|
-
l(
|
|
213
|
+
l(be, {
|
|
213
214
|
ref_key: "taskFormRef",
|
|
214
|
-
ref:
|
|
215
|
-
model: s
|
|
215
|
+
ref: S,
|
|
216
|
+
model: r(s),
|
|
216
217
|
"label-width": "150px",
|
|
217
|
-
rules:
|
|
218
|
+
rules: Z,
|
|
218
219
|
class: "custom-table-form custom-form"
|
|
219
220
|
}, {
|
|
220
221
|
default: n(() => [
|
|
@@ -226,14 +227,14 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
226
227
|
}, {
|
|
227
228
|
default: n(() => [
|
|
228
229
|
l(m, {
|
|
229
|
-
modelValue: s
|
|
230
|
-
"onUpdate:modelValue": e[0] || (e[0] = (a) => s
|
|
230
|
+
modelValue: r(s).contractId,
|
|
231
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => r(s).contractId = a),
|
|
231
232
|
placeholder: t.$t("itsmFlowEntrust.contractIdRequired"),
|
|
232
|
-
data:
|
|
233
|
+
data: r(_).values,
|
|
233
234
|
clearable: "",
|
|
234
235
|
filterable: "",
|
|
235
236
|
class: "w-full",
|
|
236
|
-
onChange:
|
|
237
|
+
onChange: te
|
|
237
238
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
238
239
|
]),
|
|
239
240
|
_: 1
|
|
@@ -249,14 +250,14 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
249
250
|
}, {
|
|
250
251
|
default: n(() => [
|
|
251
252
|
l(m, {
|
|
252
|
-
modelValue: s
|
|
253
|
-
"onUpdate:modelValue": e[1] || (e[1] = (a) => s
|
|
253
|
+
modelValue: r(s).contractNo,
|
|
254
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => r(s).contractNo = a),
|
|
254
255
|
placeholder: t.$t("itsmFlowEntrust.contractIdRequireds"),
|
|
255
|
-
data:
|
|
256
|
+
data: r(y).values,
|
|
256
257
|
clearable: "",
|
|
257
258
|
filterable: "",
|
|
258
259
|
class: "w-full",
|
|
259
|
-
onChange:
|
|
260
|
+
onChange: le
|
|
260
261
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
261
262
|
]),
|
|
262
263
|
_: 1
|
|
@@ -271,11 +272,11 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
271
272
|
prop: "entrustName"
|
|
272
273
|
}, {
|
|
273
274
|
default: n(() => [
|
|
274
|
-
l(
|
|
275
|
-
modelValue: s
|
|
276
|
-
"onUpdate:modelValue": e[2] || (e[2] = (a) => s
|
|
275
|
+
l(de, {
|
|
276
|
+
modelValue: r(s).entrustName,
|
|
277
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => r(s).entrustName = a),
|
|
277
278
|
placeholder: t.$t("itsmFlowEntrust.entrustNameRequired"),
|
|
278
|
-
"type-code":
|
|
279
|
+
"type-code": r(v).DICT_PROJECT_NAME,
|
|
279
280
|
clearable: "",
|
|
280
281
|
filterable: "",
|
|
281
282
|
class: "w-full"
|
|
@@ -294,21 +295,21 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
294
295
|
}, {
|
|
295
296
|
default: n(() => [
|
|
296
297
|
l(P, {
|
|
297
|
-
modelValue:
|
|
298
|
-
"onUpdate:modelValue": e[3] || (e[3] = (a) =>
|
|
298
|
+
modelValue: N.value,
|
|
299
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => N.value = a),
|
|
299
300
|
placeholder: t.$t("itsmFlowEntrust.entrustItsmIdRequired"),
|
|
300
301
|
class: "w-full",
|
|
301
302
|
filterable: "",
|
|
302
303
|
clearable: "",
|
|
303
304
|
multiple: "",
|
|
304
|
-
onChange:
|
|
305
|
+
onChange: oe
|
|
305
306
|
}, {
|
|
306
307
|
default: n(() => [
|
|
307
|
-
(h(!0),
|
|
308
|
+
(h(!0), k($, null, K(r(F).values, (a) => (h(), q(j, {
|
|
308
309
|
key: a.key,
|
|
309
310
|
label: a.value,
|
|
310
311
|
value: a.key,
|
|
311
|
-
disabled: ("status" in a && a.status) !==
|
|
312
|
+
disabled: ("status" in a && a.status) !== r(v).status.regular
|
|
312
313
|
}, null, 8, ["label", "value", "disabled"]))), 128))
|
|
313
314
|
]),
|
|
314
315
|
_: 1
|
|
@@ -326,10 +327,10 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
326
327
|
prop: "belongOrg"
|
|
327
328
|
}, {
|
|
328
329
|
default: n(() => [
|
|
329
|
-
l(
|
|
330
|
+
l(ie, {
|
|
330
331
|
modelValue: E.value,
|
|
331
332
|
"onUpdate:modelValue": e[4] || (e[4] = (a) => E.value = a),
|
|
332
|
-
data:
|
|
333
|
+
data: r(V).parentIdBizDict.values,
|
|
333
334
|
filterable: "",
|
|
334
335
|
clearable: "",
|
|
335
336
|
"check-strictly": "",
|
|
@@ -345,7 +346,7 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
345
346
|
]),
|
|
346
347
|
_: 1
|
|
347
348
|
}),
|
|
348
|
-
l(
|
|
349
|
+
l(C, null, {
|
|
349
350
|
default: n(() => [
|
|
350
351
|
l(o, { span: 12 }, {
|
|
351
352
|
default: n(() => [
|
|
@@ -355,10 +356,10 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
355
356
|
}, {
|
|
356
357
|
default: n(() => [
|
|
357
358
|
l(m, {
|
|
358
|
-
modelValue: s
|
|
359
|
-
"onUpdate:modelValue": e[5] || (e[5] = (a) => s
|
|
359
|
+
modelValue: r(s).serviceContent,
|
|
360
|
+
"onUpdate:modelValue": e[5] || (e[5] = (a) => r(s).serviceContent = a),
|
|
360
361
|
placeholder: t.$t("itsmFlowEntrust.serviceContentRequired"),
|
|
361
|
-
data:
|
|
362
|
+
data: r(V).serviceContentEnum.values,
|
|
362
363
|
clearable: "",
|
|
363
364
|
filterable: "",
|
|
364
365
|
class: "w-full"
|
|
@@ -377,10 +378,10 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
377
378
|
}, {
|
|
378
379
|
default: n(() => [
|
|
379
380
|
l(m, {
|
|
380
|
-
modelValue: s
|
|
381
|
-
"onUpdate:modelValue": e[6] || (e[6] = (a) => s
|
|
381
|
+
modelValue: r(s).serviceOrg,
|
|
382
|
+
"onUpdate:modelValue": e[6] || (e[6] = (a) => r(s).serviceOrg = a),
|
|
382
383
|
placeholder: t.$t("itsmFlowEntrust.contractIdRequireds"),
|
|
383
|
-
data:
|
|
384
|
+
data: r(V).orgIdBizDict.values,
|
|
384
385
|
disabled: "",
|
|
385
386
|
class: "w-full"
|
|
386
387
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -401,8 +402,8 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
401
402
|
}, {
|
|
402
403
|
default: n(() => [
|
|
403
404
|
l(U, {
|
|
404
|
-
modelValue: s
|
|
405
|
-
"onUpdate:modelValue": e[7] || (e[7] = (a) => s
|
|
405
|
+
modelValue: r(s).orderNo,
|
|
406
|
+
"onUpdate:modelValue": e[7] || (e[7] = (a) => r(s).orderNo = a),
|
|
406
407
|
placeholder: t.$t("itsmFlowEntrust.orderNoRequired"),
|
|
407
408
|
disabled: ""
|
|
408
409
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -420,8 +421,8 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
420
421
|
}, {
|
|
421
422
|
default: n(() => [
|
|
422
423
|
l(U, {
|
|
423
|
-
modelValue: s
|
|
424
|
-
"onUpdate:modelValue": e[8] || (e[8] = (a) => s
|
|
424
|
+
modelValue: r(s).workContent,
|
|
425
|
+
"onUpdate:modelValue": e[8] || (e[8] = (a) => r(s).workContent = a),
|
|
425
426
|
placeholder: t.$t("itsmFlowEntrust.workContentRequired"),
|
|
426
427
|
maxlength: "500",
|
|
427
428
|
rows: 4,
|
|
@@ -435,9 +436,9 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
435
436
|
]),
|
|
436
437
|
_: 1
|
|
437
438
|
}),
|
|
438
|
-
l(
|
|
439
|
+
l(C, null, {
|
|
439
440
|
default: n(() => [
|
|
440
|
-
l(
|
|
441
|
+
l(fe, {
|
|
441
442
|
data: g.value,
|
|
442
443
|
border: "",
|
|
443
444
|
style: { width: "100%" }
|
|
@@ -463,10 +464,10 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
463
464
|
class: "w-full",
|
|
464
465
|
filterable: "",
|
|
465
466
|
clearable: "",
|
|
466
|
-
onChange: (i) =>
|
|
467
|
+
onChange: (i) => ae(i, a)
|
|
467
468
|
}, {
|
|
468
469
|
default: n(() => [
|
|
469
|
-
(h(!0),
|
|
470
|
+
(h(!0), k($, null, K(p.value.values, (i) => (h(), q(j, {
|
|
470
471
|
key: i.key,
|
|
471
472
|
label: i.value,
|
|
472
473
|
value: i.key
|
|
@@ -518,14 +519,14 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
518
519
|
u("span", null, W(t.$t("itsmFlowEntrustUser.duration")), 1)
|
|
519
520
|
]),
|
|
520
521
|
default: n(({ row: a }) => [
|
|
521
|
-
l(
|
|
522
|
+
l(ce, {
|
|
522
523
|
modelValue: a.duration,
|
|
523
524
|
"onUpdate:modelValue": (i) => a.duration = i,
|
|
524
525
|
type: "monthrange",
|
|
525
526
|
"start-placeholder": t.$t("itsmFlowEntrustUser.startTime"),
|
|
526
527
|
"end-placeholder": t.$t("itsmFlowEntrustUser.endTime"),
|
|
527
|
-
format:
|
|
528
|
-
"value-format":
|
|
528
|
+
format: r(v).FORMAT_MONTH,
|
|
529
|
+
"value-format": r(v).FORMAT_MONTH,
|
|
529
530
|
class: "w-full"
|
|
530
531
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "format", "value-format"])
|
|
531
532
|
]),
|
|
@@ -537,38 +538,38 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
537
538
|
align: "center"
|
|
538
539
|
}, {
|
|
539
540
|
default: n((a) => [
|
|
540
|
-
a.$index !== 0 ? (h(), q(
|
|
541
|
+
a.$index !== 0 ? (h(), q(pe, {
|
|
541
542
|
key: 0,
|
|
542
|
-
onClick: (i) =>
|
|
543
|
+
onClick: (i) => Y(a),
|
|
543
544
|
size: "18",
|
|
544
545
|
style: { cursor: "pointer", color: "inherit" },
|
|
545
546
|
class: "hover-blue"
|
|
546
547
|
}, {
|
|
547
548
|
default: n(() => [
|
|
548
|
-
l(
|
|
549
|
+
l(me)
|
|
549
550
|
]),
|
|
550
551
|
_: 2
|
|
551
|
-
}, 1032, ["onClick"])) :
|
|
552
|
+
}, 1032, ["onClick"])) : he("", !0)
|
|
552
553
|
]),
|
|
553
554
|
_: 1
|
|
554
555
|
}, 8, ["label"])
|
|
555
556
|
]),
|
|
556
557
|
_: 1
|
|
557
558
|
}, 8, ["data"]),
|
|
558
|
-
l(
|
|
559
|
-
icon:
|
|
559
|
+
l(ve, {
|
|
560
|
+
icon: r(Ue),
|
|
560
561
|
class: "addButton",
|
|
561
|
-
onClick:
|
|
562
|
+
onClick: X
|
|
562
563
|
}, {
|
|
563
564
|
default: n(() => [
|
|
564
|
-
|
|
565
|
+
O(W(r(I)("common.add")), 1)
|
|
565
566
|
]),
|
|
566
567
|
_: 1
|
|
567
568
|
}, 8, ["icon"])
|
|
568
569
|
]),
|
|
569
570
|
_: 1
|
|
570
571
|
}),
|
|
571
|
-
l(
|
|
572
|
+
l(C, { class: "bordered-row" }, {
|
|
572
573
|
default: n(() => [
|
|
573
574
|
l(o, { span: 12 }, {
|
|
574
575
|
default: n(() => e[11] || (e[11] = [
|
|
@@ -579,7 +580,7 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
579
580
|
u("div", null, "或授权代理人(签字):")
|
|
580
581
|
]),
|
|
581
582
|
u("div", { class: "content-box-bottom" }, [
|
|
582
|
-
|
|
583
|
+
O(" 日期: "),
|
|
583
584
|
u("span", null, "年"),
|
|
584
585
|
u("span", null, "月"),
|
|
585
586
|
u("span", null, "日")
|
|
@@ -600,7 +601,7 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
600
601
|
u("div", null, "或授权代理人(签字):")
|
|
601
602
|
]),
|
|
602
603
|
u("div", { class: "content-box-bottom" }, [
|
|
603
|
-
|
|
604
|
+
O(" 日期: "),
|
|
604
605
|
u("span", null, "年"),
|
|
605
606
|
u("span", null, "月"),
|
|
606
607
|
u("span", null, "日")
|
|
@@ -620,5 +621,5 @@ const Be = /* @__PURE__ */ Ie({
|
|
|
620
621
|
}
|
|
621
622
|
});
|
|
622
623
|
export {
|
|
623
|
-
|
|
624
|
+
Oe as default
|
|
624
625
|
};
|