xyvcard-itsm-flow 0.0.38 → 0.0.40
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-Ci_eOneE.mjs} +1 -1
- package/dist/{edit-Ds_Iif35.mjs → edit-B8QOEb9T.mjs} +1 -1
- package/dist/{edit-FrMPD4Q8.mjs → edit-BrWYQzAU.mjs} +1 -1
- package/dist/{edit-DGswtck8.mjs → edit-CclzcR4n.mjs} +2 -2
- package/dist/{edit-CxJiWVp8.mjs → edit-D4Nsm2gU.mjs} +1 -1
- package/dist/{edit-3YacNQ0m.mjs → edit-DBwlV6MR.mjs} +2 -2
- package/dist/{edit-BuyO4D5o.mjs → edit-DfTMpgeU.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DYt_vHYp.mjs → edit.vue_vue_type_script_setup_true_lang-BA47375X.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-B0H9i6ss.mjs → edit.vue_vue_type_script_setup_true_lang-BUXbn0jU.mjs} +6 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D8jDSSFA.mjs → edit.vue_vue_type_script_setup_true_lang-CsWcdCCs.mjs} +1 -1
- package/dist/{index-CZltgONr.mjs → index-3C3iJTMs.mjs} +4 -4
- package/dist/{index-Bzz32n0z.mjs → index-B6eLd801.mjs} +2 -2
- package/dist/{index-Cogrwku9.mjs → index-B9TW7q4g.mjs} +3 -3
- package/dist/{index-D1SasUNc.mjs → index-BCvta-jR.mjs} +1396 -1414
- package/dist/{index-tYL79USI.mjs → index-BHvB_K-i.mjs} +2 -2
- package/dist/{index-BK-_l_X-.mjs → index-BU9IELe_.mjs} +3 -3
- package/dist/{index-DWjlJOfX.mjs → index-BW7YXVa2.mjs} +2 -2
- package/dist/{index-BvewKE7L.mjs → index-BwssMLPi.mjs} +83 -83
- package/dist/{index-C8OzBTVT.mjs → index-C8LPXMVD.mjs} +4 -4
- package/dist/{index-DyLEMHeP.mjs → index-CAqg9B9i.mjs} +3 -3
- package/dist/{index-C2mvyDNS.mjs → index-CPmdf-pP.mjs} +2 -2
- package/dist/{index-Dh1Vp2x-.mjs → index-CTTc5mcl.mjs} +2 -2
- package/dist/{index-tyZIu7Pu.mjs → index-CV-8i5ri.mjs} +2 -2
- package/dist/{index-DA3MfjHf.mjs → index-Ch0tBQO3.mjs} +63 -63
- package/dist/{index-B6VcbMkg.mjs → index-CmGa6k9G.mjs} +20 -19
- package/dist/{index-xS9vmw1f.mjs → index-Co_36gNM.mjs} +3 -3
- package/dist/{index-DFBJG6cI.mjs → index-Cyo1J2-p.mjs} +2 -2
- package/dist/{index-DbGGQp4Z.mjs → index-D-ftDwpG.mjs} +2 -2
- package/dist/{index-D_avlTrt.mjs → index-D3BuSEuk.mjs} +2 -2
- package/dist/{index-qEBDruQw.mjs → index-D3e2-JkR.mjs} +1 -1
- package/dist/{index-CgU6trlJ.mjs → index-DBq5urEB.mjs} +3 -3
- package/dist/{index-DjEr5bDE.mjs → index-DEmEsfjw.mjs} +2 -2
- package/dist/{index-Dp0ddiVO.mjs → index-DFDC_2uJ.mjs} +1 -1
- package/dist/{index-rULCHGu0.mjs → index-DIM3j8mS.mjs} +3 -3
- package/dist/{index-Cmn2lxO_.mjs → index-DaZFNrLh.mjs} +1 -1
- package/dist/{index-BZgbmfjz.mjs → index-DbPWBo-L.mjs} +2 -2
- package/dist/{index-DgMMgRkD.mjs → index-RPGR15bn.mjs} +2 -2
- package/dist/{index-CcLbblVp.mjs → index-X3QRbugj.mjs} +3 -3
- package/dist/{index-DD-VdvMt.mjs → index-kso1Dxqq.mjs} +2 -2
- package/dist/{index-QfJMh7gj.mjs → index-lLhRPzBf.mjs} +2 -2
- package/dist/{index-BPnMz825.mjs → index-mipFcX6t.mjs} +4 -4
- package/dist/{index-B_HeEcEI.mjs → index-xf_6aena.mjs} +3 -3
- package/dist/{index-DSPo1jK_.mjs → index-zA4xCSy3.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{info-5b0MsAVP.mjs → info-B0pGJsod.mjs} +1 -1
- package/dist/{info-B0a03DPy.mjs → info-BjUEa-eb.mjs} +1 -1
- package/dist/{info-2yqOgs3g.mjs → info-CRaJbesG.mjs} +1 -1
- package/dist/{info-D4SI5dEl.mjs → info-Cy2XZz5r.mjs} +1 -1
- package/dist/info-Cz-33Bs2.mjs +4 -0
- package/dist/info-DEkMQeoo.mjs +4 -0
- package/dist/info-DXUtkO3f.mjs +4 -0
- package/dist/info-DoZamWuX.mjs +4 -0
- package/dist/info-vz0jJPO1.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-CLHSx_HM.mjs → info.vue_vue_type_script_setup_true_lang-1JRhLubU.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BP1NoBBM.mjs → info.vue_vue_type_script_setup_true_lang-BHUI7_UA.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BNqS_vNl.mjs → info.vue_vue_type_script_setup_true_lang-BgLrsZBV.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-D0llCWuF.mjs → info.vue_vue_type_script_setup_true_lang-Bu5cDst2.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DjqfjKao.mjs → info.vue_vue_type_script_setup_true_lang-CFtDWE3s.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-ipuXshVV.mjs → info.vue_vue_type_script_setup_true_lang-CyWjjPDg.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-IQSZ0nn1.mjs → info.vue_vue_type_script_setup_true_lang-Djxfvjly.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DDZO6qCX.mjs → info.vue_vue_type_script_setup_true_lang-OwtsrqgH.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CkiWEbLP.mjs → info.vue_vue_type_script_setup_true_lang-T9XM5c9w.mjs} +2 -2
- 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
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-BCvta-jR.mjs";
|
|
5
|
+
import { U as ae, C as w, D as M, i as ie } from "./index-CmGa6k9G.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";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as W, ref as h, reactive as R, resolveComponent as i, resolveDirective as X, createElementBlock as $, openBlock as c, createElementVNode as w, createVNode as o, createBlock as F, createCommentVNode as S, withCtx as l, withKeys as _, unref as a, createTextVNode as b, toDisplayString as u, withDirectives as I, isRef as j } from "vue";
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
|
-
import { a as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { C as te, D as p } from "./index-
|
|
4
|
+
import { a as x } from "./index-BCvta-jR.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-BUXbn0jU.mjs";
|
|
6
|
+
import { C as te, D as p } from "./index-CmGa6k9G.mjs";
|
|
7
7
|
const le = { class: "app-container" }, oe = { class: "search-container" }, ne = ["onClick"], ae = ["onClick"], ce = /* @__PURE__ */ W({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(re) {
|
|
@@ -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-CmGa6k9G.mjs";
|
|
5
|
+
import { i as H, a as J } from "./index-DaZFNrLh.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
|
-
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-BCvta-jR.mjs";
|
|
5
|
+
import { D as I, O as z, C as F, i as ce } from "./index-CmGa6k9G.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,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as te, getCurrentInstance as le, ref as w, reactive as R, onActivated as oe, resolveComponent as s, resolveDirective as ae, createElementBlock as _, openBlock as u, createElementVNode as v, createVNode as a, createBlock as V, createCommentVNode as C, withCtx as l, unref as r, withKeys as re, createTextVNode as p, toDisplayString as n, withDirectives as F, isRef as U } from "vue";
|
|
2
2
|
import { useTableHooks as ie } from "jmash-core";
|
|
3
3
|
import { useI18n as ne } from "vue-i18n";
|
|
4
|
-
import { i as se } from "./index-
|
|
5
|
-
import me from "./edit-
|
|
6
|
-
import { _ as ue } from "./info.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as T, O as j, C as $ } from "./index-
|
|
4
|
+
import { i as se } from "./index-BCvta-jR.mjs";
|
|
5
|
+
import me from "./edit-DBwlV6MR.mjs";
|
|
6
|
+
import { _ as ue } from "./info.vue_vue_type_script_setup_true_lang-Djxfvjly.mjs";
|
|
7
|
+
import { D as T, O as j, C as $ } from "./index-CmGa6k9G.mjs";
|
|
8
8
|
import { rbacApi as de } from "jmash-rbac";
|
|
9
9
|
const pe = { class: "app-container" }, ce = { class: "search-container" }, ye = { key: 0 }, fe = ["onClick"], ve = ["onClick"], ge = ["onClick"], Fe = /* @__PURE__ */ te({
|
|
10
10
|
__name: "index",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as V, reactive as H, onActivated as M, resolveComponent as s, resolveDirective as W, createElementBlock as h, openBlock as w, createElementVNode as v, createVNode as t, createBlock as C, createCommentVNode as $, withCtx as a, unref as r, withKeys as k, createTextVNode as P, toDisplayString as d, withDirectives as G, isRef as T } from "vue";
|
|
2
2
|
import { useTableHooks as J } from "jmash-core";
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
|
-
import { i as Z } from "./index-
|
|
5
|
-
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { D as c, O as ee, C as le } from "./index-
|
|
4
|
+
import { i as Z } from "./index-DaZFNrLh.mjs";
|
|
5
|
+
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-Bu5cDst2.mjs";
|
|
6
|
+
import { D as c, O as ee, C as le } from "./index-CmGa6k9G.mjs";
|
|
7
7
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
8
|
const ae = { class: "app-container" }, oe = { class: "search-container" }, re = ["onClick"], ne = /* @__PURE__ */ Q({
|
|
9
9
|
__name: "index",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as A, mergeModels as U, getCurrentInstance as E, ref as f, useModel as P, resolveComponent as c, createElementBlock as _, openBlock as p, Fragment as y, createVNode as t, withCtx as l, createElementVNode as T, createTextVNode as u, toDisplayString as m, renderList as C, unref as b, createBlock as x } from "vue";
|
|
2
2
|
import { rbacApi as O } from "jmash-rbac";
|
|
3
|
-
import { i as R, C as Y, D } from "./index-
|
|
3
|
+
import { i as R, C as Y, D } from "./index-CmGa6k9G.mjs";
|
|
4
4
|
import { fileApi as S } from "jmash-core";
|
|
5
|
-
import { i as j } from "./index-
|
|
5
|
+
import { i as j } from "./index-BCvta-jR.mjs";
|
|
6
6
|
const Q = /* @__PURE__ */ A({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: /* @__PURE__ */ U({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as K, mergeModels as j, ref as _, useModel as q, watch as W, resolveComponent as b, createElementBlock as F, openBlock as m, Fragment as $, createVNode as t, withCtx as l, createElementVNode as f, createBlock as S, createCommentVNode as D, createTextVNode as n, toDisplayString as s, unref as v, renderList as C } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as G } from "vue-i18n";
|
|
4
|
-
import { D as d, C as H, i as J } from "./index-
|
|
5
|
-
import { i as Q, a as X } from "./index-
|
|
4
|
+
import { D as d, C as H, i as J } from "./index-CmGa6k9G.mjs";
|
|
5
|
+
import { i as Q, a as X } from "./index-DaZFNrLh.mjs";
|
|
6
6
|
import { fileApi as Y } from "jmash-core";
|
|
7
7
|
import { rbacApi as Z } from "jmash-rbac";
|
|
8
8
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as z, mergeModels as N, ref as b, useModel as P, getCurrentInstance as A, resolveComponent as f, createElementBlock as v, openBlock as _, Fragment as g, createVNode as t, withCtx as l, createElementVNode as T, createTextVNode as n, toDisplayString as i, unref as p, renderList as B, createBlock as E } from "vue";
|
|
2
2
|
import { rbacApi as S } from "jmash-rbac";
|
|
3
|
-
import { D as d, i as U, C as R } from "./index-
|
|
3
|
+
import { D as d, i as U, C as R } from "./index-CmGa6k9G.mjs";
|
|
4
4
|
import { fileApi as Y } from "jmash-core";
|
|
5
|
-
import { i as j } from "./index-
|
|
5
|
+
import { i as j } from "./index-BCvta-jR.mjs";
|
|
6
6
|
const Q = /* @__PURE__ */ z({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: /* @__PURE__ */ N({
|