xyvcard-itsm-flow 0.0.6 → 0.0.7
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/_commonjsHelpers-BVfed4GL.mjs +28 -0
- package/dist/{edit-CWxy8_xc.mjs → edit-BZbho2xr.mjs} +1 -1
- package/dist/edit-DA920KWc.mjs +4 -0
- package/dist/edit-DxK8SrUd.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CApSv9W3.mjs +589 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CVKTwRZs.mjs +688 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DlKz97iK.mjs +656 -0
- package/dist/el-message-D28AReoi.mjs +1238 -0
- package/dist/index-BZGkoyv9.mjs +68 -0
- package/dist/{index-C_jhIPZS.mjs → index-BwhWFAEK.mjs} +13 -12
- package/dist/index-CMOEnYG7.mjs +21 -0
- package/dist/index-CXarOLFt.mjs +361 -0
- package/dist/index-Clg5YSzX.mjs +598 -0
- package/dist/index-CwnMo6nD.mjs +1651 -0
- package/dist/index-DDwNGNtf.mjs +558 -0
- package/dist/index-Dimzx0Lh.mjs +344 -0
- package/dist/index-qOQQkVw8.mjs +345 -0
- package/dist/index.mjs +753 -727
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +6 -0
- package/dts/api/index.d.ts +3 -1
- package/dts/api/itsm-flow-acceptance/index.d.ts +20 -0
- package/dts/api/itsm-flow-acceptance/types.d.ts +104 -0
- package/dts/api/itsm-flow-entrust/index.d.ts +3 -2
- package/dts/api/itsm-flow-entrust/types.d.ts +24 -3
- package/dts/api/itsm-flow-reckoning/index.d.ts +20 -0
- package/dts/api/itsm-flow-reckoning/types.d.ts +93 -0
- package/dts/components/TaskItsmFlowEntrustEdit/index.vue.d.ts +28 -0
- package/dts/constant.d.ts +8 -0
- package/dts/index.d.ts +1 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +38 -14
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-acceptance/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-reckoning/index.vue.d.ts +2 -0
- package/package.json +4 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-Dxn9JNKd.mjs +0 -619
- package/dist/index-DKtAcP6b.mjs +0 -1582
- package/dist/index-DdDM4ocv.mjs +0 -327
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
var s = Object.defineProperty;
|
|
2
|
+
var o = (e, c, r) => c in e ? s(e, c, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[c] = r;
|
|
3
|
+
var t = (e, c, r) => o(e, typeof c != "symbol" ? c + "" : c, r);
|
|
4
|
+
import { CustomBizDict as E, EnumDict as m } from "jmash-core";
|
|
5
|
+
import { a as u, O as p, C as I, P as T, b as l, I as D, U as w } from "./index-qOQQkVw8.mjs";
|
|
6
|
+
import { ref as z } from "vue";
|
|
7
|
+
import { EntryDict as B } from "jmash-dict";
|
|
8
|
+
class i {
|
|
9
|
+
}
|
|
10
|
+
// 模块
|
|
11
|
+
t(i, "MODULE_ITSMFLOW", "itsmflow"), // 合同分类
|
|
12
|
+
t(i, "contractSort", {
|
|
13
|
+
// 人力
|
|
14
|
+
manpower: "manpower"
|
|
15
|
+
}), // 合同类型
|
|
16
|
+
t(i, "contractType", {
|
|
17
|
+
// 外协合同
|
|
18
|
+
outsource: "outsource"
|
|
19
|
+
}), // 时间格式-年月
|
|
20
|
+
t(i, "FORMAT_MONTH", "YYYY-MM"), // 验查结果
|
|
21
|
+
t(i, "IS_VALUES", z([
|
|
22
|
+
{ key: !0, value: "通过" },
|
|
23
|
+
{ key: !1, value: "不通过" }
|
|
24
|
+
])), // 服务内容枚举
|
|
25
|
+
t(i, "ENUM_SERVICE_CONTENT", "xyvcard.itsmflow.protobuf.ServiceContent"), // 项目名称
|
|
26
|
+
t(i, "DICT_PROJECT_NAME", "projectName"), // 机构类型
|
|
27
|
+
t(i, "orgType", {
|
|
28
|
+
// 厅局
|
|
29
|
+
hall: "HALL"
|
|
30
|
+
}), // 项目状态
|
|
31
|
+
t(i, "status", {
|
|
32
|
+
// 项目状态(正常)
|
|
33
|
+
regular: "regular"
|
|
34
|
+
}), // 流程状态
|
|
35
|
+
t(i, "applyStatus", {
|
|
36
|
+
// 草稿
|
|
37
|
+
draft: "DRAFT",
|
|
38
|
+
// 进行中
|
|
39
|
+
ongoing: "PROCESSING",
|
|
40
|
+
// 已办结
|
|
41
|
+
finished: "FINISHED"
|
|
42
|
+
}), // 人员类型
|
|
43
|
+
t(i, "userType", {
|
|
44
|
+
// 公司管理
|
|
45
|
+
companyManager: "COMPANY_MANAGER"
|
|
46
|
+
});
|
|
47
|
+
class a {
|
|
48
|
+
}
|
|
49
|
+
// 人力合同
|
|
50
|
+
t(a, "itsmContractBizDict", new u({})), // 服务人员所属单位
|
|
51
|
+
t(a, "orgIdBizDict", new p({})), // 实际投入人员
|
|
52
|
+
t(a, "contractUserBizDict", new I({})), // 验查结果
|
|
53
|
+
t(a, "isValuesDict", new E(i.IS_VALUES, {})), // 服务内容
|
|
54
|
+
t(a, "serviceContentEnum", new m(
|
|
55
|
+
i.MODULE_ITSMFLOW,
|
|
56
|
+
i.ENUM_SERVICE_CONTENT
|
|
57
|
+
)), // 项目名称
|
|
58
|
+
t(a, "projectNameDict", new B(i.DICT_PROJECT_NAME)), // 厅局管理父厅级单位
|
|
59
|
+
t(a, "parentIdBizDict", new T({
|
|
60
|
+
orgType: i.orgType.hall
|
|
61
|
+
})), // 项目列表
|
|
62
|
+
t(a, "itemBizLayDict", new l({})), // 验收书查询信息
|
|
63
|
+
t(a, "itsmFlowEntrustBizDict", new D({})), // 管理人员
|
|
64
|
+
t(a, "userExtBizDict", new w({}));
|
|
65
|
+
export {
|
|
66
|
+
i as C,
|
|
67
|
+
a as D
|
|
68
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
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
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
|
|
4
|
+
import { i as x } from "./index-qOQQkVw8.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-DlKz97iK.mjs";
|
|
6
|
+
import { D as c } from "./index-BZGkoyv9.mjs";
|
|
7
|
+
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ne = ["onClick"], pe = /* @__PURE__ */ W({
|
|
7
8
|
__name: "index",
|
|
8
9
|
setup(ae) {
|
|
9
10
|
const { t: v } = Z(), r = F({
|
|
@@ -34,7 +35,6 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
34
35
|
{
|
|
35
36
|
label: "itsmFlowEntrust.entrustName",
|
|
36
37
|
prop: "entrustName",
|
|
37
|
-
width: "150",
|
|
38
38
|
isColumn: !0,
|
|
39
39
|
slotName: "entrustName",
|
|
40
40
|
columnType: "slot"
|
|
@@ -111,7 +111,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
111
111
|
n && s.getList();
|
|
112
112
|
}
|
|
113
113
|
return s.getList(), (n, t) => {
|
|
114
|
-
const
|
|
114
|
+
const $ = i("el-input"), b = i("el-form-item"), d = i("el-col"), L = i("jmash-select"), y = i("el-button"), D = i("el-row"), A = i("el-form"), H = i("jmash-column-select"), G = i("jmash-table"), J = i("jmash-pagination"), M = i("el-card"), _ = X("hasPerm");
|
|
115
115
|
return p(), I("div", te, [
|
|
116
116
|
g("div", le, [
|
|
117
117
|
o(A, {
|
|
@@ -130,7 +130,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
130
130
|
prop: "likeContractName"
|
|
131
131
|
}, {
|
|
132
132
|
default: l(() => [
|
|
133
|
-
o(
|
|
133
|
+
o($, {
|
|
134
134
|
modelValue: r.value.likeContractName,
|
|
135
135
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
|
|
136
136
|
placeholder: n.$t("itsmFlowEntrust.contractNameRequired"),
|
|
@@ -150,7 +150,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
150
150
|
prop: "likeContractNo"
|
|
151
151
|
}, {
|
|
152
152
|
default: l(() => [
|
|
153
|
-
o(
|
|
153
|
+
o($, {
|
|
154
154
|
modelValue: r.value.likeContractNo,
|
|
155
155
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
|
|
156
156
|
placeholder: n.$t("itsmFlowEntrust.contractNoRequired"),
|
|
@@ -176,6 +176,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
176
176
|
placeholder: n.$t("itsmFlowEntrust.serviceContentRequired"),
|
|
177
177
|
data: a(c).serviceContentEnum.values,
|
|
178
178
|
clearable: "",
|
|
179
|
+
filterable: "",
|
|
179
180
|
onKeyup: t[5] || (t[5] = N((e) => a(s).handleQuery(), ["enter"])),
|
|
180
181
|
class: "!w-[203px]"
|
|
181
182
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -192,7 +193,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
192
193
|
prop: "orderNo"
|
|
193
194
|
}, {
|
|
194
195
|
default: l(() => [
|
|
195
|
-
o(
|
|
196
|
+
o($, {
|
|
196
197
|
modelValue: r.value.orderNo,
|
|
197
198
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.orderNo = e),
|
|
198
199
|
placeholder: n.$t("itsmFlowEntrust.orderNoRequireds"),
|
|
@@ -318,7 +319,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
318
319
|
g("span", null, u(a(c).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
|
|
319
320
|
]),
|
|
320
321
|
belongOrgId: l((e) => [
|
|
321
|
-
g("span", null, u(e.data.row.belongOrgId.split(",").map((
|
|
322
|
+
g("span", null, u(e.data.row.belongOrgId.split(",").map((h) => a(c).parentIdBizDict.getValue(h)).join(",")), 1)
|
|
322
323
|
]),
|
|
323
324
|
serviceContent: l((e) => [
|
|
324
325
|
g("span", null, u(a(c).serviceContentEnum.getEnumValue(
|
|
@@ -331,7 +332,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
331
332
|
operation: l((e) => [
|
|
332
333
|
k((p(), I("span", {
|
|
333
334
|
class: "el-button-color",
|
|
334
|
-
onClick: (
|
|
335
|
+
onClick: (h) => q(e.data.row)
|
|
335
336
|
}, [
|
|
336
337
|
f(u(n.$t("common.edit")), 1)
|
|
337
338
|
], 8, oe)), [
|
|
@@ -339,7 +340,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
339
340
|
]),
|
|
340
341
|
k((p(), I("span", {
|
|
341
342
|
class: "el-button-color dropdown-left",
|
|
342
|
-
onClick: (
|
|
343
|
+
onClick: (h) => a(s).deleteRecord(e.data.row)
|
|
343
344
|
}, [
|
|
344
345
|
f(u(n.$t("common.delete")), 1)
|
|
345
346
|
], 8, ne)), [
|
|
@@ -365,5 +366,5 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
365
366
|
}
|
|
366
367
|
});
|
|
367
368
|
export {
|
|
368
|
-
|
|
369
|
+
pe as default
|
|
369
370
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useUserStore as e, clearEmpty as r, request as n } from "jmash-core";
|
|
2
|
+
class o {
|
|
3
|
+
getKey(t) {
|
|
4
|
+
return {
|
|
5
|
+
entrustUserId: t.entrustUserId
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
// 查询列表信息委托服务人员信息
|
|
9
|
+
findList(t) {
|
|
10
|
+
const s = e().user.tenant;
|
|
11
|
+
return r(t), n({
|
|
12
|
+
url: "/v1/itsmflow/itsm_flow_entrust_user/list/" + s,
|
|
13
|
+
method: "get",
|
|
14
|
+
params: t
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
const m = new o();
|
|
19
|
+
export {
|
|
20
|
+
m as i
|
|
21
|
+
};
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
import { defineComponent as M, ref as R, reactive as h, resolveComponent as s, resolveDirective as W, openBlock as m, createElementBlock as $, createElementVNode as U, createVNode as l, withCtx as t, withKeys as w, unref as a, createTextVNode as f, toDisplayString as p, withDirectives as _, createBlock as C, isRef as D, createCommentVNode as S } from "vue";
|
|
2
|
+
import { useTableHooks as X } from "jmash-core";
|
|
3
|
+
import { useI18n as Y } from "vue-i18n";
|
|
4
|
+
import { i as Z, _ as x } from "./edit.vue_vue_type_script_setup_true_lang-CVKTwRZs.mjs";
|
|
5
|
+
import { D as q } from "./index-BZGkoyv9.mjs";
|
|
6
|
+
const ee = { class: "app-container" }, oe = { class: "search-container" }, le = ["onClick"], te = ["onClick"], de = /* @__PURE__ */ M({
|
|
7
|
+
__name: "index",
|
|
8
|
+
setup(ne) {
|
|
9
|
+
const { t: g } = Y(), i = R({}), {
|
|
10
|
+
tableHooks: r,
|
|
11
|
+
multipleTableRef: P,
|
|
12
|
+
queryFormRef: z,
|
|
13
|
+
listLoading: K,
|
|
14
|
+
tableData: Q,
|
|
15
|
+
total: b
|
|
16
|
+
} = X(g, Z, i);
|
|
17
|
+
q.orgIdBizDict.useValues();
|
|
18
|
+
let k = R([
|
|
19
|
+
{
|
|
20
|
+
label: "itsmFlowReckoning.contractName",
|
|
21
|
+
prop: "contractName",
|
|
22
|
+
width: "150",
|
|
23
|
+
isColumn: !0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "itsmFlowReckoning.contractNo",
|
|
27
|
+
prop: "contractNo",
|
|
28
|
+
width: "150",
|
|
29
|
+
isColumn: !0
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: "itsmFlowReckoning.entrustName",
|
|
33
|
+
prop: "entrustName",
|
|
34
|
+
isColumn: !0
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
label: "itsmFlowReckoning.serviceOrg",
|
|
38
|
+
prop: "serviceOrg",
|
|
39
|
+
width: "150",
|
|
40
|
+
isColumn: !0,
|
|
41
|
+
slotName: "serviceOrg",
|
|
42
|
+
columnType: "slot"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "itsmFlowReckoning.acceptanceNo",
|
|
46
|
+
prop: "acceptanceNo",
|
|
47
|
+
width: "150",
|
|
48
|
+
isColumn: !0
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: "itsmFlowReckoning.orderNo",
|
|
52
|
+
prop: "orderNo",
|
|
53
|
+
width: "150",
|
|
54
|
+
isColumn: !0
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
label: "itsmFlowReckoning.reckoningNo",
|
|
58
|
+
prop: "reckoningNo",
|
|
59
|
+
width: "150",
|
|
60
|
+
isColumn: !0
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
label: "itsmFlowReckoning.serviceContent",
|
|
64
|
+
prop: "serviceContent",
|
|
65
|
+
width: "150",
|
|
66
|
+
isColumn: !0
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: "common.operate",
|
|
70
|
+
width: "200",
|
|
71
|
+
slotName: "operation",
|
|
72
|
+
columnType: "slot",
|
|
73
|
+
fixed: "right",
|
|
74
|
+
isColumn: !0
|
|
75
|
+
}
|
|
76
|
+
]);
|
|
77
|
+
const u = R({
|
|
78
|
+
title: g("common.edit"),
|
|
79
|
+
visible: !1
|
|
80
|
+
});
|
|
81
|
+
R(!1);
|
|
82
|
+
let V = h({});
|
|
83
|
+
function j() {
|
|
84
|
+
V = h({}), u.value.title = g("common.add"), u.value.visible = !0;
|
|
85
|
+
}
|
|
86
|
+
function I(n) {
|
|
87
|
+
V.reckoningId = n.reckoningId, u.value.title = g("common.edit"), u.value.visible = !0;
|
|
88
|
+
}
|
|
89
|
+
function T(n) {
|
|
90
|
+
r.selectionRows.value = n;
|
|
91
|
+
}
|
|
92
|
+
function B(n) {
|
|
93
|
+
r.handleSort(n.prop, n.order);
|
|
94
|
+
}
|
|
95
|
+
function L(n) {
|
|
96
|
+
n && r.getList();
|
|
97
|
+
}
|
|
98
|
+
return r.getList(), (n, e) => {
|
|
99
|
+
const v = s("el-input"), c = s("el-form-item"), d = s("el-col"), N = s("el-button"), F = s("el-row"), O = s("el-form"), E = s("jmash-column-select"), A = s("jmash-table"), H = s("jmash-pagination"), G = s("el-card"), y = W("hasPerm");
|
|
100
|
+
return m(), $("div", ee, [
|
|
101
|
+
U("div", oe, [
|
|
102
|
+
l(O, {
|
|
103
|
+
ref_key: "queryFormRef",
|
|
104
|
+
ref: z,
|
|
105
|
+
model: i.value,
|
|
106
|
+
inline: !0
|
|
107
|
+
}, {
|
|
108
|
+
default: t(() => [
|
|
109
|
+
l(F, null, {
|
|
110
|
+
default: t(() => [
|
|
111
|
+
l(d, { span: 6 }, {
|
|
112
|
+
default: t(() => [
|
|
113
|
+
l(c, {
|
|
114
|
+
label: n.$t("itsmFlowReckoning.contractName"),
|
|
115
|
+
prop: "likeContractName"
|
|
116
|
+
}, {
|
|
117
|
+
default: t(() => [
|
|
118
|
+
l(v, {
|
|
119
|
+
modelValue: i.value.likeContractName,
|
|
120
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => i.value.likeContractName = o),
|
|
121
|
+
placeholder: n.$t("itsmFlowReckoning.contractNameRequired"),
|
|
122
|
+
onKeyup: e[1] || (e[1] = w((o) => a(r).handleQuery(), ["enter"])),
|
|
123
|
+
class: "!w-[203px]"
|
|
124
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["label"])
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}),
|
|
131
|
+
l(d, { span: 6 }, {
|
|
132
|
+
default: t(() => [
|
|
133
|
+
l(c, {
|
|
134
|
+
label: n.$t("itsmFlowReckoning.contractNo"),
|
|
135
|
+
prop: "likeContractNo"
|
|
136
|
+
}, {
|
|
137
|
+
default: t(() => [
|
|
138
|
+
l(v, {
|
|
139
|
+
modelValue: i.value.likeContractNo,
|
|
140
|
+
"onUpdate:modelValue": e[2] || (e[2] = (o) => i.value.likeContractNo = o),
|
|
141
|
+
placeholder: n.$t("itsmFlowReckoning.contractNoRequired"),
|
|
142
|
+
onKeyup: e[3] || (e[3] = w((o) => a(r).handleQuery(), ["enter"])),
|
|
143
|
+
class: "!w-[203px]"
|
|
144
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["label"])
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}),
|
|
151
|
+
l(d, { span: 6 }, {
|
|
152
|
+
default: t(() => [
|
|
153
|
+
l(c, {
|
|
154
|
+
label: n.$t("itsmFlowReckoning.acceptanceNo"),
|
|
155
|
+
prop: "acceptanceNo"
|
|
156
|
+
}, {
|
|
157
|
+
default: t(() => [
|
|
158
|
+
l(v, {
|
|
159
|
+
modelValue: i.value.acceptanceNo,
|
|
160
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => i.value.acceptanceNo = o),
|
|
161
|
+
placeholder: n.$t("itsmFlowReckoning.acceptanceNoRequireds"),
|
|
162
|
+
onKeyup: e[5] || (e[5] = w((o) => a(r).handleQuery(), ["enter"])),
|
|
163
|
+
class: "!w-[203px]"
|
|
164
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
165
|
+
]),
|
|
166
|
+
_: 1
|
|
167
|
+
}, 8, ["label"])
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}),
|
|
171
|
+
l(d, { span: 6 }, {
|
|
172
|
+
default: t(() => [
|
|
173
|
+
l(c, {
|
|
174
|
+
label: n.$t("itsmFlowReckoning.orderNo"),
|
|
175
|
+
prop: "orderNo"
|
|
176
|
+
}, {
|
|
177
|
+
default: t(() => [
|
|
178
|
+
l(v, {
|
|
179
|
+
modelValue: i.value.orderNo,
|
|
180
|
+
"onUpdate:modelValue": e[6] || (e[6] = (o) => i.value.orderNo = o),
|
|
181
|
+
placeholder: n.$t("itsmFlowReckoning.orderNoRequireds"),
|
|
182
|
+
onKeyup: e[7] || (e[7] = w((o) => a(r).handleQuery(), ["enter"])),
|
|
183
|
+
class: "!w-[203px]"
|
|
184
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
}, 8, ["label"])
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}),
|
|
191
|
+
l(d, { span: 6 }, {
|
|
192
|
+
default: t(() => [
|
|
193
|
+
l(c, {
|
|
194
|
+
label: n.$t("itsmFlowReckoning.reckoningNo"),
|
|
195
|
+
prop: "reckoningNo"
|
|
196
|
+
}, {
|
|
197
|
+
default: t(() => [
|
|
198
|
+
l(v, {
|
|
199
|
+
modelValue: i.value.reckoningNo,
|
|
200
|
+
"onUpdate:modelValue": e[8] || (e[8] = (o) => i.value.reckoningNo = o),
|
|
201
|
+
placeholder: n.$t("itsmFlowReckoning.reckoningNoRequireds"),
|
|
202
|
+
onKeyup: e[9] || (e[9] = w((o) => a(r).handleQuery(), ["enter"])),
|
|
203
|
+
class: "!w-[203px]"
|
|
204
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["label"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}),
|
|
211
|
+
l(d, { span: 18 }, {
|
|
212
|
+
default: t(() => [
|
|
213
|
+
l(c, { class: "search-btn" }, {
|
|
214
|
+
default: t(() => [
|
|
215
|
+
l(N, {
|
|
216
|
+
type: "primary",
|
|
217
|
+
onClick: e[10] || (e[10] = (o) => a(r).handleQuery())
|
|
218
|
+
}, {
|
|
219
|
+
default: t(() => [
|
|
220
|
+
f(p(n.$t("common.search")), 1)
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
}),
|
|
224
|
+
l(N, {
|
|
225
|
+
onClick: e[11] || (e[11] = (o) => a(r).resetQuery())
|
|
226
|
+
}, {
|
|
227
|
+
default: t(() => [
|
|
228
|
+
f(p(n.$t("common.reset")), 1)
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
})
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
})
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
})
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
})
|
|
241
|
+
]),
|
|
242
|
+
_: 1
|
|
243
|
+
}, 8, ["model"])
|
|
244
|
+
]),
|
|
245
|
+
l(G, {
|
|
246
|
+
shadow: "never",
|
|
247
|
+
class: "table-container"
|
|
248
|
+
}, {
|
|
249
|
+
header: t(() => [
|
|
250
|
+
l(F, null, {
|
|
251
|
+
default: t(() => [
|
|
252
|
+
l(d, { span: 17 }, {
|
|
253
|
+
default: t(() => [
|
|
254
|
+
_((m(), C(N, {
|
|
255
|
+
type: "primary",
|
|
256
|
+
onClick: j
|
|
257
|
+
}, {
|
|
258
|
+
default: t(() => [
|
|
259
|
+
f(p(n.$t("common.add")), 1)
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
})), [
|
|
263
|
+
[y, ["itsmflow:itsm_flow_reckoning:add"]]
|
|
264
|
+
])
|
|
265
|
+
]),
|
|
266
|
+
_: 1
|
|
267
|
+
}),
|
|
268
|
+
l(d, {
|
|
269
|
+
span: 7,
|
|
270
|
+
class: "container-float"
|
|
271
|
+
}, {
|
|
272
|
+
default: t(() => [
|
|
273
|
+
_((m(), C(N, {
|
|
274
|
+
plain: "",
|
|
275
|
+
type: "primary",
|
|
276
|
+
onClick: e[12] || (e[12] = (o) => a(r).handleExportPdf(a(g)("itsmFlowReckoning.name")))
|
|
277
|
+
}, {
|
|
278
|
+
default: t(() => [
|
|
279
|
+
f(p(n.$t("common.print")), 1)
|
|
280
|
+
]),
|
|
281
|
+
_: 1
|
|
282
|
+
})), [
|
|
283
|
+
[y, ["itsmflow:itsm_flow_reckoning:print"]]
|
|
284
|
+
]),
|
|
285
|
+
l(E, {
|
|
286
|
+
modelValue: a(k),
|
|
287
|
+
"onUpdate:modelValue": e[13] || (e[13] = (o) => D(k) ? k.value = o : k = o),
|
|
288
|
+
"label-name": "itsm-flow-reckoning"
|
|
289
|
+
}, null, 8, ["modelValue"])
|
|
290
|
+
]),
|
|
291
|
+
_: 1
|
|
292
|
+
})
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
})
|
|
296
|
+
]),
|
|
297
|
+
footer: t(() => [
|
|
298
|
+
a(b) > 0 ? (m(), C(H, {
|
|
299
|
+
key: 0,
|
|
300
|
+
total: a(b),
|
|
301
|
+
"onUpdate:total": e[14] || (e[14] = (o) => D(b) ? b.value = o : null),
|
|
302
|
+
"current-page": i.value.curPage,
|
|
303
|
+
"onUpdate:currentPage": e[15] || (e[15] = (o) => i.value.curPage = o),
|
|
304
|
+
"page-size": i.value.pageSize,
|
|
305
|
+
"onUpdate:pageSize": e[16] || (e[16] = (o) => i.value.pageSize = o),
|
|
306
|
+
onPagination: e[17] || (e[17] = (o) => a(r).getList())
|
|
307
|
+
}, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
|
|
308
|
+
]),
|
|
309
|
+
default: t(() => [
|
|
310
|
+
l(A, {
|
|
311
|
+
ref_key: "multipleTableRef",
|
|
312
|
+
ref: P,
|
|
313
|
+
"row-key": "reckoningId",
|
|
314
|
+
"list-loading": a(K),
|
|
315
|
+
data: a(Q),
|
|
316
|
+
"table-label": a(k),
|
|
317
|
+
onSelectionChange: T,
|
|
318
|
+
onSortChange: B
|
|
319
|
+
}, {
|
|
320
|
+
serviceOrg: t((o) => [
|
|
321
|
+
U("span", null, p(a(q).orgIdBizDict.getValue(o.data.row.serviceOrg)), 1)
|
|
322
|
+
]),
|
|
323
|
+
operation: t((o) => [
|
|
324
|
+
_((m(), $("span", {
|
|
325
|
+
class: "el-button-color",
|
|
326
|
+
onClick: (J) => I(o.data.row)
|
|
327
|
+
}, [
|
|
328
|
+
f(p(n.$t("common.edit")), 1)
|
|
329
|
+
], 8, le)), [
|
|
330
|
+
[y, ["itsmflow:itsm_flow_reckoning:update"]]
|
|
331
|
+
]),
|
|
332
|
+
_((m(), $("span", {
|
|
333
|
+
class: "el-button-color dropdown-left",
|
|
334
|
+
onClick: (J) => a(r).deleteRecord(o.data.row)
|
|
335
|
+
}, [
|
|
336
|
+
f(p(n.$t("common.delete")), 1)
|
|
337
|
+
], 8, te)), [
|
|
338
|
+
[y, ["itsmflow:itsm_flow_reckoning:delete"]]
|
|
339
|
+
])
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
343
|
+
]),
|
|
344
|
+
_: 1
|
|
345
|
+
}),
|
|
346
|
+
u.value.visible ? (m(), C(x, {
|
|
347
|
+
key: 0,
|
|
348
|
+
modelValue: u.value.visible,
|
|
349
|
+
"onUpdate:modelValue": e[18] || (e[18] = (o) => u.value.visible = o),
|
|
350
|
+
title: u.value.title,
|
|
351
|
+
"entity-key": a(V),
|
|
352
|
+
onRefresh: L,
|
|
353
|
+
width: "900px"
|
|
354
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
|
|
355
|
+
]);
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
export {
|
|
360
|
+
de as default
|
|
361
|
+
};
|