xyvcard-reports 0.0.13 → 0.0.15
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-dMUNMTkm.mjs → FileSaver.min-CL-SAebW.mjs} +1 -1
- package/dist/{add-BtXMFoJu.mjs → add-Ck6Mstqq.mjs} +2 -2
- package/dist/{constant-BJ3pUpqv.mjs → constant-BgsRBKZs.mjs} +4 -3
- package/dist/{edit-PXsxAXIJ.mjs → edit-1dBfGFLG.mjs} +4 -4
- package/dist/{edit-BRBQ8yyZ.mjs → edit-By3LppHi.mjs} +3 -3
- package/dist/{edit-AUGeLbaN.mjs → edit-CWC8SKEW.mjs} +11 -11
- package/dist/{edit-rKDl_v_q.mjs → edit-CjU44Pc-.mjs} +129 -124
- package/dist/{edit-fxFk6lJu.mjs → edit-CnCNpPXH.mjs} +22 -20
- package/dist/{edit-3b86wwHR.mjs → edit-Cxu5S9I2.mjs} +94 -94
- package/dist/{edit-Cuy8kYF6.mjs → edit-VAyV5jyj.mjs} +3 -3
- package/dist/follow-DFyEqZRL.mjs +261 -0
- package/dist/{import-upload-PHel2czN.mjs → import-upload-BUHcaEH2.mjs} +1 -1
- package/dist/{import-upload-BdjnKRQ8.mjs → import-upload-DCvwEdJH.mjs} +1 -1
- package/dist/{index-DJgTkb5g.mjs → index-B1mhNx-A.mjs} +1409 -1476
- package/dist/{index-CcJ7Ebtn.mjs → index-BEbsIkhz.mjs} +7 -7
- package/dist/{index-Bmsca4fr.mjs → index-BUAbdBPN.mjs} +3 -3
- package/dist/index-BdtTv-FT.mjs +62 -0
- package/dist/{index-ByuIDp9p.mjs → index-BxQOg919.mjs} +74 -81
- package/dist/{index-C9tUTN1f.mjs → index-D2NdiwKN.mjs} +1 -1
- package/dist/{index-CYmZlI43.mjs → index-DLXB6nQL.mjs} +1 -1
- package/dist/{index-CzUYEBJe.mjs → index-DMr3daTn.mjs} +5 -5
- package/dist/{index-CvvnRC0J.mjs → index-HF8kUbc7.mjs} +52 -52
- package/dist/{index-DbKjgQht.mjs → index-I5lyVDaU.mjs} +7 -7
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BNjW1oc3.mjs → index.vue_vue_type_script_setup_true_lang-BetavdIP.mjs} +74 -98
- package/dist/{info-CrDe7Obn.mjs → info-2880jVCu.mjs} +3 -3
- package/dist/{info-_ikoQiDj.mjs → info-B3UnGBuH.mjs} +1 -1
- package/dist/{info-BPQDxwO0.mjs → info-BEDz9VXf.mjs} +2 -2
- package/dist/{info-BJQ_-_GR.mjs → info-BxxlZfhZ.mjs} +1 -1
- package/dist/{info-C3TFSpsG.mjs → info-CFuD0vMM.mjs} +1 -1
- package/dist/{info-DjuPQKKf.mjs → info-Pawz2o8n.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-C_IPH3E3.mjs → info.vue_vue_type_script_setup_true_lang-40oTaelS.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-lN0Et_Xz.mjs → info.vue_vue_type_script_setup_true_lang-DfP1lzx-.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-LrUVwBge.mjs → info.vue_vue_type_script_setup_true_lang-DpDsaNi1.mjs} +96 -67
- package/dist/{info.vue_vue_type_script_setup_true_lang-B67wEO2Y.mjs → info.vue_vue_type_script_setup_true_lang-EwCkskoz.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dts/src/api/reports/report-demand-record/types.d.ts +1 -0
- package/dts/src/api/reports/report-third-party/types.d.ts +3 -0
- package/dts/src/constant.d.ts +4 -3
- package/dts/src/lang/reports/zh-cn.d.ts +1 -47
- package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-matter/import-upload.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-use-support/import-upload.vue.d.ts +2 -2
- package/package.json +1 -1
- package/dist/follow-BoxQ9tF0.mjs +0 -318
|
@@ -1,8 +1,8 @@
|
|
|
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-B1mhNx-A.mjs";
|
|
4
4
|
import { useI18n as U } from "vue-i18n";
|
|
5
|
-
import { D as j } from "./index-
|
|
5
|
+
import { D as j } from "./index-D2NdiwKN.mjs";
|
|
6
6
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const x = { class: "dialog-footer" }, z = /* @__PURE__ */ $({
|
|
8
8
|
__name: "add",
|
|
@@ -6195,15 +6195,16 @@ z(K, "METTER", "matter_record"), // 使用支持
|
|
|
6195
6195
|
z(K, "SUPPORT", "use_support"), // 月工作总结表
|
|
6196
6196
|
z(K, "MONTH_SUMMARY", "month_summary"), // 事项类型
|
|
6197
6197
|
z(K, "METTER_TYPE", "xyvcard.reports.protobuf.MatterTypeEnum"), // 厅局
|
|
6198
|
-
z(K, "HALL", "HALL")
|
|
6198
|
+
z(K, "HALL", "HALL"), // 已办结
|
|
6199
|
+
z(K, "FINISHED", "FINISHED");
|
|
6199
6200
|
class yr {
|
|
6200
6201
|
}
|
|
6201
6202
|
//模块
|
|
6202
6203
|
z(yr, "MODULE_INSPECT", "inspect"), // 检查事项类型import xyvcard.inspect.protobuf.RecordsType
|
|
6203
6204
|
z(yr, "INSPECT_TYPE", "xyvcard.inspect.protobuf.RecordsType"), // 状态inspectStatus
|
|
6204
6205
|
z(yr, "INSPECT_STATUS", Ms([
|
|
6205
|
-
{ key:
|
|
6206
|
-
{ key:
|
|
6206
|
+
{ key: !0, value: "启用" },
|
|
6207
|
+
{ key: !1, value: "禁用" }
|
|
6207
6208
|
])), // 风险等级
|
|
6208
6209
|
z(yr, "RISK_LEVEL", "xyvcard.inspect.protobuf.RiskLevelEnum");
|
|
6209
6210
|
export {
|
|
@@ -2,9 +2,9 @@ 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-B1mhNx-A.mjs";
|
|
6
6
|
import { useUserStoreHook as se } from "jmash-core";
|
|
7
|
-
import { C as ne, J as ie, $ as ue, H as me } from "./constant-
|
|
7
|
+
import { C as ne, J as ie, $ as ue, H as me } from "./constant-BgsRBKZs.mjs";
|
|
8
8
|
import "./index-DQ9bz2at.mjs";
|
|
9
9
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
10
|
const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
@@ -123,7 +123,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
123
123
|
var e;
|
|
124
124
|
await ((e = N.value) == null ? void 0 : e.validate((t) => {
|
|
125
125
|
t && $.create(l).then((d) => {
|
|
126
|
-
|
|
126
|
+
d.status === 200 && (re({
|
|
127
127
|
message: b("common.submitSuccess"),
|
|
128
128
|
type: "success"
|
|
129
129
|
}), f.value && (f.value = !1), H("refresh", d.status === 200));
|
|
@@ -375,7 +375,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
375
375
|
], 64);
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
|
-
}), Te = /* @__PURE__ */ pe(ce, [["__scopeId", "data-v-
|
|
378
|
+
}), Te = /* @__PURE__ */ pe(ce, [["__scopeId", "data-v-6a4f4c90"]]);
|
|
379
379
|
export {
|
|
380
380
|
Te as default
|
|
381
381
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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-BetavdIP.mjs";
|
|
5
5
|
import { useI18n as Ft } from "vue-i18n";
|
|
6
|
-
import { t as Pe } from "./index-
|
|
7
|
-
import { D as $e } from "./index-
|
|
6
|
+
import { t as Pe } from "./index-B1mhNx-A.mjs";
|
|
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";
|
|
10
10
|
const nt = Symbol(), ee = "el", Ht = "is-", j = (e, n, t, o, a) => {
|
|
@@ -4,8 +4,8 @@ import { useI18n as fe } from "vue-i18n";
|
|
|
4
4
|
import { r as I } from "./index-DVvlf-iS.mjs";
|
|
5
5
|
import { useUserStoreHook as ge } from "jmash-core";
|
|
6
6
|
import { u as ye } from "./index-CJ1aT1h5.mjs";
|
|
7
|
-
import { O as ve, D as c } from "./index-
|
|
8
|
-
import { C as z } from "./constant-
|
|
7
|
+
import { O as ve, D as c } from "./index-D2NdiwKN.mjs";
|
|
8
|
+
import { C as z } from "./constant-BgsRBKZs.mjs";
|
|
9
9
|
import { r as De } from "./index-ISkSSB59.mjs";
|
|
10
10
|
import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
@@ -27,7 +27,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
27
27
|
emits: /* @__PURE__ */ Y(["refresh"], ["update:modelValue"]),
|
|
28
28
|
setup(E, { emit: H }) {
|
|
29
29
|
const O = new ve({ orgType: z.HALL });
|
|
30
|
-
O.useValues(), c.involvedPlateDict.useValues()
|
|
30
|
+
O.useValues(), c.involvedPlateDict.useValues();
|
|
31
31
|
const { t: s } = fe(), G = ge(), M = b();
|
|
32
32
|
let e = A({
|
|
33
33
|
requestId: Math.random() * 10 + "",
|
|
@@ -181,7 +181,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
181
181
|
g.value && (g.value = !1);
|
|
182
182
|
}
|
|
183
183
|
return (t, a) => {
|
|
184
|
-
const i = n("jmash-select"), u = n("el-form-item"), p = n("el-col"), C = n("el-option"),
|
|
184
|
+
const i = n("jmash-select"), u = n("el-form-item"), p = n("el-col"), C = n("el-option"), R = n("el-select"), U = n("el-input"), te = n("el-date-picker"), P = n("jmash-enum-radio"), ae = n("el-tree-select"), $ = n("el-button"), oe = n("CircleClose"), re = n("el-icon"), de = n("el-row"), ne = n("el-form"), se = n("el-dialog"), ie = n("jmash-multi-upload");
|
|
185
185
|
return m(), v(D, null, [
|
|
186
186
|
l(se, {
|
|
187
187
|
modelValue: g.value,
|
|
@@ -248,7 +248,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
248
248
|
prop: "itemId"
|
|
249
249
|
}, {
|
|
250
250
|
default: d(() => [
|
|
251
|
-
l(
|
|
251
|
+
l(R, {
|
|
252
252
|
modelValue: r(e).itemId,
|
|
253
253
|
"onUpdate:modelValue": a[1] || (a[1] = (o) => r(e).itemId = o),
|
|
254
254
|
placeholder: t.$t("reportDemandLedger.itemIdRequired"),
|
|
@@ -279,7 +279,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
279
279
|
prop: "createBy"
|
|
280
280
|
}, {
|
|
281
281
|
default: d(() => [
|
|
282
|
-
l(
|
|
282
|
+
l(U, {
|
|
283
283
|
value: r(G).user.realName,
|
|
284
284
|
placeholder: t.$t("reportDemandLedger.createByRequired"),
|
|
285
285
|
maxlength: "8",
|
|
@@ -322,7 +322,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
322
322
|
prop: "content"
|
|
323
323
|
}, {
|
|
324
324
|
default: d(() => [
|
|
325
|
-
l(
|
|
325
|
+
l(U, {
|
|
326
326
|
modelValue: r(e).content,
|
|
327
327
|
"onUpdate:modelValue": a[3] || (a[3] = (o) => r(e).content = o),
|
|
328
328
|
placeholder: t.$t("reportDemandLedger.likeContentRequired"),
|
|
@@ -407,7 +407,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
407
407
|
prop: "proposeMethod"
|
|
408
408
|
}, {
|
|
409
409
|
default: d(() => [
|
|
410
|
-
l(
|
|
410
|
+
l(U, {
|
|
411
411
|
modelValue: r(e).proposeMethod,
|
|
412
412
|
"onUpdate:modelValue": a[7] || (a[7] = (o) => r(e).proposeMethod = o),
|
|
413
413
|
placeholder: t.$t("reportDemandLedger.proposeMethodRequired"),
|
|
@@ -431,7 +431,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
431
431
|
prop: "notifyType"
|
|
432
432
|
}, {
|
|
433
433
|
default: d(() => [
|
|
434
|
-
l(
|
|
434
|
+
l(R, {
|
|
435
435
|
modelValue: r(e).notifyType,
|
|
436
436
|
"onUpdate:modelValue": a[8] || (a[8] = (o) => r(e).notifyType = o),
|
|
437
437
|
data: r(c).noticeTypeDict.values,
|
|
@@ -465,7 +465,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
465
465
|
prop: "notifyUser"
|
|
466
466
|
}, {
|
|
467
467
|
default: d(() => [
|
|
468
|
-
l(
|
|
468
|
+
l(R, {
|
|
469
469
|
modelValue: r(e).notifyUser,
|
|
470
470
|
"onUpdate:modelValue": a[9] || (a[9] = (o) => r(e).notifyUser = o),
|
|
471
471
|
data: r(c).noticeUserDict.values,
|
|
@@ -552,7 +552,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
552
552
|
], 64);
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
|
-
}), Me = /* @__PURE__ */ be(he, [["__scopeId", "data-v-
|
|
555
|
+
}), Me = /* @__PURE__ */ be(he, [["__scopeId", "data-v-1b495031"]]);
|
|
556
556
|
export {
|
|
557
557
|
Me as default
|
|
558
558
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElMessage as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { u as
|
|
5
|
-
import { r as
|
|
6
|
-
import { useUserStoreHook as
|
|
7
|
-
import { r as
|
|
8
|
-
import { C 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 b, createVNode as t, withCtx as a, unref as n, renderList as O, createBlock as B, createTextVNode as k, toDisplayString as V, createElementVNode as ie } from "vue";
|
|
2
|
+
import { ElMessage as F } from "element-plus";
|
|
3
|
+
import { useI18n as ue } from "vue-i18n";
|
|
4
|
+
import { u as pe } from "./index-CJ1aT1h5.mjs";
|
|
5
|
+
import { r as h } from "./index-B1mhNx-A.mjs";
|
|
6
|
+
import { useUserStoreHook as me } from "jmash-core";
|
|
7
|
+
import { r as fe } from "./index-ISkSSB59.mjs";
|
|
8
|
+
import { C as H, J, $ as ce, H as ge } from "./constant-BgsRBKZs.mjs";
|
|
9
9
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
|
-
const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */
|
|
10
|
+
const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
11
11
|
__name: "edit",
|
|
12
|
-
props: /* @__PURE__ */
|
|
12
|
+
props: /* @__PURE__ */ A({
|
|
13
13
|
entityKey: {
|
|
14
14
|
type: Object,
|
|
15
15
|
default: () => {
|
|
@@ -23,52 +23,57 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
23
23
|
modelValue: { type: Boolean },
|
|
24
24
|
modelModifiers: {}
|
|
25
25
|
}),
|
|
26
|
-
emits: /* @__PURE__ */
|
|
27
|
-
setup(R, { emit:
|
|
28
|
-
const { t: c } =
|
|
29
|
-
|
|
30
|
-
const F = g(), P = g([]), h = g([]), T = g([]);
|
|
31
|
-
let s = A({
|
|
26
|
+
emits: /* @__PURE__ */ A(["refresh"], ["update:modelValue"]),
|
|
27
|
+
setup(R, { emit: z }) {
|
|
28
|
+
const { t: c } = ue(), C = me(), N = y(), P = y([]), T = y([]), q = y([]);
|
|
29
|
+
let s = K({
|
|
32
30
|
requestId: Math.random() * 10 + "",
|
|
33
31
|
updateMask: "govOrgId,itsmId,outOrgId,describe,files",
|
|
34
|
-
matterSort:
|
|
32
|
+
matterSort: H.SECURITY,
|
|
35
33
|
files: []
|
|
36
34
|
});
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
e ?
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
)
|
|
46
|
-
|
|
47
|
-
|
|
35
|
+
const M = de(() => q.value);
|
|
36
|
+
function U(e) {
|
|
37
|
+
e ? J.findById({ userId: C.user.userId }).then((l) => {
|
|
38
|
+
const { data: r } = l;
|
|
39
|
+
h.findMyProjects({
|
|
40
|
+
belongOrgId: e,
|
|
41
|
+
likeServiceOrg: r.orgId,
|
|
42
|
+
applyStatus: H.FINISHED
|
|
43
|
+
}).then((i) => {
|
|
44
|
+
const d = i.data.itsmId, _ = [...new Set(d)].map(
|
|
45
|
+
(m) => ge.findById({ itemId: m }).then((w) => ({
|
|
46
|
+
key: m,
|
|
47
|
+
value: w.data.name
|
|
48
|
+
}))
|
|
49
|
+
);
|
|
50
|
+
Promise.all(_).then((m) => {
|
|
51
|
+
q.value = m, console.log(m, "=> 项目数据");
|
|
52
|
+
});
|
|
48
53
|
});
|
|
49
|
-
}) :
|
|
54
|
+
}) : q.value = [];
|
|
50
55
|
}
|
|
51
|
-
function
|
|
52
|
-
s.itsmId = void 0,
|
|
56
|
+
function Y(e) {
|
|
57
|
+
s.itsmId = void 0, U(e);
|
|
53
58
|
}
|
|
54
|
-
|
|
59
|
+
J.findById({ userId: C.user.userId }).then((e) => {
|
|
55
60
|
const { data: l } = e;
|
|
56
|
-
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}),
|
|
61
|
-
}), ce.findById({ orgId: l.orgId }).then((
|
|
62
|
-
const { data:
|
|
63
|
-
|
|
61
|
+
h.findMyBelongOrgs({ likeServiceOrg: l.orgId }).then((r) => {
|
|
62
|
+
const i = /* @__PURE__ */ new Map();
|
|
63
|
+
r.data.results.forEach((d) => {
|
|
64
|
+
i.has(d.belongOrgId) || i.set(d.belongOrgId, d);
|
|
65
|
+
}), T.value = Array.from(i.values());
|
|
66
|
+
}), ce.findById({ orgId: l.orgId }).then((r) => {
|
|
67
|
+
const { data: i } = r;
|
|
68
|
+
P.value = [
|
|
64
69
|
{
|
|
65
|
-
key:
|
|
66
|
-
value:
|
|
70
|
+
key: i.orgId,
|
|
71
|
+
value: i.orgName
|
|
67
72
|
}
|
|
68
73
|
];
|
|
69
74
|
});
|
|
70
75
|
});
|
|
71
|
-
const
|
|
76
|
+
const G = K({
|
|
72
77
|
govOrgId: [
|
|
73
78
|
{
|
|
74
79
|
required: !0,
|
|
@@ -97,56 +102,56 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
97
102
|
trigger: "change"
|
|
98
103
|
}
|
|
99
104
|
]
|
|
100
|
-
}),
|
|
101
|
-
function
|
|
102
|
-
|
|
105
|
+
}), $ = y(!1), D = y();
|
|
106
|
+
function Q() {
|
|
107
|
+
$.value = !0, D.value.clearFileList();
|
|
103
108
|
}
|
|
104
|
-
function
|
|
105
|
-
var
|
|
109
|
+
function W(e) {
|
|
110
|
+
var r;
|
|
106
111
|
const l = {
|
|
107
112
|
fileName: e.name,
|
|
108
113
|
fileId: e.response.fileId
|
|
109
114
|
};
|
|
110
|
-
(
|
|
115
|
+
(r = s.files) == null || r.push(l), s.files = [...new Set(s.files)];
|
|
111
116
|
}
|
|
112
|
-
function
|
|
117
|
+
function X(e) {
|
|
113
118
|
var l;
|
|
114
119
|
(l = s.files) == null || l.splice(e, 1);
|
|
115
120
|
}
|
|
116
|
-
function
|
|
117
|
-
|
|
121
|
+
function Z() {
|
|
122
|
+
fe.findList({ actionId: I.entityKey.reportId }).then(({ data: e }) => {
|
|
118
123
|
e.results && Array.isArray(e.results) && (s.files = e.results.map((l) => {
|
|
119
|
-
let
|
|
120
|
-
return l.fileName && (
|
|
124
|
+
let r = "";
|
|
125
|
+
return l.fileName && (r = l.fileSort || l.type || ""), {
|
|
121
126
|
fileName: l.fileName || "",
|
|
122
127
|
fileId: l.fileId || "",
|
|
123
|
-
fileSort:
|
|
128
|
+
fileSort: r
|
|
124
129
|
};
|
|
125
130
|
}));
|
|
126
131
|
});
|
|
127
132
|
}
|
|
128
|
-
const p =
|
|
129
|
-
L.value &&
|
|
130
|
-
Object.assign(s, e),
|
|
133
|
+
const p = ne(R, "modelValue"), I = R, S = z, x = Object.keys(I.entityKey), L = y(x.length >= 1);
|
|
134
|
+
L.value && h.findById(I.entityKey).then(({ data: e }) => {
|
|
135
|
+
Object.assign(s, e), Z(), s.govOrgId && U(s.govOrgId);
|
|
131
136
|
});
|
|
132
|
-
const
|
|
137
|
+
const ee = async () => {
|
|
133
138
|
var e;
|
|
134
|
-
await ((e =
|
|
135
|
-
l && (L.value &&
|
|
136
|
-
console.log(
|
|
139
|
+
await ((e = N.value) == null ? void 0 : e.validate((l) => {
|
|
140
|
+
l && (L.value && I.entityKey.reportId && !I.isCopy ? h.update(s).then((r) => {
|
|
141
|
+
console.log(r), r.status === 200 && (F({
|
|
137
142
|
message: c("common.submitSuccess"),
|
|
138
143
|
type: "success"
|
|
139
|
-
}), p.value && (p.value = !1),
|
|
140
|
-
}) :
|
|
141
|
-
|
|
144
|
+
}), p.value && (p.value = !1), S("refresh", r.status === 200));
|
|
145
|
+
}) : I.isCopy ? h.create(s).then((r) => {
|
|
146
|
+
r.status === 200 && (F({
|
|
142
147
|
message: c("common.submitSuccess"),
|
|
143
148
|
type: "success"
|
|
144
|
-
}), p.value = !1,
|
|
145
|
-
}) :
|
|
146
|
-
console.log(
|
|
149
|
+
}), p.value = !1, S("refresh", !0));
|
|
150
|
+
}) : h.create(s).then((r) => {
|
|
151
|
+
console.log(r), r.status === 200 && (F({
|
|
147
152
|
message: c("common.submitSuccess"),
|
|
148
153
|
type: "success"
|
|
149
|
-
}), p.value && (p.value = !1),
|
|
154
|
+
}), p.value && (p.value = !1), S("refresh", r.status === 200));
|
|
150
155
|
}));
|
|
151
156
|
}));
|
|
152
157
|
};
|
|
@@ -154,24 +159,24 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
154
159
|
p.value && (p.value = !1);
|
|
155
160
|
}
|
|
156
161
|
return (e, l) => {
|
|
157
|
-
const
|
|
158
|
-
return f(),
|
|
159
|
-
t(
|
|
162
|
+
const r = u("el-option"), i = u("el-select"), d = u("el-form-item"), g = u("el-col"), _ = u("el-input"), m = u("el-button"), w = u("CircleClose"), le = u("el-icon"), te = u("el-row"), re = u("el-form"), oe = u("el-dialog"), ae = u("jmash-multi-upload");
|
|
163
|
+
return f(), v(b, null, [
|
|
164
|
+
t(oe, {
|
|
160
165
|
modelValue: p.value,
|
|
161
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
166
|
+
"onUpdate:modelValue": l[4] || (l[4] = (o) => p.value = o),
|
|
162
167
|
onClose: j
|
|
163
168
|
}, {
|
|
164
169
|
footer: a(() => [
|
|
165
|
-
|
|
166
|
-
t(
|
|
170
|
+
ie("div", Ie, [
|
|
171
|
+
t(m, { onClick: j }, {
|
|
167
172
|
default: a(() => [
|
|
168
173
|
k(V(e.$t("common.cancel")), 1)
|
|
169
174
|
]),
|
|
170
175
|
_: 1
|
|
171
176
|
}),
|
|
172
|
-
t(
|
|
177
|
+
t(m, {
|
|
173
178
|
type: "primary",
|
|
174
|
-
onClick:
|
|
179
|
+
onClick: ee
|
|
175
180
|
}, {
|
|
176
181
|
default: a(() => [
|
|
177
182
|
k(V(e.$t("common.confirm")), 1)
|
|
@@ -181,38 +186,38 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
181
186
|
])
|
|
182
187
|
]),
|
|
183
188
|
default: a(() => [
|
|
184
|
-
t(
|
|
189
|
+
t(re, {
|
|
185
190
|
ref_key: "reportThirdPartyFormRef",
|
|
186
|
-
ref:
|
|
191
|
+
ref: N,
|
|
187
192
|
model: n(s),
|
|
188
193
|
"label-width": "120px",
|
|
189
|
-
rules:
|
|
194
|
+
rules: G
|
|
190
195
|
}, {
|
|
191
196
|
default: a(() => [
|
|
192
|
-
t(
|
|
197
|
+
t(te, null, {
|
|
193
198
|
default: a(() => [
|
|
194
|
-
t(
|
|
199
|
+
t(g, { span: 12 }, {
|
|
195
200
|
default: a(() => [
|
|
196
201
|
t(d, {
|
|
197
202
|
label: e.$t("reportThirdParty.govOrgId"),
|
|
198
203
|
prop: "govOrgId"
|
|
199
204
|
}, {
|
|
200
205
|
default: a(() => [
|
|
201
|
-
t(
|
|
206
|
+
t(i, {
|
|
202
207
|
modelValue: n(s).govOrgId,
|
|
203
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
208
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => n(s).govOrgId = o),
|
|
204
209
|
placeholder: e.$t("reportThirdParty.govOrgIdRequired"),
|
|
205
|
-
data:
|
|
210
|
+
data: T.value,
|
|
206
211
|
clearable: "",
|
|
207
212
|
filterable: "",
|
|
208
213
|
class: "w-full",
|
|
209
|
-
onChange:
|
|
214
|
+
onChange: Y
|
|
210
215
|
}, {
|
|
211
216
|
default: a(() => [
|
|
212
|
-
(f(!0),
|
|
213
|
-
key:
|
|
214
|
-
value:
|
|
215
|
-
label:
|
|
217
|
+
(f(!0), v(b, null, O(T.value, (o) => (f(), B(r, {
|
|
218
|
+
key: o.belongOrgId,
|
|
219
|
+
value: o.belongOrgId,
|
|
220
|
+
label: o.belongOrgName
|
|
216
221
|
}, null, 8, ["value", "label"]))), 128))
|
|
217
222
|
]),
|
|
218
223
|
_: 1
|
|
@@ -223,27 +228,27 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
223
228
|
]),
|
|
224
229
|
_: 1
|
|
225
230
|
}),
|
|
226
|
-
t(
|
|
231
|
+
t(g, { span: 12 }, {
|
|
227
232
|
default: a(() => [
|
|
228
233
|
t(d, {
|
|
229
234
|
label: e.$t("reportThirdParty.itsmId"),
|
|
230
235
|
prop: "itsmId"
|
|
231
236
|
}, {
|
|
232
237
|
default: a(() => [
|
|
233
|
-
t(
|
|
238
|
+
t(i, {
|
|
234
239
|
modelValue: n(s).itsmId,
|
|
235
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
240
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => n(s).itsmId = o),
|
|
236
241
|
placeholder: e.$t("reportThirdParty.itemIdRequired"),
|
|
237
|
-
data:
|
|
242
|
+
data: M.value,
|
|
238
243
|
clearable: "",
|
|
239
244
|
filterable: "",
|
|
240
245
|
disabled: !n(s).govOrgId
|
|
241
246
|
}, {
|
|
242
247
|
default: a(() => [
|
|
243
|
-
(f(!0),
|
|
244
|
-
key:
|
|
245
|
-
value:
|
|
246
|
-
label:
|
|
248
|
+
(f(!0), v(b, null, O(M.value, (o) => (f(), B(r, {
|
|
249
|
+
key: o.key,
|
|
250
|
+
value: o.key,
|
|
251
|
+
label: o.value
|
|
247
252
|
}, null, 8, ["value", "label"]))), 128))
|
|
248
253
|
]),
|
|
249
254
|
_: 1
|
|
@@ -254,16 +259,16 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
254
259
|
]),
|
|
255
260
|
_: 1
|
|
256
261
|
}),
|
|
257
|
-
t(
|
|
262
|
+
t(g, { span: 12 }, {
|
|
258
263
|
default: a(() => [
|
|
259
264
|
t(d, {
|
|
260
265
|
label: e.$t("reportThirdParty.outOrgId"),
|
|
261
266
|
prop: "outOrgId"
|
|
262
267
|
}, {
|
|
263
268
|
default: a(() => [
|
|
264
|
-
t(
|
|
269
|
+
t(i, {
|
|
265
270
|
modelValue: n(s).outOrgId,
|
|
266
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
271
|
+
"onUpdate:modelValue": l[2] || (l[2] = (o) => n(s).outOrgId = o),
|
|
267
272
|
placeholder: e.$t("reportThirdParty.outOrgIdRequired"),
|
|
268
273
|
data: P.value,
|
|
269
274
|
clearable: "",
|
|
@@ -271,10 +276,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
271
276
|
class: "w-full"
|
|
272
277
|
}, {
|
|
273
278
|
default: a(() => [
|
|
274
|
-
(f(!0),
|
|
275
|
-
key:
|
|
276
|
-
value:
|
|
277
|
-
label:
|
|
279
|
+
(f(!0), v(b, null, O(P.value, (o) => (f(), B(r, {
|
|
280
|
+
key: o.key,
|
|
281
|
+
value: o.key,
|
|
282
|
+
label: o.value
|
|
278
283
|
}, null, 8, ["value", "label"]))), 128))
|
|
279
284
|
]),
|
|
280
285
|
_: 1
|
|
@@ -285,7 +290,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
285
290
|
]),
|
|
286
291
|
_: 1
|
|
287
292
|
}),
|
|
288
|
-
t(
|
|
293
|
+
t(g, { span: 12 }, {
|
|
289
294
|
default: a(() => [
|
|
290
295
|
t(d, {
|
|
291
296
|
label: e.$t("reportThirdParty.createBy"),
|
|
@@ -306,7 +311,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
306
311
|
]),
|
|
307
312
|
_: 1
|
|
308
313
|
}),
|
|
309
|
-
t(
|
|
314
|
+
t(g, { span: 24 }, {
|
|
310
315
|
default: a(() => [
|
|
311
316
|
t(d, {
|
|
312
317
|
label: e.$t("reportThirdParty.likeDescribe"),
|
|
@@ -315,7 +320,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
315
320
|
default: a(() => [
|
|
316
321
|
t(_, {
|
|
317
322
|
modelValue: n(s).describe,
|
|
318
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
323
|
+
"onUpdate:modelValue": l[3] || (l[3] = (o) => n(s).describe = o),
|
|
319
324
|
placeholder: e.$t("reportThirdParty.likeDescribeRequired"),
|
|
320
325
|
type: "textarea",
|
|
321
326
|
"show-word-limit": "",
|
|
@@ -327,17 +332,17 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
327
332
|
]),
|
|
328
333
|
_: 1
|
|
329
334
|
}),
|
|
330
|
-
t(
|
|
335
|
+
t(g, { span: 24 }, {
|
|
331
336
|
default: a(() => [
|
|
332
337
|
t(d, {
|
|
333
338
|
label: e.$t("reportDemandLedger.files"),
|
|
334
339
|
prop: "files"
|
|
335
340
|
}, {
|
|
336
341
|
default: a(() => [
|
|
337
|
-
t(
|
|
342
|
+
t(m, {
|
|
338
343
|
type: "primary",
|
|
339
|
-
icon: n(
|
|
340
|
-
onClick:
|
|
344
|
+
icon: n(pe),
|
|
345
|
+
onClick: Q
|
|
341
346
|
}, {
|
|
342
347
|
default: a(() => [
|
|
343
348
|
k(V(e.$t("common.uploadFiles")), 1)
|
|
@@ -349,18 +354,18 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
349
354
|
}, 8, ["label"]),
|
|
350
355
|
t(d, null, {
|
|
351
356
|
default: a(() => [
|
|
352
|
-
(f(!0),
|
|
353
|
-
key:
|
|
357
|
+
(f(!0), v(b, null, O(n(s).files, (o, E) => (f(), v("div", {
|
|
358
|
+
key: E,
|
|
354
359
|
class: "files-list"
|
|
355
360
|
}, [
|
|
356
|
-
k(V(
|
|
357
|
-
t(
|
|
361
|
+
k(V(o.fileName) + " ", 1),
|
|
362
|
+
t(le, {
|
|
358
363
|
size: "16",
|
|
359
364
|
class: "icon-right",
|
|
360
|
-
onClick: (
|
|
365
|
+
onClick: (he) => X(E)
|
|
361
366
|
}, {
|
|
362
367
|
default: a(() => [
|
|
363
|
-
t(
|
|
368
|
+
t(w)
|
|
364
369
|
]),
|
|
365
370
|
_: 2
|
|
366
371
|
}, 1032, ["onClick"])
|
|
@@ -380,17 +385,17 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
|
|
|
380
385
|
]),
|
|
381
386
|
_: 1
|
|
382
387
|
}, 8, ["modelValue"]),
|
|
383
|
-
t(
|
|
388
|
+
t(ae, {
|
|
384
389
|
ref_key: "uploadRef",
|
|
385
|
-
ref:
|
|
386
|
-
modelValue:
|
|
387
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
388
|
-
onUploadFileList:
|
|
390
|
+
ref: D,
|
|
391
|
+
modelValue: $.value,
|
|
392
|
+
"onUpdate:modelValue": l[5] || (l[5] = (o) => $.value = o),
|
|
393
|
+
onUploadFileList: W
|
|
389
394
|
}, null, 8, ["modelValue"])
|
|
390
395
|
], 64);
|
|
391
396
|
};
|
|
392
397
|
}
|
|
393
|
-
}), $e = /* @__PURE__ */ ye(ve, [["__scopeId", "data-v-
|
|
398
|
+
}), $e = /* @__PURE__ */ ye(ve, [["__scopeId", "data-v-37fddf6e"]]);
|
|
394
399
|
export {
|
|
395
400
|
$e as default
|
|
396
401
|
};
|