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