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