xyvcard-itsm-flow 0.0.7 → 0.0.8
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-BeKvLuyk.mjs +73 -0
- package/dist/common--K4gGsNT.mjs +85 -0
- package/dist/{edit-BZbho2xr.mjs → edit-B621RtNS.mjs} +1 -1
- package/dist/{edit-DA920KWc.mjs → edit-CoRzQ2SK.mjs} +1 -1
- package/dist/{edit-DxK8SrUd.mjs → edit-Czk64Yon.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs +670 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs +523 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs +567 -0
- package/dist/{el-message-D28AReoi.mjs → el-message-FfNjxLv_.mjs} +26 -26
- package/dist/index-B5vmtcUk.mjs +528 -0
- package/dist/index-BCP5cBN6.mjs +486 -0
- package/dist/{index-Dimzx0Lh.mjs → index-BJl7xHYx.mjs} +119 -124
- package/dist/{index-BwhWFAEK.mjs → index-BlBkHqXR.mjs} +75 -89
- package/dist/index-CRHpl0qA.mjs +501 -0
- package/dist/index-CVbpEq7V.mjs +442 -0
- package/dist/{index-CXarOLFt.mjs → index-CdzhLCkX.mjs} +119 -124
- package/dist/index-DX1PURJy.mjs +624 -0
- package/dist/index-DY7ZV5kq.mjs +567 -0
- package/dist/index-Dld6YbIV.mjs +484 -0
- package/dist/index.mjs +764 -771
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +9 -0
- package/dts/api/index.d.ts +4 -1
- package/dts/api/itsm-flow-acceptance/index.d.ts +4 -10
- package/dts/api/itsm-flow-acceptance/types.d.ts +17 -38
- package/dts/api/itsm-flow-entrust/index.d.ts +3 -0
- package/dts/api/itsm-flow-entrust/types.d.ts +2 -2
- package/dts/api/itsm-flow-entrust-user/types.d.ts +1 -3
- package/dts/api/itsm-flow-reckoning/index.d.ts +4 -10
- package/dts/api/itsm-flow-reckoning/types.d.ts +19 -31
- package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +28 -0
- package/dts/index.d.ts +4 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +1 -17
- package/dts/utils/common.d.ts +2 -2
- package/dts/views/itsm-flow-entrust/edit.vue.d.ts +4 -4
- package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +4 -4
- package/package.json +1 -1
- package/dist/_commonjsHelpers-BVfed4GL.mjs +0 -28
- package/dist/edit.vue_vue_type_script_setup_true_lang-CApSv9W3.mjs +0 -589
- package/dist/edit.vue_vue_type_script_setup_true_lang-CVKTwRZs.mjs +0 -688
- package/dist/edit.vue_vue_type_script_setup_true_lang-DlKz97iK.mjs +0 -656
- package/dist/index-BZGkoyv9.mjs +0 -68
- package/dist/index-CMOEnYG7.mjs +0 -21
- package/dist/index-Clg5YSzX.mjs +0 -598
- package/dist/index-CwnMo6nD.mjs +0 -1651
- package/dist/index-DDwNGNtf.mjs +0 -558
- package/dist/index-qOQQkVw8.mjs +0 -345
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { defineComponent as M, ref as
|
|
1
|
+
import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W, openBlock as p, createElementBlock as V, createElementVNode as N, createVNode as o, withCtx as l, withKeys as A, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as F, createBlock as $, isRef as S, createCommentVNode as T } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
const
|
|
4
|
+
import { D as g, C as Z, i as x } from "./index-DY7ZV5kq.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs";
|
|
6
|
+
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
|
|
7
7
|
__name: "index",
|
|
8
|
-
setup(
|
|
9
|
-
|
|
10
|
-
const { t:
|
|
11
|
-
|
|
8
|
+
setup(ne) {
|
|
9
|
+
g.orgIdBizDict.useValues();
|
|
10
|
+
const { t: w } = Y(), r = _({
|
|
11
|
+
applyStatus: Z.applyStatus.draft
|
|
12
|
+
}), {
|
|
13
|
+
tableHooks: i,
|
|
12
14
|
multipleTableRef: U,
|
|
13
|
-
queryFormRef:
|
|
14
|
-
listLoading:
|
|
15
|
-
tableData:
|
|
15
|
+
queryFormRef: j,
|
|
16
|
+
listLoading: z,
|
|
17
|
+
tableData: P,
|
|
16
18
|
total: v
|
|
17
|
-
} = X(
|
|
18
|
-
let
|
|
19
|
+
} = X(w, x, r);
|
|
20
|
+
let d = _([
|
|
19
21
|
{
|
|
20
22
|
label: "itsmFlowAcceptance.contractName",
|
|
21
23
|
prop: "contractName",
|
|
@@ -31,7 +33,10 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
31
33
|
{
|
|
32
34
|
label: "itsmFlowAcceptance.entrustName",
|
|
33
35
|
prop: "entrustName",
|
|
34
|
-
|
|
36
|
+
width: "150",
|
|
37
|
+
isColumn: !0,
|
|
38
|
+
slotName: "entrustName",
|
|
39
|
+
columnType: "slot"
|
|
35
40
|
},
|
|
36
41
|
{
|
|
37
42
|
label: "itsmFlowAcceptance.serviceOrg",
|
|
@@ -82,64 +87,63 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
82
87
|
{
|
|
83
88
|
label: "itsmFlowAcceptance.evaluate",
|
|
84
89
|
prop: "evaluate",
|
|
85
|
-
width: "150",
|
|
86
90
|
isColumn: !0
|
|
87
91
|
},
|
|
88
92
|
{
|
|
89
93
|
label: "common.operate",
|
|
90
|
-
width: "
|
|
94
|
+
width: "150",
|
|
91
95
|
slotName: "operation",
|
|
92
96
|
columnType: "slot",
|
|
93
97
|
fixed: "right",
|
|
94
98
|
isColumn: !0
|
|
95
99
|
}
|
|
96
100
|
]);
|
|
97
|
-
const
|
|
98
|
-
title:
|
|
101
|
+
const c = _({
|
|
102
|
+
title: w("common.edit"),
|
|
99
103
|
visible: !1
|
|
100
104
|
});
|
|
101
|
-
|
|
102
|
-
let
|
|
105
|
+
_(!1);
|
|
106
|
+
let C = R({});
|
|
103
107
|
function q() {
|
|
104
|
-
|
|
108
|
+
C = R({}), c.value.title = w("common.add"), c.value.visible = !0;
|
|
105
109
|
}
|
|
106
|
-
function I(
|
|
107
|
-
|
|
110
|
+
function I(a) {
|
|
111
|
+
C.acceptanceId = a.acceptanceId, c.value.title = w("common.edit"), c.value.visible = !0;
|
|
108
112
|
}
|
|
109
|
-
function B(
|
|
110
|
-
|
|
113
|
+
function B(a) {
|
|
114
|
+
i.selectionRows.value = a;
|
|
111
115
|
}
|
|
112
|
-
function K(
|
|
113
|
-
|
|
116
|
+
function K(a) {
|
|
117
|
+
i.handleSort(a.prop, a.order);
|
|
114
118
|
}
|
|
115
|
-
function L(
|
|
116
|
-
|
|
119
|
+
function L(a) {
|
|
120
|
+
a && i.getList();
|
|
117
121
|
}
|
|
118
|
-
return
|
|
119
|
-
const
|
|
120
|
-
return
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
return i.getList(), (a, t) => {
|
|
123
|
+
const y = s("el-input"), b = s("el-form-item"), m = s("el-col"), h = s("el-button"), D = s("el-row"), O = s("el-form"), Q = s("jmash-column-select"), E = s("jmash-table"), H = s("jmash-pagination"), G = s("el-card"), k = W("hasPerm");
|
|
124
|
+
return p(), V("div", te, [
|
|
125
|
+
N("div", le, [
|
|
126
|
+
o(O, {
|
|
123
127
|
ref_key: "queryFormRef",
|
|
124
|
-
ref:
|
|
125
|
-
model:
|
|
128
|
+
ref: j,
|
|
129
|
+
model: r.value,
|
|
126
130
|
inline: !0
|
|
127
131
|
}, {
|
|
128
132
|
default: l(() => [
|
|
129
|
-
|
|
133
|
+
o(D, null, {
|
|
130
134
|
default: l(() => [
|
|
131
|
-
|
|
135
|
+
o(m, { span: 6 }, {
|
|
132
136
|
default: l(() => [
|
|
133
|
-
|
|
134
|
-
label:
|
|
137
|
+
o(b, {
|
|
138
|
+
label: a.$t("itsmFlowAcceptance.contractName"),
|
|
135
139
|
prop: "likeContractName"
|
|
136
140
|
}, {
|
|
137
141
|
default: l(() => [
|
|
138
|
-
|
|
139
|
-
modelValue:
|
|
140
|
-
"onUpdate:modelValue":
|
|
141
|
-
placeholder:
|
|
142
|
-
onKeyup:
|
|
142
|
+
o(y, {
|
|
143
|
+
modelValue: r.value.likeContractName,
|
|
144
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
|
|
145
|
+
placeholder: a.$t("itsmFlowAcceptance.contractNameRequired"),
|
|
146
|
+
onKeyup: t[1] || (t[1] = A((e) => n(i).handleQuery(), ["enter"])),
|
|
143
147
|
class: "!w-[203px]"
|
|
144
148
|
}, null, 8, ["modelValue", "placeholder"])
|
|
145
149
|
]),
|
|
@@ -148,18 +152,18 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
148
152
|
]),
|
|
149
153
|
_: 1
|
|
150
154
|
}),
|
|
151
|
-
|
|
155
|
+
o(m, { span: 6 }, {
|
|
152
156
|
default: l(() => [
|
|
153
|
-
|
|
154
|
-
label:
|
|
157
|
+
o(b, {
|
|
158
|
+
label: a.$t("itsmFlowAcceptance.contractNo"),
|
|
155
159
|
prop: "likeContractNo"
|
|
156
160
|
}, {
|
|
157
161
|
default: l(() => [
|
|
158
|
-
|
|
159
|
-
modelValue:
|
|
160
|
-
"onUpdate:modelValue":
|
|
161
|
-
placeholder:
|
|
162
|
-
onKeyup:
|
|
162
|
+
o(y, {
|
|
163
|
+
modelValue: r.value.likeContractNo,
|
|
164
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
|
|
165
|
+
placeholder: a.$t("itsmFlowAcceptance.contractNoRequired"),
|
|
166
|
+
onKeyup: t[3] || (t[3] = A((e) => n(i).handleQuery(), ["enter"])),
|
|
163
167
|
class: "!w-[203px]"
|
|
164
168
|
}, null, 8, ["modelValue", "placeholder"])
|
|
165
169
|
]),
|
|
@@ -168,18 +172,18 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
168
172
|
]),
|
|
169
173
|
_: 1
|
|
170
174
|
}),
|
|
171
|
-
|
|
175
|
+
o(m, { span: 6 }, {
|
|
172
176
|
default: l(() => [
|
|
173
|
-
|
|
174
|
-
label:
|
|
177
|
+
o(b, {
|
|
178
|
+
label: a.$t("itsmFlowAcceptance.acceptanceNo"),
|
|
175
179
|
prop: "acceptanceNo"
|
|
176
180
|
}, {
|
|
177
181
|
default: l(() => [
|
|
178
|
-
|
|
179
|
-
modelValue:
|
|
180
|
-
"onUpdate:modelValue":
|
|
181
|
-
placeholder:
|
|
182
|
-
onKeyup:
|
|
182
|
+
o(y, {
|
|
183
|
+
modelValue: r.value.acceptanceNo,
|
|
184
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.acceptanceNo = e),
|
|
185
|
+
placeholder: a.$t("itsmFlowAcceptance.acceptanceNoRequired"),
|
|
186
|
+
onKeyup: t[5] || (t[5] = A((e) => n(i).handleQuery(), ["enter"])),
|
|
183
187
|
class: "!w-[203px]"
|
|
184
188
|
}, null, 8, ["modelValue", "placeholder"])
|
|
185
189
|
]),
|
|
@@ -188,24 +192,24 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
188
192
|
]),
|
|
189
193
|
_: 1
|
|
190
194
|
}),
|
|
191
|
-
|
|
195
|
+
o(m, { span: 6 }, {
|
|
192
196
|
default: l(() => [
|
|
193
|
-
|
|
197
|
+
o(b, { class: "search-btn" }, {
|
|
194
198
|
default: l(() => [
|
|
195
|
-
|
|
199
|
+
o(h, {
|
|
196
200
|
type: "primary",
|
|
197
|
-
onClick:
|
|
201
|
+
onClick: t[6] || (t[6] = (e) => n(i).handleQuery())
|
|
198
202
|
}, {
|
|
199
203
|
default: l(() => [
|
|
200
|
-
|
|
204
|
+
f(u(a.$t("common.search")), 1)
|
|
201
205
|
]),
|
|
202
206
|
_: 1
|
|
203
207
|
}),
|
|
204
|
-
|
|
205
|
-
onClick:
|
|
208
|
+
o(h, {
|
|
209
|
+
onClick: t[7] || (t[7] = (e) => n(i).resetQuery())
|
|
206
210
|
}, {
|
|
207
211
|
default: l(() => [
|
|
208
|
-
|
|
212
|
+
f(u(a.$t("common.reset")), 1)
|
|
209
213
|
]),
|
|
210
214
|
_: 1
|
|
211
215
|
})
|
|
@@ -222,49 +226,37 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
222
226
|
_: 1
|
|
223
227
|
}, 8, ["model"])
|
|
224
228
|
]),
|
|
225
|
-
|
|
229
|
+
o(G, {
|
|
226
230
|
shadow: "never",
|
|
227
231
|
class: "table-container"
|
|
228
232
|
}, {
|
|
229
233
|
header: l(() => [
|
|
230
|
-
|
|
234
|
+
o(D, null, {
|
|
231
235
|
default: l(() => [
|
|
232
|
-
|
|
236
|
+
o(m, { span: 17 }, {
|
|
233
237
|
default: l(() => [
|
|
234
|
-
|
|
238
|
+
F((p(), $(h, {
|
|
235
239
|
type: "primary",
|
|
236
240
|
onClick: q
|
|
237
241
|
}, {
|
|
238
242
|
default: l(() => [
|
|
239
|
-
|
|
243
|
+
f(u(a.$t("common.add")), 1)
|
|
240
244
|
]),
|
|
241
245
|
_: 1
|
|
242
246
|
})), [
|
|
243
|
-
[
|
|
247
|
+
[k, ["itsmflow:itsm_flow_acceptance:add"]]
|
|
244
248
|
])
|
|
245
249
|
]),
|
|
246
250
|
_: 1
|
|
247
251
|
}),
|
|
248
|
-
|
|
252
|
+
o(m, {
|
|
249
253
|
span: 7,
|
|
250
254
|
class: "container-float"
|
|
251
255
|
}, {
|
|
252
256
|
default: l(() => [
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
onClick: e[8] || (e[8] = (t) => n(r).handleExportPdf(n(f)("itsmFlowAcceptance.name")))
|
|
257
|
-
}, {
|
|
258
|
-
default: l(() => [
|
|
259
|
-
d(m(o.$t("common.print")), 1)
|
|
260
|
-
]),
|
|
261
|
-
_: 1
|
|
262
|
-
})), [
|
|
263
|
-
[g, ["itsmflow:itsm_flow_acceptance:print"]]
|
|
264
|
-
]),
|
|
265
|
-
a(Q, {
|
|
266
|
-
modelValue: n(w),
|
|
267
|
-
"onUpdate:modelValue": e[9] || (e[9] = (t) => S(w) ? w.value = t : w = t),
|
|
257
|
+
o(Q, {
|
|
258
|
+
modelValue: n(d),
|
|
259
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => S(d) ? d.value = e : d = e),
|
|
268
260
|
"label-name": "itsm-flow-acceptance"
|
|
269
261
|
}, null, 8, ["modelValue"])
|
|
270
262
|
]),
|
|
@@ -275,50 +267,53 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
275
267
|
})
|
|
276
268
|
]),
|
|
277
269
|
footer: l(() => [
|
|
278
|
-
n(v) > 0 ? (
|
|
270
|
+
n(v) > 0 ? (p(), $(H, {
|
|
279
271
|
key: 0,
|
|
280
272
|
total: n(v),
|
|
281
|
-
"onUpdate:total":
|
|
282
|
-
"current-page":
|
|
283
|
-
"onUpdate:currentPage":
|
|
284
|
-
"page-size":
|
|
285
|
-
"onUpdate:pageSize":
|
|
286
|
-
onPagination:
|
|
287
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
273
|
+
"onUpdate:total": t[9] || (t[9] = (e) => S(v) ? v.value = e : null),
|
|
274
|
+
"current-page": r.value.curPage,
|
|
275
|
+
"onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
|
|
276
|
+
"page-size": r.value.pageSize,
|
|
277
|
+
"onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
|
|
278
|
+
onPagination: t[12] || (t[12] = (e) => n(i).getList())
|
|
279
|
+
}, null, 8, ["total", "current-page", "page-size"])) : T("", !0)
|
|
288
280
|
]),
|
|
289
281
|
default: l(() => [
|
|
290
|
-
|
|
282
|
+
o(E, {
|
|
291
283
|
ref_key: "multipleTableRef",
|
|
292
284
|
ref: U,
|
|
293
285
|
"row-key": "acceptanceId",
|
|
294
|
-
"list-loading": n(
|
|
295
|
-
data: n(
|
|
296
|
-
"table-label": n(
|
|
286
|
+
"list-loading": n(z),
|
|
287
|
+
data: n(P),
|
|
288
|
+
"table-label": n(d),
|
|
297
289
|
onSelectionChange: B,
|
|
298
290
|
onSortChange: K
|
|
299
291
|
}, {
|
|
300
|
-
|
|
301
|
-
|
|
292
|
+
entrustName: l((e) => [
|
|
293
|
+
N("span", null, u(n(g).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
|
|
294
|
+
]),
|
|
295
|
+
serviceOrg: l((e) => [
|
|
296
|
+
N("span", null, u(n(g).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
|
|
302
297
|
]),
|
|
303
|
-
result: l((
|
|
304
|
-
|
|
298
|
+
result: l((e) => [
|
|
299
|
+
N("span", null, u(n(g).isValuesDict.getValue(e.data.row.result)), 1)
|
|
305
300
|
]),
|
|
306
|
-
operation: l((
|
|
307
|
-
|
|
301
|
+
operation: l((e) => [
|
|
302
|
+
F((p(), V("span", {
|
|
308
303
|
class: "el-button-color",
|
|
309
|
-
onClick: (J) => I(
|
|
304
|
+
onClick: (J) => I(e.data.row)
|
|
310
305
|
}, [
|
|
311
|
-
|
|
312
|
-
], 8,
|
|
313
|
-
[
|
|
306
|
+
f(u(a.$t("common.edit")), 1)
|
|
307
|
+
], 8, oe)), [
|
|
308
|
+
[k, ["itsmflow:itsm_flow_acceptance:update"]]
|
|
314
309
|
]),
|
|
315
|
-
|
|
310
|
+
F((p(), V("span", {
|
|
316
311
|
class: "el-button-color dropdown-left",
|
|
317
|
-
onClick: (J) => n(
|
|
312
|
+
onClick: (J) => n(i).deleteRecord(e.data.row)
|
|
318
313
|
}, [
|
|
319
|
-
|
|
320
|
-
], 8,
|
|
321
|
-
[
|
|
314
|
+
f(u(a.$t("common.delete")), 1)
|
|
315
|
+
], 8, ae)), [
|
|
316
|
+
[k, ["itsmflow:itsm_flow_acceptance:delete"]]
|
|
322
317
|
])
|
|
323
318
|
]),
|
|
324
319
|
_: 1
|
|
@@ -326,15 +321,15 @@ const ee = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
326
321
|
]),
|
|
327
322
|
_: 1
|
|
328
323
|
}),
|
|
329
|
-
|
|
324
|
+
c.value.visible ? (p(), $(ee, {
|
|
330
325
|
key: 0,
|
|
331
|
-
modelValue:
|
|
332
|
-
"onUpdate:modelValue":
|
|
333
|
-
title:
|
|
334
|
-
"entity-key": n(
|
|
326
|
+
modelValue: c.value.visible,
|
|
327
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => c.value.visible = e),
|
|
328
|
+
title: c.value.title,
|
|
329
|
+
"entity-key": n(C),
|
|
335
330
|
onRefresh: L,
|
|
336
331
|
width: "900px"
|
|
337
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
332
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : T("", !0)
|
|
338
333
|
]);
|
|
339
334
|
};
|
|
340
335
|
}
|