xyvcard-reports 0.0.1
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/README.md +51 -0
- package/dist/FileSaver.min-CsYbMEwD.mjs +74 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/add-Cy3sJJ7g.mjs +318 -0
- package/dist/edit-BAGsETAq.mjs +411 -0
- package/dist/edit-Bjwtnj4P.mjs +168 -0
- package/dist/edit-Bxcb4i2M.mjs +403 -0
- package/dist/edit-C8qWCW9s.mjs +556 -0
- package/dist/edit-CiU1D1Jz.mjs +349 -0
- package/dist/edit-Cmne_lfW.mjs +382 -0
- package/dist/edit-K7u73FcA.mjs +411 -0
- package/dist/follow-9aVr4ibB.mjs +318 -0
- package/dist/import-upload-0sdXY1HZ.mjs +198 -0
- package/dist/import-upload-DUeH28xE.mjs +198 -0
- package/dist/index-B5w3z8Uz.mjs +20 -0
- package/dist/index-B_hFZVhb-C3Oi__-I.mjs +1851 -0
- package/dist/index-Bu_3ElUk.mjs +7989 -0
- package/dist/index-CK9MaZXF.mjs +467 -0
- package/dist/index-D1lQtxJR.mjs +21 -0
- package/dist/index-D1oq_3kJ.mjs +471 -0
- package/dist/index-D3AJ_PUR.mjs +315 -0
- package/dist/index-DOju9U4r.mjs +97 -0
- package/dist/index-DVvlf-iS.mjs +62 -0
- package/dist/index-DelDUsnl.mjs +504 -0
- package/dist/index-DwYDVqTx.mjs +497 -0
- package/dist/index-U4WVV44p.mjs +1412 -0
- package/dist/index-dCp3LVPJ.mjs +415 -0
- package/dist/index-s8Isx9r4.mjs +4 -0
- package/dist/index.mjs +2818 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-CEG9dHlK.mjs +309 -0
- package/dist/info-Br2M6Km-.mjs +4 -0
- package/dist/info-CFB6sv2K.mjs +4 -0
- package/dist/info-CXnZKXhF.mjs +4 -0
- package/dist/info-DrJSbVMC.mjs +4 -0
- package/dist/info-Fz09GDFn.mjs +4 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-Bqk5gi3s.mjs +275 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-CZzSMDzL.mjs +211 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-D-RdMz1r.mjs +169 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-DmEdMXdW.mjs +211 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-kb5E2gev.mjs +211 -0
- package/dist/style.css +1 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/reports/dict.d.ts +7 -0
- package/dts/src/api/reports/index.d.ts +15 -0
- package/dts/src/api/reports/report-demand-ledger/index.d.ts +13 -0
- package/dts/src/api/reports/report-demand-ledger/types.d.ts +91 -0
- package/dts/src/api/reports/report-demand-record/index.d.ts +13 -0
- package/dts/src/api/reports/report-demand-record/types.d.ts +63 -0
- package/dts/src/api/reports/report-files/index.d.ts +8 -0
- package/dts/src/api/reports/report-files/types.d.ts +85 -0
- package/dts/src/api/reports/report-third-party/index.d.ts +16 -0
- package/dts/src/api/reports/report-third-party/types.d.ts +100 -0
- package/dts/src/api/reports/task-inspect-matters/index.d.ts +20 -0
- package/dts/src/api/reports/task-inspect-matters/types.d.ts +78 -0
- package/dts/src/api/reports/task-inspect-type/index.d.ts +20 -0
- package/dts/src/api/reports/task-inspect-type/types.d.ts +68 -0
- package/dts/src/constant.d.ts +38 -0
- package/dts/src/index.d.ts +6 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/reports/en.d.ts +0 -0
- package/dts/src/lang/reports/zh-cn.d.ts +207 -0
- package/dts/src/main.d.ts +5 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +9 -0
- package/dts/src/utils/timePlugin.d.ts +5 -0
- package/dts/src/views/reports/report-demand-ledger/edit.vue.d.ts +37 -0
- package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +55 -0
- package/dts/src/views/reports/report-demand-ledger/index.vue.d.ts +2 -0
- package/dts/src/views/reports/report-demand-ledger/info.vue.d.ts +28 -0
- package/dts/src/views/reports/report-third-matter/edit.vue.d.ts +37 -0
- package/dts/src/views/reports/report-third-matter/import-upload.vue.d.ts +31 -0
- package/dts/src/views/reports/report-third-matter/index.vue.d.ts +2 -0
- package/dts/src/views/reports/report-third-matter/info.vue.d.ts +28 -0
- package/dts/src/views/reports/report-third-month-summary/edit.vue.d.ts +37 -0
- package/dts/src/views/reports/report-third-month-summary/index.vue.d.ts +2 -0
- package/dts/src/views/reports/report-third-month-summary/info.vue.d.ts +28 -0
- package/dts/src/views/reports/report-third-party/edit.vue.d.ts +37 -0
- package/dts/src/views/reports/report-third-party/index.vue.d.ts +2 -0
- package/dts/src/views/reports/report-third-party/info.vue.d.ts +28 -0
- package/dts/src/views/reports/report-third-use-support/edit.vue.d.ts +37 -0
- package/dts/src/views/reports/report-third-use-support/import-upload.vue.d.ts +31 -0
- package/dts/src/views/reports/report-third-use-support/index.vue.d.ts +2 -0
- package/dts/src/views/reports/report-third-use-support/info.vue.d.ts +28 -0
- package/dts/src/views/reports/task-inspect-matters/edit.vue.d.ts +28 -0
- package/dts/src/views/reports/task-inspect-matters/index.vue.d.ts +2 -0
- package/dts/src/views/reports/task-inspect-type/add.vue.d.ts +11 -0
- package/dts/src/views/reports/task-inspect-type/edit.vue.d.ts +2 -0
- package/dts/src/views/reports/task-inspect-type/index.vue.d.ts +2 -0
- package/package.json +61 -0
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
import { defineComponent as ie, getCurrentInstance as ne, ref as D, reactive as E, onActivated as de, resolveComponent as p, resolveDirective as se, createElementBlock as g, openBlock as i, createElementVNode as P, createVNode as a, createBlock as c, createCommentVNode as w, withCtx as l, withKeys as S, unref as r, createTextVNode as m, toDisplayString as n, withDirectives as f, isRef as L } from "vue";
|
|
2
|
+
import { useTableHooks as ue } from "jmash-core";
|
|
3
|
+
import { useI18n as pe } from "vue-i18n";
|
|
4
|
+
import { r as j } from "./index-DOju9U4r.mjs";
|
|
5
|
+
import me from "./edit-K7u73FcA.mjs";
|
|
6
|
+
import { _ as ye } from "./info.vue_vue_type_script_setup_true_lang-kb5E2gev.mjs";
|
|
7
|
+
import { b as ve } from "./index-B_hFZVhb-C3Oi__-I.mjs";
|
|
8
|
+
import { O as ce, C as z, D as C } from "./index-Bu_3ElUk.mjs";
|
|
9
|
+
import { F as fe } from "./FileSaver.min-CsYbMEwD.mjs";
|
|
10
|
+
import be from "./import-upload-0sdXY1HZ.mjs";
|
|
11
|
+
const ge = { class: "app-container" }, he = { class: "search-container" }, Ie = { key: 0 }, _e = { key: 0 }, we = ["onClick"], Ce = ["onClick"], Te = ["onClick"], ke = ["onClick"], Ee = /* @__PURE__ */ ie({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup($e) {
|
|
14
|
+
const { proxy: q } = ne(), B = new ce({ orgType: z.OUTSOURCE });
|
|
15
|
+
B.useValues(), C.orgIdBizDict.useValues(), C.itemBizLayDict.useValues();
|
|
16
|
+
const { t: y } = pe(), d = D({
|
|
17
|
+
matterSort: z.SUPPORT
|
|
18
|
+
}), {
|
|
19
|
+
tableHooks: s,
|
|
20
|
+
multipleTableRef: K,
|
|
21
|
+
queryFormRef: M,
|
|
22
|
+
listLoading: Q,
|
|
23
|
+
tableData: A,
|
|
24
|
+
total: O
|
|
25
|
+
} = ue(y, j, d);
|
|
26
|
+
let T = D([
|
|
27
|
+
{
|
|
28
|
+
label: "reportThirdParty.govOrgId",
|
|
29
|
+
prop: "govOrgId",
|
|
30
|
+
slotName: "govOrgId",
|
|
31
|
+
columnType: "slot",
|
|
32
|
+
width: "150",
|
|
33
|
+
sortable: "custom",
|
|
34
|
+
isColumn: !0
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
label: "reportThirdParty.itsmId",
|
|
38
|
+
prop: "itsmId",
|
|
39
|
+
slotName: "itsmId",
|
|
40
|
+
columnType: "slot",
|
|
41
|
+
width: "150",
|
|
42
|
+
sortable: "custom",
|
|
43
|
+
isColumn: !0
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "reportThirdParty.likeDescribe",
|
|
47
|
+
prop: "describe",
|
|
48
|
+
minWidth: "150",
|
|
49
|
+
sortable: "custom",
|
|
50
|
+
isColumn: !0
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
label: "reportThirdParty.proposeMethod",
|
|
54
|
+
prop: "proposeMethod",
|
|
55
|
+
minWidth: "150",
|
|
56
|
+
sortable: "custom",
|
|
57
|
+
isColumn: !0
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: "reportThirdParty.outOrgId",
|
|
61
|
+
prop: "outOrgId",
|
|
62
|
+
slotName: "outOrgId",
|
|
63
|
+
columnType: "slot",
|
|
64
|
+
width: "150",
|
|
65
|
+
sortable: "custom",
|
|
66
|
+
isColumn: !0
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: "reportThirdParty.createBy",
|
|
70
|
+
prop: "createBy",
|
|
71
|
+
slotName: "createBy",
|
|
72
|
+
columnType: "slot",
|
|
73
|
+
width: "150",
|
|
74
|
+
sortable: "custom",
|
|
75
|
+
isColumn: !0
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
label: "reportThirdParty.createTime",
|
|
79
|
+
prop: "createTime",
|
|
80
|
+
slotName: "createTime",
|
|
81
|
+
columnType: "slot",
|
|
82
|
+
width: "150",
|
|
83
|
+
sortable: "custom",
|
|
84
|
+
isColumn: !0
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: "common.operate",
|
|
88
|
+
width: "200",
|
|
89
|
+
slotName: "operation",
|
|
90
|
+
columnType: "slot",
|
|
91
|
+
fixed: "right",
|
|
92
|
+
isColumn: !0
|
|
93
|
+
}
|
|
94
|
+
]);
|
|
95
|
+
const u = D({
|
|
96
|
+
title: y("common.edit"),
|
|
97
|
+
visible: !1,
|
|
98
|
+
isCopy: !1
|
|
99
|
+
}), h = D({
|
|
100
|
+
title: y("common.view"),
|
|
101
|
+
visible: !1
|
|
102
|
+
});
|
|
103
|
+
let I = E({});
|
|
104
|
+
function F() {
|
|
105
|
+
I = E({}), u.value.title = y("common.add"), u.value.visible = !0, u.value.isCopy = !1;
|
|
106
|
+
}
|
|
107
|
+
function H(o) {
|
|
108
|
+
I.reportId = o.reportId, u.value.isCopy = !1, u.value.title = y("common.edit"), u.value.visible = !0;
|
|
109
|
+
}
|
|
110
|
+
function Y(o) {
|
|
111
|
+
I.reportId = o.reportId, h.value.title = y("common.view"), h.value.visible = !0;
|
|
112
|
+
}
|
|
113
|
+
function W(o) {
|
|
114
|
+
I.reportId = o.reportId, u.value.isCopy = !0, u.value.title = y("reportDemandLedger.copy"), u.value.visible = !0;
|
|
115
|
+
}
|
|
116
|
+
const k = D(!1);
|
|
117
|
+
function x() {
|
|
118
|
+
k.value = !1;
|
|
119
|
+
}
|
|
120
|
+
function G(o) {
|
|
121
|
+
j.downloadTemplate().then((t) => {
|
|
122
|
+
const $ = new Blob([t.data], {
|
|
123
|
+
type: "application/octet-stream"
|
|
124
|
+
});
|
|
125
|
+
fe.saveAs($, o + ".xlsx");
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
function J(o) {
|
|
129
|
+
o.updateMask = "", o.matterSort = z.SUPPORT, s.importExcel(o).then(() => {
|
|
130
|
+
k.value = !1;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
function X(o) {
|
|
134
|
+
s.selectionRows.value = o;
|
|
135
|
+
}
|
|
136
|
+
function Z(o) {
|
|
137
|
+
s.handleSort(o.prop, o.order);
|
|
138
|
+
}
|
|
139
|
+
function N(o) {
|
|
140
|
+
o && s.getList();
|
|
141
|
+
}
|
|
142
|
+
return de(() => {
|
|
143
|
+
s.getList();
|
|
144
|
+
}), (o, t) => {
|
|
145
|
+
const $ = p("jmash-select"), V = p("el-form-item"), b = p("el-col"), ee = p("el-input"), U = p("el-row"), _ = p("el-button"), te = p("el-form"), oe = p("jmash-column-select"), le = p("jmash-table"), re = p("jmash-pagination"), ae = p("el-card"), v = se("hasPerm");
|
|
146
|
+
return i(), g("div", ge, [
|
|
147
|
+
P("div", he, [
|
|
148
|
+
a(te, {
|
|
149
|
+
ref_key: "queryFormRef",
|
|
150
|
+
ref: M,
|
|
151
|
+
model: d.value,
|
|
152
|
+
inline: !0
|
|
153
|
+
}, {
|
|
154
|
+
default: l(() => [
|
|
155
|
+
a(U, null, {
|
|
156
|
+
default: l(() => [
|
|
157
|
+
a(b, { span: 6 }, {
|
|
158
|
+
default: l(() => [
|
|
159
|
+
a(V, {
|
|
160
|
+
label: o.$t("reportThirdParty.govOrgId"),
|
|
161
|
+
prop: "govOrgId"
|
|
162
|
+
}, {
|
|
163
|
+
default: l(() => [
|
|
164
|
+
a($, {
|
|
165
|
+
modelValue: d.value.govOrgId,
|
|
166
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.govOrgId = e),
|
|
167
|
+
placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
|
|
168
|
+
data: r(C).orgIdBizDict.values,
|
|
169
|
+
onKeyup: t[1] || (t[1] = S((e) => r(s).handleQuery(), ["enter"])),
|
|
170
|
+
clearable: "",
|
|
171
|
+
filterable: ""
|
|
172
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
173
|
+
]),
|
|
174
|
+
_: 1
|
|
175
|
+
}, 8, ["label"])
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}),
|
|
179
|
+
a(b, { span: 6 }, {
|
|
180
|
+
default: l(() => [
|
|
181
|
+
a(V, {
|
|
182
|
+
label: o.$t("reportThirdParty.itsmId"),
|
|
183
|
+
prop: "itsmId"
|
|
184
|
+
}, {
|
|
185
|
+
default: l(() => [
|
|
186
|
+
a($, {
|
|
187
|
+
modelValue: d.value.itsmId,
|
|
188
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.itsmId = e),
|
|
189
|
+
placeholder: o.$t("reportThirdParty.itemIdRequired"),
|
|
190
|
+
data: r(C).itemBizLayDict.values,
|
|
191
|
+
onKeyup: t[3] || (t[3] = S((e) => r(s).handleQuery(), ["enter"])),
|
|
192
|
+
clearable: "",
|
|
193
|
+
filterable: ""
|
|
194
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["label"])
|
|
198
|
+
]),
|
|
199
|
+
_: 1
|
|
200
|
+
}),
|
|
201
|
+
a(b, { span: 6 }, {
|
|
202
|
+
default: l(() => [
|
|
203
|
+
a(V, {
|
|
204
|
+
label: o.$t("reportThirdParty.likeDescribe"),
|
|
205
|
+
prop: "likeDescribe"
|
|
206
|
+
}, {
|
|
207
|
+
default: l(() => [
|
|
208
|
+
a(ee, {
|
|
209
|
+
modelValue: d.value.likeDescribe,
|
|
210
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.likeDescribe = e),
|
|
211
|
+
placeholder: o.$t("reportThirdParty.likeDescribeRequired"),
|
|
212
|
+
onKeyup: t[5] || (t[5] = S((e) => r(s).handleQuery(), ["enter"])),
|
|
213
|
+
class: "!w-[203px]"
|
|
214
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
}, 8, ["label"])
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
220
|
+
}),
|
|
221
|
+
a(b, { span: 6 }, {
|
|
222
|
+
default: l(() => [
|
|
223
|
+
a(V, {
|
|
224
|
+
label: o.$t("reportThirdParty.outOrgId"),
|
|
225
|
+
prop: "outOrgId"
|
|
226
|
+
}, {
|
|
227
|
+
default: l(() => [
|
|
228
|
+
a($, {
|
|
229
|
+
modelValue: d.value.outOrgId,
|
|
230
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => d.value.outOrgId = e),
|
|
231
|
+
placeholder: o.$t("reportThirdParty.outOrgIdRequired"),
|
|
232
|
+
data: r(B).values,
|
|
233
|
+
clearable: "",
|
|
234
|
+
filterable: "",
|
|
235
|
+
class: "w-full"
|
|
236
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
237
|
+
]),
|
|
238
|
+
_: 1
|
|
239
|
+
}, 8, ["label"])
|
|
240
|
+
]),
|
|
241
|
+
_: 1
|
|
242
|
+
})
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}),
|
|
246
|
+
a(U, null, {
|
|
247
|
+
default: l(() => [
|
|
248
|
+
a(b, { span: 24 }, {
|
|
249
|
+
default: l(() => [
|
|
250
|
+
a(V, { class: "search-btn" }, {
|
|
251
|
+
default: l(() => [
|
|
252
|
+
a(_, {
|
|
253
|
+
type: "primary",
|
|
254
|
+
onClick: t[7] || (t[7] = (e) => r(s).handleQuery())
|
|
255
|
+
}, {
|
|
256
|
+
default: l(() => [
|
|
257
|
+
m(n(o.$t("common.search")), 1)
|
|
258
|
+
]),
|
|
259
|
+
_: 1
|
|
260
|
+
}),
|
|
261
|
+
a(_, {
|
|
262
|
+
onClick: t[8] || (t[8] = (e) => r(s).resetQuery())
|
|
263
|
+
}, {
|
|
264
|
+
default: l(() => [
|
|
265
|
+
m(n(o.$t("common.reset")), 1)
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
})
|
|
269
|
+
]),
|
|
270
|
+
_: 1
|
|
271
|
+
})
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
})
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
})
|
|
278
|
+
]),
|
|
279
|
+
_: 1
|
|
280
|
+
}, 8, ["model"]),
|
|
281
|
+
t[20] || (t[20] = P("div", { class: "clear" }, null, -1))
|
|
282
|
+
]),
|
|
283
|
+
a(ae, {
|
|
284
|
+
shadow: "never",
|
|
285
|
+
class: "table-container"
|
|
286
|
+
}, {
|
|
287
|
+
header: l(() => [
|
|
288
|
+
a(U, null, {
|
|
289
|
+
default: l(() => [
|
|
290
|
+
a(b, { span: 17 }, {
|
|
291
|
+
default: l(() => [
|
|
292
|
+
f((i(), c(_, {
|
|
293
|
+
type: "primary",
|
|
294
|
+
onClick: F
|
|
295
|
+
}, {
|
|
296
|
+
default: l(() => [
|
|
297
|
+
m(n(o.$t("common.add")), 1)
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
})), [
|
|
301
|
+
[v, ["reports:report_third_party:add"]]
|
|
302
|
+
]),
|
|
303
|
+
f((i(), c(_, {
|
|
304
|
+
type: "primary",
|
|
305
|
+
onClick: t[9] || (t[9] = (e) => r(s).deleteRecords())
|
|
306
|
+
}, {
|
|
307
|
+
default: l(() => [
|
|
308
|
+
m(n(o.$t("common.batchDelete")), 1)
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
})), [
|
|
312
|
+
[v, ["reports:report_third_party:delete"]]
|
|
313
|
+
])
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
}),
|
|
317
|
+
a(b, {
|
|
318
|
+
span: 7,
|
|
319
|
+
class: "container-float"
|
|
320
|
+
}, {
|
|
321
|
+
default: l(() => [
|
|
322
|
+
f((i(), c(_, {
|
|
323
|
+
plain: "",
|
|
324
|
+
type: "primary",
|
|
325
|
+
onClick: t[10] || (t[10] = (e) => k.value = !0)
|
|
326
|
+
}, {
|
|
327
|
+
default: l(() => [
|
|
328
|
+
m(n(o.$t("common.import")), 1)
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
})), [
|
|
332
|
+
[v, ["itsmsys:sys_user_ext:import"]]
|
|
333
|
+
]),
|
|
334
|
+
f((i(), c(_, {
|
|
335
|
+
plain: "",
|
|
336
|
+
type: "primary",
|
|
337
|
+
onClick: t[11] || (t[11] = (e) => r(s).handleExport(r(y)("reportThirdParty.reportId")))
|
|
338
|
+
}, {
|
|
339
|
+
default: l(() => [
|
|
340
|
+
m(n(o.$t("common.export")), 1)
|
|
341
|
+
]),
|
|
342
|
+
_: 1
|
|
343
|
+
})), [
|
|
344
|
+
[v, ["reports:report_third_party:export"]]
|
|
345
|
+
]),
|
|
346
|
+
a(oe, {
|
|
347
|
+
modelValue: r(T),
|
|
348
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => L(T) ? T.value = e : T = e),
|
|
349
|
+
"label-name": "reports/report-third-party"
|
|
350
|
+
}, null, 8, ["modelValue"])
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
})
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
})
|
|
357
|
+
]),
|
|
358
|
+
footer: l(() => [
|
|
359
|
+
r(O) > 0 ? (i(), c(re, {
|
|
360
|
+
key: 0,
|
|
361
|
+
total: r(O),
|
|
362
|
+
"onUpdate:total": t[13] || (t[13] = (e) => L(O) ? O.value = e : null),
|
|
363
|
+
"current-page": d.value.curPage,
|
|
364
|
+
"onUpdate:currentPage": t[14] || (t[14] = (e) => d.value.curPage = e),
|
|
365
|
+
"page-size": d.value.pageSize,
|
|
366
|
+
"onUpdate:pageSize": t[15] || (t[15] = (e) => d.value.pageSize = e),
|
|
367
|
+
onPagination: t[16] || (t[16] = (e) => r(s).getList())
|
|
368
|
+
}, null, 8, ["total", "current-page", "page-size"])) : w("", !0)
|
|
369
|
+
]),
|
|
370
|
+
default: l(() => [
|
|
371
|
+
a(le, {
|
|
372
|
+
ref_key: "multipleTableRef",
|
|
373
|
+
ref: K,
|
|
374
|
+
"row-key": "reportId",
|
|
375
|
+
"list-loading": r(Q),
|
|
376
|
+
data: r(A),
|
|
377
|
+
"table-label": r(T),
|
|
378
|
+
onSelectionChange: X,
|
|
379
|
+
onSortChange: Z
|
|
380
|
+
}, {
|
|
381
|
+
govOrgId: l((e) => [
|
|
382
|
+
P("span", null, n(r(C).orgIdBizDict.getValue(e.data.row.govOrgId)), 1)
|
|
383
|
+
]),
|
|
384
|
+
itsmId: l((e) => [
|
|
385
|
+
P("span", null, n(r(C).itemBizLayDict.getValue(e.data.row.itsmId)), 1)
|
|
386
|
+
]),
|
|
387
|
+
createBy: l((e) => [
|
|
388
|
+
e.data.row.createBy ? (i(), g("span", Ie, n(r(ve).userInfo(e.data.row.createBy).realName), 1)) : w("", !0)
|
|
389
|
+
]),
|
|
390
|
+
createTime: l((e) => [
|
|
391
|
+
m(n(r(q).$moment.formatDate(
|
|
392
|
+
e.data.row.createTime,
|
|
393
|
+
"YYYY-MM-DD HH:mm"
|
|
394
|
+
)), 1)
|
|
395
|
+
]),
|
|
396
|
+
outOrgId: l((e) => [
|
|
397
|
+
e.data.row.outOrgId ? (i(), g("span", _e, n(r(B).getValue(e.data.row.outOrgId)), 1)) : w("", !0)
|
|
398
|
+
]),
|
|
399
|
+
operation: l((e) => [
|
|
400
|
+
f((i(), g("span", {
|
|
401
|
+
class: "el-button-color",
|
|
402
|
+
onClick: (R) => H(e.data.row)
|
|
403
|
+
}, [
|
|
404
|
+
m(n(o.$t("common.edit")), 1)
|
|
405
|
+
], 8, we)), [
|
|
406
|
+
[v, ["reports:report_third_party:update"]]
|
|
407
|
+
]),
|
|
408
|
+
f((i(), g("span", {
|
|
409
|
+
class: "el-button-color dropdown-left",
|
|
410
|
+
onClick: (R) => r(s).deleteRecord(e.data.row)
|
|
411
|
+
}, [
|
|
412
|
+
m(n(o.$t("common.delete")), 1)
|
|
413
|
+
], 8, Ce)), [
|
|
414
|
+
[v, ["reports:report_third_party:delete"]]
|
|
415
|
+
]),
|
|
416
|
+
f((i(), g("span", {
|
|
417
|
+
class: "el-button-color dropdown-left",
|
|
418
|
+
onClick: (R) => Y(e.data.row)
|
|
419
|
+
}, [
|
|
420
|
+
m(n(o.$t("common.view")), 1)
|
|
421
|
+
], 8, Te)), [
|
|
422
|
+
[v, ["reports:report_third_party:view"]]
|
|
423
|
+
]),
|
|
424
|
+
f((i(), g("span", {
|
|
425
|
+
class: "el-button-color dropdown-left",
|
|
426
|
+
onClick: (R) => W(e.data.row)
|
|
427
|
+
}, [
|
|
428
|
+
m(n(o.$t("reportDemandLedger.copy")), 1)
|
|
429
|
+
], 8, ke)), [
|
|
430
|
+
[v, ["reports:report_demand_ledger:follow"]]
|
|
431
|
+
])
|
|
432
|
+
]),
|
|
433
|
+
_: 1
|
|
434
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
435
|
+
]),
|
|
436
|
+
_: 1
|
|
437
|
+
}),
|
|
438
|
+
u.value.visible ? (i(), c(me, {
|
|
439
|
+
key: 0,
|
|
440
|
+
modelValue: u.value.visible,
|
|
441
|
+
"onUpdate:modelValue": t[17] || (t[17] = (e) => u.value.visible = e),
|
|
442
|
+
title: u.value.title,
|
|
443
|
+
"entity-key": r(I),
|
|
444
|
+
"is-copy": u.value.isCopy,
|
|
445
|
+
onRefresh: N,
|
|
446
|
+
width: "900px"
|
|
447
|
+
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : w("", !0),
|
|
448
|
+
h.value.visible ? (i(), c(ye, {
|
|
449
|
+
key: 1,
|
|
450
|
+
modelValue: h.value.visible,
|
|
451
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => h.value.visible = e),
|
|
452
|
+
title: h.value.title,
|
|
453
|
+
"entity-key": r(I),
|
|
454
|
+
onRefresh: N,
|
|
455
|
+
width: "900px"
|
|
456
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : w("", !0),
|
|
457
|
+
k.value ? (i(), c(be, {
|
|
458
|
+
key: 2,
|
|
459
|
+
"upload-visible": k.value,
|
|
460
|
+
"template-title": o.$t("sysUser.templateDownload"),
|
|
461
|
+
onTemplateDown: t[19] || (t[19] = (e) => G(r(y)("sysUserOps.name"))),
|
|
462
|
+
onImportEvents: J,
|
|
463
|
+
onUploadClosed: x
|
|
464
|
+
}, null, 8, ["upload-visible", "template-title"])) : w("", !0)
|
|
465
|
+
]);
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
export {
|
|
470
|
+
Ee as default
|
|
471
|
+
};
|