xyvcard-reports 0.0.37 → 0.0.39
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-FUZJJptC.mjs → FileSaver.min-Kfdb-r3Z.mjs} +1 -1
- package/dist/{add-BvNAuAOM.mjs → add-4aFNuVw_.mjs} +1 -1
- package/dist/{edit-DmtFEVlx.mjs → edit-9PQhbavR.mjs} +2 -2
- package/dist/{edit-DvJ6QEqB.mjs → edit-BT-M06KL.mjs} +1 -1
- package/dist/{edit-EV3rSAw1.mjs → edit-BeULnYdq.mjs} +1 -1
- package/dist/{edit-DWBWfV4E.mjs → edit-C0TKlPtF.mjs} +1 -1
- package/dist/{edit-B8RoQxH4.mjs → edit-DH3LIfKt.mjs} +1 -1
- package/dist/{edit-Cz1KH0Au.mjs → edit-ZxidNoBj.mjs} +1 -1
- package/dist/{index-pumFcsAa.mjs → index-2Hej9ETh.mjs} +34 -34
- package/dist/{index-DzbdzDBh.mjs → index-BI4WAF0Y.mjs} +19 -19
- package/dist/{index-DldQ_jzE.mjs → index-BvGye3Nf.mjs} +1 -1
- package/dist/{index-DHzJnan9.mjs → index-CpvxKHUI.mjs} +2 -2
- package/dist/{index-BnPKAyTT.mjs → index-D9xIW1-H.mjs} +20 -20
- package/dist/{index-CJLDWchX.mjs → index-DCGfxW17.mjs} +1341 -1359
- package/dist/{index-DuyILg3T.mjs → index-DWfuYlAe.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BGp4ugKr.mjs → index.vue_vue_type_script_setup_true_lang-Dgz2qb4H.mjs} +2 -2
- package/dist/info-7AX615hL.mjs +144 -0
- package/dist/info-CD8eUy09.mjs +179 -0
- package/dist/{info-dvplPoXT.mjs → info-CPJuyiCR.mjs} +2 -2
- package/dist/{info-B2I-YIc7.mjs → info-D2MUStAL.mjs} +1 -1
- package/dist/info-DLyqhJqT.mjs +179 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/info-BWqJvGJN.mjs +0 -4
- package/dist/info-Dkhsu5Q3.mjs +0 -4
- package/dist/info-JW9jBkTs.mjs +0 -4
- package/dist/info.vue_vue_type_script_setup_true_lang-AswyVpLz.mjs +0 -204
- package/dist/info.vue_vue_type_script_setup_true_lang-ClnTjClx.mjs +0 -162
- package/dist/info.vue_vue_type_script_setup_true_lang-DdO2F9Qm.mjs +0 -204
|
@@ -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-DCGfxW17.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";
|
|
@@ -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-Dgz2qb4H.mjs";
|
|
5
5
|
import { useI18n as At } from "vue-i18n";
|
|
6
|
-
import { t as Pe } from "./index-
|
|
6
|
+
import { t as Pe } from "./index-DCGfxW17.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";
|
|
@@ -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-DCGfxW17.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";
|
|
@@ -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-DCGfxW17.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-DCGfxW17.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-DCGfxW17.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";
|
|
@@ -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-DCGfxW17.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,13 +1,13 @@
|
|
|
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
|
|
2
|
-
import { useUserStoreHook as Pe, useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { r as L } from "./index-
|
|
5
|
-
import De from "./edit-
|
|
6
|
-
import
|
|
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 Te, renderList as Ce, createTextVNode as f, toDisplayString as u, withDirectives as b, isRef as K } from "vue";
|
|
2
|
+
import { useUserStoreHook as Pe, useTableHooks as Ve } from "jmash-core";
|
|
3
|
+
import { useI18n as $e } from "vue-i18n";
|
|
4
|
+
import { r as L } from "./index-DCGfxW17.mjs";
|
|
5
|
+
import De from "./edit-BeULnYdq.mjs";
|
|
6
|
+
import Ue from "./info-DLyqhJqT.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-Kfdb-r3Z.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",
|
|
@@ -37,7 +37,7 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
37
37
|
}), R.value = Array.from(c.values());
|
|
38
38
|
});
|
|
39
39
|
}), M.itemBizLayDict.useValues();
|
|
40
|
-
const { t: g } =
|
|
40
|
+
const { t: g } = $e(), n = P({
|
|
41
41
|
matterSort: k.SUPPORT
|
|
42
42
|
}), {
|
|
43
43
|
tableHooks: p,
|
|
@@ -46,8 +46,8 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
46
46
|
listLoading: x,
|
|
47
47
|
tableData: G,
|
|
48
48
|
total: B
|
|
49
|
-
} =
|
|
50
|
-
let
|
|
49
|
+
} = Ve(g, L, n);
|
|
50
|
+
let V = P([
|
|
51
51
|
{
|
|
52
52
|
label: "reportThirdParty.govOrgId",
|
|
53
53
|
prop: "govOrgId",
|
|
@@ -120,26 +120,26 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
120
120
|
title: g("common.edit"),
|
|
121
121
|
visible: !1,
|
|
122
122
|
isCopy: !1
|
|
123
|
-
}),
|
|
123
|
+
}), T = P({
|
|
124
124
|
title: g("common.view"),
|
|
125
125
|
visible: !1
|
|
126
126
|
});
|
|
127
|
-
let
|
|
127
|
+
let C = A({});
|
|
128
128
|
function X() {
|
|
129
|
-
|
|
129
|
+
C = A({}), m.value.title = g("common.add"), m.value.visible = !0, m.value.isCopy = !1;
|
|
130
130
|
}
|
|
131
131
|
function Z(t) {
|
|
132
|
-
|
|
132
|
+
C.reportId = t.reportId, m.value.isCopy = !1, m.value.title = g("common.edit"), m.value.visible = !0;
|
|
133
133
|
}
|
|
134
134
|
function ee(t) {
|
|
135
|
-
|
|
135
|
+
C.reportId = t.reportId, T.value.title = g("common.view"), T.value.visible = !0;
|
|
136
136
|
}
|
|
137
137
|
function te(t) {
|
|
138
|
-
|
|
138
|
+
C.reportId = t.reportId, m.value.isCopy = !0, m.value.title = g("reportDemandLedger.copy"), m.value.visible = !0;
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const $ = P(!1);
|
|
141
141
|
function oe() {
|
|
142
|
-
|
|
142
|
+
$.value = !1;
|
|
143
143
|
}
|
|
144
144
|
function le(t, o) {
|
|
145
145
|
L.downloadTemplate({
|
|
@@ -160,7 +160,7 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
160
160
|
matterSort: k.SUPPORT
|
|
161
161
|
};
|
|
162
162
|
p.importExcel(o).then(() => {
|
|
163
|
-
|
|
163
|
+
$.value = !1;
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
const ae = async (t) => {
|
|
@@ -253,7 +253,7 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
253
253
|
class: "w-full"
|
|
254
254
|
}, {
|
|
255
255
|
default: l(() => [
|
|
256
|
-
(i(!0), O(
|
|
256
|
+
(i(!0), O(Te, null, Ce(R.value, (e) => (i(), v(I, {
|
|
257
257
|
key: e.belongOrgId,
|
|
258
258
|
value: e.belongOrgId,
|
|
259
259
|
label: e.belongOrgName
|
|
@@ -401,14 +401,14 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
401
401
|
b((i(), v(D, {
|
|
402
402
|
plain: "",
|
|
403
403
|
type: "primary",
|
|
404
|
-
onClick: o[10] || (o[10] = (e) =>
|
|
404
|
+
onClick: o[10] || (o[10] = (e) => $.value = !0)
|
|
405
405
|
}, {
|
|
406
406
|
default: l(() => [
|
|
407
407
|
f(u(t.$t("common.import")), 1)
|
|
408
408
|
]),
|
|
409
409
|
_: 1
|
|
410
410
|
})), [
|
|
411
|
-
[w, ["reports:use_support
|
|
411
|
+
[w, ["reports:use_support:import"]]
|
|
412
412
|
]),
|
|
413
413
|
b((i(), v(D, {
|
|
414
414
|
plain: "",
|
|
@@ -420,11 +420,11 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
420
420
|
]),
|
|
421
421
|
_: 1
|
|
422
422
|
})), [
|
|
423
|
-
[w, ["reports:use_support
|
|
423
|
+
[w, ["reports:use_support:export"]]
|
|
424
424
|
]),
|
|
425
425
|
r(me, {
|
|
426
|
-
modelValue: a(
|
|
427
|
-
"onUpdate:modelValue": o[12] || (o[12] = (e) => K(
|
|
426
|
+
modelValue: a(V),
|
|
427
|
+
"onUpdate:modelValue": o[12] || (o[12] = (e) => K(V) ? V.value = e : V = e),
|
|
428
428
|
"label-name": "reports/report-third-party"
|
|
429
429
|
}, null, 8, ["modelValue"])
|
|
430
430
|
]),
|
|
@@ -452,7 +452,7 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
452
452
|
ref: J,
|
|
453
453
|
"row-key": "reportId",
|
|
454
454
|
data: a(G),
|
|
455
|
-
"table-label": a(
|
|
455
|
+
"table-label": a(V),
|
|
456
456
|
onSelectionChange: ne,
|
|
457
457
|
onSortChange: de
|
|
458
458
|
}, {
|
|
@@ -545,23 +545,23 @@ const ze = { class: "app-container" }, je = { class: "search-container" }, Me =
|
|
|
545
545
|
modelValue: m.value.visible,
|
|
546
546
|
"onUpdate:modelValue": o[17] || (o[17] = (e) => m.value.visible = e),
|
|
547
547
|
title: m.value.title,
|
|
548
|
-
"entity-key": a(
|
|
548
|
+
"entity-key": a(C),
|
|
549
549
|
"is-copy": m.value.isCopy,
|
|
550
550
|
onRefresh: q,
|
|
551
551
|
width: "900px"
|
|
552
552
|
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : y("", !0),
|
|
553
|
-
|
|
553
|
+
T.value.visible ? (i(), v(Ue, {
|
|
554
554
|
key: 1,
|
|
555
|
-
modelValue:
|
|
556
|
-
"onUpdate:modelValue": o[18] || (o[18] = (e) =>
|
|
557
|
-
title:
|
|
558
|
-
"entity-key": a(
|
|
555
|
+
modelValue: T.value.visible,
|
|
556
|
+
"onUpdate:modelValue": o[18] || (o[18] = (e) => T.value.visible = e),
|
|
557
|
+
title: T.value.title,
|
|
558
|
+
"entity-key": a(C),
|
|
559
559
|
onRefresh: q,
|
|
560
560
|
width: "900px"
|
|
561
561
|
}, null, 8, ["modelValue", "title", "entity-key"])) : y("", !0),
|
|
562
|
-
|
|
562
|
+
$.value ? (i(), v(Ne, {
|
|
563
563
|
key: 2,
|
|
564
|
-
"upload-visible":
|
|
564
|
+
"upload-visible": $.value,
|
|
565
565
|
"template-title": t.$t("reportThirdParty.templateDownloadUse"),
|
|
566
566
|
onTemplateDown: o[19] || (o[19] = (e) => le(a(g)("reportThirdParty.useName"), a(k).SUPPORT)),
|
|
567
567
|
onImportEvents: re,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as be, getCurrentInstance as _e, ref as
|
|
1
|
+
import { defineComponent as be, getCurrentInstance as _e, ref as $, watch as H, reactive as Y, onActivated as Ie, resolveComponent as d, resolveDirective as A, createElementBlock as _, openBlock as i, createElementVNode as O, 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 Ce, useTableHooks as ke } from "jmash-core";
|
|
3
3
|
import { useI18n as Oe } from "vue-i18n";
|
|
4
|
-
import { r as N } from "./index-
|
|
5
|
-
import Te from "./edit-
|
|
6
|
-
import
|
|
7
|
-
import { J as
|
|
8
|
-
import { C as R, B as
|
|
4
|
+
import { r as N } from "./index-DCGfxW17.mjs";
|
|
5
|
+
import Te from "./edit-DH3LIfKt.mjs";
|
|
6
|
+
import Ve from "./info-7AX615hL.mjs";
|
|
7
|
+
import { J as De } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
8
|
+
import { C as R, B as $e } from "./constant-CjJspmoU.mjs";
|
|
9
9
|
import { a as Pe, O as Be, D as E } from "./index-BQ2A9CZF.mjs";
|
|
10
10
|
const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue = { key: 0 }, Se = { key: 0 }, ze = ["onClick"], Ne = ["onClick"], Ee = ["onClick"], je = { class: "el-dropdown-link" }, Ge = /* @__PURE__ */ be({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(Qe) {
|
|
13
|
-
const { proxy: K } = _e(), P =
|
|
13
|
+
const { proxy: K } = _e(), P = $([]), f = Ce();
|
|
14
14
|
console.log(f.user.roleCodes, "=> userStore.user.roleCodes");
|
|
15
15
|
const U = new Pe({ orgType: R.OUTSOURCE });
|
|
16
16
|
U.useValues();
|
|
@@ -28,16 +28,16 @@ const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue =
|
|
|
28
28
|
o && o.length > 0 && (n.value.govOrgId || m.handleQuery());
|
|
29
29
|
},
|
|
30
30
|
{ immediate: !0 }
|
|
31
|
-
), f.user.roleCodes.includes("outsource") &&
|
|
31
|
+
), f.user.roleCodes.includes("outsource") && $e.findById({ userId: f.user.userId }).then((o) => {
|
|
32
32
|
const { data: t } = o;
|
|
33
|
-
N.findMyBelongOrgs({ likeServiceOrg: t.orgId }).then((
|
|
33
|
+
N.findMyBelongOrgs({ likeServiceOrg: t.orgId }).then((D) => {
|
|
34
34
|
const c = /* @__PURE__ */ new Map();
|
|
35
|
-
|
|
35
|
+
D.data.results.forEach((s) => {
|
|
36
36
|
c.has(s.belongOrgId) || c.set(s.belongOrgId, s);
|
|
37
37
|
}), P.value = Array.from(c.values());
|
|
38
38
|
});
|
|
39
39
|
}), E.itemBizLayDict.useValues();
|
|
40
|
-
const { t: y } = Oe(), n =
|
|
40
|
+
const { t: y } = Oe(), n = $({
|
|
41
41
|
matterSort: R.SECURITY
|
|
42
42
|
}), {
|
|
43
43
|
tableHooks: m,
|
|
@@ -47,7 +47,7 @@ const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue =
|
|
|
47
47
|
tableData: G,
|
|
48
48
|
total: B
|
|
49
49
|
} = ke(y, N, n);
|
|
50
|
-
let V =
|
|
50
|
+
let V = $([
|
|
51
51
|
{
|
|
52
52
|
label: "reportThirdParty.govOrgId",
|
|
53
53
|
prop: "govOrgId",
|
|
@@ -109,11 +109,11 @@ const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue =
|
|
|
109
109
|
isColumn: !0
|
|
110
110
|
}
|
|
111
111
|
]);
|
|
112
|
-
const u =
|
|
112
|
+
const u = $({
|
|
113
113
|
title: y("common.edit"),
|
|
114
114
|
visible: !1,
|
|
115
115
|
isCopy: !1
|
|
116
|
-
}), w =
|
|
116
|
+
}), w = $({
|
|
117
117
|
title: y("common.view"),
|
|
118
118
|
visible: !1
|
|
119
119
|
});
|
|
@@ -149,9 +149,9 @@ const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue =
|
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
console.log(t, "=>exportParams ");
|
|
152
|
-
const
|
|
152
|
+
const D = await N.exportPdf(
|
|
153
153
|
t
|
|
154
|
-
), c = new Blob([
|
|
154
|
+
), c = new Blob([D.data], { type: "application/pdf" }), s = window.URL.createObjectURL(c), b = document.createElement("a");
|
|
155
155
|
b.href = s, b.download = "安全服务记录表.pdf", document.body.appendChild(b), b.click(), document.body.removeChild(b), window.URL.revokeObjectURL(s);
|
|
156
156
|
} catch (t) {
|
|
157
157
|
throw console.error("导出PDF失败:", t), new Error("导出PDF失败");
|
|
@@ -163,7 +163,7 @@ const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue =
|
|
|
163
163
|
return Ie(() => {
|
|
164
164
|
m.getList();
|
|
165
165
|
}), (o, t) => {
|
|
166
|
-
const
|
|
166
|
+
const D = d("el-tree-select"), c = d("el-form-item"), s = d("el-col"), b = d("el-option"), ae = d("el-select"), Q = d("jmash-select"), ne = d("el-input"), L = d("el-button"), q = d("el-row"), de = d("el-form"), ie = d("jmash-column-select"), se = d("arrow-down"), ue = d("el-icon"), pe = d("el-dropdown-item"), me = d("el-dropdown-menu"), ce = d("el-dropdown"), ve = d("jmash-table"), ge = d("jmash-pagination"), fe = d("el-card"), k = A("hasPerm"), ye = A("loading");
|
|
167
167
|
return i(), _("div", Le, [
|
|
168
168
|
O("div", Re, [
|
|
169
169
|
r(de, {
|
|
@@ -185,7 +185,7 @@ const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue =
|
|
|
185
185
|
prop: "govOrgId"
|
|
186
186
|
}, {
|
|
187
187
|
default: l(() => [
|
|
188
|
-
r(
|
|
188
|
+
r(D, {
|
|
189
189
|
modelValue: n.value.govOrgId,
|
|
190
190
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.govOrgId = e),
|
|
191
191
|
placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
|
|
@@ -415,7 +415,7 @@ const Le = { class: "app-container" }, Re = { class: "search-container" }, Ue =
|
|
|
415
415
|
O("span", null, p(a(E).itemBizLayDict.getValue(e.data.row.itsmId)), 1)
|
|
416
416
|
]),
|
|
417
417
|
createBy: l((e) => [
|
|
418
|
-
e.data.row.createBy ? (i(), _("span", Ue, p(a(
|
|
418
|
+
e.data.row.createBy ? (i(), _("span", Ue, p(a(De).userInfo(e.data.row.createBy).realName), 1)) : I("", !0)
|
|
419
419
|
]),
|
|
420
420
|
createTime: l((e) => [
|
|
421
421
|
g(p(a(K).$moment.formatDate(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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 r, withKeys as M, Fragment as ue, renderList as me, createTextVNode as w, toDisplayString as c, withDirectives as D, isRef as E } from "vue";
|
|
2
2
|
import { useUserStoreHook as pe, useTableHooks as ce, fileApi as ge } from "jmash-core";
|
|
3
3
|
import { useI18n as fe } from "vue-i18n";
|
|
4
|
-
import { r as H } from "./index-
|
|
5
|
-
import ve from "./edit-
|
|
4
|
+
import { r as H } from "./index-DCGfxW17.mjs";
|
|
5
|
+
import ve from "./edit-ZxidNoBj.mjs";
|
|
6
6
|
import { J as ye } from "./index-ZZZJ5zVw-DMxMT-pR.mjs";
|
|
7
7
|
import { C as L, B as be } from "./constant-CjJspmoU.mjs";
|
|
8
8
|
import { a as he, O as Ie, D as U } from "./index-BQ2A9CZF.mjs";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as we, getCurrentInstance as Ie, ref as V, watch as F, reactive as A, onActivated as ke, resolveComponent as d, resolveDirective as H, createElementBlock as I, openBlock as i, createElementVNode as $, 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 Ve, useTableHooks as $e } 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
|
|
4
|
+
import { r as S } from "./index-DCGfxW17.mjs";
|
|
5
|
+
import De from "./edit-C0TKlPtF.mjs";
|
|
6
|
+
import Ee from "./info-CD8eUy09.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-Kfdb-r3Z.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__ */ we({
|
|
13
13
|
__name: "index",
|
|
14
14
|
setup(Ke) {
|
|
15
|
-
const { proxy: Y } = Ie(),
|
|
16
|
-
|
|
15
|
+
const { proxy: Y } = Ie(), h = Ve(), B = V([]);
|
|
16
|
+
h.user.roleCodes.includes("outsource") && Be.findById({ userId: h.user.userId }).then((t) => {
|
|
17
17
|
const { data: o } = t;
|
|
18
|
-
S.findMyBelongOrgs({ likeServiceOrg: o.orgId }).then((
|
|
18
|
+
S.findMyBelongOrgs({ likeServiceOrg: o.orgId }).then((_) => {
|
|
19
19
|
const p = /* @__PURE__ */ new Map();
|
|
20
|
-
|
|
20
|
+
_.data.results.forEach((s) => {
|
|
21
21
|
p.has(s.belongOrgId) || p.set(s.belongOrgId, s);
|
|
22
22
|
}), B.value = Array.from(p.values());
|
|
23
23
|
});
|
|
@@ -25,14 +25,14 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
25
25
|
const M = new Ue({ orgType: k.OUTSOURCE });
|
|
26
26
|
M.useValues();
|
|
27
27
|
const U = new Le({ orgType: k.HALL });
|
|
28
|
-
U.useValues(),
|
|
28
|
+
U.useValues(), h.user.roleCodes.includes("outsource") || F(
|
|
29
29
|
() => U.values,
|
|
30
30
|
(t) => {
|
|
31
31
|
t && t.length > 0 && (n.value.govOrgId || m.handleQuery());
|
|
32
32
|
},
|
|
33
33
|
{ immediate: !0, deep: !0 }
|
|
34
34
|
// 立即执行并深度监听
|
|
35
|
-
),
|
|
35
|
+
), h.user.roleCodes.includes("outsource") && F(
|
|
36
36
|
() => B.value,
|
|
37
37
|
(t) => {
|
|
38
38
|
t && t.length > 0 && (n.value.govOrgId || m.handleQuery());
|
|
@@ -157,8 +157,8 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
157
157
|
matterSort: k.METTER,
|
|
158
158
|
requestId: "",
|
|
159
159
|
updateMask: ""
|
|
160
|
-
}).then((
|
|
161
|
-
const p = new Blob([
|
|
160
|
+
}).then((_) => {
|
|
161
|
+
const p = new Blob([_.data], {
|
|
162
162
|
type: "application/octet-stream"
|
|
163
163
|
});
|
|
164
164
|
Se.saveAs(p, t + ".xlsx");
|
|
@@ -183,9 +183,9 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
console.log(o, "=>exportParams ");
|
|
186
|
-
const
|
|
186
|
+
const _ = await S.exportPdf(
|
|
187
187
|
o
|
|
188
|
-
), p = new Blob([
|
|
188
|
+
), p = new Blob([_.data], { type: "application/pdf" }), s = window.URL.createObjectURL(p), T = document.createElement("a");
|
|
189
189
|
T.href = s, T.download = "事项记录表.pdf", document.body.appendChild(T), T.click(), document.body.removeChild(T), window.URL.revokeObjectURL(s);
|
|
190
190
|
} catch (o) {
|
|
191
191
|
throw console.error("导出PDF失败:", o), new Error("导出PDF失败");
|
|
@@ -206,7 +206,7 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
206
206
|
return ke(() => {
|
|
207
207
|
m.getList();
|
|
208
208
|
}), (t, o) => {
|
|
209
|
-
const
|
|
209
|
+
const _ = d("el-tree-select"), p = d("el-form-item"), s = d("el-col"), T = d("el-option"), se = d("el-select"), N = d("jmash-select"), ue = d("el-input"), z = d("el-row"), E = d("el-button"), pe = d("el-form"), me = d("jmash-column-select"), ce = d("arrow-down"), ve = d("el-icon"), ye = d("el-dropdown-item"), fe = d("el-dropdown-menu"), ge = d("el-dropdown"), be = d("jmash-table"), he = d("jmash-pagination"), _e = d("el-card"), w = H("hasPerm"), Te = H("loading");
|
|
210
210
|
return i(), I("div", Ne, [
|
|
211
211
|
$("div", ze, [
|
|
212
212
|
r(pe, {
|
|
@@ -218,7 +218,7 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
218
218
|
default: l(() => [
|
|
219
219
|
r(z, null, {
|
|
220
220
|
default: l(() => [
|
|
221
|
-
a(
|
|
221
|
+
a(h).user.roleCodes.includes("customer_manager") || !a(h).user.roleCodes.includes("outsource") ? (i(), v(s, {
|
|
222
222
|
key: 0,
|
|
223
223
|
span: 6
|
|
224
224
|
}, {
|
|
@@ -228,7 +228,7 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
228
228
|
prop: "govOrgId"
|
|
229
229
|
}, {
|
|
230
230
|
default: l(() => [
|
|
231
|
-
r(
|
|
231
|
+
r(_, {
|
|
232
232
|
modelValue: n.value.govOrgId,
|
|
233
233
|
"onUpdate:modelValue": o[0] || (o[0] = (e) => n.value.govOrgId = e),
|
|
234
234
|
placeholder: t.$t("reportThirdParty.govOrgIdRequired"),
|
|
@@ -244,7 +244,7 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
244
244
|
]),
|
|
245
245
|
_: 1
|
|
246
246
|
})) : g("", !0),
|
|
247
|
-
a(
|
|
247
|
+
a(h).user.roleCodes.includes("outsource") ? (i(), v(s, {
|
|
248
248
|
key: 1,
|
|
249
249
|
span: 6
|
|
250
250
|
}, {
|
|
@@ -402,7 +402,7 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
402
402
|
_: 1
|
|
403
403
|
}, 8, ["model"])
|
|
404
404
|
]),
|
|
405
|
-
r(
|
|
405
|
+
r(_e, {
|
|
406
406
|
shadow: "never",
|
|
407
407
|
class: "table-container"
|
|
408
408
|
}, {
|
|
@@ -467,7 +467,7 @@ const Ne = { class: "app-container" }, ze = { class: "search-container" }, je =
|
|
|
467
467
|
})
|
|
468
468
|
]),
|
|
469
469
|
footer: l(() => [
|
|
470
|
-
a(L) > 0 ? (i(), v(
|
|
470
|
+
a(L) > 0 ? (i(), v(he, {
|
|
471
471
|
key: 0,
|
|
472
472
|
total: a(L),
|
|
473
473
|
"onUpdate:total": o[14] || (o[14] = (e) => K(L) ? L.value = e : null),
|