xyvcard-reports 0.0.21 → 0.0.22
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-9pctQCRS.mjs → FileSaver.min-COCd88eD.mjs} +1 -1
- package/dist/{add-Dx1n7NDH.mjs → add-C4gESTsp.mjs} +2 -2
- package/dist/{constant-qhPwZUPf.mjs → constant-DfJUUaoZ.mjs} +1697 -1715
- package/dist/{edit-CJeMVvsU.mjs → edit-BCiPdc7T.mjs} +17 -17
- package/dist/{edit-Cbj7MbVd.mjs → edit-Bq0b88mD.mjs} +12 -12
- package/dist/{edit-PMZyzVdm.mjs → edit-CnYqX0U5.mjs} +3 -3
- package/dist/{edit-C2HiAoqA.mjs → edit-DjbnllTF.mjs} +22 -22
- package/dist/{edit-BK2--9m5.mjs → edit-DodH-iWd.mjs} +3 -3
- package/dist/{edit-DXxz7V5O.mjs → edit-Dyc8Z5Yk.mjs} +21 -21
- package/dist/{edit-yO8sjDy8.mjs → edit-RSYMS8jG.mjs} +2 -2
- package/dist/{follow-P2_KfMjV.mjs → follow-DTqpxjNs.mjs} +1 -1
- package/dist/{import-upload-CDHQ05gt.mjs → import-upload-Lb9P3cOu.mjs} +1 -1
- package/dist/{import-upload-D4Ej-Wtd.mjs → import-upload-l3zvNUpN.mjs} +1 -1
- package/dist/{index-BYrvGkaE.mjs → index-Bho55iJk.mjs} +94 -94
- package/dist/{index-Cw5s4Yba.mjs → index-C113ntFm.mjs} +52 -52
- package/dist/{index-CRWVTZQ0.mjs → index-Caut0S4o.mjs} +1 -1
- package/dist/{index-XCypL2vG.mjs → index-CbUf6OZs.mjs} +10 -10
- package/dist/{index-BA2IISrV.mjs → index-Cr3ilMFl.mjs} +79 -79
- package/dist/{index-DS6wdvJi.mjs → index-CylvzMIF.mjs} +2 -2
- package/dist/{index-Bhr3FzhQ.mjs → index-DTVmC9_Q.mjs} +3 -3
- package/dist/{index-plPmX1H0.mjs → index-Di3jxTlH.mjs} +38 -38
- package/dist/{index-cmTCxGlG.mjs → index-H0Y_XeCY.mjs} +40 -40
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-XCLU3UjS.mjs → index.vue_vue_type_script_setup_true_lang-BUzs3CvO.mjs} +4 -4
- package/dist/{info-_7dAmewP.mjs → info-9zzOJlzr.mjs} +1 -1
- package/dist/{info-CvaNbkpA.mjs → info-B-Ni9z4q.mjs} +1 -1
- package/dist/{info-DrgpD5RU.mjs → info-BI1rq0Io.mjs} +1 -1
- package/dist/{info-DviWPK_1.mjs → info-CV0r2MjR.mjs} +1 -1
- package/dist/{info-BB5FtxWS.mjs → info-DI5eHd_J.mjs} +3 -3
- package/dist/{info-BP0B16YQ.mjs → info-kDtCxRbV.mjs} +3 -3
- package/dist/{info.vue_vue_type_script_setup_true_lang-CHaMCv-u.mjs → info.vue_vue_type_script_setup_true_lang--vj1czZX.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs → info.vue_vue_type_script_setup_true_lang-CFLtf8mI.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-Bkj6TnWJ.mjs → info.vue_vue_type_script_setup_true_lang-CTdPN7BB.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CHspChfW.mjs → info.vue_vue_type_script_setup_true_lang-Gb83ypk8.mjs} +2 -2
- package/dts/src/views/reports/report-demand-ledger/edit.vue.d.ts +2 -2
- package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +2 -2
- package/dts/src/views/reports/report-demand-ledger/info.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-matter/edit.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-matter/import-upload.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-matter/info.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-month-summary/edit.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-party/edit.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-party/info.vue.d.ts +1 -1
- package/dts/src/views/reports/report-third-use-support/edit.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-use-support/import-upload.vue.d.ts +2 -2
- package/dts/src/views/reports/report-third-use-support/info.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 +4 -4
- /package/dist/{index-CaHUk1EF-Cw4XGyg-.mjs → index-D1SasUNc-Cw4XGyg-.mjs} +0 -0
|
@@ -2,10 +2,10 @@ 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-CylvzMIF.mjs";
|
|
6
6
|
import { useUserStoreHook as se } from "jmash-core";
|
|
7
|
-
import { C as ne, J as ie, $ as ue,
|
|
8
|
-
import "./index-
|
|
7
|
+
import { C as ne, J as ie, $ as ue, G as me } from "./constant-DfJUUaoZ.mjs";
|
|
8
|
+
import "./index-D1SasUNc-Cw4XGyg-.mjs";
|
|
9
9
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
10
|
const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
11
11
|
__name: "edit",
|
|
@@ -24,7 +24,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
24
24
|
modelModifiers: {}
|
|
25
25
|
}),
|
|
26
26
|
emits: /* @__PURE__ */ F(["refresh"], ["update:modelValue"]),
|
|
27
|
-
setup(
|
|
27
|
+
setup(S, { emit: L }) {
|
|
28
28
|
const { t: b } = ae(), M = se(), N = c(), k = c([]), v = c([]), T = c([]);
|
|
29
29
|
let l = U({
|
|
30
30
|
requestId: Math.random() * 10 + "",
|
|
@@ -95,11 +95,11 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
95
95
|
trigger: "change"
|
|
96
96
|
}
|
|
97
97
|
]
|
|
98
|
-
}), f = oe(
|
|
99
|
-
function
|
|
98
|
+
}), f = oe(S, "modelValue"), A = L, P = c(!1), R = c();
|
|
99
|
+
function G() {
|
|
100
100
|
P.value = !0, R.value.clearFileList();
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function H(e) {
|
|
103
103
|
var d;
|
|
104
104
|
l.files = [];
|
|
105
105
|
const t = {
|
|
@@ -109,17 +109,17 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
109
109
|
};
|
|
110
110
|
(d = l.files) == null || d.push(t), l.files.length > 0 && !l.describe && (l.describe = l.files[0].fileName);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function J(e) {
|
|
113
113
|
var t, d;
|
|
114
114
|
(t = l.files) == null || t.splice(e, 1), ((d = l.files) == null ? void 0 : d.length) === 0 && (l.describe = "");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function z(e) {
|
|
117
117
|
l.files && l.files.length > 0 && (l.files = l.files.map((t) => ({
|
|
118
118
|
...t,
|
|
119
119
|
fileName: e
|
|
120
120
|
})));
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const K = async () => {
|
|
123
123
|
var e;
|
|
124
124
|
await ((e = N.value) == null ? void 0 : e.validate((t) => {
|
|
125
125
|
t && $.create(l).then((d) => {
|
|
@@ -134,7 +134,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
134
134
|
f.value && (f.value = !1);
|
|
135
135
|
}
|
|
136
136
|
return (e, t) => {
|
|
137
|
-
const d = m("el-option"), i = m("el-select"), n = m("el-form-item"), u = m("el-col"), h = m("el-input"), C = m("el-button"),
|
|
137
|
+
const d = m("el-option"), i = m("el-select"), n = m("el-form-item"), u = m("el-col"), h = m("el-input"), C = m("el-button"), Y = m("CircleClose"), Q = m("el-icon"), W = m("el-row"), X = m("el-form"), Z = m("el-dialog"), x = m("jmash-multi-upload");
|
|
138
138
|
return p(), g(I, null, [
|
|
139
139
|
o(Z, {
|
|
140
140
|
modelValue: f.value,
|
|
@@ -151,7 +151,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
151
151
|
}),
|
|
152
152
|
o(C, {
|
|
153
153
|
type: "primary",
|
|
154
|
-
onClick:
|
|
154
|
+
onClick: K
|
|
155
155
|
}, {
|
|
156
156
|
default: a(() => [
|
|
157
157
|
O(V(e.$t("common.confirm")), 1)
|
|
@@ -302,7 +302,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
302
302
|
"show-word-limit": "",
|
|
303
303
|
clearable: "",
|
|
304
304
|
disabled: ((r = s(l).files) == null ? void 0 : r.length) === 0,
|
|
305
|
-
onInput:
|
|
305
|
+
onInput: z
|
|
306
306
|
}, null, 8, ["modelValue", "placeholder", "disabled"])
|
|
307
307
|
];
|
|
308
308
|
}),
|
|
@@ -321,7 +321,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
321
321
|
o(C, {
|
|
322
322
|
type: "primary",
|
|
323
323
|
icon: s(de),
|
|
324
|
-
onClick:
|
|
324
|
+
onClick: G,
|
|
325
325
|
disabled: !!s(l).files && s(l).files.length >= 1
|
|
326
326
|
}, {
|
|
327
327
|
default: a(() => [
|
|
@@ -342,10 +342,10 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
342
342
|
o(Q, {
|
|
343
343
|
size: "16",
|
|
344
344
|
class: "icon-right",
|
|
345
|
-
onClick: (ge) =>
|
|
345
|
+
onClick: (ge) => J(y)
|
|
346
346
|
}, {
|
|
347
347
|
default: a(() => [
|
|
348
|
-
o(
|
|
348
|
+
o(Y)
|
|
349
349
|
]),
|
|
350
350
|
_: 2
|
|
351
351
|
}, 1032, ["onClick"])
|
|
@@ -370,7 +370,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
|
|
|
370
370
|
ref: R,
|
|
371
371
|
modelValue: P.value,
|
|
372
372
|
"onUpdate:modelValue": t[5] || (t[5] = (r) => P.value = r),
|
|
373
|
-
onUploadFileList:
|
|
373
|
+
onUploadFileList: H
|
|
374
374
|
}, null, 8, ["modelValue"])
|
|
375
375
|
], 64);
|
|
376
376
|
};
|
|
@@ -2,12 +2,12 @@ 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-CylvzMIF.mjs";
|
|
6
6
|
import { useUserStoreHook as ne } from "jmash-core";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-H0Y_XeCY.mjs";
|
|
8
8
|
import { r as pe } from "./index-ISkSSB59.mjs";
|
|
9
|
-
import { C as me, J as fe, $ as ce,
|
|
10
|
-
import "./index-
|
|
9
|
+
import { C as me, J as fe, $ as ce, G as ge } from "./constant-DfJUUaoZ.mjs";
|
|
10
|
+
import "./index-D1SasUNc-Cw4XGyg-.mjs";
|
|
11
11
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
12
12
|
const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
13
13
|
__name: "edit",
|
|
@@ -48,7 +48,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
48
48
|
});
|
|
49
49
|
}) : T.value = [];
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function G(e) {
|
|
52
52
|
a.itsmId = void 0, K(e);
|
|
53
53
|
}
|
|
54
54
|
fe.findById({ userId: R.user.userId }).then((e) => {
|
|
@@ -68,7 +68,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
68
68
|
];
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
-
const
|
|
71
|
+
const J = A({
|
|
72
72
|
govOrgId: [
|
|
73
73
|
{
|
|
74
74
|
required: !0,
|
|
@@ -98,10 +98,10 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
98
98
|
}
|
|
99
99
|
]
|
|
100
100
|
}), $ = g(!1), U = g();
|
|
101
|
-
function
|
|
101
|
+
function z() {
|
|
102
102
|
$.value = !0, U.value.clearFileList();
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function H(e) {
|
|
105
105
|
var d;
|
|
106
106
|
const l = {
|
|
107
107
|
fileName: e.name,
|
|
@@ -186,7 +186,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
186
186
|
ref: B,
|
|
187
187
|
model: s(a),
|
|
188
188
|
"label-width": "120px",
|
|
189
|
-
rules:
|
|
189
|
+
rules: J
|
|
190
190
|
}, {
|
|
191
191
|
default: r(() => [
|
|
192
192
|
t(ee, null, {
|
|
@@ -206,7 +206,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
206
206
|
clearable: "",
|
|
207
207
|
filterable: "",
|
|
208
208
|
class: "w-full",
|
|
209
|
-
onChange:
|
|
209
|
+
onChange: G
|
|
210
210
|
}, {
|
|
211
211
|
default: r(() => [
|
|
212
212
|
(f(!0), b(v, null, O(_.value, (o) => (f(), S(d, {
|
|
@@ -377,7 +377,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
377
377
|
t(C, {
|
|
378
378
|
type: "primary",
|
|
379
379
|
icon: s(ie),
|
|
380
|
-
onClick:
|
|
380
|
+
onClick: z
|
|
381
381
|
}, {
|
|
382
382
|
default: r(() => [
|
|
383
383
|
V(k(e.$t("common.uploadFiles")), 1)
|
|
@@ -425,7 +425,7 @@ const he = { class: "dialog-footer" }, be = /* @__PURE__ */ re({
|
|
|
425
425
|
ref: U,
|
|
426
426
|
modelValue: $.value,
|
|
427
427
|
"onUpdate:modelValue": l[7] || (l[7] = (o) => $.value = o),
|
|
428
|
-
onUploadFileList:
|
|
428
|
+
onUploadFileList: H
|
|
429
429
|
}, null, 8, ["modelValue"])
|
|
430
430
|
], 64);
|
|
431
431
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as H, mergeModels as S, ref as g, reactive as R, computed as i, useModel as X, resolveComponent as c, createBlock as L, openBlock as T, withCtx as a, createVNode as e, unref as s, createCommentVNode as x, createElementVNode as z, createTextVNode as w, toDisplayString as E } from "vue";
|
|
2
2
|
import { ElMessage as A } from "element-plus";
|
|
3
3
|
import { useI18n as J } from "vue-i18n";
|
|
4
|
-
import { a as I } from "./index-
|
|
4
|
+
import { a as I } from "./index-CylvzMIF.mjs";
|
|
5
5
|
import { useRoute as Q } from "vue-router";
|
|
6
|
-
import { D as q } from "./index-
|
|
7
|
-
import { C as d } from "./constant-
|
|
6
|
+
import { D as q } from "./index-H0Y_XeCY.mjs";
|
|
7
|
+
import { C as d } from "./constant-DfJUUaoZ.mjs";
|
|
8
8
|
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
9
|
const ee = { class: "dialog-footer" }, te = /* @__PURE__ */ H({
|
|
10
10
|
__name: "edit",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as ae, mergeModels as
|
|
1
|
+
import { defineComponent as ae, mergeModels as E, ref as g, reactive as L, computed as de, useModel as se, resolveComponent as n, createElementBlock as b, openBlock as f, Fragment as v, createVNode as t, withCtx as o, unref as s, renderList as _, createBlock as w, createTextVNode as O, toDisplayString as T, createElementVNode as ue } from "vue";
|
|
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-CylvzMIF.mjs";
|
|
6
6
|
import { useUserStoreHook as pe } from "jmash-core";
|
|
7
|
-
import { D as me } from "./index-
|
|
7
|
+
import { D as me } from "./index-H0Y_XeCY.mjs";
|
|
8
8
|
import { r as fe } from "./index-ISkSSB59.mjs";
|
|
9
|
-
import { C as ce, J as ge, $ as ye,
|
|
10
|
-
import "./index-
|
|
9
|
+
import { C as ce, J as ge, $ as ye, G as he } from "./constant-DfJUUaoZ.mjs";
|
|
10
|
+
import "./index-D1SasUNc-Cw4XGyg-.mjs";
|
|
11
11
|
import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
12
12
|
const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
13
13
|
__name: "edit",
|
|
14
|
-
props: /* @__PURE__ */
|
|
14
|
+
props: /* @__PURE__ */ E({
|
|
15
15
|
entityKey: {
|
|
16
16
|
type: Object,
|
|
17
17
|
default: () => {
|
|
@@ -25,10 +25,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
25
25
|
modelValue: { type: Boolean },
|
|
26
26
|
modelModifiers: {}
|
|
27
27
|
}),
|
|
28
|
-
emits: /* @__PURE__ */
|
|
28
|
+
emits: /* @__PURE__ */ E(["refresh"], ["update:modelValue"]),
|
|
29
29
|
setup(M, { emit: A }) {
|
|
30
30
|
const { t: c } = ie(), R = pe(), B = g(), V = g([]), k = g([]), P = g([]);
|
|
31
|
-
let a =
|
|
31
|
+
let a = L({
|
|
32
32
|
requestId: Math.random() * 10 + "",
|
|
33
33
|
updateMask: "govOrgId,itsmId,outOrgId,describe,files,proposeMethod,matterSource,matterType",
|
|
34
34
|
matterSort: ce.METTER,
|
|
@@ -48,7 +48,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
48
48
|
});
|
|
49
49
|
}) : P.value = [];
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function G(e) {
|
|
52
52
|
a.itsmId = void 0, K(e);
|
|
53
53
|
}
|
|
54
54
|
ge.findById({ userId: R.user.userId }).then((e) => {
|
|
@@ -68,7 +68,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
68
68
|
];
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
-
const
|
|
71
|
+
const J = L({
|
|
72
72
|
govOrgId: [
|
|
73
73
|
{
|
|
74
74
|
required: !0,
|
|
@@ -98,10 +98,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
98
98
|
}
|
|
99
99
|
]
|
|
100
100
|
}), $ = g(!1), U = g();
|
|
101
|
-
function
|
|
101
|
+
function z() {
|
|
102
102
|
$.value = !0, U.value.clearFileList();
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function H(e) {
|
|
105
105
|
var d;
|
|
106
106
|
const l = {
|
|
107
107
|
fileName: e.name,
|
|
@@ -150,7 +150,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
150
150
|
}));
|
|
151
151
|
}));
|
|
152
152
|
};
|
|
153
|
-
function
|
|
153
|
+
function j() {
|
|
154
154
|
m.value && (m.value = !1);
|
|
155
155
|
}
|
|
156
156
|
return (e, l) => {
|
|
@@ -159,11 +159,11 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
159
159
|
t(re, {
|
|
160
160
|
modelValue: m.value,
|
|
161
161
|
"onUpdate:modelValue": l[7] || (l[7] = (r) => m.value = r),
|
|
162
|
-
onClose:
|
|
162
|
+
onClose: j
|
|
163
163
|
}, {
|
|
164
164
|
footer: o(() => [
|
|
165
165
|
ue("div", Ie, [
|
|
166
|
-
t(C, { onClick:
|
|
166
|
+
t(C, { onClick: j }, {
|
|
167
167
|
default: o(() => [
|
|
168
168
|
O(T(e.$t("common.cancel")), 1)
|
|
169
169
|
]),
|
|
@@ -186,7 +186,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
186
186
|
ref: B,
|
|
187
187
|
model: s(a),
|
|
188
188
|
"label-width": "120px",
|
|
189
|
-
rules:
|
|
189
|
+
rules: J
|
|
190
190
|
}, {
|
|
191
191
|
default: o(() => [
|
|
192
192
|
t(le, null, {
|
|
@@ -206,7 +206,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
206
206
|
clearable: "",
|
|
207
207
|
filterable: "",
|
|
208
208
|
class: "w-full",
|
|
209
|
-
onChange:
|
|
209
|
+
onChange: G
|
|
210
210
|
}, {
|
|
211
211
|
default: o(() => [
|
|
212
212
|
(f(!0), b(v, null, _(k.value, (r) => (f(), w(d, {
|
|
@@ -399,7 +399,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
399
399
|
t(C, {
|
|
400
400
|
type: "primary",
|
|
401
401
|
icon: s(ne),
|
|
402
|
-
onClick:
|
|
402
|
+
onClick: z
|
|
403
403
|
}, {
|
|
404
404
|
default: o(() => [
|
|
405
405
|
O(T(e.$t("common.uploadFiles")), 1)
|
|
@@ -411,15 +411,15 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
411
411
|
}, 8, ["label"]),
|
|
412
412
|
t(u, null, {
|
|
413
413
|
default: o(() => [
|
|
414
|
-
(f(!0), b(v, null, _(s(a).files, (r,
|
|
415
|
-
key:
|
|
414
|
+
(f(!0), b(v, null, _(s(a).files, (r, D) => (f(), b("div", {
|
|
415
|
+
key: D,
|
|
416
416
|
class: "files-list"
|
|
417
417
|
}, [
|
|
418
418
|
O(T(r.fileName) + " ", 1),
|
|
419
419
|
t(ee, {
|
|
420
420
|
size: "16",
|
|
421
421
|
class: "icon-right",
|
|
422
|
-
onClick: (_e) => Q(
|
|
422
|
+
onClick: (_e) => Q(D)
|
|
423
423
|
}, {
|
|
424
424
|
default: o(() => [
|
|
425
425
|
t(x)
|
|
@@ -447,7 +447,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ ae({
|
|
|
447
447
|
ref: U,
|
|
448
448
|
modelValue: $.value,
|
|
449
449
|
"onUpdate:modelValue": l[8] || (l[8] = (r) => $.value = r),
|
|
450
|
-
onUploadFileList:
|
|
450
|
+
onUploadFileList: H
|
|
451
451
|
}, null, 8, ["modelValue"])
|
|
452
452
|
], 64);
|
|
453
453
|
};
|
|
@@ -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-BUzs3CvO.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-CylvzMIF.mjs";
|
|
7
|
+
import { D as $e } from "./index-H0Y_XeCY.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) => {
|
|
@@ -2,10 +2,10 @@ 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 pe } from "./index-CJ1aT1h5.mjs";
|
|
5
|
-
import { r as b } from "./index-
|
|
5
|
+
import { r as b } from "./index-CylvzMIF.mjs";
|
|
6
6
|
import { useUserStoreHook as me } from "jmash-core";
|
|
7
7
|
import { r as fe } from "./index-ISkSSB59.mjs";
|
|
8
|
-
import { C as
|
|
8
|
+
import { C as G, J as H, $ as ce, G as ge } from "./constant-DfJUUaoZ.mjs";
|
|
9
9
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
10
|
const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
11
11
|
__name: "edit",
|
|
@@ -24,23 +24,23 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
24
24
|
modelModifiers: {}
|
|
25
25
|
}),
|
|
26
26
|
emits: /* @__PURE__ */ A(["refresh"], ["update:modelValue"]),
|
|
27
|
-
setup(N, { emit:
|
|
28
|
-
const { t: c } = ue(), T = me(),
|
|
27
|
+
setup(N, { emit: J }) {
|
|
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
|
-
matterSort:
|
|
32
|
+
matterSort: G.SECURITY,
|
|
33
33
|
files: []
|
|
34
34
|
});
|
|
35
35
|
const $ = de(() => q.value);
|
|
36
36
|
console.log($.value, "=> filteredItemOptions");
|
|
37
|
-
function
|
|
38
|
-
e ?
|
|
37
|
+
function U(e) {
|
|
38
|
+
e ? H.findById({ userId: T.user.userId }).then((l) => {
|
|
39
39
|
const { data: o } = l;
|
|
40
40
|
b.findMyProjects({
|
|
41
41
|
belongOrgId: e,
|
|
42
42
|
likeServiceOrg: o.orgId,
|
|
43
|
-
applyStatus:
|
|
43
|
+
applyStatus: G.FINISHED
|
|
44
44
|
}).then((i) => {
|
|
45
45
|
const d = i.data.itsmId, k = [...new Set(d)].map(
|
|
46
46
|
(m) => ge.findById({ itemId: m }).then((B) => ({
|
|
@@ -54,10 +54,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
54
54
|
});
|
|
55
55
|
}) : q.value = [];
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
s.itsmId = void 0,
|
|
57
|
+
function z(e) {
|
|
58
|
+
s.itsmId = void 0, U(e);
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
H.findById({ userId: T.user.userId }).then((e) => {
|
|
61
61
|
const { data: l } = e;
|
|
62
62
|
b.findMyBelongOrgs({ likeServiceOrg: l.orgId }).then((o) => {
|
|
63
63
|
const i = /* @__PURE__ */ new Map();
|
|
@@ -74,7 +74,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
74
74
|
], console.log(_.value, "=> outOrgIdList");
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
|
-
const
|
|
77
|
+
const Y = K({
|
|
78
78
|
govOrgId: [
|
|
79
79
|
{
|
|
80
80
|
required: !0,
|
|
@@ -103,9 +103,9 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
103
103
|
trigger: "change"
|
|
104
104
|
}
|
|
105
105
|
]
|
|
106
|
-
}), S = y(!1),
|
|
106
|
+
}), S = y(!1), L = y();
|
|
107
107
|
function Q() {
|
|
108
|
-
S.value = !0,
|
|
108
|
+
S.value = !0, L.value.clearFileList();
|
|
109
109
|
}
|
|
110
110
|
function W(e) {
|
|
111
111
|
var o;
|
|
@@ -131,13 +131,13 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
131
131
|
}));
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
const p = ne(N, "modelValue"), I = N, w =
|
|
134
|
+
const p = ne(N, "modelValue"), I = N, w = J, x = Object.keys(I.entityKey), D = y(x.length >= 1);
|
|
135
135
|
D.value && b.findById(I.entityKey).then(({ data: e }) => {
|
|
136
|
-
Object.assign(s, e), Z(), s.govOrgId &&
|
|
136
|
+
Object.assign(s, e), Z(), s.govOrgId && U(s.govOrgId);
|
|
137
137
|
});
|
|
138
138
|
const ee = async () => {
|
|
139
139
|
var e;
|
|
140
|
-
await ((e =
|
|
140
|
+
await ((e = M.value) == null ? void 0 : e.validate((l) => {
|
|
141
141
|
l && (D.value && I.entityKey.reportId && !I.isCopy ? b.update(s).then((o) => {
|
|
142
142
|
console.log(o), o.status === 200 && (R({
|
|
143
143
|
message: c("common.submitSuccess"),
|
|
@@ -189,10 +189,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
189
189
|
default: a(() => [
|
|
190
190
|
t(oe, {
|
|
191
191
|
ref_key: "reportThirdPartyFormRef",
|
|
192
|
-
ref:
|
|
192
|
+
ref: M,
|
|
193
193
|
model: n(s),
|
|
194
194
|
"label-width": "120px",
|
|
195
|
-
rules:
|
|
195
|
+
rules: Y
|
|
196
196
|
}, {
|
|
197
197
|
default: a(() => [
|
|
198
198
|
t(te, null, {
|
|
@@ -212,7 +212,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
212
212
|
clearable: "",
|
|
213
213
|
filterable: "",
|
|
214
214
|
class: "w-full",
|
|
215
|
-
onChange:
|
|
215
|
+
onChange: z
|
|
216
216
|
}, {
|
|
217
217
|
default: a(() => [
|
|
218
218
|
(f(!0), v(h, null, V(O.value, (r) => (f(), F(o, {
|
|
@@ -388,7 +388,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
|
|
|
388
388
|
}, 8, ["modelValue"]),
|
|
389
389
|
t(ae, {
|
|
390
390
|
ref_key: "uploadRef",
|
|
391
|
-
ref:
|
|
391
|
+
ref: L,
|
|
392
392
|
modelValue: S.value,
|
|
393
393
|
"onUpdate:modelValue": l[5] || (l[5] = (r) => S.value = r),
|
|
394
394
|
onUploadFileList: W
|
|
@@ -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 { a as ve, D as c } from "./index-
|
|
8
|
-
import { C as z } from "./constant-
|
|
7
|
+
import { a as ve, D as c } from "./index-H0Y_XeCY.mjs";
|
|
8
|
+
import { C as z } from "./constant-DfJUUaoZ.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({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as O, mergeModels as I, ref as Y, reactive as v, useMod
|
|
|
2
2
|
import { ElMessage as F } from "element-plus";
|
|
3
3
|
import { useI18n as N } from "vue-i18n";
|
|
4
4
|
import { r as A } from "./index-DVvlf-iS.mjs";
|
|
5
|
-
import { D as p } from "./index-
|
|
5
|
+
import { D as p } from "./index-H0Y_XeCY.mjs";
|
|
6
6
|
import { r as E } from "./index-BdtTv-FT.mjs";
|
|
7
7
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
8
|
const T = { class: "dialog-footer" }, G = /* @__PURE__ */ O({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as K, ref as i, reactive as w, toRefs as Q, computed as
|
|
|
2
2
|
import { useI18n as te } from "vue-i18n";
|
|
3
3
|
import { ElMessage as g } from "element-plus";
|
|
4
4
|
import { fileApi as $, useUserStore as O } from "jmash-core";
|
|
5
|
-
import { D as U } from "./index-
|
|
5
|
+
import { D as U } from "./index-H0Y_XeCY.mjs";
|
|
6
6
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const le = { class: "el-upload__text" }, ae = { style: { color: "var(--el-color-primary)" } }, ne = { class: "dialog-footer" }, se = /* @__PURE__ */ K({
|
|
8
8
|
__name: "import-upload",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as K, ref as i, reactive as w, toRefs as Q, computed as
|
|
|
2
2
|
import { useI18n as te } from "vue-i18n";
|
|
3
3
|
import { ElMessage as g } from "element-plus";
|
|
4
4
|
import { fileApi as $, useUserStore as O } from "jmash-core";
|
|
5
|
-
import { D as U } from "./index-
|
|
5
|
+
import { D as U } from "./index-H0Y_XeCY.mjs";
|
|
6
6
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const le = { class: "el-upload__text" }, ae = { style: { color: "var(--el-color-primary)" } }, ne = { class: "dialog-footer" }, se = /* @__PURE__ */ K({
|
|
8
8
|
__name: "import-upload",
|