xyvcard-itsm-flow 0.0.26 → 0.0.27
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-FLjvLk81.mjs → FileSaver.min-DDqwfEMu.mjs} +1 -1
- package/dist/{edit-D--QEJjt.mjs → edit-BH_qEChy.mjs} +1 -1
- package/dist/{edit-DVqIGzRC.mjs → edit-BWaFYsWY.mjs} +2 -2
- package/dist/{edit-Bj6O1CiV.mjs → edit-BpAjiLxu.mjs} +2 -2
- package/dist/{edit-DE30a8nF.mjs → edit-CkGTDSiH.mjs} +1 -1
- package/dist/{edit-BoyxGI-j.mjs → edit-D0-xQV59.mjs} +1 -1
- package/dist/{edit-ChPw3-tf.mjs → edit-DIyC972n.mjs} +4 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs → edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs → edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs → edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs} +1 -1
- package/dist/{index-BKReblQ-.mjs → index-B20ya3NZ.mjs} +2 -2
- package/dist/{index-DLKaq1KT.mjs → index-BKQGui3N.mjs} +3 -3
- package/dist/{index-DyZhLpPq.mjs → index-BKveaoi_.mjs} +2 -2
- package/dist/{index-C2_qB4RV.mjs → index-Bjjyjlwd.mjs} +1 -1
- package/dist/{index-BVKYrCIy.mjs → index-BkqkF7bW.mjs} +1 -1
- package/dist/{index-r4Tg0GX2.mjs → index-C3zQQDPa.mjs} +3 -3
- package/dist/{index-C6lbS4Lo.mjs → index-CGDEQO2p.mjs} +2 -2
- package/dist/{index-DyhFuDLH.mjs → index-CI9FMMKr.mjs} +2 -2
- package/dist/{index-xWvPJZ-m.mjs → index-CQ9elIv7.mjs} +2 -2
- package/dist/{index-BPbEgv_g.mjs → index-CV6uWLV9.mjs} +3 -3
- package/dist/{index-SilwoNEK.mjs → index-CXOeg2so.mjs} +1402 -1420
- package/dist/{index-CcmelnG0.mjs → index-Cd9CTAUb.mjs} +2 -2
- package/dist/{index-Cbd9gMMJ.mjs → index-Chh_9yED.mjs} +2 -2
- package/dist/{index-jG64vmFA.mjs → index-CillImY_.mjs} +2 -2
- package/dist/{index-DrUmzzLs.mjs → index-CjYlJigX.mjs} +4 -4
- package/dist/{index-DgMfinzm.mjs → index-D6Poyzq3.mjs} +2 -2
- package/dist/{index-DeWL7kiw.mjs → index-DBRVK73O.mjs} +2 -2
- package/dist/{index-DWJG5OHB.mjs → index-DTY8LR57.mjs} +1 -1
- package/dist/{index-BnpWxtwn.mjs → index-DY5EGkfi.mjs} +3 -3
- package/dist/{index-DvfEpZEP.mjs → index-DcDzU5zK.mjs} +2 -2
- package/dist/{index-Cv9EtBjj.mjs → index-DfptoNZ3.mjs} +4 -4
- package/dist/{index-CBlDGIOm.mjs → index-DjZysfQB.mjs} +4 -4
- package/dist/index-DxoX_XqQ.mjs +384 -0
- package/dist/{index-8wrBAgqn.mjs → index-QPdQNctc.mjs} +4 -4
- package/dist/{index-DCrOzptR.mjs → index-WpTFFCXY.mjs} +3 -3
- package/dist/{index-BGUJBf1b.mjs → index-YBHgdjIk.mjs} +2 -2
- package/dist/{index-BCm8GyNp.mjs → index-n6pwVFlo.mjs} +1 -1
- package/dist/{index-DUeJgFzy.mjs → index-qvWMlGg9.mjs} +2 -2
- package/dist/{index-DymW6iPU.mjs → index-rHARbj0G.mjs} +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{info-BWhsB1Ap.mjs → info-0Dcd8VrX.mjs} +1 -1
- package/dist/{info-CGUYIYny.mjs → info-BmfgBiif.mjs} +1 -1
- package/dist/{info-CbJJduEU.mjs → info-C1J_4HDK.mjs} +1 -1
- package/dist/{info-9EvTq-5p.mjs → info-DTZck-Y6.mjs} +1 -1
- package/dist/info-DjtHpeoT.mjs +4 -0
- package/dist/info-qIG0jebP.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs → info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CdiFub3m.mjs → info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-Dm4Ld-wL.mjs → info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CY7c7Xmz.mjs → info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DIXXp0TI.mjs → info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-C0J9fiF3.mjs → info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-DwPAoK5U.mjs +0 -369
- package/dist/info-CtxVi70h.mjs +0 -4
- package/dist/info-ZeMWMgd3.mjs +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, mergeModels as N, ref as _, useModel as P, getCurrentInstance as A, resolveComponent as f, createElementBlock as b, openBlock as v, Fragment as g, createVNode as t, withCtx as l, createElementVNode as F, createTextVNode as i, toDisplayString as n, unref as c, renderList as T, createBlock as E } from "vue";
|
|
2
2
|
import { rbacApi as U } from "jmash-rbac";
|
|
3
|
-
import { D as u, i as R, C as S } from "./index-
|
|
3
|
+
import { D as u, i as R, C as S } from "./index-DTY8LR57.mjs";
|
|
4
4
|
import { fileApi as Y } from "jmash-core";
|
|
5
|
-
import { i as j } from "./index-
|
|
5
|
+
import { i as j } from "./index-CXOeg2so.mjs";
|
|
6
6
|
const Q = /* @__PURE__ */ M({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: /* @__PURE__ */ N({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as le, mergeModels as oe, ref as _, useModel as te, reactive as ae, computed as Y, nextTick as ie, resolveComponent as p, createElementBlock as y, openBlock as c, Fragment as h, createVNode as l, withCtx as t, createElementVNode as L, unref as d, renderList as k, createBlock as A, toDisplayString as S, createTextVNode as g, createCommentVNode as se } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as re } from "vue-i18n";
|
|
4
|
-
import { i as q } from "./index-
|
|
5
|
-
import { U as ne, C as O, D as b, i as de } from "./index-
|
|
4
|
+
import { i as q } from "./index-CXOeg2so.mjs";
|
|
5
|
+
import { U as ne, C as O, D as b, i as de } from "./index-DTY8LR57.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 ce } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as se, mergeModels as ue, ref as y, useModel as de, reactive as B, computed as M, watch as N, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as I, createVNode as o, withCtx as r, createElementVNode as me, unref as i, 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 z } from "./index-
|
|
5
|
-
import { D as f, O as Y, C as T, i as ce } from "./index-
|
|
4
|
+
import { i as z } from "./index-CXOeg2so.mjs";
|
|
5
|
+
import { D as f, O as Y, C as T, i as ce } from "./index-DTY8LR57.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,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-CXOeg2so.mjs";
|
|
5
|
+
import ne from "./edit-BpAjiLxu.mjs";
|
|
6
|
+
import { _ as se } from "./info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs";
|
|
7
|
+
import { D as c, O as me, C as N } from "./index-DTY8LR57.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 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-DTY8LR57.mjs";
|
|
5
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CzLGZ50z.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) {
|
|
@@ -2,8 +2,8 @@ import { defineComponent as be, mergeModels as ge, ref as f, useModel as Ie, rea
|
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
4
|
import { p as Ee } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import { a as J } from "./index-
|
|
6
|
-
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-
|
|
5
|
+
import { a as J } from "./index-CXOeg2so.mjs";
|
|
6
|
+
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-DTY8LR57.mjs";
|
|
7
7
|
import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
|
|
8
8
|
const De = /* @__PURE__ */ be({
|
|
9
9
|
__name: "index",
|
|
@@ -4,7 +4,7 @@ var r = (n, t, s) => E(n, typeof t != "symbol" ? t + "" : t, s);
|
|
|
4
4
|
import { useUserStore as p, clearEmpty as o, request as l, BizDict as d, BizLayDict as N, CustomBizDict as g, EnumDict as m } from "jmash-core";
|
|
5
5
|
import { contractApi as v, itemApi as _, contractUserApi as y } from "xyvcard-itsm";
|
|
6
6
|
import { sysUserExtApi as A, sysOrgApi as h } from "xyvcard-itsmsys";
|
|
7
|
-
import { a as T } from "./index-
|
|
7
|
+
import { a as T } from "./index-CXOeg2so.mjs";
|
|
8
8
|
import { ref as U } from "vue";
|
|
9
9
|
import { EntryDict as I, EntryBizLayDict as L } from "jmash-dict";
|
|
10
10
|
class O {
|
|
@@ -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-CXOeg2so.mjs";
|
|
5
|
+
import { D as C, C as $, a as de } from "./index-DTY8LR57.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-DDqwfEMu.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,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as A, mergeModels as z, getCurrentInstance as R, ref as _, useModel as Y, nextTick as j, resolveComponent as b, createElementBlock as v, openBlock as c, Fragment as k, createVNode as l, withCtx as e, createElementVNode as C, createTextVNode as r, 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 m, i as K, C as W } from "./index-
|
|
3
|
+
import { i as H } from "./index-CXOeg2so.mjs";
|
|
4
|
+
import { D as m, i as K, C as W } from "./index-DTY8LR57.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__ */ A({
|
|
@@ -3,8 +3,8 @@ import { ElMessage as q } from "element-plus";
|
|
|
3
3
|
import { d as Ve, p as Se, u as _e, c as Pe } from "./index-CvX2It1o.mjs";
|
|
4
4
|
import "jmash-rbac";
|
|
5
5
|
import { useI18n as Ie } from "vue-i18n";
|
|
6
|
-
import { i as G, a as $e } from "./index-
|
|
7
|
-
import { D as c, i as qe, C as ke } from "./index-
|
|
6
|
+
import { i as G, a as $e } from "./index-Bjjyjlwd.mjs";
|
|
7
|
+
import { D as c, i as qe, C as ke } from "./index-DTY8LR57.mjs";
|
|
8
8
|
import { itemBudgetApi as J } from "xyvcard-itsm";
|
|
9
9
|
import { useUserStoreHook as De } from "jmash-core";
|
|
10
10
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -594,7 +594,7 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
594
594
|
}, {
|
|
595
595
|
header: n(() => [
|
|
596
596
|
l[11] || (l[11] = y("span", { class: "required_red" }, "*", -1)),
|
|
597
|
-
y("span", null, S(e.$t("itsmFlowSpareParts.unit"))
|
|
597
|
+
y("span", null, S(e.$t("itsmFlowSpareParts.unit")), 1)
|
|
598
598
|
]),
|
|
599
599
|
default: n(({ row: o }) => [
|
|
600
600
|
t(i, {
|
|
@@ -751,7 +751,7 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
751
751
|
], 64);
|
|
752
752
|
};
|
|
753
753
|
}
|
|
754
|
-
}), Ke = /* @__PURE__ */ Be(Te, [["__scopeId", "data-v-
|
|
754
|
+
}), Ke = /* @__PURE__ */ Be(Te, [["__scopeId", "data-v-90b96c0e"]]);
|
|
755
755
|
export {
|
|
756
756
|
Ke as default
|
|
757
757
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as J, ref as S, 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-Bjjyjlwd.mjs";
|
|
5
|
+
import ae from "./edit-DIyC972n.mjs";
|
|
6
|
+
import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs";
|
|
7
|
+
import { D as p, C as re } from "./index-DTY8LR57.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",
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import { defineComponent as K, mergeModels as j, ref as v, useModel as q, watch as W, resolveComponent as b, createElementBlock as F, openBlock as m, Fragment as I, createVNode as l, withCtx as t, createElementVNode as c, createBlock as P, createCommentVNode as $, createTextVNode as n, toDisplayString as s, unref as _, renderList as L } from "vue";
|
|
2
|
+
import "element-plus";
|
|
3
|
+
import { useI18n as G } from "vue-i18n";
|
|
4
|
+
import { D as d, C as H, i as J } from "./index-DTY8LR57.mjs";
|
|
5
|
+
import { i as Q, a as X } from "./index-Bjjyjlwd.mjs";
|
|
6
|
+
import { fileApi as Y } from "jmash-core";
|
|
7
|
+
import { rbacApi as Z } from "jmash-rbac";
|
|
8
|
+
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
const ee = { class: "total-price" }, te = { id: "totalPrice" }, le = /* @__PURE__ */ K({
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: /* @__PURE__ */ j({
|
|
12
|
+
task: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default: () => {
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}, {
|
|
18
|
+
modelValue: {},
|
|
19
|
+
modelModifiers: {}
|
|
20
|
+
}),
|
|
21
|
+
emits: ["update:modelValue"],
|
|
22
|
+
setup(V, { expose: C }) {
|
|
23
|
+
d.fileTypeDict.useDictValues(), d.orgIdBizDict.useValues(), d.itemBizLayDict.useValues(), d.budgetTypeDict.useValues(), console.log(d.orgIdBizDict.values, "=> orgIdBizDict"), console.log(d.itemBizLayDict.values, "=>itemBizLayDict ");
|
|
24
|
+
const { t: ae } = G(), h = v(), M = v({}), f = q(V, "modelValue"), N = v([]), S = V;
|
|
25
|
+
console.log(d.budgetTypeDict.values, "=>budgetTypeDict ");
|
|
26
|
+
const i = v({});
|
|
27
|
+
Q.findById({ flowSpareId: S.task.businessKey }).then(({ data: e }) => {
|
|
28
|
+
i.value = e, console.log(e, "=>data");
|
|
29
|
+
});
|
|
30
|
+
const k = v([]);
|
|
31
|
+
X.findList({ flowSpareId: S.task.businessKey }).then((e) => {
|
|
32
|
+
k.value = e.data.results, console.log(e.data.results, "=>tableData ");
|
|
33
|
+
});
|
|
34
|
+
const z = (e) => {
|
|
35
|
+
var a;
|
|
36
|
+
return ((a = N.value) == null ? void 0 : a.filter((o) => o.fileSort === e)) || [];
|
|
37
|
+
}, D = v("0.00");
|
|
38
|
+
W(
|
|
39
|
+
() => k.value,
|
|
40
|
+
(e) => {
|
|
41
|
+
if (!e || e.length === 0) {
|
|
42
|
+
D.value = "0.00";
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
const a = e.reduce((o, u) => {
|
|
46
|
+
const y = parseFloat(u.valuation) || 0, p = parseFloat(u.number) || 0;
|
|
47
|
+
return o + y * p;
|
|
48
|
+
}, 0);
|
|
49
|
+
D.value = a.toFixed(2);
|
|
50
|
+
},
|
|
51
|
+
{ deep: !0, immediate: !0 }
|
|
52
|
+
);
|
|
53
|
+
function A() {
|
|
54
|
+
J.findFilesList({ actionId: S.task.businessKey }).then(({ data: e }) => {
|
|
55
|
+
console.log(e, "=> data"), e.results && Array.isArray(e.results) && (N.value = e.results.map((a) => {
|
|
56
|
+
let o = "";
|
|
57
|
+
return a.fileName && (o = a.fileSort || a.type || ""), {
|
|
58
|
+
fileName: a.fileName || "",
|
|
59
|
+
fileId: a.fileId || "",
|
|
60
|
+
fileSort: o
|
|
61
|
+
};
|
|
62
|
+
}));
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
A();
|
|
66
|
+
async function O(e) {
|
|
67
|
+
try {
|
|
68
|
+
const a = Y.fileUrl(e.filePath), u = await (await fetch(a)).blob(), y = window.URL.createObjectURL(u), p = document.createElement("a");
|
|
69
|
+
p.href = y, p.download = e.fileName || "download", document.body.appendChild(p), p.click();
|
|
70
|
+
} catch {
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
C({
|
|
74
|
+
changeModel: () => T()
|
|
75
|
+
});
|
|
76
|
+
function T() {
|
|
77
|
+
return f.value && (f.value.selectActions = [
|
|
78
|
+
{ key: "true", value: "同意" },
|
|
79
|
+
{ key: "false", value: "不同意" }
|
|
80
|
+
], f.value.varName = "approved", f.value.module = "", f.value.module = H.MODULE_ITSMFLOW), new Promise((e, a) => {
|
|
81
|
+
var o;
|
|
82
|
+
(o = h.value) == null || o.validate((u) => {
|
|
83
|
+
u ? (f.value && (f.value.comment = ""), e(!0)) : a(!1);
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
return (e, a) => {
|
|
88
|
+
const o = b("el-col"), u = b("el-form-item"), y = b("el-row"), p = b("el-table-column"), E = b("el-table"), U = b("el-button"), R = b("el-form");
|
|
89
|
+
return m(), F(I, null, [
|
|
90
|
+
l(o, { span: 24 }, {
|
|
91
|
+
default: t(() => a[0] || (a[0] = [
|
|
92
|
+
c("div", { class: "title" }, "备品备件申请领用表", -1)
|
|
93
|
+
])),
|
|
94
|
+
_: 1,
|
|
95
|
+
__: [0]
|
|
96
|
+
}),
|
|
97
|
+
l(R, {
|
|
98
|
+
ref_key: "taskFormRef",
|
|
99
|
+
ref: h,
|
|
100
|
+
model: M.value,
|
|
101
|
+
"label-width": "150px",
|
|
102
|
+
class: "custom-table-form"
|
|
103
|
+
}, {
|
|
104
|
+
default: t(() => [
|
|
105
|
+
l(y, null, {
|
|
106
|
+
default: t(() => {
|
|
107
|
+
var r, B, w;
|
|
108
|
+
return [
|
|
109
|
+
l(o, { span: 12 }, {
|
|
110
|
+
default: t(() => [
|
|
111
|
+
l(u, {
|
|
112
|
+
label: e.$t("itsmFlowSpareParts.govOrgId"),
|
|
113
|
+
prop: "govOrgId"
|
|
114
|
+
}, {
|
|
115
|
+
default: t(() => [
|
|
116
|
+
n(s(_(d).orgIdBizDict.getValue(i.value.orgId)), 1)
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["label"])
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}),
|
|
123
|
+
l(o, { span: 12 }, {
|
|
124
|
+
default: t(() => [
|
|
125
|
+
l(u, {
|
|
126
|
+
label: e.$t("itsmFlowSpareParts.itsmtype"),
|
|
127
|
+
prop: "type"
|
|
128
|
+
}, {
|
|
129
|
+
default: t(() => [
|
|
130
|
+
n(s(_(d).purchaseTypeEnum.getEnumValue(i.value.type)), 1)
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
}, 8, ["label"])
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
}),
|
|
137
|
+
l(o, { span: 12 }, {
|
|
138
|
+
default: t(() => [
|
|
139
|
+
l(u, {
|
|
140
|
+
label: e.$t("itsmFlowSpareParts.applyPlace"),
|
|
141
|
+
prop: "applyPlace"
|
|
142
|
+
}, {
|
|
143
|
+
default: t(() => [
|
|
144
|
+
n(s(i.value.applyPlace), 1)
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["label"])
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}),
|
|
151
|
+
l(o, { span: 12 }, {
|
|
152
|
+
default: t(() => [
|
|
153
|
+
l(u, {
|
|
154
|
+
label: e.$t("itsmFlowSpareParts.annual"),
|
|
155
|
+
prop: "annual"
|
|
156
|
+
}, {
|
|
157
|
+
default: t(() => [
|
|
158
|
+
n(s(i.value.annual), 1)
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}, 8, ["label"])
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
((r = i.value) == null ? void 0 : r.type) !== "BudgetOut" ? (m(), P(o, {
|
|
166
|
+
key: 0,
|
|
167
|
+
span: 24
|
|
168
|
+
}, {
|
|
169
|
+
default: t(() => [
|
|
170
|
+
l(u, {
|
|
171
|
+
label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
|
|
172
|
+
prop: "itemId"
|
|
173
|
+
}, {
|
|
174
|
+
default: t(() => [
|
|
175
|
+
n(s(_(d).itemBizLayDict.getValue(i.value.itemId)), 1)
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}, 8, ["label"])
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
})) : $("", !0),
|
|
182
|
+
((B = i.value) == null ? void 0 : B.type) !== "BudgetOut" ? (m(), P(o, {
|
|
183
|
+
key: 1,
|
|
184
|
+
span: 12
|
|
185
|
+
}, {
|
|
186
|
+
default: t(() => [
|
|
187
|
+
l(u, {
|
|
188
|
+
label: e.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
|
|
189
|
+
prop: "budgetType"
|
|
190
|
+
}, {
|
|
191
|
+
default: t(() => [
|
|
192
|
+
n(s(_(d).budgetTypeDict.getValue(i.value.budgetType)), 1)
|
|
193
|
+
]),
|
|
194
|
+
_: 1
|
|
195
|
+
}, 8, ["label"])
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
})) : $("", !0),
|
|
199
|
+
((w = i.value) == null ? void 0 : w.type) !== "BudgetOut" ? (m(), P(o, {
|
|
200
|
+
key: 2,
|
|
201
|
+
span: 12
|
|
202
|
+
}, {
|
|
203
|
+
default: t(() => [
|
|
204
|
+
l(u, {
|
|
205
|
+
label: e.$t("itsmFlowSpareParts.contractMoney"),
|
|
206
|
+
prop: "contractMoney"
|
|
207
|
+
}, {
|
|
208
|
+
default: t(() => [
|
|
209
|
+
n(s(i.value.contractMoney), 1)
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 8, ["label"])
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
})) : $("", !0),
|
|
216
|
+
l(o, { span: 12 }, {
|
|
217
|
+
default: t(() => [
|
|
218
|
+
l(u, {
|
|
219
|
+
label: e.$t("itsmFlowSpareParts.createBy"),
|
|
220
|
+
prop: "createBy"
|
|
221
|
+
}, {
|
|
222
|
+
default: t(() => {
|
|
223
|
+
var g;
|
|
224
|
+
return [
|
|
225
|
+
n(s(i.value.createBy ? (g = _(Z).userInfo(i.value.createBy)) == null ? void 0 : g.realName : ""), 1)
|
|
226
|
+
];
|
|
227
|
+
}),
|
|
228
|
+
_: 1
|
|
229
|
+
}, 8, ["label"])
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
}),
|
|
233
|
+
l(o, { span: 12 }, {
|
|
234
|
+
default: t(() => [
|
|
235
|
+
l(u, {
|
|
236
|
+
label: e.$t("itsmFlowSpareParts.applyDate"),
|
|
237
|
+
prop: "applyDate"
|
|
238
|
+
}, {
|
|
239
|
+
default: t(() => [
|
|
240
|
+
n(s(i.value.applyDate), 1)
|
|
241
|
+
]),
|
|
242
|
+
_: 1
|
|
243
|
+
}, 8, ["label"])
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
})
|
|
247
|
+
];
|
|
248
|
+
}),
|
|
249
|
+
_: 1
|
|
250
|
+
}),
|
|
251
|
+
l(y, null, {
|
|
252
|
+
default: t(() => [
|
|
253
|
+
l(o, { span: 24 }, {
|
|
254
|
+
default: t(() => a[1] || (a[1] = [
|
|
255
|
+
c("div", { class: "title" }, "运维需求描述", -1)
|
|
256
|
+
])),
|
|
257
|
+
_: 1,
|
|
258
|
+
__: [1]
|
|
259
|
+
}),
|
|
260
|
+
l(E, {
|
|
261
|
+
stripe: "",
|
|
262
|
+
style: { width: "100%" },
|
|
263
|
+
data: k.value
|
|
264
|
+
}, {
|
|
265
|
+
default: t(() => [
|
|
266
|
+
l(p, {
|
|
267
|
+
prop: "type",
|
|
268
|
+
label: e.$t("itsmFlowSpareParts.itsmtype")
|
|
269
|
+
}, {
|
|
270
|
+
default: t((r) => [
|
|
271
|
+
n(s(r.row.type), 1)
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
}, 8, ["label"]),
|
|
275
|
+
l(p, {
|
|
276
|
+
prop: "name",
|
|
277
|
+
label: e.$t("itsmFlowSpareParts.itsmName")
|
|
278
|
+
}, {
|
|
279
|
+
default: t((r) => [
|
|
280
|
+
n(s(r.row.name), 1)
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
}, 8, ["label"]),
|
|
284
|
+
l(p, {
|
|
285
|
+
prop: "number",
|
|
286
|
+
label: e.$t("itsmFlowSpareParts.number")
|
|
287
|
+
}, {
|
|
288
|
+
default: t((r) => [
|
|
289
|
+
n(s(r.row.number), 1)
|
|
290
|
+
]),
|
|
291
|
+
_: 1
|
|
292
|
+
}, 8, ["label"]),
|
|
293
|
+
l(p, { prop: "unit" }, {
|
|
294
|
+
header: t(() => [
|
|
295
|
+
a[2] || (a[2] = c("span", { class: "required_red" }, "*", -1)),
|
|
296
|
+
c("span", null, s(e.$t("itsmFlowSpareParts.unit")), 1)
|
|
297
|
+
]),
|
|
298
|
+
default: t((r) => [
|
|
299
|
+
n(s(r.row.unit), 1)
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
}),
|
|
303
|
+
l(p, {
|
|
304
|
+
prop: "parameter",
|
|
305
|
+
label: e.$t("itsmFlowSpareParts.parameter")
|
|
306
|
+
}, {
|
|
307
|
+
default: t((r) => [
|
|
308
|
+
n(s(r.row.parameter), 1)
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}, 8, ["label"]),
|
|
312
|
+
l(p, { prop: "valuation" }, {
|
|
313
|
+
header: t(() => [
|
|
314
|
+
c("span", null, s(e.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
|
|
315
|
+
]),
|
|
316
|
+
default: t((r) => [
|
|
317
|
+
n(s(r.row.valuation), 1)
|
|
318
|
+
]),
|
|
319
|
+
_: 1
|
|
320
|
+
}),
|
|
321
|
+
l(p, {
|
|
322
|
+
prop: "range",
|
|
323
|
+
label: e.$t("itsmFlowSpareParts.range")
|
|
324
|
+
}, {
|
|
325
|
+
default: t((r) => [
|
|
326
|
+
n(s(r.row.range), 1)
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
}, 8, ["label"])
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
}, 8, ["data"]),
|
|
333
|
+
c("div", ee, [
|
|
334
|
+
a[3] || (a[3] = n(" 预估总价(万元):")),
|
|
335
|
+
c("span", te, s(D.value), 1)
|
|
336
|
+
]),
|
|
337
|
+
l(o, {
|
|
338
|
+
span: 24,
|
|
339
|
+
class: "bordered-row"
|
|
340
|
+
}, {
|
|
341
|
+
default: t(() => [
|
|
342
|
+
(m(!0), F(I, null, L(_(d).fileTypeDict.values.slice(0, 2), (r, B) => (m(), P(u, {
|
|
343
|
+
key: r.dictCode,
|
|
344
|
+
label: r.dictName
|
|
345
|
+
}, {
|
|
346
|
+
default: t(() => [
|
|
347
|
+
(m(!0), F(I, null, L(z(r.dictCode), (w, g) => (m(), F("div", {
|
|
348
|
+
key: g,
|
|
349
|
+
class: "files-list"
|
|
350
|
+
}, [
|
|
351
|
+
c("span", null, s(w.fileName), 1),
|
|
352
|
+
l(U, {
|
|
353
|
+
type: "primary",
|
|
354
|
+
link: "",
|
|
355
|
+
size: "small",
|
|
356
|
+
class: "icon-right",
|
|
357
|
+
onClick: (oe) => O(w)
|
|
358
|
+
}, {
|
|
359
|
+
default: t(() => a[4] || (a[4] = [
|
|
360
|
+
n(" 查看 ")
|
|
361
|
+
])),
|
|
362
|
+
_: 2,
|
|
363
|
+
__: [4]
|
|
364
|
+
}, 1032, ["onClick"])
|
|
365
|
+
]))), 128))
|
|
366
|
+
]),
|
|
367
|
+
_: 2
|
|
368
|
+
}, 1032, ["label"]))), 128))
|
|
369
|
+
]),
|
|
370
|
+
_: 1
|
|
371
|
+
})
|
|
372
|
+
]),
|
|
373
|
+
_: 1
|
|
374
|
+
})
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
}, 8, ["model"])
|
|
378
|
+
], 64);
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
}), ce = /* @__PURE__ */ x(le, [["__scopeId", "data-v-ed51aa55"]]);
|
|
382
|
+
export {
|
|
383
|
+
ce as default
|
|
384
|
+
};
|
|
@@ -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-CXOeg2so.mjs";
|
|
5
|
+
import ne from "./edit-BWaFYsWY.mjs";
|
|
6
|
+
import { _ as ie } from "./info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs";
|
|
7
|
+
import { D as w, O as se, C as P } from "./index-DTY8LR57.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,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-CXOeg2so.mjs";
|
|
5
|
+
import { _ as x } from "./info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs";
|
|
6
|
+
import { D as p, O as ee, C as le } from "./index-DTY8LR57.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) {
|
|
@@ -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 O, i as K } from "./index-
|
|
5
|
+
import { i as z } from "./index-CXOeg2so.mjs";
|
|
6
|
+
import { D as w, O as j, C as O, i as K } from "./index-DTY8LR57.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({
|
|
@@ -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-DTY8LR57.mjs";
|
|
7
7
|
const Ie = /* @__PURE__ */ ne({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: /* @__PURE__ */ se({
|
|
@@ -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-DTY8LR57.mjs";
|
|
6
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CETcd2E0.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,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-CXOeg2so.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs";
|
|
6
|
+
import { C as te, D as p } from "./index-DTY8LR57.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) {
|
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-CXOeg2so.mjs";
|
|
3
3
|
import "jmash-flow";
|
|
4
4
|
export {
|
|
5
5
|
m as TaskItsmFlowAcceptance,
|