xyvcard-itsm-flow 0.0.30 → 0.0.31
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-D4GRR-qS.mjs → FileSaver.min-CDjEMtwC.mjs} +1 -1
- package/dist/{edit-5Mzuf0P4.mjs → edit-C1E-qfa5.mjs} +2 -2
- package/dist/{edit-CJr7yTD7.mjs → edit-ChvtQKDN.mjs} +1 -1
- package/dist/{edit-Drt62QCb.mjs → edit-CrcAdKdK.mjs} +2 -2
- package/dist/{edit-CeUTz3_o.mjs → edit-D4s5wvF5.mjs} +1 -1
- package/dist/{edit-C35Q-cqI.mjs → edit-MTXauNsc.mjs} +1 -1
- package/dist/{edit-B0VLbgJ-.mjs → edit-XBmphOon.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DPZXVY4A.mjs → edit.vue_vue_type_script_setup_true_lang-5BzbhqiV.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-6OzdYUkB.mjs → edit.vue_vue_type_script_setup_true_lang-BFexYSnf.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DbZXTwGY.mjs → edit.vue_vue_type_script_setup_true_lang-CuMNdBF0.mjs} +1 -1
- package/dist/{index-CJN4nESL.mjs → index-2s0wkS05.mjs} +2 -2
- package/dist/{index-DCWIhuMs.mjs → index-4m6uu36F.mjs} +2 -2
- package/dist/{index-CFGFHxDM.mjs → index-B1qpvpzm.mjs} +1 -1
- package/dist/{index-DuX8hWma.mjs → index-B9wDdsy0.mjs} +2 -2
- package/dist/{index-C4dToZcD.mjs → index-BZSdHlNo.mjs} +1 -1
- package/dist/{index-DYN6lnQp.mjs → index-BgvM1CFo.mjs} +2 -2
- package/dist/{index-DCwNBkRP.mjs → index-BkH2t7Yo.mjs} +2 -2
- package/dist/{index-DnoYbfMt.mjs → index-C6mX3DsW.mjs} +2 -2
- package/dist/{index-CE7IwvCl.mjs → index-CXTUV-M7.mjs} +1 -1
- package/dist/{index-Cyqj4lz1.mjs → index-CZnh37-K.mjs} +2 -2
- package/dist/{index-jjRXOFp0.mjs → index-ChoIE8BT.mjs} +2 -2
- package/dist/{index-ELCTVQ7I.mjs → index-CrB5yZtO.mjs} +1 -1
- package/dist/{index-CrvXG37m.mjs → index-CuztXu3y.mjs} +2 -2
- package/dist/{index-DrF-WJsT.mjs → index-D00Ve-AT.mjs} +1396 -1414
- package/dist/{index-BWYQvPRq.mjs → index-D7-89F44.mjs} +2 -2
- package/dist/{index-BXRPleAC.mjs → index-DAYAMIMc.mjs} +4 -4
- package/dist/{index-D41ysk0y.mjs → index-DFM8JCKv.mjs} +2 -2
- package/dist/{index-B7eCe55E.mjs → index-DULyLxdF.mjs} +3 -3
- package/dist/{index-DtZYXygp.mjs → index-DcTVaVO4.mjs} +2 -2
- package/dist/{index-BqR-nLwY.mjs → index-DdjqdTwY.mjs} +2 -2
- package/dist/{index-N2KckDkH.mjs → index-DqY2mMQf.mjs} +3 -3
- package/dist/{index-BeM6FWT-.mjs → index-EzrIQVdr.mjs} +3 -3
- package/dist/{index-BQPhMGMJ.mjs → index-UiXiWX1N.mjs} +2 -2
- package/dist/index-VVa_4lxn.mjs +368 -0
- package/dist/{index-hhw57OWZ.mjs → index-XHxFd50l.mjs} +4 -4
- package/dist/{index-B0U63KBN.mjs → index-ggPfkHed.mjs} +2 -2
- package/dist/{index-CNzUqO1U.mjs → index-mcNzGq2i.mjs} +4 -4
- package/dist/{index-UKQyCyvM.mjs → index-tTe8p-n3.mjs} +2 -2
- package/dist/{index-C6Ggy2pd.mjs → index-unjceRa9.mjs} +3 -3
- package/dist/{index-jS9Fb8EP.mjs → index-ykAU3bNf.mjs} +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{info-BGXf5d7Z.mjs → info-Bivvg5Xb.mjs} +1 -1
- package/dist/{info-BVaz08nW.mjs → info-C8mu6jj9.mjs} +1 -1
- package/dist/{info-68Y1sAWl.mjs → info-CO_rn0O5.mjs} +1 -1
- package/dist/{info-Bds3reXl.mjs → info-Dp9jVwt5.mjs} +1 -1
- package/dist/info-Pq3uOpDr.mjs +4 -0
- package/dist/info-pb-u78Pf.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-l3lgFElx.mjs → info.vue_vue_type_script_setup_true_lang-BS1ysX5p.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-Ceyvy80f.mjs → info.vue_vue_type_script_setup_true_lang-CZESsvws.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-uavO0r2g.mjs → info.vue_vue_type_script_setup_true_lang-DnJ5iO3c.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DUNKwofQ.mjs → info.vue_vue_type_script_setup_true_lang-GRXQ200F.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-C6zP-9kn.mjs → info.vue_vue_type_script_setup_true_lang-QAf-SOVD.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DnVaOWBT.mjs → info.vue_vue_type_script_setup_true_lang-d0eLlThg.mjs} +2 -2
- package/package.json +1 -1
- package/dist/index-CRkb476e.mjs +0 -345
- package/dist/info-C3lX1Zzm.mjs +0 -4
- package/dist/info-mqnu4NsE.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-D00Ve-AT.mjs";
|
|
5
|
+
import { U as ae, C as w, D as M, i as ie } from "./index-CrB5yZtO.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,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as J, ref as I, reactive as R, onActivated as X, resolveComponent as s, 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 r, withKeys as x, createTextVNode as y, 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 p, C as re } from "./index-
|
|
4
|
+
import { i as le } from "./index-B1qpvpzm.mjs";
|
|
5
|
+
import ae from "./edit-XBmphOon.mjs";
|
|
6
|
+
import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-BS1ysX5p.mjs";
|
|
7
|
+
import { D as p, C as re } from "./index-CrB5yZtO.mjs";
|
|
8
8
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
9
|
const se = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], me = ["onClick"], de = /* @__PURE__ */ J({
|
|
10
10
|
__name: "index",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as A, mergeModels as E, getCurrentInstance as P, ref as f, useModel as U, resolveComponent as c, createElementBlock as _, openBlock as p, Fragment as y, createVNode as t, withCtx as l, createElementVNode as h, 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-CrB5yZtO.mjs";
|
|
4
4
|
import { fileApi as S } from "jmash-core";
|
|
5
|
-
import { i as j } from "./index-
|
|
5
|
+
import { i as j } from "./index-D00Ve-AT.mjs";
|
|
6
6
|
const Q = /* @__PURE__ */ A({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: /* @__PURE__ */ E({
|
|
@@ -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-D00Ve-AT.mjs";
|
|
5
|
+
import { D as C, C as $, a as de } from "./index-CrB5yZtO.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-CDjEMtwC.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,
|
|
@@ -2,8 +2,8 @@ import { defineComponent as re, mergeModels as ie, ref as b, useModel as se, rea
|
|
|
2
2
|
import { useI18n as pe } from "vue-i18n";
|
|
3
3
|
import { useUserStoreHook as fe, fileApi as ce } from "jmash-core";
|
|
4
4
|
import "element-plus";
|
|
5
|
-
import { i as z } from "./index-
|
|
6
|
-
import { D as w, O as j, C as S, i as K } from "./index-
|
|
5
|
+
import { i as z } from "./index-D00Ve-AT.mjs";
|
|
6
|
+
import { D as w, O as j, C as S, i as K } from "./index-CrB5yZtO.mjs";
|
|
7
7
|
import { sysUserExtApi as ve } from "xyvcard-itsmsys";
|
|
8
8
|
import { E as be } from "./el-message-BJAl6Gwu.mjs";
|
|
9
9
|
const ke = /* @__PURE__ */ re({
|
|
@@ -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-CuMNdBF0.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-CrB5yZtO.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,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as le, mergeModels as oe, ref as f, useModel as ne, resolveComponent as c, createElementBlock as k, openBlock as _, Fragment as j, createVNode as e, withCtx as t, createElementVNode as n, createTextVNode as r, toDisplayString as s, unref as b, createCommentVNode as g, withDirectives as L, vShow as q, createBlock as z, renderList as ae } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as se } from "./index-CvX2It1o.mjs";
|
|
4
|
-
import { a as h } from "./index-
|
|
5
|
-
import { D as y, C as $, a as ue } from "./index-
|
|
4
|
+
import { a as h } from "./index-D00Ve-AT.mjs";
|
|
5
|
+
import { D as y, C as $, a as ue } from "./index-CrB5yZtO.mjs";
|
|
6
6
|
import "jmash-core";
|
|
7
7
|
import { useI18n as re } from "vue-i18n";
|
|
8
|
-
import { F as ie } from "./FileSaver.min-
|
|
8
|
+
import { F as ie } from "./FileSaver.min-CDjEMtwC.mjs";
|
|
9
9
|
import { E as A } from "./el-message-BJAl6Gwu.mjs";
|
|
10
10
|
const de = { key: 0 }, pe = { key: 1 }, ce = {
|
|
11
11
|
key: 2,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Z, mergeModels as ee, ref as m, useModel as le, resolveComponent as d, createElementBlock as A, openBlock as k, Fragment as O, createVNode as e, withCtx as l, createElementVNode as s, createTextVNode as u, toDisplayString as r, unref as b, createBlock as $, createCommentVNode as V, renderList as te } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as ae } from "./index-CvX2It1o.mjs";
|
|
4
|
-
import { a as oe } from "./index-
|
|
5
|
-
import { D as F, i as I, C as y } from "./index-
|
|
4
|
+
import { a as oe } from "./index-D00Ve-AT.mjs";
|
|
5
|
+
import { D as F, i as I, C as y } from "./index-CrB5yZtO.mjs";
|
|
6
6
|
import { fileApi as ne } from "jmash-core";
|
|
7
7
|
import { useI18n as se } from "vue-i18n";
|
|
8
|
-
import { F as ue } from "./FileSaver.min-
|
|
8
|
+
import { F as ue } from "./FileSaver.min-CDjEMtwC.mjs";
|
|
9
9
|
import { E as j } from "./el-message-BJAl6Gwu.mjs";
|
|
10
10
|
const ke = /* @__PURE__ */ Z({
|
|
11
11
|
__name: "index",
|
|
@@ -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-CrB5yZtO.mjs";
|
|
5
|
+
import { i as Q, a as X } from "./index-B1qpvpzm.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";
|
|
@@ -0,0 +1,368 @@
|
|
|
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
|
+
import { useUserStore as T, clearEmpty as I, request as B, useTableHooks as le } from "jmash-core";
|
|
3
|
+
import { useI18n as oe } from "vue-i18n";
|
|
4
|
+
import { q as re } from "./index-D00Ve-AT.mjs";
|
|
5
|
+
import { rbacApi as ne } from "jmash-rbac";
|
|
6
|
+
import { D as R } from "./index-CrB5yZtO.mjs";
|
|
7
|
+
class se {
|
|
8
|
+
getKey(m) {
|
|
9
|
+
return {};
|
|
10
|
+
}
|
|
11
|
+
// 查询翻页信息备品备件明细表
|
|
12
|
+
findPage(m) {
|
|
13
|
+
const i = T().user.tenant;
|
|
14
|
+
return I(m), B({
|
|
15
|
+
url: "/v1/itsmflow/spare_parts_demand_date/page/" + i,
|
|
16
|
+
method: "get",
|
|
17
|
+
params: m
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
// 导出备品备件明细表Excel文件
|
|
21
|
+
exportExcel(m) {
|
|
22
|
+
const i = T().user.tenant;
|
|
23
|
+
I(m);
|
|
24
|
+
const o = re.stringify(m, {
|
|
25
|
+
arrayFormat: "brackets",
|
|
26
|
+
allowDots: !0
|
|
27
|
+
});
|
|
28
|
+
return B({
|
|
29
|
+
url: "/v1/itsmflow/itsm_flow_spare_parts_details/" + i + "/itsm_flow_spare_parts_details.xlsx?" + o,
|
|
30
|
+
method: "get",
|
|
31
|
+
responseType: "blob"
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const me = new se(), de = { class: "app-container" }, ie = { class: "search-container" }, ue = { key: 0 }, be = /* @__PURE__ */ X({
|
|
36
|
+
__name: "index",
|
|
37
|
+
setup(E) {
|
|
38
|
+
const { t: m } = oe(), { proxy: i } = Z(), o = h({});
|
|
39
|
+
R.orgIdBizDict.useValues();
|
|
40
|
+
const {
|
|
41
|
+
tableHooks: d,
|
|
42
|
+
multipleTableRef: y,
|
|
43
|
+
queryFormRef: v,
|
|
44
|
+
listLoading: S,
|
|
45
|
+
tableData: z,
|
|
46
|
+
total: w
|
|
47
|
+
} = le(m, me, o), u = h([]), U = () => {
|
|
48
|
+
const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth(), 1), g = new Date(e.getFullYear(), e.getMonth() + 1, 0);
|
|
49
|
+
return [
|
|
50
|
+
i.$moment.formatDate(t, "YYYY-MM-DD"),
|
|
51
|
+
i.$moment.formatDate(g, "YYYY-MM-DD")
|
|
52
|
+
];
|
|
53
|
+
}, F = () => {
|
|
54
|
+
const [e, t] = U();
|
|
55
|
+
u.value = [e, t], o.value.demandDateStart = e, o.value.demandDateEnd = t;
|
|
56
|
+
};
|
|
57
|
+
function q(e) {
|
|
58
|
+
o.value.demandDateStart = (e == null ? void 0 : e[0]) || "", o.value.demandDateEnd = (e == null ? void 0 : e[1]) || "";
|
|
59
|
+
}
|
|
60
|
+
let f = h([
|
|
61
|
+
{
|
|
62
|
+
label: "itsmFlowSparePartsDemand.type",
|
|
63
|
+
prop: "type",
|
|
64
|
+
width: "100",
|
|
65
|
+
sortable: "custom",
|
|
66
|
+
isColumn: !0
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: "itsmFlowSparePartsDemand.name",
|
|
70
|
+
prop: "name",
|
|
71
|
+
minWidth: "150",
|
|
72
|
+
sortable: "custom",
|
|
73
|
+
isColumn: !0
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
label: "itsmFlowSparePartsDemand.number",
|
|
77
|
+
prop: "number",
|
|
78
|
+
width: "80",
|
|
79
|
+
sortable: "custom",
|
|
80
|
+
isColumn: !0
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: "itsmFlowSparePartsDemand.unit",
|
|
84
|
+
prop: "unit",
|
|
85
|
+
width: "105",
|
|
86
|
+
sortable: "custom",
|
|
87
|
+
isColumn: !0
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
label: "itsmFlowSparePartsDemand.parameter",
|
|
91
|
+
prop: "parameter",
|
|
92
|
+
minWidth: "150",
|
|
93
|
+
sortable: "custom",
|
|
94
|
+
isColumn: !0
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: "itsmFlowSparePartsDemand.valuation",
|
|
98
|
+
prop: "valuation",
|
|
99
|
+
width: "150",
|
|
100
|
+
sortable: "custom",
|
|
101
|
+
isColumn: !0
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
label: "itsmFlowSparePartsDemand.range",
|
|
105
|
+
prop: "range",
|
|
106
|
+
width: "150",
|
|
107
|
+
sortable: "custom",
|
|
108
|
+
isColumn: !0
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: "itsmFlowSparePartsDemand.orgId",
|
|
112
|
+
prop: "orgId",
|
|
113
|
+
slotName: "orgId",
|
|
114
|
+
columnType: "slot",
|
|
115
|
+
width: "150",
|
|
116
|
+
sortable: "custom",
|
|
117
|
+
isColumn: !0
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: "itsmFlowSparePartsDemand.createBy",
|
|
121
|
+
prop: "createBy",
|
|
122
|
+
slotName: "createBy",
|
|
123
|
+
columnType: "slot",
|
|
124
|
+
width: "150",
|
|
125
|
+
sortable: "custom",
|
|
126
|
+
isColumn: !0
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
label: "itsmFlowSparePartsDemand.demandDate",
|
|
130
|
+
prop: "demandDate",
|
|
131
|
+
slotName: "demandDate",
|
|
132
|
+
columnType: "slot",
|
|
133
|
+
width: "170",
|
|
134
|
+
sortable: "custom",
|
|
135
|
+
isColumn: !0
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
label: "itsmFlowSparePartsDemand.createTime",
|
|
139
|
+
prop: "createTime",
|
|
140
|
+
slotName: "createTime",
|
|
141
|
+
columnType: "slot",
|
|
142
|
+
width: "170",
|
|
143
|
+
sortable: "custom",
|
|
144
|
+
isColumn: !0
|
|
145
|
+
}
|
|
146
|
+
]);
|
|
147
|
+
function j(e) {
|
|
148
|
+
d.selectionRows.value = e;
|
|
149
|
+
}
|
|
150
|
+
function L(e) {
|
|
151
|
+
d.handleSort(e.prop, e.order);
|
|
152
|
+
}
|
|
153
|
+
function x() {
|
|
154
|
+
S.value = !0;
|
|
155
|
+
try {
|
|
156
|
+
v.value && v.value.resetFields();
|
|
157
|
+
const e = o.value.pageSize || 10;
|
|
158
|
+
o.value = {
|
|
159
|
+
curPage: 1,
|
|
160
|
+
pageSize: e
|
|
161
|
+
}, F(), y.value && y.value.clearSelection(), d.getList();
|
|
162
|
+
} catch (e) {
|
|
163
|
+
console.error("重置操作出错:", e);
|
|
164
|
+
} finally {
|
|
165
|
+
S.value = !1;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
function A() {
|
|
169
|
+
u.value && u.value.length === 2 && (o.value.demandDateStart = u.value[0], o.value.demandDateEnd = u.value[1]), o.value.curPage = 1, d.getList();
|
|
170
|
+
}
|
|
171
|
+
return ee(() => {
|
|
172
|
+
F(), d.getList();
|
|
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"), Q = s("el-form"), H = s("jmash-column-select"), W = s("jmash-table"), G = s("jmash-pagination"), J = s("el-card"), O = te("hasPerm");
|
|
175
|
+
return _(), C("div", de, [
|
|
176
|
+
k("div", ie, [
|
|
177
|
+
r(Q, {
|
|
178
|
+
ref_key: "queryFormRef",
|
|
179
|
+
ref: v,
|
|
180
|
+
model: o.value,
|
|
181
|
+
inline: !0
|
|
182
|
+
}, {
|
|
183
|
+
default: l(() => [
|
|
184
|
+
r(Y, null, {
|
|
185
|
+
default: l(() => [
|
|
186
|
+
r(D, { span: 6 }, {
|
|
187
|
+
default: l(() => [
|
|
188
|
+
r(b, {
|
|
189
|
+
label: e.$t("itsmFlowSparePartsDemand.type"),
|
|
190
|
+
prop: "type"
|
|
191
|
+
}, {
|
|
192
|
+
default: l(() => [
|
|
193
|
+
r(g, {
|
|
194
|
+
modelValue: o.value.type,
|
|
195
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => o.value.type = a),
|
|
196
|
+
placeholder: e.$t("itsmFlowSparePartsDemand.likeTypeRequired"),
|
|
197
|
+
onKeyup: t[1] || (t[1] = $((a) => n(d).handleQuery(), ["enter"])),
|
|
198
|
+
class: "!w-[203px]"
|
|
199
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
200
|
+
]),
|
|
201
|
+
_: 1
|
|
202
|
+
}, 8, ["label"])
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
}),
|
|
206
|
+
r(D, { span: 6 }, {
|
|
207
|
+
default: l(() => [
|
|
208
|
+
r(b, {
|
|
209
|
+
label: e.$t("itsmFlowSparePartsDemand.likeName"),
|
|
210
|
+
prop: "likeName"
|
|
211
|
+
}, {
|
|
212
|
+
default: l(() => [
|
|
213
|
+
r(g, {
|
|
214
|
+
modelValue: o.value.likeName,
|
|
215
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => o.value.likeName = a),
|
|
216
|
+
placeholder: e.$t("itsmFlowSparePartsDemand.likeNameRequired"),
|
|
217
|
+
onKeyup: t[3] || (t[3] = $((a) => n(d).handleQuery(), ["enter"])),
|
|
218
|
+
class: "!w-[203px]"
|
|
219
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
}, 8, ["label"])
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
}),
|
|
226
|
+
r(D, { span: 6 }, {
|
|
227
|
+
default: l(() => [
|
|
228
|
+
r(b, {
|
|
229
|
+
label: e.$t("itsmFlowSparePartsDemand.demandDate"),
|
|
230
|
+
prop: "demandDateStart"
|
|
231
|
+
}, {
|
|
232
|
+
default: l(() => [
|
|
233
|
+
r(K, {
|
|
234
|
+
modelValue: u.value,
|
|
235
|
+
"onUpdate:modelValue": t[4] || (t[4] = (a) => u.value = a),
|
|
236
|
+
type: "daterange",
|
|
237
|
+
"start-placeholder": e.$t("itsmFlowSparePartsDemand.demandDateStart"),
|
|
238
|
+
"end-placeholder": e.$t("itsmFlowSparePartsDemand.demandDateEnd"),
|
|
239
|
+
format: "YYYY-MM-DD",
|
|
240
|
+
"value-format": "YYYY-MM-DD",
|
|
241
|
+
onChange: q
|
|
242
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}, 8, ["label"])
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
}),
|
|
249
|
+
r(D, { span: 6 }, {
|
|
250
|
+
default: l(() => [
|
|
251
|
+
r(b, { class: "search-btn" }, {
|
|
252
|
+
default: l(() => [
|
|
253
|
+
r(P, {
|
|
254
|
+
type: "primary",
|
|
255
|
+
onClick: t[5] || (t[5] = (a) => A())
|
|
256
|
+
}, {
|
|
257
|
+
default: l(() => [
|
|
258
|
+
c(p(e.$t("common.search")), 1)
|
|
259
|
+
]),
|
|
260
|
+
_: 1
|
|
261
|
+
}),
|
|
262
|
+
r(P, {
|
|
263
|
+
onClick: t[6] || (t[6] = (a) => x())
|
|
264
|
+
}, {
|
|
265
|
+
default: l(() => [
|
|
266
|
+
c(p(e.$t("common.reset")), 1)
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
})
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
})
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
})
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
})
|
|
279
|
+
]),
|
|
280
|
+
_: 1
|
|
281
|
+
}, 8, ["model"]),
|
|
282
|
+
t[13] || (t[13] = k("div", { class: "clear" }, null, -1))
|
|
283
|
+
]),
|
|
284
|
+
r(J, {
|
|
285
|
+
shadow: "never",
|
|
286
|
+
class: "table-container"
|
|
287
|
+
}, {
|
|
288
|
+
header: l(() => [
|
|
289
|
+
r(Y, null, {
|
|
290
|
+
default: l(() => [
|
|
291
|
+
r(D, {
|
|
292
|
+
span: 24,
|
|
293
|
+
class: "container-float"
|
|
294
|
+
}, {
|
|
295
|
+
default: l(() => [
|
|
296
|
+
ae((_(), M(P, {
|
|
297
|
+
plain: "",
|
|
298
|
+
type: "primary",
|
|
299
|
+
onClick: t[7] || (t[7] = (a) => n(d).handleExport(
|
|
300
|
+
n(m)("itsmFlowSparePartsDemand.exportName")
|
|
301
|
+
))
|
|
302
|
+
}, {
|
|
303
|
+
default: l(() => [
|
|
304
|
+
c(p(e.$t("common.export")), 1)
|
|
305
|
+
]),
|
|
306
|
+
_: 1
|
|
307
|
+
})), [
|
|
308
|
+
[O, ["itsmflow:itsm_flow_spare_parts:import"]]
|
|
309
|
+
]),
|
|
310
|
+
r(H, {
|
|
311
|
+
modelValue: n(f),
|
|
312
|
+
"onUpdate:modelValue": t[8] || (t[8] = (a) => N(f) ? f.value = a : f = a),
|
|
313
|
+
"label-name": "reports/itsm-flow-spare-parts-details"
|
|
314
|
+
}, null, 8, ["modelValue"])
|
|
315
|
+
]),
|
|
316
|
+
_: 1
|
|
317
|
+
})
|
|
318
|
+
]),
|
|
319
|
+
_: 1
|
|
320
|
+
})
|
|
321
|
+
]),
|
|
322
|
+
footer: l(() => [
|
|
323
|
+
n(w) > 0 ? (_(), M(G, {
|
|
324
|
+
key: 0,
|
|
325
|
+
total: n(w),
|
|
326
|
+
"onUpdate:total": t[9] || (t[9] = (a) => N(w) ? w.value = a : null),
|
|
327
|
+
"current-page": o.value.curPage,
|
|
328
|
+
"onUpdate:currentPage": t[10] || (t[10] = (a) => o.value.curPage = a),
|
|
329
|
+
"page-size": o.value.pageSize,
|
|
330
|
+
"onUpdate:pageSize": t[11] || (t[11] = (a) => o.value.pageSize = a),
|
|
331
|
+
onPagination: t[12] || (t[12] = (a) => n(d).getList())
|
|
332
|
+
}, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
|
|
333
|
+
]),
|
|
334
|
+
default: l(() => [
|
|
335
|
+
r(W, {
|
|
336
|
+
ref_key: "multipleTableRef",
|
|
337
|
+
ref: y,
|
|
338
|
+
"row-key": "detailsId",
|
|
339
|
+
"list-loading": n(S),
|
|
340
|
+
data: n(z),
|
|
341
|
+
"table-label": n(f),
|
|
342
|
+
onSelectionChange: j,
|
|
343
|
+
onSortChange: L
|
|
344
|
+
}, {
|
|
345
|
+
orgId: l((a) => [
|
|
346
|
+
c(p(n(R).orgIdBizDict.getValue(a.data.row.orgId)), 1)
|
|
347
|
+
]),
|
|
348
|
+
createBy: l((a) => [
|
|
349
|
+
a.data.row.createBy ? (_(), C("span", ue, p(n(ne).userInfo(a.data.row.createBy).realName), 1)) : V("", !0)
|
|
350
|
+
]),
|
|
351
|
+
createTime: l((a) => [
|
|
352
|
+
c(p(n(i).$moment.formatDate(a.data.row.createTime, "YYYY-MM-DD")), 1)
|
|
353
|
+
]),
|
|
354
|
+
demandDate: l((a) => [
|
|
355
|
+
c(p(n(i).$moment.formatDate(a.data.row.demandDate, "YYYY-MM-DD")), 1)
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
})
|
|
362
|
+
]);
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
export {
|
|
367
|
+
be as default
|
|
368
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as X, getCurrentInstance as Z, ref as k, reactive as z, onActivated as ee, resolveComponent as n, resolveDirective as te, createElementBlock as _, openBlock as m, createElementVNode as $, createVNode as a, createBlock as h, createCommentVNode as C, withCtx as l, unref as r, withKeys as oe, createTextVNode as p, toDisplayString as u, withDirectives as V, isRef as R } from "vue";
|
|
2
2
|
import { useTableHooks as le } from "jmash-core";
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
|
-
import { i as re } from "./index-
|
|
5
|
-
import ne from "./edit-
|
|
6
|
-
import { _ as ie } from "./info.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as w, O as se, C as P } from "./index-
|
|
4
|
+
import { i as re } from "./index-D00Ve-AT.mjs";
|
|
5
|
+
import ne from "./edit-CrcAdKdK.mjs";
|
|
6
|
+
import { _ as ie } from "./info.vue_vue_type_script_setup_true_lang-DnJ5iO3c.mjs";
|
|
7
|
+
import { D as w, O as se, C as P } from "./index-CrB5yZtO.mjs";
|
|
8
8
|
import { rbacApi as me } from "jmash-rbac";
|
|
9
9
|
const ue = { class: "app-container" }, de = { class: "search-container" }, pe = { key: 0 }, ce = ["onClick"], ye = ["onClick"], fe = ["onClick"], Ie = /* @__PURE__ */ X({
|
|
10
10
|
__name: "index",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as z, getCurrentInstance as R, ref as v, useModel as Y, nextTick as j, resolveComponent as b, createElementBlock as f, openBlock as d, Fragment as k, createVNode as l, withCtx as e, createElementVNode as F, createTextVNode as i, toDisplayString as u, renderList as T, unref as w, createBlock as M } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { i as H } from "./index-
|
|
4
|
-
import { D as _, i as K, C as W } from "./index-
|
|
3
|
+
import { i as H } from "./index-D00Ve-AT.mjs";
|
|
4
|
+
import { D as _, i as K, C as W } from "./index-CrB5yZtO.mjs";
|
|
5
5
|
import { useUserStoreHook as q, fileApi as G } from "jmash-core";
|
|
6
6
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const Q = /* @__PURE__ */ P({
|
|
@@ -1,10 +1,10 @@
|
|
|
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-D00Ve-AT.mjs";
|
|
5
|
+
import ne from "./edit-C1E-qfa5.mjs";
|
|
6
|
+
import { _ as se } from "./info.vue_vue_type_script_setup_true_lang-d0eLlThg.mjs";
|
|
7
|
+
import { D as c, O as me, C as N } from "./index-CrB5yZtO.mjs";
|
|
8
8
|
import { rbacApi as ue } from "jmash-rbac";
|
|
9
9
|
const de = { class: "app-container" }, pe = { class: "search-container" }, ce = { key: 0 }, ye = ["onClick"], fe = ["onClick"], ve = ["onClick"], Ce = /* @__PURE__ */ Z({
|
|
10
10
|
__name: "index",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as k, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as _, createVNode as o, createBlock as A, createCommentVNode as S, withCtx as l, withKeys as F, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as $, isRef as T } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import { D as N, C as Z, i as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as N, C as Z, i as x } from "./index-CrB5yZtO.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-5BzbhqiV.mjs";
|
|
6
6
|
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ne) {
|
|
@@ -1,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-D00Ve-AT.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-BFexYSnf.mjs";
|
|
6
|
+
import { C as te, D as p } from "./index-CrB5yZtO.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,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-D00Ve-AT.mjs";
|
|
5
|
+
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-QAf-SOVD.mjs";
|
|
6
|
+
import { D as p, O as ee, C as le } from "./index-CrB5yZtO.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) {
|
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-D00Ve-AT.mjs";
|
|
3
3
|
import "jmash-flow";
|
|
4
4
|
export {
|
|
5
5
|
m as TaskItsmFlowAcceptance,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, mergeModels as K, useModel as z, ref as P, resolveComponent as m, createBlock as _, openBlock as f, withCtx as e, createVNode as l, createElementVNode as $, createCommentVNode as B, createTextVNode as r, toDisplayString as n, unref as c, createElementBlock as I, Fragment as C, renderList as N } from "vue";
|
|
2
|
-
import { D as b, i as R } from "./index-
|
|
3
|
-
import { i as j, a as q } from "./index-
|
|
2
|
+
import { D as b, i as R } from "./index-CrB5yZtO.mjs";
|
|
3
|
+
import { i as j, a as q } from "./index-B1qpvpzm.mjs";
|
|
4
4
|
import { fileApi as G } from "jmash-core";
|
|
5
5
|
import { rbacApi as H } from "jmash-rbac";
|
|
6
6
|
const Z = /* @__PURE__ */ U({
|