xyvcard-reports 0.0.21 → 0.0.23
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-9pctQCRS.mjs → FileSaver.min-Dc06xYwc.mjs} +1 -1
- package/dist/{add-Dx1n7NDH.mjs → add-C4FvKrKc.mjs} +29 -43
- package/dist/{constant-qhPwZUPf.mjs → constant-DfJUUaoZ.mjs} +1697 -1715
- package/dist/edit-B0uQHdvK.mjs +250 -0
- package/dist/{edit-CJeMVvsU.mjs → edit-Cbck32LF.mjs} +17 -17
- package/dist/{edit-yO8sjDy8.mjs → edit-Ce7JMzm-.mjs} +5 -5
- package/dist/{edit-C2HiAoqA.mjs → edit-CpPDiJhB.mjs} +22 -22
- package/dist/{edit-BK2--9m5.mjs → edit-CxAB2NnD.mjs} +3 -3
- package/dist/{edit-DXxz7V5O.mjs → edit-DrGeCVLm.mjs} +21 -21
- package/dist/{edit-Cbj7MbVd.mjs → edit-W6JZmN0d.mjs} +12 -12
- package/dist/{follow-P2_KfMjV.mjs → follow-w6DcwXWs.mjs} +1 -1
- package/dist/{import-upload-CDHQ05gt.mjs → import-upload-BL3nk4jR.mjs} +1 -1
- package/dist/{import-upload-D4Ej-Wtd.mjs → import-upload-CmEF0ael.mjs} +1 -1
- package/dist/{index-Cw5s4Yba.mjs → index-BMC-dFKp.mjs} +52 -52
- package/dist/{index-plPmX1H0.mjs → index-BWjImAcy.mjs} +38 -38
- package/dist/{index-DS6wdvJi.mjs → index-C6KhUgNb.mjs} +112 -110
- package/dist/index-CoohNnvz.mjs +535 -0
- package/dist/{index-BA2IISrV.mjs → index-CtDoWUbK.mjs} +79 -79
- package/dist/{index-Bhr3FzhQ.mjs → index-D4BwhmeZ.mjs} +3 -3
- package/dist/{index-cmTCxGlG.mjs → index-DVeiAERA.mjs} +374 -354
- package/dist/{index-CRWVTZQ0.mjs → index-Hr7f4lpj.mjs} +1 -1
- package/dist/{index-BYrvGkaE.mjs → index-_JX5t0Fe.mjs} +94 -94
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-XCLU3UjS.mjs → index.vue_vue_type_script_setup_true_lang-Bs0bxd3_.mjs} +4 -4
- package/dist/{info-_7dAmewP.mjs → info-BZIg0kvO.mjs} +1 -1
- package/dist/{info-CvaNbkpA.mjs → info-CglTApBo.mjs} +1 -1
- package/dist/{info-DrgpD5RU.mjs → info-DJRZrRlT.mjs} +1 -1
- package/dist/{info-DviWPK_1.mjs → info-DRU_rNkT.mjs} +1 -1
- package/dist/{info-BB5FtxWS.mjs → info-DSHS2DDz.mjs} +3 -3
- package/dist/{info-BP0B16YQ.mjs → info-ENbXnUBe.mjs} +3 -3
- package/dist/{info.vue_vue_type_script_setup_true_lang-CHaMCv-u.mjs → info.vue_vue_type_script_setup_true_lang-8IpRDNNG.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-Bkj6TnWJ.mjs → info.vue_vue_type_script_setup_true_lang-ClMQKKyT.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs → info.vue_vue_type_script_setup_true_lang-Dh7j-YaV.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CHspChfW.mjs → info.vue_vue_type_script_setup_true_lang-T0LkBVf0.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dts/src/api/reports/dict.d.ts +3 -0
- package/dts/src/api/reports/index.d.ts +2 -1
- package/dts/src/lang/reports/zh-cn.d.ts +2 -0
- package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-month-summary/edit.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-party/edit.vue.d.ts +2 -2
- package/package.json +4 -4
- package/dist/edit-PMZyzVdm.mjs +0 -222
- package/dist/index-XCypL2vG.mjs +0 -502
- /package/dist/{index-CaHUk1EF-Cw4XGyg-.mjs → index-D1SasUNc-Cw4XGyg-.mjs} +0 -0
|
@@ -2,10 +2,10 @@ import { defineComponent as se, mergeModels as A, ref as y, reactive as K, compu
|
|
|
2
2
|
import { ElMessage as R } from "element-plus";
|
|
3
3
|
import { useI18n as ue } from "vue-i18n";
|
|
4
4
|
import { u as pe } from "./index-CJ1aT1h5.mjs";
|
|
5
|
-
import { r as b } from "./index-
|
|
5
|
+
import { r as b } from "./index-C6KhUgNb.mjs";
|
|
6
6
|
import { useUserStoreHook as me } from "jmash-core";
|
|
7
7
|
import { r as fe } from "./index-ISkSSB59.mjs";
|
|
8
|
-
import { C as
|
|
8
|
+
import { C as G, J as H, $ as ce, G as ge } from "./constant-DfJUUaoZ.mjs";
|
|
9
9
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
10
|
const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
11
11
|
__name: "edit",
|
|
@@ -24,23 +24,23 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
24
24
|
modelModifiers: {}
|
|
25
25
|
}),
|
|
26
26
|
emits: /* @__PURE__ */ A(["refresh"], ["update:modelValue"]),
|
|
27
|
-
setup(N, { emit:
|
|
28
|
-
const { t: c } = ue(), T = me(),
|
|
27
|
+
setup(N, { emit: J }) {
|
|
28
|
+
const { t: c } = ue(), T = me(), M = y(), _ = y([]), O = y([]), q = y([]);
|
|
29
29
|
let s = K({
|
|
30
30
|
requestId: Math.random() * 10 + "",
|
|
31
31
|
updateMask: "govOrgId,itsmId,outOrgId,describe,files",
|
|
32
|
-
matterSort:
|
|
32
|
+
matterSort: G.SECURITY,
|
|
33
33
|
files: []
|
|
34
34
|
});
|
|
35
35
|
const $ = de(() => q.value);
|
|
36
36
|
console.log($.value, "=> filteredItemOptions");
|
|
37
|
-
function
|
|
38
|
-
e ?
|
|
37
|
+
function U(e) {
|
|
38
|
+
e ? H.findById({ userId: T.user.userId }).then((l) => {
|
|
39
39
|
const { data: o } = l;
|
|
40
40
|
b.findMyProjects({
|
|
41
41
|
belongOrgId: e,
|
|
42
42
|
likeServiceOrg: o.orgId,
|
|
43
|
-
applyStatus:
|
|
43
|
+
applyStatus: G.FINISHED
|
|
44
44
|
}).then((i) => {
|
|
45
45
|
const d = i.data.itsmId, k = [...new Set(d)].map(
|
|
46
46
|
(m) => ge.findById({ itemId: m }).then((B) => ({
|
|
@@ -54,10 +54,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
54
54
|
});
|
|
55
55
|
}) : q.value = [];
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
s.itsmId = void 0,
|
|
57
|
+
function z(e) {
|
|
58
|
+
s.itsmId = void 0, U(e);
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
H.findById({ userId: T.user.userId }).then((e) => {
|
|
61
61
|
const { data: l } = e;
|
|
62
62
|
b.findMyBelongOrgs({ likeServiceOrg: l.orgId }).then((o) => {
|
|
63
63
|
const i = /* @__PURE__ */ new Map();
|
|
@@ -74,7 +74,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
74
74
|
], console.log(_.value, "=> outOrgIdList");
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
|
-
const
|
|
77
|
+
const Y = K({
|
|
78
78
|
govOrgId: [
|
|
79
79
|
{
|
|
80
80
|
required: !0,
|
|
@@ -103,9 +103,9 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
103
103
|
trigger: "change"
|
|
104
104
|
}
|
|
105
105
|
]
|
|
106
|
-
}), S = y(!1),
|
|
106
|
+
}), S = y(!1), L = y();
|
|
107
107
|
function Q() {
|
|
108
|
-
S.value = !0,
|
|
108
|
+
S.value = !0, L.value.clearFileList();
|
|
109
109
|
}
|
|
110
110
|
function W(e) {
|
|
111
111
|
var o;
|
|
@@ -131,13 +131,13 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
131
131
|
}));
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
const p = ne(N, "modelValue"), I = N, w =
|
|
134
|
+
const p = ne(N, "modelValue"), I = N, w = J, x = Object.keys(I.entityKey), D = y(x.length >= 1);
|
|
135
135
|
D.value && b.findById(I.entityKey).then(({ data: e }) => {
|
|
136
|
-
Object.assign(s, e), Z(), s.govOrgId &&
|
|
136
|
+
Object.assign(s, e), Z(), s.govOrgId && U(s.govOrgId);
|
|
137
137
|
});
|
|
138
138
|
const ee = async () => {
|
|
139
139
|
var e;
|
|
140
|
-
await ((e =
|
|
140
|
+
await ((e = M.value) == null ? void 0 : e.validate((l) => {
|
|
141
141
|
l && (D.value && I.entityKey.reportId && !I.isCopy ? b.update(s).then((o) => {
|
|
142
142
|
console.log(o), o.status === 200 && (R({
|
|
143
143
|
message: c("common.submitSuccess"),
|
|
@@ -189,10 +189,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
189
189
|
default: a(() => [
|
|
190
190
|
t(oe, {
|
|
191
191
|
ref_key: "reportThirdPartyFormRef",
|
|
192
|
-
ref:
|
|
192
|
+
ref: M,
|
|
193
193
|
model: n(s),
|
|
194
194
|
"label-width": "120px",
|
|
195
|
-
rules:
|
|
195
|
+
rules: Y
|
|
196
196
|
}, {
|
|
197
197
|
default: a(() => [
|
|
198
198
|
t(te, null, {
|
|
@@ -212,7 +212,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
212
212
|
clearable: "",
|
|
213
213
|
filterable: "",
|
|
214
214
|
class: "w-full",
|
|
215
|
-
onChange:
|
|
215
|
+
onChange: z
|
|
216
216
|
}, {
|
|
217
217
|
default: a(() => [
|
|
218
218
|
(f(!0), v(h, null, V(O.value, (r) => (f(), F(o, {
|
|
@@ -388,7 +388,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
388
388
|
}, 8, ["modelValue"]),
|
|
389
389
|
t(ae, {
|
|
390
390
|
ref_key: "uploadRef",
|
|
391
|
-
ref:
|
|
391
|
+
ref: L,
|
|
392
392
|
modelValue: S.value,
|
|
393
393
|
"onUpdate:modelValue": l[5] || (l[5] = (r) => S.value = r),
|
|
394
394
|
onUploadFileList: W
|
|
@@ -2,12 +2,12 @@ import { defineComponent as re, mergeModels as D, ref as g, reactive as A, compu
|
|
|
2
2
|
import { ElMessage as w } from "element-plus";
|
|
3
3
|
import { useI18n as ue } from "vue-i18n";
|
|
4
4
|
import { u as ie } from "./index-CJ1aT1h5.mjs";
|
|
5
|
-
import { r as I } from "./index-
|
|
5
|
+
import { r as I } from "./index-C6KhUgNb.mjs";
|
|
6
6
|
import { useUserStoreHook as ne } from "jmash-core";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-DVeiAERA.mjs";
|
|
8
8
|
import { r as pe } from "./index-ISkSSB59.mjs";
|
|
9
|
-
import { C as me, J as fe, $ as ce,
|
|
10
|
-
import "./index-
|
|
9
|
+
import { C as me, J as fe, $ as ce, G as ge } from "./constant-DfJUUaoZ.mjs";
|
|
10
|
+
import "./index-D1SasUNc-Cw4XGyg-.mjs";
|
|
11
11
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
12
12
|
const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
13
13
|
__name: "edit",
|
|
@@ -48,7 +48,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
48
48
|
});
|
|
49
49
|
}) : T.value = [];
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function G(e) {
|
|
52
52
|
a.itsmId = void 0, K(e);
|
|
53
53
|
}
|
|
54
54
|
fe.findById({ userId: R.user.userId }).then((e) => {
|
|
@@ -68,7 +68,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
68
68
|
];
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
-
const
|
|
71
|
+
const J = A({
|
|
72
72
|
govOrgId: [
|
|
73
73
|
{
|
|
74
74
|
required: !0,
|
|
@@ -98,10 +98,10 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
98
98
|
}
|
|
99
99
|
]
|
|
100
100
|
}), $ = g(!1), U = g();
|
|
101
|
-
function
|
|
101
|
+
function z() {
|
|
102
102
|
$.value = !0, U.value.clearFileList();
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function H(e) {
|
|
105
105
|
var d;
|
|
106
106
|
const l = {
|
|
107
107
|
fileName: e.name,
|
|
@@ -186,7 +186,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
186
186
|
ref: B,
|
|
187
187
|
model: s(a),
|
|
188
188
|
"label-width": "120px",
|
|
189
|
-
rules:
|
|
189
|
+
rules: J
|
|
190
190
|
}, {
|
|
191
191
|
default: r(() => [
|
|
192
192
|
t(ee, null, {
|
|
@@ -206,7 +206,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
206
206
|
clearable: "",
|
|
207
207
|
filterable: "",
|
|
208
208
|
class: "w-full",
|
|
209
|
-
onChange:
|
|
209
|
+
onChange: G
|
|
210
210
|
}, {
|
|
211
211
|
default: r(() => [
|
|
212
212
|
(f(!0), b(v, null, O(_.value, (o) => (f(), S(d, {
|
|
@@ -377,7 +377,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
377
377
|
t(C, {
|
|
378
378
|
type: "primary",
|
|
379
379
|
icon: s(ie),
|
|
380
|
-
onClick:
|
|
380
|
+
onClick: z
|
|
381
381
|
}, {
|
|
382
382
|
default: r(() => [
|
|
383
383
|
V(k(e.$t("common.uploadFiles")), 1)
|
|
@@ -425,7 +425,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
425
425
|
ref: U,
|
|
426
426
|
modelValue: $.value,
|
|
427
427
|
"onUpdate:modelValue": l[7] || (l[7] = (o) => $.value = o),
|
|
428
|
-
onUploadFileList:
|
|
428
|
+
onUploadFileList: H
|
|
429
429
|
}, null, 8, ["modelValue"])
|
|
430
430
|
], 64);
|
|
431
431
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as O, mergeModels as I, ref as Y, reactive as v, useMod
|
|
|
2
2
|
import { ElMessage as F } from "element-plus";
|
|
3
3
|
import { useI18n as N } from "vue-i18n";
|
|
4
4
|
import { r as A } from "./index-DVvlf-iS.mjs";
|
|
5
|
-
import { D as p } from "./index-
|
|
5
|
+
import { D as p } from "./index-DVeiAERA.mjs";
|
|
6
6
|
import { r as E } from "./index-BdtTv-FT.mjs";
|
|
7
7
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
8
|
const T = { class: "dialog-footer" }, G = /* @__PURE__ */ O({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as K, ref as i, reactive as w, toRefs as Q, computed as
|
|
|
2
2
|
import { useI18n as te } from "vue-i18n";
|
|
3
3
|
import { ElMessage as g } from "element-plus";
|
|
4
4
|
import { fileApi as $, useUserStore as O } from "jmash-core";
|
|
5
|
-
import { D as U } from "./index-
|
|
5
|
+
import { D as U } from "./index-DVeiAERA.mjs";
|
|
6
6
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const le = { class: "el-upload__text" }, ae = { style: { color: "var(--el-color-primary)" } }, ne = { class: "dialog-footer" }, se = /* @__PURE__ */ K({
|
|
8
8
|
__name: "import-upload",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as K, ref as i, reactive as w, toRefs as Q, computed as
|
|
|
2
2
|
import { useI18n as te } from "vue-i18n";
|
|
3
3
|
import { ElMessage as g } from "element-plus";
|
|
4
4
|
import { fileApi as $, useUserStore as O } from "jmash-core";
|
|
5
|
-
import { D as U } from "./index-
|
|
5
|
+
import { D as U } from "./index-DVeiAERA.mjs";
|
|
6
6
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const le = { class: "el-upload__text" }, ae = { style: { color: "var(--el-color-primary)" } }, ne = { class: "dialog-footer" }, se = /* @__PURE__ */ K({
|
|
8
8
|
__name: "import-upload",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as ne, getCurrentInstance as ie, watch as de, ref as
|
|
1
|
+
import { defineComponent as ne, getCurrentInstance as ie, watch as de, ref as V, reactive as j, onActivated as se, resolveComponent as p, resolveDirective as ue, createElementBlock as g, openBlock as u, createElementVNode as $, createVNode as r, createBlock as w, createCommentVNode as T, withCtx as l, withKeys as B, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as h, isRef as E } from "vue";
|
|
2
2
|
import { useTableHooks as pe } from "jmash-core";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
|
-
import { r as Q } from "./index-
|
|
5
|
-
import ce from "./edit-
|
|
6
|
-
import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { r as Q } from "./index-C6KhUgNb.mjs";
|
|
5
|
+
import ce from "./edit-DrGeCVLm.mjs";
|
|
6
|
+
import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-T0LkBVf0.mjs";
|
|
7
7
|
import { b as ye } from "./index-B_hFZVhb-C3Oi__-I.mjs";
|
|
8
|
-
import { C as P } from "./constant-
|
|
9
|
-
import { a as fe, O as be, D as S } from "./index-
|
|
8
|
+
import { C as P } from "./constant-DfJUUaoZ.mjs";
|
|
9
|
+
import { a as fe, O as be, D as S } from "./index-DVeiAERA.mjs";
|
|
10
10
|
const ge = { class: "app-container" }, he = { class: "search-container" }, Ie = { key: 0 }, _e = { key: 0 }, we = ["onClick"], ke = ["onClick"], Ce = ["onClick"], Te = ["onClick"], ze = /* @__PURE__ */ ne({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(Oe) {
|
|
@@ -16,22 +16,22 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
16
16
|
O.useValues(), de(
|
|
17
17
|
() => O.values,
|
|
18
18
|
(o) => {
|
|
19
|
-
o && o.length > 0 && (n.value.govOrgId || (n.value.govOrgId = o[0].value,
|
|
19
|
+
o && o.length > 0 && (n.value.govOrgId || (n.value.govOrgId = o[0].value, s.handleQuery()));
|
|
20
20
|
},
|
|
21
21
|
{ immediate: !0, deep: !0 }
|
|
22
22
|
// 立即执行并深度监听
|
|
23
23
|
), S.itemBizLayDict.useValues();
|
|
24
|
-
const { t: y } = me(), n =
|
|
24
|
+
const { t: y } = me(), n = V({
|
|
25
25
|
matterSort: P.SECURITY
|
|
26
26
|
}), {
|
|
27
|
-
tableHooks:
|
|
27
|
+
tableHooks: s,
|
|
28
28
|
multipleTableRef: q,
|
|
29
29
|
queryFormRef: H,
|
|
30
30
|
listLoading: K,
|
|
31
31
|
tableData: A,
|
|
32
|
-
total:
|
|
32
|
+
total: D
|
|
33
33
|
} = pe(y, Q, n);
|
|
34
|
-
let k =
|
|
34
|
+
let k = V([
|
|
35
35
|
{
|
|
36
36
|
label: "reportThirdParty.govOrgId",
|
|
37
37
|
prop: "govOrgId",
|
|
@@ -93,35 +93,35 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
93
93
|
isColumn: !0
|
|
94
94
|
}
|
|
95
95
|
]);
|
|
96
|
-
const
|
|
96
|
+
const i = V({
|
|
97
97
|
title: y("common.edit"),
|
|
98
98
|
visible: !1,
|
|
99
99
|
isCopy: !1
|
|
100
|
-
}), I =
|
|
100
|
+
}), I = V({
|
|
101
101
|
title: y("common.view"),
|
|
102
102
|
visible: !1
|
|
103
103
|
});
|
|
104
104
|
let _ = j({});
|
|
105
105
|
function F() {
|
|
106
|
-
_ = j({}),
|
|
106
|
+
_ = j({}), i.value.title = y("common.add"), i.value.visible = !0, i.value.isCopy = !1;
|
|
107
107
|
}
|
|
108
108
|
function M(o) {
|
|
109
|
-
_.reportId = o.reportId,
|
|
109
|
+
_.reportId = o.reportId, i.value.isCopy = !1, i.value.title = y("common.edit"), i.value.visible = !0;
|
|
110
110
|
}
|
|
111
111
|
function W(o) {
|
|
112
112
|
_.reportId = o.reportId, I.value.title = y("common.view"), I.value.visible = !0;
|
|
113
113
|
}
|
|
114
114
|
function G(o) {
|
|
115
|
-
_.reportId = o.reportId,
|
|
115
|
+
_.reportId = o.reportId, i.value.isCopy = !0, i.value.title = y("reportDemandLedger.copy"), i.value.visible = !0;
|
|
116
116
|
}
|
|
117
117
|
function J(o) {
|
|
118
|
-
|
|
118
|
+
s.selectionRows.value = o;
|
|
119
119
|
}
|
|
120
120
|
function X(o) {
|
|
121
|
-
|
|
121
|
+
s.handleSort(o.prop, o.order);
|
|
122
122
|
}
|
|
123
123
|
function z(o) {
|
|
124
|
-
o &&
|
|
124
|
+
o && s.getList();
|
|
125
125
|
}
|
|
126
126
|
const Z = async (o) => {
|
|
127
127
|
try {
|
|
@@ -142,14 +142,14 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
function x() {
|
|
145
|
-
n.value.
|
|
145
|
+
n.value.itsmId = void 0, n.value.likeDescribe = void 0, n.value.outOrgId = void 0, s.handleQuery();
|
|
146
146
|
}
|
|
147
147
|
return se(() => {
|
|
148
|
-
|
|
148
|
+
s.getList();
|
|
149
149
|
}), (o, t) => {
|
|
150
150
|
const L = p("el-tree-select"), f = p("el-form-item"), c = p("el-col"), v = p("jmash-select"), ee = p("el-input"), N = p("el-row"), C = p("el-button"), te = p("el-form"), oe = p("jmash-column-select"), le = p("jmash-table"), re = p("jmash-pagination"), ae = p("el-card"), b = ue("hasPerm");
|
|
151
151
|
return u(), g("div", ge, [
|
|
152
|
-
|
|
152
|
+
$("div", he, [
|
|
153
153
|
r(te, {
|
|
154
154
|
ref_key: "queryFormRef",
|
|
155
155
|
ref: H,
|
|
@@ -172,7 +172,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
172
172
|
placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
|
|
173
173
|
data: a(O).values,
|
|
174
174
|
"node-key": "value",
|
|
175
|
-
onKeyup: t[1] || (t[1] = B((e) => a(
|
|
175
|
+
onKeyup: t[1] || (t[1] = B((e) => a(s).handleQuery(), ["enter"])),
|
|
176
176
|
clearable: "",
|
|
177
177
|
filterable: ""
|
|
178
178
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -194,7 +194,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
194
194
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.itsmId = e),
|
|
195
195
|
placeholder: o.$t("reportThirdParty.itemIdRequired"),
|
|
196
196
|
data: a(S).itemBizLayDict.values,
|
|
197
|
-
onKeyup: t[3] || (t[3] = B((e) => a(
|
|
197
|
+
onKeyup: t[3] || (t[3] = B((e) => a(s).handleQuery(), ["enter"])),
|
|
198
198
|
clearable: "",
|
|
199
199
|
filterable: ""
|
|
200
200
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -215,7 +215,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
215
215
|
modelValue: n.value.likeDescribe,
|
|
216
216
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.likeDescribe = e),
|
|
217
217
|
placeholder: o.$t("reportThirdParty.likeDescribeRequired"),
|
|
218
|
-
onKeyup: t[5] || (t[5] = B((e) => a(
|
|
218
|
+
onKeyup: t[5] || (t[5] = B((e) => a(s).handleQuery(), ["enter"])),
|
|
219
219
|
class: "!w-[203px]"
|
|
220
220
|
}, null, 8, ["modelValue", "placeholder"])
|
|
221
221
|
]),
|
|
@@ -253,10 +253,10 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
253
253
|
default: l(() => [
|
|
254
254
|
r(C, {
|
|
255
255
|
type: "primary",
|
|
256
|
-
onClick: t[7] || (t[7] = (e) => a(
|
|
256
|
+
onClick: t[7] || (t[7] = (e) => a(s).handleQuery())
|
|
257
257
|
}, {
|
|
258
258
|
default: l(() => [
|
|
259
|
-
m(
|
|
259
|
+
m(d(o.$t("common.search")), 1)
|
|
260
260
|
]),
|
|
261
261
|
_: 1
|
|
262
262
|
}),
|
|
@@ -264,7 +264,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
264
264
|
onClick: t[8] || (t[8] = (e) => x())
|
|
265
265
|
}, {
|
|
266
266
|
default: l(() => [
|
|
267
|
-
m(
|
|
267
|
+
m(d(o.$t("common.reset")), 1)
|
|
268
268
|
]),
|
|
269
269
|
_: 1
|
|
270
270
|
})
|
|
@@ -274,7 +274,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
274
274
|
]),
|
|
275
275
|
_: 1
|
|
276
276
|
}, 8, ["model"]),
|
|
277
|
-
t[18] || (t[18] =
|
|
277
|
+
t[18] || (t[18] = $("div", { class: "clear" }, null, -1))
|
|
278
278
|
]),
|
|
279
279
|
r(ae, {
|
|
280
280
|
shadow: "never",
|
|
@@ -290,7 +290,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
290
290
|
onClick: F
|
|
291
291
|
}, {
|
|
292
292
|
default: l(() => [
|
|
293
|
-
m(
|
|
293
|
+
m(d(o.$t("common.add")), 1)
|
|
294
294
|
]),
|
|
295
295
|
_: 1
|
|
296
296
|
})), [
|
|
@@ -298,10 +298,10 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
298
298
|
]),
|
|
299
299
|
h((u(), w(C, {
|
|
300
300
|
type: "primary",
|
|
301
|
-
onClick: t[9] || (t[9] = (e) => a(
|
|
301
|
+
onClick: t[9] || (t[9] = (e) => a(s).deleteRecords())
|
|
302
302
|
}, {
|
|
303
303
|
default: l(() => [
|
|
304
|
-
m(
|
|
304
|
+
m(d(o.$t("common.batchDelete")), 1)
|
|
305
305
|
]),
|
|
306
306
|
_: 1
|
|
307
307
|
})), [
|
|
@@ -321,7 +321,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
321
321
|
onClick: t[10] || (t[10] = (e) => Z())
|
|
322
322
|
}, {
|
|
323
323
|
default: l(() => [
|
|
324
|
-
m(
|
|
324
|
+
m(d(o.$t("common.export")), 1)
|
|
325
325
|
]),
|
|
326
326
|
_: 1
|
|
327
327
|
})), [
|
|
@@ -340,15 +340,15 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
340
340
|
})
|
|
341
341
|
]),
|
|
342
342
|
footer: l(() => [
|
|
343
|
-
a(
|
|
343
|
+
a(D) > 0 ? (u(), w(re, {
|
|
344
344
|
key: 0,
|
|
345
|
-
total: a(
|
|
346
|
-
"onUpdate:total": t[12] || (t[12] = (e) => E(
|
|
345
|
+
total: a(D),
|
|
346
|
+
"onUpdate:total": t[12] || (t[12] = (e) => E(D) ? D.value = e : null),
|
|
347
347
|
"current-page": n.value.curPage,
|
|
348
348
|
"onUpdate:currentPage": t[13] || (t[13] = (e) => n.value.curPage = e),
|
|
349
349
|
"page-size": n.value.pageSize,
|
|
350
350
|
"onUpdate:pageSize": t[14] || (t[14] = (e) => n.value.pageSize = e),
|
|
351
|
-
onPagination: t[15] || (t[15] = (e) => a(
|
|
351
|
+
onPagination: t[15] || (t[15] = (e) => a(s).getList())
|
|
352
352
|
}, null, 8, ["total", "current-page", "page-size"])) : T("", !0)
|
|
353
353
|
]),
|
|
354
354
|
default: l(() => [
|
|
@@ -363,37 +363,37 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
363
363
|
onSortChange: X
|
|
364
364
|
}, {
|
|
365
365
|
govOrgId: l((e) => [
|
|
366
|
-
|
|
366
|
+
$("span", null, d(a(O).getValue(e.data.row.govOrgId)), 1)
|
|
367
367
|
]),
|
|
368
368
|
itsmId: l((e) => [
|
|
369
|
-
|
|
369
|
+
$("span", null, d(a(S).itemBizLayDict.getValue(e.data.row.itsmId)), 1)
|
|
370
370
|
]),
|
|
371
371
|
createBy: l((e) => [
|
|
372
|
-
e.data.row.createBy ? (u(), g("span", Ie,
|
|
372
|
+
e.data.row.createBy ? (u(), g("span", Ie, d(a(ye).userInfo(e.data.row.createBy).realName), 1)) : T("", !0)
|
|
373
373
|
]),
|
|
374
374
|
createTime: l((e) => [
|
|
375
|
-
m(
|
|
375
|
+
m(d(a(Y).$moment.formatDate(
|
|
376
376
|
e.data.row.createTime,
|
|
377
377
|
"YYYY-MM-DD HH:mm"
|
|
378
378
|
)), 1)
|
|
379
379
|
]),
|
|
380
380
|
outOrgId: l((e) => [
|
|
381
|
-
e.data.row.outOrgId ? (u(), g("span", _e,
|
|
381
|
+
e.data.row.outOrgId ? (u(), g("span", _e, d(a(R).getValue(e.data.row.outOrgId)), 1)) : T("", !0)
|
|
382
382
|
]),
|
|
383
383
|
operation: l((e) => [
|
|
384
384
|
h((u(), g("span", {
|
|
385
385
|
class: "el-button-color",
|
|
386
386
|
onClick: (U) => M(e.data.row)
|
|
387
387
|
}, [
|
|
388
|
-
m(
|
|
388
|
+
m(d(o.$t("common.edit")), 1)
|
|
389
389
|
], 8, we)), [
|
|
390
390
|
[b, ["reports:report_third_party:update"]]
|
|
391
391
|
]),
|
|
392
392
|
h((u(), g("span", {
|
|
393
393
|
class: "el-button-color dropdown-left",
|
|
394
|
-
onClick: (U) => a(
|
|
394
|
+
onClick: (U) => a(s).deleteRecord(e.data.row)
|
|
395
395
|
}, [
|
|
396
|
-
m(
|
|
396
|
+
m(d(o.$t("common.delete")), 1)
|
|
397
397
|
], 8, ke)), [
|
|
398
398
|
[b, ["reports:report_third_party:delete"]]
|
|
399
399
|
]),
|
|
@@ -401,7 +401,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
401
401
|
class: "el-button-color dropdown-left",
|
|
402
402
|
onClick: (U) => W(e.data.row)
|
|
403
403
|
}, [
|
|
404
|
-
m(
|
|
404
|
+
m(d(o.$t("common.view")), 1)
|
|
405
405
|
], 8, Ce)), [
|
|
406
406
|
[b, ["reports:report_third_party:view"]]
|
|
407
407
|
]),
|
|
@@ -409,7 +409,7 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
409
409
|
class: "el-button-color dropdown-left",
|
|
410
410
|
onClick: (U) => G(e.data.row)
|
|
411
411
|
}, [
|
|
412
|
-
m(
|
|
412
|
+
m(d(o.$t("reportDemandLedger.copy")), 1)
|
|
413
413
|
], 8, Te)), [
|
|
414
414
|
[b, ["reports:report_demand_ledger:follow"]]
|
|
415
415
|
])
|
|
@@ -419,13 +419,13 @@ const ge = { class: "app-container" }, he = { class: "search-container" }, Ie =
|
|
|
419
419
|
]),
|
|
420
420
|
_: 1
|
|
421
421
|
}),
|
|
422
|
-
|
|
422
|
+
i.value.visible ? (u(), w(ce, {
|
|
423
423
|
key: 0,
|
|
424
|
-
modelValue:
|
|
425
|
-
"onUpdate:modelValue": t[16] || (t[16] = (e) =>
|
|
426
|
-
title:
|
|
424
|
+
modelValue: i.value.visible,
|
|
425
|
+
"onUpdate:modelValue": t[16] || (t[16] = (e) => i.value.visible = e),
|
|
426
|
+
title: i.value.title,
|
|
427
427
|
"entity-key": a(_),
|
|
428
|
-
"is-copy":
|
|
428
|
+
"is-copy": i.value.isCopy,
|
|
429
429
|
onRefresh: z,
|
|
430
430
|
width: "900px"
|
|
431
431
|
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : T("", !0),
|