xyvcard-reports 0.0.19 → 0.0.21
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-pkIPzuSf.mjs → FileSaver.min-9pctQCRS.mjs} +1 -1
- package/dist/{add-DffdINsL.mjs → add-Dx1n7NDH.mjs} +2 -2
- package/dist/{constant-DViNTpBY.mjs → constant-qhPwZUPf.mjs} +2134 -2084
- package/dist/{edit-D7XxpHeq.mjs → edit-BK2--9m5.mjs} +3 -3
- package/dist/{edit-C4VeyM3B.mjs → edit-C2HiAoqA.mjs} +20 -20
- package/dist/{edit-D7_DMGWO.mjs → edit-CJeMVvsU.mjs} +8 -8
- package/dist/{edit-CiApG8IE.mjs → edit-Cbj7MbVd.mjs} +10 -10
- package/dist/{edit-DiJGXpqt.mjs → edit-DXxz7V5O.mjs} +11 -11
- package/dist/{edit-_UsSuMdw.mjs → edit-PMZyzVdm.mjs} +3 -3
- package/dist/{edit-BkIvAc_z.mjs → edit-yO8sjDy8.mjs} +2 -2
- package/dist/{follow-BInjR_c-.mjs → follow-P2_KfMjV.mjs} +1 -1
- package/dist/{import-upload-CVWhT3dS.mjs → import-upload-CDHQ05gt.mjs} +1 -1
- package/dist/{import-upload-BuMaDGi0.mjs → import-upload-D4Ej-Wtd.mjs} +1 -1
- package/dist/{index-C7CnRVtn.mjs → index-BA2IISrV.mjs} +183 -170
- package/dist/{index-CbWfowvu.mjs → index-BYrvGkaE.mjs} +150 -139
- package/dist/{index-DmeDYGNi.mjs → index-Bhr3FzhQ.mjs} +3 -3
- package/dist/{index-B8BxqvlQ.mjs → index-CRWVTZQ0.mjs} +1 -1
- package/dist/index-CaHUk1EF-Cw4XGyg-.mjs +3042 -0
- package/dist/{index-Dk4UPiq7.mjs → index-Cw5s4Yba.mjs} +152 -139
- package/dist/{index-CRJLLhma.mjs → index-DS6wdvJi.mjs} +2 -2
- package/dist/{index-B_AxECLr.mjs → index-XCypL2vG.mjs} +166 -157
- package/dist/index-cmTCxGlG.mjs +1909 -0
- package/dist/{index-F_lMgx9W.mjs → index-plPmX1H0.mjs} +167 -154
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BHI1ur2J.mjs → index.vue_vue_type_script_setup_true_lang-XCLU3UjS.mjs} +4 -4
- package/dist/{info-cv-wiwFs.mjs → info-BB5FtxWS.mjs} +3 -3
- package/dist/{info-DC_SLi8k.mjs → info-BP0B16YQ.mjs} +3 -3
- package/dist/{info-IIY7Euy3.mjs → info-CvaNbkpA.mjs} +1 -1
- package/dist/{info-Bm4Dsm8M.mjs → info-DrgpD5RU.mjs} +1 -1
- package/dist/{info-CW7CL4Ko.mjs → info-DviWPK_1.mjs} +1 -1
- package/dist/{info-CXBdrR-y.mjs → info-_7dAmewP.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DVarUDtY.mjs → info.vue_vue_type_script_setup_true_lang-Bkj6TnWJ.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-B7Fw120q.mjs → info.vue_vue_type_script_setup_true_lang-CHaMCv-u.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BxLYzDWi.mjs → info.vue_vue_type_script_setup_true_lang-CHspChfW.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CPtlno35.mjs → info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs} +2 -2
- package/dts/src/api/reports/dict.d.ts +4 -1
- package/dts/src/api/reports/index.d.ts +2 -1
- package/dts/src/utils/returnBizLay.d.ts +2 -0
- package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +3 -3
- package/dts/src/views/reports/task-inspect-matters/edit.vue.d.ts +1 -1
- package/package.json +5 -4
- package/dist/index-BoPDZM_b-Dr6nUlmS.mjs +0 -1809
- package/dist/index-CtbfBxfN.mjs +0 -79
- package/dist/index-DQ9bz2at.mjs +0 -30122
|
@@ -1,30 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { r as
|
|
5
|
-
import
|
|
6
|
-
import { _ as
|
|
7
|
-
import { b as
|
|
8
|
-
import { C as
|
|
9
|
-
import { O as
|
|
10
|
-
import { F as
|
|
11
|
-
import
|
|
12
|
-
const
|
|
1
|
+
import { defineComponent as pe, getCurrentInstance as ue, watch as me, ref as O, reactive as M, onActivated as ce, resolveComponent as u, resolveDirective as ye, createElementBlock as T, openBlock as s, createElementVNode as D, createVNode as r, createBlock as g, createCommentVNode as k, withCtx as l, withKeys as z, unref as a, createTextVNode as c, toDisplayString as i, withDirectives as h, isRef as Q } from "vue";
|
|
2
|
+
import { useTableHooks as ve } from "jmash-core";
|
|
3
|
+
import { useI18n as fe } from "vue-i18n";
|
|
4
|
+
import { r as N } from "./index-DS6wdvJi.mjs";
|
|
5
|
+
import be from "./edit-C2HiAoqA.mjs";
|
|
6
|
+
import { _ as ge } from "./info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs";
|
|
7
|
+
import { b as he } from "./index-B_hFZVhb-C3Oi__-I.mjs";
|
|
8
|
+
import { C as P } from "./constant-qhPwZUPf.mjs";
|
|
9
|
+
import { a as Te, O as we, D as R } from "./index-cmTCxGlG.mjs";
|
|
10
|
+
import { F as Ie } from "./FileSaver.min-9pctQCRS.mjs";
|
|
11
|
+
import _e from "./import-upload-D4Ej-Wtd.mjs";
|
|
12
|
+
const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e = { key: 0 }, Ve = { key: 0 }, Oe = ["onClick"], De = ["onClick"], Pe = ["onClick"], Re = ["onClick"], Ae = /* @__PURE__ */ pe({
|
|
13
13
|
__name: "index",
|
|
14
|
-
setup(
|
|
15
|
-
const { proxy: q } =
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
14
|
+
setup(Ee) {
|
|
15
|
+
const { proxy: q } = ue(), B = new Te({ orgType: P.OUTSOURCE });
|
|
16
|
+
B.useValues();
|
|
17
|
+
const E = new we({ orgType: P.HALL });
|
|
18
|
+
E.useValues(), me(
|
|
19
|
+
() => E.values,
|
|
20
|
+
(o) => {
|
|
21
|
+
o && o.length > 0 && (n.value.govOrgId || (n.value.govOrgId = o[0].value, d.handleQuery()));
|
|
22
|
+
},
|
|
23
|
+
{ immediate: !0, deep: !0 }
|
|
24
|
+
// 立即执行并深度监听
|
|
25
|
+
), R.itemBizLayDict.useValues();
|
|
26
|
+
const { t: v } = fe(), n = O({
|
|
27
|
+
matterSort: P.METTER
|
|
19
28
|
}), {
|
|
20
|
-
tableHooks:
|
|
29
|
+
tableHooks: d,
|
|
21
30
|
multipleTableRef: F,
|
|
22
|
-
queryFormRef:
|
|
23
|
-
listLoading:
|
|
24
|
-
tableData:
|
|
25
|
-
total:
|
|
26
|
-
} =
|
|
27
|
-
let
|
|
31
|
+
queryFormRef: A,
|
|
32
|
+
listLoading: H,
|
|
33
|
+
tableData: K,
|
|
34
|
+
total: U
|
|
35
|
+
} = ve(v, N, n);
|
|
36
|
+
let C = O([
|
|
28
37
|
{
|
|
29
38
|
label: "reportThirdParty.govOrgId",
|
|
30
39
|
prop: "govOrgId",
|
|
@@ -102,98 +111,102 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
102
111
|
isColumn: !0
|
|
103
112
|
}
|
|
104
113
|
]);
|
|
105
|
-
const
|
|
106
|
-
title:
|
|
114
|
+
const p = O({
|
|
115
|
+
title: v("common.edit"),
|
|
107
116
|
visible: !1,
|
|
108
117
|
isCopy: !1
|
|
109
|
-
}),
|
|
110
|
-
title:
|
|
118
|
+
}), w = O({
|
|
119
|
+
title: v("common.view"),
|
|
111
120
|
visible: !1
|
|
112
121
|
});
|
|
113
|
-
let
|
|
114
|
-
function
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
function Y(o) {
|
|
118
|
-
C.reportId = o.reportId, s.value.isCopy = !1, s.value.title = y("common.edit"), s.value.visible = !0;
|
|
122
|
+
let I = M({});
|
|
123
|
+
function Y() {
|
|
124
|
+
I = M({}), p.value.title = v("common.add"), p.value.visible = !0, p.value.isCopy = !1;
|
|
119
125
|
}
|
|
120
126
|
function W(o) {
|
|
121
|
-
|
|
127
|
+
I.reportId = o.reportId, p.value.isCopy = !1, p.value.title = v("common.edit"), p.value.visible = !0;
|
|
122
128
|
}
|
|
123
129
|
function x(o) {
|
|
124
|
-
|
|
130
|
+
I.reportId = o.reportId, w.value.title = v("common.view"), w.value.visible = !0;
|
|
125
131
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
D.value = !1;
|
|
132
|
+
function G(o) {
|
|
133
|
+
I.reportId = o.reportId, p.value.isCopy = !0, p.value.title = v("reportDemandLedger.copy"), p.value.visible = !0;
|
|
129
134
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
135
|
+
const $ = O(!1);
|
|
136
|
+
function J() {
|
|
137
|
+
$.value = !1;
|
|
138
|
+
}
|
|
139
|
+
function X(o) {
|
|
140
|
+
N.downloadTemplate().then((e) => {
|
|
141
|
+
const V = new Blob([e.data], {
|
|
133
142
|
type: "application/octet-stream"
|
|
134
143
|
});
|
|
135
|
-
|
|
144
|
+
Ie.saveAs(V, o + ".xlsx");
|
|
136
145
|
});
|
|
137
146
|
}
|
|
138
|
-
function
|
|
139
|
-
o.updateMask = "", o.matterSort =
|
|
140
|
-
|
|
147
|
+
function Z(o) {
|
|
148
|
+
o.updateMask = "", o.matterSort = P.METTER, d.importExcel(o).then(() => {
|
|
149
|
+
$.value = !1;
|
|
141
150
|
});
|
|
142
151
|
}
|
|
143
|
-
const
|
|
152
|
+
const ee = async (o) => {
|
|
144
153
|
try {
|
|
145
154
|
const e = {
|
|
146
155
|
req: {
|
|
147
|
-
matterSort:
|
|
156
|
+
matterSort: P.METTER,
|
|
148
157
|
...o == null ? void 0 : o.req
|
|
149
158
|
}
|
|
150
159
|
};
|
|
151
160
|
console.log(e, "=>exportParams ");
|
|
152
|
-
const
|
|
161
|
+
const V = await N.exportPdf(
|
|
153
162
|
e
|
|
154
|
-
), f = new Blob([
|
|
155
|
-
|
|
163
|
+
), f = new Blob([V.data], { type: "application/pdf" }), m = window.URL.createObjectURL(f), y = document.createElement("a");
|
|
164
|
+
y.href = m, y.download = "事项记录表.pdf", document.body.appendChild(y), y.click(), document.body.removeChild(y), window.URL.revokeObjectURL(m);
|
|
156
165
|
} catch (e) {
|
|
157
166
|
throw console.error("导出PDF失败:", e), new Error("导出PDF失败");
|
|
158
167
|
}
|
|
159
168
|
};
|
|
160
|
-
function ee(o) {
|
|
161
|
-
p.selectionRows.value = o;
|
|
162
|
-
}
|
|
163
169
|
function te(o) {
|
|
164
|
-
|
|
170
|
+
d.selectionRows.value = o;
|
|
171
|
+
}
|
|
172
|
+
function oe(o) {
|
|
173
|
+
d.handleSort(o.prop, o.order);
|
|
174
|
+
}
|
|
175
|
+
function j(o) {
|
|
176
|
+
o && d.getList();
|
|
165
177
|
}
|
|
166
|
-
function
|
|
167
|
-
|
|
178
|
+
function le() {
|
|
179
|
+
n.value.govOrgId = void 0, d.resetQuery(), d.handleQuery();
|
|
168
180
|
}
|
|
169
|
-
return
|
|
170
|
-
|
|
181
|
+
return ce(() => {
|
|
182
|
+
d.getList();
|
|
171
183
|
}), (o, e) => {
|
|
172
|
-
const
|
|
173
|
-
return
|
|
174
|
-
|
|
175
|
-
r(
|
|
184
|
+
const V = u("el-tree-select"), f = u("el-form-item"), m = u("el-col"), y = u("jmash-select"), re = u("el-input"), L = u("el-row"), _ = u("el-button"), ae = u("el-form"), ne = u("jmash-column-select"), ie = u("jmash-table"), de = u("jmash-pagination"), se = u("el-card"), b = ye("hasPerm");
|
|
185
|
+
return s(), T("div", ke, [
|
|
186
|
+
D("div", Ce, [
|
|
187
|
+
r(ae, {
|
|
176
188
|
ref_key: "queryFormRef",
|
|
177
|
-
ref:
|
|
189
|
+
ref: A,
|
|
178
190
|
model: n.value,
|
|
179
191
|
inline: !0
|
|
180
192
|
}, {
|
|
181
193
|
default: l(() => [
|
|
182
|
-
r(
|
|
194
|
+
r(L, null, {
|
|
183
195
|
default: l(() => [
|
|
184
|
-
r(
|
|
196
|
+
r(m, { span: 6 }, {
|
|
185
197
|
default: l(() => [
|
|
186
198
|
r(f, {
|
|
187
199
|
label: o.$t("reportThirdParty.govOrgId"),
|
|
188
200
|
prop: "govOrgId"
|
|
189
201
|
}, {
|
|
190
202
|
default: l(() => [
|
|
191
|
-
r(
|
|
203
|
+
r(V, {
|
|
192
204
|
modelValue: n.value.govOrgId,
|
|
193
205
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => n.value.govOrgId = t),
|
|
194
206
|
placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
|
|
195
|
-
data: a(
|
|
196
|
-
|
|
207
|
+
data: a(E).values,
|
|
208
|
+
"node-key": "value",
|
|
209
|
+
onKeyup: e[1] || (e[1] = z((t) => a(d).handleQuery(), ["enter"])),
|
|
197
210
|
clearable: "",
|
|
198
211
|
filterable: ""
|
|
199
212
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -203,19 +216,19 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
203
216
|
]),
|
|
204
217
|
_: 1
|
|
205
218
|
}),
|
|
206
|
-
r(
|
|
219
|
+
r(m, { span: 6 }, {
|
|
207
220
|
default: l(() => [
|
|
208
221
|
r(f, {
|
|
209
222
|
label: o.$t("reportThirdParty.itsmId"),
|
|
210
223
|
prop: "itsmId"
|
|
211
224
|
}, {
|
|
212
225
|
default: l(() => [
|
|
213
|
-
r(
|
|
226
|
+
r(y, {
|
|
214
227
|
modelValue: n.value.itsmId,
|
|
215
228
|
"onUpdate:modelValue": e[2] || (e[2] = (t) => n.value.itsmId = t),
|
|
216
229
|
placeholder: o.$t("reportThirdParty.itemIdRequired"),
|
|
217
|
-
data: a(
|
|
218
|
-
onKeyup: e[3] || (e[3] =
|
|
230
|
+
data: a(R).itemBizLayDict.values,
|
|
231
|
+
onKeyup: e[3] || (e[3] = z((t) => a(d).handleQuery(), ["enter"])),
|
|
219
232
|
clearable: "",
|
|
220
233
|
filterable: ""
|
|
221
234
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -225,18 +238,18 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
225
238
|
]),
|
|
226
239
|
_: 1
|
|
227
240
|
}),
|
|
228
|
-
r(
|
|
241
|
+
r(m, { span: 6 }, {
|
|
229
242
|
default: l(() => [
|
|
230
243
|
r(f, {
|
|
231
244
|
label: o.$t("reportThirdParty.likeDescribe"),
|
|
232
245
|
prop: "likeDescribe"
|
|
233
246
|
}, {
|
|
234
247
|
default: l(() => [
|
|
235
|
-
r(
|
|
248
|
+
r(re, {
|
|
236
249
|
modelValue: n.value.likeDescribe,
|
|
237
250
|
"onUpdate:modelValue": e[4] || (e[4] = (t) => n.value.likeDescribe = t),
|
|
238
251
|
placeholder: o.$t("reportThirdParty.likeDescribeRequired"),
|
|
239
|
-
onKeyup: e[5] || (e[5] =
|
|
252
|
+
onKeyup: e[5] || (e[5] = z((t) => a(d).handleQuery(), ["enter"])),
|
|
240
253
|
class: "!w-[203px]"
|
|
241
254
|
}, null, 8, ["modelValue", "placeholder"])
|
|
242
255
|
]),
|
|
@@ -245,18 +258,18 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
245
258
|
]),
|
|
246
259
|
_: 1
|
|
247
260
|
}),
|
|
248
|
-
r(
|
|
261
|
+
r(m, { span: 6 }, {
|
|
249
262
|
default: l(() => [
|
|
250
263
|
r(f, {
|
|
251
264
|
label: o.$t("reportThirdParty.outOrgId"),
|
|
252
265
|
prop: "outOrgId"
|
|
253
266
|
}, {
|
|
254
267
|
default: l(() => [
|
|
255
|
-
r(
|
|
268
|
+
r(y, {
|
|
256
269
|
modelValue: n.value.outOrgId,
|
|
257
270
|
"onUpdate:modelValue": e[6] || (e[6] = (t) => n.value.outOrgId = t),
|
|
258
271
|
placeholder: o.$t("reportThirdParty.outOrgIdRequired"),
|
|
259
|
-
data: a(
|
|
272
|
+
data: a(B).values,
|
|
260
273
|
clearable: "",
|
|
261
274
|
filterable: "",
|
|
262
275
|
class: "w-full"
|
|
@@ -270,20 +283,20 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
270
283
|
]),
|
|
271
284
|
_: 1
|
|
272
285
|
}),
|
|
273
|
-
r(
|
|
286
|
+
r(L, null, {
|
|
274
287
|
default: l(() => [
|
|
275
|
-
r(
|
|
288
|
+
r(m, { span: 6 }, {
|
|
276
289
|
default: l(() => [
|
|
277
290
|
r(f, {
|
|
278
291
|
label: o.$t("reportThirdParty.matterType"),
|
|
279
292
|
prop: "matterType"
|
|
280
293
|
}, {
|
|
281
294
|
default: l(() => [
|
|
282
|
-
r(
|
|
295
|
+
r(y, {
|
|
283
296
|
modelValue: n.value.matterType,
|
|
284
297
|
"onUpdate:modelValue": e[7] || (e[7] = (t) => n.value.matterType = t),
|
|
285
298
|
placeholder: o.$t("reportThirdParty.matterTypeRequired"),
|
|
286
|
-
data: a(
|
|
299
|
+
data: a(R).matterTypeEnum.values,
|
|
287
300
|
clearable: "",
|
|
288
301
|
filterable: ""
|
|
289
302
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -293,21 +306,21 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
293
306
|
]),
|
|
294
307
|
_: 1
|
|
295
308
|
}),
|
|
296
|
-
r(
|
|
309
|
+
r(m, { span: 18 }, {
|
|
297
310
|
default: l(() => [
|
|
298
311
|
r(f, { class: "search-btn" }, {
|
|
299
312
|
default: l(() => [
|
|
300
|
-
r(
|
|
313
|
+
r(_, {
|
|
301
314
|
type: "primary",
|
|
302
|
-
onClick: e[8] || (e[8] = (t) => a(
|
|
315
|
+
onClick: e[8] || (e[8] = (t) => a(d).handleQuery())
|
|
303
316
|
}, {
|
|
304
317
|
default: l(() => [
|
|
305
318
|
c(i(o.$t("common.search")), 1)
|
|
306
319
|
]),
|
|
307
320
|
_: 1
|
|
308
321
|
}),
|
|
309
|
-
r(
|
|
310
|
-
onClick: e[9] || (e[9] = (t) =>
|
|
322
|
+
r(_, {
|
|
323
|
+
onClick: e[9] || (e[9] = (t) => le())
|
|
311
324
|
}, {
|
|
312
325
|
default: l(() => [
|
|
313
326
|
c(i(o.$t("common.reset")), 1)
|
|
@@ -326,20 +339,20 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
326
339
|
]),
|
|
327
340
|
_: 1
|
|
328
341
|
}, 8, ["model"]),
|
|
329
|
-
e[21] || (e[21] =
|
|
342
|
+
e[21] || (e[21] = D("div", { class: "clear" }, null, -1))
|
|
330
343
|
]),
|
|
331
|
-
r(
|
|
344
|
+
r(se, {
|
|
332
345
|
shadow: "never",
|
|
333
346
|
class: "table-container"
|
|
334
347
|
}, {
|
|
335
348
|
header: l(() => [
|
|
336
|
-
r(
|
|
349
|
+
r(L, null, {
|
|
337
350
|
default: l(() => [
|
|
338
|
-
r(
|
|
351
|
+
r(m, { span: 17 }, {
|
|
339
352
|
default: l(() => [
|
|
340
|
-
h((
|
|
353
|
+
h((s(), g(_, {
|
|
341
354
|
type: "primary",
|
|
342
|
-
onClick:
|
|
355
|
+
onClick: Y
|
|
343
356
|
}, {
|
|
344
357
|
default: l(() => [
|
|
345
358
|
c(i(o.$t("common.add")), 1)
|
|
@@ -348,9 +361,9 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
348
361
|
})), [
|
|
349
362
|
[b, ["reports:report_third_party:add"]]
|
|
350
363
|
]),
|
|
351
|
-
h((
|
|
364
|
+
h((s(), g(_, {
|
|
352
365
|
type: "primary",
|
|
353
|
-
onClick: e[10] || (e[10] = (t) => a(
|
|
366
|
+
onClick: e[10] || (e[10] = (t) => a(d).deleteRecords())
|
|
354
367
|
}, {
|
|
355
368
|
default: l(() => [
|
|
356
369
|
c(i(o.$t("common.batchDelete")), 1)
|
|
@@ -362,15 +375,15 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
362
375
|
]),
|
|
363
376
|
_: 1
|
|
364
377
|
}),
|
|
365
|
-
r(
|
|
378
|
+
r(m, {
|
|
366
379
|
span: 7,
|
|
367
380
|
class: "container-float"
|
|
368
381
|
}, {
|
|
369
382
|
default: l(() => [
|
|
370
|
-
h((
|
|
383
|
+
h((s(), g(_, {
|
|
371
384
|
plain: "",
|
|
372
385
|
type: "primary",
|
|
373
|
-
onClick: e[11] || (e[11] = (t) =>
|
|
386
|
+
onClick: e[11] || (e[11] = (t) => $.value = !0)
|
|
374
387
|
}, {
|
|
375
388
|
default: l(() => [
|
|
376
389
|
c(i(o.$t("common.import")), 1)
|
|
@@ -379,10 +392,10 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
379
392
|
})), [
|
|
380
393
|
[b, ["itsmsys:report_third_party:import"]]
|
|
381
394
|
]),
|
|
382
|
-
h((
|
|
395
|
+
h((s(), g(_, {
|
|
383
396
|
plain: "",
|
|
384
397
|
type: "primary",
|
|
385
|
-
onClick: e[12] || (e[12] = (t) =>
|
|
398
|
+
onClick: e[12] || (e[12] = (t) => ee())
|
|
386
399
|
}, {
|
|
387
400
|
default: l(() => [
|
|
388
401
|
c(i(o.$t("common.export")), 1)
|
|
@@ -391,9 +404,9 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
391
404
|
})), [
|
|
392
405
|
[b, ["reports:report_third_party:export"]]
|
|
393
406
|
]),
|
|
394
|
-
r(
|
|
395
|
-
modelValue: a(
|
|
396
|
-
"onUpdate:modelValue": e[13] || (e[13] = (t) =>
|
|
407
|
+
r(ne, {
|
|
408
|
+
modelValue: a(C),
|
|
409
|
+
"onUpdate:modelValue": e[13] || (e[13] = (t) => Q(C) ? C.value = t : C = t),
|
|
397
410
|
"label-name": "reports/report-third-party"
|
|
398
411
|
}, null, 8, ["modelValue"])
|
|
399
412
|
]),
|
|
@@ -404,39 +417,39 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
404
417
|
})
|
|
405
418
|
]),
|
|
406
419
|
footer: l(() => [
|
|
407
|
-
a(
|
|
420
|
+
a(U) > 0 ? (s(), g(de, {
|
|
408
421
|
key: 0,
|
|
409
|
-
total: a(
|
|
410
|
-
"onUpdate:total": e[14] || (e[14] = (t) =>
|
|
422
|
+
total: a(U),
|
|
423
|
+
"onUpdate:total": e[14] || (e[14] = (t) => Q(U) ? U.value = t : null),
|
|
411
424
|
"current-page": n.value.curPage,
|
|
412
425
|
"onUpdate:currentPage": e[15] || (e[15] = (t) => n.value.curPage = t),
|
|
413
426
|
"page-size": n.value.pageSize,
|
|
414
427
|
"onUpdate:pageSize": e[16] || (e[16] = (t) => n.value.pageSize = t),
|
|
415
|
-
onPagination: e[17] || (e[17] = (t) => a(
|
|
416
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
428
|
+
onPagination: e[17] || (e[17] = (t) => a(d).getList())
|
|
429
|
+
}, null, 8, ["total", "current-page", "page-size"])) : k("", !0)
|
|
417
430
|
]),
|
|
418
431
|
default: l(() => [
|
|
419
|
-
r(
|
|
432
|
+
r(ie, {
|
|
420
433
|
ref_key: "multipleTableRef",
|
|
421
434
|
ref: F,
|
|
422
435
|
"row-key": "reportId",
|
|
423
|
-
"list-loading": a(
|
|
424
|
-
data: a(
|
|
425
|
-
"table-label": a(
|
|
426
|
-
onSelectionChange:
|
|
427
|
-
onSortChange:
|
|
436
|
+
"list-loading": a(H),
|
|
437
|
+
data: a(K),
|
|
438
|
+
"table-label": a(C),
|
|
439
|
+
onSelectionChange: te,
|
|
440
|
+
onSortChange: oe
|
|
428
441
|
}, {
|
|
429
442
|
govOrgId: l((t) => [
|
|
430
|
-
|
|
443
|
+
D("span", null, i(a(E).getValue(t.data.row.govOrgId)), 1)
|
|
431
444
|
]),
|
|
432
445
|
itsmId: l((t) => [
|
|
433
|
-
|
|
446
|
+
D("span", null, i(a(R).itemBizLayDict.getValue(t.data.row.itsmId)), 1)
|
|
434
447
|
]),
|
|
435
448
|
matterType: l((t) => [
|
|
436
|
-
|
|
449
|
+
D("span", null, i(a(R).matterTypeEnum.getEnumValue(t.data.row.matterType)), 1)
|
|
437
450
|
]),
|
|
438
451
|
createBy: l((t) => [
|
|
439
|
-
t.data.row.createBy ? (
|
|
452
|
+
t.data.row.createBy ? (s(), T("span", $e, i(a(he).userInfo(t.data.row.createBy).realName), 1)) : k("", !0)
|
|
440
453
|
]),
|
|
441
454
|
createTime: l((t) => [
|
|
442
455
|
c(i(a(q).$moment.formatDate(
|
|
@@ -445,39 +458,39 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
445
458
|
)), 1)
|
|
446
459
|
]),
|
|
447
460
|
outOrgId: l((t) => [
|
|
448
|
-
t.data.row.outOrgId ? (
|
|
461
|
+
t.data.row.outOrgId ? (s(), T("span", Ve, i(a(B).getValue(t.data.row.outOrgId)), 1)) : k("", !0)
|
|
449
462
|
]),
|
|
450
463
|
operation: l((t) => [
|
|
451
|
-
h((
|
|
464
|
+
h((s(), T("span", {
|
|
452
465
|
class: "el-button-color",
|
|
453
|
-
onClick: (
|
|
466
|
+
onClick: (S) => W(t.data.row)
|
|
454
467
|
}, [
|
|
455
468
|
c(i(o.$t("common.edit")), 1)
|
|
456
|
-
], 8,
|
|
469
|
+
], 8, Oe)), [
|
|
457
470
|
[b, ["reports:report_third_party:update"]]
|
|
458
471
|
]),
|
|
459
|
-
h((
|
|
472
|
+
h((s(), T("span", {
|
|
460
473
|
class: "el-button-color dropdown-left",
|
|
461
|
-
onClick: (
|
|
474
|
+
onClick: (S) => a(d).deleteRecord(t.data.row)
|
|
462
475
|
}, [
|
|
463
476
|
c(i(o.$t("common.delete")), 1)
|
|
464
|
-
], 8,
|
|
477
|
+
], 8, De)), [
|
|
465
478
|
[b, ["reports:report_third_party:delete"]]
|
|
466
479
|
]),
|
|
467
|
-
h((
|
|
480
|
+
h((s(), T("span", {
|
|
468
481
|
class: "el-button-color dropdown-left",
|
|
469
|
-
onClick: (
|
|
482
|
+
onClick: (S) => x(t.data.row)
|
|
470
483
|
}, [
|
|
471
484
|
c(i(o.$t("common.view")), 1)
|
|
472
|
-
], 8,
|
|
485
|
+
], 8, Pe)), [
|
|
473
486
|
[b, ["reports:report_third_party:view"]]
|
|
474
487
|
]),
|
|
475
|
-
h((
|
|
488
|
+
h((s(), T("span", {
|
|
476
489
|
class: "el-button-color dropdown-left",
|
|
477
|
-
onClick: (
|
|
490
|
+
onClick: (S) => G(t.data.row)
|
|
478
491
|
}, [
|
|
479
492
|
c(i(o.$t("reportDemandLedger.copy")), 1)
|
|
480
|
-
], 8,
|
|
493
|
+
], 8, Re)), [
|
|
481
494
|
[b, ["reports:report_demand_ledger:follow"]]
|
|
482
495
|
])
|
|
483
496
|
]),
|
|
@@ -486,37 +499,37 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
|
|
|
486
499
|
]),
|
|
487
500
|
_: 1
|
|
488
501
|
}),
|
|
489
|
-
|
|
502
|
+
p.value.visible ? (s(), g(be, {
|
|
490
503
|
key: 0,
|
|
491
|
-
modelValue:
|
|
492
|
-
"onUpdate:modelValue": e[18] || (e[18] = (t) =>
|
|
493
|
-
title:
|
|
494
|
-
"entity-key": a(
|
|
495
|
-
"is-copy":
|
|
496
|
-
onRefresh:
|
|
504
|
+
modelValue: p.value.visible,
|
|
505
|
+
"onUpdate:modelValue": e[18] || (e[18] = (t) => p.value.visible = t),
|
|
506
|
+
title: p.value.title,
|
|
507
|
+
"entity-key": a(I),
|
|
508
|
+
"is-copy": p.value.isCopy,
|
|
509
|
+
onRefresh: j,
|
|
497
510
|
width: "900px"
|
|
498
|
-
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) :
|
|
499
|
-
|
|
511
|
+
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : k("", !0),
|
|
512
|
+
w.value.visible ? (s(), g(ge, {
|
|
500
513
|
key: 1,
|
|
501
|
-
modelValue:
|
|
502
|
-
"onUpdate:modelValue": e[19] || (e[19] = (t) =>
|
|
503
|
-
title:
|
|
504
|
-
"entity-key": a(
|
|
505
|
-
onRefresh:
|
|
514
|
+
modelValue: w.value.visible,
|
|
515
|
+
"onUpdate:modelValue": e[19] || (e[19] = (t) => w.value.visible = t),
|
|
516
|
+
title: w.value.title,
|
|
517
|
+
"entity-key": a(I),
|
|
518
|
+
onRefresh: j,
|
|
506
519
|
width: "900px"
|
|
507
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
508
|
-
|
|
520
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : k("", !0),
|
|
521
|
+
$.value ? (s(), g(_e, {
|
|
509
522
|
key: 2,
|
|
510
|
-
"upload-visible":
|
|
523
|
+
"upload-visible": $.value,
|
|
511
524
|
"template-title": o.$t("sysUser.templateDownload"),
|
|
512
|
-
onTemplateDown: e[20] || (e[20] = (t) =>
|
|
513
|
-
onImportEvents:
|
|
514
|
-
onUploadClosed:
|
|
515
|
-
}, null, 8, ["upload-visible", "template-title"])) :
|
|
525
|
+
onTemplateDown: e[20] || (e[20] = (t) => X(a(v)("sysUserOps.name"))),
|
|
526
|
+
onImportEvents: Z,
|
|
527
|
+
onUploadClosed: J
|
|
528
|
+
}, null, 8, ["upload-visible", "template-title"])) : k("", !0)
|
|
516
529
|
]);
|
|
517
530
|
};
|
|
518
531
|
}
|
|
519
532
|
});
|
|
520
533
|
export {
|
|
521
|
-
|
|
534
|
+
Ae as default
|
|
522
535
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as S, computed as g, reactive as E, resolveComponent as r, resolveDirective as ae, createElementBlock as T, openBlock as p, createElementVNode as N, createVNode as n, createBlock as v, createCommentVNode as $, withCtx as l, withKeys as se, unref as a, createTextVNode as d, toDisplayString as c, withDirectives as h, isRef as re } from "vue";
|
|
2
2
|
import { useTableHooks as ie } from "jmash-core";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
|
-
import { a as ue } from "./index-
|
|
5
|
-
import pe from "./edit-
|
|
4
|
+
import { a as ue } from "./index-DS6wdvJi.mjs";
|
|
5
|
+
import pe from "./edit-PMZyzVdm.mjs";
|
|
6
6
|
import { useRoute as de } from "vue-router";
|
|
7
|
-
import { D as ce } from "./index-
|
|
8
|
-
import { C as _ } from "./constant-
|
|
7
|
+
import { D as ce } from "./index-cmTCxGlG.mjs";
|
|
8
|
+
import { C as _ } from "./constant-qhPwZUPf.mjs";
|
|
9
9
|
const fe = { class: "app-container" }, ve = { class: "search-container" }, _e = ["onClick"], ke = ["onClick"], Se = /* @__PURE__ */ ne({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(ye) {
|
|
@@ -2,9 +2,9 @@ import { defineComponent as N, ref as h, computed as p, resolveComponent as u, c
|
|
|
2
2
|
import { useTableHooks as R } from "jmash-core";
|
|
3
3
|
import { useRoute as q } from "vue-router";
|
|
4
4
|
import { useI18n as P } from "vue-i18n";
|
|
5
|
-
import { a as W } from "./index-
|
|
6
|
-
import { D as y } from "./index-
|
|
7
|
-
import { C as n } from "./constant-
|
|
5
|
+
import { a as W } from "./index-DS6wdvJi.mjs";
|
|
6
|
+
import { D as y } from "./index-cmTCxGlG.mjs";
|
|
7
|
+
import { C as n } from "./constant-qhPwZUPf.mjs";
|
|
8
8
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
9
|
const z = /* @__PURE__ */ N({
|
|
10
10
|
__name: "info",
|
|
@@ -2,9 +2,9 @@ import { defineComponent as N, ref as d, resolveComponent as a, createElementBlo
|
|
|
2
2
|
import { useRouter as E, useRoute as B } from "vue-router";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { routerUtil as S } from "jmash-core";
|
|
5
|
-
import { t as $ } from "./index-
|
|
6
|
-
import { D as f } from "./index-
|
|
7
|
-
import w from "./info-
|
|
5
|
+
import { t as $ } from "./index-DS6wdvJi.mjs";
|
|
6
|
+
import { D as f } from "./index-cmTCxGlG.mjs";
|
|
7
|
+
import w from "./info-BB5FtxWS.mjs";
|
|
8
8
|
const D = { class: "app-container" }, R = { class: "cell-item" }, U = { class: "cell-item" }, q = { class: "cell-item" }, G = /* @__PURE__ */ N({
|
|
9
9
|
__name: "info",
|
|
10
10
|
setup(A) {
|