xyvcard-reports 0.0.30 → 0.0.31
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-BRJ0FzdR.mjs → FileSaver.min-Dd2PMRlJ.mjs} +1 -1
- package/dist/{add-BKHQhb08.mjs → add-CtrxsxYF.mjs} +1 -1
- package/dist/{edit-DAztAWWV.mjs → edit-BP7Cwi94.mjs} +137 -117
- package/dist/{edit-CerZ5hVt.mjs → edit-Bmzhbi9-.mjs} +2 -2
- package/dist/{edit-ZgRPlqm2.mjs → edit-BswyM22e.mjs} +163 -144
- package/dist/{edit-CLfgvyHr.mjs → edit-CjQig_OX.mjs} +1 -1
- package/dist/{edit-DoHQS9bH.mjs → edit-Dp7hKXTS.mjs} +1 -1
- package/dist/{edit-C3rb1m2N.mjs → edit-tiQxcEuu.mjs} +1 -1
- package/dist/{index-De2YrNzO.mjs → index-B4ZY1Wwu.mjs} +2 -2
- package/dist/{index-BYpP0gYj.mjs → index-B7R8PRIO.mjs} +4 -4
- package/dist/{index-C9jnVPdL.mjs → index-BJLNCDXf.mjs} +2 -2
- package/dist/{index-B1aS3_cv.mjs → index-BWs_7WTg.mjs} +1341 -1359
- package/dist/{index-CpEhBSoc.mjs → index-C6cH5lgD.mjs} +181 -215
- package/dist/{index-DGu3tCTJ.mjs → index-CZaX8z3L.mjs} +4 -4
- package/dist/{index-DmtNwPE_.mjs → index-CcfhoDw-.mjs} +3 -3
- package/dist/{index-Bk8SBExS.mjs → index-D90cvQRa.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Bs_tlf0-.mjs → index.vue_vue_type_script_setup_true_lang-BRNg4GAw.mjs} +2 -2
- package/dist/{info-zoi1fbFh.mjs → info-CbAksDPP.mjs} +2 -2
- package/dist/{info-BcWOjWRF.mjs → info-CoLP5GEe.mjs} +1 -1
- package/dist/{info-D2RKoUcm.mjs → info-DEsL55Oo.mjs} +1 -1
- package/dist/{info-BpVDGm28.mjs → info-DLavMPsm.mjs} +1 -1
- package/dist/{info-Zehe2WLj.mjs → info-IOhMebm1.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DiBJ1Ryp.mjs → info.vue_vue_type_script_setup_true_lang-BkqrLIw7.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DJ9jWI1r.mjs → info.vue_vue_type_script_setup_true_lang-CIC6eD4Y.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CEPDXqNr.mjs → info.vue_vue_type_script_setup_true_lang-LPYTarvW.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/src/api/reports/report-demand-ledger/types.d.ts +1 -2
- package/dts/src/views/reports/report-demand-ledger/edit.vue.d.ts +1 -1
- package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-matter/edit.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-month-summary/edit.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-party/edit.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-use-support/edit.vue.d.ts +1 -1
- package/dts/src/views/reports/task-inspect-matters/edit.vue.d.ts +1 -1
- package/dts/src/views/reports/task-inspect-type/add.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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-BWs_7WTg.mjs";
|
|
4
4
|
import { useI18n as U } from "vue-i18n";
|
|
5
5
|
import { D as j } from "./index-DcqQwqg9.mjs";
|
|
6
6
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as ae, mergeModels as
|
|
2
|
-
import { ElMessage as
|
|
1
|
+
import { defineComponent as ae, mergeModels as K, ref as g, reactive as J, computed as de, useModel as se, resolveComponent as i, createElementBlock as I, openBlock as m, Fragment as T, createVNode as t, withCtx as o, unref as s, renderList as k, createBlock as P, createTextVNode as w, toDisplayString as q, createElementVNode as ue } from "vue";
|
|
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
|
|
5
|
+
import { r as b } from "./index-BWs_7WTg.mjs";
|
|
6
6
|
import { useUserStoreHook as pe } from "jmash-core";
|
|
7
7
|
import { D as me } from "./index-DcqQwqg9.mjs";
|
|
8
|
-
import { r as
|
|
9
|
-
import { C as
|
|
8
|
+
import { r as ce } from "./index-ISkSSB59.mjs";
|
|
9
|
+
import { C as fe, B as ge, J as ye, a as he } from "./constant-CjJspmoU.mjs";
|
|
10
10
|
import "./index-Cu8cdEcf--Hv6LgCE.mjs";
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
11
|
+
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
12
|
+
const be = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
13
13
|
__name: "edit",
|
|
14
|
-
props: /* @__PURE__ */
|
|
14
|
+
props: /* @__PURE__ */ K({
|
|
15
15
|
entityKey: {
|
|
16
16
|
type: Object,
|
|
17
17
|
default: () => {
|
|
@@ -25,83 +25,92 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
25
25
|
modelValue: { type: Boolean },
|
|
26
26
|
modelModifiers: {}
|
|
27
27
|
}),
|
|
28
|
-
emits: /* @__PURE__ */
|
|
29
|
-
setup(
|
|
30
|
-
const { t:
|
|
31
|
-
let a =
|
|
28
|
+
emits: /* @__PURE__ */ K(["refresh"], ["update:modelValue"]),
|
|
29
|
+
setup(B, { emit: z }) {
|
|
30
|
+
const { t: f } = ie(), F = pe(), U = g(), $ = g([]), C = g([]), v = g([]);
|
|
31
|
+
let a = J({
|
|
32
32
|
requestId: Math.random() * 10 + "",
|
|
33
33
|
updateMask: "govOrgId,itsmId,outOrgId,describe,files,proposeMethod,matterSource,matterType",
|
|
34
|
-
matterSort:
|
|
34
|
+
matterSort: fe.METTER,
|
|
35
35
|
files: []
|
|
36
36
|
});
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
37
|
+
const N = de(() => v.value);
|
|
38
|
+
async function j(e) {
|
|
39
|
+
var l;
|
|
40
|
+
if (!e) {
|
|
41
|
+
v.value = [];
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
const n = ((l = (await b.findMyProjects({
|
|
46
|
+
belongOrgId: e
|
|
47
|
+
})).data) == null ? void 0 : l.itsmId) || [], p = [...new Set(n)].map(async (_) => {
|
|
48
|
+
var V;
|
|
49
|
+
const O = await he.findById({ itemId: _ });
|
|
50
|
+
return {
|
|
51
|
+
key: _,
|
|
52
|
+
value: ((V = O.data) == null ? void 0 : V.name) || _
|
|
53
|
+
};
|
|
54
|
+
}), h = await Promise.all(p);
|
|
55
|
+
v.value = h;
|
|
56
|
+
} catch {
|
|
57
|
+
v.value = [];
|
|
58
|
+
}
|
|
50
59
|
}
|
|
51
|
-
function
|
|
52
|
-
a.itsmId = void 0,
|
|
60
|
+
function H(e) {
|
|
61
|
+
a.itsmId = void 0, j(e);
|
|
53
62
|
}
|
|
54
|
-
ge.findById({ userId:
|
|
63
|
+
ge.findById({ userId: F.user.userId }).then((e) => {
|
|
55
64
|
const { data: l } = e;
|
|
56
|
-
|
|
57
|
-
const
|
|
65
|
+
b.findMyBelongOrgs({ likeServiceOrg: l.orgId }).then((d) => {
|
|
66
|
+
const n = /* @__PURE__ */ new Map();
|
|
58
67
|
d.data.results.forEach((u) => {
|
|
59
|
-
|
|
60
|
-
}),
|
|
68
|
+
n.has(u.belongOrgId) || n.set(u.belongOrgId, u);
|
|
69
|
+
}), C.value = Array.from(n.values());
|
|
61
70
|
}), ye.findById({ orgId: l.orgId }).then((d) => {
|
|
62
|
-
const { data:
|
|
63
|
-
|
|
71
|
+
const { data: n } = d;
|
|
72
|
+
$.value = [
|
|
64
73
|
{
|
|
65
|
-
key:
|
|
66
|
-
value:
|
|
74
|
+
key: n.orgId,
|
|
75
|
+
value: n.orgName
|
|
67
76
|
}
|
|
68
77
|
];
|
|
69
78
|
});
|
|
70
79
|
});
|
|
71
|
-
const
|
|
80
|
+
const G = J({
|
|
72
81
|
govOrgId: [
|
|
73
82
|
{
|
|
74
83
|
required: !0,
|
|
75
|
-
message:
|
|
84
|
+
message: f("reportThirdParty.govOrgIdRequired"),
|
|
76
85
|
trigger: "change"
|
|
77
86
|
}
|
|
78
87
|
],
|
|
79
88
|
itsmId: [
|
|
80
89
|
{
|
|
81
90
|
required: !0,
|
|
82
|
-
message:
|
|
91
|
+
message: f("reportThirdParty.itemIdRequired"),
|
|
83
92
|
trigger: "change"
|
|
84
93
|
}
|
|
85
94
|
],
|
|
86
95
|
describe: [
|
|
87
96
|
{
|
|
88
97
|
required: !0,
|
|
89
|
-
message:
|
|
98
|
+
message: f("reportThirdParty.likeDescribeRequired"),
|
|
90
99
|
trigger: "change"
|
|
91
100
|
}
|
|
92
101
|
],
|
|
93
102
|
outOrgId: [
|
|
94
103
|
{
|
|
95
104
|
required: !0,
|
|
96
|
-
message:
|
|
105
|
+
message: f("reportThirdParty.outOrgIdRequired"),
|
|
97
106
|
trigger: "change"
|
|
98
107
|
}
|
|
99
108
|
]
|
|
100
|
-
}),
|
|
101
|
-
function
|
|
102
|
-
|
|
109
|
+
}), S = g(!1), D = g();
|
|
110
|
+
function Q() {
|
|
111
|
+
S.value = !0, D.value.clearFileList();
|
|
103
112
|
}
|
|
104
|
-
function
|
|
113
|
+
function W(e) {
|
|
105
114
|
var d;
|
|
106
115
|
const l = {
|
|
107
116
|
fileName: e.name,
|
|
@@ -109,12 +118,12 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
109
118
|
};
|
|
110
119
|
(d = a.files) == null || d.push(l), a.files = [...new Set(a.files)];
|
|
111
120
|
}
|
|
112
|
-
function
|
|
121
|
+
function X(e) {
|
|
113
122
|
var l;
|
|
114
123
|
(l = a.files) == null || l.splice(e, 1);
|
|
115
124
|
}
|
|
116
|
-
function
|
|
117
|
-
|
|
125
|
+
function Y() {
|
|
126
|
+
ce.findList({ actionId: y.entityKey.reportId }).then(({ data: e }) => {
|
|
118
127
|
e.results && Array.isArray(e.results) && (a.files = e.results.map((l) => {
|
|
119
128
|
let d = "";
|
|
120
129
|
return l.fileName && (d = l.fileSort || l.type || ""), {
|
|
@@ -125,56 +134,66 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
125
134
|
}));
|
|
126
135
|
});
|
|
127
136
|
}
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
|
|
137
|
+
const c = se(B, "modelValue"), y = B, M = z, Z = Object.keys(y.entityKey), E = g(Z.length >= 1);
|
|
138
|
+
E.value && b.findById(y.entityKey).then(async ({ data: e }) => {
|
|
139
|
+
const l = e.itsmId;
|
|
140
|
+
if (Object.assign(a, {
|
|
141
|
+
...e,
|
|
142
|
+
itsmId: void 0
|
|
143
|
+
}), Y(), e.govOrgId) {
|
|
144
|
+
await j(e.govOrgId);
|
|
145
|
+
const { nextTick: d } = await import("vue");
|
|
146
|
+
d(() => {
|
|
147
|
+
a.itsmId = l;
|
|
148
|
+
});
|
|
149
|
+
}
|
|
131
150
|
});
|
|
132
|
-
const
|
|
151
|
+
const x = async () => {
|
|
133
152
|
var e;
|
|
134
|
-
await ((e =
|
|
135
|
-
l && (
|
|
136
|
-
console.log(d), d.status === 200 && (
|
|
137
|
-
message:
|
|
153
|
+
await ((e = U.value) == null ? void 0 : e.validate((l) => {
|
|
154
|
+
l && (E.value && y.entityKey.reportId && !y.isCopy ? b.update(a).then((d) => {
|
|
155
|
+
console.log(d), d.status === 200 && (R({
|
|
156
|
+
message: f("common.submitSuccess"),
|
|
138
157
|
type: "success"
|
|
139
|
-
}),
|
|
140
|
-
}) : y.isCopy ?
|
|
141
|
-
d.status === 200 && (
|
|
142
|
-
message:
|
|
158
|
+
}), c.value && (c.value = !1), M("refresh", d.status === 200));
|
|
159
|
+
}) : y.isCopy ? b.create(a).then((d) => {
|
|
160
|
+
d.status === 200 && (R({
|
|
161
|
+
message: f("common.submitSuccess"),
|
|
143
162
|
type: "success"
|
|
144
|
-
}),
|
|
145
|
-
}) :
|
|
146
|
-
console.log(d), d.status === 200 && (
|
|
147
|
-
message:
|
|
163
|
+
}), c.value = !1, M("refresh", !0));
|
|
164
|
+
}) : b.create(a).then((d) => {
|
|
165
|
+
console.log(d), d.status === 200 && (R({
|
|
166
|
+
message: f("common.submitSuccess"),
|
|
148
167
|
type: "success"
|
|
149
|
-
}),
|
|
168
|
+
}), c.value && (c.value = !1), M("refresh", d.status === 200));
|
|
150
169
|
}));
|
|
151
170
|
}));
|
|
152
171
|
};
|
|
153
|
-
function
|
|
154
|
-
|
|
172
|
+
function L() {
|
|
173
|
+
c.value && (c.value = !1);
|
|
155
174
|
}
|
|
156
175
|
return (e, l) => {
|
|
157
|
-
const d =
|
|
158
|
-
return
|
|
176
|
+
const d = i("el-option"), n = i("el-select"), u = i("el-form-item"), p = i("el-col"), h = i("el-input"), _ = i("jmash-select"), O = i("el-button"), V = i("CircleClose"), ee = i("el-icon"), le = i("el-row"), te = i("el-form"), re = i("el-dialog"), oe = i("jmash-multi-upload");
|
|
177
|
+
return m(), I(T, null, [
|
|
159
178
|
t(re, {
|
|
160
|
-
modelValue:
|
|
161
|
-
"onUpdate:modelValue": l[7] || (l[7] = (r) =>
|
|
162
|
-
onClose:
|
|
179
|
+
modelValue: c.value,
|
|
180
|
+
"onUpdate:modelValue": l[7] || (l[7] = (r) => c.value = r),
|
|
181
|
+
onClose: L
|
|
163
182
|
}, {
|
|
164
183
|
footer: o(() => [
|
|
165
|
-
ue("div",
|
|
166
|
-
t(
|
|
184
|
+
ue("div", be, [
|
|
185
|
+
t(O, { onClick: L }, {
|
|
167
186
|
default: o(() => [
|
|
168
|
-
|
|
187
|
+
w(q(e.$t("common.cancel")), 1)
|
|
169
188
|
]),
|
|
170
189
|
_: 1
|
|
171
190
|
}),
|
|
172
|
-
t(
|
|
191
|
+
t(O, {
|
|
173
192
|
type: "primary",
|
|
174
|
-
onClick:
|
|
193
|
+
onClick: x
|
|
175
194
|
}, {
|
|
176
195
|
default: o(() => [
|
|
177
|
-
|
|
196
|
+
w(q(e.$t("common.confirm")), 1)
|
|
178
197
|
]),
|
|
179
198
|
_: 1
|
|
180
199
|
})
|
|
@@ -183,33 +202,33 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
183
202
|
default: o(() => [
|
|
184
203
|
t(te, {
|
|
185
204
|
ref_key: "reportThirdPartyFormRef",
|
|
186
|
-
ref:
|
|
205
|
+
ref: U,
|
|
187
206
|
model: s(a),
|
|
188
207
|
"label-width": "120px",
|
|
189
|
-
rules:
|
|
208
|
+
rules: G
|
|
190
209
|
}, {
|
|
191
210
|
default: o(() => [
|
|
192
211
|
t(le, null, {
|
|
193
212
|
default: o(() => [
|
|
194
|
-
t(
|
|
213
|
+
t(p, { span: 12 }, {
|
|
195
214
|
default: o(() => [
|
|
196
215
|
t(u, {
|
|
197
216
|
label: e.$t("reportThirdParty.govOrgId"),
|
|
198
217
|
prop: "govOrgId"
|
|
199
218
|
}, {
|
|
200
219
|
default: o(() => [
|
|
201
|
-
t(
|
|
220
|
+
t(n, {
|
|
202
221
|
modelValue: s(a).govOrgId,
|
|
203
222
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s(a).govOrgId = r),
|
|
204
223
|
placeholder: e.$t("reportThirdParty.govOrgIdRequired"),
|
|
205
|
-
data:
|
|
224
|
+
data: C.value,
|
|
206
225
|
clearable: "",
|
|
207
226
|
filterable: "",
|
|
208
227
|
class: "w-full",
|
|
209
|
-
onChange:
|
|
228
|
+
onChange: H
|
|
210
229
|
}, {
|
|
211
230
|
default: o(() => [
|
|
212
|
-
(
|
|
231
|
+
(m(!0), I(T, null, k(C.value, (r) => (m(), P(d, {
|
|
213
232
|
key: r.belongOrgId,
|
|
214
233
|
value: r.belongOrgId,
|
|
215
234
|
label: r.belongOrgName
|
|
@@ -223,55 +242,56 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
223
242
|
]),
|
|
224
243
|
_: 1
|
|
225
244
|
}),
|
|
226
|
-
t(
|
|
245
|
+
t(p, { span: 12 }, {
|
|
227
246
|
default: o(() => [
|
|
228
247
|
t(u, {
|
|
229
248
|
label: e.$t("reportThirdParty.itsmId"),
|
|
230
249
|
prop: "itsmId"
|
|
231
250
|
}, {
|
|
232
251
|
default: o(() => [
|
|
233
|
-
|
|
252
|
+
(m(), P(n, {
|
|
234
253
|
modelValue: s(a).itsmId,
|
|
235
254
|
"onUpdate:modelValue": l[1] || (l[1] = (r) => s(a).itsmId = r),
|
|
236
255
|
placeholder: e.$t("reportThirdParty.itemIdRequired"),
|
|
237
|
-
data:
|
|
256
|
+
data: N.value,
|
|
238
257
|
clearable: "",
|
|
239
258
|
filterable: "",
|
|
240
|
-
disabled: !s(a).govOrgId
|
|
259
|
+
disabled: !s(a).govOrgId,
|
|
260
|
+
key: v.value.length
|
|
241
261
|
}, {
|
|
242
262
|
default: o(() => [
|
|
243
|
-
(
|
|
263
|
+
(m(!0), I(T, null, k(N.value, (r) => (m(), P(d, {
|
|
244
264
|
key: r.key,
|
|
245
265
|
value: r.key,
|
|
246
266
|
label: r.value
|
|
247
267
|
}, null, 8, ["value", "label"]))), 128))
|
|
248
268
|
]),
|
|
249
269
|
_: 1
|
|
250
|
-
}, 8, ["modelValue", "placeholder", "data", "disabled"])
|
|
270
|
+
}, 8, ["modelValue", "placeholder", "data", "disabled"]))
|
|
251
271
|
]),
|
|
252
272
|
_: 1
|
|
253
273
|
}, 8, ["label"])
|
|
254
274
|
]),
|
|
255
275
|
_: 1
|
|
256
276
|
}),
|
|
257
|
-
t(
|
|
277
|
+
t(p, { span: 12 }, {
|
|
258
278
|
default: o(() => [
|
|
259
279
|
t(u, {
|
|
260
280
|
label: e.$t("reportThirdParty.outOrgId"),
|
|
261
281
|
prop: "outOrgId"
|
|
262
282
|
}, {
|
|
263
283
|
default: o(() => [
|
|
264
|
-
t(
|
|
284
|
+
t(n, {
|
|
265
285
|
modelValue: s(a).outOrgId,
|
|
266
286
|
"onUpdate:modelValue": l[2] || (l[2] = (r) => s(a).outOrgId = r),
|
|
267
287
|
placeholder: e.$t("reportThirdParty.outOrgIdRequired"),
|
|
268
|
-
data:
|
|
288
|
+
data: $.value,
|
|
269
289
|
clearable: "",
|
|
270
290
|
filterable: "",
|
|
271
291
|
class: "w-full"
|
|
272
292
|
}, {
|
|
273
293
|
default: o(() => [
|
|
274
|
-
(
|
|
294
|
+
(m(!0), I(T, null, k($.value, (r) => (m(), P(d, {
|
|
275
295
|
key: r.key,
|
|
276
296
|
value: r.key,
|
|
277
297
|
label: r.value
|
|
@@ -285,7 +305,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
285
305
|
]),
|
|
286
306
|
_: 1
|
|
287
307
|
}),
|
|
288
|
-
t(
|
|
308
|
+
t(p, { span: 12 }, {
|
|
289
309
|
default: o(() => [
|
|
290
310
|
t(u, {
|
|
291
311
|
label: e.$t("reportThirdParty.createBy"),
|
|
@@ -293,7 +313,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
293
313
|
}, {
|
|
294
314
|
default: o(() => [
|
|
295
315
|
t(h, {
|
|
296
|
-
value: s(
|
|
316
|
+
value: s(F).user.realName,
|
|
297
317
|
placeholder: e.$t("reportThirdParty.createBy"),
|
|
298
318
|
maxlength: "8",
|
|
299
319
|
"show-word-limit": "",
|
|
@@ -306,14 +326,14 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
306
326
|
]),
|
|
307
327
|
_: 1
|
|
308
328
|
}),
|
|
309
|
-
t(
|
|
329
|
+
t(p, { span: 24 }, {
|
|
310
330
|
default: o(() => [
|
|
311
331
|
t(u, {
|
|
312
332
|
label: e.$t("reportThirdParty.matterType"),
|
|
313
333
|
prop: "matterType"
|
|
314
334
|
}, {
|
|
315
335
|
default: o(() => [
|
|
316
|
-
t(
|
|
336
|
+
t(_, {
|
|
317
337
|
modelValue: s(a).matterType,
|
|
318
338
|
"onUpdate:modelValue": l[3] || (l[3] = (r) => s(a).matterType = r),
|
|
319
339
|
placeholder: e.$t("reportThirdParty.matterTypeRequired"),
|
|
@@ -328,7 +348,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
328
348
|
]),
|
|
329
349
|
_: 1
|
|
330
350
|
}),
|
|
331
|
-
t(
|
|
351
|
+
t(p, { span: 24 }, {
|
|
332
352
|
default: o(() => [
|
|
333
353
|
t(u, {
|
|
334
354
|
label: e.$t("reportThirdParty.likeDescribe"),
|
|
@@ -349,7 +369,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
349
369
|
]),
|
|
350
370
|
_: 1
|
|
351
371
|
}),
|
|
352
|
-
t(
|
|
372
|
+
t(p, { span: 12 }, {
|
|
353
373
|
default: o(() => [
|
|
354
374
|
t(u, {
|
|
355
375
|
label: e.$t("reportThirdParty.matterSource"),
|
|
@@ -369,7 +389,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
369
389
|
]),
|
|
370
390
|
_: 1
|
|
371
391
|
}),
|
|
372
|
-
t(
|
|
392
|
+
t(p, { span: 12 }, {
|
|
373
393
|
default: o(() => [
|
|
374
394
|
t(u, {
|
|
375
395
|
label: e.$t("reportThirdParty.proposeMethod"),
|
|
@@ -389,20 +409,20 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
389
409
|
]),
|
|
390
410
|
_: 1
|
|
391
411
|
}),
|
|
392
|
-
t(
|
|
412
|
+
t(p, { span: 24 }, {
|
|
393
413
|
default: o(() => [
|
|
394
414
|
t(u, {
|
|
395
415
|
label: e.$t("reportDemandLedger.files"),
|
|
396
416
|
prop: "files"
|
|
397
417
|
}, {
|
|
398
418
|
default: o(() => [
|
|
399
|
-
t(
|
|
419
|
+
t(O, {
|
|
400
420
|
type: "primary",
|
|
401
421
|
icon: s(ne),
|
|
402
|
-
onClick:
|
|
422
|
+
onClick: Q
|
|
403
423
|
}, {
|
|
404
424
|
default: o(() => [
|
|
405
|
-
|
|
425
|
+
w(q(e.$t("common.uploadFiles")), 1)
|
|
406
426
|
]),
|
|
407
427
|
_: 1
|
|
408
428
|
}, 8, ["icon"])
|
|
@@ -411,18 +431,18 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
411
431
|
}, 8, ["label"]),
|
|
412
432
|
t(u, null, {
|
|
413
433
|
default: o(() => [
|
|
414
|
-
(
|
|
415
|
-
key:
|
|
434
|
+
(m(!0), I(T, null, k(s(a).files, (r, A) => (m(), I("div", {
|
|
435
|
+
key: A,
|
|
416
436
|
class: "files-list"
|
|
417
437
|
}, [
|
|
418
|
-
|
|
438
|
+
w(q(r.fileName) + " ", 1),
|
|
419
439
|
t(ee, {
|
|
420
440
|
size: "16",
|
|
421
441
|
class: "icon-right",
|
|
422
|
-
onClick: (_e) =>
|
|
442
|
+
onClick: (_e) => X(A)
|
|
423
443
|
}, {
|
|
424
444
|
default: o(() => [
|
|
425
|
-
t(
|
|
445
|
+
t(V)
|
|
426
446
|
]),
|
|
427
447
|
_: 1
|
|
428
448
|
}, 8, ["onClick"])
|
|
@@ -444,15 +464,15 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
444
464
|
}, 8, ["modelValue"]),
|
|
445
465
|
t(oe, {
|
|
446
466
|
ref_key: "uploadRef",
|
|
447
|
-
ref:
|
|
448
|
-
modelValue:
|
|
449
|
-
"onUpdate:modelValue": l[8] || (l[8] = (r) =>
|
|
450
|
-
onUploadFileList:
|
|
467
|
+
ref: D,
|
|
468
|
+
modelValue: S.value,
|
|
469
|
+
"onUpdate:modelValue": l[8] || (l[8] = (r) => S.value = r),
|
|
470
|
+
onUploadFileList: W
|
|
451
471
|
}, null, 8, ["modelValue"])
|
|
452
472
|
], 64);
|
|
453
473
|
};
|
|
454
474
|
}
|
|
455
|
-
}), Re = /* @__PURE__ */
|
|
475
|
+
}), Re = /* @__PURE__ */ Ie(ve, [["__scopeId", "data-v-852e4daa"]]);
|
|
456
476
|
export {
|
|
457
477
|
Re as default
|
|
458
478
|
};
|
|
@@ -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-BRNg4GAw.mjs";
|
|
5
5
|
import { useI18n as At } from "vue-i18n";
|
|
6
|
-
import { t as Pe } from "./index-
|
|
6
|
+
import { t as Pe } from "./index-BWs_7WTg.mjs";
|
|
7
7
|
import { D as Mt } from "./index-DcqQwqg9.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";
|