xyvcard-itsm-flow 0.0.36 → 0.0.38
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-ClNkVClN.mjs → FileSaver.min-C-3rxI72.mjs} +1 -1
- package/dist/{edit-CKextQDx.mjs → edit-3YacNQ0m.mjs} +2 -2
- package/dist/{edit-CM7ZEDiX.mjs → edit-BuyO4D5o.mjs} +2 -2
- package/dist/{edit-DdAC6cfV.mjs → edit-CxJiWVp8.mjs} +1 -1
- package/dist/{edit-DBbtD7fG.mjs → edit-DGswtck8.mjs} +29 -29
- package/dist/{edit-BEdr_8PJ.mjs → edit-Ds_Iif35.mjs} +1 -1
- package/dist/{edit-x5wciLgT.mjs → edit-FrMPD4Q8.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BleGu-Ls.mjs → edit.vue_vue_type_script_setup_true_lang-B0H9i6ss.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-h8mpKFR4.mjs → edit.vue_vue_type_script_setup_true_lang-D8jDSSFA.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BAf8q7CN.mjs → edit.vue_vue_type_script_setup_true_lang-DYt_vHYp.mjs} +1 -1
- package/dist/{index-BplQVJ9-.mjs → index-B6VcbMkg.mjs} +1 -1
- package/dist/{index-CIIwH5CM.mjs → index-BK-_l_X-.mjs} +3 -3
- package/dist/{index-DZz2iF4d.mjs → index-BPnMz825.mjs} +4 -4
- package/dist/{index-CakK31Rp.mjs → index-BZgbmfjz.mjs} +72 -71
- package/dist/{index-BIu8ak2p.mjs → index-B_HeEcEI.mjs} +3 -3
- package/dist/{index-D993kfeg.mjs → index-BvewKE7L.mjs} +4 -4
- package/dist/{index-LxX80FPC.mjs → index-Bzz32n0z.mjs} +2 -2
- package/dist/{index-CMO-1BoO.mjs → index-C2mvyDNS.mjs} +16 -16
- package/dist/{index-S9BLyA2n.mjs → index-C8OzBTVT.mjs} +4 -4
- package/dist/{index-BECzf4l_.mjs → index-CZltgONr.mjs} +4 -4
- package/dist/{index-nW76ObDz.mjs → index-CcLbblVp.mjs} +3 -3
- package/dist/{index-yEXkk-Jd.mjs → index-CgU6trlJ.mjs} +6 -6
- package/dist/{index-BSGtDp12.mjs → index-Cmn2lxO_.mjs} +1 -1
- package/dist/{index-F9dxfOkY.mjs → index-Cogrwku9.mjs} +24 -24
- package/dist/{index-CVQgcLRH.mjs → index-D1SasUNc.mjs} +1415 -1396
- package/dist/index-DA3MfjHf.mjs +317 -0
- package/dist/{index-BOgdU813.mjs → index-DD-VdvMt.mjs} +2 -2
- package/dist/{index-8zrIyQWX.mjs → index-DFBJG6cI.mjs} +55 -55
- package/dist/{index-Bzv1T2rE.mjs → index-DSPo1jK_.mjs} +2 -2
- package/dist/{index-BM5T4IKm.mjs → index-DWjlJOfX.mjs} +2 -2
- package/dist/{index-BvcE9kx0.mjs → index-D_avlTrt.mjs} +2 -2
- package/dist/{index-C1TIJpBX.mjs → index-DbGGQp4Z.mjs} +2 -2
- package/dist/{index-tdS-iw08.mjs → index-DgMMgRkD.mjs} +13 -13
- package/dist/{index-C50GEcoN.mjs → index-Dh1Vp2x-.mjs} +2 -2
- package/dist/{index-qRMBTq3z.mjs → index-DjEr5bDE.mjs} +2 -2
- package/dist/{index-DGZ_lllw.mjs → index-Dp0ddiVO.mjs} +1 -1
- package/dist/{index-CTC_D8-A.mjs → index-DyLEMHeP.mjs} +19 -19
- package/dist/{index-DaFFNgmK.mjs → index-QfJMh7gj.mjs} +17 -17
- package/dist/{index-C8VALc-x.mjs → index-qEBDruQw.mjs} +1 -1
- package/dist/{index-CyInqmhb.mjs → index-rULCHGu0.mjs} +3 -3
- package/dist/{index-D9Wi_j9h.mjs → index-tYL79USI.mjs} +12 -12
- package/dist/{index-0uHuIS0s.mjs → index-tyZIu7Pu.mjs} +3 -3
- package/dist/{index-DSftvy63.mjs → index-xS9vmw1f.mjs} +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{info-BZbUpYKc.mjs → info-2yqOgs3g.mjs} +1 -1
- package/dist/{info-BeyeJ52O.mjs → info-5b0MsAVP.mjs} +1 -1
- package/dist/{info-DBab8bvh.mjs → info-B0a03DPy.mjs} +1 -1
- package/dist/{info-B5VZK_Jj.mjs → info-D4SI5dEl.mjs} +1 -1
- package/dist/info-D8pJ4cqt.mjs +4 -0
- package/dist/info-DL-3XM_F.mjs +4 -0
- package/dist/info-Dauh_znj.mjs +4 -0
- package/dist/info-DqJrwwrx.mjs +4 -0
- package/dist/info-vZkqfj4d.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-e7laeTRw.mjs → info.vue_vue_type_script_setup_true_lang-BNqS_vNl.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CcoLQKWP.mjs → info.vue_vue_type_script_setup_true_lang-BP1NoBBM.mjs} +51 -50
- package/dist/{info.vue_vue_type_script_setup_true_lang-DgCsBUKD.mjs → info.vue_vue_type_script_setup_true_lang-CLHSx_HM.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-C9jHBNnr.mjs → info.vue_vue_type_script_setup_true_lang-CkiWEbLP.mjs} +28 -27
- package/dist/{info.vue_vue_type_script_setup_true_lang-Cg4p0Ii9.mjs → info.vue_vue_type_script_setup_true_lang-D0llCWuF.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CdC1rr1N.mjs → info.vue_vue_type_script_setup_true_lang-DDZO6qCX.mjs} +11 -11
- package/dist/{info.vue_vue_type_script_setup_true_lang-CCFoSbcQ.mjs → info.vue_vue_type_script_setup_true_lang-DjqfjKao.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-4OIr_eeU.mjs → info.vue_vue_type_script_setup_true_lang-IQSZ0nn1.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-C6DieIN8.mjs → info.vue_vue_type_script_setup_true_lang-ipuXshVV.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/lang/itsm-flow/zh-cn.d.ts +1 -0
- package/package.json +2 -2
- package/dist/index-BKffbxRi.mjs +0 -316
- package/dist/info-DD_FUSc5.mjs +0 -4
- package/dist/info-DIuxgoOh.mjs +0 -4
- package/dist/info-DixdvVdw.mjs +0 -4
- package/dist/info-DkYsYIN0.mjs +0 -4
- package/dist/info-iChisiU3.mjs +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as X, getCurrentInstance as Z, ref as h, onMounted as ee, resolveComponent as s, resolveDirective as te, createElementBlock as C, openBlock as _, createElementVNode as k, createVNode as r, withCtx as l, withKeys as $, unref as n, createTextVNode as c, toDisplayString as p, createCommentVNode as V, createBlock as M, isRef as N, withDirectives as ae } from "vue";
|
|
2
2
|
import { useUserStore as T, clearEmpty as I, request as B, useTableHooks as le } from "jmash-core";
|
|
3
3
|
import { useI18n as oe } from "vue-i18n";
|
|
4
|
-
import { q as re } from "./index-
|
|
4
|
+
import { q as re } from "./index-D1SasUNc.mjs";
|
|
5
5
|
import { rbacApi as ne } from "jmash-rbac";
|
|
6
|
-
import { D as R } from "./index-
|
|
6
|
+
import { D as R } from "./index-B6VcbMkg.mjs";
|
|
7
7
|
class se {
|
|
8
8
|
getKey(m) {
|
|
9
9
|
return {};
|
|
@@ -61,7 +61,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
61
61
|
{
|
|
62
62
|
label: "itsmFlowSparePartsDemand.type",
|
|
63
63
|
prop: "type",
|
|
64
|
-
|
|
64
|
+
minWidth: "100",
|
|
65
65
|
sortable: "custom",
|
|
66
66
|
isColumn: !0
|
|
67
67
|
},
|
|
@@ -89,7 +89,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
89
89
|
{
|
|
90
90
|
label: "itsmFlowSparePartsDemand.parameter",
|
|
91
91
|
prop: "parameter",
|
|
92
|
-
minWidth: "
|
|
92
|
+
minWidth: "105",
|
|
93
93
|
sortable: "custom",
|
|
94
94
|
isColumn: !0
|
|
95
95
|
},
|
|
@@ -103,7 +103,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
103
103
|
{
|
|
104
104
|
label: "itsmFlowSparePartsDemand.range",
|
|
105
105
|
prop: "range",
|
|
106
|
-
width: "
|
|
106
|
+
width: "110",
|
|
107
107
|
sortable: "custom",
|
|
108
108
|
isColumn: !0
|
|
109
109
|
},
|
|
@@ -112,7 +112,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
112
112
|
prop: "orgId",
|
|
113
113
|
slotName: "orgId",
|
|
114
114
|
columnType: "slot",
|
|
115
|
-
|
|
115
|
+
minWidth: "150",
|
|
116
116
|
sortable: "custom",
|
|
117
117
|
isColumn: !0
|
|
118
118
|
},
|
|
@@ -121,7 +121,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
121
121
|
prop: "createBy",
|
|
122
122
|
slotName: "createBy",
|
|
123
123
|
columnType: "slot",
|
|
124
|
-
width: "
|
|
124
|
+
width: "95",
|
|
125
125
|
sortable: "custom",
|
|
126
126
|
isColumn: !0
|
|
127
127
|
},
|
|
@@ -130,7 +130,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
130
130
|
prop: "demandDate",
|
|
131
131
|
slotName: "demandDate",
|
|
132
132
|
columnType: "slot",
|
|
133
|
-
width: "
|
|
133
|
+
width: "110",
|
|
134
134
|
sortable: "custom",
|
|
135
135
|
isColumn: !0
|
|
136
136
|
},
|
|
@@ -139,7 +139,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
139
139
|
prop: "createTime",
|
|
140
140
|
slotName: "createTime",
|
|
141
141
|
columnType: "slot",
|
|
142
|
-
width: "
|
|
142
|
+
width: "110",
|
|
143
143
|
sortable: "custom",
|
|
144
144
|
isColumn: !0
|
|
145
145
|
}
|
|
@@ -171,10 +171,10 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
171
171
|
return ee(() => {
|
|
172
172
|
F(), d.getList();
|
|
173
173
|
}), (e, t) => {
|
|
174
|
-
const g = s("el-input"), b = s("el-form-item"), D = s("el-col"), K = s("el-date-picker"), P = s("el-button"), Y = s("el-row"),
|
|
174
|
+
const g = s("el-input"), b = s("el-form-item"), D = s("el-col"), K = s("el-date-picker"), P = s("el-button"), Y = s("el-row"), W = s("el-form"), Q = s("jmash-column-select"), H = s("jmash-table"), G = s("jmash-pagination"), J = s("el-card"), O = te("hasPerm");
|
|
175
175
|
return _(), C("div", de, [
|
|
176
176
|
k("div", ie, [
|
|
177
|
-
r(
|
|
177
|
+
r(W, {
|
|
178
178
|
ref_key: "queryFormRef",
|
|
179
179
|
ref: v,
|
|
180
180
|
model: o.value,
|
|
@@ -307,7 +307,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
307
307
|
})), [
|
|
308
308
|
[O, ["itsmflow:itsm_flow_spare_parts:import"]]
|
|
309
309
|
]),
|
|
310
|
-
r(
|
|
310
|
+
r(Q, {
|
|
311
311
|
modelValue: n(f),
|
|
312
312
|
"onUpdate:modelValue": t[8] || (t[8] = (a) => N(f) ? f.value = a : f = a),
|
|
313
313
|
"label-name": "itsm-flow-spare-parts-details"
|
|
@@ -332,7 +332,7 @@ const me = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
332
332
|
}, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
|
|
333
333
|
]),
|
|
334
334
|
default: l(() => [
|
|
335
|
-
r(
|
|
335
|
+
r(H, {
|
|
336
336
|
ref_key: "multipleTableRef",
|
|
337
337
|
ref: y,
|
|
338
338
|
"row-key": "detailsId",
|
|
@@ -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-B6VcbMkg.mjs";
|
|
5
|
+
import { i as Q, a as X } from "./index-Cmn2lxO_.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";
|
|
@@ -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-D8jDSSFA.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-B6VcbMkg.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) {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ne, mergeModels as se, ref as p, useModel as de, rea
|
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
4
|
import { u as ce } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import { I as pe, C as w, U as fe, d as ve, D as F, i as N } from "./index-
|
|
5
|
+
import { I as pe, C as w, U as fe, d as ve, D as F, i as N } from "./index-B6VcbMkg.mjs";
|
|
6
6
|
import { useUserStore as be } from "jmash-core";
|
|
7
7
|
import { E as S } from "./el-message-BJAl6Gwu.mjs";
|
|
8
8
|
const Ae = /* @__PURE__ */ ne({
|
|
@@ -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-Cmn2lxO_.mjs";
|
|
5
|
+
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-D0llCWuF.mjs";
|
|
6
|
+
import { D as c, O as ee, C as le } from "./index-B6VcbMkg.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",
|
|
@@ -32,7 +32,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
32
32
|
{
|
|
33
33
|
label: "itsmFlowSpareParts.itsmFlowItemId",
|
|
34
34
|
prop: "itemId",
|
|
35
|
-
|
|
35
|
+
minWidth: "150",
|
|
36
36
|
sortable: "custom",
|
|
37
37
|
isColumn: !0,
|
|
38
38
|
slotName: "itemId",
|
|
@@ -91,12 +91,12 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
91
91
|
isColumn: !0
|
|
92
92
|
}
|
|
93
93
|
]), I = H({});
|
|
94
|
-
const
|
|
94
|
+
const p = V({
|
|
95
95
|
title: _("common.view"),
|
|
96
96
|
visible: !1
|
|
97
97
|
});
|
|
98
98
|
function B(o) {
|
|
99
|
-
I = { ...o },
|
|
99
|
+
I = { ...o }, p.value.title = _("common.view"), p.value.visible = !0;
|
|
100
100
|
}
|
|
101
101
|
function j(o) {
|
|
102
102
|
u.selectionRows.value = o;
|
|
@@ -107,7 +107,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
107
107
|
return M(() => {
|
|
108
108
|
u.getList();
|
|
109
109
|
}), (o, l) => {
|
|
110
|
-
const b = s("jmash-select"), m = s("el-form-item"),
|
|
110
|
+
const b = s("jmash-select"), m = s("el-form-item"), i = s("el-col"), N = s("el-date-picker"), S = s("el-row"), F = s("el-button"), O = s("el-form"), Y = s("jmash-column-select"), L = s("jmash-table"), E = s("jmash-pagination"), A = s("el-card"), K = W("hasPerm");
|
|
111
111
|
return w(), h("div", ae, [
|
|
112
112
|
v("div", oe, [
|
|
113
113
|
t(O, {
|
|
@@ -119,7 +119,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
119
119
|
default: a(() => [
|
|
120
120
|
t(S, null, {
|
|
121
121
|
default: a(() => [
|
|
122
|
-
t(
|
|
122
|
+
t(i, { span: 6 }, {
|
|
123
123
|
default: a(() => [
|
|
124
124
|
t(m, {
|
|
125
125
|
label: o.$t("itsmFlowSpareParts.govOrgId"),
|
|
@@ -140,7 +140,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
140
140
|
]),
|
|
141
141
|
_: 1
|
|
142
142
|
}),
|
|
143
|
-
t(
|
|
143
|
+
t(i, { span: 6 }, {
|
|
144
144
|
default: a(() => [
|
|
145
145
|
t(m, {
|
|
146
146
|
label: o.$t("itsmFlowSpareParts.itsmFlowItemId"),
|
|
@@ -161,7 +161,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
163
|
}),
|
|
164
|
-
t(
|
|
164
|
+
t(i, { span: 6 }, {
|
|
165
165
|
default: a(() => [
|
|
166
166
|
t(m, {
|
|
167
167
|
label: o.$t("itsmFlowSpareParts.annual"),
|
|
@@ -184,7 +184,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
184
184
|
]),
|
|
185
185
|
_: 1
|
|
186
186
|
}),
|
|
187
|
-
t(
|
|
187
|
+
t(i, { span: 6 }, {
|
|
188
188
|
default: a(() => [
|
|
189
189
|
t(m, {
|
|
190
190
|
label: o.$t("itsmFlowSpareParts.itsmtype"),
|
|
@@ -210,7 +210,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
210
210
|
}),
|
|
211
211
|
t(S, null, {
|
|
212
212
|
default: a(() => [
|
|
213
|
-
t(
|
|
213
|
+
t(i, { span: 6 }, {
|
|
214
214
|
default: a(() => [
|
|
215
215
|
t(m, {
|
|
216
216
|
label: o.$t("itsmFlowAcceptance.applyStatus"),
|
|
@@ -230,7 +230,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
230
230
|
]),
|
|
231
231
|
_: 1
|
|
232
232
|
}),
|
|
233
|
-
t(
|
|
233
|
+
t(i, { span: 18 }, {
|
|
234
234
|
default: a(() => [
|
|
235
235
|
t(m, { class: "search-btn" }, {
|
|
236
236
|
default: a(() => [
|
|
@@ -272,7 +272,7 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
272
272
|
header: a(() => [
|
|
273
273
|
t(S, null, {
|
|
274
274
|
default: a(() => [
|
|
275
|
-
t(
|
|
275
|
+
t(i, {
|
|
276
276
|
span: 24,
|
|
277
277
|
class: "container-float"
|
|
278
278
|
}, {
|
|
@@ -336,18 +336,18 @@ const ae = { class: "app-container" }, oe = { class: "search-container" }, re =
|
|
|
336
336
|
]),
|
|
337
337
|
_: 1
|
|
338
338
|
}),
|
|
339
|
-
|
|
339
|
+
p.value.visible ? (w(), C(x, {
|
|
340
340
|
key: 0,
|
|
341
|
-
modelValue:
|
|
342
|
-
"onUpdate:modelValue": l[14] || (l[14] = (e) =>
|
|
343
|
-
title:
|
|
341
|
+
modelValue: p.value.visible,
|
|
342
|
+
"onUpdate:modelValue": l[14] || (l[14] = (e) => p.value.visible = e),
|
|
343
|
+
title: p.value.title,
|
|
344
344
|
"entity-key": r(I),
|
|
345
345
|
width: "900px"
|
|
346
346
|
}, null, 8, ["modelValue", "title", "entity-key"])) : $("", !0)
|
|
347
347
|
]);
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
}), ye = /* @__PURE__ */ te(ne, [["__scopeId", "data-v-
|
|
350
|
+
}), ye = /* @__PURE__ */ te(ne, [["__scopeId", "data-v-8f61564d"]]);
|
|
351
351
|
export {
|
|
352
352
|
ye as default
|
|
353
353
|
};
|
|
@@ -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-D1SasUNc.mjs";
|
|
5
|
+
import { U as ne, C as O, D as h, i as de } from "./index-B6VcbMkg.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";
|
|
@@ -20,9 +20,9 @@ const ce = /* @__PURE__ */ le({
|
|
|
20
20
|
}),
|
|
21
21
|
emits: ["update:modelValue"],
|
|
22
22
|
setup(U, { expose: P }) {
|
|
23
|
-
const j = me(), { t: ye } = se(),
|
|
24
|
-
|
|
25
|
-
const
|
|
23
|
+
const j = me(), { t: ye } = se(), g = new ne({ userType: O.COMPANY_MANAGER });
|
|
24
|
+
g.useValues();
|
|
25
|
+
const $ = w(), b = te(U, "modelValue"), N = w([]), m = w({}), D = U, M = w((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
26
26
|
let r = ae({
|
|
27
27
|
files: [],
|
|
28
28
|
requestId: Math.random() * 10 + "",
|
|
@@ -65,13 +65,13 @@ const ce = /* @__PURE__ */ le({
|
|
|
65
65
|
if (e.results && Array.isArray(e.results)) {
|
|
66
66
|
const u = [], s = [], c = ((o = h.fileTypeDict.values.slice(2, 3)[0]) == null ? void 0 : o.dictCode) || "", T = ((i = h.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : i.dictCode) || "";
|
|
67
67
|
e.results.forEach((n) => {
|
|
68
|
-
const
|
|
68
|
+
const v = {
|
|
69
69
|
fileName: n.fileName || "",
|
|
70
70
|
fileId: n.fileId || "",
|
|
71
71
|
fileSort: n.fileSort || n.type || "",
|
|
72
72
|
fileSrc: n.fileSrc || n.filePath || ""
|
|
73
73
|
};
|
|
74
|
-
|
|
74
|
+
v.fileSort === c ? u.push(v) : v.fileSort === T && s.push(v);
|
|
75
75
|
}), N.value = u, r.files = s.map((n) => ({
|
|
76
76
|
fileName: n.fileName ?? "",
|
|
77
77
|
fileId: n.fileId ?? "",
|
|
@@ -93,20 +93,20 @@ const ce = /* @__PURE__ */ le({
|
|
|
93
93
|
changeModel: () => W()
|
|
94
94
|
});
|
|
95
95
|
function W() {
|
|
96
|
-
return
|
|
96
|
+
return b.value && (b.value.selectActions = [
|
|
97
97
|
{ key: "true", value: "同意" },
|
|
98
98
|
{ key: "false", value: "不同意" }
|
|
99
|
-
],
|
|
99
|
+
], b.value.varName = "approved", b.value.module = "", b.value.module = O.MODULE_ITSMFLOW), new Promise((e, o) => {
|
|
100
100
|
var i;
|
|
101
|
-
(i =
|
|
102
|
-
u ? (
|
|
101
|
+
(i = $.value) == null || i.validate((u) => {
|
|
102
|
+
u ? (b.value && (b.value.comment = ""), L.finish(
|
|
103
103
|
r
|
|
104
104
|
), e(!0)) : o(!1);
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
return (e, o) => {
|
|
109
|
-
const i = p("el-col"), u = p("el-input"), s = p("el-form-item"), c = p("el-button"), T = p("el-date-picker"), n = p("jmash-select"),
|
|
109
|
+
const i = p("el-col"), u = p("el-input"), s = p("el-form-item"), c = p("el-button"), T = p("el-date-picker"), n = p("jmash-select"), v = p("CircleClose"), J = p("el-icon"), Q = p("el-row"), X = p("el-form"), Z = p("jmash-multi-upload");
|
|
110
110
|
return f(), y(_, null, [
|
|
111
111
|
l(i, { span: 24 }, {
|
|
112
112
|
default: t(() => o[8] || (o[8] = [
|
|
@@ -117,7 +117,7 @@ const ce = /* @__PURE__ */ le({
|
|
|
117
117
|
}),
|
|
118
118
|
l(X, {
|
|
119
119
|
ref_key: "taskFormRef",
|
|
120
|
-
ref:
|
|
120
|
+
ref: $,
|
|
121
121
|
model: d(r),
|
|
122
122
|
"label-width": "150px",
|
|
123
123
|
class: "custom-table-form custom-form"
|
|
@@ -245,14 +245,14 @@ const ce = /* @__PURE__ */ le({
|
|
|
245
245
|
l(i, { span: 24 }, {
|
|
246
246
|
default: t(() => [
|
|
247
247
|
l(s, {
|
|
248
|
-
label: e.$t("itsmFlowTemporary.
|
|
248
|
+
label: e.$t("itsmFlowTemporary.assignUser"),
|
|
249
249
|
prop: "userId"
|
|
250
250
|
}, {
|
|
251
251
|
default: t(() => [
|
|
252
252
|
l(n, {
|
|
253
253
|
modelValue: m.value.userId,
|
|
254
254
|
"onUpdate:modelValue": o[3] || (o[3] = (a) => m.value.userId = a),
|
|
255
|
-
data: d(
|
|
255
|
+
data: d(g).values,
|
|
256
256
|
placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
|
|
257
257
|
"show-word-limit": "",
|
|
258
258
|
clearable: "",
|
|
@@ -362,7 +362,7 @@ const ce = /* @__PURE__ */ le({
|
|
|
362
362
|
onClick: (ee) => K(V)
|
|
363
363
|
}, {
|
|
364
364
|
default: t(() => [
|
|
365
|
-
l(
|
|
365
|
+
l(v)
|
|
366
366
|
]),
|
|
367
367
|
_: 2
|
|
368
368
|
}, 1032, ["onClick"])
|
|
@@ -390,7 +390,7 @@ const ce = /* @__PURE__ */ le({
|
|
|
390
390
|
], 64);
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
}), ke = /* @__PURE__ */ fe(ce, [["__scopeId", "data-v-
|
|
393
|
+
}), ke = /* @__PURE__ */ fe(ce, [["__scopeId", "data-v-26e50b35"]]);
|
|
394
394
|
export {
|
|
395
395
|
ke as default
|
|
396
396
|
};
|
|
@@ -3,7 +3,7 @@ import "element-plus";
|
|
|
3
3
|
import { useI18n as ce } from "vue-i18n";
|
|
4
4
|
import { p as me } from "./index-CvX2It1o.mjs";
|
|
5
5
|
import { i as O, t as pe, a as fe } from "./common-Cwl5jzlM.mjs";
|
|
6
|
-
import { f as be, C as M, D as I, g as z, a as ve } from "./index-
|
|
6
|
+
import { f as be, C as M, D as I, g as z, a as ve } from "./index-B6VcbMkg.mjs";
|
|
7
7
|
const Ie = /* @__PURE__ */ ne({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: /* @__PURE__ */ se({
|
|
@@ -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-D1SasUNc.mjs";
|
|
5
|
+
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-BNqS_vNl.mjs";
|
|
6
|
+
import { D as p, O as ee, C as le } from "./index-B6VcbMkg.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,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-D1SasUNc.mjs";
|
|
5
|
+
import { U as ae, C as w, D as M, i as ie } from "./index-B6VcbMkg.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";
|
|
@@ -19,16 +19,16 @@ const de = /* @__PURE__ */ Q({
|
|
|
19
19
|
modelModifiers: {}
|
|
20
20
|
}),
|
|
21
21
|
emits: ["update:modelValue"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
22
|
+
setup(b, { expose: N }) {
|
|
23
|
+
const U = ne(), { t: m } = re(), v = new ae({ userType: w.COMPANY_MANAGER });
|
|
24
24
|
v.useValues();
|
|
25
|
-
const F = y(), d = Z(
|
|
25
|
+
const F = y(), d = Z(b, "modelValue"), T = b, h = y((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
|
|
26
26
|
let o = k({
|
|
27
27
|
requestId: Math.random() * 10 + "",
|
|
28
28
|
files: [],
|
|
29
29
|
temporaryType: w.Internal
|
|
30
30
|
});
|
|
31
|
-
const _ = y(!1), I = y(),
|
|
31
|
+
const _ = y(!1), I = y(), $ = k({
|
|
32
32
|
govOrgId: [
|
|
33
33
|
{
|
|
34
34
|
required: !0,
|
|
@@ -91,13 +91,13 @@ const de = /* @__PURE__ */ Q({
|
|
|
91
91
|
var l;
|
|
92
92
|
(l = o.files) == null || l.splice(e, 1);
|
|
93
93
|
}
|
|
94
|
-
D.findById({ temporaryId:
|
|
94
|
+
D.findById({ temporaryId: T.task.businessKey }).then(({ data: e }) => {
|
|
95
95
|
o.outOrgId = e.outOrgId, ee(() => {
|
|
96
96
|
Object.assign(o, e), L();
|
|
97
97
|
});
|
|
98
98
|
});
|
|
99
99
|
function L() {
|
|
100
|
-
ie.findFilesList({ actionId:
|
|
100
|
+
ie.findFilesList({ actionId: T.task.businessKey }).then(({ data: e }) => {
|
|
101
101
|
e.results && Array.isArray(e.results) && (o.files = e.results.map((l) => {
|
|
102
102
|
let i = "";
|
|
103
103
|
return l.fileName && (i = l.fileSort || l.type || ""), {
|
|
@@ -138,7 +138,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
138
138
|
ref: F,
|
|
139
139
|
model: a(o),
|
|
140
140
|
"label-width": "150px",
|
|
141
|
-
rules:
|
|
141
|
+
rules: $,
|
|
142
142
|
class: "custom-table-form custom-form"
|
|
143
143
|
}, {
|
|
144
144
|
default: r(() => [
|
|
@@ -238,7 +238,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
238
238
|
}, {
|
|
239
239
|
default: r(() => [
|
|
240
240
|
t(p, {
|
|
241
|
-
value: a(
|
|
241
|
+
value: a(U).user.realName,
|
|
242
242
|
placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
|
|
243
243
|
"show-word-limit": "",
|
|
244
244
|
clearable: "",
|
|
@@ -277,7 +277,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
277
277
|
t(i, { span: 24 }, {
|
|
278
278
|
default: r(() => [
|
|
279
279
|
t(u, {
|
|
280
|
-
label: e.$t("itsmFlowTemporary.
|
|
280
|
+
label: e.$t("itsmFlowTemporary.assignUser"),
|
|
281
281
|
prop: "userId"
|
|
282
282
|
}, {
|
|
283
283
|
default: r(() => [
|
|
@@ -332,7 +332,7 @@ const de = /* @__PURE__ */ Q({
|
|
|
332
332
|
], 64);
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
}), Fe = /* @__PURE__ */ ue(de, [["__scopeId", "data-v-
|
|
335
|
+
}), Fe = /* @__PURE__ */ ue(de, [["__scopeId", "data-v-310bdb2c"]]);
|
|
336
336
|
export {
|
|
337
337
|
Fe as default
|
|
338
338
|
};
|
|
@@ -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-B6VcbMkg.mjs";
|
|
4
4
|
import { fileApi as Y } from "jmash-core";
|
|
5
|
-
import { i as j } from "./index-
|
|
5
|
+
import { i as j } from "./index-D1SasUNc.mjs";
|
|
6
6
|
const Q = /* @__PURE__ */ z({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: /* @__PURE__ */ N({
|
|
@@ -52,7 +52,7 @@ const Q = /* @__PURE__ */ z({
|
|
|
52
52
|
return _(), v(g, null, [
|
|
53
53
|
t(o, { span: 24 }, {
|
|
54
54
|
default: l(() => u[0] || (u[0] = [
|
|
55
|
-
T("div", { class: "title" }, "
|
|
55
|
+
T("div", { class: "title" }, "外部临时工单", -1)
|
|
56
56
|
])),
|
|
57
57
|
_: 1,
|
|
58
58
|
__: [0]
|
|
@@ -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-D1SasUNc.mjs";
|
|
5
|
+
import { D as C, C as $, a as de } from "./index-B6VcbMkg.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-C-3rxI72.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,
|
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-D1SasUNc.mjs";
|
|
3
3
|
import "jmash-flow";
|
|
4
4
|
export {
|
|
5
5
|
m as TaskItsmFlowAcceptance,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as h, mergeModels as K, ref as F, useModel as j, resolveComponent as p, createBlock as z, openBlock as v, withCtx as e, createVNode as t, createElementVNode as n, createTextVNode as r, toDisplayString as a, unref as w, createElementBlock as y, createCommentVNode as M, withDirectives as C, vShow as V } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { a as S } from "./index-
|
|
4
|
-
import { D as c, a as A } from "./index-
|
|
3
|
+
import { a as S } from "./index-D1SasUNc.mjs";
|
|
4
|
+
import { D as c, a as A } from "./index-B6VcbMkg.mjs";
|
|
5
5
|
const R = { key: 0 }, q = { key: 1 }, L = {
|
|
6
6
|
key: 2,
|
|
7
7
|
class: "distance-left"
|