xyvcard-itsm-flow 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-5d27MsC6.mjs → FileSaver.min-X2_RihtX.mjs} +29 -28
- package/dist/_commonjsHelpers-BVfed4GL.mjs +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/{edit-DIh0NEYf.mjs → edit-AAIDp3Ys.mjs} +1 -1
- package/dist/edit-BC3HBHna.mjs +378 -0
- package/dist/{edit-DdzFTqhg.mjs → edit-CWx9fJF7.mjs} +1 -1
- package/dist/edit-CuL-MqiW.mjs +794 -0
- package/dist/{edit-Vw2XQ1u6.mjs → edit-XWSh98dW.mjs} +1 -1
- package/dist/edit-zRQs9w8y.mjs +492 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs → edit.vue_vue_type_script_setup_true_lang-BCVm7-Ex.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs → edit.vue_vue_type_script_setup_true_lang-BHgx58mh.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs → edit.vue_vue_type_script_setup_true_lang-Rs79eFoT.mjs} +2 -2
- package/dist/{el-message-DawVzOVQ.mjs → el-message-BJAl6Gwu.mjs} +1 -1
- package/dist/{index-g0KiWDPW.mjs → index--gw38QeR.mjs} +3 -3
- package/dist/index-3BgV8fss.mjs +396 -0
- package/dist/index-BDh2WCIf.mjs +316 -0
- package/dist/{index-CxyHtsq2.mjs → index-BFtKB0qe.mjs} +2 -2
- package/dist/{index-DaSMRndr.mjs → index-BLHnAUcn.mjs} +2 -2
- package/dist/index-BSRU0wyQ.mjs +479 -0
- package/dist/{index-DeerMT0Q.mjs → index-BYbmB9DD.mjs} +31 -29
- package/dist/{index-BI1uXq1f.mjs → index-Bom-5z91.mjs} +4 -4
- package/dist/index-BtiMpwj2.mjs +457 -0
- package/dist/{index-tnTugnqa.mjs → index-C-HQUPPS.mjs} +3 -3
- package/dist/{index-DB-P0VX0.mjs → index-C5pj6umx.mjs} +23 -22
- package/dist/{index-C7_kMdm5.mjs → index-CDKSx5IH.mjs} +2 -2
- package/dist/{index-Dooa5UH_.mjs → index-CLZfBnlo.mjs} +4 -4
- package/dist/index-COvZrTZl.mjs +278 -0
- package/dist/index-CXAtR6Vv.mjs +366 -0
- package/dist/index-CYJvDaI_.mjs +1371 -0
- package/dist/{index-PafaMNgK.mjs → index-CvX2It1o.mjs} +64 -30
- package/dist/index-D2AIn13F.mjs +339 -0
- package/dist/{index-Cgbv4Ijf.mjs → index-D7TvdZ0W.mjs} +180 -160
- package/dist/{index-7_pEehBt.mjs → index-DBRvKb1w.mjs} +2 -2
- package/dist/{index-CITy8Hqm.mjs → index-DFj2i4Kf.mjs} +4 -4
- package/dist/index-DNsy9Enp.mjs +272 -0
- package/dist/index-DQOGU1Vs.mjs +402 -0
- package/dist/index-D_PiZ_6x.mjs +749 -0
- package/dist/index-DesY4um_.mjs +330 -0
- package/dist/{index-Cqw8Rz4q.mjs → index-DkPqpjkA.mjs} +26 -24
- package/dist/index-Sm592CoC.mjs +273 -0
- package/dist/index-cjJjrvPP.mjs +390 -0
- package/dist/index-enjFe_Qb.mjs +400 -0
- package/dist/index-gWMTJ0gB.mjs +221 -0
- package/dist/index-o0oTSdUL.mjs +149 -0
- package/dist/index.mjs +1357 -1229
- package/dist/{info-8NydJYfB.mjs → info-06y0zz8D.mjs} +1 -1
- package/dist/{info-BbMCDfFR.mjs → info-BQh86EaI.mjs} +1 -1
- package/dist/{info-l0eP5Tw1.mjs → info-CYY7U06K.mjs} +1 -1
- package/dist/info-ClUXgnK1.mjs +4 -0
- package/dist/info-DJvahDDF.mjs +4 -0
- package/dist/info-nzbmqI2A.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs → info.vue_vue_type_script_setup_true_lang-7L5RJMrf.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs → info.vue_vue_type_script_setup_true_lang-BHjv3DSd.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs → info.vue_vue_type_script_setup_true_lang-D5eF48hb.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-DxArle2x.mjs +260 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-hwan7iwm.mjs +209 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-y8F2Xg5z.mjs +374 -0
- package/dist/style.css +1 -1
- package/dts/api/index.d.ts +5 -1
- package/dts/api/itsm-flow-spare-parts/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts/types.d.ts +113 -0
- package/dts/api/itsm-flow-spare-parts-details/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts-details/types.d.ts +77 -0
- package/dts/api/itsm-flow-temporary/index.d.ts +21 -0
- package/dts/api/itsm-flow-temporary/types.d.ts +115 -0
- package/dts/components/ImageUpload/ImageUpload.vue.d.ts +36 -0
- package/dts/components/TaskItsmFlowImOrderInterior/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorView/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareParts/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsUse/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporary/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryView/index.vue.d.ts +28 -0
- package/dts/constant.d.ts +8 -0
- package/dts/index.d.ts +11 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +81 -0
- package/dts/views/item-flow-orders-interior/edit.vue.d.ts +28 -0
- package/dts/views/item-flow-orders-interior/index.vue.d.ts +2 -0
- package/dts/views/item-flow-orders-interior/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-spare-parts/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-spare-parts/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-spare-parts/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-temporary/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-temporary/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-temporary/info.vue.d.ts +26 -0
- package/package.json +63 -63
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { defineComponent as X, getCurrentInstance as Z, ref as k, reactive as z, onActivated as ee, resolveComponent as n, resolveDirective as te, createElementBlock as _, openBlock as m, createElementVNode as $, createVNode as a, createBlock as h, createCommentVNode as C, withCtx as l, unref as r, withKeys as oe, createTextVNode as p, toDisplayString as u, withDirectives as V, isRef as R } from "vue";
|
|
2
|
+
import { useTableHooks as le } from "jmash-core";
|
|
3
|
+
import { useI18n as ae } from "vue-i18n";
|
|
4
|
+
import { i as re } from "./index-o0oTSdUL.mjs";
|
|
5
|
+
import ne from "./edit-BC3HBHna.mjs";
|
|
6
|
+
import { _ as ie } from "./info.vue_vue_type_script_setup_true_lang-hwan7iwm.mjs";
|
|
7
|
+
import { D as w, O as se, C as P } from "./index-D7TvdZ0W.mjs";
|
|
8
|
+
import { rbacApi as me } from "jmash-rbac";
|
|
9
|
+
const ue = { class: "app-container" }, de = { class: "search-container" }, pe = { key: 0 }, ce = ["onClick"], fe = ["onClick"], ye = ["onClick"], Ie = /* @__PURE__ */ X({
|
|
10
|
+
__name: "index",
|
|
11
|
+
setup(ve) {
|
|
12
|
+
const { proxy: U } = Z();
|
|
13
|
+
w.itemBizLayDict.useValues(), w.orgIdBizDict.useValues(), w.userExtBizDict.useValues(), new se({ orgType: "OUTSOURCE" }).useValues();
|
|
14
|
+
const { t: c } = ae(), i = k({
|
|
15
|
+
temporaryType: P.Internal,
|
|
16
|
+
applyStatus: P.applyStatus.draft
|
|
17
|
+
}), {
|
|
18
|
+
tableHooks: s,
|
|
19
|
+
multipleTableRef: N,
|
|
20
|
+
queryFormRef: j,
|
|
21
|
+
listLoading: E,
|
|
22
|
+
tableData: L,
|
|
23
|
+
total: g
|
|
24
|
+
} = le(c, re, i);
|
|
25
|
+
let y = k([
|
|
26
|
+
{
|
|
27
|
+
label: "itsmFlowTemporary.title",
|
|
28
|
+
prop: "title",
|
|
29
|
+
minWidth: "150",
|
|
30
|
+
sortable: "custom",
|
|
31
|
+
isColumn: !0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: "itsmFlowTemporary.content",
|
|
35
|
+
prop: "content",
|
|
36
|
+
minWidth: "150",
|
|
37
|
+
sortable: "custom",
|
|
38
|
+
isColumn: !0
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "itsmFlowTemporary.userId",
|
|
42
|
+
prop: "userId",
|
|
43
|
+
slotName: "userId",
|
|
44
|
+
columnType: "slot",
|
|
45
|
+
width: "150",
|
|
46
|
+
sortable: "custom",
|
|
47
|
+
isColumn: !0
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: "itsmFlowTemporary.handlingPeriod",
|
|
51
|
+
prop: "handlingPeriod",
|
|
52
|
+
width: "105",
|
|
53
|
+
sortable: "custom",
|
|
54
|
+
isColumn: !0
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
label: "itsmFlowTemporary.createBy",
|
|
58
|
+
prop: "createBy",
|
|
59
|
+
slotName: "createBy",
|
|
60
|
+
columnType: "slot",
|
|
61
|
+
width: "150",
|
|
62
|
+
sortable: "custom",
|
|
63
|
+
isColumn: !0
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: "itsmFlowTemporary.createTime",
|
|
67
|
+
prop: "createTime",
|
|
68
|
+
slotName: "createTime",
|
|
69
|
+
columnType: "slot",
|
|
70
|
+
width: "170",
|
|
71
|
+
sortable: "custom",
|
|
72
|
+
isColumn: !0
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: "common.operate",
|
|
76
|
+
width: "140",
|
|
77
|
+
slotName: "operation",
|
|
78
|
+
columnType: "slot",
|
|
79
|
+
fixed: "right",
|
|
80
|
+
isColumn: !0
|
|
81
|
+
}
|
|
82
|
+
]);
|
|
83
|
+
const d = k({
|
|
84
|
+
title: c("common.edit"),
|
|
85
|
+
visible: !1
|
|
86
|
+
}), f = k({
|
|
87
|
+
title: c("common.view"),
|
|
88
|
+
visible: !1
|
|
89
|
+
});
|
|
90
|
+
let v = z({});
|
|
91
|
+
function q() {
|
|
92
|
+
v = z({}), d.value.title = c("common.add"), d.value.visible = !0;
|
|
93
|
+
}
|
|
94
|
+
function A(o) {
|
|
95
|
+
v.temporaryId = o.temporaryId, d.value.title = c("common.edit"), d.value.visible = !0;
|
|
96
|
+
}
|
|
97
|
+
function H(o) {
|
|
98
|
+
v.temporaryId = o.temporaryId, f.value.title = c("common.view"), f.value.visible = !0;
|
|
99
|
+
}
|
|
100
|
+
function O(o) {
|
|
101
|
+
s.selectionRows.value = o;
|
|
102
|
+
}
|
|
103
|
+
function Y(o) {
|
|
104
|
+
s.handleSort(o.prop, o.order);
|
|
105
|
+
}
|
|
106
|
+
function B(o) {
|
|
107
|
+
o && s.getList();
|
|
108
|
+
}
|
|
109
|
+
return ee(() => {
|
|
110
|
+
s.getList();
|
|
111
|
+
}), (o, t) => {
|
|
112
|
+
const K = n("jmash-select"), I = n("el-form-item"), b = n("el-col"), Q = n("el-input"), D = n("el-button"), F = n("el-row"), x = n("el-form"), M = n("jmash-column-select"), W = n("jmash-table"), G = n("jmash-pagination"), J = n("el-card"), T = te("hasPerm");
|
|
113
|
+
return m(), _("div", ue, [
|
|
114
|
+
$("div", de, [
|
|
115
|
+
a(x, {
|
|
116
|
+
ref_key: "queryFormRef",
|
|
117
|
+
ref: j,
|
|
118
|
+
model: i.value,
|
|
119
|
+
inline: !0
|
|
120
|
+
}, {
|
|
121
|
+
default: l(() => [
|
|
122
|
+
a(F, null, {
|
|
123
|
+
default: l(() => [
|
|
124
|
+
a(b, { span: 6 }, {
|
|
125
|
+
default: l(() => [
|
|
126
|
+
a(I, {
|
|
127
|
+
label: o.$t("itsmFlowSpareParts.itemId"),
|
|
128
|
+
prop: "itemId"
|
|
129
|
+
}, {
|
|
130
|
+
default: l(() => [
|
|
131
|
+
a(K, {
|
|
132
|
+
modelValue: i.value.itemId,
|
|
133
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.value.itemId = e),
|
|
134
|
+
placeholder: o.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
135
|
+
data: r(w).itemBizLayDict.values,
|
|
136
|
+
clearable: "",
|
|
137
|
+
filterable: ""
|
|
138
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
}, 8, ["label"])
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
}),
|
|
145
|
+
a(b, { span: 6 }, {
|
|
146
|
+
default: l(() => [
|
|
147
|
+
a(I, {
|
|
148
|
+
label: o.$t("itsmFlowTemporary.likeTitle"),
|
|
149
|
+
prop: "likeTitle"
|
|
150
|
+
}, {
|
|
151
|
+
default: l(() => [
|
|
152
|
+
a(Q, {
|
|
153
|
+
modelValue: i.value.likeTitle,
|
|
154
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => i.value.likeTitle = e),
|
|
155
|
+
placeholder: o.$t("itsmFlowTemporary.likeTitleRequired"),
|
|
156
|
+
onKeyup: t[2] || (t[2] = oe((e) => r(s).handleQuery(), ["enter"])),
|
|
157
|
+
class: "!w-[203px]"
|
|
158
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}, 8, ["label"])
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
a(b, { span: 12 }, {
|
|
166
|
+
default: l(() => [
|
|
167
|
+
a(I, { class: "search-btn" }, {
|
|
168
|
+
default: l(() => [
|
|
169
|
+
a(D, {
|
|
170
|
+
type: "primary",
|
|
171
|
+
onClick: t[3] || (t[3] = (e) => r(s).handleQuery())
|
|
172
|
+
}, {
|
|
173
|
+
default: l(() => [
|
|
174
|
+
p(u(o.$t("common.search")), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}),
|
|
178
|
+
a(D, {
|
|
179
|
+
onClick: t[4] || (t[4] = (e) => r(s).resetQuery())
|
|
180
|
+
}, {
|
|
181
|
+
default: l(() => [
|
|
182
|
+
p(u(o.$t("common.reset")), 1)
|
|
183
|
+
]),
|
|
184
|
+
_: 1
|
|
185
|
+
})
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
})
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
})
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["model"]),
|
|
198
|
+
t[12] || (t[12] = $("div", { class: "clear" }, null, -1))
|
|
199
|
+
]),
|
|
200
|
+
a(J, {
|
|
201
|
+
shadow: "never",
|
|
202
|
+
class: "table-container"
|
|
203
|
+
}, {
|
|
204
|
+
header: l(() => [
|
|
205
|
+
a(F, null, {
|
|
206
|
+
default: l(() => [
|
|
207
|
+
a(b, { span: 17 }, {
|
|
208
|
+
default: l(() => [
|
|
209
|
+
V((m(), h(D, {
|
|
210
|
+
type: "primary",
|
|
211
|
+
onClick: q
|
|
212
|
+
}, {
|
|
213
|
+
default: l(() => [
|
|
214
|
+
p(u(o.$t("common.add")), 1)
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
})), [
|
|
218
|
+
[T, ["reports:itsm_flow_temporary:add"]]
|
|
219
|
+
])
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
}),
|
|
223
|
+
a(b, {
|
|
224
|
+
span: 7,
|
|
225
|
+
class: "container-float"
|
|
226
|
+
}, {
|
|
227
|
+
default: l(() => [
|
|
228
|
+
a(M, {
|
|
229
|
+
modelValue: r(y),
|
|
230
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => R(y) ? y.value = e : y = e),
|
|
231
|
+
"label-name": "reports/itsm-flow-temporary"
|
|
232
|
+
}, null, 8, ["modelValue"])
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
})
|
|
239
|
+
]),
|
|
240
|
+
footer: l(() => [
|
|
241
|
+
r(g) > 0 ? (m(), h(G, {
|
|
242
|
+
key: 0,
|
|
243
|
+
total: r(g),
|
|
244
|
+
"onUpdate:total": t[6] || (t[6] = (e) => R(g) ? g.value = e : null),
|
|
245
|
+
"current-page": i.value.curPage,
|
|
246
|
+
"onUpdate:currentPage": t[7] || (t[7] = (e) => i.value.curPage = e),
|
|
247
|
+
"page-size": i.value.pageSize,
|
|
248
|
+
"onUpdate:pageSize": t[8] || (t[8] = (e) => i.value.pageSize = e),
|
|
249
|
+
onPagination: t[9] || (t[9] = (e) => r(s).getList())
|
|
250
|
+
}, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
|
|
251
|
+
]),
|
|
252
|
+
default: l(() => [
|
|
253
|
+
a(W, {
|
|
254
|
+
ref_key: "multipleTableRef",
|
|
255
|
+
ref: N,
|
|
256
|
+
"row-key": "temporaryId",
|
|
257
|
+
"v-loading": r(E),
|
|
258
|
+
data: r(L),
|
|
259
|
+
"table-label": r(y),
|
|
260
|
+
onSelectionChange: O,
|
|
261
|
+
onSortChange: Y
|
|
262
|
+
}, {
|
|
263
|
+
userId: l((e) => [
|
|
264
|
+
$("span", null, u(r(w).userExtBizDict.getValue(e.data.row.userId)), 1)
|
|
265
|
+
]),
|
|
266
|
+
createBy: l((e) => [
|
|
267
|
+
e.data.row.createBy ? (m(), _("span", pe, u(r(me).userInfo(e.data.row.createBy).realName), 1)) : C("", !0)
|
|
268
|
+
]),
|
|
269
|
+
createTime: l((e) => [
|
|
270
|
+
p(u(r(U).$moment.formatDate(
|
|
271
|
+
e.data.row.createTime,
|
|
272
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
273
|
+
)), 1)
|
|
274
|
+
]),
|
|
275
|
+
operation: l((e) => [
|
|
276
|
+
V((m(), _("span", {
|
|
277
|
+
class: "el-button-color",
|
|
278
|
+
onClick: (S) => A(e.data.row)
|
|
279
|
+
}, [
|
|
280
|
+
p(u(o.$t("common.edit")), 1)
|
|
281
|
+
], 8, ce)), [
|
|
282
|
+
[T, ["reports:itsm_flow_temporary:update"]]
|
|
283
|
+
]),
|
|
284
|
+
V((m(), _("span", {
|
|
285
|
+
class: "el-button-color dropdown-left",
|
|
286
|
+
onClick: (S) => r(s).deleteRecord(e.data.row)
|
|
287
|
+
}, [
|
|
288
|
+
p(u(o.$t("common.delete")), 1)
|
|
289
|
+
], 8, fe)), [
|
|
290
|
+
[T, ["reports:itsm_flow_temporary:delete"]]
|
|
291
|
+
]),
|
|
292
|
+
V((m(), _("span", {
|
|
293
|
+
class: "el-button-color dropdown-left",
|
|
294
|
+
onClick: (S) => H(e.data.row)
|
|
295
|
+
}, [
|
|
296
|
+
p(u(o.$t("common.view")), 1)
|
|
297
|
+
], 8, ye)), [
|
|
298
|
+
[T, ["reports:itsm_flow_temporary:view"]]
|
|
299
|
+
])
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
}, 8, ["v-loading", "data", "table-label"])
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
}),
|
|
306
|
+
d.value.visible ? (m(), h(ne, {
|
|
307
|
+
key: 0,
|
|
308
|
+
modelValue: d.value.visible,
|
|
309
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => d.value.visible = e),
|
|
310
|
+
title: d.value.title,
|
|
311
|
+
"entity-key": r(v),
|
|
312
|
+
onRefresh: B,
|
|
313
|
+
width: "800px"
|
|
314
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
|
|
315
|
+
f.value.visible ? (m(), h(ie, {
|
|
316
|
+
key: 1,
|
|
317
|
+
modelValue: f.value.visible,
|
|
318
|
+
"onUpdate:modelValue": t[11] || (t[11] = (e) => f.value.visible = e),
|
|
319
|
+
title: f.value.title,
|
|
320
|
+
"entity-key": r(v),
|
|
321
|
+
onRefresh: B,
|
|
322
|
+
width: "800px"
|
|
323
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0)
|
|
324
|
+
]);
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
});
|
|
328
|
+
export {
|
|
329
|
+
Ie as default
|
|
330
|
+
};
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { defineComponent as H, ref as
|
|
1
|
+
import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as S, openBlock as w, createElementVNode as y, createVNode as o, createBlock as h, createCommentVNode as D, withCtx as t, withKeys as m, unref as a, createTextVNode as V, toDisplayString as v, withDirectives as J, isRef as O } from "vue";
|
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
4
|
import { i as Y } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { D as k, O as Z, C as x } from "./index-D7TvdZ0W.mjs";
|
|
6
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-D5eF48hb.mjs";
|
|
7
7
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], de = /* @__PURE__ */ H({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ne) {
|
|
10
|
-
const { t:
|
|
10
|
+
const { t: b } = X(), r = N({}), {
|
|
11
11
|
tableHooks: i,
|
|
12
12
|
multipleTableRef: U,
|
|
13
13
|
queryFormRef: q,
|
|
14
14
|
listLoading: j,
|
|
15
|
-
tableData:
|
|
15
|
+
tableData: z,
|
|
16
16
|
total: f
|
|
17
|
-
} = M(
|
|
17
|
+
} = M(b, Y, r);
|
|
18
|
+
k.orgIdBizDict.useValues();
|
|
19
|
+
const R = new Z({
|
|
18
20
|
orgType: x.orgType.outsource
|
|
19
21
|
});
|
|
20
22
|
R.useValues();
|
|
21
|
-
let c =
|
|
23
|
+
let c = N([
|
|
22
24
|
{
|
|
23
25
|
label: "itsmFlowReckoning.contractName",
|
|
24
26
|
prop: "contractName",
|
|
@@ -74,24 +76,24 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
74
76
|
isColumn: !0
|
|
75
77
|
}
|
|
76
78
|
]);
|
|
77
|
-
const d =
|
|
78
|
-
title:
|
|
79
|
+
const d = N({
|
|
80
|
+
title: b("common.view"),
|
|
79
81
|
visible: !1
|
|
80
82
|
});
|
|
81
83
|
let $ = W({});
|
|
82
|
-
function
|
|
83
|
-
$ = { ...n }, d.value.title =
|
|
84
|
+
function K(n) {
|
|
85
|
+
$ = { ...n }, d.value.title = b("common.view"), d.value.visible = !0;
|
|
84
86
|
}
|
|
85
|
-
function
|
|
87
|
+
function Q(n) {
|
|
86
88
|
i.selectionRows.value = n;
|
|
87
89
|
}
|
|
88
|
-
function
|
|
90
|
+
function T(n) {
|
|
89
91
|
i.handleSort(n.prop, n.order);
|
|
90
92
|
}
|
|
91
93
|
return i.getList(), (n, e) => {
|
|
92
94
|
const g = u("el-input"), p = u("el-form-item"), s = u("el-col"), C = u("jmash-select"), F = u("el-button"), _ = u("el-row"), P = u("el-form"), B = u("jmash-column-select"), I = u("jmash-table"), A = u("jmash-pagination"), L = u("el-card"), E = G("hasPerm");
|
|
93
95
|
return w(), S("div", le, [
|
|
94
|
-
|
|
96
|
+
y("div", oe, [
|
|
95
97
|
o(P, {
|
|
96
98
|
ref_key: "queryFormRef",
|
|
97
99
|
ref: q,
|
|
@@ -235,7 +237,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
235
237
|
modelValue: r.value.applyStatus,
|
|
236
238
|
"onUpdate:modelValue": e[12] || (e[12] = (l) => r.value.applyStatus = l),
|
|
237
239
|
placeholder: n.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
238
|
-
data: a(
|
|
240
|
+
data: a(k).applyStatusEnum.values,
|
|
239
241
|
onKeyup: e[13] || (e[13] = m((l) => a(i).handleQuery(), ["enter"]))
|
|
240
242
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
241
243
|
]),
|
|
@@ -253,7 +255,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
253
255
|
onClick: e[14] || (e[14] = (l) => a(i).handleQuery())
|
|
254
256
|
}, {
|
|
255
257
|
default: t(() => [
|
|
256
|
-
|
|
258
|
+
V(v(n.$t("common.search")), 1)
|
|
257
259
|
]),
|
|
258
260
|
_: 1
|
|
259
261
|
}),
|
|
@@ -261,7 +263,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
261
263
|
onClick: e[15] || (e[15] = (l) => a(i).resetQuery())
|
|
262
264
|
}, {
|
|
263
265
|
default: t(() => [
|
|
264
|
-
|
|
266
|
+
V(v(n.$t("common.reset")), 1)
|
|
265
267
|
]),
|
|
266
268
|
_: 1
|
|
267
269
|
})
|
|
@@ -321,23 +323,23 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
321
323
|
ref: U,
|
|
322
324
|
"row-key": "reckoningId",
|
|
323
325
|
"list-loading": a(j),
|
|
324
|
-
data: a(
|
|
326
|
+
data: a(z),
|
|
325
327
|
"table-label": a(c),
|
|
326
|
-
onSelectionChange:
|
|
327
|
-
onSortChange:
|
|
328
|
+
onSelectionChange: Q,
|
|
329
|
+
onSortChange: T
|
|
328
330
|
}, {
|
|
329
331
|
entrustName: t((l) => [
|
|
330
|
-
|
|
332
|
+
y("span", null, v(a(k).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
|
|
331
333
|
]),
|
|
332
334
|
serviceOrg: t((l) => [
|
|
333
|
-
|
|
335
|
+
y("span", null, v(a(k).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
|
|
334
336
|
]),
|
|
335
337
|
operation: t((l) => [
|
|
336
338
|
J((w(), S("span", {
|
|
337
339
|
class: "el-button-color",
|
|
338
|
-
onClick: (ae) =>
|
|
340
|
+
onClick: (ae) => K(l.data.row)
|
|
339
341
|
}, [
|
|
340
|
-
|
|
342
|
+
V(v(n.$t("common.view")), 1)
|
|
341
343
|
], 8, te)), [
|
|
342
344
|
[E, ["itsmflow:itsm_flow_reckoning:view"]]
|
|
343
345
|
])
|