xyvcard-reports 0.0.15 → 0.0.16
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-CL-SAebW.mjs → FileSaver.min-D-XpK8dN.mjs} +1 -1
- package/dist/{add-Ck6Mstqq.mjs → add-D-GTMs59.mjs} +1 -1
- package/dist/{edit-1dBfGFLG.mjs → edit-BGJHdeF-.mjs} +1 -1
- package/dist/{edit-CnCNpPXH.mjs → edit-BXkjx09q.mjs} +1 -1
- package/dist/{edit-Cxu5S9I2.mjs → edit-CRBhura4.mjs} +1 -1
- package/dist/{edit-CjU44Pc-.mjs → edit-Cj8vfT97.mjs} +81 -80
- package/dist/{edit-By3LppHi.mjs → edit-DN4VR9EH.mjs} +2 -2
- package/dist/{edit-VAyV5jyj.mjs → edit-DfNNtA_Y.mjs} +1 -1
- package/dist/{follow-DFyEqZRL.mjs → follow-BWPHPShq.mjs} +25 -25
- package/dist/{index-I5lyVDaU.mjs → index-0HK4v-zw.mjs} +4 -4
- package/dist/{index-DLXB6nQL.mjs → index-BVvItECt.mjs} +1 -1
- package/dist/{index-DMr3daTn.mjs → index-BsgbV_kN.mjs} +3 -3
- package/dist/{index-B1mhNx-A.mjs → index-DVgTXjhf.mjs} +6 -2
- package/dist/{index-HF8kUbc7.mjs → index-DihQZysJ.mjs} +2 -2
- package/dist/{index-BUAbdBPN.mjs → index-DynaQWK6.mjs} +4 -3
- package/dist/{index-BEbsIkhz.mjs → index-Tm9DaVkt.mjs} +4 -4
- package/dist/{index-BxQOg919.mjs → index-UV12Y0tN.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BetavdIP.mjs → index.vue_vue_type_script_setup_true_lang-uAIOI_hD.mjs} +2 -2
- package/dist/{info-Pawz2o8n.mjs → info-Bj9LArix.mjs} +1 -1
- package/dist/{info-B3UnGBuH.mjs → info-BvVJy6JU.mjs} +1 -1
- package/dist/{info-BxxlZfhZ.mjs → info-C_dwjuqn.mjs} +1 -1
- package/dist/{info-CFuD0vMM.mjs → info-DmW9NbdR.mjs} +1 -1
- package/dist/info-MVpT14ZM.mjs +103 -0
- package/dist/{info-2880jVCu.mjs → info-eBWur-7I.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DfP1lzx-.mjs → info.vue_vue_type_script_setup_true_lang-Dh9n_Fag.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DpDsaNi1.mjs → info.vue_vue_type_script_setup_true_lang-Dj-7Xlss.mjs} +36 -36
- package/dist/{info.vue_vue_type_script_setup_true_lang-EwCkskoz.mjs → info.vue_vue_type_script_setup_true_lang-DqeUrg6D.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-40oTaelS.mjs → info.vue_vue_type_script_setup_true_lang-DtVN-NPH.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/src/lang/reports/zh-cn.d.ts +4 -0
- package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/info-BEDz9VXf.mjs +0 -103
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, mergeModels as q, ref as M, reactive as y, useModel as S, resolveComponent as s, createBlock as D, openBlock as R, withCtx as e, createVNode as t, unref as p, createElementVNode as B, createTextVNode as g, toDisplayString as T } from "vue";
|
|
2
2
|
import { ElMessage as E } from "element-plus";
|
|
3
|
-
import { t as F } from "./index-
|
|
3
|
+
import { t as F } from "./index-DVgTXjhf.mjs";
|
|
4
4
|
import { useI18n as U } from "vue-i18n";
|
|
5
5
|
import { D as j } from "./index-D2NdiwKN.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-DVgTXjhf.mjs";
|
|
6
6
|
import { useUserStoreHook as se } from "jmash-core";
|
|
7
7
|
import { C as ne, J as ie, $ as ue, H as me } from "./constant-BgsRBKZs.mjs";
|
|
8
8
|
import "./index-DQ9bz2at.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as B, mergeModels as M, ref as g, reactive as h, useModel as F, resolveComponent as d, createBlock as K, openBlock as N, withCtx as a, createVNode as e, unref as r, createElementVNode as O, createTextVNode as w, toDisplayString as $ } from "vue";
|
|
2
2
|
import { ElMessage as D } from "element-plus";
|
|
3
3
|
import { useI18n as T } from "vue-i18n";
|
|
4
|
-
import { a as c } from "./index-
|
|
4
|
+
import { a as c } from "./index-DVgTXjhf.mjs";
|
|
5
5
|
import { useRoute as A } from "vue-router";
|
|
6
6
|
import { D as L } from "./index-D2NdiwKN.mjs";
|
|
7
7
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ae, mergeModels as E, ref as g, reactive as L, compu
|
|
|
2
2
|
import { ElMessage as S } 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 I } from "./index-
|
|
5
|
+
import { r as I } from "./index-DVgTXjhf.mjs";
|
|
6
6
|
import { useUserStoreHook as pe } from "jmash-core";
|
|
7
7
|
import { D as me } from "./index-D2NdiwKN.mjs";
|
|
8
8
|
import { r as fe } from "./index-ISkSSB59.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as se, mergeModels as A, ref as y, reactive as K, computed as de, useModel as ne, resolveComponent as u, createElementBlock as v, openBlock as f, Fragment as
|
|
2
|
-
import { ElMessage as
|
|
1
|
+
import { defineComponent as se, mergeModels as A, ref as y, reactive as K, computed as de, useModel as ne, resolveComponent as u, createElementBlock as v, openBlock as f, Fragment as h, createVNode as t, withCtx as a, unref as n, renderList as V, createBlock as F, createTextVNode as C, toDisplayString as P, createElementVNode as ie } from "vue";
|
|
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
|
|
5
|
+
import { r as b } from "./index-DVgTXjhf.mjs";
|
|
6
6
|
import { useUserStoreHook as me } from "jmash-core";
|
|
7
7
|
import { r as fe } from "./index-ISkSSB59.mjs";
|
|
8
8
|
import { C as H, J, $ as ce, H as ge } from "./constant-BgsRBKZs.mjs";
|
|
@@ -24,30 +24,31 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
24
24
|
modelModifiers: {}
|
|
25
25
|
}),
|
|
26
26
|
emits: /* @__PURE__ */ A(["refresh"], ["update:modelValue"]),
|
|
27
|
-
setup(
|
|
28
|
-
const { t: c } = ue(),
|
|
27
|
+
setup(N, { emit: z }) {
|
|
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
32
|
matterSort: H.SECURITY,
|
|
33
33
|
files: []
|
|
34
34
|
});
|
|
35
|
-
const
|
|
35
|
+
const $ = de(() => q.value);
|
|
36
|
+
console.log($.value, "=> filteredItemOptions");
|
|
36
37
|
function U(e) {
|
|
37
|
-
e ? J.findById({ userId:
|
|
38
|
-
const { data:
|
|
39
|
-
|
|
38
|
+
e ? J.findById({ userId: T.user.userId }).then((l) => {
|
|
39
|
+
const { data: o } = l;
|
|
40
|
+
b.findMyProjects({
|
|
40
41
|
belongOrgId: e,
|
|
41
|
-
likeServiceOrg:
|
|
42
|
+
likeServiceOrg: o.orgId,
|
|
42
43
|
applyStatus: H.FINISHED
|
|
43
44
|
}).then((i) => {
|
|
44
|
-
const d = i.data.itsmId,
|
|
45
|
-
(m) => ge.findById({ itemId: m }).then((
|
|
45
|
+
const d = i.data.itsmId, k = [...new Set(d)].map(
|
|
46
|
+
(m) => ge.findById({ itemId: m }).then((B) => ({
|
|
46
47
|
key: m,
|
|
47
|
-
value:
|
|
48
|
+
value: B.data.name
|
|
48
49
|
}))
|
|
49
50
|
);
|
|
50
|
-
Promise.all(
|
|
51
|
+
Promise.all(k).then((m) => {
|
|
51
52
|
q.value = m, console.log(m, "=> 项目数据");
|
|
52
53
|
});
|
|
53
54
|
});
|
|
@@ -56,21 +57,21 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
56
57
|
function Y(e) {
|
|
57
58
|
s.itsmId = void 0, U(e);
|
|
58
59
|
}
|
|
59
|
-
J.findById({ userId:
|
|
60
|
+
J.findById({ userId: T.user.userId }).then((e) => {
|
|
60
61
|
const { data: l } = e;
|
|
61
|
-
|
|
62
|
+
b.findMyBelongOrgs({ likeServiceOrg: l.orgId }).then((o) => {
|
|
62
63
|
const i = /* @__PURE__ */ new Map();
|
|
63
|
-
|
|
64
|
+
o.data.results.forEach((d) => {
|
|
64
65
|
i.has(d.belongOrgId) || i.set(d.belongOrgId, d);
|
|
65
|
-
}),
|
|
66
|
-
}), ce.findById({ orgId: l.orgId }).then((
|
|
67
|
-
const { data: i } =
|
|
68
|
-
|
|
66
|
+
}), O.value = Array.from(i.values()), console.log(O.value, "=> 获取govOrgId列表");
|
|
67
|
+
}), ce.findById({ orgId: l.orgId }).then((o) => {
|
|
68
|
+
const { data: i } = o;
|
|
69
|
+
_.value = [
|
|
69
70
|
{
|
|
70
71
|
key: i.orgId,
|
|
71
72
|
value: i.orgName
|
|
72
73
|
}
|
|
73
|
-
];
|
|
74
|
+
], console.log(_.value, "=> outOrgIdList");
|
|
74
75
|
});
|
|
75
76
|
});
|
|
76
77
|
const G = K({
|
|
@@ -102,17 +103,17 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
102
103
|
trigger: "change"
|
|
103
104
|
}
|
|
104
105
|
]
|
|
105
|
-
}),
|
|
106
|
+
}), S = y(!1), L = y();
|
|
106
107
|
function Q() {
|
|
107
|
-
|
|
108
|
+
S.value = !0, L.value.clearFileList();
|
|
108
109
|
}
|
|
109
110
|
function W(e) {
|
|
110
|
-
var
|
|
111
|
+
var o;
|
|
111
112
|
const l = {
|
|
112
113
|
fileName: e.name,
|
|
113
114
|
fileId: e.response.fileId
|
|
114
115
|
};
|
|
115
|
-
(
|
|
116
|
+
(o = s.files) == null || o.push(l), s.files = [...new Set(s.files)];
|
|
116
117
|
}
|
|
117
118
|
function X(e) {
|
|
118
119
|
var l;
|
|
@@ -121,37 +122,37 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
121
122
|
function Z() {
|
|
122
123
|
fe.findList({ actionId: I.entityKey.reportId }).then(({ data: e }) => {
|
|
123
124
|
e.results && Array.isArray(e.results) && (s.files = e.results.map((l) => {
|
|
124
|
-
let
|
|
125
|
-
return l.fileName && (
|
|
125
|
+
let o = "";
|
|
126
|
+
return l.fileName && (o = l.fileSort || l.type || ""), {
|
|
126
127
|
fileName: l.fileName || "",
|
|
127
128
|
fileId: l.fileId || "",
|
|
128
|
-
fileSort:
|
|
129
|
+
fileSort: o
|
|
129
130
|
};
|
|
130
131
|
}));
|
|
131
132
|
});
|
|
132
133
|
}
|
|
133
|
-
const p = ne(
|
|
134
|
-
|
|
134
|
+
const p = ne(N, "modelValue"), I = N, w = z, x = Object.keys(I.entityKey), D = y(x.length >= 1);
|
|
135
|
+
D.value && b.findById(I.entityKey).then(({ data: e }) => {
|
|
135
136
|
Object.assign(s, e), Z(), s.govOrgId && U(s.govOrgId);
|
|
136
137
|
});
|
|
137
138
|
const ee = async () => {
|
|
138
139
|
var e;
|
|
139
|
-
await ((e =
|
|
140
|
-
l && (
|
|
141
|
-
console.log(
|
|
140
|
+
await ((e = M.value) == null ? void 0 : e.validate((l) => {
|
|
141
|
+
l && (D.value && I.entityKey.reportId && !I.isCopy ? b.update(s).then((o) => {
|
|
142
|
+
console.log(o), o.status === 200 && (R({
|
|
142
143
|
message: c("common.submitSuccess"),
|
|
143
144
|
type: "success"
|
|
144
|
-
}), p.value && (p.value = !1),
|
|
145
|
-
}) : I.isCopy ?
|
|
146
|
-
|
|
145
|
+
}), p.value && (p.value = !1), w("refresh", o.status === 200));
|
|
146
|
+
}) : I.isCopy ? b.create(s).then((o) => {
|
|
147
|
+
o.status === 200 && (R({
|
|
147
148
|
message: c("common.submitSuccess"),
|
|
148
149
|
type: "success"
|
|
149
|
-
}), p.value = !1,
|
|
150
|
-
}) :
|
|
151
|
-
console.log(
|
|
150
|
+
}), p.value = !1, w("refresh", !0));
|
|
151
|
+
}) : b.create(s).then((o) => {
|
|
152
|
+
console.log(o), o.status === 200 && (R({
|
|
152
153
|
message: c("common.submitSuccess"),
|
|
153
154
|
type: "success"
|
|
154
|
-
}), p.value && (p.value = !1),
|
|
155
|
+
}), p.value && (p.value = !1), w("refresh", o.status === 200));
|
|
155
156
|
}));
|
|
156
157
|
}));
|
|
157
158
|
};
|
|
@@ -159,18 +160,18 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
159
160
|
p.value && (p.value = !1);
|
|
160
161
|
}
|
|
161
162
|
return (e, l) => {
|
|
162
|
-
const
|
|
163
|
-
return f(), v(
|
|
164
|
-
t(
|
|
163
|
+
const o = u("el-option"), i = u("el-select"), d = u("el-form-item"), g = u("el-col"), k = u("el-input"), m = u("el-button"), B = u("CircleClose"), le = u("el-icon"), te = u("el-row"), oe = u("el-form"), re = u("el-dialog"), ae = u("jmash-multi-upload");
|
|
164
|
+
return f(), v(h, null, [
|
|
165
|
+
t(re, {
|
|
165
166
|
modelValue: p.value,
|
|
166
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
167
|
+
"onUpdate:modelValue": l[4] || (l[4] = (r) => p.value = r),
|
|
167
168
|
onClose: j
|
|
168
169
|
}, {
|
|
169
170
|
footer: a(() => [
|
|
170
171
|
ie("div", Ie, [
|
|
171
172
|
t(m, { onClick: j }, {
|
|
172
173
|
default: a(() => [
|
|
173
|
-
|
|
174
|
+
C(P(e.$t("common.cancel")), 1)
|
|
174
175
|
]),
|
|
175
176
|
_: 1
|
|
176
177
|
}),
|
|
@@ -179,16 +180,16 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
179
180
|
onClick: ee
|
|
180
181
|
}, {
|
|
181
182
|
default: a(() => [
|
|
182
|
-
|
|
183
|
+
C(P(e.$t("common.confirm")), 1)
|
|
183
184
|
]),
|
|
184
185
|
_: 1
|
|
185
186
|
})
|
|
186
187
|
])
|
|
187
188
|
]),
|
|
188
189
|
default: a(() => [
|
|
189
|
-
t(
|
|
190
|
+
t(oe, {
|
|
190
191
|
ref_key: "reportThirdPartyFormRef",
|
|
191
|
-
ref:
|
|
192
|
+
ref: M,
|
|
192
193
|
model: n(s),
|
|
193
194
|
"label-width": "120px",
|
|
194
195
|
rules: G
|
|
@@ -205,19 +206,19 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
205
206
|
default: a(() => [
|
|
206
207
|
t(i, {
|
|
207
208
|
modelValue: n(s).govOrgId,
|
|
208
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
209
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => n(s).govOrgId = r),
|
|
209
210
|
placeholder: e.$t("reportThirdParty.govOrgIdRequired"),
|
|
210
|
-
data:
|
|
211
|
+
data: O.value,
|
|
211
212
|
clearable: "",
|
|
212
213
|
filterable: "",
|
|
213
214
|
class: "w-full",
|
|
214
215
|
onChange: Y
|
|
215
216
|
}, {
|
|
216
217
|
default: a(() => [
|
|
217
|
-
(f(!0), v(
|
|
218
|
-
key:
|
|
219
|
-
value:
|
|
220
|
-
label:
|
|
218
|
+
(f(!0), v(h, null, V(O.value, (r) => (f(), F(o, {
|
|
219
|
+
key: r.belongOrgId,
|
|
220
|
+
value: r.belongOrgId,
|
|
221
|
+
label: r.belongOrgName
|
|
221
222
|
}, null, 8, ["value", "label"]))), 128))
|
|
222
223
|
]),
|
|
223
224
|
_: 1
|
|
@@ -237,18 +238,18 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
237
238
|
default: a(() => [
|
|
238
239
|
t(i, {
|
|
239
240
|
modelValue: n(s).itsmId,
|
|
240
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
241
|
+
"onUpdate:modelValue": l[1] || (l[1] = (r) => n(s).itsmId = r),
|
|
241
242
|
placeholder: e.$t("reportThirdParty.itemIdRequired"),
|
|
242
|
-
data:
|
|
243
|
+
data: $.value,
|
|
243
244
|
clearable: "",
|
|
244
245
|
filterable: "",
|
|
245
246
|
disabled: !n(s).govOrgId
|
|
246
247
|
}, {
|
|
247
248
|
default: a(() => [
|
|
248
|
-
(f(!0), v(
|
|
249
|
-
key:
|
|
250
|
-
value:
|
|
251
|
-
label:
|
|
249
|
+
(f(!0), v(h, null, V($.value, (r) => (f(), F(o, {
|
|
250
|
+
key: r.key,
|
|
251
|
+
value: r.key,
|
|
252
|
+
label: r.value
|
|
252
253
|
}, null, 8, ["value", "label"]))), 128))
|
|
253
254
|
]),
|
|
254
255
|
_: 1
|
|
@@ -268,18 +269,18 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
268
269
|
default: a(() => [
|
|
269
270
|
t(i, {
|
|
270
271
|
modelValue: n(s).outOrgId,
|
|
271
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
272
|
+
"onUpdate:modelValue": l[2] || (l[2] = (r) => n(s).outOrgId = r),
|
|
272
273
|
placeholder: e.$t("reportThirdParty.outOrgIdRequired"),
|
|
273
|
-
data:
|
|
274
|
+
data: _.value,
|
|
274
275
|
clearable: "",
|
|
275
276
|
filterable: "",
|
|
276
277
|
class: "w-full"
|
|
277
278
|
}, {
|
|
278
279
|
default: a(() => [
|
|
279
|
-
(f(!0), v(
|
|
280
|
-
key:
|
|
281
|
-
value:
|
|
282
|
-
label:
|
|
280
|
+
(f(!0), v(h, null, V(_.value, (r) => (f(), F(o, {
|
|
281
|
+
key: r.key,
|
|
282
|
+
value: r.key,
|
|
283
|
+
label: r.value
|
|
283
284
|
}, null, 8, ["value", "label"]))), 128))
|
|
284
285
|
]),
|
|
285
286
|
_: 1
|
|
@@ -297,8 +298,8 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
297
298
|
prop: "createBy"
|
|
298
299
|
}, {
|
|
299
300
|
default: a(() => [
|
|
300
|
-
t(
|
|
301
|
-
value: n(
|
|
301
|
+
t(k, {
|
|
302
|
+
value: n(T).user.realName,
|
|
302
303
|
placeholder: e.$t("reportThirdParty.createBy"),
|
|
303
304
|
maxlength: "8",
|
|
304
305
|
"show-word-limit": "",
|
|
@@ -318,9 +319,9 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
318
319
|
prop: "describe"
|
|
319
320
|
}, {
|
|
320
321
|
default: a(() => [
|
|
321
|
-
t(
|
|
322
|
+
t(k, {
|
|
322
323
|
modelValue: n(s).describe,
|
|
323
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
324
|
+
"onUpdate:modelValue": l[3] || (l[3] = (r) => n(s).describe = r),
|
|
324
325
|
placeholder: e.$t("reportThirdParty.likeDescribeRequired"),
|
|
325
326
|
type: "textarea",
|
|
326
327
|
"show-word-limit": "",
|
|
@@ -345,7 +346,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
345
346
|
onClick: Q
|
|
346
347
|
}, {
|
|
347
348
|
default: a(() => [
|
|
348
|
-
|
|
349
|
+
C(P(e.$t("common.uploadFiles")), 1)
|
|
349
350
|
]),
|
|
350
351
|
_: 1
|
|
351
352
|
}, 8, ["icon"])
|
|
@@ -354,18 +355,18 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
354
355
|
}, 8, ["label"]),
|
|
355
356
|
t(d, null, {
|
|
356
357
|
default: a(() => [
|
|
357
|
-
(f(!0), v(
|
|
358
|
+
(f(!0), v(h, null, V(n(s).files, (r, E) => (f(), v("div", {
|
|
358
359
|
key: E,
|
|
359
360
|
class: "files-list"
|
|
360
361
|
}, [
|
|
361
|
-
|
|
362
|
+
C(P(r.fileName) + " ", 1),
|
|
362
363
|
t(le, {
|
|
363
364
|
size: "16",
|
|
364
365
|
class: "icon-right",
|
|
365
|
-
onClick: (
|
|
366
|
+
onClick: (be) => X(E)
|
|
366
367
|
}, {
|
|
367
368
|
default: a(() => [
|
|
368
|
-
t(
|
|
369
|
+
t(B)
|
|
369
370
|
]),
|
|
370
371
|
_: 2
|
|
371
372
|
}, 1032, ["onClick"])
|
|
@@ -387,15 +388,15 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
387
388
|
}, 8, ["modelValue"]),
|
|
388
389
|
t(ae, {
|
|
389
390
|
ref_key: "uploadRef",
|
|
390
|
-
ref:
|
|
391
|
-
modelValue:
|
|
392
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
391
|
+
ref: L,
|
|
392
|
+
modelValue: S.value,
|
|
393
|
+
"onUpdate:modelValue": l[5] || (l[5] = (r) => S.value = r),
|
|
393
394
|
onUploadFileList: W
|
|
394
395
|
}, null, 8, ["modelValue"])
|
|
395
396
|
], 64);
|
|
396
397
|
};
|
|
397
398
|
}
|
|
398
|
-
}), $e = /* @__PURE__ */ ye(ve, [["__scopeId", "data-v-
|
|
399
|
+
}), $e = /* @__PURE__ */ ye(ve, [["__scopeId", "data-v-80190be5"]]);
|
|
399
400
|
export {
|
|
400
401
|
$e as default
|
|
401
402
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getCurrentInstance as F, inject as V, ref as S, computed as d, unref as l, readonly as It, getCurrentScope as Nt, onScopeDispose as Pt, onMounted as ge, nextTick as qe, watch as ae, isRef as $t, warn as Et, provide as xt, defineComponent as x, createElementBlock as G, openBlock as $, mergeProps as jt, renderSlot as Z, normalizeClass as E, createVNode as y, Transition as Je, withCtx as _, withDirectives as Qe, createElementVNode as te, normalizeStyle as We, createTextVNode as Ye, toDisplayString as ye, vShow as Xe, shallowReactive as et, createBlock as U, createCommentVNode as X, resolveDynamicComponent as kt, Fragment as zt, withModifiers as Dt, isVNode as tt, render as Ie, reactive as Ne, resolveComponent as P } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useRoute as Mt, useRouter as At } from "vue-router";
|
|
4
|
-
import { _ as Vt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as Vt } from "./index.vue_vue_type_script_setup_true_lang-uAIOI_hD.mjs";
|
|
5
5
|
import { useI18n as Ft } from "vue-i18n";
|
|
6
|
-
import { t as Pe } from "./index-
|
|
6
|
+
import { t as Pe } from "./index-DVgTXjhf.mjs";
|
|
7
7
|
import { D as $e } from "./index-D2NdiwKN.mjs";
|
|
8
8
|
import { routerUtil as Bt } from "jmash-core";
|
|
9
9
|
import { i as Ee, c as Lt, w as Rt, s as Kt, a as Ut } from "./index-CJ1aT1h5.mjs";
|
|
@@ -2,7 +2,7 @@ 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-DVgTXjhf.mjs";
|
|
6
6
|
import { useUserStoreHook as ne } from "jmash-core";
|
|
7
7
|
import "./index-D2NdiwKN.mjs";
|
|
8
8
|
import { r as pe } from "./index-ISkSSB59.mjs";
|
|
@@ -30,14 +30,14 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
30
30
|
modelModifiers: {}
|
|
31
31
|
}),
|
|
32
32
|
emits: /* @__PURE__ */ v(["refresh"], ["update:modelValue"]),
|
|
33
|
-
setup(g, { emit:
|
|
33
|
+
setup(g, { emit: $ }) {
|
|
34
34
|
c.orgIdBizDict.useValues(), c.itemBizLayDict.useValues();
|
|
35
35
|
const { t: f } = A(), D = I();
|
|
36
36
|
let n = L({
|
|
37
37
|
requestId: Math.random() * 10 + "",
|
|
38
38
|
traceDate: (/* @__PURE__ */ new Date()).toISOString().split("T")[0]
|
|
39
39
|
});
|
|
40
|
-
const
|
|
40
|
+
const k = L({
|
|
41
41
|
traceDate: [
|
|
42
42
|
{
|
|
43
43
|
required: !0,
|
|
@@ -59,14 +59,14 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
59
59
|
trigger: "change"
|
|
60
60
|
}
|
|
61
61
|
]
|
|
62
|
-
}), s = U(g, "modelValue"), m = g, q =
|
|
62
|
+
}), s = U(g, "modelValue"), m = g, q = $, R = Object.keys(m.entityKey), _ = I(R.length >= 1);
|
|
63
63
|
_.value && E.findById({ ledgerId: m.entityKey.ledgerId }).then(({ data: t }) => {
|
|
64
64
|
Object.assign(n, t);
|
|
65
65
|
});
|
|
66
|
-
const
|
|
66
|
+
const O = async () => {
|
|
67
67
|
var t;
|
|
68
|
-
await ((t = D.value) == null ? void 0 : t.validate((
|
|
69
|
-
|
|
68
|
+
await ((t = D.value) == null ? void 0 : t.validate((a) => {
|
|
69
|
+
a && _.value && T.create(n).then((u) => {
|
|
70
70
|
console.log(u), u.status === 200 && (N({
|
|
71
71
|
message: f("common.submitSuccess"),
|
|
72
72
|
type: "success"
|
|
@@ -74,19 +74,19 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
74
74
|
});
|
|
75
75
|
}));
|
|
76
76
|
};
|
|
77
|
-
function
|
|
77
|
+
function b() {
|
|
78
78
|
s.value && (s.value = !1);
|
|
79
79
|
}
|
|
80
|
-
return (t,
|
|
81
|
-
const u = r("jmash-select"), i = r("el-form-item"), p = r("el-col"),
|
|
80
|
+
return (t, a) => {
|
|
81
|
+
const u = r("jmash-select"), i = r("el-form-item"), p = r("el-col"), V = r("el-input"), C = r("jmash-enum-radio"), M = r("el-date-picker"), B = r("el-row"), Y = r("el-form"), y = r("el-button"), j = r("el-dialog");
|
|
82
82
|
return F(), z(j, {
|
|
83
83
|
modelValue: s.value,
|
|
84
|
-
"onUpdate:modelValue":
|
|
85
|
-
onClose:
|
|
84
|
+
"onUpdate:modelValue": a[6] || (a[6] = (o) => s.value = o),
|
|
85
|
+
onClose: b
|
|
86
86
|
}, {
|
|
87
87
|
footer: l(() => [
|
|
88
88
|
K("div", H, [
|
|
89
|
-
e(y, { onClick:
|
|
89
|
+
e(y, { onClick: b }, {
|
|
90
90
|
default: l(() => [
|
|
91
91
|
w(h(t.$t("common.cancel")), 1)
|
|
92
92
|
]),
|
|
@@ -94,7 +94,7 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
94
94
|
}),
|
|
95
95
|
e(y, {
|
|
96
96
|
type: "primary",
|
|
97
|
-
onClick:
|
|
97
|
+
onClick: O
|
|
98
98
|
}, {
|
|
99
99
|
default: l(() => [
|
|
100
100
|
w(h(t.$t("common.confirm")), 1)
|
|
@@ -109,7 +109,7 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
109
109
|
ref: D,
|
|
110
110
|
model: d(n),
|
|
111
111
|
"label-width": "120px",
|
|
112
|
-
rules:
|
|
112
|
+
rules: k
|
|
113
113
|
}, {
|
|
114
114
|
default: l(() => [
|
|
115
115
|
e(B, null, {
|
|
@@ -123,7 +123,7 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
123
123
|
default: l(() => [
|
|
124
124
|
e(u, {
|
|
125
125
|
modelValue: m.govOrgId,
|
|
126
|
-
"onUpdate:modelValue":
|
|
126
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => m.govOrgId = o),
|
|
127
127
|
placeholder: t.$t("reportDemandLedger.govOrgIdRequired"),
|
|
128
128
|
data: d(c).orgIdBizDict.values,
|
|
129
129
|
clearable: "",
|
|
@@ -146,7 +146,7 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
146
146
|
default: l(() => [
|
|
147
147
|
e(u, {
|
|
148
148
|
modelValue: m.itemId,
|
|
149
|
-
"onUpdate:modelValue":
|
|
149
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => m.itemId = o),
|
|
150
150
|
placeholder: t.$t("reportDemandLedger.itemIdRequired"),
|
|
151
151
|
data: d(c).itemBizLayDict.values,
|
|
152
152
|
clearable: "",
|
|
@@ -163,13 +163,13 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
163
163
|
e(p, { span: 24 }, {
|
|
164
164
|
default: l(() => [
|
|
165
165
|
e(i, {
|
|
166
|
-
label: t.$t("reportDemandLedger.
|
|
166
|
+
label: t.$t("reportDemandLedger.ledgerId"),
|
|
167
167
|
prop: "content"
|
|
168
168
|
}, {
|
|
169
169
|
default: l(() => [
|
|
170
|
-
e(
|
|
170
|
+
e(V, {
|
|
171
171
|
modelValue: m.content,
|
|
172
|
-
"onUpdate:modelValue":
|
|
172
|
+
"onUpdate:modelValue": a[2] || (a[2] = (o) => m.content = o),
|
|
173
173
|
placeholder: t.$t("reportDemandLedger.likeContentRequired"),
|
|
174
174
|
type: "textarea",
|
|
175
175
|
"show-word-limit": "",
|
|
@@ -189,9 +189,9 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
189
189
|
prop: "state"
|
|
190
190
|
}, {
|
|
191
191
|
default: l(() => [
|
|
192
|
-
e(
|
|
192
|
+
e(C, {
|
|
193
193
|
modelValue: d(n).state,
|
|
194
|
-
"onUpdate:modelValue":
|
|
194
|
+
"onUpdate:modelValue": a[3] || (a[3] = (o) => d(n).state = o),
|
|
195
195
|
data: d(c).stateDict.values
|
|
196
196
|
}, null, 8, ["modelValue", "data"])
|
|
197
197
|
]),
|
|
@@ -209,7 +209,7 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
209
209
|
default: l(() => [
|
|
210
210
|
e(M, {
|
|
211
211
|
modelValue: d(n).traceDate,
|
|
212
|
-
"onUpdate:modelValue":
|
|
212
|
+
"onUpdate:modelValue": a[4] || (a[4] = (o) => d(n).traceDate = o),
|
|
213
213
|
type: "date",
|
|
214
214
|
placeholder: t.$t("reportDemandLedger.demandDateRequired"),
|
|
215
215
|
format: "YYYY-MM-DD",
|
|
@@ -229,9 +229,9 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
229
229
|
prop: "content"
|
|
230
230
|
}, {
|
|
231
231
|
default: l(() => [
|
|
232
|
-
e(
|
|
232
|
+
e(V, {
|
|
233
233
|
modelValue: d(n).content,
|
|
234
|
-
"onUpdate:modelValue":
|
|
234
|
+
"onUpdate:modelValue": a[5] || (a[5] = (o) => d(n).content = o),
|
|
235
235
|
placeholder: t.$t("reportDemandLedger.likeContentRequired"),
|
|
236
236
|
type: "textarea",
|
|
237
237
|
"show-word-limit": "",
|
|
@@ -255,7 +255,7 @@ const H = { class: "dialog-footer" }, J = /* @__PURE__ */ S({
|
|
|
255
255
|
}, 8, ["modelValue"]);
|
|
256
256
|
};
|
|
257
257
|
}
|
|
258
|
-
}), te = /* @__PURE__ */ G(J, [["__scopeId", "data-v-
|
|
258
|
+
}), te = /* @__PURE__ */ G(J, [["__scopeId", "data-v-0b33f689"]]);
|
|
259
259
|
export {
|
|
260
260
|
te as default
|
|
261
261
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as ie, getCurrentInstance as de, ref as O, reactive as j, onActivated as se, resolveComponent as u, resolveDirective as pe, createElementBlock as I, openBlock as n, createElementVNode as U, createVNode as r, createBlock as f, createCommentVNode as T, withCtx as l, withKeys as z, unref as a, createTextVNode as m, toDisplayString as i, withDirectives as b, isRef as F } from "vue";
|
|
2
2
|
import { useTableHooks as ue } from "jmash-core";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
|
-
import { r as E } from "./index-
|
|
5
|
-
import ce from "./edit-
|
|
6
|
-
import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { r as E } from "./index-DVgTXjhf.mjs";
|
|
5
|
+
import ce from "./edit-DfNNtA_Y.mjs";
|
|
6
|
+
import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-DtVN-NPH.mjs";
|
|
7
7
|
import { b as ye } from "./index-B_hFZVhb-C3Oi__-I.mjs";
|
|
8
8
|
import { C as R } from "./constant-BgsRBKZs.mjs";
|
|
9
9
|
import { O as fe, D as $ } from "./index-D2NdiwKN.mjs";
|
|
10
|
-
import { F as be } from "./FileSaver.min-
|
|
10
|
+
import { F as be } from "./FileSaver.min-D-XpK8dN.mjs";
|
|
11
11
|
import ge from "./import-upload-BUHcaEH2.mjs";
|
|
12
12
|
const he = { class: "app-container" }, we = { class: "search-container" }, Ie = { key: 0 }, _e = { key: 0 }, ke = ["onClick"], Ce = ["onClick"], Te = ["onClick"], $e = ["onClick"], je = /* @__PURE__ */ ie({
|
|
13
13
|
__name: "index",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as le, getCurrentInstance as re, ref as O, reactive as N, onActivated as ae, resolveComponent as p, resolveDirective as ne, createElementBlock as g, openBlock as s, createElementVNode as P, createVNode as a, createBlock as _, createCommentVNode as D, withCtx as l, withKeys as U, unref as r, createTextVNode as m, toDisplayString as d, withDirectives as h, isRef as j } from "vue";
|
|
2
2
|
import { useTableHooks as ie } from "jmash-core";
|
|
3
3
|
import { useI18n as de } from "vue-i18n";
|
|
4
|
-
import { r as E } from "./index-
|
|
5
|
-
import se from "./edit-
|
|
6
|
-
import { _ as ue } from "./info.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { r as E } from "./index-DVgTXjhf.mjs";
|
|
5
|
+
import se from "./edit-Cj8vfT97.mjs";
|
|
6
|
+
import { _ as ue } from "./info.vue_vue_type_script_setup_true_lang-Dh9n_Fag.mjs";
|
|
7
7
|
import { b as pe } from "./index-B_hFZVhb-C3Oi__-I.mjs";
|
|
8
8
|
import { C as L } from "./constant-BgsRBKZs.mjs";
|
|
9
9
|
import { O as me, D as C } from "./index-D2NdiwKN.mjs";
|