xyvcard-itsm-flow 0.0.14 → 0.0.16
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-C5EkvsBj.mjs → edit-BKYkA5db.mjs} +1 -1
- package/dist/{edit-CF3xSSyv.mjs → edit-BeFLJLv1.mjs} +1 -1
- package/dist/{edit-Rj9Uz_7E.mjs → edit-BrIptvPg.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CXXUyaL0.mjs → edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs} +9 -8
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D1aLFtH6.mjs → edit.vue_vue_type_script_setup_true_lang-BiWjf5y2.mjs} +29 -28
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CMBByn6f.mjs → edit.vue_vue_type_script_setup_true_lang-CjjtZ0-a.mjs} +8 -7
- package/dist/{el-message-DweX1k3E.mjs → el-message-DawVzOVQ.mjs} +25 -25
- package/dist/{index-DkosMJpy.mjs → index-B7M3zSyM.mjs} +2 -2
- package/dist/{index-_KUj3xRY.mjs → index-B7xhs2Eg.mjs} +5 -4
- package/dist/{index-BvRC1w8b.mjs → index-B9enSHLF.mjs} +36 -35
- package/dist/index-BcD1DAF_.mjs +339 -0
- package/dist/{index-tRvxeQdk.mjs → index-C0CZrR-1.mjs} +2 -2
- package/dist/{index-DukVUjy5.mjs → index-CZw5m3rz.mjs} +17 -16
- package/dist/{index-VuC-5Jb_.mjs → index-Clc9EA6r.mjs} +5 -4
- package/dist/index-DTKFEGFs.mjs +339 -0
- package/dist/index-DVDOqO_3.mjs +491 -0
- package/dist/{index-D8N9GIjm.mjs → index-DY017z-s.mjs} +2 -2
- package/dist/{index-CWrGwJD5.mjs → index-IG9HKXxJ.mjs} +9 -8
- package/dist/index-PafaMNgK.mjs +110 -0
- package/dist/{index-ciUtLvg7.mjs → index-d_oBTW1A.mjs} +9 -8
- package/dist/index-rnfNatQ1.mjs +315 -0
- package/dist/index.mjs +232 -228
- package/dist/info-CFSSXb0f.mjs +4 -0
- package/dist/info-D6GMiIlG.mjs +4 -0
- package/dist/info-DxYNokk4.mjs +4 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs +373 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs +363 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs +393 -0
- package/dts/api/index.d.ts +1 -0
- package/dts/api/itsm-flow-acceptance/types.d.ts +1 -0
- package/dts/constant.d.ts +1 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +4 -0
- package/dts/views/itsm-flow-acceptance-info/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-acceptance-info/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-entrust-info/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-entrust-info/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-reckoning-info/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-reckoning-info/info.vue.d.ts +26 -0
- package/package.json +2 -2
- package/dist/index-CMpeLVvR.mjs +0 -593
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ne, mergeModels as se, ref as g, useModel as de, reactive as C, computed as re, resolveComponent as u, createElementBlock as E, openBlock as k, Fragment as D, createVNode as t, withCtx as a, createElementVNode as r, unref as d, renderList as ue, createBlock as B, createTextVNode as N, toDisplayString as F, createCommentVNode as ie } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as ce } from "vue-i18n";
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
6
|
-
import {
|
|
7
|
-
|
|
4
|
+
import { p as me } from "./index-PafaMNgK.mjs";
|
|
5
|
+
import { i as O, t as pe, a as fe } from "./common-Cwl5jzlM.mjs";
|
|
6
|
+
import { g as be, C as M, D as I, h as z, b as ve } from "./index-DVDOqO_3.mjs";
|
|
7
|
+
import { E as ge } from "./el-message-DawVzOVQ.mjs";
|
|
8
|
+
const Re = /* @__PURE__ */ ne({
|
|
8
9
|
__name: "index",
|
|
9
10
|
props: /* @__PURE__ */ se({
|
|
10
11
|
task: {
|
|
@@ -18,8 +19,8 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
18
19
|
}),
|
|
19
20
|
emits: ["update:modelValue"],
|
|
20
21
|
setup(U, { expose: A }) {
|
|
21
|
-
const { t: _ } = ce(), R = g([]), h = new
|
|
22
|
-
applyStatus:
|
|
22
|
+
const { t: _ } = ce(), R = g([]), h = new be({
|
|
23
|
+
applyStatus: M.applyStatus.finished
|
|
23
24
|
});
|
|
24
25
|
h.useValues(), I.orgIdBizDict.useValues();
|
|
25
26
|
const w = U, V = g({
|
|
@@ -75,7 +76,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
75
76
|
changeModel: () => Q()
|
|
76
77
|
});
|
|
77
78
|
function T() {
|
|
78
|
-
|
|
79
|
+
ve.findList({ actionId: V.value.reckoningId }).then(({ data: l }) => {
|
|
79
80
|
const e = l.results.map(
|
|
80
81
|
(s) => ({
|
|
81
82
|
...s,
|
|
@@ -86,8 +87,8 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
86
87
|
});
|
|
87
88
|
}
|
|
88
89
|
function K() {
|
|
89
|
-
|
|
90
|
-
Object.assign(n, l), b.value = new
|
|
90
|
+
O.findById({ reckoningId: V.value.reckoningId }).then(({ data: l }) => {
|
|
91
|
+
Object.assign(n, l), b.value = new z({
|
|
91
92
|
actionId: (l == null ? void 0 : l.entrustId) ?? ""
|
|
92
93
|
}), b.value.useValues();
|
|
93
94
|
}), T();
|
|
@@ -102,7 +103,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
102
103
|
const e = h.values.find(
|
|
103
104
|
(s) => s.key === l
|
|
104
105
|
);
|
|
105
|
-
n.contractName = (e == null ? void 0 : e.contractName) ?? "", n.contractNo = (e == null ? void 0 : e.contractNo) ?? "", n.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", n.entrustName = (e == null ? void 0 : e.entrustName) ?? "", n.orderNo = (e == null ? void 0 : e.orderNo) ?? "", n.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", n.entrustId = (e == null ? void 0 : e.entrustId) ?? "", n.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", W(), b.value = new
|
|
106
|
+
n.contractName = (e == null ? void 0 : e.contractName) ?? "", n.contractNo = (e == null ? void 0 : e.contractNo) ?? "", n.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", n.entrustName = (e == null ? void 0 : e.entrustName) ?? "", n.orderNo = (e == null ? void 0 : e.orderNo) ?? "", n.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", n.entrustId = (e == null ? void 0 : e.entrustId) ?? "", n.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", W(), b.value = new z({
|
|
106
107
|
actionId: (e == null ? void 0 : e.entrustId) ?? ""
|
|
107
108
|
}), b.value.useValues();
|
|
108
109
|
}
|
|
@@ -122,10 +123,10 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
122
123
|
return f.value && (f.value.selectActions = [
|
|
123
124
|
{ key: "true", value: "同意" },
|
|
124
125
|
{ key: "false", value: "不同意" }
|
|
125
|
-
], f.value.varName = "approved", f.value.module = "", f.value.module =
|
|
126
|
+
], f.value.varName = "approved", f.value.module = "", f.value.module = M.MODULE_ITSMFLOW), new Promise((l, e) => {
|
|
126
127
|
var s;
|
|
127
128
|
(s = $.value) == null || s.validate((c) => {
|
|
128
|
-
c ? f.value && (f.value.comment = "", J(), n.requestId = Math.random() * 10 + "",
|
|
129
|
+
c ? f.value && (f.value.comment = "", J(), n.requestId = Math.random() * 10 + "", O.save({
|
|
129
130
|
...n,
|
|
130
131
|
entrustUser: R.value
|
|
131
132
|
}).then((m) => {
|
|
@@ -416,7 +417,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
416
417
|
"header-align": "center"
|
|
417
418
|
}, {
|
|
418
419
|
default: a(({ row: o }) => [
|
|
419
|
-
N(F(d(
|
|
420
|
+
N(F(d(pe)(o.cost, o.duration)) + "元 ", 1)
|
|
420
421
|
]),
|
|
421
422
|
_: 1
|
|
422
423
|
}, 8, ["label"]),
|
|
@@ -445,7 +446,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
445
446
|
_: 1
|
|
446
447
|
}, 8, ["data"]),
|
|
447
448
|
t(oe, {
|
|
448
|
-
icon: d(
|
|
449
|
+
icon: d(me),
|
|
449
450
|
class: "addButton",
|
|
450
451
|
onClick: S
|
|
451
452
|
}, {
|
|
@@ -463,7 +464,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
463
464
|
label: l.$t("itsmFlowReckoning.totalPrice")
|
|
464
465
|
}, {
|
|
465
466
|
default: a(() => [
|
|
466
|
-
N(F(d(
|
|
467
|
+
N(F(d(fe)(P.value)) + "元 ", 1)
|
|
467
468
|
]),
|
|
468
469
|
_: 1
|
|
469
470
|
}, 8, ["label"])
|
|
@@ -524,5 +525,5 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
524
525
|
}
|
|
525
526
|
});
|
|
526
527
|
export {
|
|
527
|
-
|
|
528
|
+
Re as default
|
|
528
529
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineComponent as le, mergeModels as oe, ref as f, useModel as ne, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as j, createVNode as e, withCtx as t, createElementVNode as n, createTextVNode as r, toDisplayString as s, unref as b, createCommentVNode as g, withDirectives as L, vShow as q, createBlock as z, renderList as ae } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import {
|
|
3
|
+
import { u as se } from "./index-PafaMNgK.mjs";
|
|
4
|
+
import { D as y, a as h, C as $, b as ue } from "./index-DVDOqO_3.mjs";
|
|
4
5
|
import "jmash-core";
|
|
5
6
|
import { useI18n as re } from "vue-i18n";
|
|
6
7
|
import { F as ie } from "./FileSaver.min-5d27MsC6.mjs";
|
|
7
|
-
import { E as A } from "./el-message-
|
|
8
|
+
import { E as A } from "./el-message-DawVzOVQ.mjs";
|
|
8
9
|
const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
9
10
|
key: 2,
|
|
10
11
|
class: "distance-left"
|
|
11
|
-
},
|
|
12
|
+
}, Fe = /* @__PURE__ */ le({
|
|
12
13
|
__name: "index",
|
|
13
14
|
props: /* @__PURE__ */ oe({
|
|
14
15
|
task: {
|
|
@@ -484,5 +485,5 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
484
485
|
}
|
|
485
486
|
});
|
|
486
487
|
export {
|
|
487
|
-
|
|
488
|
+
Fe as default
|
|
488
489
|
};
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as g, createElementVNode as f, createVNode as l, createBlock as I, createCommentVNode as S, withCtx as o, withKeys as w, unref as n, createTextVNode as V, toDisplayString as p, withDirectives as J, isRef as D } from "vue";
|
|
2
|
+
import { useTableHooks as M } from "jmash-core";
|
|
3
|
+
import { useI18n as X } from "vue-i18n";
|
|
4
|
+
import { a as Y, D as m } from "./index-DVDOqO_3.mjs";
|
|
5
|
+
import { _ as Z } from "./info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs";
|
|
6
|
+
const x = { class: "app-container" }, ee = { class: "search-container" }, te = ["onClick"], ue = /* @__PURE__ */ H({
|
|
7
|
+
__name: "index",
|
|
8
|
+
setup(le) {
|
|
9
|
+
const { t: y } = X(), r = N({}), {
|
|
10
|
+
tableHooks: s,
|
|
11
|
+
multipleTableRef: R,
|
|
12
|
+
queryFormRef: j,
|
|
13
|
+
listLoading: O,
|
|
14
|
+
tableData: U,
|
|
15
|
+
total: b
|
|
16
|
+
} = M(y, Y, r);
|
|
17
|
+
m.orgIdBizDict.useValues(), m.parentIdBizDict.useValues();
|
|
18
|
+
let v = N([
|
|
19
|
+
{
|
|
20
|
+
label: "itsmFlowEntrust.contractId",
|
|
21
|
+
prop: "contractName",
|
|
22
|
+
width: "150",
|
|
23
|
+
isColumn: !0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "itsmFlowEntrust.contractNo",
|
|
27
|
+
prop: "contractNo",
|
|
28
|
+
width: "120",
|
|
29
|
+
isColumn: !0
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: "itsmFlowEntrust.entrustName",
|
|
33
|
+
prop: "entrustName",
|
|
34
|
+
isColumn: !0,
|
|
35
|
+
slotName: "entrustName",
|
|
36
|
+
columnType: "slot",
|
|
37
|
+
minWidth: "150"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "itsmFlowEntrust.entrustItsmId",
|
|
41
|
+
prop: "entrustItsmName",
|
|
42
|
+
width: "150",
|
|
43
|
+
isColumn: !0
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "itsmFlowEntrust.belongOrg",
|
|
47
|
+
prop: "belongOrgId",
|
|
48
|
+
width: "150",
|
|
49
|
+
isColumn: !0,
|
|
50
|
+
slotName: "belongOrgId",
|
|
51
|
+
columnType: "slot"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: "itsmFlowEntrust.serviceContent",
|
|
55
|
+
prop: "serviceContent",
|
|
56
|
+
width: "85",
|
|
57
|
+
isColumn: !0,
|
|
58
|
+
slotName: "serviceContent",
|
|
59
|
+
columnType: "slot"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
label: "itsmFlowEntrust.serviceOrg",
|
|
63
|
+
prop: "serviceOrg",
|
|
64
|
+
width: "150",
|
|
65
|
+
isColumn: !0,
|
|
66
|
+
slotName: "serviceOrg",
|
|
67
|
+
columnType: "slot"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: "itsmFlowEntrust.orderNo",
|
|
71
|
+
prop: "orderNo",
|
|
72
|
+
width: "150",
|
|
73
|
+
isColumn: !0
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
label: "common.operate",
|
|
77
|
+
width: "80",
|
|
78
|
+
slotName: "operation",
|
|
79
|
+
columnType: "slot",
|
|
80
|
+
fixed: "right",
|
|
81
|
+
isColumn: !0
|
|
82
|
+
}
|
|
83
|
+
]);
|
|
84
|
+
const d = N({
|
|
85
|
+
title: y("common.view"),
|
|
86
|
+
visible: !1
|
|
87
|
+
});
|
|
88
|
+
let _ = W({});
|
|
89
|
+
function z(a) {
|
|
90
|
+
_ = { ...a }, d.value.title = y("common.view"), d.value.visible = !0;
|
|
91
|
+
}
|
|
92
|
+
function T(a) {
|
|
93
|
+
s.selectionRows.value = a;
|
|
94
|
+
}
|
|
95
|
+
function q(a) {
|
|
96
|
+
s.handleSort(a.prop, a.order);
|
|
97
|
+
}
|
|
98
|
+
return s.getList(), (a, t) => {
|
|
99
|
+
const C = u("el-input"), c = u("el-form-item"), i = u("el-col"), E = u("jmash-select"), k = u("el-button"), $ = u("el-row"), P = u("el-form"), B = u("jmash-column-select"), K = u("jmash-table"), Q = u("jmash-pagination"), L = u("el-card"), A = G("hasPerm");
|
|
100
|
+
return g(), h("div", x, [
|
|
101
|
+
f("div", ee, [
|
|
102
|
+
l(P, {
|
|
103
|
+
ref_key: "queryFormRef",
|
|
104
|
+
ref: j,
|
|
105
|
+
model: r.value,
|
|
106
|
+
inline: !0
|
|
107
|
+
}, {
|
|
108
|
+
default: o(() => [
|
|
109
|
+
l($, null, {
|
|
110
|
+
default: o(() => [
|
|
111
|
+
l(i, { span: 6 }, {
|
|
112
|
+
default: o(() => [
|
|
113
|
+
l(c, {
|
|
114
|
+
label: a.$t("itsmFlowEntrust.contractId"),
|
|
115
|
+
prop: "likeContractName"
|
|
116
|
+
}, {
|
|
117
|
+
default: o(() => [
|
|
118
|
+
l(C, {
|
|
119
|
+
modelValue: r.value.likeContractName,
|
|
120
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
|
|
121
|
+
placeholder: a.$t("itsmFlowEntrust.contractNameRequired"),
|
|
122
|
+
onKeyup: t[1] || (t[1] = w((e) => n(s).handleQuery(), ["enter"])),
|
|
123
|
+
class: "!w-[203px]"
|
|
124
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["label"])
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}),
|
|
131
|
+
l(i, { span: 6 }, {
|
|
132
|
+
default: o(() => [
|
|
133
|
+
l(c, {
|
|
134
|
+
label: a.$t("itsmFlowEntrust.contractNo"),
|
|
135
|
+
prop: "likeContractNo"
|
|
136
|
+
}, {
|
|
137
|
+
default: o(() => [
|
|
138
|
+
l(C, {
|
|
139
|
+
modelValue: r.value.likeContractNo,
|
|
140
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
|
|
141
|
+
placeholder: a.$t("itsmFlowEntrust.contractNoRequired"),
|
|
142
|
+
onKeyup: t[3] || (t[3] = w((e) => n(s).handleQuery(), ["enter"])),
|
|
143
|
+
class: "!w-[203px]"
|
|
144
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["label"])
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}),
|
|
151
|
+
l(i, { span: 6 }, {
|
|
152
|
+
default: o(() => [
|
|
153
|
+
l(c, {
|
|
154
|
+
label: a.$t("itsmFlowEntrust.serviceContent"),
|
|
155
|
+
prop: "serviceContent"
|
|
156
|
+
}, {
|
|
157
|
+
default: o(() => [
|
|
158
|
+
l(E, {
|
|
159
|
+
modelValue: r.value.serviceContent,
|
|
160
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.serviceContent = e),
|
|
161
|
+
placeholder: a.$t("itsmFlowEntrust.serviceContentRequired"),
|
|
162
|
+
data: n(m).serviceContentEnum.values,
|
|
163
|
+
clearable: "",
|
|
164
|
+
filterable: "",
|
|
165
|
+
onKeyup: t[5] || (t[5] = w((e) => n(s).handleQuery(), ["enter"])),
|
|
166
|
+
class: "!w-[203px]"
|
|
167
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}, 8, ["label"])
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}),
|
|
174
|
+
l(i, { span: 6 }, {
|
|
175
|
+
default: o(() => [
|
|
176
|
+
l(c, {
|
|
177
|
+
label: a.$t("itsmFlowEntrust.orderNo"),
|
|
178
|
+
prop: "orderNo"
|
|
179
|
+
}, {
|
|
180
|
+
default: o(() => [
|
|
181
|
+
l(C, {
|
|
182
|
+
modelValue: r.value.orderNo,
|
|
183
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.orderNo = e),
|
|
184
|
+
placeholder: a.$t("itsmFlowEntrust.orderNoRequireds"),
|
|
185
|
+
onKeyup: t[7] || (t[7] = w((e) => n(s).handleQuery(), ["enter"])),
|
|
186
|
+
class: "!w-[203px]"
|
|
187
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 8, ["label"])
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}),
|
|
194
|
+
l(i, { span: 6 }, {
|
|
195
|
+
default: o(() => [
|
|
196
|
+
l(c, {
|
|
197
|
+
label: a.$t("itsmFlowAcceptance.applyStatus"),
|
|
198
|
+
prop: "applyStatus"
|
|
199
|
+
}, {
|
|
200
|
+
default: o(() => [
|
|
201
|
+
l(E, {
|
|
202
|
+
modelValue: r.value.applyStatus,
|
|
203
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => r.value.applyStatus = e),
|
|
204
|
+
placeholder: a.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
205
|
+
data: n(m).applyStatusEnum.values,
|
|
206
|
+
onKeyup: t[9] || (t[9] = w((e) => n(s).handleQuery(), ["enter"]))
|
|
207
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}, 8, ["label"])
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}),
|
|
214
|
+
l(i, { span: 18 }, {
|
|
215
|
+
default: o(() => [
|
|
216
|
+
l(c, { class: "search-btn" }, {
|
|
217
|
+
default: o(() => [
|
|
218
|
+
l(k, {
|
|
219
|
+
type: "primary",
|
|
220
|
+
onClick: t[10] || (t[10] = (e) => n(s).handleQuery())
|
|
221
|
+
}, {
|
|
222
|
+
default: o(() => [
|
|
223
|
+
V(p(a.$t("common.search")), 1)
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
}),
|
|
227
|
+
l(k, {
|
|
228
|
+
onClick: t[11] || (t[11] = (e) => n(s).resetQuery())
|
|
229
|
+
}, {
|
|
230
|
+
default: o(() => [
|
|
231
|
+
V(p(a.$t("common.reset")), 1)
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
})
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
})
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
})
|
|
241
|
+
]),
|
|
242
|
+
_: 1
|
|
243
|
+
})
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
}, 8, ["model"])
|
|
247
|
+
]),
|
|
248
|
+
l(L, {
|
|
249
|
+
shadow: "never",
|
|
250
|
+
class: "table-container"
|
|
251
|
+
}, {
|
|
252
|
+
header: o(() => [
|
|
253
|
+
l($, null, {
|
|
254
|
+
default: o(() => [
|
|
255
|
+
l(i, { span: 17 }),
|
|
256
|
+
l(i, {
|
|
257
|
+
span: 7,
|
|
258
|
+
class: "container-float"
|
|
259
|
+
}, {
|
|
260
|
+
default: o(() => [
|
|
261
|
+
l(B, {
|
|
262
|
+
modelValue: n(v),
|
|
263
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => D(v) ? v.value = e : v = e),
|
|
264
|
+
"label-name": "itsm-flow-entrust"
|
|
265
|
+
}, null, 8, ["modelValue"])
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
})
|
|
269
|
+
]),
|
|
270
|
+
_: 1
|
|
271
|
+
})
|
|
272
|
+
]),
|
|
273
|
+
footer: o(() => [
|
|
274
|
+
n(b) > 0 ? (g(), I(Q, {
|
|
275
|
+
key: 0,
|
|
276
|
+
total: n(b),
|
|
277
|
+
"onUpdate:total": t[13] || (t[13] = (e) => D(b) ? b.value = e : null),
|
|
278
|
+
"current-page": r.value.curPage,
|
|
279
|
+
"onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
|
|
280
|
+
"page-size": r.value.pageSize,
|
|
281
|
+
"onUpdate:pageSize": t[15] || (t[15] = (e) => r.value.pageSize = e),
|
|
282
|
+
onPagination: t[16] || (t[16] = (e) => n(s).getList())
|
|
283
|
+
}, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
|
|
284
|
+
]),
|
|
285
|
+
default: o(() => [
|
|
286
|
+
l(K, {
|
|
287
|
+
ref_key: "multipleTableRef",
|
|
288
|
+
ref: R,
|
|
289
|
+
"row-key": "entrustId",
|
|
290
|
+
"list-loading": n(O),
|
|
291
|
+
data: n(U),
|
|
292
|
+
"table-label": n(v),
|
|
293
|
+
onSelectionChange: T,
|
|
294
|
+
onSortChange: q
|
|
295
|
+
}, {
|
|
296
|
+
entrustName: o((e) => [
|
|
297
|
+
f("span", null, p(n(m).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
|
|
298
|
+
]),
|
|
299
|
+
belongOrgId: o((e) => [
|
|
300
|
+
f("span", null, p(e.data.row.belongOrgId.split(",").map((F) => n(m).parentIdBizDict.getValue(F)).join(",")), 1)
|
|
301
|
+
]),
|
|
302
|
+
serviceContent: o((e) => [
|
|
303
|
+
f("span", null, p(n(m).serviceContentEnum.getEnumValue(
|
|
304
|
+
e.data.row.serviceContent
|
|
305
|
+
)), 1)
|
|
306
|
+
]),
|
|
307
|
+
serviceOrg: o((e) => [
|
|
308
|
+
f("span", null, p(n(m).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
|
|
309
|
+
]),
|
|
310
|
+
operation: o((e) => [
|
|
311
|
+
J((g(), h("span", {
|
|
312
|
+
class: "el-button-color",
|
|
313
|
+
onClick: (F) => z(e.data.row)
|
|
314
|
+
}, [
|
|
315
|
+
V(p(a.$t("common.view")), 1)
|
|
316
|
+
], 8, te)), [
|
|
317
|
+
[A, ["itsmflow:itsm_flow_entrust:view"]]
|
|
318
|
+
])
|
|
319
|
+
]),
|
|
320
|
+
_: 1
|
|
321
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
322
|
+
]),
|
|
323
|
+
_: 1
|
|
324
|
+
}),
|
|
325
|
+
d.value.visible ? (g(), I(Z, {
|
|
326
|
+
key: 0,
|
|
327
|
+
modelValue: d.value.visible,
|
|
328
|
+
"onUpdate:modelValue": t[17] || (t[17] = (e) => d.value.visible = e),
|
|
329
|
+
title: d.value.title,
|
|
330
|
+
"entity-key": n(_),
|
|
331
|
+
width: "900px"
|
|
332
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
|
|
333
|
+
]);
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
export {
|
|
338
|
+
ue as default
|
|
339
|
+
};
|