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