xyvcard-itsm-flow 0.0.9 → 0.0.11
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/README.md +51 -51
- package/dist/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
- package/dist/{edit-BatVtQjM.mjs → edit-B6eDlOpi.mjs} +1 -1
- package/dist/{edit-CJKi69Ya.mjs → edit-Cfo0JZSs.mjs} +1 -1
- package/dist/{edit-RNcc8UYn.mjs → edit-RoD8ie-7.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D9fa466K.mjs → edit.vue_vue_type_script_setup_true_lang-IEXBlCBV.mjs} +28 -26
- package/dist/{edit.vue_vue_type_script_setup_true_lang-4mAArGdW.mjs → edit.vue_vue_type_script_setup_true_lang-e_oZRaYA.mjs} +164 -157
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DlfhAjvW.mjs → edit.vue_vue_type_script_setup_true_lang-iiu5w8LK.mjs} +222 -214
- package/dist/{el-message-9Nit-6wb.mjs → el-message-So7u3ZRi.mjs} +357 -366
- package/dist/{index-CitJdS-N.mjs → index-C7wI2ALv.mjs} +65 -69
- package/dist/{index-Ckl3mXfI.mjs → index-C96hiFIm.mjs} +178 -157
- package/dist/{index-2vkMhoSW.mjs → index-CC7B9YOg.mjs} +12 -12
- package/dist/index-CMbZtOBo.mjs +633 -0
- package/dist/{index-CpSpS_gR.mjs → index-CNIFtVcB.mjs} +135 -133
- package/dist/{index-ay0TMqjH.mjs → index-CzSzBtpb.mjs} +15 -15
- package/dist/{index-BkB6hpAN.mjs → index-D5ZcRr4h.mjs} +109 -106
- package/dist/{index-DmttwKtY.mjs → index-DWuCzfFj.mjs} +69 -67
- package/dist/{index-w_RSrZed.mjs → index-m-ohs_8-.mjs} +87 -88
- package/dist/{index-BqZwYXr_.mjs → index-nSm5Jecq.mjs} +12 -12
- package/dist/index.mjs +60 -59
- package/dist/style.css +1 -1
- package/dts/api/itsm-flow-acceptance/index.d.ts +1 -3
- package/dts/api/itsm-flow-acceptance/types.d.ts +1 -6
- package/dts/api/itsm-flow-entrust/types.d.ts +3 -1
- package/dts/api/itsm-flow-entrust-user/types.d.ts +3 -1
- package/dts/api/itsm-flow-reckoning/types.d.ts +1 -1
- package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowEntrust/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowEntrustEdit/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +2 -2
- package/dts/constant.d.ts +3 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +1 -0
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-acceptance/index.vue.d.ts +1 -1
- package/dts/views/itsm-flow-entrust/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-entrust/index.vue.d.ts +1 -1
- package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-reckoning/index.vue.d.ts +1 -1
- package/package.json +63 -63
- package/dist/index-tnwVLRVb.mjs +0 -624
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
import { defineComponent as ge, mergeModels as Ie, ref as f, useModel as he, reactive as H, resolveComponent as d, createElementBlock as k, openBlock as w, Fragment as $, createVNode as l, withCtx as o, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as we, createTextVNode as O } from "vue";
|
|
2
|
+
import "element-plus";
|
|
3
|
+
import { useI18n as Ee } from "vue-i18n";
|
|
4
|
+
import { b as Ve, C as v, c as _e, d as Ne, D as E, a as J, f as R, p as Fe, e as Ue } from "./index-C7wI2ALv.mjs";
|
|
5
|
+
import { E as G } from "./el-message-So7u3ZRi.mjs";
|
|
6
|
+
const Oe = /* @__PURE__ */ ge({
|
|
7
|
+
__name: "index",
|
|
8
|
+
props: /* @__PURE__ */ Ie({
|
|
9
|
+
task: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: () => {
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}, {
|
|
15
|
+
modelValue: {},
|
|
16
|
+
modelModifiers: {}
|
|
17
|
+
}),
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(D, { expose: Q }) {
|
|
20
|
+
const { t: I } = Ee(), B = f([]), z = f([]), M = f([]), V = f([]), p = f({}), _ = f([]), U = new Ve({
|
|
21
|
+
contractSort: v.contractSort.manpower,
|
|
22
|
+
contractType: v.contractType.outsource
|
|
23
|
+
});
|
|
24
|
+
U.useValues();
|
|
25
|
+
const y = new _e({
|
|
26
|
+
contractSort: v.contractSort.manpower,
|
|
27
|
+
contractType: v.contractType.outsource
|
|
28
|
+
});
|
|
29
|
+
y.useValues();
|
|
30
|
+
const N = new Ne({});
|
|
31
|
+
N.useValues(), E.parentIdBizDict.useValues(), E.orgIdBizDict.useValues();
|
|
32
|
+
const S = D, T = f({
|
|
33
|
+
curPage: 1,
|
|
34
|
+
pageSize: 10,
|
|
35
|
+
entrustId: S.task.businessKey
|
|
36
|
+
}), b = he(D, "modelValue"), A = f();
|
|
37
|
+
let s = H({
|
|
38
|
+
requestId: Math.random() * 10 + ""
|
|
39
|
+
});
|
|
40
|
+
const g = f([
|
|
41
|
+
{
|
|
42
|
+
contractUserId: "",
|
|
43
|
+
idNo: "",
|
|
44
|
+
cost: 0,
|
|
45
|
+
duration: []
|
|
46
|
+
}
|
|
47
|
+
]);
|
|
48
|
+
function X() {
|
|
49
|
+
g.value.push({
|
|
50
|
+
contractUserId: "",
|
|
51
|
+
idNo: "",
|
|
52
|
+
cost: 0,
|
|
53
|
+
duration: []
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function Y(e) {
|
|
57
|
+
const t = g.value.indexOf(e.row);
|
|
58
|
+
t !== 0 && g.value.splice(t, 1);
|
|
59
|
+
}
|
|
60
|
+
const Z = H({
|
|
61
|
+
contractId: [
|
|
62
|
+
{
|
|
63
|
+
required: !0,
|
|
64
|
+
message: I("itsmFlowEntrust.contractIdRequired"),
|
|
65
|
+
trigger: "change"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
contractNo: [
|
|
69
|
+
{
|
|
70
|
+
required: !0,
|
|
71
|
+
message: I("itsmFlowEntrust.contractNoRequired"),
|
|
72
|
+
trigger: "change"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
entrustName: [
|
|
76
|
+
{
|
|
77
|
+
required: !0,
|
|
78
|
+
message: I("itsmFlowEntrust.entrustNameRequired"),
|
|
79
|
+
trigger: "change"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
serviceContent: [
|
|
83
|
+
{
|
|
84
|
+
required: !0,
|
|
85
|
+
message: I("itsmFlowEntrust.serviceContentRequired"),
|
|
86
|
+
trigger: "blur"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
});
|
|
90
|
+
S.task.businessKey && ee(), Q({
|
|
91
|
+
changeModel: () => ue()
|
|
92
|
+
});
|
|
93
|
+
function x() {
|
|
94
|
+
Ue.findList({ actionId: T.value.entrustId }).then(({ data: e }) => {
|
|
95
|
+
const t = e.results.map((a) => ({
|
|
96
|
+
...a,
|
|
97
|
+
contractUserId: a.userId,
|
|
98
|
+
duration: [a.durationStart, a.durationEnd]
|
|
99
|
+
}));
|
|
100
|
+
g.value = t;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function ee() {
|
|
104
|
+
J.findById({ entrustId: T.value.entrustId }).then(({ data: e }) => {
|
|
105
|
+
Object.assign(s, e), x(), p.value = new R({
|
|
106
|
+
contractId: e.contractId
|
|
107
|
+
}), p.value.useValues(), _.value = typeof e.entrustItsmId == "string" ? e.entrustItsmId.split(",") || [] : [], V.value = typeof e.belongOrgId == "string" ? e.belongOrgId.split(",") || [] : [];
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function L() {
|
|
111
|
+
p.value = { values: [] }, g.value.forEach((e) => {
|
|
112
|
+
e.contractUserId = "", e.idNo = "", e.cost = 0, e.duration = [];
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function te(e) {
|
|
116
|
+
const t = U.values.find(
|
|
117
|
+
(a) => a.key === e
|
|
118
|
+
);
|
|
119
|
+
s.contractNo = (t == null ? void 0 : t.contractNumber) ?? "", s.serviceOrg = (t == null ? void 0 : t.orgId) ?? "", s.contractName = (t == null ? void 0 : t.value) ?? "", L(), p.value = new R({
|
|
120
|
+
contractId: e
|
|
121
|
+
}), p.value.useValues();
|
|
122
|
+
}
|
|
123
|
+
function le(e) {
|
|
124
|
+
const t = y.values.find(
|
|
125
|
+
(a) => a.key === e
|
|
126
|
+
);
|
|
127
|
+
s.contractId = (t == null ? void 0 : t.contractId) ?? "", s.serviceOrg = (t == null ? void 0 : t.orgId) ?? "", s.contractName = (t == null ? void 0 : t.value) ?? "", L(), p.value = new R({
|
|
128
|
+
contractId: t.contractId
|
|
129
|
+
}), p.value.useValues();
|
|
130
|
+
}
|
|
131
|
+
function ae(e, t) {
|
|
132
|
+
const a = p.value.values.find(
|
|
133
|
+
(m) => m.key === e
|
|
134
|
+
);
|
|
135
|
+
a ? (t.userName = a.value ?? "", t.idNo = a.idNo ?? "", t.cost = Number(a.cost) || 0) : (t.userName = "", t.idNo = "", t.cost = 0);
|
|
136
|
+
}
|
|
137
|
+
function ne(e) {
|
|
138
|
+
const t = e.map((a) => {
|
|
139
|
+
const m = N.values.find(
|
|
140
|
+
(c) => c.key === a
|
|
141
|
+
);
|
|
142
|
+
return m ? m.orgId : null;
|
|
143
|
+
}).filter((a) => a !== null);
|
|
144
|
+
V.value = Array.from(new Set(t));
|
|
145
|
+
}
|
|
146
|
+
function oe() {
|
|
147
|
+
z.value = _.value.map((e) => {
|
|
148
|
+
const t = N.values.find(
|
|
149
|
+
(a) => a.key === e
|
|
150
|
+
);
|
|
151
|
+
return {
|
|
152
|
+
itsmId: e,
|
|
153
|
+
itsmName: (t == null ? void 0 : t.value) ?? ""
|
|
154
|
+
};
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
function re() {
|
|
158
|
+
M.value = V.value.map((e) => {
|
|
159
|
+
const t = E.parentIdBizDict.values.find(
|
|
160
|
+
(a) => a.value === e
|
|
161
|
+
);
|
|
162
|
+
return {
|
|
163
|
+
orgId: e,
|
|
164
|
+
orgName: (t == null ? void 0 : t.label) ?? ""
|
|
165
|
+
};
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
function se() {
|
|
169
|
+
B.value = g.value.map((e) => {
|
|
170
|
+
console.log(e);
|
|
171
|
+
const { duration: t, ...a } = e;
|
|
172
|
+
return {
|
|
173
|
+
...a,
|
|
174
|
+
durationStart: Array.isArray(e.duration) ? String(e.duration[0]) : String(e.duration),
|
|
175
|
+
durationEnd: Array.isArray(e.duration) ? String(e.duration[1]) : String(e.duration)
|
|
176
|
+
};
|
|
177
|
+
}).filter(
|
|
178
|
+
(e) => !(e.cost === 0 && !e.contractUserId)
|
|
179
|
+
), oe(), re();
|
|
180
|
+
}
|
|
181
|
+
function ue() {
|
|
182
|
+
return b.value && (b.value.selectActions = [
|
|
183
|
+
{ key: "true", value: "同意" },
|
|
184
|
+
{ key: "false", value: "不同意" }
|
|
185
|
+
], b.value.varName = "approved", b.value.module = "", b.value.module = v.MODULE_ITSMFLOW), new Promise((e, t) => {
|
|
186
|
+
var a;
|
|
187
|
+
(a = A.value) == null || a.validate((m) => {
|
|
188
|
+
if (m) {
|
|
189
|
+
if (b.value) {
|
|
190
|
+
if (b.value.comment = "", se(), _.value.length === 0)
|
|
191
|
+
return G.warning(I("itsmFlowEntrust.entrustItsmIdRequired")), t(!1);
|
|
192
|
+
s.requestId = Math.random() * 10 + "", J.save({
|
|
193
|
+
...s,
|
|
194
|
+
entrustUser: B.value,
|
|
195
|
+
belongOrg: M.value,
|
|
196
|
+
entrustItsm: z.value
|
|
197
|
+
}).then((c) => {
|
|
198
|
+
c.status === 200 ? e(!0) : (G({
|
|
199
|
+
message: "保存失败,请联系管理员!",
|
|
200
|
+
type: "error"
|
|
201
|
+
}), t(!1));
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
} else
|
|
205
|
+
t(!1);
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
return (e, t) => {
|
|
210
|
+
const a = 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"), F = d("el-input"), h = 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");
|
|
211
|
+
return w(), k($, null, [
|
|
212
|
+
l(a, { span: 24 }, {
|
|
213
|
+
default: o(() => t[9] || (t[9] = [
|
|
214
|
+
u("div", { class: "title" }, "委托服务订单", -1)
|
|
215
|
+
])),
|
|
216
|
+
_: 1,
|
|
217
|
+
__: [9]
|
|
218
|
+
}),
|
|
219
|
+
l(be, {
|
|
220
|
+
ref_key: "taskFormRef",
|
|
221
|
+
ref: A,
|
|
222
|
+
model: r(s),
|
|
223
|
+
"label-width": "150px",
|
|
224
|
+
rules: Z,
|
|
225
|
+
class: "custom-table-form custom-form"
|
|
226
|
+
}, {
|
|
227
|
+
default: o(() => [
|
|
228
|
+
l(a, { span: 24 }, {
|
|
229
|
+
default: o(() => [
|
|
230
|
+
l(c, {
|
|
231
|
+
label: e.$t("itsmFlowEntrust.contractId"),
|
|
232
|
+
prop: "contractId"
|
|
233
|
+
}, {
|
|
234
|
+
default: o(() => [
|
|
235
|
+
l(m, {
|
|
236
|
+
modelValue: r(s).contractId,
|
|
237
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => r(s).contractId = n),
|
|
238
|
+
placeholder: e.$t("itsmFlowEntrust.contractIdRequired"),
|
|
239
|
+
data: r(U).values,
|
|
240
|
+
clearable: "",
|
|
241
|
+
filterable: "",
|
|
242
|
+
class: "w-full",
|
|
243
|
+
onChange: te
|
|
244
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["label"])
|
|
248
|
+
]),
|
|
249
|
+
_: 1
|
|
250
|
+
}),
|
|
251
|
+
l(a, { span: 24 }, {
|
|
252
|
+
default: o(() => [
|
|
253
|
+
l(c, {
|
|
254
|
+
label: e.$t("itsmFlowEntrust.contractNo"),
|
|
255
|
+
prop: "contractNo"
|
|
256
|
+
}, {
|
|
257
|
+
default: o(() => [
|
|
258
|
+
l(m, {
|
|
259
|
+
modelValue: r(s).contractNo,
|
|
260
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => r(s).contractNo = n),
|
|
261
|
+
placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
|
|
262
|
+
data: r(y).values,
|
|
263
|
+
clearable: "",
|
|
264
|
+
filterable: "",
|
|
265
|
+
class: "w-full",
|
|
266
|
+
onChange: le
|
|
267
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
268
|
+
]),
|
|
269
|
+
_: 1
|
|
270
|
+
}, 8, ["label"])
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
}),
|
|
274
|
+
l(a, { span: 24 }, {
|
|
275
|
+
default: o(() => [
|
|
276
|
+
l(c, {
|
|
277
|
+
label: e.$t("itsmFlowEntrust.entrustName"),
|
|
278
|
+
prop: "entrustName"
|
|
279
|
+
}, {
|
|
280
|
+
default: o(() => [
|
|
281
|
+
l(de, {
|
|
282
|
+
modelValue: r(s).entrustName,
|
|
283
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => r(s).entrustName = n),
|
|
284
|
+
placeholder: e.$t("itsmFlowEntrust.entrustNameRequired"),
|
|
285
|
+
"type-code": r(v).DICT_PROJECT_NAME,
|
|
286
|
+
clearable: "",
|
|
287
|
+
filterable: "",
|
|
288
|
+
class: "w-full"
|
|
289
|
+
}, null, 8, ["modelValue", "placeholder", "type-code"])
|
|
290
|
+
]),
|
|
291
|
+
_: 1
|
|
292
|
+
}, 8, ["label"])
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
}),
|
|
296
|
+
l(a, { span: 24 }, {
|
|
297
|
+
default: o(() => [
|
|
298
|
+
l(c, {
|
|
299
|
+
label: e.$t("itsmFlowEntrust.entrustItsmId"),
|
|
300
|
+
prop: "entrustItsmId"
|
|
301
|
+
}, {
|
|
302
|
+
default: o(() => [
|
|
303
|
+
l(P, {
|
|
304
|
+
modelValue: _.value,
|
|
305
|
+
"onUpdate:modelValue": t[3] || (t[3] = (n) => _.value = n),
|
|
306
|
+
placeholder: e.$t("itsmFlowEntrust.entrustItsmIdRequired"),
|
|
307
|
+
class: "w-full",
|
|
308
|
+
filterable: "",
|
|
309
|
+
clearable: "",
|
|
310
|
+
multiple: "",
|
|
311
|
+
onChange: ne
|
|
312
|
+
}, {
|
|
313
|
+
default: o(() => [
|
|
314
|
+
(w(!0), k($, null, K(r(N).values, (n) => (w(), q(j, {
|
|
315
|
+
key: n.key,
|
|
316
|
+
label: n.value,
|
|
317
|
+
value: n.key,
|
|
318
|
+
disabled: ("status" in n && n.status) !== r(v).status.regular
|
|
319
|
+
}, null, 8, ["label", "value", "disabled"]))), 128))
|
|
320
|
+
]),
|
|
321
|
+
_: 1
|
|
322
|
+
}, 8, ["modelValue", "placeholder"])
|
|
323
|
+
]),
|
|
324
|
+
_: 1
|
|
325
|
+
}, 8, ["label"])
|
|
326
|
+
]),
|
|
327
|
+
_: 1
|
|
328
|
+
}),
|
|
329
|
+
l(a, { span: 24 }, {
|
|
330
|
+
default: o(() => [
|
|
331
|
+
l(c, {
|
|
332
|
+
label: e.$t("itsmFlowEntrust.belongOrg"),
|
|
333
|
+
prop: "belongOrg"
|
|
334
|
+
}, {
|
|
335
|
+
default: o(() => [
|
|
336
|
+
l(ie, {
|
|
337
|
+
modelValue: V.value,
|
|
338
|
+
"onUpdate:modelValue": t[4] || (t[4] = (n) => V.value = n),
|
|
339
|
+
data: r(E).parentIdBizDict.values,
|
|
340
|
+
filterable: "",
|
|
341
|
+
clearable: "",
|
|
342
|
+
"check-strictly": "",
|
|
343
|
+
"render-after-expand": !1,
|
|
344
|
+
class: "w-full",
|
|
345
|
+
placeholder: e.$t("itsmFlowEntrust.belongOrgRequired"),
|
|
346
|
+
multiple: "",
|
|
347
|
+
disabled: ""
|
|
348
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
349
|
+
]),
|
|
350
|
+
_: 1
|
|
351
|
+
}, 8, ["label"])
|
|
352
|
+
]),
|
|
353
|
+
_: 1
|
|
354
|
+
}),
|
|
355
|
+
l(C, null, {
|
|
356
|
+
default: o(() => [
|
|
357
|
+
l(a, { span: 12 }, {
|
|
358
|
+
default: o(() => [
|
|
359
|
+
l(c, {
|
|
360
|
+
label: e.$t("itsmFlowEntrust.serviceContent"),
|
|
361
|
+
prop: "serviceContent"
|
|
362
|
+
}, {
|
|
363
|
+
default: o(() => [
|
|
364
|
+
l(m, {
|
|
365
|
+
modelValue: r(s).serviceContent,
|
|
366
|
+
"onUpdate:modelValue": t[5] || (t[5] = (n) => r(s).serviceContent = n),
|
|
367
|
+
placeholder: e.$t("itsmFlowEntrust.serviceContentRequired"),
|
|
368
|
+
data: r(E).serviceContentEnum.values,
|
|
369
|
+
clearable: "",
|
|
370
|
+
filterable: "",
|
|
371
|
+
class: "w-full"
|
|
372
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
373
|
+
]),
|
|
374
|
+
_: 1
|
|
375
|
+
}, 8, ["label"])
|
|
376
|
+
]),
|
|
377
|
+
_: 1
|
|
378
|
+
}),
|
|
379
|
+
l(a, { span: 12 }, {
|
|
380
|
+
default: o(() => [
|
|
381
|
+
l(c, {
|
|
382
|
+
label: e.$t("itsmFlowEntrust.serviceOrg"),
|
|
383
|
+
prop: "serviceOrg"
|
|
384
|
+
}, {
|
|
385
|
+
default: o(() => [
|
|
386
|
+
l(m, {
|
|
387
|
+
modelValue: r(s).serviceOrg,
|
|
388
|
+
"onUpdate:modelValue": t[6] || (t[6] = (n) => r(s).serviceOrg = n),
|
|
389
|
+
placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
|
|
390
|
+
data: r(E).orgIdBizDict.values,
|
|
391
|
+
disabled: "",
|
|
392
|
+
class: "w-full"
|
|
393
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
394
|
+
]),
|
|
395
|
+
_: 1
|
|
396
|
+
}, 8, ["label"])
|
|
397
|
+
]),
|
|
398
|
+
_: 1
|
|
399
|
+
})
|
|
400
|
+
]),
|
|
401
|
+
_: 1
|
|
402
|
+
}),
|
|
403
|
+
l(a, { span: 24 }, {
|
|
404
|
+
default: o(() => [
|
|
405
|
+
l(c, {
|
|
406
|
+
label: e.$t("itsmFlowEntrust.orderNo"),
|
|
407
|
+
prop: "orderNo"
|
|
408
|
+
}, {
|
|
409
|
+
default: o(() => [
|
|
410
|
+
l(F, {
|
|
411
|
+
modelValue: r(s).orderNo,
|
|
412
|
+
"onUpdate:modelValue": t[7] || (t[7] = (n) => r(s).orderNo = n),
|
|
413
|
+
placeholder: e.$t("itsmFlowEntrust.orderNoRequired"),
|
|
414
|
+
disabled: ""
|
|
415
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
416
|
+
]),
|
|
417
|
+
_: 1
|
|
418
|
+
}, 8, ["label"])
|
|
419
|
+
]),
|
|
420
|
+
_: 1
|
|
421
|
+
}),
|
|
422
|
+
l(a, { span: 24 }, {
|
|
423
|
+
default: o(() => [
|
|
424
|
+
l(c, {
|
|
425
|
+
label: e.$t("itsmFlowEntrust.workContent"),
|
|
426
|
+
prop: "workContent"
|
|
427
|
+
}, {
|
|
428
|
+
default: o(() => [
|
|
429
|
+
l(F, {
|
|
430
|
+
modelValue: r(s).workContent,
|
|
431
|
+
"onUpdate:modelValue": t[8] || (t[8] = (n) => r(s).workContent = n),
|
|
432
|
+
placeholder: e.$t("itsmFlowEntrust.workContentRequired"),
|
|
433
|
+
maxlength: "500",
|
|
434
|
+
rows: 4,
|
|
435
|
+
type: "textarea",
|
|
436
|
+
"show-word-limit": "",
|
|
437
|
+
clearable: ""
|
|
438
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
439
|
+
]),
|
|
440
|
+
_: 1
|
|
441
|
+
}, 8, ["label"])
|
|
442
|
+
]),
|
|
443
|
+
_: 1
|
|
444
|
+
}),
|
|
445
|
+
l(C, null, {
|
|
446
|
+
default: o(() => [
|
|
447
|
+
l(fe, {
|
|
448
|
+
data: g.value,
|
|
449
|
+
border: "",
|
|
450
|
+
style: { width: "100%" }
|
|
451
|
+
}, {
|
|
452
|
+
default: o(() => [
|
|
453
|
+
l(h, {
|
|
454
|
+
type: "index",
|
|
455
|
+
label: e.$t("itsmFlowEntrustUser.index"),
|
|
456
|
+
width: "60",
|
|
457
|
+
align: "center"
|
|
458
|
+
}, null, 8, ["label"]),
|
|
459
|
+
l(h, {
|
|
460
|
+
prop: "contractUserId",
|
|
461
|
+
label: e.$t("itsmFlowEntrustUser.userId"),
|
|
462
|
+
"header-align": "center",
|
|
463
|
+
width: "150"
|
|
464
|
+
}, {
|
|
465
|
+
default: o(({ row: n }) => [
|
|
466
|
+
l(P, {
|
|
467
|
+
modelValue: n.contractUserId,
|
|
468
|
+
"onUpdate:modelValue": (i) => n.contractUserId = i,
|
|
469
|
+
placeholder: e.$t("itsmFlowEntrustUser.userIdRequired"),
|
|
470
|
+
class: "w-full",
|
|
471
|
+
filterable: "",
|
|
472
|
+
clearable: "",
|
|
473
|
+
onChange: (i) => ae(i, n)
|
|
474
|
+
}, {
|
|
475
|
+
default: o(() => [
|
|
476
|
+
(w(!0), k($, null, K(p.value.values, (i) => (w(), q(j, {
|
|
477
|
+
key: i.key,
|
|
478
|
+
label: i.value,
|
|
479
|
+
value: i.key
|
|
480
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
481
|
+
]),
|
|
482
|
+
_: 2
|
|
483
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])
|
|
484
|
+
]),
|
|
485
|
+
_: 1
|
|
486
|
+
}, 8, ["label"]),
|
|
487
|
+
l(h, {
|
|
488
|
+
prop: "idNo",
|
|
489
|
+
label: e.$t("itsmFlowEntrustUser.idNo"),
|
|
490
|
+
"header-align": "center",
|
|
491
|
+
width: "190"
|
|
492
|
+
}, {
|
|
493
|
+
default: o(({ row: n }) => [
|
|
494
|
+
l(F, {
|
|
495
|
+
modelValue: n.idNo,
|
|
496
|
+
"onUpdate:modelValue": (i) => n.idNo = i,
|
|
497
|
+
placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
|
|
498
|
+
disabled: ""
|
|
499
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
500
|
+
]),
|
|
501
|
+
_: 1
|
|
502
|
+
}, 8, ["label"]),
|
|
503
|
+
l(h, {
|
|
504
|
+
prop: "cost",
|
|
505
|
+
label: e.$t("itsmFlowEntrustUser.cost"),
|
|
506
|
+
"header-align": "center",
|
|
507
|
+
width: "160"
|
|
508
|
+
}, {
|
|
509
|
+
default: o(({ row: n }) => [
|
|
510
|
+
l(F, {
|
|
511
|
+
modelValue: n.cost,
|
|
512
|
+
"onUpdate:modelValue": (i) => n.cost = i,
|
|
513
|
+
placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
|
|
514
|
+
disabled: ""
|
|
515
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
516
|
+
]),
|
|
517
|
+
_: 1
|
|
518
|
+
}, 8, ["label"]),
|
|
519
|
+
l(h, {
|
|
520
|
+
prop: "duration",
|
|
521
|
+
"header-align": "center"
|
|
522
|
+
}, {
|
|
523
|
+
header: o(() => [
|
|
524
|
+
t[10] || (t[10] = u("span", { class: "required_red" }, "*", -1)),
|
|
525
|
+
u("span", null, W(e.$t("itsmFlowEntrustUser.duration")), 1)
|
|
526
|
+
]),
|
|
527
|
+
default: o(({ row: n }) => [
|
|
528
|
+
l(ce, {
|
|
529
|
+
modelValue: n.duration,
|
|
530
|
+
"onUpdate:modelValue": (i) => n.duration = i,
|
|
531
|
+
type: "monthrange",
|
|
532
|
+
"start-placeholder": e.$t("itsmFlowEntrustUser.startTime"),
|
|
533
|
+
"end-placeholder": e.$t("itsmFlowEntrustUser.endTime"),
|
|
534
|
+
format: r(v).FORMAT_MONTH,
|
|
535
|
+
"value-format": r(v).FORMAT_MONTH,
|
|
536
|
+
class: "w-full"
|
|
537
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "format", "value-format"])
|
|
538
|
+
]),
|
|
539
|
+
_: 1
|
|
540
|
+
}),
|
|
541
|
+
l(h, {
|
|
542
|
+
label: e.$t("common.operate"),
|
|
543
|
+
width: "60",
|
|
544
|
+
align: "center"
|
|
545
|
+
}, {
|
|
546
|
+
default: o((n) => [
|
|
547
|
+
n.$index !== 0 ? (w(), q(pe, {
|
|
548
|
+
key: 0,
|
|
549
|
+
onClick: (i) => Y(n),
|
|
550
|
+
size: "18",
|
|
551
|
+
style: { cursor: "pointer", color: "inherit" },
|
|
552
|
+
class: "hover-blue"
|
|
553
|
+
}, {
|
|
554
|
+
default: o(() => [
|
|
555
|
+
l(me)
|
|
556
|
+
]),
|
|
557
|
+
_: 2
|
|
558
|
+
}, 1032, ["onClick"])) : we("", !0)
|
|
559
|
+
]),
|
|
560
|
+
_: 1
|
|
561
|
+
}, 8, ["label"])
|
|
562
|
+
]),
|
|
563
|
+
_: 1
|
|
564
|
+
}, 8, ["data"]),
|
|
565
|
+
l(ve, {
|
|
566
|
+
icon: r(Fe),
|
|
567
|
+
class: "addButton",
|
|
568
|
+
onClick: X
|
|
569
|
+
}, {
|
|
570
|
+
default: o(() => [
|
|
571
|
+
O(W(r(I)("common.add")), 1)
|
|
572
|
+
]),
|
|
573
|
+
_: 1
|
|
574
|
+
}, 8, ["icon"])
|
|
575
|
+
]),
|
|
576
|
+
_: 1
|
|
577
|
+
}),
|
|
578
|
+
l(C, { class: "bordered-row" }, {
|
|
579
|
+
default: o(() => [
|
|
580
|
+
l(a, { span: 12 }, {
|
|
581
|
+
default: o(() => t[11] || (t[11] = [
|
|
582
|
+
u("div", { class: "content-box" }, [
|
|
583
|
+
u("div", { class: "content-box-top" }, [
|
|
584
|
+
u("div", null, "甲方单位(盖章)"),
|
|
585
|
+
u("div", null, "负责人(签字):"),
|
|
586
|
+
u("div", null, "或授权代理人(签字):")
|
|
587
|
+
]),
|
|
588
|
+
u("div", { class: "content-box-bottom" }, [
|
|
589
|
+
O(" 日期: "),
|
|
590
|
+
u("span", null, "年"),
|
|
591
|
+
u("span", null, "月"),
|
|
592
|
+
u("span", null, "日")
|
|
593
|
+
])
|
|
594
|
+
], -1)
|
|
595
|
+
])),
|
|
596
|
+
_: 1,
|
|
597
|
+
__: [11]
|
|
598
|
+
}),
|
|
599
|
+
l(a, {
|
|
600
|
+
span: 12,
|
|
601
|
+
class: "with-divider"
|
|
602
|
+
}, {
|
|
603
|
+
default: o(() => t[12] || (t[12] = [
|
|
604
|
+
u("div", { class: "content-box" }, [
|
|
605
|
+
u("div", { class: "content-box-top" }, [
|
|
606
|
+
u("div", null, "服务人员所属单位(盖章)"),
|
|
607
|
+
u("div", null, "法定代表人(签字):"),
|
|
608
|
+
u("div", null, "或授权代理人(签字):")
|
|
609
|
+
]),
|
|
610
|
+
u("div", { class: "content-box-bottom" }, [
|
|
611
|
+
O(" 日期: "),
|
|
612
|
+
u("span", null, "年"),
|
|
613
|
+
u("span", null, "月"),
|
|
614
|
+
u("span", null, "日")
|
|
615
|
+
])
|
|
616
|
+
], -1)
|
|
617
|
+
])),
|
|
618
|
+
_: 1,
|
|
619
|
+
__: [12]
|
|
620
|
+
})
|
|
621
|
+
]),
|
|
622
|
+
_: 1
|
|
623
|
+
})
|
|
624
|
+
]),
|
|
625
|
+
_: 1
|
|
626
|
+
}, 8, ["model", "rules"])
|
|
627
|
+
], 64);
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
export {
|
|
632
|
+
Oe as default
|
|
633
|
+
};
|