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,497 @@
|
|
|
1
|
+
import { defineComponent as se, ref as C, getCurrentInstance as ue, reactive as Q, onActivated as me, resolveComponent as u, resolveDirective as pe, createElementBlock as y, openBlock as m, createElementVNode as I, createVNode as a, createBlock as L, createCommentVNode as _, withCtx as o, withKeys as $, unref as r, createTextVNode as b, toDisplayString as s, withDirectives as h, isRef as Y } from "vue";
|
|
2
|
+
import { useTableHooks as ve } from "jmash-core";
|
|
3
|
+
import { useI18n as ge } from "vue-i18n";
|
|
4
|
+
import { r as ce } from "./index-DVvlf-iS.mjs";
|
|
5
|
+
import fe from "./edit-C8qWCW9s.mjs";
|
|
6
|
+
import ye from "./follow-9aVr4ibB.mjs";
|
|
7
|
+
import { _ as be } from "./info.vue_vue_type_script_setup_true_lang-Bqk5gi3s.mjs";
|
|
8
|
+
import { D as g, C as z } from "./index-Bu_3ElUk.mjs";
|
|
9
|
+
import { b as De } from "./index-B_hFZVhb-C3Oi__-I.mjs";
|
|
10
|
+
import "./index.mjs";
|
|
11
|
+
const we = { class: "app-container" }, Ce = { class: "search-container" }, Ie = { key: 0 }, _e = ["onClick"], ke = ["onClick"], Ve = ["onClick"], Le = ["onClick"], $e = ["onClick"], qe = /* @__PURE__ */ se({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(he) {
|
|
14
|
+
let N = "", P = "", q = "";
|
|
15
|
+
g.orgIdBizDict.useValues(), g.itemBizLayDict.useValues();
|
|
16
|
+
const { t: p } = ge(), B = C([]), { proxy: j } = ue(), n = C({}), {
|
|
17
|
+
tableHooks: i,
|
|
18
|
+
multipleTableRef: A,
|
|
19
|
+
queryFormRef: F,
|
|
20
|
+
listLoading: K,
|
|
21
|
+
tableData: H,
|
|
22
|
+
total: R
|
|
23
|
+
} = ve(p, ce, n);
|
|
24
|
+
function W(l) {
|
|
25
|
+
B.value = l, n.value.demandDateStart = j.$moment.formatDate(
|
|
26
|
+
l[0],
|
|
27
|
+
z.RPC_FORMAT_TIME
|
|
28
|
+
), n.value.demandDateEnd = j.$moment.formatDate(
|
|
29
|
+
l[1],
|
|
30
|
+
z.RPC_FORMAT_TIME
|
|
31
|
+
), console.log(
|
|
32
|
+
n.value.demandDateStart,
|
|
33
|
+
"=>queryParams.value.demandDateStart "
|
|
34
|
+
), console.log(
|
|
35
|
+
n.value.demandDateEnd,
|
|
36
|
+
"=>queryParams.value.demandDateEnd "
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
let k = C([
|
|
40
|
+
// 省直单位
|
|
41
|
+
{
|
|
42
|
+
label: "reportDemandLedger.govOrgId",
|
|
43
|
+
prop: "govOrgId",
|
|
44
|
+
slotName: "govOrgId",
|
|
45
|
+
columnType: "slot",
|
|
46
|
+
width: "150",
|
|
47
|
+
sortable: "custom",
|
|
48
|
+
isColumn: !0
|
|
49
|
+
},
|
|
50
|
+
// 运维项目
|
|
51
|
+
{
|
|
52
|
+
label: "reportDemandLedger.itemId",
|
|
53
|
+
prop: "itemId",
|
|
54
|
+
slotName: "itemId",
|
|
55
|
+
columnType: "slot",
|
|
56
|
+
minWidth: "150",
|
|
57
|
+
sortable: "custom",
|
|
58
|
+
isColumn: !0
|
|
59
|
+
},
|
|
60
|
+
// 客户需求
|
|
61
|
+
{
|
|
62
|
+
label: "reportDemandLedger.likeContent",
|
|
63
|
+
prop: "content",
|
|
64
|
+
width: "150",
|
|
65
|
+
sortable: "custom",
|
|
66
|
+
isColumn: !0
|
|
67
|
+
},
|
|
68
|
+
// 完成状态
|
|
69
|
+
{
|
|
70
|
+
label: "reportDemandLedger.state",
|
|
71
|
+
prop: "state",
|
|
72
|
+
slotName: "state",
|
|
73
|
+
columnType: "slot",
|
|
74
|
+
width: "150",
|
|
75
|
+
sortable: "custom",
|
|
76
|
+
isColumn: !0
|
|
77
|
+
},
|
|
78
|
+
// 是否升级事项
|
|
79
|
+
{
|
|
80
|
+
label: "reportDemandLedger.isEscalate",
|
|
81
|
+
prop: "isEscalate",
|
|
82
|
+
slotName: "isEscalate",
|
|
83
|
+
columnType: "slot",
|
|
84
|
+
width: "150",
|
|
85
|
+
sortable: "custom",
|
|
86
|
+
isColumn: !0
|
|
87
|
+
},
|
|
88
|
+
// 客户经理
|
|
89
|
+
{
|
|
90
|
+
label: "reportDemandLedger.createBy",
|
|
91
|
+
prop: "createBy",
|
|
92
|
+
slotName: "createBy",
|
|
93
|
+
columnType: "slot",
|
|
94
|
+
width: "150",
|
|
95
|
+
sortable: "custom",
|
|
96
|
+
isColumn: !0
|
|
97
|
+
},
|
|
98
|
+
// 反馈时间
|
|
99
|
+
{
|
|
100
|
+
label: "reportDemandLedger.demandDate",
|
|
101
|
+
prop: "demandDate",
|
|
102
|
+
width: "150",
|
|
103
|
+
sortable: "custom",
|
|
104
|
+
isColumn: !0
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
label: "common.operate",
|
|
108
|
+
width: "230",
|
|
109
|
+
slotName: "operation",
|
|
110
|
+
columnType: "slot",
|
|
111
|
+
fixed: "right",
|
|
112
|
+
isColumn: !0
|
|
113
|
+
}
|
|
114
|
+
]);
|
|
115
|
+
const d = C({
|
|
116
|
+
title: p("common.edit"),
|
|
117
|
+
visible: !1,
|
|
118
|
+
isCopy: !1
|
|
119
|
+
}), D = C({
|
|
120
|
+
title: p("common.view"),
|
|
121
|
+
visible: !1
|
|
122
|
+
}), w = C({
|
|
123
|
+
title: p("reportDemandLedger.follow"),
|
|
124
|
+
visible: !1
|
|
125
|
+
});
|
|
126
|
+
let c = Q({});
|
|
127
|
+
function G() {
|
|
128
|
+
c = Q({}), d.value.title = p("common.add"), d.value.isCopy = !1, d.value.visible = !0;
|
|
129
|
+
}
|
|
130
|
+
function J(l) {
|
|
131
|
+
c.ledgerId = l.ledgerId, d.value.isCopy = !1, d.value.title = p("common.edit"), d.value.visible = !0;
|
|
132
|
+
}
|
|
133
|
+
function X(l) {
|
|
134
|
+
c.ledgerId = l.ledgerId, D.value.title = p("common.view"), D.value.visible = !0;
|
|
135
|
+
}
|
|
136
|
+
function Z(l) {
|
|
137
|
+
c.ledgerId = l.ledgerId, N = l.govOrgId, P = l.itemId, q = l.content, w.value.title = p("reportDemandLedger.follow"), w.value.visible = !0;
|
|
138
|
+
}
|
|
139
|
+
function x(l) {
|
|
140
|
+
c.ledgerId = l.ledgerId, d.value.isCopy = !0, d.value.title = p("reportDemandLedger.copy"), d.value.visible = !0;
|
|
141
|
+
}
|
|
142
|
+
function ee(l) {
|
|
143
|
+
i.selectionRows.value = l;
|
|
144
|
+
}
|
|
145
|
+
function te(l) {
|
|
146
|
+
i.handleSort(l.prop, l.order);
|
|
147
|
+
}
|
|
148
|
+
function E(l) {
|
|
149
|
+
l && i.getList();
|
|
150
|
+
}
|
|
151
|
+
function le() {
|
|
152
|
+
B.value = [], i.resetQuery();
|
|
153
|
+
}
|
|
154
|
+
return me(() => {
|
|
155
|
+
i.getList();
|
|
156
|
+
}), (l, t) => {
|
|
157
|
+
const T = u("jmash-select"), f = u("el-form-item"), v = u("el-col"), M = u("el-input"), U = u("el-row"), oe = u("el-date-picker"), S = u("el-button"), ae = u("el-form"), re = u("jmash-column-select"), ne = u("jmash-table"), de = u("jmash-pagination"), ie = u("el-card"), V = pe("hasPerm");
|
|
158
|
+
return m(), y("div", we, [
|
|
159
|
+
I("div", Ce, [
|
|
160
|
+
a(ae, {
|
|
161
|
+
ref_key: "queryFormRef",
|
|
162
|
+
ref: F,
|
|
163
|
+
model: n.value,
|
|
164
|
+
inline: !0
|
|
165
|
+
}, {
|
|
166
|
+
default: o(() => [
|
|
167
|
+
a(U, null, {
|
|
168
|
+
default: o(() => [
|
|
169
|
+
a(v, { span: 6 }, {
|
|
170
|
+
default: o(() => [
|
|
171
|
+
a(f, {
|
|
172
|
+
label: l.$t("reportDemandLedger.govOrgId"),
|
|
173
|
+
prop: "govOrgId"
|
|
174
|
+
}, {
|
|
175
|
+
default: o(() => [
|
|
176
|
+
a(T, {
|
|
177
|
+
modelValue: n.value.govOrgId,
|
|
178
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.govOrgId = e),
|
|
179
|
+
placeholder: l.$t("reportDemandLedger.govOrgIdRequired"),
|
|
180
|
+
data: r(g).orgIdBizDict.values,
|
|
181
|
+
onKeyup: t[1] || (t[1] = $((e) => r(i).handleQuery(), ["enter"])),
|
|
182
|
+
clearable: "",
|
|
183
|
+
filterable: ""
|
|
184
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
}, 8, ["label"])
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}),
|
|
191
|
+
a(v, { span: 6 }, {
|
|
192
|
+
default: o(() => [
|
|
193
|
+
a(f, {
|
|
194
|
+
label: l.$t("reportDemandLedger.itemId"),
|
|
195
|
+
prop: "itemId"
|
|
196
|
+
}, {
|
|
197
|
+
default: o(() => [
|
|
198
|
+
a(T, {
|
|
199
|
+
modelValue: n.value.itemId,
|
|
200
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.itemId = e),
|
|
201
|
+
placeholder: l.$t("reportDemandLedger.itemIdRequired"),
|
|
202
|
+
data: r(g).itemBizLayDict.values,
|
|
203
|
+
onKeyup: t[3] || (t[3] = $((e) => r(i).handleQuery(), ["enter"])),
|
|
204
|
+
clearable: "",
|
|
205
|
+
filterable: ""
|
|
206
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
}, 8, ["label"])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}),
|
|
213
|
+
a(v, { span: 6 }, {
|
|
214
|
+
default: o(() => [
|
|
215
|
+
a(f, {
|
|
216
|
+
label: l.$t("reportDemandLedger.createBy"),
|
|
217
|
+
prop: "createBy"
|
|
218
|
+
}, {
|
|
219
|
+
default: o(() => [
|
|
220
|
+
a(M, {
|
|
221
|
+
modelValue: n.value.createBy,
|
|
222
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.createBy = e),
|
|
223
|
+
placeholder: l.$t("reportDemandLedger.createByRequired"),
|
|
224
|
+
onKeyup: t[5] || (t[5] = $((e) => r(i).handleQuery(), ["enter"])),
|
|
225
|
+
class: "!w-[203px]"
|
|
226
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
227
|
+
]),
|
|
228
|
+
_: 1
|
|
229
|
+
}, 8, ["label"])
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
}),
|
|
233
|
+
a(v, { span: 6 }, {
|
|
234
|
+
default: o(() => [
|
|
235
|
+
a(f, {
|
|
236
|
+
label: l.$t("reportDemandLedger.likeContent"),
|
|
237
|
+
prop: "likeContent"
|
|
238
|
+
}, {
|
|
239
|
+
default: o(() => [
|
|
240
|
+
a(M, {
|
|
241
|
+
modelValue: n.value.likeContent,
|
|
242
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => n.value.likeContent = e),
|
|
243
|
+
placeholder: l.$t("reportDemandLedger.likeContentRequired"),
|
|
244
|
+
onKeyup: t[7] || (t[7] = $((e) => r(i).handleQuery(), ["enter"])),
|
|
245
|
+
class: "!w-[203px]"
|
|
246
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
}, 8, ["label"])
|
|
250
|
+
]),
|
|
251
|
+
_: 1
|
|
252
|
+
})
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}),
|
|
256
|
+
a(U, null, {
|
|
257
|
+
default: o(() => [
|
|
258
|
+
a(v, { span: 6 }, {
|
|
259
|
+
default: o(() => [
|
|
260
|
+
a(f, {
|
|
261
|
+
label: l.$t("reportDemandLedger.state"),
|
|
262
|
+
prop: "state"
|
|
263
|
+
}, {
|
|
264
|
+
default: o(() => [
|
|
265
|
+
a(T, {
|
|
266
|
+
modelValue: n.value.state,
|
|
267
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => n.value.state = e),
|
|
268
|
+
placeholder: l.$t("reportDemandLedger.stateRequired"),
|
|
269
|
+
data: r(g).stateDict.values,
|
|
270
|
+
onKeyup: t[9] || (t[9] = $((e) => r(i).handleQuery(), ["enter"])),
|
|
271
|
+
class: "!w-[203px]"
|
|
272
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
}, 8, ["label"])
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
}),
|
|
279
|
+
a(v, { span: 6 }, {
|
|
280
|
+
default: o(() => [
|
|
281
|
+
a(f, {
|
|
282
|
+
label: l.$t("reportDemandLedger.demandDate"),
|
|
283
|
+
prop: "demandDate"
|
|
284
|
+
}, {
|
|
285
|
+
default: o(() => [
|
|
286
|
+
a(oe, {
|
|
287
|
+
modelValue: B.value,
|
|
288
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => B.value = e),
|
|
289
|
+
class: "dropdown-left",
|
|
290
|
+
type: "daterange",
|
|
291
|
+
"start-placeholder": l.$t("reportDemandLedger.startDate"),
|
|
292
|
+
"end-placeholder": l.$t("reportDemandLedger.endDate"),
|
|
293
|
+
format: "YYYY-MM-DD",
|
|
294
|
+
"value-format": "YYYY-MM-DD",
|
|
295
|
+
onChange: W
|
|
296
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
297
|
+
]),
|
|
298
|
+
_: 1
|
|
299
|
+
}, 8, ["label"])
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
}),
|
|
303
|
+
a(v, { span: 12 }, {
|
|
304
|
+
default: o(() => [
|
|
305
|
+
a(f, { class: "search-btn" }, {
|
|
306
|
+
default: o(() => [
|
|
307
|
+
a(S, {
|
|
308
|
+
type: "primary",
|
|
309
|
+
onClick: t[11] || (t[11] = (e) => r(i).handleQuery())
|
|
310
|
+
}, {
|
|
311
|
+
default: o(() => [
|
|
312
|
+
b(s(l.$t("common.search")), 1)
|
|
313
|
+
]),
|
|
314
|
+
_: 1
|
|
315
|
+
}),
|
|
316
|
+
a(S, {
|
|
317
|
+
onClick: t[12] || (t[12] = (e) => le())
|
|
318
|
+
}, {
|
|
319
|
+
default: o(() => [
|
|
320
|
+
b(s(l.$t("common.reset")), 1)
|
|
321
|
+
]),
|
|
322
|
+
_: 1
|
|
323
|
+
})
|
|
324
|
+
]),
|
|
325
|
+
_: 1
|
|
326
|
+
})
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
})
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
})
|
|
333
|
+
]),
|
|
334
|
+
_: 1
|
|
335
|
+
}, 8, ["model"]),
|
|
336
|
+
t[21] || (t[21] = I("div", { class: "clear" }, null, -1))
|
|
337
|
+
]),
|
|
338
|
+
a(ie, {
|
|
339
|
+
shadow: "never",
|
|
340
|
+
class: "table-container"
|
|
341
|
+
}, {
|
|
342
|
+
header: o(() => [
|
|
343
|
+
a(U, null, {
|
|
344
|
+
default: o(() => [
|
|
345
|
+
a(v, { span: 17 }, {
|
|
346
|
+
default: o(() => [
|
|
347
|
+
h((m(), L(S, {
|
|
348
|
+
type: "primary",
|
|
349
|
+
onClick: G
|
|
350
|
+
}, {
|
|
351
|
+
default: o(() => [
|
|
352
|
+
b(s(l.$t("common.add")), 1)
|
|
353
|
+
]),
|
|
354
|
+
_: 1
|
|
355
|
+
})), [
|
|
356
|
+
[V, ["reports:report_demand_ledger:add"]]
|
|
357
|
+
])
|
|
358
|
+
]),
|
|
359
|
+
_: 1
|
|
360
|
+
}),
|
|
361
|
+
a(v, {
|
|
362
|
+
span: 7,
|
|
363
|
+
class: "container-float"
|
|
364
|
+
}, {
|
|
365
|
+
default: o(() => [
|
|
366
|
+
a(re, {
|
|
367
|
+
modelValue: r(k),
|
|
368
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => Y(k) ? k.value = e : k = e),
|
|
369
|
+
"label-name": "reports/report-demand-ledger"
|
|
370
|
+
}, null, 8, ["modelValue"])
|
|
371
|
+
]),
|
|
372
|
+
_: 1
|
|
373
|
+
})
|
|
374
|
+
]),
|
|
375
|
+
_: 1
|
|
376
|
+
})
|
|
377
|
+
]),
|
|
378
|
+
footer: o(() => [
|
|
379
|
+
r(R) > 0 ? (m(), L(de, {
|
|
380
|
+
key: 0,
|
|
381
|
+
total: r(R),
|
|
382
|
+
"onUpdate:total": t[14] || (t[14] = (e) => Y(R) ? R.value = e : null),
|
|
383
|
+
"current-page": n.value.curPage,
|
|
384
|
+
"onUpdate:currentPage": t[15] || (t[15] = (e) => n.value.curPage = e),
|
|
385
|
+
"page-size": n.value.pageSize,
|
|
386
|
+
"onUpdate:pageSize": t[16] || (t[16] = (e) => n.value.pageSize = e),
|
|
387
|
+
onPagination: t[17] || (t[17] = (e) => r(i).getList())
|
|
388
|
+
}, null, 8, ["total", "current-page", "page-size"])) : _("", !0)
|
|
389
|
+
]),
|
|
390
|
+
default: o(() => [
|
|
391
|
+
a(ne, {
|
|
392
|
+
ref_key: "multipleTableRef",
|
|
393
|
+
ref: A,
|
|
394
|
+
"row-key": "ledgerId",
|
|
395
|
+
"v-loading": r(K),
|
|
396
|
+
data: r(H),
|
|
397
|
+
"table-label": r(k),
|
|
398
|
+
onSelectionChange: ee,
|
|
399
|
+
onSortChange: te
|
|
400
|
+
}, {
|
|
401
|
+
govOrgId: o((e) => [
|
|
402
|
+
I("span", null, s(r(g).orgIdBizDict.getValue(e.data.row.govOrgId)), 1)
|
|
403
|
+
]),
|
|
404
|
+
itemId: o((e) => [
|
|
405
|
+
I("span", null, s(r(g).itemBizLayDict.getValue(e.data.row.itemId)), 1)
|
|
406
|
+
]),
|
|
407
|
+
state: o((e) => [
|
|
408
|
+
I("span", null, s(r(g).stateDict.getEnumValue(e.data.row.state)), 1)
|
|
409
|
+
]),
|
|
410
|
+
isEscalate: o((e) => [
|
|
411
|
+
I("span", null, s(r(g).escalateDict.getValue(e.data.row.isEscalate)), 1)
|
|
412
|
+
]),
|
|
413
|
+
createBy: o((e) => [
|
|
414
|
+
e.data.row.createBy ? (m(), y("span", Ie, s(r(De).userInfo(e.data.row.createBy).realName), 1)) : _("", !0)
|
|
415
|
+
]),
|
|
416
|
+
operation: o((e) => [
|
|
417
|
+
h((m(), y("span", {
|
|
418
|
+
class: "el-button-color",
|
|
419
|
+
onClick: (O) => J(e.data.row)
|
|
420
|
+
}, [
|
|
421
|
+
b(s(l.$t("common.edit")), 1)
|
|
422
|
+
], 8, _e)), [
|
|
423
|
+
[V, ["reports:report_demand_ledger:update"]]
|
|
424
|
+
]),
|
|
425
|
+
h((m(), y("span", {
|
|
426
|
+
class: "el-button-color dropdown-left",
|
|
427
|
+
onClick: (O) => r(i).deleteRecord(e.data.row)
|
|
428
|
+
}, [
|
|
429
|
+
b(s(l.$t("common.delete")), 1)
|
|
430
|
+
], 8, ke)), [
|
|
431
|
+
[V, ["reports:report_demand_ledger:delete"]]
|
|
432
|
+
]),
|
|
433
|
+
h((m(), y("span", {
|
|
434
|
+
class: "el-button-color dropdown-left",
|
|
435
|
+
onClick: (O) => X(e.data.row)
|
|
436
|
+
}, [
|
|
437
|
+
b(s(l.$t("common.view")), 1)
|
|
438
|
+
], 8, Ve)), [
|
|
439
|
+
[V, ["reports:report_demand_ledger:view"]]
|
|
440
|
+
]),
|
|
441
|
+
e.data.row.state === r(z).AFOOT ? (m(), y("span", {
|
|
442
|
+
key: 0,
|
|
443
|
+
class: "el-button-color dropdown-left",
|
|
444
|
+
onClick: (O) => Z(e.data.row)
|
|
445
|
+
}, s(l.$t("reportDemandLedger.follow")), 9, Le)) : _("", !0),
|
|
446
|
+
h((m(), y("span", {
|
|
447
|
+
class: "el-button-color dropdown-left",
|
|
448
|
+
onClick: (O) => x(e.data.row)
|
|
449
|
+
}, [
|
|
450
|
+
b(s(l.$t("reportDemandLedger.copy")), 1)
|
|
451
|
+
], 8, $e)), [
|
|
452
|
+
[V, ["reports:report_demand_ledger:follow"]]
|
|
453
|
+
])
|
|
454
|
+
]),
|
|
455
|
+
_: 1
|
|
456
|
+
}, 8, ["v-loading", "data", "table-label"])
|
|
457
|
+
]),
|
|
458
|
+
_: 1
|
|
459
|
+
}),
|
|
460
|
+
d.value.visible ? (m(), L(fe, {
|
|
461
|
+
key: 0,
|
|
462
|
+
modelValue: d.value.visible,
|
|
463
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => d.value.visible = e),
|
|
464
|
+
title: d.value.title,
|
|
465
|
+
"entity-key": r(c),
|
|
466
|
+
"is-copy": d.value.isCopy,
|
|
467
|
+
onRefresh: E,
|
|
468
|
+
width: "900px"
|
|
469
|
+
}, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : _("", !0),
|
|
470
|
+
w.value.visible ? (m(), L(ye, {
|
|
471
|
+
key: 1,
|
|
472
|
+
modelValue: w.value.visible,
|
|
473
|
+
"onUpdate:modelValue": t[19] || (t[19] = (e) => w.value.visible = e),
|
|
474
|
+
title: w.value.title,
|
|
475
|
+
"entity-key": r(c),
|
|
476
|
+
govOrgId: r(N),
|
|
477
|
+
itemId: r(P),
|
|
478
|
+
content: r(q),
|
|
479
|
+
onRefresh: E,
|
|
480
|
+
width: "900px"
|
|
481
|
+
}, null, 8, ["modelValue", "title", "entity-key", "govOrgId", "itemId", "content"])) : _("", !0),
|
|
482
|
+
D.value.visible ? (m(), L(be, {
|
|
483
|
+
key: 2,
|
|
484
|
+
modelValue: D.value.visible,
|
|
485
|
+
"onUpdate:modelValue": t[20] || (t[20] = (e) => D.value.visible = e),
|
|
486
|
+
title: D.value.title,
|
|
487
|
+
"entity-key": r(c),
|
|
488
|
+
onRefresh: E,
|
|
489
|
+
width: "900px"
|
|
490
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : _("", !0)
|
|
491
|
+
]);
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
export {
|
|
496
|
+
qe as default
|
|
497
|
+
};
|