xyvcard-reports 0.0.21 → 0.0.23
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-Dc06xYwc.mjs} +1 -1
- package/dist/{add-Dx1n7NDH.mjs → add-C4FvKrKc.mjs} +29 -43
- package/dist/{constant-qhPwZUPf.mjs → constant-DfJUUaoZ.mjs} +1697 -1715
- package/dist/edit-B0uQHdvK.mjs +250 -0
- package/dist/{edit-CJeMVvsU.mjs → edit-Cbck32LF.mjs} +17 -17
- package/dist/{edit-yO8sjDy8.mjs → edit-Ce7JMzm-.mjs} +5 -5
- package/dist/{edit-C2HiAoqA.mjs → edit-CpPDiJhB.mjs} +22 -22
- package/dist/{edit-BK2--9m5.mjs → edit-CxAB2NnD.mjs} +3 -3
- package/dist/{edit-DXxz7V5O.mjs → edit-DrGeCVLm.mjs} +21 -21
- package/dist/{edit-Cbj7MbVd.mjs → edit-W6JZmN0d.mjs} +12 -12
- package/dist/{follow-P2_KfMjV.mjs → follow-w6DcwXWs.mjs} +1 -1
- package/dist/{import-upload-CDHQ05gt.mjs → import-upload-BL3nk4jR.mjs} +1 -1
- package/dist/{import-upload-D4Ej-Wtd.mjs → import-upload-CmEF0ael.mjs} +1 -1
- package/dist/{index-Cw5s4Yba.mjs → index-BMC-dFKp.mjs} +52 -52
- package/dist/{index-plPmX1H0.mjs → index-BWjImAcy.mjs} +38 -38
- package/dist/{index-DS6wdvJi.mjs → index-C6KhUgNb.mjs} +112 -110
- package/dist/index-CoohNnvz.mjs +535 -0
- package/dist/{index-BA2IISrV.mjs → index-CtDoWUbK.mjs} +79 -79
- package/dist/{index-Bhr3FzhQ.mjs → index-D4BwhmeZ.mjs} +3 -3
- package/dist/{index-cmTCxGlG.mjs → index-DVeiAERA.mjs} +374 -354
- package/dist/{index-CRWVTZQ0.mjs → index-Hr7f4lpj.mjs} +1 -1
- package/dist/{index-BYrvGkaE.mjs → index-_JX5t0Fe.mjs} +94 -94
- 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-Bs0bxd3_.mjs} +4 -4
- package/dist/{info-_7dAmewP.mjs → info-BZIg0kvO.mjs} +1 -1
- package/dist/{info-CvaNbkpA.mjs → info-CglTApBo.mjs} +1 -1
- package/dist/{info-DrgpD5RU.mjs → info-DJRZrRlT.mjs} +1 -1
- package/dist/{info-DviWPK_1.mjs → info-DRU_rNkT.mjs} +1 -1
- package/dist/{info-BB5FtxWS.mjs → info-DSHS2DDz.mjs} +3 -3
- package/dist/{info-BP0B16YQ.mjs → info-ENbXnUBe.mjs} +3 -3
- package/dist/{info.vue_vue_type_script_setup_true_lang-CHaMCv-u.mjs → info.vue_vue_type_script_setup_true_lang-8IpRDNNG.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-Bkj6TnWJ.mjs → info.vue_vue_type_script_setup_true_lang-ClMQKKyT.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs → info.vue_vue_type_script_setup_true_lang-Dh7j-YaV.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CHspChfW.mjs → info.vue_vue_type_script_setup_true_lang-T0LkBVf0.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dts/src/api/reports/dict.d.ts +3 -0
- package/dts/src/api/reports/index.d.ts +2 -1
- package/dts/src/lang/reports/zh-cn.d.ts +2 -0
- package/dts/src/views/reports/report-demand-ledger/follow.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/package.json +4 -4
- package/dist/edit-PMZyzVdm.mjs +0 -222
- package/dist/index-XCypL2vG.mjs +0 -502
- /package/dist/{index-CaHUk1EF-Cw4XGyg-.mjs → index-D1SasUNc-Cw4XGyg-.mjs} +0 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { defineComponent as H, mergeModels as R, ref as L, reactive as T, computed as p, useModel as X, resolveComponent as c, createBlock as q, openBlock as w, withCtx as a, createVNode as t, unref as s, createCommentVNode as x, createElementVNode as z, createTextVNode as E, toDisplayString as A } from "vue";
|
|
2
|
+
import { ElMessage as D } from "element-plus";
|
|
3
|
+
import { useI18n as J } from "vue-i18n";
|
|
4
|
+
import { a as I } from "./index-C6KhUgNb.mjs";
|
|
5
|
+
import { useRoute as Q } from "vue-router";
|
|
6
|
+
import { D as C } from "./index-DVeiAERA.mjs";
|
|
7
|
+
import { C as d } from "./constant-DfJUUaoZ.mjs";
|
|
8
|
+
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
const ee = { class: "dialog-footer" }, te = /* @__PURE__ */ H({
|
|
10
|
+
__name: "edit",
|
|
11
|
+
props: /* @__PURE__ */ R({
|
|
12
|
+
entityKey: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default: () => {
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}, {
|
|
18
|
+
modelValue: { type: Boolean },
|
|
19
|
+
modelModifiers: {}
|
|
20
|
+
}),
|
|
21
|
+
emits: /* @__PURE__ */ R(["refresh"], ["update:modelValue"]),
|
|
22
|
+
setup(k, { emit: N }) {
|
|
23
|
+
const { t: e } = J();
|
|
24
|
+
console.log(C.riskLevelEnum.values, "=> riskLevelEnum");
|
|
25
|
+
const o = Q(), _ = L();
|
|
26
|
+
let r = T({
|
|
27
|
+
requestId: Math.random() * 10 + "",
|
|
28
|
+
updateMask: "mattersDimension,mattersItem,mattersStandard,mattersWay,riskLevel",
|
|
29
|
+
inspectId: o.query.inspectId,
|
|
30
|
+
inspectType: o.query.inspectType
|
|
31
|
+
});
|
|
32
|
+
const W = p(() => o.query.inspectType === d.LOG_ANALYSIS ? e("taskInspectMatters.checklistItem") : e("taskInspectMatters.mattersItem")), O = p(() => o.query.inspectType === d.LOG_ANALYSIS ? e("taskInspectMatters.checklistItemRead") : e("taskInspectMatters.mattersItemRead")), P = p(() => o.query.inspectType === d.SOFTWARE ? e("taskInspectMatters.checkCategory") : e("taskInspectMatters.mattersDimension")), g = p(() => o.query.inspectType === d.SOFTWARE ? e("taskInspectMatters.checkCategoryRead") : e("taskInspectMatters.mattersDimensionRead")), U = p(() => o.query.inspectType === d.LOG_ANALYSIS ? e("taskInspectMatters.complianceStandard") : o.query.inspectType === d.EXPERT_INSPECTION ? e("taskInspectMatters.professionalStandards") : e("taskInspectMatters.mattersStandard")), v = p(() => o.query.inspectType === d.LOG_ANALYSIS ? e("taskInspectMatters.complianceStandardRead") : o.query.inspectType === d.EXPERT_INSPECTION ? e("taskInspectMatters.professionalStandardsRead") : e("taskInspectMatters.mattersStandardRead")), $ = T({
|
|
33
|
+
mattersItem: [
|
|
34
|
+
{
|
|
35
|
+
required: !0,
|
|
36
|
+
message: e("taskInspectMatters.mattersItemRead"),
|
|
37
|
+
trigger: "change"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
riskLevel: [
|
|
41
|
+
{
|
|
42
|
+
required: !0,
|
|
43
|
+
message: e("taskInspectMatters.riskLevelRead"),
|
|
44
|
+
trigger: "change"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
mattersDimension: [
|
|
48
|
+
{
|
|
49
|
+
required: !0,
|
|
50
|
+
message: g.value,
|
|
51
|
+
trigger: "change"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
mattersStandard: [
|
|
55
|
+
{
|
|
56
|
+
required: !0,
|
|
57
|
+
message: v.value,
|
|
58
|
+
trigger: "change"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
mattersWay: [
|
|
62
|
+
{
|
|
63
|
+
required: !0,
|
|
64
|
+
message: e("taskInspectMatters.mattersWayRead"),
|
|
65
|
+
trigger: "change"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}), i = X(k, "modelValue"), M = k, h = N, j = Object.keys(M.entityKey), b = L(j.length >= 1);
|
|
69
|
+
b.value && I.findById(M.entityKey).then(({ data: m }) => {
|
|
70
|
+
Object.assign(r, m);
|
|
71
|
+
});
|
|
72
|
+
const F = async () => {
|
|
73
|
+
var m;
|
|
74
|
+
await ((m = _.value) == null ? void 0 : m.validate((l) => {
|
|
75
|
+
l && (b.value ? I.update(r).then((n) => {
|
|
76
|
+
console.log(n), n.status === 200 && (D({
|
|
77
|
+
message: e("common.submitSuccess"),
|
|
78
|
+
type: "success"
|
|
79
|
+
}), i.value && (i.value = !1), h("refresh", n.status === 200));
|
|
80
|
+
}) : I.create(r).then((n) => {
|
|
81
|
+
console.log(n), n.status === 200 && (D({
|
|
82
|
+
message: e("common.submitSuccess"),
|
|
83
|
+
type: "success"
|
|
84
|
+
}), i.value && (i.value = !1), h("refresh", n.status === 200));
|
|
85
|
+
}));
|
|
86
|
+
}));
|
|
87
|
+
};
|
|
88
|
+
function S() {
|
|
89
|
+
i.value && (i.value = !1);
|
|
90
|
+
}
|
|
91
|
+
return (m, l) => {
|
|
92
|
+
const n = c("el-input"), f = c("el-form-item"), y = c("el-col"), B = c("jmash-select"), G = c("el-row"), Y = c("el-form"), V = c("el-button"), K = c("el-dialog");
|
|
93
|
+
return w(), q(K, {
|
|
94
|
+
modelValue: i.value,
|
|
95
|
+
"onUpdate:modelValue": l[5] || (l[5] = (u) => i.value = u),
|
|
96
|
+
onClose: S
|
|
97
|
+
}, {
|
|
98
|
+
footer: a(() => [
|
|
99
|
+
z("div", ee, [
|
|
100
|
+
t(V, { onClick: S }, {
|
|
101
|
+
default: a(() => [
|
|
102
|
+
E(A(m.$t("common.cancel")), 1)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}),
|
|
106
|
+
t(V, {
|
|
107
|
+
type: "primary",
|
|
108
|
+
onClick: F
|
|
109
|
+
}, {
|
|
110
|
+
default: a(() => [
|
|
111
|
+
E(A(m.$t("common.confirm")), 1)
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
})
|
|
115
|
+
])
|
|
116
|
+
]),
|
|
117
|
+
default: a(() => [
|
|
118
|
+
t(Y, {
|
|
119
|
+
ref_key: "taskInspectMattersFormRef",
|
|
120
|
+
ref: _,
|
|
121
|
+
model: s(r),
|
|
122
|
+
"label-width": "120px",
|
|
123
|
+
rules: $
|
|
124
|
+
}, {
|
|
125
|
+
default: a(() => [
|
|
126
|
+
t(G, null, {
|
|
127
|
+
default: a(() => [
|
|
128
|
+
t(y, { span: 24 }, {
|
|
129
|
+
default: a(() => [
|
|
130
|
+
t(f, {
|
|
131
|
+
label: W.value,
|
|
132
|
+
prop: "mattersItem"
|
|
133
|
+
}, {
|
|
134
|
+
default: a(() => [
|
|
135
|
+
t(n, {
|
|
136
|
+
modelValue: s(r).mattersItem,
|
|
137
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => s(r).mattersItem = u),
|
|
138
|
+
placeholder: O.value,
|
|
139
|
+
"show-word-limit": "",
|
|
140
|
+
clearable: ""
|
|
141
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
}, 8, ["label"])
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}),
|
|
148
|
+
s(o).query.inspectType === s(d).HARDWARE ? (w(), q(y, {
|
|
149
|
+
key: 0,
|
|
150
|
+
span: 12
|
|
151
|
+
}, {
|
|
152
|
+
default: a(() => [
|
|
153
|
+
t(f, {
|
|
154
|
+
label: m.$t("taskInspectMatters.riskLevel"),
|
|
155
|
+
prop: "riskLevel"
|
|
156
|
+
}, {
|
|
157
|
+
default: a(() => [
|
|
158
|
+
t(B, {
|
|
159
|
+
modelValue: s(r).riskLevel,
|
|
160
|
+
"onUpdate:modelValue": l[1] || (l[1] = (u) => s(r).riskLevel = u),
|
|
161
|
+
data: s(C).riskLevelEnum.values,
|
|
162
|
+
placeholder: m.$t("taskInspectMatters.riskLevelRead"),
|
|
163
|
+
"show-word-limit": "",
|
|
164
|
+
clearable: "",
|
|
165
|
+
class: "w-full"
|
|
166
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}, 8, ["label"])
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
})) : x("", !0),
|
|
173
|
+
t(y, {
|
|
174
|
+
span: s(o).query.inspectType === s(d).HARDWARE ? 12 : 24
|
|
175
|
+
}, {
|
|
176
|
+
default: a(() => [
|
|
177
|
+
t(f, {
|
|
178
|
+
label: P.value,
|
|
179
|
+
prop: "mattersDimension"
|
|
180
|
+
}, {
|
|
181
|
+
default: a(() => [
|
|
182
|
+
t(n, {
|
|
183
|
+
modelValue: s(r).mattersDimension,
|
|
184
|
+
"onUpdate:modelValue": l[2] || (l[2] = (u) => s(r).mattersDimension = u),
|
|
185
|
+
placeholder: g.value,
|
|
186
|
+
"show-word-limit": "",
|
|
187
|
+
clearable: ""
|
|
188
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["label"])
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
}, 8, ["span"]),
|
|
195
|
+
t(y, { span: 24 }, {
|
|
196
|
+
default: a(() => [
|
|
197
|
+
t(f, {
|
|
198
|
+
label: U.value,
|
|
199
|
+
prop: "mattersStandard"
|
|
200
|
+
}, {
|
|
201
|
+
default: a(() => [
|
|
202
|
+
t(n, {
|
|
203
|
+
modelValue: s(r).mattersStandard,
|
|
204
|
+
"onUpdate:modelValue": l[3] || (l[3] = (u) => s(r).mattersStandard = u),
|
|
205
|
+
placeholder: v.value,
|
|
206
|
+
"show-word-limit": "",
|
|
207
|
+
clearable: ""
|
|
208
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
209
|
+
]),
|
|
210
|
+
_: 1
|
|
211
|
+
}, 8, ["label"])
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}),
|
|
215
|
+
t(y, { span: 24 }, {
|
|
216
|
+
default: a(() => [
|
|
217
|
+
t(f, {
|
|
218
|
+
label: m.$t("taskInspectMatters.mattersWay"),
|
|
219
|
+
prop: "mattersWay"
|
|
220
|
+
}, {
|
|
221
|
+
default: a(() => [
|
|
222
|
+
t(n, {
|
|
223
|
+
modelValue: s(r).mattersWay,
|
|
224
|
+
"onUpdate:modelValue": l[4] || (l[4] = (u) => s(r).mattersWay = u),
|
|
225
|
+
placeholder: m.$t("taskInspectMatters.mattersWayRead"),
|
|
226
|
+
"show-word-limit": "",
|
|
227
|
+
clearable: "",
|
|
228
|
+
type: "textarea"
|
|
229
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
}, 8, ["label"])
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
})
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
}, 8, ["model", "rules"])
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["modelValue"]);
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
}), de = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-0e4a6a48"]]);
|
|
248
|
+
export {
|
|
249
|
+
de as default
|
|
250
|
+
};
|
|
@@ -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-C6KhUgNb.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
|
};
|
|
@@ -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-DVeiAERA.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({
|
|
@@ -318,14 +318,14 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
|
|
|
318
318
|
l(p, { span: 24 }, {
|
|
319
319
|
default: d(() => [
|
|
320
320
|
l(u, {
|
|
321
|
-
label: t.$t("reportDemandLedger.
|
|
321
|
+
label: t.$t("reportDemandLedger.content"),
|
|
322
322
|
prop: "content"
|
|
323
323
|
}, {
|
|
324
324
|
default: d(() => [
|
|
325
325
|
l(U, {
|
|
326
326
|
modelValue: r(e).content,
|
|
327
327
|
"onUpdate:modelValue": a[3] || (a[3] = (o) => r(e).content = o),
|
|
328
|
-
placeholder: t.$t("reportDemandLedger.
|
|
328
|
+
placeholder: t.$t("reportDemandLedger.contentRequired"),
|
|
329
329
|
type: "textarea",
|
|
330
330
|
"show-word-limit": "",
|
|
331
331
|
clearable: "",
|
|
@@ -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-3dd44ca3"]]);
|
|
556
556
|
export {
|
|
557
557
|
Me as default
|
|
558
558
|
};
|
|
@@ -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-C6KhUgNb.mjs";
|
|
6
6
|
import { useUserStoreHook as pe } from "jmash-core";
|
|
7
|
-
import { D as me } from "./index-
|
|
7
|
+
import { D as me } from "./index-DVeiAERA.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-Bs0bxd3_.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-C6KhUgNb.mjs";
|
|
7
|
+
import { D as $e } from "./index-DVeiAERA.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) => {
|