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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElMessage as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { I as
|
|
5
|
-
import { useUserStore as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as re, mergeModels as L, ref as f, useModel as ue, reactive as M, resolveComponent as i, createBlock as ie, openBlock as R, withCtx as a, createVNode as t, createElementVNode as r, unref as d, createTextVNode as v, toDisplayString as y, createElementBlock as T, Fragment as me, renderList as ce } from "vue";
|
|
2
|
+
import { ElMessage as V } from "element-plus";
|
|
3
|
+
import { useI18n as pe } from "vue-i18n";
|
|
4
|
+
import { I as fe, C as j, U as ve, D as A, i as h, u as be } from "./index-C7wI2ALv.mjs";
|
|
5
|
+
import { useUserStore as we } from "jmash-core";
|
|
6
|
+
const ge = { class: "title" }, Ie = /* @__PURE__ */ re({
|
|
7
7
|
__name: "edit",
|
|
8
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ L({
|
|
9
9
|
entityKey: {
|
|
10
10
|
type: Object,
|
|
11
11
|
default: () => {
|
|
@@ -15,38 +15,45 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
15
15
|
modelValue: { type: Boolean },
|
|
16
16
|
modelModifiers: {}
|
|
17
17
|
}),
|
|
18
|
-
emits: /* @__PURE__ */
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
console.log(
|
|
22
|
-
const
|
|
23
|
-
applyStatus:
|
|
18
|
+
emits: /* @__PURE__ */ L(["refresh"], ["update:modelValue"]),
|
|
19
|
+
setup(D, { emit: H }) {
|
|
20
|
+
const I = f(!1), S = f(), { t: b } = pe(), $ = f(), p = ue(D, "modelValue"), B = H, C = f([]), w = f([]), m = f([]), g = f([]), U = we();
|
|
21
|
+
console.log(U.user);
|
|
22
|
+
const q = new fe({
|
|
23
|
+
applyStatus: j.applyStatus.finished
|
|
24
24
|
});
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
userType:
|
|
25
|
+
q.useValues();
|
|
26
|
+
const k = new ve({
|
|
27
|
+
userType: j.userType.companyManager
|
|
28
28
|
});
|
|
29
|
-
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
k.useValues(), A.orgIdBizDict.useValues();
|
|
30
|
+
function J() {
|
|
31
|
+
var e;
|
|
32
|
+
const l = (e = U.user.userJobs[0]) == null ? void 0 : e.deptId;
|
|
33
|
+
if (!l) {
|
|
34
|
+
V.warning("当前用户缺少岗位信息,无法查询验收组长");
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
h.findHeadman({
|
|
38
|
+
tenant: U.user.tenant,
|
|
39
|
+
deptId: l,
|
|
40
|
+
jobCode: j.jobCode.groupLeader
|
|
41
|
+
}).then(({ data: o }) => {
|
|
42
|
+
var c;
|
|
43
|
+
((c = o == null ? void 0 : o.results) == null ? void 0 : c.length) > 0 && (s.headmanId = o.results[0].key, s.headmanName = o.results[0].value);
|
|
37
44
|
});
|
|
38
45
|
}
|
|
39
|
-
|
|
40
|
-
let
|
|
46
|
+
J();
|
|
47
|
+
let s = M({
|
|
41
48
|
requestId: Math.random() * 10 + ""
|
|
42
49
|
});
|
|
43
50
|
function G() {
|
|
44
|
-
|
|
51
|
+
I.value = !0, S.value.clearFileList();
|
|
45
52
|
}
|
|
46
53
|
function P(l, e) {
|
|
47
|
-
m == null || m.value.splice(l, 1),
|
|
48
|
-
(
|
|
49
|
-
)
|
|
54
|
+
m == null || m.value.splice(l, 1), g.value = g.value.filter(
|
|
55
|
+
(o) => o.fileId !== e.fileId
|
|
56
|
+
);
|
|
50
57
|
}
|
|
51
58
|
function Q(l) {
|
|
52
59
|
const e = {
|
|
@@ -54,27 +61,27 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
54
61
|
fileId: l.response.fileId,
|
|
55
62
|
fileSort: "itsm"
|
|
56
63
|
};
|
|
57
|
-
m == null || m.value.push(e), m.value = [...new Set(m.value)],
|
|
64
|
+
m == null || m.value.push(e), m.value = [...new Set(m.value)], g.value.push(e);
|
|
58
65
|
}
|
|
59
66
|
const W = M({
|
|
60
67
|
orderNo: [
|
|
61
68
|
{
|
|
62
69
|
required: !0,
|
|
63
|
-
message:
|
|
70
|
+
message: b("itsmFlowAcceptance.orderIdRequired"),
|
|
64
71
|
trigger: "change"
|
|
65
72
|
}
|
|
66
73
|
],
|
|
67
74
|
stage: [
|
|
68
75
|
{
|
|
69
76
|
required: !0,
|
|
70
|
-
message:
|
|
77
|
+
message: b("itsmFlowAcceptance.stageRequired"),
|
|
71
78
|
trigger: "blur"
|
|
72
79
|
}
|
|
73
80
|
]
|
|
74
|
-
}), F =
|
|
81
|
+
}), F = D;
|
|
75
82
|
function X() {
|
|
76
|
-
|
|
77
|
-
m.value = l.results,
|
|
83
|
+
h.findFilesList({ actionId: F.entityKey.acceptanceId }).then(({ data: l }) => {
|
|
84
|
+
m.value = l.results, g.value = (l.results || []).map((e) => ({
|
|
78
85
|
fileName: e.fileName,
|
|
79
86
|
fileId: e.fileId,
|
|
80
87
|
fileSort: "itsm"
|
|
@@ -82,16 +89,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
82
89
|
});
|
|
83
90
|
}
|
|
84
91
|
function Y() {
|
|
85
|
-
|
|
92
|
+
w.value = typeof F.entityKey.membersId == "string" ? F.entityKey.membersId.split(",") || [] : [];
|
|
86
93
|
}
|
|
87
94
|
const Z = Object.keys(F.entityKey);
|
|
88
|
-
|
|
89
|
-
Object.assign(
|
|
95
|
+
f(Z.length >= 1).value && (h.findById(F.entityKey).then(({ data: l }) => {
|
|
96
|
+
Object.assign(s, l);
|
|
90
97
|
}), Y(), X());
|
|
91
|
-
function
|
|
92
|
-
C.value =
|
|
93
|
-
const e =
|
|
94
|
-
(
|
|
98
|
+
function O() {
|
|
99
|
+
C.value = w.value.map((l) => {
|
|
100
|
+
const e = k.values.find(
|
|
101
|
+
(o) => o.key === l
|
|
95
102
|
);
|
|
96
103
|
return {
|
|
97
104
|
memberId: l,
|
|
@@ -103,21 +110,19 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
103
110
|
var l;
|
|
104
111
|
await ((l = $.value) == null ? void 0 : l.validate((e) => {
|
|
105
112
|
if (e) {
|
|
106
|
-
if (
|
|
107
|
-
|
|
113
|
+
if (w.value.length === 0) {
|
|
114
|
+
V.warning(b("itsmFlowAcceptance.membersRequired"));
|
|
108
115
|
return;
|
|
109
116
|
}
|
|
110
|
-
|
|
111
|
-
...
|
|
117
|
+
O(), h.save({
|
|
118
|
+
...s,
|
|
112
119
|
members: C.value,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
n.status === 200 && (I({
|
|
118
|
-
message: v("common.submitSuccess"),
|
|
120
|
+
files: g.value
|
|
121
|
+
}).then((o) => {
|
|
122
|
+
o.status === 200 && (V({
|
|
123
|
+
message: b("common.submitSuccess"),
|
|
119
124
|
type: "success"
|
|
120
|
-
}),
|
|
125
|
+
}), p.value && (p.value = !1), B("refresh", o.status === 200));
|
|
121
126
|
});
|
|
122
127
|
}
|
|
123
128
|
}));
|
|
@@ -125,97 +130,96 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
125
130
|
var l;
|
|
126
131
|
await ((l = $.value) == null ? void 0 : l.validate((e) => {
|
|
127
132
|
if (e) {
|
|
128
|
-
if (
|
|
129
|
-
|
|
133
|
+
if (w.value.length === 0) {
|
|
134
|
+
V.warning(b("itsmFlowAcceptance.membersRequired"));
|
|
130
135
|
return;
|
|
131
136
|
}
|
|
132
|
-
|
|
133
|
-
...
|
|
137
|
+
O(), h.submit({
|
|
138
|
+
...s,
|
|
134
139
|
members: C.value,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
n.status === 200 && (I({
|
|
140
|
-
message: v("common.submitSuccess"),
|
|
140
|
+
files: g.value
|
|
141
|
+
}).then((o) => {
|
|
142
|
+
o.status === 200 && (V({
|
|
143
|
+
message: b("common.submitSuccess"),
|
|
141
144
|
type: "success"
|
|
142
|
-
}),
|
|
145
|
+
}), p.value && (p.value = !1), B("refresh", o.status === 200));
|
|
143
146
|
});
|
|
144
147
|
}
|
|
145
148
|
}));
|
|
146
149
|
};
|
|
147
|
-
function
|
|
148
|
-
|
|
150
|
+
function E() {
|
|
151
|
+
p.value && (p.value = !1);
|
|
149
152
|
}
|
|
150
153
|
function le(l) {
|
|
151
|
-
const e =
|
|
152
|
-
(
|
|
154
|
+
const e = q.values.find(
|
|
155
|
+
(o) => o.key === l
|
|
153
156
|
);
|
|
154
|
-
|
|
157
|
+
s.contractName = (e == null ? void 0 : e.contractName) ?? "", s.contractNo = (e == null ? void 0 : e.contractNo) ?? "", s.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", s.entrustName = (e == null ? void 0 : e.entrustName) ?? "", s.serviceContent = (e == null ? void 0 : e.workContent) ?? "", s.entrustId = (e == null ? void 0 : e.entrustId) ?? "";
|
|
155
158
|
}
|
|
156
159
|
return (l, e) => {
|
|
157
|
-
const
|
|
158
|
-
return
|
|
159
|
-
modelValue:
|
|
160
|
-
"onUpdate:modelValue": e[12] || (e[12] = (
|
|
161
|
-
onClose:
|
|
160
|
+
const o = i("el-col"), c = i("el-input"), u = i("el-form-item"), N = i("jmash-select"), _ = i("el-button"), te = i("CircleClose"), ae = i("el-icon"), oe = i("jmash-enum-radio"), z = i("el-row"), se = i("el-form"), ne = i("jmash-multi-upload"), de = i("el-dialog");
|
|
161
|
+
return R(), ie(de, {
|
|
162
|
+
modelValue: p.value,
|
|
163
|
+
"onUpdate:modelValue": e[12] || (e[12] = (n) => p.value = n),
|
|
164
|
+
onClose: E
|
|
162
165
|
}, {
|
|
163
166
|
footer: a(() => [
|
|
164
|
-
r("div",
|
|
165
|
-
t(
|
|
167
|
+
r("div", ge, [
|
|
168
|
+
t(_, { onClick: E }, {
|
|
166
169
|
default: a(() => [
|
|
167
|
-
|
|
170
|
+
v(y(l.$t("common.cancel")), 1)
|
|
168
171
|
]),
|
|
169
172
|
_: 1
|
|
170
173
|
}),
|
|
171
|
-
t(
|
|
174
|
+
t(_, {
|
|
172
175
|
type: "primary",
|
|
173
176
|
onClick: x
|
|
174
177
|
}, {
|
|
175
178
|
default: a(() => [
|
|
176
|
-
|
|
179
|
+
v(y(l.$t("itsmFlowEntrustUser.save")), 1)
|
|
177
180
|
]),
|
|
178
181
|
_: 1
|
|
179
182
|
}),
|
|
180
|
-
t(
|
|
183
|
+
t(_, {
|
|
181
184
|
type: "primary",
|
|
182
185
|
onClick: ee
|
|
183
186
|
}, {
|
|
184
187
|
default: a(() => [
|
|
185
|
-
|
|
188
|
+
v(y(l.$t("itsmFlowEntrustUser.submit")), 1)
|
|
186
189
|
]),
|
|
187
190
|
_: 1
|
|
188
191
|
})
|
|
189
192
|
])
|
|
190
193
|
]),
|
|
191
194
|
default: a(() => [
|
|
192
|
-
t(
|
|
195
|
+
t(o, { span: 24 }, {
|
|
193
196
|
default: a(() => e[13] || (e[13] = [
|
|
194
197
|
r("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
|
|
195
198
|
])),
|
|
196
|
-
_: 1
|
|
199
|
+
_: 1,
|
|
200
|
+
__: [13]
|
|
197
201
|
}),
|
|
198
|
-
t(
|
|
202
|
+
t(se, {
|
|
199
203
|
ref_key: "itsmFlowAcceptanceFormRef",
|
|
200
204
|
ref: $,
|
|
201
|
-
model: d(
|
|
205
|
+
model: d(s),
|
|
202
206
|
"label-width": "150px",
|
|
203
207
|
rules: W,
|
|
204
208
|
class: "custom-table-form custom-form"
|
|
205
209
|
}, {
|
|
206
210
|
default: a(() => [
|
|
207
|
-
t(
|
|
211
|
+
t(z, null, {
|
|
208
212
|
default: a(() => [
|
|
209
|
-
t(
|
|
213
|
+
t(o, { span: 24 }, {
|
|
210
214
|
default: a(() => [
|
|
211
215
|
t(u, {
|
|
212
216
|
label: l.$t("itsmFlowAcceptance.contractName"),
|
|
213
217
|
prop: "contractName"
|
|
214
218
|
}, {
|
|
215
219
|
default: a(() => [
|
|
216
|
-
t(
|
|
217
|
-
modelValue: d(
|
|
218
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
220
|
+
t(c, {
|
|
221
|
+
modelValue: d(s).contractName,
|
|
222
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => d(s).contractName = n),
|
|
219
223
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
220
224
|
disabled: ""
|
|
221
225
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -225,16 +229,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
225
229
|
]),
|
|
226
230
|
_: 1
|
|
227
231
|
}),
|
|
228
|
-
t(
|
|
232
|
+
t(o, { span: 24 }, {
|
|
229
233
|
default: a(() => [
|
|
230
234
|
t(u, {
|
|
231
235
|
label: l.$t("itsmFlowAcceptance.contractNo"),
|
|
232
236
|
prop: "contractNo"
|
|
233
237
|
}, {
|
|
234
238
|
default: a(() => [
|
|
235
|
-
t(
|
|
236
|
-
modelValue: d(
|
|
237
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
239
|
+
t(c, {
|
|
240
|
+
modelValue: d(s).contractNo,
|
|
241
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => d(s).contractNo = n),
|
|
238
242
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
239
243
|
disabled: ""
|
|
240
244
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -244,18 +248,18 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
244
248
|
]),
|
|
245
249
|
_: 1
|
|
246
250
|
}),
|
|
247
|
-
t(
|
|
251
|
+
t(o, { span: 24 }, {
|
|
248
252
|
default: a(() => [
|
|
249
253
|
t(u, {
|
|
250
254
|
label: l.$t("itsmFlowAcceptance.orderId"),
|
|
251
255
|
prop: "orderNo"
|
|
252
256
|
}, {
|
|
253
257
|
default: a(() => [
|
|
254
|
-
t(
|
|
255
|
-
modelValue: d(
|
|
256
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
258
|
+
t(N, {
|
|
259
|
+
modelValue: d(s).orderNo,
|
|
260
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => d(s).orderNo = n),
|
|
257
261
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequired"),
|
|
258
|
-
data: d(
|
|
262
|
+
data: d(q).values,
|
|
259
263
|
clearable: "",
|
|
260
264
|
filterable: "",
|
|
261
265
|
class: "w-full",
|
|
@@ -267,16 +271,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
267
271
|
]),
|
|
268
272
|
_: 1
|
|
269
273
|
}),
|
|
270
|
-
t(
|
|
274
|
+
t(o, { span: 24 }, {
|
|
271
275
|
default: a(() => [
|
|
272
276
|
t(u, {
|
|
273
277
|
label: l.$t("itsmFlowAcceptance.entrustName"),
|
|
274
278
|
prop: "entrustName"
|
|
275
279
|
}, {
|
|
276
280
|
default: a(() => [
|
|
277
|
-
t(
|
|
278
|
-
modelValue: d(
|
|
279
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
281
|
+
t(N, {
|
|
282
|
+
modelValue: d(s).entrustName,
|
|
283
|
+
"onUpdate:modelValue": e[3] || (e[3] = (n) => d(s).entrustName = n),
|
|
280
284
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
281
285
|
data: d(A).projectNameDict.values,
|
|
282
286
|
disabled: "",
|
|
@@ -288,16 +292,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
288
292
|
]),
|
|
289
293
|
_: 1
|
|
290
294
|
}),
|
|
291
|
-
t(
|
|
295
|
+
t(o, { span: 12 }, {
|
|
292
296
|
default: a(() => [
|
|
293
297
|
t(u, {
|
|
294
298
|
label: l.$t("itsmFlowAcceptance.serviceOrg"),
|
|
295
299
|
prop: "serviceOrg"
|
|
296
300
|
}, {
|
|
297
301
|
default: a(() => [
|
|
298
|
-
t(
|
|
299
|
-
modelValue: d(
|
|
300
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
302
|
+
t(N, {
|
|
303
|
+
modelValue: d(s).serviceOrg,
|
|
304
|
+
"onUpdate:modelValue": e[4] || (e[4] = (n) => d(s).serviceOrg = n),
|
|
301
305
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
302
306
|
data: d(A).orgIdBizDict.values,
|
|
303
307
|
disabled: "",
|
|
@@ -309,16 +313,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
309
313
|
]),
|
|
310
314
|
_: 1
|
|
311
315
|
}),
|
|
312
|
-
t(
|
|
316
|
+
t(o, { span: 12 }, {
|
|
313
317
|
default: a(() => [
|
|
314
318
|
t(u, {
|
|
315
319
|
label: l.$t("itsmFlowAcceptance.stage"),
|
|
316
320
|
prop: "stage"
|
|
317
321
|
}, {
|
|
318
322
|
default: a(() => [
|
|
319
|
-
t(
|
|
320
|
-
modelValue: d(
|
|
321
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
323
|
+
t(c, {
|
|
324
|
+
modelValue: d(s).stage,
|
|
325
|
+
"onUpdate:modelValue": e[5] || (e[5] = (n) => d(s).stage = n),
|
|
322
326
|
placeholder: l.$t("itsmFlowAcceptance.stageRequired"),
|
|
323
327
|
maxlength: "15",
|
|
324
328
|
"show-word-limit": "",
|
|
@@ -330,7 +334,7 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
330
334
|
]),
|
|
331
335
|
_: 1
|
|
332
336
|
}),
|
|
333
|
-
t(
|
|
337
|
+
t(o, { span: 12 }, {
|
|
334
338
|
default: a(() => [
|
|
335
339
|
t(u, {
|
|
336
340
|
label: l.$t("itsmFlowAcceptance.headman"),
|
|
@@ -338,10 +342,10 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
338
342
|
`
|
|
339
343
|
}, {
|
|
340
344
|
default: a(() => [
|
|
341
|
-
t(
|
|
342
|
-
modelValue: d(
|
|
343
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
344
|
-
placeholder: l.$t("itsmFlowAcceptance.
|
|
345
|
+
t(c, {
|
|
346
|
+
modelValue: d(s).headmanName,
|
|
347
|
+
"onUpdate:modelValue": e[6] || (e[6] = (n) => d(s).headmanName = n),
|
|
348
|
+
placeholder: l.$t("itsmFlowAcceptance.headmanRequired"),
|
|
345
349
|
disabled: ""
|
|
346
350
|
}, null, 8, ["modelValue", "placeholder"])
|
|
347
351
|
]),
|
|
@@ -350,17 +354,17 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
350
354
|
]),
|
|
351
355
|
_: 1
|
|
352
356
|
}),
|
|
353
|
-
t(
|
|
357
|
+
t(o, { span: 12 }, {
|
|
354
358
|
default: a(() => [
|
|
355
359
|
t(u, {
|
|
356
360
|
label: l.$t("itsmFlowAcceptance.members")
|
|
357
361
|
}, {
|
|
358
362
|
default: a(() => [
|
|
359
|
-
t(
|
|
360
|
-
modelValue:
|
|
361
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
363
|
+
t(N, {
|
|
364
|
+
modelValue: w.value,
|
|
365
|
+
"onUpdate:modelValue": e[7] || (e[7] = (n) => w.value = n),
|
|
362
366
|
placeholder: l.$t("itsmFlowAcceptance.membersRequired"),
|
|
363
|
-
data: d(
|
|
367
|
+
data: d(k).values,
|
|
364
368
|
clearable: "",
|
|
365
369
|
multiple: "",
|
|
366
370
|
filterable: "",
|
|
@@ -372,20 +376,20 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
372
376
|
]),
|
|
373
377
|
_: 1
|
|
374
378
|
}),
|
|
375
|
-
t(
|
|
379
|
+
t(o, { span: 24 }, {
|
|
376
380
|
default: a(() => [
|
|
377
381
|
t(u, {
|
|
378
382
|
label: l.$t("itsmFlowAcceptance.files"),
|
|
379
383
|
prop: "files"
|
|
380
384
|
}, {
|
|
381
385
|
default: a(() => [
|
|
382
|
-
t(
|
|
386
|
+
t(_, {
|
|
383
387
|
type: "primary",
|
|
384
|
-
icon: d(
|
|
388
|
+
icon: d(be),
|
|
385
389
|
onClick: G
|
|
386
390
|
}, {
|
|
387
391
|
default: a(() => [
|
|
388
|
-
|
|
392
|
+
v(y(l.$t("common.uploadFiles")), 1)
|
|
389
393
|
]),
|
|
390
394
|
_: 1
|
|
391
395
|
}, 8, ["icon"])
|
|
@@ -394,18 +398,18 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
394
398
|
}, 8, ["label"]),
|
|
395
399
|
t(u, null, {
|
|
396
400
|
default: a(() => [
|
|
397
|
-
(
|
|
398
|
-
key:
|
|
401
|
+
(R(!0), T(me, null, ce(m.value, (n, K) => (R(), T("div", {
|
|
402
|
+
key: K,
|
|
399
403
|
class: "files-list"
|
|
400
404
|
}, [
|
|
401
|
-
|
|
402
|
-
t(
|
|
405
|
+
v(y(n.fileName) + " ", 1),
|
|
406
|
+
t(ae, {
|
|
403
407
|
size: "16",
|
|
404
408
|
class: "icon-right",
|
|
405
|
-
onClick: (
|
|
409
|
+
onClick: (ye) => P(K, n)
|
|
406
410
|
}, {
|
|
407
411
|
default: a(() => [
|
|
408
|
-
t(
|
|
412
|
+
t(te)
|
|
409
413
|
]),
|
|
410
414
|
_: 2
|
|
411
415
|
}, 1032, ["onClick"])
|
|
@@ -416,16 +420,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
416
420
|
]),
|
|
417
421
|
_: 1
|
|
418
422
|
}),
|
|
419
|
-
t(
|
|
423
|
+
t(o, { span: 24 }, {
|
|
420
424
|
default: a(() => [
|
|
421
425
|
t(u, {
|
|
422
426
|
label: l.$t("itsmFlowAcceptance.serviceContent"),
|
|
423
427
|
prop: "serviceContent"
|
|
424
428
|
}, {
|
|
425
429
|
default: a(() => [
|
|
426
|
-
t(
|
|
427
|
-
modelValue: d(
|
|
428
|
-
"onUpdate:modelValue": e[8] || (e[8] = (
|
|
430
|
+
t(c, {
|
|
431
|
+
modelValue: d(s).serviceContent,
|
|
432
|
+
"onUpdate:modelValue": e[8] || (e[8] = (n) => d(s).serviceContent = n),
|
|
429
433
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
430
434
|
maxlength: "500",
|
|
431
435
|
rows: 4,
|
|
@@ -439,16 +443,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
439
443
|
]),
|
|
440
444
|
_: 1
|
|
441
445
|
}),
|
|
442
|
-
t(
|
|
446
|
+
t(o, { span: 12 }, {
|
|
443
447
|
default: a(() => [
|
|
444
448
|
t(u, {
|
|
445
449
|
label: l.$t("itsmFlowAcceptance.result"),
|
|
446
450
|
prop: "result"
|
|
447
451
|
}, {
|
|
448
452
|
default: a(() => [
|
|
449
|
-
t(
|
|
450
|
-
modelValue: d(
|
|
451
|
-
"onUpdate:modelValue": e[9] || (e[9] = (
|
|
453
|
+
t(oe, {
|
|
454
|
+
modelValue: d(s).result,
|
|
455
|
+
"onUpdate:modelValue": e[9] || (e[9] = (n) => d(s).result = n),
|
|
452
456
|
data: d(A).isValuesDict.values,
|
|
453
457
|
disabled: ""
|
|
454
458
|
}, null, 8, ["modelValue", "data"])
|
|
@@ -458,16 +462,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
458
462
|
]),
|
|
459
463
|
_: 1
|
|
460
464
|
}),
|
|
461
|
-
t(
|
|
465
|
+
t(o, { span: 24 }, {
|
|
462
466
|
default: a(() => [
|
|
463
467
|
t(u, {
|
|
464
468
|
label: l.$t("itsmFlowAcceptance.evaluate"),
|
|
465
469
|
prop: "evaluate"
|
|
466
470
|
}, {
|
|
467
471
|
default: a(() => [
|
|
468
|
-
t(
|
|
469
|
-
modelValue: d(
|
|
470
|
-
"onUpdate:modelValue": e[10] || (e[10] = (
|
|
472
|
+
t(c, {
|
|
473
|
+
modelValue: d(s).evaluate,
|
|
474
|
+
"onUpdate:modelValue": e[10] || (e[10] = (n) => d(s).evaluate = n),
|
|
471
475
|
placeholder: l.$t("itsmFlowAcceptance.evaluateRequired"),
|
|
472
476
|
maxlength: "500",
|
|
473
477
|
rows: 4,
|
|
@@ -484,9 +488,9 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
484
488
|
]),
|
|
485
489
|
_: 1
|
|
486
490
|
}),
|
|
487
|
-
t(
|
|
491
|
+
t(z, { class: "bordered-row" }, {
|
|
488
492
|
default: a(() => [
|
|
489
|
-
t(
|
|
493
|
+
t(o, { span: 12 }, {
|
|
490
494
|
default: a(() => e[14] || (e[14] = [
|
|
491
495
|
r("div", { class: "content-box" }, [
|
|
492
496
|
r("div", { class: "content-box-top" }, [
|
|
@@ -495,16 +499,17 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
495
499
|
r("div", null, "负责人(签字):")
|
|
496
500
|
]),
|
|
497
501
|
r("div", { class: "content-box-bottom" }, [
|
|
498
|
-
|
|
502
|
+
v(" 日期: "),
|
|
499
503
|
r("span", null, "年"),
|
|
500
504
|
r("span", null, "月"),
|
|
501
505
|
r("span", null, "日")
|
|
502
506
|
])
|
|
503
507
|
], -1)
|
|
504
508
|
])),
|
|
505
|
-
_: 1
|
|
509
|
+
_: 1,
|
|
510
|
+
__: [14]
|
|
506
511
|
}),
|
|
507
|
-
t(
|
|
512
|
+
t(o, {
|
|
508
513
|
span: 12,
|
|
509
514
|
class: "with-divider"
|
|
510
515
|
}, {
|
|
@@ -516,14 +521,15 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
516
521
|
r("div", null, "负责人(签字):")
|
|
517
522
|
]),
|
|
518
523
|
r("div", { class: "content-box-bottom" }, [
|
|
519
|
-
|
|
524
|
+
v(" 日期: "),
|
|
520
525
|
r("span", null, "年"),
|
|
521
526
|
r("span", null, "月"),
|
|
522
527
|
r("span", null, "日")
|
|
523
528
|
])
|
|
524
529
|
], -1)
|
|
525
530
|
])),
|
|
526
|
-
_: 1
|
|
531
|
+
_: 1,
|
|
532
|
+
__: [15]
|
|
527
533
|
})
|
|
528
534
|
]),
|
|
529
535
|
_: 1
|
|
@@ -532,19 +538,20 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
532
538
|
_: 1
|
|
533
539
|
}, 8, ["model", "rules"]),
|
|
534
540
|
e[16] || (e[16] = r("div", { class: "with-end" }, "注:验收书编号在验收通过后自动生成。", -1)),
|
|
535
|
-
t(
|
|
541
|
+
t(ne, {
|
|
536
542
|
ref_key: "uploadRef",
|
|
537
|
-
ref:
|
|
538
|
-
modelValue:
|
|
539
|
-
"onUpdate:modelValue": e[11] || (e[11] = (
|
|
543
|
+
ref: S,
|
|
544
|
+
modelValue: I.value,
|
|
545
|
+
"onUpdate:modelValue": e[11] || (e[11] = (n) => I.value = n),
|
|
540
546
|
onUploadFileList: Q
|
|
541
547
|
}, null, 8, ["modelValue"])
|
|
542
548
|
]),
|
|
543
|
-
_: 1
|
|
549
|
+
_: 1,
|
|
550
|
+
__: [16]
|
|
544
551
|
}, 8, ["modelValue"]);
|
|
545
552
|
};
|
|
546
553
|
}
|
|
547
554
|
});
|
|
548
555
|
export {
|
|
549
|
-
|
|
556
|
+
Ie as _
|
|
550
557
|
};
|