xyvcard-itsm-flow 0.0.27 → 0.0.29
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-DDqwfEMu.mjs → FileSaver.min-BJJnPj5_.mjs} +1 -1
- package/dist/{edit-BpAjiLxu.mjs → edit-7a3pU3gM.mjs} +32 -33
- package/dist/{edit-CkGTDSiH.mjs → edit-B766NO49.mjs} +1 -1
- package/dist/{edit-DIyC972n.mjs → edit-BlU9fwRY.mjs} +2 -2
- package/dist/{edit-BWaFYsWY.mjs → edit-Cr-eJzsu.mjs} +2 -2
- package/dist/{edit-BH_qEChy.mjs → edit-DoewXVPj.mjs} +1 -1
- package/dist/{edit-D0-xQV59.mjs → edit-OIcnLUiZ.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs → edit.vue_vue_type_script_setup_true_lang-B1O92nnS.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs → edit.vue_vue_type_script_setup_true_lang-BTZqpf-h.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs → edit.vue_vue_type_script_setup_true_lang-CTEuDDac.mjs} +1 -1
- package/dist/{index-Chh_9yED.mjs → index-B0EdAsac.mjs} +64 -64
- package/dist/{index-BkqkF7bW.mjs → index-BYjL5oUb.mjs} +1 -1
- package/dist/{index-Cd9CTAUb.mjs → index-BeiFftoz.mjs} +43 -43
- package/dist/{index-rHARbj0G.mjs → index-BokqyNKm.mjs} +3 -3
- package/dist/{index-Bjjyjlwd.mjs → index-BxTUhmxb.mjs} +1 -1
- package/dist/{index-n6pwVFlo.mjs → index-C-5DyRAf.mjs} +1 -1
- package/dist/{index-CillImY_.mjs → index-C0SUKE_b.mjs} +130 -131
- package/dist/{index-qvWMlGg9.mjs → index-CS4lbGVv.mjs} +2 -2
- package/dist/{index-CGDEQO2p.mjs → index-CTHETI78.mjs} +2 -2
- package/dist/{index-DfptoNZ3.mjs → index-ClSfPsAZ.mjs} +225 -234
- package/dist/{index-YBHgdjIk.mjs → index-CloP-imd.mjs} +77 -77
- package/dist/{index-WpTFFCXY.mjs → index-CvRKy1Zt.mjs} +3 -3
- package/dist/{index-DBRVK73O.mjs → index-DD73FsFR.mjs} +2 -2
- package/dist/{index-QPdQNctc.mjs → index-D_YsAUB5.mjs} +4 -4
- package/dist/{index-DjZysfQB.mjs → index-DdN_VfEA.mjs} +19 -20
- package/dist/{index-DY5EGkfi.mjs → index-DhIucH1l.mjs} +3 -3
- package/dist/{index-DxoX_XqQ.mjs → index-Dhi872WO.mjs} +54 -56
- package/dist/{index-D6Poyzq3.mjs → index-Dt4hyivI.mjs} +2 -2
- package/dist/index-FYXSfSRw.mjs +336 -0
- package/dist/{index-CXOeg2so.mjs → index-H9iJHz8H.mjs} +408 -378
- package/dist/{index-BKveaoi_.mjs → index-SHY9mfQ4.mjs} +15 -15
- package/dist/{index-CI9FMMKr.mjs → index-TwUCIPb2.mjs} +34 -35
- package/dist/{index-CjYlJigX.mjs → index-WI518CIo.mjs} +4 -4
- package/dist/{index-B20ya3NZ.mjs → index-ZWDwP27X.mjs} +93 -93
- package/dist/{index-CQ9elIv7.mjs → index-a9yfLGkF.mjs} +2 -2
- package/dist/{index-BKQGui3N.mjs → index-gz_fPNLU.mjs} +3 -3
- package/dist/{index-C3zQQDPa.mjs → index-nKA8vf-F.mjs} +3 -3
- package/dist/{index-DcDzU5zK.mjs → index-oOdJR6IJ.mjs} +61 -58
- package/dist/{index-CV6uWLV9.mjs → index-uxxOPESF.mjs} +33 -33
- package/dist/{index-DTY8LR57.mjs → index-yF5goVnK.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{info-BmfgBiif.mjs → info-B3IFH6JM.mjs} +1 -1
- package/dist/{info-C1J_4HDK.mjs → info-BPzoFpre.mjs} +1 -1
- package/dist/{info-DTZck-Y6.mjs → info-DDUOzO6P.mjs} +1 -1
- package/dist/{info-0Dcd8VrX.mjs → info-DeCyo-9t.mjs} +1 -1
- package/dist/info-DgdSwOpG.mjs +4 -0
- package/dist/info-mG4uiy17.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs → info.vue_vue_type_script_setup_true_lang-Bp7DYLNW.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs → info.vue_vue_type_script_setup_true_lang-BsVcXTOa.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs → info.vue_vue_type_script_setup_true_lang-DRu-ikYO.mjs} +14 -14
- package/dist/{info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs → info.vue_vue_type_script_setup_true_lang-DVV5aOiA.mjs} +10 -10
- package/dist/{info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs → info.vue_vue_type_script_setup_true_lang-DqrV1bD4.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs → info.vue_vue_type_script_setup_true_lang-QbYDyzuO.mjs} +12 -12
- package/dist/style.css +1 -1
- package/dts/api/itsm-flow-spare-parts-demand-data/index.d.ts +8 -0
- package/dts/api/itsm-flow-spare-parts-demand-data/types.d.ts +44 -0
- package/dts/api/itsm-flow-temporary/types.d.ts +1 -1
- package/dts/lang/itsm-flow/zh-cn.d.ts +29 -0
- package/dts/views/itsm-flow-spare-parts-demand-data/index.vue.d.ts +2 -0
- package/package.json +1 -1
- package/dist/info-DjtHpeoT.mjs +0 -4
- package/dist/info-qIG0jebP.mjs +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ie, mergeModels as ue, ref as c, useModel as de, reactive as M, computed as N, watch as B, 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 A, toDisplayString as P } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as fe } from "vue-i18n";
|
|
4
|
-
import { i as
|
|
5
|
-
import { D as
|
|
4
|
+
import { i as Y } from "./index-H9iJHz8H.mjs";
|
|
5
|
+
import { D as I, O as z, C as F, i as ce } from "./index-yF5goVnK.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";
|
|
9
9
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
|
-
const be = /* @__PURE__ */
|
|
10
|
+
const be = /* @__PURE__ */ ie({
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: /* @__PURE__ */ ue({
|
|
13
13
|
task: {
|
|
@@ -21,95 +21,95 @@ const be = /* @__PURE__ */ se({
|
|
|
21
21
|
}),
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
23
|
setup(V, { expose: E }) {
|
|
24
|
-
const j = Ie(), { t:
|
|
25
|
-
|
|
26
|
-
const m = de(V, "modelValue"), k = new
|
|
24
|
+
const j = Ie(), { t: f } = fe(), O = c();
|
|
25
|
+
I.itemBizLayDict.useValues();
|
|
26
|
+
const m = de(V, "modelValue"), k = new z({ orgType: F.HALL });
|
|
27
27
|
k.useValues();
|
|
28
|
-
const q = new
|
|
29
|
-
q.useValues(),
|
|
30
|
-
const
|
|
31
|
-
let t =
|
|
28
|
+
const q = new z({ orgType: F.OUTSOURCE });
|
|
29
|
+
q.useValues(), I.userExtBizDict.useValues();
|
|
30
|
+
const R = c((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
31
|
+
let t = M({
|
|
32
32
|
requestId: Math.random() * 10 + "",
|
|
33
33
|
files: [],
|
|
34
|
-
temporaryType:
|
|
34
|
+
temporaryType: F.External
|
|
35
35
|
});
|
|
36
|
-
const
|
|
36
|
+
const $ = N(() => t.govOrgId ? I.itemBizLayDict.values.filter(
|
|
37
37
|
(l) => l.orgId === t.govOrgId
|
|
38
38
|
) : []);
|
|
39
39
|
function H(e) {
|
|
40
40
|
t.itemId = void 0;
|
|
41
41
|
}
|
|
42
|
-
const v =
|
|
42
|
+
const v = c([]), y = c([]);
|
|
43
43
|
ye.findList().then((e) => {
|
|
44
44
|
v.value = e.data.results;
|
|
45
|
-
}),
|
|
45
|
+
}), B(
|
|
46
46
|
[v, () => t.userId],
|
|
47
47
|
([e, l]) => {
|
|
48
|
-
e && l && t.outOrgId && (
|
|
49
|
-
(
|
|
48
|
+
e && l && t.outOrgId && (y.value = e.filter(
|
|
49
|
+
(i) => i.orgId === t.outOrgId
|
|
50
50
|
));
|
|
51
51
|
},
|
|
52
52
|
{ immediate: !0 }
|
|
53
|
-
),
|
|
53
|
+
), B(
|
|
54
54
|
() => t.outOrgId,
|
|
55
55
|
(e) => {
|
|
56
|
-
e && Array.isArray(v.value) ? (
|
|
56
|
+
e && Array.isArray(v.value) ? (y.value = v.value.filter(
|
|
57
57
|
(l) => l.orgId === e
|
|
58
|
-
),
|
|
58
|
+
), t.userId && !y.value.some(
|
|
59
59
|
(l) => l.userId === t.userId
|
|
60
|
-
) && (t.userId = "")) : (
|
|
60
|
+
) && (t.userId = "")) : (y.value = [], t.userId = "");
|
|
61
61
|
},
|
|
62
62
|
{ immediate: !0 }
|
|
63
63
|
);
|
|
64
|
-
const
|
|
64
|
+
const T = c(!1), C = c(), K = M({
|
|
65
65
|
govOrgId: [
|
|
66
66
|
{
|
|
67
67
|
required: !0,
|
|
68
|
-
message:
|
|
68
|
+
message: f("itsmFlowTemporary.govOrgIdRequired"),
|
|
69
69
|
trigger: "change"
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
itemId: [
|
|
73
73
|
{
|
|
74
74
|
required: !0,
|
|
75
|
-
message:
|
|
75
|
+
message: f("itsmFlowTemporary.itemIdRequired"),
|
|
76
76
|
trigger: "change"
|
|
77
77
|
}
|
|
78
78
|
],
|
|
79
79
|
title: [
|
|
80
80
|
{
|
|
81
81
|
required: !0,
|
|
82
|
-
message:
|
|
82
|
+
message: f("itsmFlowTemporary.titleRequired"),
|
|
83
83
|
trigger: "change"
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
86
|
temporaryType: [
|
|
87
87
|
{
|
|
88
88
|
required: !0,
|
|
89
|
-
message:
|
|
89
|
+
message: f("itsmFlowTemporary.temporaryTypeRequired"),
|
|
90
90
|
trigger: "change"
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
93
|
outOrgId: [
|
|
94
94
|
{
|
|
95
95
|
required: !0,
|
|
96
|
-
message:
|
|
96
|
+
message: f("itsmFlowTemporary.outOrgIdRequired"),
|
|
97
97
|
trigger: "change"
|
|
98
98
|
}
|
|
99
99
|
],
|
|
100
100
|
userId: [
|
|
101
101
|
{
|
|
102
102
|
required: !0,
|
|
103
|
-
message:
|
|
103
|
+
message: f("itsmFlowTemporary.userIdRequired"),
|
|
104
104
|
trigger: "change"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
|
-
}),
|
|
108
|
-
const e =
|
|
107
|
+
}), D = V, W = N(() => {
|
|
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
|
-
|
|
112
|
+
T.value = !0, C.value.clearFileList();
|
|
113
113
|
}
|
|
114
114
|
function J(e) {
|
|
115
115
|
const l = {
|
|
@@ -120,24 +120,23 @@ const be = /* @__PURE__ */ se({
|
|
|
120
120
|
};
|
|
121
121
|
t.files || (t.files = []), t.files.push(l), t.files = [...new Set(t.files)];
|
|
122
122
|
}
|
|
123
|
-
console.log(f.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
|
|
124
123
|
function Q(e) {
|
|
125
124
|
var l;
|
|
126
125
|
(l = t.files) == null || l.splice(e, 1);
|
|
127
126
|
}
|
|
128
|
-
|
|
127
|
+
Y.findById({ temporaryId: D.task.businessKey }).then(({ data: e }) => {
|
|
129
128
|
t.outOrgId = e.outOrgId, ne(() => {
|
|
130
129
|
Object.assign(t, e), X();
|
|
131
130
|
});
|
|
132
131
|
});
|
|
133
132
|
function X() {
|
|
134
|
-
ce.findFilesList({ actionId:
|
|
135
|
-
|
|
136
|
-
let
|
|
137
|
-
return l.fileName && (
|
|
133
|
+
ce.findFilesList({ actionId: D.task.businessKey }).then(({ data: e }) => {
|
|
134
|
+
e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
|
|
135
|
+
let i = "";
|
|
136
|
+
return l.fileName && (i = l.fileSort || l.type || ""), {
|
|
138
137
|
fileName: l.fileName || "",
|
|
139
138
|
fileId: l.fileId || "",
|
|
140
|
-
fileSort:
|
|
139
|
+
fileSort: i
|
|
141
140
|
};
|
|
142
141
|
}));
|
|
143
142
|
});
|
|
@@ -149,48 +148,48 @@ const be = /* @__PURE__ */ se({
|
|
|
149
148
|
return m.value && (m.value.selectActions = [
|
|
150
149
|
{ key: "true", value: "同意" },
|
|
151
150
|
{ key: "false", value: "不同意" }
|
|
152
|
-
], m.value.varName = "approved", m.value.module = "", m.value.module =
|
|
153
|
-
var
|
|
154
|
-
(
|
|
155
|
-
b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "",
|
|
151
|
+
], m.value.varName = "approved", m.value.module = "", m.value.module = F.MODULE_ITSMFLOW), new Promise((e, l) => {
|
|
152
|
+
var i;
|
|
153
|
+
(i = O.value) == null || i.validate((b) => {
|
|
154
|
+
b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "", Y.create(t).then((u) => {
|
|
156
155
|
u.status === 200 ? e(!0) : l(!1);
|
|
157
156
|
})) : l(!1);
|
|
158
157
|
});
|
|
159
158
|
});
|
|
160
159
|
}
|
|
161
160
|
return (e, l) => {
|
|
162
|
-
const
|
|
163
|
-
return n(), p(
|
|
164
|
-
o(
|
|
165
|
-
default:
|
|
161
|
+
const i = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), U = d("el-option"), S = 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
|
+
return n(), p(g, null, [
|
|
163
|
+
o(i, { span: 24 }, {
|
|
164
|
+
default: a(() => l[9] || (l[9] = [
|
|
166
165
|
me("div", { class: "title" }, "外部临时工单临时工单", -1)
|
|
167
166
|
])),
|
|
168
167
|
_: 1,
|
|
169
168
|
__: [9]
|
|
170
169
|
}),
|
|
171
|
-
o(
|
|
170
|
+
o(re, {
|
|
172
171
|
ref_key: "taskFormRef",
|
|
173
172
|
ref: O,
|
|
174
|
-
model:
|
|
173
|
+
model: s(t),
|
|
175
174
|
"label-width": "150px",
|
|
176
175
|
rules: K,
|
|
177
176
|
class: "custom-table-form custom-form"
|
|
178
177
|
}, {
|
|
179
|
-
default:
|
|
178
|
+
default: a(() => [
|
|
180
179
|
o(oe, null, {
|
|
181
|
-
default:
|
|
182
|
-
o(
|
|
183
|
-
default:
|
|
180
|
+
default: a(() => [
|
|
181
|
+
o(i, { span: 24 }, {
|
|
182
|
+
default: a(() => [
|
|
184
183
|
o(u, {
|
|
185
184
|
label: e.$t("itsmFlowSpareParts.govOrgId"),
|
|
186
185
|
prop: "govOrgId"
|
|
187
186
|
}, {
|
|
188
|
-
default:
|
|
187
|
+
default: a(() => [
|
|
189
188
|
o(b, {
|
|
190
|
-
modelValue:
|
|
191
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
189
|
+
modelValue: s(t).govOrgId,
|
|
190
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => s(t).govOrgId = r),
|
|
192
191
|
placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
|
|
193
|
-
data:
|
|
192
|
+
data: s(k).values,
|
|
194
193
|
clearable: "",
|
|
195
194
|
filterable: "",
|
|
196
195
|
class: "w-full",
|
|
@@ -202,27 +201,27 @@ const be = /* @__PURE__ */ se({
|
|
|
202
201
|
]),
|
|
203
202
|
_: 1
|
|
204
203
|
}),
|
|
205
|
-
o(
|
|
206
|
-
default:
|
|
204
|
+
o(i, { span: 24 }, {
|
|
205
|
+
default: a(() => [
|
|
207
206
|
o(u, {
|
|
208
207
|
label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
|
|
209
208
|
prop: "itemId"
|
|
210
209
|
}, {
|
|
211
|
-
default:
|
|
212
|
-
o(
|
|
213
|
-
modelValue:
|
|
214
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
210
|
+
default: a(() => [
|
|
211
|
+
o(S, {
|
|
212
|
+
modelValue: s(t).itemId,
|
|
213
|
+
"onUpdate:modelValue": l[1] || (l[1] = (r) => s(t).itemId = r),
|
|
215
214
|
placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
216
|
-
data:
|
|
215
|
+
data: $.value,
|
|
217
216
|
clearable: "",
|
|
218
217
|
filterable: "",
|
|
219
|
-
disabled: !
|
|
218
|
+
disabled: !s(t).govOrgId
|
|
220
219
|
}, {
|
|
221
|
-
default:
|
|
222
|
-
(n(!0), p(
|
|
223
|
-
key:
|
|
224
|
-
value:
|
|
225
|
-
label:
|
|
220
|
+
default: a(() => [
|
|
221
|
+
(n(!0), p(g, null, _($.value, (r) => (n(), h(U, {
|
|
222
|
+
key: r.key,
|
|
223
|
+
value: r.key,
|
|
224
|
+
label: r.value
|
|
226
225
|
}, null, 8, ["value", "label"]))), 128))
|
|
227
226
|
]),
|
|
228
227
|
_: 1
|
|
@@ -233,14 +232,14 @@ const be = /* @__PURE__ */ se({
|
|
|
233
232
|
]),
|
|
234
233
|
_: 1
|
|
235
234
|
}),
|
|
236
|
-
o(
|
|
237
|
-
default:
|
|
235
|
+
o(i, { span: 12 }, {
|
|
236
|
+
default: a(() => [
|
|
238
237
|
o(u, {
|
|
239
238
|
label: e.$t("itsmFlowTemporary.createBy")
|
|
240
239
|
}, {
|
|
241
|
-
default:
|
|
240
|
+
default: a(() => [
|
|
242
241
|
o(w, {
|
|
243
|
-
value:
|
|
242
|
+
value: s(j).user.realName,
|
|
244
243
|
placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
|
|
245
244
|
"show-word-limit": "",
|
|
246
245
|
clearable: "",
|
|
@@ -252,16 +251,16 @@ const be = /* @__PURE__ */ se({
|
|
|
252
251
|
]),
|
|
253
252
|
_: 1
|
|
254
253
|
}),
|
|
255
|
-
o(
|
|
256
|
-
default:
|
|
254
|
+
o(i, { span: 12 }, {
|
|
255
|
+
default: a(() => [
|
|
257
256
|
o(u, {
|
|
258
257
|
label: e.$t("itsmFlowTemporary.createTime"),
|
|
259
258
|
prop: "createTime"
|
|
260
259
|
}, {
|
|
261
|
-
default:
|
|
260
|
+
default: a(() => [
|
|
262
261
|
o(x, {
|
|
263
|
-
modelValue:
|
|
264
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
262
|
+
modelValue: R.value,
|
|
263
|
+
"onUpdate:modelValue": l[2] || (l[2] = (r) => R.value = r),
|
|
265
264
|
type: "date",
|
|
266
265
|
placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
|
|
267
266
|
format: "YYYY-MM-DD",
|
|
@@ -276,16 +275,16 @@ const be = /* @__PURE__ */ se({
|
|
|
276
275
|
]),
|
|
277
276
|
_: 1
|
|
278
277
|
}),
|
|
279
|
-
o(
|
|
280
|
-
default:
|
|
278
|
+
o(i, { span: 24 }, {
|
|
279
|
+
default: a(() => [
|
|
281
280
|
o(u, {
|
|
282
281
|
label: e.$t("itsmFlowTemporary.title"),
|
|
283
282
|
prop: "title"
|
|
284
283
|
}, {
|
|
285
|
-
default:
|
|
284
|
+
default: a(() => [
|
|
286
285
|
o(w, {
|
|
287
|
-
modelValue:
|
|
288
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
286
|
+
modelValue: s(t).title,
|
|
287
|
+
"onUpdate:modelValue": l[3] || (l[3] = (r) => s(t).title = r),
|
|
289
288
|
placeholder: e.$t("itsmFlowTemporary.titleRequired"),
|
|
290
289
|
"show-word-limit": "",
|
|
291
290
|
clearable: ""
|
|
@@ -296,16 +295,16 @@ const be = /* @__PURE__ */ se({
|
|
|
296
295
|
]),
|
|
297
296
|
_: 1
|
|
298
297
|
}),
|
|
299
|
-
o(
|
|
300
|
-
default:
|
|
298
|
+
o(i, { span: 24 }, {
|
|
299
|
+
default: a(() => [
|
|
301
300
|
o(u, {
|
|
302
301
|
label: e.$t("itsmFlowTemporary.content"),
|
|
303
302
|
prop: "content"
|
|
304
303
|
}, {
|
|
305
|
-
default:
|
|
304
|
+
default: a(() => [
|
|
306
305
|
o(w, {
|
|
307
|
-
modelValue:
|
|
308
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
306
|
+
modelValue: s(t).content,
|
|
307
|
+
"onUpdate:modelValue": l[4] || (l[4] = (r) => s(t).content = r),
|
|
309
308
|
placeholder: e.$t("itsmFlowTemporary.contentRequired"),
|
|
310
309
|
"show-word-limit": "",
|
|
311
310
|
clearable: ""
|
|
@@ -316,21 +315,21 @@ const be = /* @__PURE__ */ se({
|
|
|
316
315
|
]),
|
|
317
316
|
_: 1
|
|
318
317
|
}),
|
|
319
|
-
o(
|
|
320
|
-
default:
|
|
321
|
-
(n(!0), p(
|
|
322
|
-
key:
|
|
318
|
+
o(i, { span: 24 }, {
|
|
319
|
+
default: a(() => [
|
|
320
|
+
(n(!0), p(g, null, _(s(I).fileTypeDict.values.slice(2, 3), (r, we) => (n(), p(g, {
|
|
321
|
+
key: r.dictCode
|
|
323
322
|
}, [
|
|
324
323
|
o(u, {
|
|
325
|
-
label:
|
|
324
|
+
label: r.dictName
|
|
326
325
|
}, {
|
|
327
|
-
default:
|
|
326
|
+
default: a(() => [
|
|
328
327
|
o(ee, {
|
|
329
328
|
type: "primary",
|
|
330
|
-
icon:
|
|
329
|
+
icon: s(ge),
|
|
331
330
|
onClick: G
|
|
332
331
|
}, {
|
|
333
|
-
default:
|
|
332
|
+
default: a(() => [
|
|
334
333
|
A(P(e.$t("common.uploadFiles")), 1)
|
|
335
334
|
]),
|
|
336
335
|
_: 1
|
|
@@ -338,19 +337,19 @@ const be = /* @__PURE__ */ se({
|
|
|
338
337
|
]),
|
|
339
338
|
_: 2
|
|
340
339
|
}, 1032, ["label"]),
|
|
341
|
-
|
|
342
|
-
default:
|
|
343
|
-
(n(!0), p(
|
|
344
|
-
key:
|
|
340
|
+
s(t).files && s(t).files.length > 0 ? (n(), h(u, { key: 0 }, {
|
|
341
|
+
default: a(() => [
|
|
342
|
+
(n(!0), p(g, null, _(s(t).files, (se, L) => (n(), p("div", {
|
|
343
|
+
key: L,
|
|
345
344
|
class: "files-list"
|
|
346
345
|
}, [
|
|
347
|
-
A(P(
|
|
346
|
+
A(P(se.fileName) + " ", 1),
|
|
348
347
|
o(te, {
|
|
349
348
|
size: "16",
|
|
350
349
|
class: "icon-right",
|
|
351
|
-
onClick: (_e) => Q(
|
|
350
|
+
onClick: (_e) => Q(L)
|
|
352
351
|
}, {
|
|
353
|
-
default:
|
|
352
|
+
default: a(() => [
|
|
354
353
|
o(le)
|
|
355
354
|
]),
|
|
356
355
|
_: 2
|
|
@@ -363,18 +362,18 @@ const be = /* @__PURE__ */ se({
|
|
|
363
362
|
]),
|
|
364
363
|
_: 1
|
|
365
364
|
}),
|
|
366
|
-
o(
|
|
367
|
-
default:
|
|
365
|
+
o(i, { span: 24 }, {
|
|
366
|
+
default: a(() => [
|
|
368
367
|
o(u, {
|
|
369
368
|
label: e.$t("itsmFlowTemporary.outOrgIdTemporary"),
|
|
370
369
|
prop: "outOrgId"
|
|
371
370
|
}, {
|
|
372
|
-
default:
|
|
371
|
+
default: a(() => [
|
|
373
372
|
o(b, {
|
|
374
|
-
modelValue:
|
|
375
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
373
|
+
modelValue: s(t).outOrgId,
|
|
374
|
+
"onUpdate:modelValue": l[5] || (l[5] = (r) => s(t).outOrgId = r),
|
|
376
375
|
placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
|
|
377
|
-
data:
|
|
376
|
+
data: s(q).values,
|
|
378
377
|
clearable: "",
|
|
379
378
|
filterable: "",
|
|
380
379
|
class: "w-full"
|
|
@@ -385,26 +384,26 @@ const be = /* @__PURE__ */ se({
|
|
|
385
384
|
]),
|
|
386
385
|
_: 1
|
|
387
386
|
}),
|
|
388
|
-
o(
|
|
389
|
-
default:
|
|
387
|
+
o(i, { span: 24 }, {
|
|
388
|
+
default: a(() => [
|
|
390
389
|
o(u, {
|
|
391
390
|
label: e.$t("itsmFlowTemporary.userIdTemporary"),
|
|
392
391
|
prop: "userId"
|
|
393
392
|
}, {
|
|
394
|
-
default:
|
|
395
|
-
o(
|
|
396
|
-
modelValue:
|
|
397
|
-
"onUpdate:modelValue": l[6] || (l[6] = (
|
|
393
|
+
default: a(() => [
|
|
394
|
+
o(S, {
|
|
395
|
+
modelValue: s(t).userId,
|
|
396
|
+
"onUpdate:modelValue": l[6] || (l[6] = (r) => s(t).userId = r),
|
|
398
397
|
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
399
398
|
"show-word-limit": "",
|
|
400
399
|
clearable: "",
|
|
401
400
|
class: "w-full"
|
|
402
401
|
}, {
|
|
403
|
-
default:
|
|
404
|
-
(n(!0), p(
|
|
405
|
-
key:
|
|
406
|
-
value:
|
|
407
|
-
label:
|
|
402
|
+
default: a(() => [
|
|
403
|
+
(n(!0), p(g, null, _(y.value, (r) => (n(), h(U, {
|
|
404
|
+
key: r.userId,
|
|
405
|
+
value: r.userId,
|
|
406
|
+
label: r.realName
|
|
408
407
|
}, null, 8, ["value", "label"]))), 128))
|
|
409
408
|
]),
|
|
410
409
|
_: 1
|
|
@@ -415,16 +414,16 @@ const be = /* @__PURE__ */ se({
|
|
|
415
414
|
]),
|
|
416
415
|
_: 1
|
|
417
416
|
}),
|
|
418
|
-
o(
|
|
419
|
-
default:
|
|
417
|
+
o(i, { span: 24 }, {
|
|
418
|
+
default: a(() => [
|
|
420
419
|
o(u, {
|
|
421
420
|
label: e.$t("itsmFlowTemporary.handlingPeriod"),
|
|
422
421
|
prop: "handlingPeriod"
|
|
423
422
|
}, {
|
|
424
|
-
default:
|
|
423
|
+
default: a(() => [
|
|
425
424
|
o(w, {
|
|
426
|
-
modelValue:
|
|
427
|
-
"onUpdate:modelValue": l[7] || (l[7] = (
|
|
425
|
+
modelValue: s(t).handlingPeriod,
|
|
426
|
+
"onUpdate:modelValue": l[7] || (l[7] = (r) => s(t).handlingPeriod = r),
|
|
428
427
|
placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
|
|
429
428
|
"show-word-limit": "",
|
|
430
429
|
clearable: ""
|
|
@@ -441,17 +440,17 @@ const be = /* @__PURE__ */ se({
|
|
|
441
440
|
]),
|
|
442
441
|
_: 1
|
|
443
442
|
}, 8, ["model", "rules"]),
|
|
444
|
-
o(
|
|
443
|
+
o(ae, {
|
|
445
444
|
ref_key: "uploadRef",
|
|
446
|
-
ref:
|
|
447
|
-
modelValue:
|
|
448
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
|
445
|
+
ref: C,
|
|
446
|
+
modelValue: T.value,
|
|
447
|
+
"onUpdate:modelValue": l[8] || (l[8] = (r) => T.value = r),
|
|
449
448
|
onUploadFileList: J
|
|
450
449
|
}, null, 8, ["modelValue"])
|
|
451
450
|
], 64);
|
|
452
451
|
};
|
|
453
452
|
}
|
|
454
|
-
}),
|
|
453
|
+
}), Ce = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-c459c313"]]);
|
|
455
454
|
export {
|
|
456
|
-
|
|
455
|
+
Ce as default
|
|
457
456
|
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, r
|
|
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
4
|
import { i as Y } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { D as k, O as Z, C as x } from "./index-
|
|
6
|
-
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { D as k, O as Z, C as x } from "./index-yF5goVnK.mjs";
|
|
6
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-DqrV1bD4.mjs";
|
|
7
7
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], de = /* @__PURE__ */ H({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ne) {
|
|
@@ -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-yF5goVnK.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-BTZqpf-h.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) {
|