xyvcard-itsm-flow 0.0.3 → 0.0.5
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/{edit-DyWBWyHi.mjs → edit-CWxy8_xc.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CUxhR_sw.mjs → edit.vue_vue_type_script_setup_true_lang-Dxn9JNKd.mjs} +1 -1
- package/dist/{index-DOllcHrQ.mjs → index-C_jhIPZS.mjs} +2 -2
- package/dist/{index-Cw4OSiko.mjs → index-D2S33QtO.mjs} +65 -65
- package/dist/index-DKtAcP6b.mjs +1582 -0
- package/dist/index.mjs +1 -1
- package/package.json +63 -63
- package/dist/index-wmDI5TRw.mjs +0 -1922
- package/dts/api/itsm-flow/types.d.ts +0 -11
- package/dts/api/itsm-flow-acceptance/index.d.ts +0 -20
- package/dts/api/itsm-flow-reckoning/index.d.ts +0 -20
- package/dts/views/itsm-flow/projectAcceptance/index.vue.d.ts +0 -2
- package/dts/views/itsm-flow/serviceOrder/index.vue.d.ts +0 -2
- package/dts/views/itsm-flow/settlement/index.vue.d.ts +0 -2
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +0 -28
- package/dts/views/itsm-flow-acceptance/index.vue.d.ts +0 -2
- package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +0 -28
- package/dts/views/itsm-flow-reckoning/index.vue.d.ts +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as W, openBlock as w, createElementBlock as T, createElementVNode as U, mergeModels as P, ref as y, useModel as me, reactive as J, resolveComponent as i, createBlock as k, withCtx as s, createVNode as l, createTextVNode as O, toDisplayString as C, unref as r, Fragment as G, renderList as Q, createCommentVNode as ce } from "vue";
|
|
2
2
|
import { ElMessage as R } from "element-plus";
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
|
-
import { I as fe, C as E, a as ve, D as _, i as M, b as be, c as ge } from "./index-
|
|
4
|
+
import { I as fe, C as E, a as ve, D as _, i as M, b as be, c as ge } from "./index-DKtAcP6b.mjs";
|
|
5
5
|
import "xyvcard-itsm";
|
|
6
6
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
7
7
|
var Ie = /* @__PURE__ */ W({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as W, ref as F, reactive as R, resolveComponent as i, resolveDirective as X, openBlock as p, createElementBlock as I, createElementVNode as g, createVNode as o, withCtx as l, withKeys as N, unref as a, createTextVNode as f, toDisplayString as u, withDirectives as k, createBlock as V, isRef as S, createCommentVNode as j } from "vue";
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
|
-
import { i as x, D as c } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { i as x, D as c } from "./index-DKtAcP6b.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-Dxn9JNKd.mjs";
|
|
6
6
|
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ne = ["onClick"], de = /* @__PURE__ */ W({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ae) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as z, mergeModels as M, ref as v, useModel as q, resolveComponent as d, openBlock as b, createBlock as A, withCtx as t, createVNode as e, createElementVNode as P, createTextVNode as u, toDisplayString as r, unref as w, createElementBlock as E, withDirectives as C, vShow as $, createCommentVNode as R } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useRoute as S } from "vue-router";
|
|
4
|
-
import { D as c, i as K, b as T } from "./index-
|
|
4
|
+
import { D as c, i as K, b as T } from "./index-DKtAcP6b.mjs";
|
|
5
5
|
const L = { key: 0 }, W = { key: 1 }, G = {
|
|
6
6
|
key: 2,
|
|
7
7
|
class: "distance-left"
|
|
8
|
-
}, Y = /* @__PURE__ */
|
|
8
|
+
}, Y = /* @__PURE__ */ z({
|
|
9
9
|
__name: "index",
|
|
10
|
-
props: /* @__PURE__ */
|
|
10
|
+
props: /* @__PURE__ */ M({
|
|
11
11
|
task: {
|
|
12
12
|
type: Object,
|
|
13
13
|
default: () => {
|
|
@@ -18,25 +18,25 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
18
18
|
modelModifiers: {}
|
|
19
19
|
}),
|
|
20
20
|
emits: ["update:modelValue"],
|
|
21
|
-
setup(
|
|
21
|
+
setup(g, { expose: h }) {
|
|
22
22
|
c.parentIdBizDict.useValues(), c.orgIdBizDict.useValues();
|
|
23
|
-
const
|
|
23
|
+
const V = S(), I = g, f = v({
|
|
24
24
|
curPage: 1,
|
|
25
25
|
pageSize: 10,
|
|
26
|
-
applyId:
|
|
27
|
-
}), n =
|
|
28
|
-
function
|
|
26
|
+
applyId: V.query.applyId
|
|
27
|
+
}), n = v({}), p = q(g, "modelValue"), k = v(), D = v({});
|
|
28
|
+
function N(l) {
|
|
29
29
|
l.mobileEncrypt = !l.mobileEncrypt;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
I.task.businessKey && B(), h({
|
|
32
32
|
changeModel: () => O()
|
|
33
33
|
});
|
|
34
34
|
function B() {
|
|
35
|
-
|
|
36
|
-
n.value = Object.assign(n.value, l), T.findList({
|
|
37
|
-
n.value.entrustUser = [], m.results.forEach((
|
|
38
|
-
|
|
39
|
-
...
|
|
35
|
+
f.value.applyId = I.task.businessKey, K.findById({ entrustId: f.value.applyId }).then(({ data: l }) => {
|
|
36
|
+
n.value = Object.assign(n.value, l), T.findList({ actionId: f.value.applyId }).then(({ data: m }) => {
|
|
37
|
+
n.value.entrustUser = [], m.results.forEach((o) => {
|
|
38
|
+
o.actionId == f.value.applyId && n.value.entrustUser.push({
|
|
39
|
+
...o
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
});
|
|
@@ -46,25 +46,25 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
46
46
|
return p.value && (p.value.selectActions = [
|
|
47
47
|
{ key: "true", value: "同意" },
|
|
48
48
|
{ key: "false", value: "不同意" }
|
|
49
|
-
], p.value.varName = "approved", p.value.module = "
|
|
50
|
-
var
|
|
51
|
-
(
|
|
49
|
+
], p.value.varName = "approved", p.value.module = ""), new Promise((l, m) => {
|
|
50
|
+
var o;
|
|
51
|
+
(o = k.value) == null || o.validate((s) => {
|
|
52
52
|
s ? (p.value && (p.value.comment = ""), l(!0)) : m(!1);
|
|
53
53
|
});
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
return (l, m) => {
|
|
57
|
-
const
|
|
58
|
-
return
|
|
57
|
+
const o = d("el-col"), s = d("el-row"), i = d("el-form-item"), _ = d("el-table-column"), F = d("svg-icon"), U = d("el-table"), j = d("el-form");
|
|
58
|
+
return b(), A(j, {
|
|
59
59
|
ref_key: "taskFormRef",
|
|
60
|
-
ref:
|
|
60
|
+
ref: k,
|
|
61
61
|
model: D.value,
|
|
62
62
|
"label-width": "130px"
|
|
63
63
|
}, {
|
|
64
64
|
default: t(() => [
|
|
65
65
|
e(s, null, {
|
|
66
66
|
default: t(() => [
|
|
67
|
-
e(
|
|
67
|
+
e(o, { span: 12 }, {
|
|
68
68
|
default: t(() => m[0] || (m[0] = [
|
|
69
69
|
P("div", { class: "title" }, "委托服务订单", -1)
|
|
70
70
|
])),
|
|
@@ -75,9 +75,9 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
75
75
|
}),
|
|
76
76
|
e(s, null, {
|
|
77
77
|
default: t(() => [
|
|
78
|
-
e(
|
|
78
|
+
e(o, { span: 24 }, {
|
|
79
79
|
default: t(() => [
|
|
80
|
-
e(
|
|
80
|
+
e(i, {
|
|
81
81
|
label: l.$t("itsmFlowEntrust.contractId"),
|
|
82
82
|
prop: "contractName"
|
|
83
83
|
}, {
|
|
@@ -94,9 +94,9 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
94
94
|
}),
|
|
95
95
|
e(s, null, {
|
|
96
96
|
default: t(() => [
|
|
97
|
-
e(
|
|
97
|
+
e(o, { span: 24 }, {
|
|
98
98
|
default: t(() => [
|
|
99
|
-
e(
|
|
99
|
+
e(i, {
|
|
100
100
|
label: l.$t("itsmFlowEntrust.contractNo"),
|
|
101
101
|
prop: "contractNo"
|
|
102
102
|
}, {
|
|
@@ -113,14 +113,14 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
113
113
|
}),
|
|
114
114
|
e(s, null, {
|
|
115
115
|
default: t(() => [
|
|
116
|
-
e(
|
|
116
|
+
e(o, { span: 12 }, {
|
|
117
117
|
default: t(() => [
|
|
118
|
-
e(
|
|
118
|
+
e(i, {
|
|
119
119
|
label: l.$t("itsmFlowEntrust.entrustName"),
|
|
120
120
|
prop: "entrustName"
|
|
121
121
|
}, {
|
|
122
122
|
default: t(() => [
|
|
123
|
-
u(r(
|
|
123
|
+
u(r(w(c).projectNameDict.getDictValue(n.value.entrustName)), 1)
|
|
124
124
|
]),
|
|
125
125
|
_: 1
|
|
126
126
|
}, 8, ["label"])
|
|
@@ -132,9 +132,9 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
132
132
|
}),
|
|
133
133
|
e(s, null, {
|
|
134
134
|
default: t(() => [
|
|
135
|
-
e(
|
|
135
|
+
e(o, { span: 12 }, {
|
|
136
136
|
default: t(() => [
|
|
137
|
-
e(
|
|
137
|
+
e(i, {
|
|
138
138
|
label: l.$t("itsmFlowEntrust.entrustItsmId"),
|
|
139
139
|
prop: "entrustItsmId"
|
|
140
140
|
}, {
|
|
@@ -151,16 +151,16 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
151
151
|
}),
|
|
152
152
|
e(s, null, {
|
|
153
153
|
default: t(() => [
|
|
154
|
-
e(
|
|
154
|
+
e(o, { span: 12 }, {
|
|
155
155
|
default: t(() => [
|
|
156
|
-
e(
|
|
156
|
+
e(i, {
|
|
157
157
|
label: l.$t("itsmFlowEntrust.belongOrg"),
|
|
158
158
|
prop: "belongOrg"
|
|
159
159
|
}, {
|
|
160
160
|
default: t(() => {
|
|
161
|
-
var
|
|
161
|
+
var a;
|
|
162
162
|
return [
|
|
163
|
-
u(r((((
|
|
163
|
+
u(r((((a = n.value.belongOrgId) == null ? void 0 : a.split(",")) || []).map((y) => w(c).parentIdBizDict.getValue(y)).join(",")), 1)
|
|
164
164
|
];
|
|
165
165
|
}),
|
|
166
166
|
_: 1
|
|
@@ -173,14 +173,14 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
173
173
|
}),
|
|
174
174
|
e(s, null, {
|
|
175
175
|
default: t(() => [
|
|
176
|
-
e(
|
|
176
|
+
e(o, { span: 12 }, {
|
|
177
177
|
default: t(() => [
|
|
178
|
-
e(
|
|
178
|
+
e(i, {
|
|
179
179
|
label: l.$t("itsmFlowEntrust.serviceContent"),
|
|
180
180
|
prop: "serviceContent"
|
|
181
181
|
}, {
|
|
182
182
|
default: t(() => [
|
|
183
|
-
u(r(
|
|
183
|
+
u(r(w(c).serviceContentEnum.getEnumValue(n.value.serviceContent)), 1)
|
|
184
184
|
]),
|
|
185
185
|
_: 1
|
|
186
186
|
}, 8, ["label"])
|
|
@@ -192,14 +192,14 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
192
192
|
}),
|
|
193
193
|
e(s, null, {
|
|
194
194
|
default: t(() => [
|
|
195
|
-
e(
|
|
195
|
+
e(o, { span: 12 }, {
|
|
196
196
|
default: t(() => [
|
|
197
|
-
e(
|
|
197
|
+
e(i, {
|
|
198
198
|
label: l.$t("itsmFlowEntrust.serviceOrg"),
|
|
199
199
|
prop: "serviceOrg"
|
|
200
200
|
}, {
|
|
201
201
|
default: t(() => [
|
|
202
|
-
u(r(
|
|
202
|
+
u(r(w(c).orgIdBizDict.getValue(n.value.serviceOrg)), 1)
|
|
203
203
|
]),
|
|
204
204
|
_: 1
|
|
205
205
|
}, 8, ["label"])
|
|
@@ -211,9 +211,9 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
211
211
|
}),
|
|
212
212
|
e(s, null, {
|
|
213
213
|
default: t(() => [
|
|
214
|
-
e(
|
|
214
|
+
e(o, { span: 12 }, {
|
|
215
215
|
default: t(() => [
|
|
216
|
-
e(
|
|
216
|
+
e(i, {
|
|
217
217
|
label: l.$t("itsmFlowEntrust.orderNo"),
|
|
218
218
|
prop: "orderNo"
|
|
219
219
|
}, {
|
|
@@ -230,9 +230,9 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
230
230
|
}),
|
|
231
231
|
e(s, null, {
|
|
232
232
|
default: t(() => [
|
|
233
|
-
e(
|
|
233
|
+
e(o, { span: 12 }, {
|
|
234
234
|
default: t(() => [
|
|
235
|
-
e(
|
|
235
|
+
e(i, {
|
|
236
236
|
label: l.$t("itsmFlowEntrust.workContent"),
|
|
237
237
|
prop: "workContent"
|
|
238
238
|
}, {
|
|
@@ -249,7 +249,7 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
249
249
|
}),
|
|
250
250
|
e(s, null, {
|
|
251
251
|
default: t(() => [
|
|
252
|
-
e(
|
|
252
|
+
e(o, { span: 14 }, {
|
|
253
253
|
default: t(() => [
|
|
254
254
|
e(U, {
|
|
255
255
|
stripe: "",
|
|
@@ -257,53 +257,53 @@ const L = { key: 0 }, W = { key: 1 }, G = {
|
|
|
257
257
|
style: { width: "100%" }
|
|
258
258
|
}, {
|
|
259
259
|
default: t(() => [
|
|
260
|
-
e(
|
|
260
|
+
e(_, {
|
|
261
261
|
prop: "userId",
|
|
262
262
|
label: l.$t("itsmFlowEntrustUser.userId")
|
|
263
263
|
}, {
|
|
264
|
-
default: t((
|
|
265
|
-
u(r(
|
|
264
|
+
default: t((a) => [
|
|
265
|
+
u(r(a.row.userName), 1)
|
|
266
266
|
]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, ["label"]),
|
|
269
|
-
e(
|
|
269
|
+
e(_, {
|
|
270
270
|
prop: "idNo",
|
|
271
271
|
label: l.$t("itsmFlowEntrustUser.idNo")
|
|
272
272
|
}, {
|
|
273
|
-
default: t((
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
273
|
+
default: t((a) => [
|
|
274
|
+
a.row.mobileEncrypt ? (b(), E("span", W, r(a.row.idNo), 1)) : (b(), E("span", L, r(a.row.idNoIns), 1)),
|
|
275
|
+
a.row.idNoIns ? (b(), E("span", G, [
|
|
276
|
+
C(e(F, {
|
|
277
277
|
"icon-class": "close-eye",
|
|
278
|
-
onClick: (y) =>
|
|
278
|
+
onClick: (y) => N(a.row)
|
|
279
279
|
}, null, 8, ["onClick"]), [
|
|
280
|
-
[
|
|
280
|
+
[$, !a.row.mobileEncrypt]
|
|
281
281
|
]),
|
|
282
|
-
|
|
282
|
+
C(e(F, {
|
|
283
283
|
"icon-class": "eye-open",
|
|
284
|
-
onClick: (y) =>
|
|
284
|
+
onClick: (y) => N(a.row)
|
|
285
285
|
}, null, 8, ["onClick"]), [
|
|
286
|
-
[
|
|
286
|
+
[$, a.row.mobileEncrypt]
|
|
287
287
|
])
|
|
288
288
|
])) : R("", !0)
|
|
289
289
|
]),
|
|
290
290
|
_: 1
|
|
291
291
|
}, 8, ["label"]),
|
|
292
|
-
e(
|
|
292
|
+
e(_, {
|
|
293
293
|
prop: "cost",
|
|
294
294
|
label: l.$t("itsmFlowEntrustUser.cost")
|
|
295
295
|
}, {
|
|
296
|
-
default: t((
|
|
297
|
-
u(r(
|
|
296
|
+
default: t((a) => [
|
|
297
|
+
u(r(a.row.cost), 1)
|
|
298
298
|
]),
|
|
299
299
|
_: 1
|
|
300
300
|
}, 8, ["label"]),
|
|
301
|
-
e(
|
|
301
|
+
e(_, {
|
|
302
302
|
prop: "duration",
|
|
303
303
|
label: l.$t("itsmFlowEntrustUser.duration")
|
|
304
304
|
}, {
|
|
305
|
-
default: t((
|
|
306
|
-
u(r(
|
|
305
|
+
default: t((a) => [
|
|
306
|
+
u(r(a.row.duration && typeof a.row.duration == "string" ? a.row.duration.split(",").join("~") : a.row.duration), 1)
|
|
307
307
|
]),
|
|
308
308
|
_: 1
|
|
309
309
|
}, 8, ["label"])
|