xyvcard-reports 0.0.34 → 0.0.35
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-7ON83uco.mjs → FileSaver.min-DO6ek3lW.mjs} +1 -1
- package/dist/{add-CqXS2X8y.mjs → add-5dUjNQ4r.mjs} +1 -1
- package/dist/{edit-Bol_FECP.mjs → edit-C2ee0L7W.mjs} +1 -1
- package/dist/{edit-BBlRCp2h.mjs → edit-CGOVSuQj.mjs} +1 -1
- package/dist/{edit-B4F6vLIL.mjs → edit-COE5QNgF.mjs} +2 -2
- package/dist/{edit-BB8j2HwF.mjs → edit-CqRQD8ir.mjs} +1 -1
- package/dist/{edit--WrHf-eK.mjs → edit-DbUDtcUI.mjs} +1 -1
- package/dist/{edit-CG90pfMP.mjs → edit-DcLw6lLf.mjs} +1 -1
- package/dist/{index-DMO7OA0p.mjs → index-B-omu63A.mjs} +4 -4
- package/dist/{index-BYCo9k6_.mjs → index-BNdCdbvf.mjs} +4 -4
- package/dist/index-BsyrywyW.mjs +420 -0
- package/dist/{index-u1vIKTSy.mjs → index-CHk9WIyV.mjs} +3 -3
- package/dist/{index-D61BwFNn.mjs → index-CihaooP7.mjs} +2 -2
- package/dist/{index-CL8WBODy.mjs → index-DIJ6wroM.mjs} +1 -1
- package/dist/{index-_u9JMgEn.mjs → index-DynAQKuQ.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CO00FH4c.mjs → index.vue_vue_type_script_setup_true_lang-CuQODL7z.mjs} +2 -2
- package/dist/{info-BeTLcaOu.mjs → info-Bhki21CF.mjs} +1 -1
- package/dist/{info-BHKQHthI.mjs → info-BptEP3qD.mjs} +2 -2
- package/dist/{info-BgfYveTZ.mjs → info-CXuKqM4W.mjs} +1 -1
- package/dist/{info-C0oMT2zM.mjs → info-DN9UAeIn.mjs} +1 -1
- package/dist/{info-XLCOjb2Y.mjs → info-DznuP1M9.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DfZYuIia.mjs → info.vue_vue_type_script_setup_true_lang-B-rpKnUe.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BwsuLTDZ.mjs → info.vue_vue_type_script_setup_true_lang-CWHBBfp7.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DZaGR28c.mjs → info.vue_vue_type_script_setup_true_lang-HrOIn7_4.mjs} +1 -1
- package/package.json +1 -1
- package/dist/index-faWiRvgD.mjs +0 -466
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as R, mergeModels as $, ref as M, reactive as y, useModel as D, resolveComponent as a, createBlock as q, openBlock as B, withCtx as e, createVNode as t, unref as p, createElementVNode as E, createTextVNode as T, toDisplayString as g } from "vue";
|
|
2
2
|
import { ElMessage as F } from "element-plus";
|
|
3
|
-
import { t as S } from "./index-
|
|
3
|
+
import { t as S } from "./index-DynAQKuQ.mjs";
|
|
4
4
|
import { useI18n as U } from "vue-i18n";
|
|
5
5
|
import { D as j } from "./index-BQ2A9CZF.mjs";
|
|
6
6
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ee, mergeModels as F, ref as c, reactive as U, compu
|
|
|
2
2
|
import { ElMessage as re } from "element-plus";
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
4
|
import { u as de } from "./index-CJ1aT1h5.mjs";
|
|
5
|
-
import { r as $ } from "./index-
|
|
5
|
+
import { r as $ } from "./index-DynAQKuQ.mjs";
|
|
6
6
|
import { useUserStoreHook as se } from "jmash-core";
|
|
7
7
|
import { C as ne, B as ie, J as ue, a as me } from "./constant-CjJspmoU.mjs";
|
|
8
8
|
import "./index-Cu8cdEcf--Hv6LgCE.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as z, mergeModels as q, ref as A, reactive as E, computed as i, useModel as J, resolveComponent as p, createBlock as I, openBlock as k, withCtx as s, createVNode as a, unref as t, createCommentVNode as D, createElementVNode as Q, createTextVNode as w, toDisplayString as W } from "vue";
|
|
2
2
|
import { ElMessage as C } from "element-plus";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
|
-
import { a as _ } from "./index-
|
|
4
|
+
import { a as _ } from "./index-DynAQKuQ.mjs";
|
|
5
5
|
import { useRoute as ee } from "vue-router";
|
|
6
6
|
import { D as N } from "./index-BQ2A9CZF.mjs";
|
|
7
7
|
import { C as n } from "./constant-CjJspmoU.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getCurrentInstance as V, inject as L, ref as S, computed as d, unref as c, readonly as Ct, getCurrentScope as wt, onScopeDispose as Tt, watch as ae, onMounted as he, isRef as St, warn as Nt, provide as Ot, defineComponent as Y, createElementBlock as J, openBlock as E, mergeProps as Et, renderSlot as q, normalizeClass as P, createVNode as C, Transition as Ke, withCtx as N, withDirectives as Ue, createElementVNode as oe, normalizeStyle as Ge, createTextVNode as He, toDisplayString as ve, vShow as Ze, shallowReactive as Je, createBlock as H, createCommentVNode as te, resolveDynamicComponent as It, Fragment as $t, withModifiers as xt, nextTick as Pt, isVNode as qe, render as $e, reactive as xe, resolveComponent as x } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useRoute as kt, useRouter as jt } from "vue-router";
|
|
4
|
-
import { _ as Dt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as Dt } from "./index.vue_vue_type_script_setup_true_lang-CuQODL7z.mjs";
|
|
5
5
|
import { useI18n as At } from "vue-i18n";
|
|
6
|
-
import { t as Pe } from "./index-
|
|
6
|
+
import { t as Pe } from "./index-DynAQKuQ.mjs";
|
|
7
7
|
import { D as Mt } from "./index-BQ2A9CZF.mjs";
|
|
8
8
|
import { routerUtil as zt } from "jmash-core";
|
|
9
9
|
import { i as ke, c as Lt, w as Ft, s as Vt, a as Bt } from "./index-CJ1aT1h5.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as re, mergeModels as K, ref as y, reactive as J, compu
|
|
|
2
2
|
import { ElMessage as R } from "element-plus";
|
|
3
3
|
import { useI18n as ie } from "vue-i18n";
|
|
4
4
|
import { u as ue } from "./index-CJ1aT1h5.mjs";
|
|
5
|
-
import { r as b } from "./index-
|
|
5
|
+
import { r as b } from "./index-DynAQKuQ.mjs";
|
|
6
6
|
import { useUserStoreHook as ne } from "jmash-core";
|
|
7
7
|
import "./index-BQ2A9CZF.mjs";
|
|
8
8
|
import { r as pe } from "./index-ISkSSB59.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ae, mergeModels as K, ref as g, reactive as J, compu
|
|
|
2
2
|
import { ElMessage as R } from "element-plus";
|
|
3
3
|
import { useI18n as ie } from "vue-i18n";
|
|
4
4
|
import { u as ne } from "./index-CJ1aT1h5.mjs";
|
|
5
|
-
import { r as b } from "./index-
|
|
5
|
+
import { r as b } from "./index-DynAQKuQ.mjs";
|
|
6
6
|
import { useUserStoreHook as pe } from "jmash-core";
|
|
7
7
|
import { D as me } from "./index-BQ2A9CZF.mjs";
|
|
8
8
|
import { r as ce } from "./index-ISkSSB59.mjs";
|
|
@@ -2,7 +2,7 @@ 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 me } from "./index-CJ1aT1h5.mjs";
|
|
5
|
-
import { r as b } from "./index-
|
|
5
|
+
import { r as b } from "./index-DynAQKuQ.mjs";
|
|
6
6
|
import { useUserStoreHook as pe } from "jmash-core";
|
|
7
7
|
import { r as fe } from "./index-ISkSSB59.mjs";
|
|
8
8
|
import { C as J, B as H, J as ce, a as ge } from "./constant-CjJspmoU.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Ie, getCurrentInstance as we, ref as $, watch as F, reactive as A, onActivated as ke, resolveComponent as d, resolveDirective as H, createElementBlock as w, openBlock as i, createElementVNode as V, createVNode as r, createBlock as v, createCommentVNode as g, withCtx as l, unref as a, withKeys as q, Fragment as Ce, renderList as Oe, createTextVNode as y, toDisplayString as u, withDirectives as b, isRef as K } from "vue";
|
|
2
2
|
import { useUserStoreHook as $e, useTableHooks as Ve } from "jmash-core";
|
|
3
3
|
import { useI18n as Pe } from "vue-i18n";
|
|
4
|
-
import { r as S } from "./index-
|
|
5
|
-
import De from "./edit
|
|
6
|
-
import { _ as Ee } from "./info.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { r as S } from "./index-DynAQKuQ.mjs";
|
|
5
|
+
import De from "./edit-DbUDtcUI.mjs";
|
|
6
|
+
import { _ as Ee } from "./info.vue_vue_type_script_setup_true_lang-CWHBBfp7.mjs";
|
|
7
7
|
import { J as Re } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
8
8
|
import { B as Be, C as k } from "./constant-CjJspmoU.mjs";
|
|
9
9
|
import { a as Ue, O as Le, D as R } from "./index-BQ2A9CZF.mjs";
|
|
10
|
-
import { F as Se } from "./FileSaver.min-
|
|
10
|
+
import { F as Se } from "./FileSaver.min-DO6ek3lW.mjs";
|
|
11
11
|
import Me from "./import-upload-Dn5vsSua.mjs";
|
|
12
12
|
const Ne = { class: "app-container" }, ze = { class: "search-container" }, je = { key: 0 }, qe = { key: 0 }, Qe = ["onClick"], Fe = ["onClick"], Ae = ["onClick"], He = { class: "el-dropdown-link" }, rt = /* @__PURE__ */ Ie({
|
|
13
13
|
__name: "index",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as we, getCurrentInstance as Oe, ref as P, watch as F, reactive as A, onActivated as ke, resolveComponent as d, resolveDirective as H, createElementBlock as O, openBlock as i, createElementVNode as U, createVNode as r, createBlock as v, createCommentVNode as y, withCtx as l, unref as a, withKeys as j, Fragment as Ce, renderList as Te, createTextVNode as f, toDisplayString as u, withDirectives as b, isRef as K } from "vue";
|
|
2
2
|
import { useUserStoreHook as Pe, useTableHooks as $e } from "jmash-core";
|
|
3
3
|
import { useI18n as Ve } from "vue-i18n";
|
|
4
|
-
import { r as L } from "./index-
|
|
5
|
-
import De from "./edit-
|
|
6
|
-
import { _ as Ue } from "./info.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { r as L } from "./index-DynAQKuQ.mjs";
|
|
5
|
+
import De from "./edit-CqRQD8ir.mjs";
|
|
6
|
+
import { _ as Ue } from "./info.vue_vue_type_script_setup_true_lang-HrOIn7_4.mjs";
|
|
7
7
|
import { J as Re } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
8
8
|
import { C as k, B as Se } from "./constant-CjJspmoU.mjs";
|
|
9
9
|
import { a as Be, O as Le, D as M } from "./index-BQ2A9CZF.mjs";
|
|
10
|
-
import { F as Ee } from "./FileSaver.min-
|
|
10
|
+
import { F as Ee } from "./FileSaver.min-DO6ek3lW.mjs";
|
|
11
11
|
import Ne from "./import-upload-Dn5vsSua.mjs";
|
|
12
12
|
const ze = { class: "app-container" }, je = { class: "search-container" }, Me = { key: 0 }, qe = { key: 0 }, Qe = ["onClick"], Fe = ["onClick"], Ae = ["onClick"], He = { class: "el-dropdown-link" }, rt = /* @__PURE__ */ we({
|
|
13
13
|
__name: "index",
|
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import { defineComponent as de, getCurrentInstance as ie, ref as _, watch as j, reactive as q, onActivated as se, resolveComponent as s, resolveDirective as A, createElementBlock as O, openBlock as u, createElementVNode as B, createVNode as n, createBlock as v, createCommentVNode as b, withCtx as l, unref as a, withKeys as M, Fragment as ue, renderList as me, createTextVNode as T, toDisplayString as c, withDirectives as D, isRef as E } from "vue";
|
|
2
|
+
import { useUserStoreHook as pe, useTableHooks as ce, fileApi as ge } from "jmash-core";
|
|
3
|
+
import { useI18n as fe } from "vue-i18n";
|
|
4
|
+
import { r as H } from "./index-DynAQKuQ.mjs";
|
|
5
|
+
import ve from "./edit-C2ee0L7W.mjs";
|
|
6
|
+
import { J as ye } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
7
|
+
import { C as L, B as be } from "./constant-CjJspmoU.mjs";
|
|
8
|
+
import { a as he, O as Ie, D as U } from "./index-BQ2A9CZF.mjs";
|
|
9
|
+
import { r as _e } from "./index-ISkSSB59.mjs";
|
|
10
|
+
const Oe = { class: "app-container" }, Te = { class: "search-container" }, we = { key: 0 }, Ce = { key: 0 }, ke = ["onClick"], je = /* @__PURE__ */ de({
|
|
11
|
+
__name: "index",
|
|
12
|
+
setup(Pe) {
|
|
13
|
+
const { proxy: Q } = ie(), w = _([]), f = pe(), V = new he({ orgType: L.OUTSOURCE });
|
|
14
|
+
V.useValues();
|
|
15
|
+
const C = new Ie({ orgType: L.HALL });
|
|
16
|
+
C.useValues(), f.user.roleCodes.includes("outsource") || j(
|
|
17
|
+
() => C.values,
|
|
18
|
+
(o) => {
|
|
19
|
+
o && o.length > 0 && (r.value.govOrgId || (r.value.govOrgId = o[0].value, m.handleQuery()));
|
|
20
|
+
},
|
|
21
|
+
{ immediate: !0, deep: !0 }
|
|
22
|
+
// 立即执行并深度监听
|
|
23
|
+
), f.user.roleCodes.includes("outsource") && j(
|
|
24
|
+
() => w.value,
|
|
25
|
+
(o) => {
|
|
26
|
+
o && o.length > 0 && (r.value.govOrgId || (r.value.govOrgId = o[0].belongOrgId, m.handleQuery()));
|
|
27
|
+
},
|
|
28
|
+
{ immediate: !0 }
|
|
29
|
+
), f.user.roleCodes.includes("outsource") && be.findById({ userId: f.user.userId }).then((o) => {
|
|
30
|
+
const { data: t } = o;
|
|
31
|
+
H.findMyBelongOrgs({ likeServiceOrg: t.orgId }).then((y) => {
|
|
32
|
+
const d = /* @__PURE__ */ new Map();
|
|
33
|
+
y.data.results.forEach((i) => {
|
|
34
|
+
d.has(i.belongOrgId) || d.set(i.belongOrgId, i);
|
|
35
|
+
}), w.value = Array.from(d.values());
|
|
36
|
+
});
|
|
37
|
+
}), U.itemBizLayDict.useValues();
|
|
38
|
+
const { t: k } = fe(), r = _({
|
|
39
|
+
matterSort: L.MONTH_SUMMARY
|
|
40
|
+
}), {
|
|
41
|
+
tableHooks: m,
|
|
42
|
+
multipleTableRef: Y,
|
|
43
|
+
queryFormRef: F,
|
|
44
|
+
listLoading: K,
|
|
45
|
+
tableData: J,
|
|
46
|
+
total: P
|
|
47
|
+
} = ce(k, H, r);
|
|
48
|
+
let h = _([
|
|
49
|
+
{
|
|
50
|
+
label: "reportThirdParty.govOrgId",
|
|
51
|
+
prop: "govOrgId",
|
|
52
|
+
slotName: "govOrgId",
|
|
53
|
+
columnType: "slot",
|
|
54
|
+
width: "150",
|
|
55
|
+
sortable: "custom",
|
|
56
|
+
isColumn: !0
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
label: "reportThirdParty.itsmId",
|
|
60
|
+
prop: "itsmId",
|
|
61
|
+
slotName: "itsmId",
|
|
62
|
+
columnType: "slot",
|
|
63
|
+
width: "150",
|
|
64
|
+
sortable: "custom",
|
|
65
|
+
isColumn: !0
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
label: "reportThirdParty.filesName",
|
|
69
|
+
prop: "describe",
|
|
70
|
+
minWidth: "150",
|
|
71
|
+
sortable: "custom",
|
|
72
|
+
isColumn: !0
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: "reportThirdParty.outOrgId",
|
|
76
|
+
prop: "outOrgId",
|
|
77
|
+
slotName: "outOrgId",
|
|
78
|
+
columnType: "slot",
|
|
79
|
+
width: "150",
|
|
80
|
+
sortable: "custom",
|
|
81
|
+
isColumn: !0
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: "reportThirdParty.createBy",
|
|
85
|
+
prop: "createBy",
|
|
86
|
+
slotName: "createBy",
|
|
87
|
+
columnType: "slot",
|
|
88
|
+
width: "100",
|
|
89
|
+
sortable: "custom",
|
|
90
|
+
isColumn: !0
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: "reportThirdParty.createTime",
|
|
94
|
+
prop: "createTime",
|
|
95
|
+
slotName: "createTime",
|
|
96
|
+
columnType: "slot",
|
|
97
|
+
width: "150",
|
|
98
|
+
sortable: "custom",
|
|
99
|
+
isColumn: !0
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: "common.operate",
|
|
103
|
+
width: "60",
|
|
104
|
+
slotName: "operation",
|
|
105
|
+
columnType: "slot",
|
|
106
|
+
fixed: "right",
|
|
107
|
+
isColumn: !0
|
|
108
|
+
}
|
|
109
|
+
]);
|
|
110
|
+
const g = _({
|
|
111
|
+
title: k("common.edit"),
|
|
112
|
+
visible: !1,
|
|
113
|
+
isCopy: !1
|
|
114
|
+
});
|
|
115
|
+
_({
|
|
116
|
+
title: k("common.view"),
|
|
117
|
+
visible: !1
|
|
118
|
+
});
|
|
119
|
+
let R = q({});
|
|
120
|
+
function W() {
|
|
121
|
+
R = q({}), g.value.title = k("common.add"), g.value.visible = !0, g.value.isCopy = !1;
|
|
122
|
+
}
|
|
123
|
+
function G(o) {
|
|
124
|
+
_e.findReportList({ actionId: o.reportId }).then(async (t) => {
|
|
125
|
+
var y;
|
|
126
|
+
if (((y = t == null ? void 0 : t.data.results) == null ? void 0 : y.length) > 0) {
|
|
127
|
+
const d = t.data.results[0];
|
|
128
|
+
try {
|
|
129
|
+
const i = ge.fileUrl(d.filePath), $ = await (await fetch(i)).blob(), I = window.URL.createObjectURL($), p = document.createElement("a");
|
|
130
|
+
p.href = I, p.download = d.fileName || `file_${Date.now()}.${d.fileExt}`, p.style.display = "none", document.body.appendChild(p), p.click(), setTimeout(() => {
|
|
131
|
+
window.URL.revokeObjectURL(I), document.body.removeChild(p);
|
|
132
|
+
}, 100), console.log(`成功下载文件: ${d.fileName}`);
|
|
133
|
+
} catch (i) {
|
|
134
|
+
console.error(`下载文件 ${d.fileName} 失败:`, i);
|
|
135
|
+
}
|
|
136
|
+
} else
|
|
137
|
+
console.log("没有找到附件");
|
|
138
|
+
}).catch((t) => {
|
|
139
|
+
console.error("获取附件列表失败:", t);
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
function X(o) {
|
|
143
|
+
m.selectionRows.value = o;
|
|
144
|
+
}
|
|
145
|
+
function Z(o) {
|
|
146
|
+
m.handleSort(o.prop, o.order);
|
|
147
|
+
}
|
|
148
|
+
function x(o) {
|
|
149
|
+
o && m.getList();
|
|
150
|
+
}
|
|
151
|
+
function ee() {
|
|
152
|
+
r.value.itsmId = void 0, r.value.outOrgId = void 0, r.value.likeDescribe = void 0, r.value.matterType = void 0, m.handleQuery();
|
|
153
|
+
}
|
|
154
|
+
return se(() => {
|
|
155
|
+
m.getList();
|
|
156
|
+
}), (o, t) => {
|
|
157
|
+
const y = s("el-tree-select"), d = s("el-form-item"), i = s("el-col"), N = s("el-option"), $ = s("el-select"), I = s("jmash-select"), p = s("el-button"), S = s("el-row"), te = s("el-form"), oe = s("jmash-column-select"), le = s("jmash-table"), re = s("jmash-pagination"), ae = s("el-card"), z = A("hasPerm"), ne = A("loading");
|
|
158
|
+
return u(), O("div", Oe, [
|
|
159
|
+
B("div", Te, [
|
|
160
|
+
n(te, {
|
|
161
|
+
ref_key: "queryFormRef",
|
|
162
|
+
ref: F,
|
|
163
|
+
model: r.value,
|
|
164
|
+
inline: !0
|
|
165
|
+
}, {
|
|
166
|
+
default: l(() => [
|
|
167
|
+
n(S, null, {
|
|
168
|
+
default: l(() => [
|
|
169
|
+
!a(f).user.roleCodes.includes("customer_manager") && !a(f).user.roleCodes.includes("outsource") ? (u(), v(i, {
|
|
170
|
+
key: 0,
|
|
171
|
+
span: 6
|
|
172
|
+
}, {
|
|
173
|
+
default: l(() => [
|
|
174
|
+
n(d, {
|
|
175
|
+
label: o.$t("reportThirdParty.govOrgId"),
|
|
176
|
+
prop: "govOrgId"
|
|
177
|
+
}, {
|
|
178
|
+
default: l(() => [
|
|
179
|
+
n(y, {
|
|
180
|
+
modelValue: r.value.govOrgId,
|
|
181
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.govOrgId = e),
|
|
182
|
+
placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
|
|
183
|
+
data: a(C).values,
|
|
184
|
+
"node-key": "value",
|
|
185
|
+
onKeyup: t[1] || (t[1] = M((e) => a(m).handleQuery(), ["enter"])),
|
|
186
|
+
clearable: "",
|
|
187
|
+
filterable: ""
|
|
188
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["label"])
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})) : b("", !0),
|
|
195
|
+
a(f).user.roleCodes.includes("outsource") ? (u(), v(i, {
|
|
196
|
+
key: 1,
|
|
197
|
+
span: 6
|
|
198
|
+
}, {
|
|
199
|
+
default: l(() => [
|
|
200
|
+
n(d, {
|
|
201
|
+
label: o.$t("reportThirdParty.govOrgId"),
|
|
202
|
+
prop: "govOrgId"
|
|
203
|
+
}, {
|
|
204
|
+
default: l(() => [
|
|
205
|
+
n($, {
|
|
206
|
+
modelValue: r.value.govOrgId,
|
|
207
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.govOrgId = e),
|
|
208
|
+
placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
|
|
209
|
+
data: w.value,
|
|
210
|
+
clearable: "",
|
|
211
|
+
filterable: "",
|
|
212
|
+
class: "w-full"
|
|
213
|
+
}, {
|
|
214
|
+
default: l(() => [
|
|
215
|
+
(u(!0), O(ue, null, me(w.value, (e) => (u(), v(N, {
|
|
216
|
+
key: e.belongOrgId,
|
|
217
|
+
value: e.belongOrgId,
|
|
218
|
+
label: e.belongOrgName
|
|
219
|
+
}, null, 8, ["value", "label"]))), 128))
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
}, 8, ["modelValue", "placeholder", "data"])
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
}, 8, ["label"])
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
})) : b("", !0),
|
|
229
|
+
n(i, { span: 6 }, {
|
|
230
|
+
default: l(() => [
|
|
231
|
+
n(d, {
|
|
232
|
+
label: o.$t("reportThirdParty.itsmId"),
|
|
233
|
+
prop: "itsmId"
|
|
234
|
+
}, {
|
|
235
|
+
default: l(() => [
|
|
236
|
+
n(I, {
|
|
237
|
+
modelValue: r.value.itsmId,
|
|
238
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => r.value.itsmId = e),
|
|
239
|
+
placeholder: o.$t("reportThirdParty.itemIdRequired"),
|
|
240
|
+
data: a(U).itemBizLayDict.values,
|
|
241
|
+
onKeyup: t[4] || (t[4] = M((e) => a(m).handleQuery(), ["enter"])),
|
|
242
|
+
clearable: "",
|
|
243
|
+
filterable: ""
|
|
244
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["label"])
|
|
248
|
+
]),
|
|
249
|
+
_: 1
|
|
250
|
+
}),
|
|
251
|
+
n(i, { span: 6 }, {
|
|
252
|
+
default: l(() => [
|
|
253
|
+
n(d, {
|
|
254
|
+
label: o.$t("reportThirdParty.outOrgId"),
|
|
255
|
+
prop: "outOrgId"
|
|
256
|
+
}, {
|
|
257
|
+
default: l(() => [
|
|
258
|
+
n(I, {
|
|
259
|
+
modelValue: r.value.outOrgId,
|
|
260
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => r.value.outOrgId = e),
|
|
261
|
+
placeholder: o.$t("reportThirdParty.outOrgIdRequired"),
|
|
262
|
+
data: a(V).values,
|
|
263
|
+
clearable: "",
|
|
264
|
+
filterable: "",
|
|
265
|
+
class: "w-full"
|
|
266
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}, 8, ["label"])
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
}),
|
|
273
|
+
n(i, { span: 6 }, {
|
|
274
|
+
default: l(() => [
|
|
275
|
+
n(d, { class: "search-btn" }, {
|
|
276
|
+
default: l(() => [
|
|
277
|
+
n(p, {
|
|
278
|
+
type: "primary",
|
|
279
|
+
onClick: t[6] || (t[6] = (e) => a(m).handleQuery())
|
|
280
|
+
}, {
|
|
281
|
+
default: l(() => [
|
|
282
|
+
T(c(o.$t("common.search")), 1)
|
|
283
|
+
]),
|
|
284
|
+
_: 1
|
|
285
|
+
}),
|
|
286
|
+
n(p, {
|
|
287
|
+
onClick: t[7] || (t[7] = (e) => ee())
|
|
288
|
+
}, {
|
|
289
|
+
default: l(() => [
|
|
290
|
+
T(c(o.$t("common.reset")), 1)
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
})
|
|
294
|
+
]),
|
|
295
|
+
_: 1
|
|
296
|
+
})
|
|
297
|
+
]),
|
|
298
|
+
_: 1
|
|
299
|
+
})
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
})
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
}, 8, ["model"])
|
|
306
|
+
]),
|
|
307
|
+
n(ae, {
|
|
308
|
+
shadow: "never",
|
|
309
|
+
class: "table-container"
|
|
310
|
+
}, {
|
|
311
|
+
header: l(() => [
|
|
312
|
+
n(S, null, {
|
|
313
|
+
default: l(() => [
|
|
314
|
+
n(i, { span: 17 }, {
|
|
315
|
+
default: l(() => [
|
|
316
|
+
D((u(), v(p, {
|
|
317
|
+
type: "primary",
|
|
318
|
+
onClick: W
|
|
319
|
+
}, {
|
|
320
|
+
default: l(() => [
|
|
321
|
+
T(c(o.$t("common.add")), 1)
|
|
322
|
+
]),
|
|
323
|
+
_: 1
|
|
324
|
+
})), [
|
|
325
|
+
[z, ["reports:report_third_party:add"]]
|
|
326
|
+
])
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
}),
|
|
330
|
+
n(i, {
|
|
331
|
+
span: 7,
|
|
332
|
+
class: "container-float"
|
|
333
|
+
}, {
|
|
334
|
+
default: l(() => [
|
|
335
|
+
n(oe, {
|
|
336
|
+
modelValue: a(h),
|
|
337
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => E(h) ? h.value = e : h = e),
|
|
338
|
+
"label-name": "reports/report-third-party"
|
|
339
|
+
}, null, 8, ["modelValue"])
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
})
|
|
343
|
+
]),
|
|
344
|
+
_: 1
|
|
345
|
+
})
|
|
346
|
+
]),
|
|
347
|
+
footer: l(() => [
|
|
348
|
+
a(P) > 0 ? (u(), v(re, {
|
|
349
|
+
key: 0,
|
|
350
|
+
total: a(P),
|
|
351
|
+
"onUpdate:total": t[9] || (t[9] = (e) => E(P) ? P.value = e : null),
|
|
352
|
+
"current-page": r.value.curPage,
|
|
353
|
+
"onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
|
|
354
|
+
"page-size": r.value.pageSize,
|
|
355
|
+
"onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
|
|
356
|
+
onPagination: t[12] || (t[12] = (e) => a(m).getList())
|
|
357
|
+
}, null, 8, ["total", "current-page", "page-size"])) : b("", !0)
|
|
358
|
+
]),
|
|
359
|
+
default: l(() => [
|
|
360
|
+
D((u(), v(le, {
|
|
361
|
+
ref_key: "multipleTableRef",
|
|
362
|
+
ref: Y,
|
|
363
|
+
"row-key": "reportId",
|
|
364
|
+
data: a(J),
|
|
365
|
+
"table-label": a(h),
|
|
366
|
+
onSelectionChange: X,
|
|
367
|
+
onSortChange: Z
|
|
368
|
+
}, {
|
|
369
|
+
govOrgId: l((e) => [
|
|
370
|
+
B("span", null, c(a(C).getValue(e.data.row.govOrgId)), 1)
|
|
371
|
+
]),
|
|
372
|
+
itsmId: l((e) => [
|
|
373
|
+
B("span", null, c(a(U).itemBizLayDict.getValue(e.data.row.itsmId)), 1)
|
|
374
|
+
]),
|
|
375
|
+
createBy: l((e) => [
|
|
376
|
+
e.data.row.createBy ? (u(), O("span", we, c(a(ye).userInfo(e.data.row.createBy).realName), 1)) : b("", !0)
|
|
377
|
+
]),
|
|
378
|
+
createTime: l((e) => [
|
|
379
|
+
T(c(a(Q).$moment.formatDate(
|
|
380
|
+
e.data.row.createTime,
|
|
381
|
+
"YYYY-MM-DD HH:mm"
|
|
382
|
+
)), 1)
|
|
383
|
+
]),
|
|
384
|
+
outOrgId: l((e) => [
|
|
385
|
+
e.data.row.outOrgId ? (u(), O("span", Ce, c(a(V).getValue(e.data.row.outOrgId)), 1)) : b("", !0)
|
|
386
|
+
]),
|
|
387
|
+
operation: l((e) => [
|
|
388
|
+
D((u(), O("span", {
|
|
389
|
+
class: "el-button-color",
|
|
390
|
+
onClick: (Ve) => G(e.data.row)
|
|
391
|
+
}, [
|
|
392
|
+
T(c(o.$t("reportThirdParty.download")), 1)
|
|
393
|
+
], 8, ke)), [
|
|
394
|
+
[z, ["reports:report_third_party:update"]]
|
|
395
|
+
])
|
|
396
|
+
]),
|
|
397
|
+
_: 1
|
|
398
|
+
}, 8, ["data", "table-label"])), [
|
|
399
|
+
[ne, a(K)]
|
|
400
|
+
])
|
|
401
|
+
]),
|
|
402
|
+
_: 1
|
|
403
|
+
}),
|
|
404
|
+
g.value.visible ? (u(), v(ve, {
|
|
405
|
+
key: 0,
|
|
406
|
+
modelValue: g.value.visible,
|
|
407
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => g.value.visible = e),
|
|
408
|
+
title: g.value.title,
|
|
409
|
+
"entity-key": a(R),
|
|
410
|
+
"is-copy": g.value.isCopy,
|
|
411
|
+
onRefresh: x,
|
|
412
|
+
width: "900px"
|
|
413
|
+
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : b("", !0)
|
|
414
|
+
]);
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
export {
|
|
419
|
+
je as default
|
|
420
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as be, getCurrentInstance as _e, ref as D, watch as H, reactive as Y, onActivated as Ie, resolveComponent as d, resolveDirective as A, createElementBlock as _, openBlock as i, createElementVNode as C, createVNode as r, createBlock as v, createCommentVNode as I, withCtx as l, unref as a, withKeys as z, Fragment as he, renderList as we, createTextVNode as g, toDisplayString as p, withDirectives as h, isRef as F } from "vue";
|
|
2
2
|
import { useUserStoreHook as Oe, useTableHooks as ke } from "jmash-core";
|
|
3
3
|
import { useI18n as Ce } from "vue-i18n";
|
|
4
|
-
import { r as N } from "./index-
|
|
5
|
-
import Te from "./edit-
|
|
6
|
-
import { _ as Ve } from "./info.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { r as N } from "./index-DynAQKuQ.mjs";
|
|
5
|
+
import Te from "./edit-DcLw6lLf.mjs";
|
|
6
|
+
import { _ as Ve } from "./info.vue_vue_type_script_setup_true_lang-B-rpKnUe.mjs";
|
|
7
7
|
import { J as $e } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
8
8
|
import { C as R, B as De } from "./constant-CjJspmoU.mjs";
|
|
9
9
|
import { a as Pe, O as Be, D as E } from "./index-BQ2A9CZF.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as oe, ref as I, reactive as U, onActivated as ae, resolveComponent as s, resolveDirective as E, createElementBlock as V, openBlock as r, createElementVNode as P, createVNode as n, createBlock as k, createCommentVNode as j, withCtx as o, withKeys as $, unref as a, createTextVNode as u, toDisplayString as d, withDirectives as y, isRef as q } from "vue";
|
|
2
2
|
import { useTableHooks as se } from "jmash-core";
|
|
3
|
-
import { t as pe } from "./index-
|
|
4
|
-
import ie from "./add-
|
|
3
|
+
import { t as pe } from "./index-DynAQKuQ.mjs";
|
|
4
|
+
import ie from "./add-5dUjNQ4r.mjs";
|
|
5
5
|
import { useRouter as re } from "vue-router";
|
|
6
6
|
import { useI18n as ue } from "vue-i18n";
|
|
7
7
|
import { D as C } from "./index-BQ2A9CZF.mjs";
|
|
@@ -2781,7 +2781,7 @@ const bu = {
|
|
|
2781
2781
|
}
|
|
2782
2782
|
};
|
|
2783
2783
|
}
|
|
2784
|
-
}, Pu = () => import("./edit-
|
|
2784
|
+
}, Pu = () => import("./edit-COE5QNgF.mjs"), Tu = () => import("./info-BptEP3qD.mjs"), Iu = [
|
|
2785
2785
|
{
|
|
2786
2786
|
path: "/reports",
|
|
2787
2787
|
component: _i,
|
|
@@ -4566,7 +4566,7 @@ class Wd {
|
|
|
4566
4566
|
});
|
|
4567
4567
|
}
|
|
4568
4568
|
}
|
|
4569
|
-
const Gd = new Wd(), $d = /* @__PURE__ */ Object.assign({ "./views/reports/report-demand-ledger/edit.vue": () => import("./edit-BKnNpNWv.mjs"), "./views/reports/report-demand-ledger/follow.vue": () => import("./follow-CsMxnRZN.mjs"), "./views/reports/report-demand-ledger/index.vue": () => import("./index-CwndfZKu.mjs"), "./views/reports/report-demand-ledger/info.vue": () => import("./info-DZn3dHMZ.mjs"), "./views/reports/report-third-matter/edit.vue": () => import("./edit
|
|
4569
|
+
const Gd = new Wd(), $d = /* @__PURE__ */ Object.assign({ "./views/reports/report-demand-ledger/edit.vue": () => import("./edit-BKnNpNWv.mjs"), "./views/reports/report-demand-ledger/follow.vue": () => import("./follow-CsMxnRZN.mjs"), "./views/reports/report-demand-ledger/index.vue": () => import("./index-CwndfZKu.mjs"), "./views/reports/report-demand-ledger/info.vue": () => import("./info-DZn3dHMZ.mjs"), "./views/reports/report-third-matter/edit.vue": () => import("./edit-DbUDtcUI.mjs"), "./views/reports/report-third-matter/import-upload.vue": () => import("./import-upload-Dn5vsSua.mjs"), "./views/reports/report-third-matter/index.vue": () => import("./index-B-omu63A.mjs"), "./views/reports/report-third-matter/info.vue": () => import("./info-DznuP1M9.mjs"), "./views/reports/report-third-month-summary/edit.vue": () => import("./edit-C2ee0L7W.mjs"), "./views/reports/report-third-month-summary/index.vue": () => import("./index-BsyrywyW.mjs"), "./views/reports/report-third-party/edit.vue": () => import("./edit-DcLw6lLf.mjs"), "./views/reports/report-third-party/index.vue": () => import("./index-CHk9WIyV.mjs"), "./views/reports/report-third-party/info.vue": () => import("./info-CXuKqM4W.mjs"), "./views/reports/report-third-use-support/edit.vue": () => import("./edit-CqRQD8ir.mjs"), "./views/reports/report-third-use-support/import-upload.vue": () => import("./import-upload-BJIN3iRd.mjs"), "./views/reports/report-third-use-support/index.vue": () => import("./index-BNdCdbvf.mjs"), "./views/reports/report-third-use-support/info.vue": () => import("./info-DN9UAeIn.mjs"), "./views/reports/task-inspect-matters/edit.vue": () => import("./edit-CGOVSuQj.mjs"), "./views/reports/task-inspect-matters/index.vue": () => import("./index-DIJ6wroM.mjs"), "./views/reports/task-inspect-matters/info.vue": () => import("./info-Bhki21CF.mjs"), "./views/reports/task-inspect-type/add.vue": () => import("./add-5dUjNQ4r.mjs"), "./views/reports/task-inspect-type/edit.vue": () => import("./edit-COE5QNgF.mjs"), "./views/reports/task-inspect-type/index.vue": () => import("./index-CihaooP7.mjs"), "./views/reports/task-inspect-type/info.vue": () => import("./info-BptEP3qD.mjs") }), Vd = {
|
|
4570
4570
|
install(e) {
|
|
4571
4571
|
wi($d, 7), Mi(Oi), Si(Iu), e.use(bu);
|
|
4572
4572
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as te, ref as S, computed as v, reactive as q, resolveComponent as i, resolveDirective as oe, createElementBlock as A, openBlock as c, createElementVNode as $, createVNode as a, createBlock as I, createCommentVNode as W, withCtx as n, withKeys as ne, unref as l, createTextVNode as f, toDisplayString as y, withDirectives as C, isRef as ae } from "vue";
|
|
2
2
|
import { useTableHooks as se } from "jmash-core";
|
|
3
3
|
import { useI18n as le } from "vue-i18n";
|
|
4
|
-
import { a as re } from "./index-
|
|
5
|
-
import ie from "./edit-
|
|
4
|
+
import { a as re } from "./index-DynAQKuQ.mjs";
|
|
5
|
+
import ie from "./edit-CGOVSuQj.mjs";
|
|
6
6
|
import { useRoute as ue } from "vue-router";
|
|
7
7
|
import { D as me } from "./index-BQ2A9CZF.mjs";
|
|
8
8
|
import { C as u } from "./constant-CjJspmoU.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as W, ref as h, computed as l, resolveComponent as m, c
|
|
|
2
2
|
import { useTableHooks as N } from "jmash-core";
|
|
3
3
|
import { useRoute as P } from "vue-router";
|
|
4
4
|
import { useI18n as w } from "vue-i18n";
|
|
5
|
-
import { a as H } from "./index-
|
|
5
|
+
import { a as H } from "./index-DynAQKuQ.mjs";
|
|
6
6
|
import { D as T } from "./index-BQ2A9CZF.mjs";
|
|
7
7
|
import { C as t } from "./constant-CjJspmoU.mjs";
|
|
8
8
|
import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -2,9 +2,9 @@ import { defineComponent as N, ref as d, resolveComponent as a, createElementBlo
|
|
|
2
2
|
import { useRouter as E, useRoute as B } from "vue-router";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { routerUtil as S } from "jmash-core";
|
|
5
|
-
import { t as $ } from "./index-
|
|
5
|
+
import { t as $ } from "./index-DynAQKuQ.mjs";
|
|
6
6
|
import { D as f } from "./index-BQ2A9CZF.mjs";
|
|
7
|
-
import w from "./info-
|
|
7
|
+
import w from "./info-Bhki21CF.mjs";
|
|
8
8
|
const D = { class: "app-container" }, R = { class: "cell-item" }, U = { class: "cell-item" }, q = { class: "cell-item" }, G = /* @__PURE__ */ N({
|
|
9
9
|
__name: "info",
|
|
10
10
|
setup(A) {
|
|
@@ -3,7 +3,7 @@ import { handlePreview as w } from "jmash-core";
|
|
|
3
3
|
import { D as r } from "./index-BQ2A9CZF.mjs";
|
|
4
4
|
import { J as L } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
5
5
|
import { r as N } from "./index-ISkSSB59.mjs";
|
|
6
|
-
import { r as F } from "./index-
|
|
6
|
+
import { r as F } from "./index-DynAQKuQ.mjs";
|
|
7
7
|
const S = /* @__PURE__ */ T({
|
|
8
8
|
__name: "info",
|
|
9
9
|
props: /* @__PURE__ */ v({
|
|
@@ -3,7 +3,7 @@ import { handlePreview as M } from "jmash-core";
|
|
|
3
3
|
import { D as p } from "./index-BQ2A9CZF.mjs";
|
|
4
4
|
import { J as w } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
5
5
|
import { r as L } from "./index-ISkSSB59.mjs";
|
|
6
|
-
import { r as N } from "./index-
|
|
6
|
+
import { r as N } from "./index-DynAQKuQ.mjs";
|
|
7
7
|
const R = /* @__PURE__ */ $({
|
|
8
8
|
__name: "info",
|
|
9
9
|
props: /* @__PURE__ */ v({
|
|
@@ -3,7 +3,7 @@ import { handlePreview as M } from "jmash-core";
|
|
|
3
3
|
import { D as p } from "./index-BQ2A9CZF.mjs";
|
|
4
4
|
import { J as w } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
5
5
|
import { r as L } from "./index-ISkSSB59.mjs";
|
|
6
|
-
import { r as N } from "./index-
|
|
6
|
+
import { r as N } from "./index-DynAQKuQ.mjs";
|
|
7
7
|
const R = /* @__PURE__ */ $({
|
|
8
8
|
__name: "info",
|
|
9
9
|
props: /* @__PURE__ */ v({
|
package/package.json
CHANGED
package/dist/index-faWiRvgD.mjs
DELETED
|
@@ -1,466 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ie, getCurrentInstance as ue, ref as _, watch as A, reactive as E, onActivated as se, resolveComponent as u, resolveDirective as M, createElementBlock as O, openBlock as p, createElementVNode as R, createVNode as r, createBlock as v, createCommentVNode as h, withCtx as o, unref as n, withKeys as L, Fragment as pe, renderList as me, createTextVNode as T, toDisplayString as m, withDirectives as N, isRef as Q } from "vue";
|
|
2
|
-
import { useUserStoreHook as ce, useTableHooks as ge, fileApi as fe } from "jmash-core";
|
|
3
|
-
import { useI18n as ve } from "vue-i18n";
|
|
4
|
-
import { r as H } from "./index-_u9JMgEn.mjs";
|
|
5
|
-
import ye from "./edit-Bol_FECP.mjs";
|
|
6
|
-
import { J as be } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
7
|
-
import { C as S, B as he } from "./constant-CjJspmoU.mjs";
|
|
8
|
-
import { a as Ie, O as _e, D as V } from "./index-BQ2A9CZF.mjs";
|
|
9
|
-
import { r as Oe } from "./index-ISkSSB59.mjs";
|
|
10
|
-
const Te = { class: "app-container" }, we = { class: "search-container" }, ke = { key: 0 }, Ce = { key: 0 }, Pe = ["onClick"], qe = /* @__PURE__ */ ie({
|
|
11
|
-
__name: "index",
|
|
12
|
-
setup(Ve) {
|
|
13
|
-
const { proxy: K } = ue(), w = _([]), f = ce(), $ = new Ie({ orgType: S.OUTSOURCE });
|
|
14
|
-
$.useValues();
|
|
15
|
-
const k = new _e({ orgType: S.HALL });
|
|
16
|
-
k.useValues(), f.user.roleCodes.includes("outsource") || A(
|
|
17
|
-
() => k.values,
|
|
18
|
-
(l) => {
|
|
19
|
-
l && l.length > 0 && (a.value.govOrgId || (a.value.govOrgId = l[0].value, s.handleQuery()));
|
|
20
|
-
},
|
|
21
|
-
{ immediate: !0, deep: !0 }
|
|
22
|
-
// 立即执行并深度监听
|
|
23
|
-
), f.user.roleCodes.includes("outsource") && A(
|
|
24
|
-
() => w.value,
|
|
25
|
-
(l) => {
|
|
26
|
-
l && l.length > 0 && (a.value.govOrgId || (a.value.govOrgId = l[0].belongOrgId, s.handleQuery()));
|
|
27
|
-
},
|
|
28
|
-
{ immediate: !0 }
|
|
29
|
-
), f.user.roleCodes.includes("outsource") && he.findById({ userId: f.user.userId }).then((l) => {
|
|
30
|
-
const { data: t } = l;
|
|
31
|
-
H.findMyBelongOrgs({ likeServiceOrg: t.orgId }).then((y) => {
|
|
32
|
-
const d = /* @__PURE__ */ new Map();
|
|
33
|
-
y.data.results.forEach((i) => {
|
|
34
|
-
d.has(i.belongOrgId) || d.set(i.belongOrgId, i);
|
|
35
|
-
}), w.value = Array.from(d.values());
|
|
36
|
-
});
|
|
37
|
-
}), V.itemBizLayDict.useValues();
|
|
38
|
-
const { t: C } = ve(), a = _({
|
|
39
|
-
matterSort: S.MONTH_SUMMARY
|
|
40
|
-
}), {
|
|
41
|
-
tableHooks: s,
|
|
42
|
-
multipleTableRef: Y,
|
|
43
|
-
queryFormRef: F,
|
|
44
|
-
listLoading: J,
|
|
45
|
-
tableData: W,
|
|
46
|
-
total: P
|
|
47
|
-
} = ge(C, H, a);
|
|
48
|
-
let I = _([
|
|
49
|
-
{
|
|
50
|
-
label: "reportThirdParty.govOrgId",
|
|
51
|
-
prop: "govOrgId",
|
|
52
|
-
slotName: "govOrgId",
|
|
53
|
-
columnType: "slot",
|
|
54
|
-
width: "150",
|
|
55
|
-
sortable: "custom",
|
|
56
|
-
isColumn: !0
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: "reportThirdParty.itsmId",
|
|
60
|
-
prop: "itsmId",
|
|
61
|
-
slotName: "itsmId",
|
|
62
|
-
columnType: "slot",
|
|
63
|
-
width: "150",
|
|
64
|
-
sortable: "custom",
|
|
65
|
-
isColumn: !0
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
label: "reportThirdParty.filesName",
|
|
69
|
-
prop: "describe",
|
|
70
|
-
minWidth: "150",
|
|
71
|
-
sortable: "custom",
|
|
72
|
-
isColumn: !0
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: "reportThirdParty.outOrgId",
|
|
76
|
-
prop: "outOrgId",
|
|
77
|
-
slotName: "outOrgId",
|
|
78
|
-
columnType: "slot",
|
|
79
|
-
width: "150",
|
|
80
|
-
sortable: "custom",
|
|
81
|
-
isColumn: !0
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
label: "reportThirdParty.createBy",
|
|
85
|
-
prop: "createBy",
|
|
86
|
-
slotName: "createBy",
|
|
87
|
-
columnType: "slot",
|
|
88
|
-
width: "100",
|
|
89
|
-
sortable: "custom",
|
|
90
|
-
isColumn: !0
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: "reportThirdParty.createTime",
|
|
94
|
-
prop: "createTime",
|
|
95
|
-
slotName: "createTime",
|
|
96
|
-
columnType: "slot",
|
|
97
|
-
width: "150",
|
|
98
|
-
sortable: "custom",
|
|
99
|
-
isColumn: !0
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
label: "common.operate",
|
|
103
|
-
width: "60",
|
|
104
|
-
slotName: "operation",
|
|
105
|
-
columnType: "slot",
|
|
106
|
-
fixed: "right",
|
|
107
|
-
isColumn: !0
|
|
108
|
-
}
|
|
109
|
-
]);
|
|
110
|
-
const c = _({
|
|
111
|
-
title: C("common.edit"),
|
|
112
|
-
visible: !1,
|
|
113
|
-
isCopy: !1
|
|
114
|
-
});
|
|
115
|
-
_({
|
|
116
|
-
title: C("common.view"),
|
|
117
|
-
visible: !1
|
|
118
|
-
});
|
|
119
|
-
let z = E({});
|
|
120
|
-
function G() {
|
|
121
|
-
z = E({}), c.value.title = C("common.add"), c.value.visible = !0, c.value.isCopy = !1;
|
|
122
|
-
}
|
|
123
|
-
function X(l) {
|
|
124
|
-
Oe.findReportList({ actionId: l.reportId }).then(async (t) => {
|
|
125
|
-
var y;
|
|
126
|
-
if (((y = t == null ? void 0 : t.data.results) == null ? void 0 : y.length) > 0) {
|
|
127
|
-
const d = t.data.results[0];
|
|
128
|
-
try {
|
|
129
|
-
const i = fe.fileUrl(d.filePath), D = await (await fetch(i)).blob(), b = window.URL.createObjectURL(D), g = document.createElement("a");
|
|
130
|
-
g.href = b, g.download = d.fileName || `file_${Date.now()}.${d.fileExt}`, g.style.display = "none", document.body.appendChild(g), g.click(), setTimeout(() => {
|
|
131
|
-
window.URL.revokeObjectURL(b), document.body.removeChild(g);
|
|
132
|
-
}, 100), console.log(`成功下载文件: ${d.fileName}`);
|
|
133
|
-
} catch (i) {
|
|
134
|
-
console.error(`下载文件 ${d.fileName} 失败:`, i);
|
|
135
|
-
}
|
|
136
|
-
} else
|
|
137
|
-
console.log("没有找到附件");
|
|
138
|
-
}).catch((t) => {
|
|
139
|
-
console.error("获取附件列表失败:", t);
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
function Z(l) {
|
|
143
|
-
s.selectionRows.value = l;
|
|
144
|
-
}
|
|
145
|
-
function x(l) {
|
|
146
|
-
s.handleSort(l.prop, l.order);
|
|
147
|
-
}
|
|
148
|
-
function ee(l) {
|
|
149
|
-
l && s.getList();
|
|
150
|
-
}
|
|
151
|
-
function te() {
|
|
152
|
-
a.value.itsmId = void 0, a.value.outOrgId = void 0, a.value.likeDescribe = void 0, a.value.matterType = void 0, s.handleQuery();
|
|
153
|
-
}
|
|
154
|
-
return se(() => {
|
|
155
|
-
s.getList();
|
|
156
|
-
}), (l, t) => {
|
|
157
|
-
const y = u("el-tree-select"), d = u("el-form-item"), i = u("el-col"), j = u("el-option"), D = u("el-select"), b = u("jmash-select"), g = u("el-input"), U = u("el-row"), B = u("el-button"), le = u("el-form"), oe = u("jmash-column-select"), re = u("jmash-table"), ae = u("jmash-pagination"), ne = u("el-card"), q = M("hasPerm"), de = M("loading");
|
|
158
|
-
return p(), O("div", Te, [
|
|
159
|
-
R("div", we, [
|
|
160
|
-
r(le, {
|
|
161
|
-
ref_key: "queryFormRef",
|
|
162
|
-
ref: F,
|
|
163
|
-
model: a.value,
|
|
164
|
-
inline: !0
|
|
165
|
-
}, {
|
|
166
|
-
default: o(() => [
|
|
167
|
-
r(U, null, {
|
|
168
|
-
default: o(() => [
|
|
169
|
-
!n(f).user.roleCodes.includes("customer_manager") && !n(f).user.roleCodes.includes("outsource") ? (p(), v(i, {
|
|
170
|
-
key: 0,
|
|
171
|
-
span: 6
|
|
172
|
-
}, {
|
|
173
|
-
default: o(() => [
|
|
174
|
-
r(d, {
|
|
175
|
-
label: l.$t("reportThirdParty.govOrgId"),
|
|
176
|
-
prop: "govOrgId"
|
|
177
|
-
}, {
|
|
178
|
-
default: o(() => [
|
|
179
|
-
r(y, {
|
|
180
|
-
modelValue: a.value.govOrgId,
|
|
181
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => a.value.govOrgId = e),
|
|
182
|
-
placeholder: l.$t("reportThirdParty.govOrgIdRequired"),
|
|
183
|
-
data: n(k).values,
|
|
184
|
-
"node-key": "value",
|
|
185
|
-
onKeyup: t[1] || (t[1] = L((e) => n(s).handleQuery(), ["enter"])),
|
|
186
|
-
clearable: "",
|
|
187
|
-
filterable: ""
|
|
188
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
}, 8, ["label"])
|
|
192
|
-
]),
|
|
193
|
-
_: 1
|
|
194
|
-
})) : h("", !0),
|
|
195
|
-
n(f).user.roleCodes.includes("outsource") ? (p(), v(i, {
|
|
196
|
-
key: 1,
|
|
197
|
-
span: 6
|
|
198
|
-
}, {
|
|
199
|
-
default: o(() => [
|
|
200
|
-
r(d, {
|
|
201
|
-
label: l.$t("reportThirdParty.govOrgId"),
|
|
202
|
-
prop: "govOrgId"
|
|
203
|
-
}, {
|
|
204
|
-
default: o(() => [
|
|
205
|
-
r(D, {
|
|
206
|
-
modelValue: a.value.govOrgId,
|
|
207
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => a.value.govOrgId = e),
|
|
208
|
-
placeholder: l.$t("reportThirdParty.govOrgIdRequired"),
|
|
209
|
-
data: w.value,
|
|
210
|
-
clearable: "",
|
|
211
|
-
filterable: "",
|
|
212
|
-
class: "w-full"
|
|
213
|
-
}, {
|
|
214
|
-
default: o(() => [
|
|
215
|
-
(p(!0), O(pe, null, me(w.value, (e) => (p(), v(j, {
|
|
216
|
-
key: e.belongOrgId,
|
|
217
|
-
value: e.belongOrgId,
|
|
218
|
-
label: e.belongOrgName
|
|
219
|
-
}, null, 8, ["value", "label"]))), 128))
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
}, 8, ["modelValue", "placeholder", "data"])
|
|
223
|
-
]),
|
|
224
|
-
_: 1
|
|
225
|
-
}, 8, ["label"])
|
|
226
|
-
]),
|
|
227
|
-
_: 1
|
|
228
|
-
})) : h("", !0),
|
|
229
|
-
r(i, { span: 6 }, {
|
|
230
|
-
default: o(() => [
|
|
231
|
-
r(d, {
|
|
232
|
-
label: l.$t("reportThirdParty.itsmId"),
|
|
233
|
-
prop: "itsmId"
|
|
234
|
-
}, {
|
|
235
|
-
default: o(() => [
|
|
236
|
-
r(b, {
|
|
237
|
-
modelValue: a.value.itsmId,
|
|
238
|
-
"onUpdate:modelValue": t[3] || (t[3] = (e) => a.value.itsmId = e),
|
|
239
|
-
placeholder: l.$t("reportThirdParty.itemIdRequired"),
|
|
240
|
-
data: n(V).itemBizLayDict.values,
|
|
241
|
-
onKeyup: t[4] || (t[4] = L((e) => n(s).handleQuery(), ["enter"])),
|
|
242
|
-
clearable: "",
|
|
243
|
-
filterable: ""
|
|
244
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
245
|
-
]),
|
|
246
|
-
_: 1
|
|
247
|
-
}, 8, ["label"])
|
|
248
|
-
]),
|
|
249
|
-
_: 1
|
|
250
|
-
}),
|
|
251
|
-
r(i, { span: 6 }, {
|
|
252
|
-
default: o(() => [
|
|
253
|
-
r(d, {
|
|
254
|
-
label: l.$t("reportThirdParty.likeDescribe"),
|
|
255
|
-
prop: "likeDescribe"
|
|
256
|
-
}, {
|
|
257
|
-
default: o(() => [
|
|
258
|
-
r(g, {
|
|
259
|
-
modelValue: a.value.likeDescribe,
|
|
260
|
-
"onUpdate:modelValue": t[5] || (t[5] = (e) => a.value.likeDescribe = e),
|
|
261
|
-
placeholder: l.$t("reportThirdParty.likeDescribeRequired"),
|
|
262
|
-
onKeyup: t[6] || (t[6] = L((e) => n(s).handleQuery(), ["enter"])),
|
|
263
|
-
class: "!w-[203px]"
|
|
264
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
265
|
-
]),
|
|
266
|
-
_: 1
|
|
267
|
-
}, 8, ["label"])
|
|
268
|
-
]),
|
|
269
|
-
_: 1
|
|
270
|
-
}),
|
|
271
|
-
r(i, { span: 6 }, {
|
|
272
|
-
default: o(() => [
|
|
273
|
-
r(d, {
|
|
274
|
-
label: l.$t("reportThirdParty.outOrgId"),
|
|
275
|
-
prop: "outOrgId"
|
|
276
|
-
}, {
|
|
277
|
-
default: o(() => [
|
|
278
|
-
r(b, {
|
|
279
|
-
modelValue: a.value.outOrgId,
|
|
280
|
-
"onUpdate:modelValue": t[7] || (t[7] = (e) => a.value.outOrgId = e),
|
|
281
|
-
placeholder: l.$t("reportThirdParty.outOrgIdRequired"),
|
|
282
|
-
data: n($).values,
|
|
283
|
-
clearable: "",
|
|
284
|
-
filterable: "",
|
|
285
|
-
class: "w-full"
|
|
286
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
287
|
-
]),
|
|
288
|
-
_: 1
|
|
289
|
-
}, 8, ["label"])
|
|
290
|
-
]),
|
|
291
|
-
_: 1
|
|
292
|
-
})
|
|
293
|
-
]),
|
|
294
|
-
_: 1
|
|
295
|
-
}),
|
|
296
|
-
r(U, null, {
|
|
297
|
-
default: o(() => [
|
|
298
|
-
r(i, { span: 6 }, {
|
|
299
|
-
default: o(() => [
|
|
300
|
-
r(d, {
|
|
301
|
-
label: l.$t("reportThirdParty.matterType"),
|
|
302
|
-
prop: "matterType"
|
|
303
|
-
}, {
|
|
304
|
-
default: o(() => [
|
|
305
|
-
r(b, {
|
|
306
|
-
modelValue: a.value.matterType,
|
|
307
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) => a.value.matterType = e),
|
|
308
|
-
placeholder: l.$t("reportThirdParty.matterTypeRequired"),
|
|
309
|
-
data: n(V).matterTypeEnum.values,
|
|
310
|
-
clearable: "",
|
|
311
|
-
filterable: ""
|
|
312
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
313
|
-
]),
|
|
314
|
-
_: 1
|
|
315
|
-
}, 8, ["label"])
|
|
316
|
-
]),
|
|
317
|
-
_: 1
|
|
318
|
-
}),
|
|
319
|
-
r(i, { span: 18 }, {
|
|
320
|
-
default: o(() => [
|
|
321
|
-
r(d, { class: "search-btn" }, {
|
|
322
|
-
default: o(() => [
|
|
323
|
-
r(B, {
|
|
324
|
-
type: "primary",
|
|
325
|
-
onClick: t[9] || (t[9] = (e) => n(s).handleQuery())
|
|
326
|
-
}, {
|
|
327
|
-
default: o(() => [
|
|
328
|
-
T(m(l.$t("common.search")), 1)
|
|
329
|
-
]),
|
|
330
|
-
_: 1
|
|
331
|
-
}),
|
|
332
|
-
r(B, {
|
|
333
|
-
onClick: t[10] || (t[10] = (e) => te())
|
|
334
|
-
}, {
|
|
335
|
-
default: o(() => [
|
|
336
|
-
T(m(l.$t("common.reset")), 1)
|
|
337
|
-
]),
|
|
338
|
-
_: 1
|
|
339
|
-
})
|
|
340
|
-
]),
|
|
341
|
-
_: 1
|
|
342
|
-
})
|
|
343
|
-
]),
|
|
344
|
-
_: 1
|
|
345
|
-
})
|
|
346
|
-
]),
|
|
347
|
-
_: 1
|
|
348
|
-
})
|
|
349
|
-
]),
|
|
350
|
-
_: 1
|
|
351
|
-
}, 8, ["model"])
|
|
352
|
-
]),
|
|
353
|
-
r(ne, {
|
|
354
|
-
shadow: "never",
|
|
355
|
-
class: "table-container"
|
|
356
|
-
}, {
|
|
357
|
-
header: o(() => [
|
|
358
|
-
r(U, null, {
|
|
359
|
-
default: o(() => [
|
|
360
|
-
r(i, { span: 17 }, {
|
|
361
|
-
default: o(() => [
|
|
362
|
-
N((p(), v(B, {
|
|
363
|
-
type: "primary",
|
|
364
|
-
onClick: G
|
|
365
|
-
}, {
|
|
366
|
-
default: o(() => [
|
|
367
|
-
T(m(l.$t("common.add")), 1)
|
|
368
|
-
]),
|
|
369
|
-
_: 1
|
|
370
|
-
})), [
|
|
371
|
-
[q, ["reports:report_third_party:add"]]
|
|
372
|
-
])
|
|
373
|
-
]),
|
|
374
|
-
_: 1
|
|
375
|
-
}),
|
|
376
|
-
r(i, {
|
|
377
|
-
span: 7,
|
|
378
|
-
class: "container-float"
|
|
379
|
-
}, {
|
|
380
|
-
default: o(() => [
|
|
381
|
-
r(oe, {
|
|
382
|
-
modelValue: n(I),
|
|
383
|
-
"onUpdate:modelValue": t[11] || (t[11] = (e) => Q(I) ? I.value = e : I = e),
|
|
384
|
-
"label-name": "reports/report-third-party"
|
|
385
|
-
}, null, 8, ["modelValue"])
|
|
386
|
-
]),
|
|
387
|
-
_: 1
|
|
388
|
-
})
|
|
389
|
-
]),
|
|
390
|
-
_: 1
|
|
391
|
-
})
|
|
392
|
-
]),
|
|
393
|
-
footer: o(() => [
|
|
394
|
-
n(P) > 0 ? (p(), v(ae, {
|
|
395
|
-
key: 0,
|
|
396
|
-
total: n(P),
|
|
397
|
-
"onUpdate:total": t[12] || (t[12] = (e) => Q(P) ? P.value = e : null),
|
|
398
|
-
"current-page": a.value.curPage,
|
|
399
|
-
"onUpdate:currentPage": t[13] || (t[13] = (e) => a.value.curPage = e),
|
|
400
|
-
"page-size": a.value.pageSize,
|
|
401
|
-
"onUpdate:pageSize": t[14] || (t[14] = (e) => a.value.pageSize = e),
|
|
402
|
-
onPagination: t[15] || (t[15] = (e) => n(s).getList())
|
|
403
|
-
}, null, 8, ["total", "current-page", "page-size"])) : h("", !0)
|
|
404
|
-
]),
|
|
405
|
-
default: o(() => [
|
|
406
|
-
N((p(), v(re, {
|
|
407
|
-
ref_key: "multipleTableRef",
|
|
408
|
-
ref: Y,
|
|
409
|
-
"row-key": "reportId",
|
|
410
|
-
data: n(W),
|
|
411
|
-
"table-label": n(I),
|
|
412
|
-
onSelectionChange: Z,
|
|
413
|
-
onSortChange: x
|
|
414
|
-
}, {
|
|
415
|
-
govOrgId: o((e) => [
|
|
416
|
-
R("span", null, m(n(k).getValue(e.data.row.govOrgId)), 1)
|
|
417
|
-
]),
|
|
418
|
-
itsmId: o((e) => [
|
|
419
|
-
R("span", null, m(n(V).itemBizLayDict.getValue(e.data.row.itsmId)), 1)
|
|
420
|
-
]),
|
|
421
|
-
createBy: o((e) => [
|
|
422
|
-
e.data.row.createBy ? (p(), O("span", ke, m(n(be).userInfo(e.data.row.createBy).realName), 1)) : h("", !0)
|
|
423
|
-
]),
|
|
424
|
-
createTime: o((e) => [
|
|
425
|
-
T(m(n(K).$moment.formatDate(
|
|
426
|
-
e.data.row.createTime,
|
|
427
|
-
"YYYY-MM-DD HH:mm"
|
|
428
|
-
)), 1)
|
|
429
|
-
]),
|
|
430
|
-
outOrgId: o((e) => [
|
|
431
|
-
e.data.row.outOrgId ? (p(), O("span", Ce, m(n($).getValue(e.data.row.outOrgId)), 1)) : h("", !0)
|
|
432
|
-
]),
|
|
433
|
-
operation: o((e) => [
|
|
434
|
-
N((p(), O("span", {
|
|
435
|
-
class: "el-button-color",
|
|
436
|
-
onClick: ($e) => X(e.data.row)
|
|
437
|
-
}, [
|
|
438
|
-
T(m(l.$t("reportThirdParty.download")), 1)
|
|
439
|
-
], 8, Pe)), [
|
|
440
|
-
[q, ["reports:report_third_party:update"]]
|
|
441
|
-
])
|
|
442
|
-
]),
|
|
443
|
-
_: 1
|
|
444
|
-
}, 8, ["data", "table-label"])), [
|
|
445
|
-
[de, n(J)]
|
|
446
|
-
])
|
|
447
|
-
]),
|
|
448
|
-
_: 1
|
|
449
|
-
}),
|
|
450
|
-
c.value.visible ? (p(), v(ye, {
|
|
451
|
-
key: 0,
|
|
452
|
-
modelValue: c.value.visible,
|
|
453
|
-
"onUpdate:modelValue": t[16] || (t[16] = (e) => c.value.visible = e),
|
|
454
|
-
title: c.value.title,
|
|
455
|
-
"entity-key": n(z),
|
|
456
|
-
"is-copy": c.value.isCopy,
|
|
457
|
-
onRefresh: ee,
|
|
458
|
-
width: "900px"
|
|
459
|
-
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : h("", !0)
|
|
460
|
-
]);
|
|
461
|
-
};
|
|
462
|
-
}
|
|
463
|
-
});
|
|
464
|
-
export {
|
|
465
|
-
qe as default
|
|
466
|
-
};
|