xyvcard-itsm-flow 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FileSaver.min-C-3rxI72.mjs → FileSaver.min-BMRKyFh3.mjs} +1 -1
- package/dist/{edit-BuyO4D5o.mjs → edit-BFj-cJFf.mjs} +2 -2
- package/dist/{edit-Ds_Iif35.mjs → edit-BvUjc7UO.mjs} +1 -1
- package/dist/{edit-DGswtck8.mjs → edit-C0Cq_jUX.mjs} +2 -2
- package/dist/{edit-FrMPD4Q8.mjs → edit-D5gwJVQO.mjs} +1 -1
- package/dist/{edit-CxJiWVp8.mjs → edit-DdqzI_Iq.mjs} +1 -1
- package/dist/{edit-3YacNQ0m.mjs → edit-_XNRhIfe.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D8jDSSFA.mjs → edit.vue_vue_type_script_setup_true_lang--_knO1G4.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DYt_vHYp.mjs → edit.vue_vue_type_script_setup_true_lang-7II7oUb_.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-B0H9i6ss.mjs → edit.vue_vue_type_script_setup_true_lang-BYIOm05z.mjs} +74 -70
- package/dist/{index-BPnMz825.mjs → index-B1x_AsUO.mjs} +4 -4
- package/dist/{index-Dp0ddiVO.mjs → index-B59VK1az.mjs} +1 -1
- package/dist/{index-D1SasUNc.mjs → index-B5KQp7b0.mjs} +1396 -1414
- package/dist/{index-DyLEMHeP.mjs → index-BK3NeBLn.mjs} +3 -3
- package/dist/{index-tyZIu7Pu.mjs → index-BXVGgaak.mjs} +2 -2
- package/dist/{index-DA3MfjHf.mjs → index-BYasxdX5.mjs} +63 -63
- package/dist/{index-BK-_l_X-.mjs → index-B_TzXrea.mjs} +3 -3
- package/dist/{index-qEBDruQw.mjs → index-CPHJcvoG.mjs} +1 -1
- package/dist/{index-B_HeEcEI.mjs → index-CPODIJ6K.mjs} +3 -3
- package/dist/{index-Cogrwku9.mjs → index-CQL-UkUY.mjs} +3 -3
- package/dist/{index-BZgbmfjz.mjs → index-CTvPaVzG.mjs} +2 -2
- package/dist/{index-CgU6trlJ.mjs → index-CVonkny_.mjs} +3 -3
- package/dist/{index-C2mvyDNS.mjs → index-Cja8t3fR.mjs} +2 -2
- package/dist/{index-DbGGQp4Z.mjs → index-CkGX7IFU.mjs} +2 -2
- package/dist/{index-DSPo1jK_.mjs → index-CoNeIE2w.mjs} +2 -2
- package/dist/{index-DgMMgRkD.mjs → index-CqIW6atk.mjs} +2 -2
- package/dist/{index-C8OzBTVT.mjs → index-CtUgoV4T.mjs} +4 -4
- package/dist/{index-CZltgONr.mjs → index-DK9cXze_.mjs} +4 -4
- package/dist/{index-DFBJG6cI.mjs → index-DLEEV11K.mjs} +2 -2
- package/dist/{index-Dh1Vp2x-.mjs → index-DNeSW0zf.mjs} +2 -2
- package/dist/{index-BvewKE7L.mjs → index-DOM5SeKc.mjs} +83 -83
- package/dist/{index-tYL79USI.mjs → index-DQjv9iQi.mjs} +2 -2
- package/dist/{index-Cmn2lxO_.mjs → index-DWAcpt7l.mjs} +1 -1
- package/dist/{index-Bzz32n0z.mjs → index-DYbwtCeL.mjs} +2 -2
- package/dist/{index-xS9vmw1f.mjs → index-DaoE55n4.mjs} +3 -3
- package/dist/{index-CcLbblVp.mjs → index-DjhLqSYC.mjs} +3 -3
- package/dist/{index-rULCHGu0.mjs → index-Dp5NTPRt.mjs} +3 -3
- package/dist/{index-B6VcbMkg.mjs → index-DwxrOrrB.mjs} +20 -19
- package/dist/{index-DjEr5bDE.mjs → index-clGn5YjC.mjs} +2 -2
- package/dist/{index-DD-VdvMt.mjs → index-m1fbkwSk.mjs} +2 -2
- package/dist/{index-DWjlJOfX.mjs → index-soCKhzqO.mjs} +2 -2
- package/dist/{index-QfJMh7gj.mjs → index-wW4PUujK.mjs} +2 -2
- package/dist/{index-D_avlTrt.mjs → index-yJ9WXclc.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{info-5b0MsAVP.mjs → info-B5uBfnYf.mjs} +1 -1
- package/dist/{info-B0a03DPy.mjs → info-BEWZzCVW.mjs} +1 -1
- package/dist/{info-2yqOgs3g.mjs → info-BULR864o.mjs} +1 -1
- package/dist/{info-D4SI5dEl.mjs → info-BaZXP7TI.mjs} +1 -1
- package/dist/info-CY0Une2D.mjs +4 -0
- package/dist/info-CsRGF3xk.mjs +4 -0
- package/dist/info-CxVGph6R.mjs +4 -0
- package/dist/info-D9nurmGm.mjs +4 -0
- package/dist/info-F4ootkog.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-CkiWEbLP.mjs → info.vue_vue_type_script_setup_true_lang-B5uTH_2O.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DjqfjKao.mjs → info.vue_vue_type_script_setup_true_lang-BIXF9GEE.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CLHSx_HM.mjs → info.vue_vue_type_script_setup_true_lang-Bi1mHnjh.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-D0llCWuF.mjs → info.vue_vue_type_script_setup_true_lang-CAwX89Kj.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BNqS_vNl.mjs → info.vue_vue_type_script_setup_true_lang-CCZjqFA6.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-IQSZ0nn1.mjs → info.vue_vue_type_script_setup_true_lang-CE8Yg9AD.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DDZO6qCX.mjs → info.vue_vue_type_script_setup_true_lang-CFUnSMzb.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BP1NoBBM.mjs → info.vue_vue_type_script_setup_true_lang-EUowm_f8.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-ipuXshVV.mjs → info.vue_vue_type_script_setup_true_lang-F83TFtID.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/constant.d.ts +1 -0
- package/package.json +1 -1
- package/dist/info-D8pJ4cqt.mjs +0 -4
- package/dist/info-DL-3XM_F.mjs +0 -4
- package/dist/info-Dauh_znj.mjs +0 -4
- package/dist/info-DqJrwwrx.mjs +0 -4
- package/dist/info-vZkqfj4d.mjs +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as ie, mergeModels as ue, ref as c, useModel as de, reactive as
|
|
1
|
+
import { defineComponent as ie, mergeModels as ue, ref as c, useModel as de, reactive as N, computed as B, watch as A, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as g, createVNode as o, withCtx as a, createElementVNode as me, unref as s, renderList as _, createBlock as h, createCommentVNode as pe, createTextVNode as P, toDisplayString as V } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as fe } from "vue-i18n";
|
|
4
|
-
import { i as Y } from "./index-
|
|
5
|
-
import { D as I, O as z, C as F, i as ce } from "./index-
|
|
4
|
+
import { i as Y } from "./index-B5KQp7b0.mjs";
|
|
5
|
+
import { D as I, O as z, C as F, i as ce } from "./index-DwxrOrrB.mjs";
|
|
6
6
|
import { u as ge } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { sysUserExtApi as ye } from "xyvcard-itsmsys";
|
|
8
8
|
import { useUserStoreHook as Ie } from "jmash-core";
|
|
@@ -20,48 +20,48 @@ const be = /* @__PURE__ */ ie({
|
|
|
20
20
|
modelModifiers: {}
|
|
21
21
|
}),
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
|
-
setup(
|
|
24
|
-
const j = Ie(), { t: f } = fe(),
|
|
23
|
+
setup(O, { expose: E }) {
|
|
24
|
+
const j = Ie(), { t: f } = fe(), k = c();
|
|
25
25
|
I.itemBizLayDict.useValues();
|
|
26
|
-
const m = de(
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
const
|
|
31
|
-
let
|
|
26
|
+
const m = de(O, "modelValue"), q = new z({ orgType: F.HALL });
|
|
27
|
+
q.useValues();
|
|
28
|
+
const R = new z({ orgType: F.OUTSOURCE });
|
|
29
|
+
R.useValues(), I.userExtBizDict.useValues();
|
|
30
|
+
const $ = c((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
31
|
+
let l = N({
|
|
32
32
|
requestId: Math.random() * 10 + "",
|
|
33
33
|
files: [],
|
|
34
34
|
temporaryType: F.External
|
|
35
35
|
});
|
|
36
|
-
const
|
|
37
|
-
(
|
|
36
|
+
const C = B(() => l.govOrgId ? I.itemBizLayDict.values.filter(
|
|
37
|
+
(t) => t.orgId === l.govOrgId
|
|
38
38
|
) : []);
|
|
39
39
|
function H(e) {
|
|
40
|
-
|
|
40
|
+
l.itemId = void 0;
|
|
41
41
|
}
|
|
42
42
|
const v = c([]), y = c([]);
|
|
43
43
|
ye.findList().then((e) => {
|
|
44
44
|
v.value = e.data.results;
|
|
45
|
-
}),
|
|
46
|
-
[v, () =>
|
|
47
|
-
([e,
|
|
48
|
-
e &&
|
|
49
|
-
(i) => i.orgId ===
|
|
45
|
+
}), A(
|
|
46
|
+
[v, () => l.userId],
|
|
47
|
+
([e, t]) => {
|
|
48
|
+
e && t && l.outOrgId && (y.value = e.filter(
|
|
49
|
+
(i) => i.orgId === l.outOrgId
|
|
50
50
|
));
|
|
51
51
|
},
|
|
52
52
|
{ immediate: !0 }
|
|
53
|
-
),
|
|
54
|
-
() =>
|
|
53
|
+
), A(
|
|
54
|
+
() => l.outOrgId,
|
|
55
55
|
(e) => {
|
|
56
56
|
e && Array.isArray(v.value) ? (y.value = v.value.filter(
|
|
57
|
-
(
|
|
58
|
-
),
|
|
59
|
-
(
|
|
60
|
-
) && (
|
|
57
|
+
(t) => t.orgId === e
|
|
58
|
+
), l.userId && !y.value.some(
|
|
59
|
+
(t) => t.userId === l.userId
|
|
60
|
+
) && (l.userId = "")) : (y.value = [], l.userId = "");
|
|
61
61
|
},
|
|
62
62
|
{ immediate: !0 }
|
|
63
63
|
);
|
|
64
|
-
const T = c(!1),
|
|
64
|
+
const T = c(!1), D = c(), K = N({
|
|
65
65
|
govOrgId: [
|
|
66
66
|
{
|
|
67
67
|
required: !0,
|
|
@@ -104,38 +104,38 @@ const be = /* @__PURE__ */ ie({
|
|
|
104
104
|
trigger: "change"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
|
-
}),
|
|
107
|
+
}), U = O, W = B(() => {
|
|
108
108
|
const e = I.fileTypeDict.values.slice(2, 3)[0];
|
|
109
109
|
return e ? e.dictCode : "temporary_file";
|
|
110
110
|
});
|
|
111
111
|
function G() {
|
|
112
|
-
T.value = !0,
|
|
112
|
+
T.value = !0, D.value.clearFileList();
|
|
113
113
|
}
|
|
114
114
|
function J(e) {
|
|
115
|
-
const
|
|
115
|
+
const t = {
|
|
116
116
|
fileName: e.name,
|
|
117
117
|
fileId: e.response.fileId,
|
|
118
118
|
fileSort: W.value,
|
|
119
119
|
fileSrc: ""
|
|
120
120
|
};
|
|
121
|
-
|
|
121
|
+
l.files || (l.files = []), l.files.push(t), l.files = [...new Set(l.files)];
|
|
122
122
|
}
|
|
123
123
|
function Q(e) {
|
|
124
|
-
var
|
|
125
|
-
(
|
|
124
|
+
var t;
|
|
125
|
+
(t = l.files) == null || t.splice(e, 1);
|
|
126
126
|
}
|
|
127
|
-
Y.findById({ temporaryId:
|
|
128
|
-
|
|
129
|
-
Object.assign(
|
|
127
|
+
Y.findById({ temporaryId: U.task.businessKey }).then(({ data: e }) => {
|
|
128
|
+
l.outOrgId = e.outOrgId, ne(() => {
|
|
129
|
+
Object.assign(l, e), X();
|
|
130
130
|
});
|
|
131
131
|
});
|
|
132
132
|
function X() {
|
|
133
|
-
ce.findFilesList({ actionId:
|
|
134
|
-
e.results && Array.isArray(e.results) && (
|
|
133
|
+
ce.findFilesList({ actionId: U.task.businessKey }).then(({ data: e }) => {
|
|
134
|
+
console.log(e, "=> data22"), e.results && Array.isArray(e.results) && (l.files = e.results.map((t) => {
|
|
135
135
|
let i = "";
|
|
136
|
-
return
|
|
137
|
-
fileName:
|
|
138
|
-
fileId:
|
|
136
|
+
return t.fileName && (i = t.fileSort || t.type || ""), {
|
|
137
|
+
fileName: t.fileName || "",
|
|
138
|
+
fileId: t.fileId || "",
|
|
139
139
|
fileSort: i
|
|
140
140
|
};
|
|
141
141
|
}));
|
|
@@ -148,20 +148,20 @@ const be = /* @__PURE__ */ ie({
|
|
|
148
148
|
return m.value && (m.value.selectActions = [
|
|
149
149
|
{ key: "true", value: "同意" },
|
|
150
150
|
{ key: "false", value: "不同意" }
|
|
151
|
-
], m.value.varName = "approved", m.value.module = "", m.value.module = F.MODULE_ITSMFLOW), new Promise((e,
|
|
151
|
+
], m.value.varName = "approved", m.value.module = "", m.value.module = F.MODULE_ITSMFLOW), new Promise((e, t) => {
|
|
152
152
|
var i;
|
|
153
|
-
(i =
|
|
154
|
-
b ? (m.value && (m.value.comment = ""),
|
|
155
|
-
u.status === 200 ? e(!0) :
|
|
156
|
-
})) :
|
|
153
|
+
(i = k.value) == null || i.validate((b) => {
|
|
154
|
+
b ? (m.value && (m.value.comment = ""), l.requestId = Math.random() * 10 + "", Y.create(l).then((u) => {
|
|
155
|
+
u.status === 200 ? e(!0) : t(!1);
|
|
156
|
+
})) : t(!1);
|
|
157
157
|
});
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
return (e,
|
|
161
|
-
const i = d("el-col"), b = d("jmash-select"), u = d("el-form-item"),
|
|
160
|
+
return (e, t) => {
|
|
161
|
+
const i = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), S = d("el-option"), L = d("el-select"), w = d("el-input"), x = d("el-date-picker"), ee = d("el-button"), le = d("CircleClose"), te = d("el-icon"), oe = d("el-row"), re = d("el-form"), ae = d("jmash-multi-upload");
|
|
162
162
|
return n(), p(g, null, [
|
|
163
163
|
o(i, { span: 24 }, {
|
|
164
|
-
default: a(() =>
|
|
164
|
+
default: a(() => t[9] || (t[9] = [
|
|
165
165
|
me("div", { class: "title" }, "外部临时工单", -1)
|
|
166
166
|
])),
|
|
167
167
|
_: 1,
|
|
@@ -169,8 +169,8 @@ const be = /* @__PURE__ */ ie({
|
|
|
169
169
|
}),
|
|
170
170
|
o(re, {
|
|
171
171
|
ref_key: "taskFormRef",
|
|
172
|
-
ref:
|
|
173
|
-
model: s(
|
|
172
|
+
ref: k,
|
|
173
|
+
model: s(l),
|
|
174
174
|
"label-width": "150px",
|
|
175
175
|
rules: K,
|
|
176
176
|
class: "custom-table-form custom-form"
|
|
@@ -186,10 +186,10 @@ const be = /* @__PURE__ */ ie({
|
|
|
186
186
|
}, {
|
|
187
187
|
default: a(() => [
|
|
188
188
|
o(b, {
|
|
189
|
-
modelValue: s(
|
|
190
|
-
"onUpdate:modelValue":
|
|
189
|
+
modelValue: s(l).govOrgId,
|
|
190
|
+
"onUpdate:modelValue": t[0] || (t[0] = (r) => s(l).govOrgId = r),
|
|
191
191
|
placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
|
|
192
|
-
data: s(
|
|
192
|
+
data: s(q).values,
|
|
193
193
|
clearable: "",
|
|
194
194
|
filterable: "",
|
|
195
195
|
class: "w-full",
|
|
@@ -208,17 +208,17 @@ const be = /* @__PURE__ */ ie({
|
|
|
208
208
|
prop: "itemId"
|
|
209
209
|
}, {
|
|
210
210
|
default: a(() => [
|
|
211
|
-
o(
|
|
212
|
-
modelValue: s(
|
|
213
|
-
"onUpdate:modelValue":
|
|
211
|
+
o(L, {
|
|
212
|
+
modelValue: s(l).itemId,
|
|
213
|
+
"onUpdate:modelValue": t[1] || (t[1] = (r) => s(l).itemId = r),
|
|
214
214
|
placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
215
|
-
data:
|
|
215
|
+
data: C.value,
|
|
216
216
|
clearable: "",
|
|
217
217
|
filterable: "",
|
|
218
|
-
disabled: !s(
|
|
218
|
+
disabled: !s(l).govOrgId
|
|
219
219
|
}, {
|
|
220
220
|
default: a(() => [
|
|
221
|
-
(n(!0), p(g, null, _(
|
|
221
|
+
(n(!0), p(g, null, _(C.value, (r) => (n(), h(S, {
|
|
222
222
|
key: r.key,
|
|
223
223
|
value: r.key,
|
|
224
224
|
label: r.value
|
|
@@ -259,8 +259,8 @@ const be = /* @__PURE__ */ ie({
|
|
|
259
259
|
}, {
|
|
260
260
|
default: a(() => [
|
|
261
261
|
o(x, {
|
|
262
|
-
modelValue:
|
|
263
|
-
"onUpdate:modelValue":
|
|
262
|
+
modelValue: $.value,
|
|
263
|
+
"onUpdate:modelValue": t[2] || (t[2] = (r) => $.value = r),
|
|
264
264
|
type: "date",
|
|
265
265
|
placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
|
|
266
266
|
format: "YYYY-MM-DD",
|
|
@@ -283,8 +283,8 @@ const be = /* @__PURE__ */ ie({
|
|
|
283
283
|
}, {
|
|
284
284
|
default: a(() => [
|
|
285
285
|
o(w, {
|
|
286
|
-
modelValue: s(
|
|
287
|
-
"onUpdate:modelValue":
|
|
286
|
+
modelValue: s(l).title,
|
|
287
|
+
"onUpdate:modelValue": t[3] || (t[3] = (r) => s(l).title = r),
|
|
288
288
|
placeholder: e.$t("itsmFlowTemporary.titleRequired"),
|
|
289
289
|
"show-word-limit": "",
|
|
290
290
|
clearable: ""
|
|
@@ -303,8 +303,8 @@ const be = /* @__PURE__ */ ie({
|
|
|
303
303
|
}, {
|
|
304
304
|
default: a(() => [
|
|
305
305
|
o(w, {
|
|
306
|
-
modelValue: s(
|
|
307
|
-
"onUpdate:modelValue":
|
|
306
|
+
modelValue: s(l).content,
|
|
307
|
+
"onUpdate:modelValue": t[4] || (t[4] = (r) => s(l).content = r),
|
|
308
308
|
placeholder: e.$t("itsmFlowTemporary.contentRequired"),
|
|
309
309
|
"show-word-limit": "",
|
|
310
310
|
clearable: ""
|
|
@@ -330,24 +330,24 @@ const be = /* @__PURE__ */ ie({
|
|
|
330
330
|
onClick: G
|
|
331
331
|
}, {
|
|
332
332
|
default: a(() => [
|
|
333
|
-
|
|
333
|
+
P(V(e.$t("common.uploadFiles")), 1)
|
|
334
334
|
]),
|
|
335
335
|
_: 1
|
|
336
336
|
}, 8, ["icon"])
|
|
337
337
|
]),
|
|
338
338
|
_: 2
|
|
339
339
|
}, 1032, ["label"]),
|
|
340
|
-
s(
|
|
340
|
+
s(l).files && s(l).files.length > 0 ? (n(), h(u, { key: 0 }, {
|
|
341
341
|
default: a(() => [
|
|
342
|
-
(n(!0), p(g, null, _(s(
|
|
343
|
-
key:
|
|
342
|
+
(n(!0), p(g, null, _(s(l).files, (se, M) => (n(), p("div", {
|
|
343
|
+
key: M,
|
|
344
344
|
class: "files-list"
|
|
345
345
|
}, [
|
|
346
|
-
|
|
346
|
+
P(V(s(l).files) + " " + V(se.fileName) + " ", 1),
|
|
347
347
|
o(te, {
|
|
348
348
|
size: "16",
|
|
349
349
|
class: "icon-right",
|
|
350
|
-
onClick: (_e) => Q(
|
|
350
|
+
onClick: (_e) => Q(M)
|
|
351
351
|
}, {
|
|
352
352
|
default: a(() => [
|
|
353
353
|
o(le)
|
|
@@ -370,10 +370,10 @@ const be = /* @__PURE__ */ ie({
|
|
|
370
370
|
}, {
|
|
371
371
|
default: a(() => [
|
|
372
372
|
o(b, {
|
|
373
|
-
modelValue: s(
|
|
374
|
-
"onUpdate:modelValue":
|
|
373
|
+
modelValue: s(l).outOrgId,
|
|
374
|
+
"onUpdate:modelValue": t[5] || (t[5] = (r) => s(l).outOrgId = r),
|
|
375
375
|
placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
|
|
376
|
-
data: s(
|
|
376
|
+
data: s(R).values,
|
|
377
377
|
clearable: "",
|
|
378
378
|
filterable: "",
|
|
379
379
|
class: "w-full"
|
|
@@ -391,16 +391,16 @@ const be = /* @__PURE__ */ ie({
|
|
|
391
391
|
prop: "userId"
|
|
392
392
|
}, {
|
|
393
393
|
default: a(() => [
|
|
394
|
-
o(
|
|
395
|
-
modelValue: s(
|
|
396
|
-
"onUpdate:modelValue":
|
|
394
|
+
o(L, {
|
|
395
|
+
modelValue: s(l).userId,
|
|
396
|
+
"onUpdate:modelValue": t[6] || (t[6] = (r) => s(l).userId = r),
|
|
397
397
|
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
398
398
|
"show-word-limit": "",
|
|
399
399
|
clearable: "",
|
|
400
400
|
class: "w-full"
|
|
401
401
|
}, {
|
|
402
402
|
default: a(() => [
|
|
403
|
-
(n(!0), p(g, null, _(y.value, (r) => (n(), h(
|
|
403
|
+
(n(!0), p(g, null, _(y.value, (r) => (n(), h(S, {
|
|
404
404
|
key: r.userId,
|
|
405
405
|
value: r.userId,
|
|
406
406
|
label: r.realName
|
|
@@ -422,8 +422,8 @@ const be = /* @__PURE__ */ ie({
|
|
|
422
422
|
}, {
|
|
423
423
|
default: a(() => [
|
|
424
424
|
o(w, {
|
|
425
|
-
modelValue: s(
|
|
426
|
-
"onUpdate:modelValue":
|
|
425
|
+
modelValue: s(l).handlingPeriod,
|
|
426
|
+
"onUpdate:modelValue": t[7] || (t[7] = (r) => s(l).handlingPeriod = r),
|
|
427
427
|
placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
|
|
428
428
|
"show-word-limit": "",
|
|
429
429
|
clearable: ""
|
|
@@ -442,15 +442,15 @@ const be = /* @__PURE__ */ ie({
|
|
|
442
442
|
}, 8, ["model", "rules"]),
|
|
443
443
|
o(ae, {
|
|
444
444
|
ref_key: "uploadRef",
|
|
445
|
-
ref:
|
|
445
|
+
ref: D,
|
|
446
446
|
modelValue: T.value,
|
|
447
|
-
"onUpdate:modelValue":
|
|
447
|
+
"onUpdate:modelValue": t[8] || (t[8] = (r) => T.value = r),
|
|
448
448
|
onUploadFileList: J
|
|
449
449
|
}, null, 8, ["modelValue"])
|
|
450
450
|
], 64);
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
|
-
}), Ce = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-
|
|
453
|
+
}), Ce = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-54b42478"]]);
|
|
454
454
|
export {
|
|
455
455
|
Ce as default
|
|
456
456
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as Q, mergeModels as X, ref as y, useModel as Z, reactive as k, computed as x, nextTick as ee, resolveComponent as n, createElementBlock as f, openBlock as c, Fragment as g, createVNode as t, withCtx as r, createElementVNode as le, unref as a, renderList as q, createBlock as te, createCommentVNode as oe, createTextVNode as C, toDisplayString as R } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as re } from "vue-i18n";
|
|
4
|
-
import { i as D } from "./index-
|
|
5
|
-
import { U as ae, C as w, D as M, i as ie } from "./index-
|
|
4
|
+
import { i as D } from "./index-B5KQp7b0.mjs";
|
|
5
|
+
import { U as ae, C as w, D as M, i as ie } from "./index-DwxrOrrB.mjs";
|
|
6
6
|
import { u as se } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { useUserStoreHook as ne } from "jmash-core";
|
|
8
8
|
import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -2,8 +2,8 @@ import { defineComponent as be, mergeModels as ge, ref as f, useModel as Ie, rea
|
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
4
|
import { p as Ee } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import { a as J } from "./index-
|
|
6
|
-
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-
|
|
5
|
+
import { a as J } from "./index-B5KQp7b0.mjs";
|
|
6
|
+
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-DwxrOrrB.mjs";
|
|
7
7
|
import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
|
|
8
8
|
const De = /* @__PURE__ */ be({
|
|
9
9
|
__name: "index",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as oe, mergeModels as ne, computed as ae, ref as f, useModel as se, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as P, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as r, toDisplayString as u, unref as b, createCommentVNode as I, withDirectives as A, vShow as B, createBlock as O, renderList as re } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as ue } from "./index-CvX2It1o.mjs";
|
|
4
|
-
import { a as ie } from "./index-
|
|
5
|
-
import { D as C, C as $, a as de } from "./index-
|
|
4
|
+
import { a as ie } from "./index-B5KQp7b0.mjs";
|
|
5
|
+
import { D as C, C as $, a as de } from "./index-DwxrOrrB.mjs";
|
|
6
6
|
import { i as S, t as ce, a as pe } from "./common-Cwl5jzlM.mjs";
|
|
7
7
|
import "jmash-core";
|
|
8
8
|
import { useI18n as me } from "vue-i18n";
|
|
9
|
-
import { F as fe } from "./FileSaver.min-
|
|
9
|
+
import { F as fe } from "./FileSaver.min-BMRKyFh3.mjs";
|
|
10
10
|
import { E as j } from "./el-message-BJAl6Gwu.mjs";
|
|
11
11
|
const _e = { key: 0 }, ve = { key: 1 }, be = {
|
|
12
12
|
key: 2,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Z, mergeModels as ee, ref as m, useModel as le, resolveComponent as d, createElementBlock as A, openBlock as k, Fragment as O, createVNode as e, withCtx as l, createElementVNode as s, createTextVNode as u, toDisplayString as r, unref as b, createBlock as $, createCommentVNode as V, renderList as te } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as ae } from "./index-CvX2It1o.mjs";
|
|
4
|
-
import { a as oe } from "./index-
|
|
5
|
-
import { D as F, i as I, C as y } from "./index-
|
|
4
|
+
import { a as oe } from "./index-B5KQp7b0.mjs";
|
|
5
|
+
import { D as F, i as I, C as y } from "./index-DwxrOrrB.mjs";
|
|
6
6
|
import { fileApi as ne } from "jmash-core";
|
|
7
7
|
import { useI18n as se } from "vue-i18n";
|
|
8
|
-
import { F as ue } from "./FileSaver.min-
|
|
8
|
+
import { F as ue } from "./FileSaver.min-BMRKyFh3.mjs";
|
|
9
9
|
import { E as j } from "./el-message-BJAl6Gwu.mjs";
|
|
10
10
|
const ke = /* @__PURE__ */ Z({
|
|
11
11
|
__name: "index",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as W, ref as C, reactive as G, resolveComponent as i, resolveDirective as J, createElementBlock as S, openBlock as y, createElementVNode as b, createVNode as t, createBlock as U, createCommentVNode as D, withCtx as o, withKeys as d, unref as n, createTextVNode as k, toDisplayString as v, withDirectives as M, isRef as R } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import { a as Z } from "./index-
|
|
5
|
-
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { D as p, O as ee, C as le } from "./index-
|
|
4
|
+
import { a as Z } from "./index-B5KQp7b0.mjs";
|
|
5
|
+
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-CCZjqFA6.mjs";
|
|
6
|
+
import { D as p, O as ee, C as le } from "./index-DwxrOrrB.mjs";
|
|
7
7
|
const te = { class: "app-container" }, oe = { class: "search-container" }, ae = ["onClick"], pe = /* @__PURE__ */ W({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ne) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var f = Object.defineProperty;
|
|
2
2
|
var E = (n, t, s) => t in n ? f(n, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[t] = s;
|
|
3
3
|
var r = (n, t, s) => E(n, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
-
import { useUserStore as p, clearEmpty as o, request as l, BizDict as d, BizLayDict as N, CustomBizDict as
|
|
5
|
-
import { contractApi as v, itemApi as
|
|
6
|
-
import { sysUserExtApi as
|
|
7
|
-
import { a as
|
|
4
|
+
import { useUserStore as p, clearEmpty as o, request as l, BizDict as d, BizLayDict as N, CustomBizDict as _, EnumDict as m } from "jmash-core";
|
|
5
|
+
import { contractApi as v, itemApi as g, contractUserApi as y } from "xyvcard-itsm";
|
|
6
|
+
import { sysUserExtApi as T, sysOrgApi as h } from "xyvcard-itsmsys";
|
|
7
|
+
import { a as A } from "./index-B5KQp7b0.mjs";
|
|
8
8
|
import { ref as U } from "vue";
|
|
9
9
|
import { EntryDict as I, EntryBizLayDict as L } from "jmash-dict";
|
|
10
|
-
class
|
|
10
|
+
class S {
|
|
11
11
|
getKey(t) {
|
|
12
12
|
return {
|
|
13
13
|
acceptanceId: t.acceptanceId
|
|
@@ -90,7 +90,7 @@ class O {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
const
|
|
93
|
+
const O = new S();
|
|
94
94
|
class P {
|
|
95
95
|
getKey(t) {
|
|
96
96
|
return {
|
|
@@ -129,7 +129,7 @@ class B extends d {
|
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
class
|
|
132
|
+
class D extends d {
|
|
133
133
|
// 实现 useValues 方法
|
|
134
134
|
useValues() {
|
|
135
135
|
return new Promise((t, s) => {
|
|
@@ -150,7 +150,7 @@ class z extends d {
|
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
class
|
|
153
|
+
class z extends d {
|
|
154
154
|
// 实现 useValues 方法
|
|
155
155
|
useValues() {
|
|
156
156
|
return new Promise((t, s) => {
|
|
@@ -216,7 +216,7 @@ class b extends d {
|
|
|
216
216
|
// 实现 useValues 方法
|
|
217
217
|
useValues() {
|
|
218
218
|
return new Promise((t, s) => {
|
|
219
|
-
|
|
219
|
+
g.findList(this.query).then(({ data: c }) => {
|
|
220
220
|
const i = c.results;
|
|
221
221
|
this.values.length = 0, this.values.push(
|
|
222
222
|
...i.map(
|
|
@@ -236,7 +236,7 @@ class R extends d {
|
|
|
236
236
|
// 实现 useValues 方法
|
|
237
237
|
useValues() {
|
|
238
238
|
return new Promise((t, s) => {
|
|
239
|
-
|
|
239
|
+
A.findList(this.query).then(({ data: c }) => {
|
|
240
240
|
const i = c.results;
|
|
241
241
|
this.values.length = 0, this.values.push(
|
|
242
242
|
...i.map(
|
|
@@ -260,7 +260,7 @@ class Y extends d {
|
|
|
260
260
|
// 实现 useValues 方法
|
|
261
261
|
useValues() {
|
|
262
262
|
return new Promise((t, s) => {
|
|
263
|
-
|
|
263
|
+
T.findList(this.query).then(({ data: c }) => {
|
|
264
264
|
console.log(c);
|
|
265
265
|
const i = c.results;
|
|
266
266
|
this.values.length = 0, this.values.push(
|
|
@@ -280,7 +280,7 @@ class V extends d {
|
|
|
280
280
|
// 实现 useValues 方法
|
|
281
281
|
useValues() {
|
|
282
282
|
return new Promise((t, s) => {
|
|
283
|
-
|
|
283
|
+
O.findList(this.query).then(({ data: c }) => {
|
|
284
284
|
const i = c.results;
|
|
285
285
|
this.values.length = 0, this.values.push(
|
|
286
286
|
...i.map(
|
|
@@ -339,7 +339,8 @@ r(a, "FORMAT_MONTH", "YYYY-MM"), // 验查结果
|
|
|
339
339
|
r(a, "IS_VALUES", U([
|
|
340
340
|
{ key: !0, value: "通过" },
|
|
341
341
|
{ key: !1, value: "不通过" }
|
|
342
|
-
])), //
|
|
342
|
+
])), // 合同状态
|
|
343
|
+
r(a, "STATUS_COMPLETED", "completed"), // 服务内容枚举
|
|
343
344
|
r(a, "ENUM_SERVICE_CONTENT", "xyvcard.itsmflow.protobuf.ServiceContent"), // 流程状态枚举
|
|
344
345
|
r(a, "ENUM_APPLY_STATUS", "xyvcard.itsmflow.protobuf.ItsmApplyStatus"), // 申购类型
|
|
345
346
|
r(a, "ENUM_PURCHASE_TYPE", "xyvcard.itsmflow.protobuf.SparePartsType"), // 项目名称
|
|
@@ -387,10 +388,10 @@ class u {
|
|
|
387
388
|
}
|
|
388
389
|
// 人力合同
|
|
389
390
|
r(u, "itsmContractBizDict", new B({})), // 人力合同编号
|
|
390
|
-
r(u, "contractNumberBizDict", new
|
|
391
|
-
r(u, "orgIdBizDict", new
|
|
391
|
+
r(u, "contractNumberBizDict", new D({})), // 服务人员所属单位
|
|
392
|
+
r(u, "orgIdBizDict", new z({})), // 实际投入人员
|
|
392
393
|
r(u, "contractUserBizDict", new F({})), // 验查结果
|
|
393
|
-
r(u, "isValuesDict", new
|
|
394
|
+
r(u, "isValuesDict", new _(a.IS_VALUES, {})), // 服务内容
|
|
394
395
|
r(u, "serviceContentEnum", new m(
|
|
395
396
|
a.MODULE_ITSMFLOW,
|
|
396
397
|
a.ENUM_SERVICE_CONTENT
|
|
@@ -426,14 +427,14 @@ export {
|
|
|
426
427
|
a as C,
|
|
427
428
|
u as D,
|
|
428
429
|
R as I,
|
|
429
|
-
|
|
430
|
+
z as O,
|
|
430
431
|
Y as U,
|
|
431
432
|
M as a,
|
|
432
433
|
B as b,
|
|
433
|
-
|
|
434
|
+
D as c,
|
|
434
435
|
b as d,
|
|
435
436
|
F as e,
|
|
436
437
|
V as f,
|
|
437
438
|
k as g,
|
|
438
|
-
|
|
439
|
+
O as i
|
|
439
440
|
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as M, ref as R, reactive as S, resolveComponent as s, r
|
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
4
|
import { i as Z } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang
|
|
6
|
-
import { C as ee, D as h } from "./index-
|
|
5
|
+
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang--_knO1G4.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-DwxrOrrB.mjs";
|
|
7
7
|
const oe = { class: "app-container" }, le = { class: "search-container" }, te = ["onClick"], ne = ["onClick"], pe = /* @__PURE__ */ M({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ae) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as k, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as _, createVNode as o, createBlock as A, createCommentVNode as S, withCtx as l, withKeys as F, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as $, isRef as T } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import { D as N, C as Z, i as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as N, C as Z, i as x } from "./index-DwxrOrrB.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-7II7oUb_.mjs";
|
|
6
6
|
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ne) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as U, mergeModels as K, ref as w, useModel as j, resolveComponent as b, createElementBlock as g, openBlock as m, Fragment as $, createVNode as t, withCtx as e, createElementVNode as v, createBlock as S, createCommentVNode as D, createTextVNode as n, toDisplayString as s, unref as y, renderList as M } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as W } from "vue-i18n";
|
|
4
|
-
import { D as f, i as q, C as G } from "./index-
|
|
5
|
-
import { i as H, a as J } from "./index-
|
|
4
|
+
import { D as f, i as q, C as G } from "./index-DwxrOrrB.mjs";
|
|
5
|
+
import { i as H, a as J } from "./index-DWAcpt7l.mjs";
|
|
6
6
|
import { fileApi as Q } from "jmash-core";
|
|
7
7
|
import { rbacApi as X } from "jmash-rbac";
|
|
8
8
|
const re = /* @__PURE__ */ U({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as le, mergeModels as oe, ref as w, useModel as te, reactive as ae, computed as Y, nextTick as ie, resolveComponent as p, createElementBlock as y, openBlock as f, Fragment as _, createVNode as l, withCtx as t, createElementVNode as q, unref as d, renderList as k, createBlock as A, toDisplayString as I, createTextVNode as S, createCommentVNode as re } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as se } from "vue-i18n";
|
|
4
|
-
import { i as L } from "./index-
|
|
5
|
-
import { U as ne, C as O, D as h, i as de } from "./index-
|
|
4
|
+
import { i as L } from "./index-B5KQp7b0.mjs";
|
|
5
|
+
import { U as ne, C as O, D as h, i as de } from "./index-DwxrOrrB.mjs";
|
|
6
6
|
import { u as ue } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { useUserStoreHook as me, fileApi as pe } from "jmash-core";
|
|
8
8
|
import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as H, ref as V, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as g, createElementVNode as y, createVNode as t, createBlock as S, createCommentVNode as D, withCtx as a, withKeys as c, unref as n, createTextVNode as k, toDisplayString as d, withDirectives as J, isRef as U } from "vue";
|
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
|
-
import { D as w, O as Y, C as Z, i as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as w, O as Y, C as Z, i as x } from "./index-DwxrOrrB.mjs";
|
|
5
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-BIXF9GEE.mjs";
|
|
6
6
|
const le = { class: "app-container" }, te = { class: "search-container" }, ae = ["onClick"], me = /* @__PURE__ */ H({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(oe) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "jmash-core";
|
|
2
|
-
import { d as m, e, T as o, b as I, p as l, r as T, s as p, t as i, h as w, j as k, k as F, l as n, m as d, n as E, o as c, f as S, g as u, u as y, a as A, i as O } from "./index-
|
|
2
|
+
import { d as m, e, T as o, b as I, p as l, r as T, s as p, t as i, h as w, j as k, k as F, l as n, m as d, n as E, o as c, f as S, g as u, u as y, a as A, i as O } from "./index-B5KQp7b0.mjs";
|
|
3
3
|
import "jmash-flow";
|
|
4
4
|
export {
|
|
5
5
|
m as TaskItsmFlowAcceptance,
|