xyvcard-itsm-flow 0.0.31 → 0.0.32
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-CDjEMtwC.mjs → FileSaver.min-BqJgQUpI.mjs} +1 -1
- package/dist/{edit-D4s5wvF5.mjs → edit-BmyVFb6v.mjs} +1 -1
- package/dist/{edit-C1E-qfa5.mjs → edit-DY1W_a0l.mjs} +2 -2
- package/dist/{edit-MTXauNsc.mjs → edit-DvyykOe1.mjs} +1 -1
- package/dist/{edit-ChvtQKDN.mjs → edit-cv5KFgsH.mjs} +1 -1
- package/dist/{edit-CrcAdKdK.mjs → edit-egf11BVG.mjs} +2 -2
- package/dist/{edit-XBmphOon.mjs → edit-gj27Irgn.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-5BzbhqiV.mjs → edit.vue_vue_type_script_setup_true_lang-BXTVBXQD.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BFexYSnf.mjs → edit.vue_vue_type_script_setup_true_lang-CxbbUn1f.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CuMNdBF0.mjs → edit.vue_vue_type_script_setup_true_lang-DjZExbPu.mjs} +1 -1
- package/dist/{index-4m6uu36F.mjs → index-107LSi4z.mjs} +2 -2
- package/dist/{index-DAYAMIMc.mjs → index-62akP050.mjs} +68 -68
- package/dist/{index-CZnh37-K.mjs → index-B-NtvHhA.mjs} +2 -2
- package/dist/{index-2s0wkS05.mjs → index-BXWM-wLm.mjs} +2 -2
- package/dist/{index-ChoIE8BT.mjs → index-BaamoAV1.mjs} +2 -2
- package/dist/{index-D7-89F44.mjs → index-BfuDd0fE.mjs} +2 -2
- package/dist/{index-CuztXu3y.mjs → index-Bhz9ihhI.mjs} +2 -2
- package/dist/{index-DdjqdTwY.mjs → index-Bkat2Gm3.mjs} +2 -2
- package/dist/{index-BkH2t7Yo.mjs → index-BsE6dsvZ.mjs} +2 -2
- package/dist/{index-mcNzGq2i.mjs → index-Bzx2oedi.mjs} +24 -24
- package/dist/{index-CrB5yZtO.mjs → index-CAFD_dJv.mjs} +1 -1
- package/dist/{index-BgvM1CFo.mjs → index-CB_L7mub.mjs} +2 -2
- package/dist/{index-tTe8p-n3.mjs → index-CK0A6vue.mjs} +2 -2
- package/dist/{index-ggPfkHed.mjs → index-CNYzwVuJ.mjs} +2 -2
- package/dist/{index-ykAU3bNf.mjs → index-CkNcqJv6.mjs} +3 -3
- package/dist/{index-DqY2mMQf.mjs → index-DBMl98Ut.mjs} +3 -3
- package/dist/{index-EzrIQVdr.mjs → index-DDinnzcZ.mjs} +3 -3
- package/dist/{index-B9wDdsy0.mjs → index-DDqUeP1D.mjs} +2 -2
- package/dist/{index-DULyLxdF.mjs → index-DEA-wp9N.mjs} +3 -3
- package/dist/{index-VVa_4lxn.mjs → index-DWhOBD7X.mjs} +3 -3
- package/dist/{index-DFM8JCKv.mjs → index-DXBVvCPA.mjs} +2 -2
- package/dist/{index-XHxFd50l.mjs → index-DdJVpykC.mjs} +87 -87
- package/dist/{index-B1qpvpzm.mjs → index-DeGgtIJP.mjs} +1 -1
- package/dist/{index-unjceRa9.mjs → index-DlfJ5-Ub.mjs} +3 -3
- package/dist/{index-D00Ve-AT.mjs → index-DnImtyOy.mjs} +1 -1
- package/dist/{index-UiXiWX1N.mjs → index-Du-k1C3g.mjs} +2 -2
- package/dist/{index-CXTUV-M7.mjs → index-QQPnQrcs.mjs} +1 -1
- package/dist/{index-BZSdHlNo.mjs → index-bzmsEssH.mjs} +1 -1
- package/dist/{index-C6mX3DsW.mjs → index-i3w03u3L.mjs} +2 -2
- package/dist/{index-DcTVaVO4.mjs → index-ugYkZFfm.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{info-C8mu6jj9.mjs → info-BNTfJ_5o.mjs} +1 -1
- package/dist/{info-CO_rn0O5.mjs → info-BOUACImb.mjs} +1 -1
- package/dist/{info-Dp9jVwt5.mjs → info-BxSXrZme.mjs} +1 -1
- package/dist/{info-Bivvg5Xb.mjs → info-D7l5E6LS.mjs} +1 -1
- package/dist/info-DOvFU51c.mjs +4 -0
- package/dist/info-Rm-TrP10.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-d0eLlThg.mjs → info.vue_vue_type_script_setup_true_lang-BvK_XcWO.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-GRXQ200F.mjs → info.vue_vue_type_script_setup_true_lang-C9EH67Nu.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BS1ysX5p.mjs → info.vue_vue_type_script_setup_true_lang-CAil2Ksx.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CZESsvws.mjs → info.vue_vue_type_script_setup_true_lang-CkJeHGYt.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-QAf-SOVD.mjs → info.vue_vue_type_script_setup_true_lang-D9moPsSu.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DnJ5iO3c.mjs → info.vue_vue_type_script_setup_true_lang-D_Lis1yu.mjs} +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/info-Pq3uOpDr.mjs +0 -4
- package/dist/info-pb-u78Pf.mjs +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as fe, mergeModels as j, ref as c, reactive as Y, computed as z, watch as K, useModel as ye, nextTick as ge, resolveComponent as i, createBlock as h, openBlock as m, withCtx as r, createVNode as o, unref as s, createElementBlock as y, Fragment as I, renderList as V, createCommentVNode as Ie, createTextVNode as v, toDisplayString as w, createElementVNode as ve } from "vue";
|
|
2
2
|
import { ElMessage as H } from "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
|
-
import { i as C } from "./index-
|
|
5
|
-
import { D as b, O as G, C as $, i as be } from "./index-
|
|
4
|
+
import { i as C } from "./index-DnImtyOy.mjs";
|
|
5
|
+
import { D as b, O as G, C as $, i as be } from "./index-CAFD_dJv.mjs";
|
|
6
6
|
import { u as _e } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { sysUserExtApi as Fe } from "xyvcard-itsmsys";
|
|
8
8
|
import { useUserStoreHook as Te } from "jmash-core";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as re, mergeModels as U, ref as f, reactive as S, useModel as ae, computed as se, nextTick as ie, resolveComponent as i, createBlock as N, openBlock as c, withCtx as o, createVNode as t, unref as s, createElementBlock as w, Fragment as b, renderList as M, createCommentVNode as ne, createTextVNode as y, toDisplayString as g, createElementVNode as ue } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
|
-
import { i as V } from "./index-
|
|
5
|
-
import { U as de, C as Y, D as I, i as pe } from "./index-
|
|
4
|
+
import { i as V } from "./index-DnImtyOy.mjs";
|
|
5
|
+
import { U as de, C as Y, D as I, i as pe } from "./index-CAFD_dJv.mjs";
|
|
6
6
|
import { u as ce } from "./index-CvX2It1o.mjs";
|
|
7
7
|
import { useUserStoreHook as fe } from "jmash-core";
|
|
8
8
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -3,8 +3,8 @@ import { ElMessage as _ } from "element-plus";
|
|
|
3
3
|
import { d as ke, p as Be, u as Ce, c as Ue } from "./index-CvX2It1o.mjs";
|
|
4
4
|
import "jmash-rbac";
|
|
5
5
|
import { useI18n as De } from "vue-i18n";
|
|
6
|
-
import { i as A, a as Re } from "./index-
|
|
7
|
-
import { D as P, O as Me, C as Te, i as Oe } from "./index-
|
|
6
|
+
import { i as A, a as Re } from "./index-DeGgtIJP.mjs";
|
|
7
|
+
import { D as P, O as Me, C as Te, i as Oe } from "./index-CAFD_dJv.mjs";
|
|
8
8
|
import { itemBudgetApi as ee } from "xyvcard-itsm";
|
|
9
9
|
import { useUserStoreHook as Ae } from "jmash-core";
|
|
10
10
|
import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ve, mergeModels as L, ref as f, useModel as be, reactive as T, resolveComponent as u, createBlock as H, openBlock as y, withCtx as o, createVNode as t, createElementVNode as r, unref as d, createElementBlock as R, Fragment as G, renderList as J, createTextVNode as b, toDisplayString as F } from "vue";
|
|
2
2
|
import { ElMessage as N } from "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
|
-
import { I as ge, C as j, U as he, D as A, i as V } from "./index-
|
|
4
|
+
import { I as ge, C as j, U as he, D as A, i as V } from "./index-CAFD_dJv.mjs";
|
|
5
5
|
import { u as ye } from "./index-CvX2It1o.mjs";
|
|
6
6
|
import { useUserStore as Fe } from "jmash-core";
|
|
7
7
|
const Ne = { class: "title" }, qe = /* @__PURE__ */ ve({
|
|
@@ -2,8 +2,8 @@ import { defineComponent as Ee, mergeModels as Q, ref as f, useModel as _e, reac
|
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as Fe } from "vue-i18n";
|
|
4
4
|
import { p as Ue } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import { a as A } from "./index-
|
|
6
|
-
import { b as Ne, C as g, c as Ce, d as $e, D as V, a as ke, e as x } from "./index-
|
|
5
|
+
import { a as A } from "./index-DnImtyOy.mjs";
|
|
6
|
+
import { b as Ne, C as g, c as Ce, d as $e, D as V, a as ke, e as x } from "./index-CAFD_dJv.mjs";
|
|
7
7
|
import "xyvcard-itsm";
|
|
8
8
|
const Oe = { class: "title" }, Me = /* @__PURE__ */ Ee({
|
|
9
9
|
__name: "edit",
|
|
@@ -3,7 +3,7 @@ import { ElMessage as S } from "element-plus";
|
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import { i as I, t as fe, a as be } from "./common-Cwl5jzlM.mjs";
|
|
5
5
|
import { p as ve } from "./index-CvX2It1o.mjs";
|
|
6
|
-
import { f as ge, C as Ne, D as $, g as ke, a as _e } from "./index-
|
|
6
|
+
import { f as ge, C as Ne, D as $, g as ke, a as _e } from "./index-CAFD_dJv.mjs";
|
|
7
7
|
const he = { class: "title" }, $e = /* @__PURE__ */ se({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ z({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as K, mergeModels as q, ref as v, useModel as H, reactive as W, computed as B, nextTick as G, resolveComponent as m, createElementBlock as y, openBlock as _, Fragment as I, createVNode as e, withCtx as l, createElementVNode as O, unref as d, createTextVNode as s, toDisplayString as n, renderList as $, createBlock as J } from "vue";
|
|
2
2
|
import { useUserStoreHook as Q, fileApi as k } from "jmash-core";
|
|
3
3
|
import "element-plus";
|
|
4
|
-
import { i as X } from "./index-
|
|
5
|
-
import { D as u, i as N, C as Y } from "./index-
|
|
4
|
+
import { i as X } from "./index-DnImtyOy.mjs";
|
|
5
|
+
import { D as u, i as N, C as Y } from "./index-CAFD_dJv.mjs";
|
|
6
6
|
const ae = /* @__PURE__ */ K({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: /* @__PURE__ */ q({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as J, ref as I, reactive as R, onActivated as X, resolveComponent as
|
|
1
|
+
import { defineComponent as J, ref as I, reactive as R, onActivated as X, resolveComponent as r, resolveDirective as Z, createElementBlock as P, openBlock as d, createElementVNode as b, createVNode as o, createBlock as h, createCommentVNode as D, withCtx as l, unref as n, withKeys as x, createTextVNode as w, toDisplayString as i, withDirectives as C, isRef as z } from "vue";
|
|
2
2
|
import { useTableHooks as ee } from "jmash-core";
|
|
3
3
|
import { useI18n as te } from "vue-i18n";
|
|
4
|
-
import { i as le } from "./index-
|
|
5
|
-
import ae from "./edit-
|
|
6
|
-
import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as
|
|
8
|
-
import { _ as
|
|
9
|
-
const
|
|
4
|
+
import { i as le } from "./index-DeGgtIJP.mjs";
|
|
5
|
+
import ae from "./edit-gj27Irgn.mjs";
|
|
6
|
+
import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-CAil2Ksx.mjs";
|
|
7
|
+
import { D as m, C as ne } from "./index-CAFD_dJv.mjs";
|
|
8
|
+
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
const re = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], me = ["onClick"], pe = ["onClick"], de = /* @__PURE__ */ J({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(ce) {
|
|
12
|
-
|
|
13
|
-
const { t: f } = te(),
|
|
14
|
-
applyStatus:
|
|
12
|
+
m.itemBizLayDict.useValues(), m.orgIdBizDict.useValues();
|
|
13
|
+
const { t: f } = te(), s = I({
|
|
14
|
+
applyStatus: ne.applyStatus.draft
|
|
15
15
|
}), {
|
|
16
16
|
tableHooks: u,
|
|
17
17
|
multipleTableRef: B,
|
|
@@ -19,8 +19,8 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
19
19
|
listLoading: E,
|
|
20
20
|
tableData: N,
|
|
21
21
|
total: S
|
|
22
|
-
} = ee(f, le,
|
|
23
|
-
let
|
|
22
|
+
} = ee(f, le, s);
|
|
23
|
+
let y = I([
|
|
24
24
|
{
|
|
25
25
|
label: "itsmFlowSpareParts.applyStatus",
|
|
26
26
|
prop: "applyStatus",
|
|
@@ -101,16 +101,16 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
101
101
|
isColumn: !0
|
|
102
102
|
}
|
|
103
103
|
]);
|
|
104
|
-
const
|
|
104
|
+
const p = I({
|
|
105
105
|
title: f("common.edit"),
|
|
106
106
|
visible: !1
|
|
107
107
|
});
|
|
108
108
|
let _ = R({});
|
|
109
109
|
function j() {
|
|
110
|
-
_ = R({}),
|
|
110
|
+
_ = R({}), p.value.title = f("common.add"), p.value.visible = !0;
|
|
111
111
|
}
|
|
112
112
|
function L(a) {
|
|
113
|
-
_.flowSpareId = a.flowSpareId,
|
|
113
|
+
_.flowSpareId = a.flowSpareId, p.value.title = f("common.edit"), p.value.visible = !0;
|
|
114
114
|
}
|
|
115
115
|
const v = I({
|
|
116
116
|
title: f("common.view"),
|
|
@@ -131,13 +131,13 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
131
131
|
return X(() => {
|
|
132
132
|
u.getList();
|
|
133
133
|
}), (a, t) => {
|
|
134
|
-
const k =
|
|
135
|
-
return d(), P("div",
|
|
134
|
+
const k = r("jmash-select"), g = r("el-form-item"), c = r("el-col"), K = r("el-date-picker"), F = r("el-row"), $ = r("el-button"), Q = r("el-form"), H = r("jmash-column-select"), M = r("jmash-table"), W = r("jmash-pagination"), G = r("el-card"), V = Z("hasPerm");
|
|
135
|
+
return d(), P("div", re, [
|
|
136
136
|
b("div", ie, [
|
|
137
137
|
o(Q, {
|
|
138
138
|
ref_key: "queryFormRef",
|
|
139
139
|
ref: U,
|
|
140
|
-
model:
|
|
140
|
+
model: s.value,
|
|
141
141
|
inline: !0
|
|
142
142
|
}, {
|
|
143
143
|
default: l(() => [
|
|
@@ -151,10 +151,10 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
151
151
|
}, {
|
|
152
152
|
default: l(() => [
|
|
153
153
|
o(k, {
|
|
154
|
-
modelValue:
|
|
155
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) =>
|
|
154
|
+
modelValue: s.value.govOrgId,
|
|
155
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => s.value.govOrgId = e),
|
|
156
156
|
placeholder: a.$t("itsmFlowSpareParts.govOrgIdRequired"),
|
|
157
|
-
data:
|
|
157
|
+
data: n(m).orgIdBizDict.values,
|
|
158
158
|
clearable: "",
|
|
159
159
|
filterable: ""
|
|
160
160
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -172,10 +172,10 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
172
172
|
}, {
|
|
173
173
|
default: l(() => [
|
|
174
174
|
o(k, {
|
|
175
|
-
modelValue:
|
|
176
|
-
"onUpdate:modelValue": t[1] || (t[1] = (e) =>
|
|
175
|
+
modelValue: s.value.itemId,
|
|
176
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => s.value.itemId = e),
|
|
177
177
|
placeholder: a.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
178
|
-
data:
|
|
178
|
+
data: n(m).itemBizLayDict.values,
|
|
179
179
|
clearable: "",
|
|
180
180
|
filterable: ""
|
|
181
181
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -193,8 +193,8 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
193
193
|
}, {
|
|
194
194
|
default: l(() => [
|
|
195
195
|
o(K, {
|
|
196
|
-
modelValue:
|
|
197
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) =>
|
|
196
|
+
modelValue: s.value.annual,
|
|
197
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => s.value.annual = e),
|
|
198
198
|
type: "year",
|
|
199
199
|
placeholder: a.$t("itsmFlowSpareParts.annualRequired"),
|
|
200
200
|
format: "YYYY",
|
|
@@ -216,11 +216,11 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
216
216
|
}, {
|
|
217
217
|
default: l(() => [
|
|
218
218
|
o(k, {
|
|
219
|
-
modelValue:
|
|
220
|
-
"onUpdate:modelValue": t[3] || (t[3] = (e) =>
|
|
219
|
+
modelValue: s.value.type,
|
|
220
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => s.value.type = e),
|
|
221
221
|
placeholder: a.$t("itsmFlowSpareParts.itsmtypeRequired"),
|
|
222
|
-
data:
|
|
223
|
-
onKeyup: t[4] || (t[4] = x((e) =>
|
|
222
|
+
data: n(m).purchaseTypeEnum.values,
|
|
223
|
+
onKeyup: t[4] || (t[4] = x((e) => n(u).handleQuery(), ["enter"])),
|
|
224
224
|
clearable: ""
|
|
225
225
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
226
226
|
]),
|
|
@@ -240,18 +240,18 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
240
240
|
default: l(() => [
|
|
241
241
|
o($, {
|
|
242
242
|
type: "primary",
|
|
243
|
-
onClick: t[5] || (t[5] = (e) =>
|
|
243
|
+
onClick: t[5] || (t[5] = (e) => n(u).handleQuery())
|
|
244
244
|
}, {
|
|
245
245
|
default: l(() => [
|
|
246
|
-
|
|
246
|
+
w(i(a.$t("common.search")), 1)
|
|
247
247
|
]),
|
|
248
248
|
_: 1
|
|
249
249
|
}),
|
|
250
250
|
o($, {
|
|
251
|
-
onClick: t[6] || (t[6] = (e) =>
|
|
251
|
+
onClick: t[6] || (t[6] = (e) => n(u).resetQuery())
|
|
252
252
|
}, {
|
|
253
253
|
default: l(() => [
|
|
254
|
-
|
|
254
|
+
w(i(a.$t("common.reset")), 1)
|
|
255
255
|
]),
|
|
256
256
|
_: 1
|
|
257
257
|
})
|
|
@@ -283,11 +283,11 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
283
283
|
onClick: j
|
|
284
284
|
}, {
|
|
285
285
|
default: l(() => [
|
|
286
|
-
|
|
286
|
+
w(i(a.$t("common.add")), 1)
|
|
287
287
|
]),
|
|
288
288
|
_: 1
|
|
289
289
|
})), [
|
|
290
|
-
[V, ["
|
|
290
|
+
[V, ["itsmflow:itsm_flow_spare_parts:add"]]
|
|
291
291
|
])
|
|
292
292
|
]),
|
|
293
293
|
_: 1
|
|
@@ -298,9 +298,9 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
298
298
|
}, {
|
|
299
299
|
default: l(() => [
|
|
300
300
|
o(H, {
|
|
301
|
-
modelValue:
|
|
302
|
-
"onUpdate:modelValue": t[7] || (t[7] = (e) => z(
|
|
303
|
-
"label-name": "
|
|
301
|
+
modelValue: n(y),
|
|
302
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => z(y) ? y.value = e : y = e),
|
|
303
|
+
"label-name": "itsm-flow-spare-parts"
|
|
304
304
|
}, null, 8, ["modelValue"])
|
|
305
305
|
]),
|
|
306
306
|
_: 1
|
|
@@ -310,15 +310,15 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
310
310
|
})
|
|
311
311
|
]),
|
|
312
312
|
footer: l(() => [
|
|
313
|
-
|
|
313
|
+
n(S) > 0 ? (d(), h(W, {
|
|
314
314
|
key: 0,
|
|
315
|
-
total:
|
|
315
|
+
total: n(S),
|
|
316
316
|
"onUpdate:total": t[8] || (t[8] = (e) => z(S) ? S.value = e : null),
|
|
317
|
-
"current-page":
|
|
318
|
-
"onUpdate:currentPage": t[9] || (t[9] = (e) =>
|
|
319
|
-
"page-size":
|
|
320
|
-
"onUpdate:pageSize": t[10] || (t[10] = (e) =>
|
|
321
|
-
onPagination: t[11] || (t[11] = (e) =>
|
|
317
|
+
"current-page": s.value.curPage,
|
|
318
|
+
"onUpdate:currentPage": t[9] || (t[9] = (e) => s.value.curPage = e),
|
|
319
|
+
"page-size": s.value.pageSize,
|
|
320
|
+
"onUpdate:pageSize": t[10] || (t[10] = (e) => s.value.pageSize = e),
|
|
321
|
+
onPagination: t[11] || (t[11] = (e) => n(u).getList())
|
|
322
322
|
}, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
|
|
323
323
|
]),
|
|
324
324
|
default: l(() => [
|
|
@@ -326,47 +326,47 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
326
326
|
ref_key: "multipleTableRef",
|
|
327
327
|
ref: B,
|
|
328
328
|
"row-key": "flowSpareId",
|
|
329
|
-
"v-loading":
|
|
330
|
-
data:
|
|
331
|
-
"table-label":
|
|
329
|
+
"v-loading": n(E),
|
|
330
|
+
data: n(N),
|
|
331
|
+
"table-label": n(y),
|
|
332
332
|
onSelectionChange: q,
|
|
333
333
|
onSortChange: O
|
|
334
334
|
}, {
|
|
335
335
|
orgId: l((e) => [
|
|
336
|
-
b("span", null, i(
|
|
336
|
+
b("span", null, i(n(m).orgIdBizDict.getValue(e.data.row.orgId)), 1)
|
|
337
337
|
]),
|
|
338
338
|
applyStatus: l((e) => [
|
|
339
|
-
b("span", null, i(
|
|
339
|
+
b("span", null, i(n(m).applyStatusEnum.getEnumValue(e.data.row.applyStatus)), 1)
|
|
340
340
|
]),
|
|
341
341
|
type: l((e) => [
|
|
342
|
-
b("span", null, i(
|
|
342
|
+
b("span", null, i(n(m).purchaseTypeEnum.getEnumValue(e.data.row.type)), 1)
|
|
343
343
|
]),
|
|
344
344
|
itemId: l((e) => [
|
|
345
|
-
b("span", null, i(
|
|
345
|
+
b("span", null, i(n(m).itemBizLayDict.getValue(e.data.row.itemId)), 1)
|
|
346
346
|
]),
|
|
347
347
|
operation: l((e) => [
|
|
348
348
|
C((d(), P("span", {
|
|
349
349
|
class: "el-button-color",
|
|
350
350
|
onClick: (T) => L(e.data.row)
|
|
351
351
|
}, [
|
|
352
|
-
|
|
352
|
+
w(i(a.$t("common.edit")), 1)
|
|
353
353
|
], 8, ue)), [
|
|
354
|
-
[V, ["
|
|
354
|
+
[V, ["itsmflow:itsm_flow_spare_parts:update"]]
|
|
355
355
|
]),
|
|
356
356
|
C((d(), P("span", {
|
|
357
357
|
class: "el-button-color dropdown-left",
|
|
358
|
-
onClick: (T) =>
|
|
358
|
+
onClick: (T) => n(u).deleteRecord(e.data.row)
|
|
359
359
|
}, [
|
|
360
|
-
|
|
361
|
-
], 8,
|
|
362
|
-
[V, ["
|
|
360
|
+
w(i(a.$t("common.delete")), 1)
|
|
361
|
+
], 8, me)), [
|
|
362
|
+
[V, ["itsmflow:itsm_flow_spare_parts:delete"]]
|
|
363
363
|
]),
|
|
364
364
|
C((d(), P("span", {
|
|
365
365
|
class: "el-button-color dropdown-left",
|
|
366
366
|
onClick: (T) => Y(e.data.row)
|
|
367
367
|
}, [
|
|
368
|
-
|
|
369
|
-
], 8,
|
|
368
|
+
w(i(a.$t("common.view")), 1)
|
|
369
|
+
], 8, pe)), [
|
|
370
370
|
[V, ["itsmflow:itsm_flow_entrust:view"]]
|
|
371
371
|
])
|
|
372
372
|
]),
|
|
@@ -375,12 +375,12 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
375
375
|
]),
|
|
376
376
|
_: 1
|
|
377
377
|
}),
|
|
378
|
-
|
|
378
|
+
p.value.visible ? (d(), h(ae, {
|
|
379
379
|
key: 0,
|
|
380
|
-
modelValue:
|
|
381
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
|
382
|
-
title:
|
|
383
|
-
"entity-key":
|
|
380
|
+
modelValue: p.value.visible,
|
|
381
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => p.value.visible = e),
|
|
382
|
+
title: p.value.title,
|
|
383
|
+
"entity-key": n(_),
|
|
384
384
|
onRefresh: A,
|
|
385
385
|
width: "1200px"
|
|
386
386
|
}, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0),
|
|
@@ -389,13 +389,13 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
389
389
|
modelValue: v.value.visible,
|
|
390
390
|
"onUpdate:modelValue": t[13] || (t[13] = (e) => v.value.visible = e),
|
|
391
391
|
title: v.value.title,
|
|
392
|
-
"entity-key":
|
|
392
|
+
"entity-key": n(_),
|
|
393
393
|
width: "900px"
|
|
394
394
|
}, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0)
|
|
395
395
|
]);
|
|
396
396
|
};
|
|
397
397
|
}
|
|
398
|
-
}), Ve = /* @__PURE__ */
|
|
398
|
+
}), Ve = /* @__PURE__ */ se(de, [["__scopeId", "data-v-4d5d5b89"]]);
|
|
399
399
|
export {
|
|
400
400
|
Ve as default
|
|
401
401
|
};
|
|
@@ -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-CAFD_dJv.mjs";
|
|
6
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CkJeHGYt.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 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 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-DnImtyOy.mjs";
|
|
5
|
+
import { D as I, O as z, C as F, i as ce } from "./index-CAFD_dJv.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";
|
|
@@ -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-CAFD_dJv.mjs";
|
|
5
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-C9EH67Nu.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) {
|
|
@@ -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-DnImtyOy.mjs";
|
|
5
|
+
import { U as ae, C as w, D as M, i as ie } from "./index-CAFD_dJv.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,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-CAFD_dJv.mjs";
|
|
5
|
+
import { i as H, a as J } from "./index-DeGgtIJP.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({
|
|
@@ -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-DjZExbPu.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-CAFD_dJv.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 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-DnImtyOy.mjs";
|
|
5
|
+
import { U as ne, C as O, D as h, i as de } from "./index-CAFD_dJv.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,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as Z, getCurrentInstance as ee, ref as _, reactive as P, onActivated as te, resolveComponent as s, resolveDirective as le, createElementBlock as I, openBlock as u, createElementVNode as b, createVNode as a, createBlock as V, createCommentVNode as C, withCtx as l, unref as r, withKeys as oe, createTextVNode as p, toDisplayString as n, withDirectives as D, isRef as R } from "vue";
|
|
2
2
|
import { useTableHooks as ae } from "jmash-core";
|
|
3
3
|
import { useI18n as re } from "vue-i18n";
|
|
4
|
-
import { i as ie } from "./index-
|
|
5
|
-
import ne from "./edit-
|
|
6
|
-
import { _ as se } from "./info.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as c, O as me, C as N } from "./index-
|
|
4
|
+
import { i as ie } from "./index-DnImtyOy.mjs";
|
|
5
|
+
import ne from "./edit-DY1W_a0l.mjs";
|
|
6
|
+
import { _ as se } from "./info.vue_vue_type_script_setup_true_lang-BvK_XcWO.mjs";
|
|
7
|
+
import { D as c, O as me, C as N } from "./index-CAFD_dJv.mjs";
|
|
8
8
|
import { rbacApi as ue } from "jmash-rbac";
|
|
9
|
-
const de = { class: "app-container" }, pe = { class: "search-container" }, ce = { key: 0 },
|
|
9
|
+
const de = { class: "app-container" }, pe = { class: "search-container" }, ce = { key: 0 }, fe = ["onClick"], ye = ["onClick"], ve = ["onClick"], Ce = /* @__PURE__ */ Z({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(be) {
|
|
12
12
|
const { proxy: U } = ee();
|
|
13
13
|
c.itemBizLayDict.useValues(), c.orgIdBizDict.useValues(), c.userExtBizDict.useValues();
|
|
14
14
|
const F = new me({ orgType: "OUTSOURCE" });
|
|
15
15
|
F.useValues();
|
|
16
|
-
const { t:
|
|
16
|
+
const { t: f } = re(), i = _({
|
|
17
17
|
temporaryType: N.External,
|
|
18
18
|
applyStatus: N.applyStatus.draft
|
|
19
19
|
}), {
|
|
@@ -23,7 +23,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
23
23
|
listLoading: L,
|
|
24
24
|
tableData: q,
|
|
25
25
|
total: T
|
|
26
|
-
} = ae(
|
|
26
|
+
} = ae(f, ie, i);
|
|
27
27
|
let g = _([
|
|
28
28
|
{
|
|
29
29
|
label: "itsmFlowTemporary.govOrgId",
|
|
@@ -110,22 +110,22 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
110
110
|
}
|
|
111
111
|
]);
|
|
112
112
|
const d = _({
|
|
113
|
-
title:
|
|
113
|
+
title: f("common.edit"),
|
|
114
114
|
visible: !1
|
|
115
|
-
}),
|
|
116
|
-
title:
|
|
115
|
+
}), y = _({
|
|
116
|
+
title: f("common.view"),
|
|
117
117
|
visible: !1
|
|
118
118
|
});
|
|
119
119
|
_(!1);
|
|
120
120
|
let w = P({});
|
|
121
121
|
function A() {
|
|
122
|
-
w = P({}), d.value.title =
|
|
122
|
+
w = P({}), d.value.title = f("common.add"), d.value.visible = !0;
|
|
123
123
|
}
|
|
124
124
|
function H(o) {
|
|
125
|
-
w.temporaryId = o.temporaryId, d.value.title =
|
|
125
|
+
w.temporaryId = o.temporaryId, d.value.title = f("common.edit"), d.value.visible = !0;
|
|
126
126
|
}
|
|
127
127
|
function Y(o) {
|
|
128
|
-
w.temporaryId = o.temporaryId,
|
|
128
|
+
w.temporaryId = o.temporaryId, y.value.title = f("common.view"), y.value.visible = !0;
|
|
129
129
|
}
|
|
130
130
|
function K(o) {
|
|
131
131
|
m.selectionRows.value = o;
|
|
@@ -266,7 +266,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
266
266
|
]),
|
|
267
267
|
_: 1
|
|
268
268
|
})), [
|
|
269
|
-
[k, ["
|
|
269
|
+
[k, ["itsmflow:itsm_flow_temporary:add"]]
|
|
270
270
|
])
|
|
271
271
|
]),
|
|
272
272
|
_: 1
|
|
@@ -279,7 +279,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
279
279
|
a(x, {
|
|
280
280
|
modelValue: r(g),
|
|
281
281
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => R(g) ? g.value = e : g = e),
|
|
282
|
-
"label-name": "
|
|
282
|
+
"label-name": "itsm-flow-temporary"
|
|
283
283
|
}, null, 8, ["modelValue"])
|
|
284
284
|
]),
|
|
285
285
|
_: 1
|
|
@@ -338,16 +338,16 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
338
338
|
onClick: (z) => H(e.data.row)
|
|
339
339
|
}, [
|
|
340
340
|
p(n(o.$t("common.edit")), 1)
|
|
341
|
-
], 8,
|
|
342
|
-
[k, ["
|
|
341
|
+
], 8, fe)), [
|
|
342
|
+
[k, ["itsmflow:itsm_flow_temporary:update"]]
|
|
343
343
|
]),
|
|
344
344
|
D((u(), I("span", {
|
|
345
345
|
class: "el-button-color dropdown-left",
|
|
346
346
|
onClick: (z) => r(m).deleteRecord(e.data.row)
|
|
347
347
|
}, [
|
|
348
348
|
p(n(o.$t("common.delete")), 1)
|
|
349
|
-
], 8,
|
|
350
|
-
[k, ["
|
|
349
|
+
], 8, ye)), [
|
|
350
|
+
[k, ["itsmflow:itsm_flow_temporary:delete"]]
|
|
351
351
|
]),
|
|
352
352
|
D((u(), I("span", {
|
|
353
353
|
class: "el-button-color dropdown-left",
|
|
@@ -355,7 +355,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
355
355
|
}, [
|
|
356
356
|
p(n(o.$t("common.view")), 1)
|
|
357
357
|
], 8, ve)), [
|
|
358
|
-
[k, ["
|
|
358
|
+
[k, ["itsmflow:itsm_flow_temporary:view"]]
|
|
359
359
|
])
|
|
360
360
|
]),
|
|
361
361
|
_: 1
|
|
@@ -372,11 +372,11 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
372
372
|
onRefresh: O,
|
|
373
373
|
width: "800px"
|
|
374
374
|
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
|
|
375
|
-
|
|
375
|
+
y.value.visible ? (u(), V(se, {
|
|
376
376
|
key: 1,
|
|
377
|
-
modelValue:
|
|
378
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
|
379
|
-
title:
|
|
377
|
+
modelValue: y.value.visible,
|
|
378
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => y.value.visible = e),
|
|
379
|
+
title: y.value.title,
|
|
380
380
|
"entity-key": r(w),
|
|
381
381
|
onRefresh: O,
|
|
382
382
|
width: "800px"
|