xyvcard-itsm-flow 0.0.7 → 0.0.9
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-Cwl5jzlM.mjs +85 -0
- package/dist/{edit-BZbho2xr.mjs → edit-BatVtQjM.mjs} +1 -1
- package/dist/{edit-DA920KWc.mjs → edit-CJKi69Ya.mjs} +1 -1
- package/dist/{edit-DxK8SrUd.mjs → edit-RNcc8UYn.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-4mAArGdW.mjs +550 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-D9fa466K.mjs +566 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DlfhAjvW.mjs +670 -0
- package/dist/{el-message-D28AReoi.mjs → el-message-9Nit-6wb.mjs} +26 -26
- package/dist/{index-CXarOLFt.mjs → index-2vkMhoSW.mjs} +119 -124
- package/dist/index-BkB6hpAN.mjs +482 -0
- package/dist/{index-BwhWFAEK.mjs → index-BqZwYXr_.mjs} +75 -89
- package/dist/index-CitJdS-N.mjs +589 -0
- package/dist/index-Ckl3mXfI.mjs +493 -0
- package/dist/index-CpSpS_gR.mjs +486 -0
- package/dist/index-DmttwKtY.mjs +501 -0
- package/dist/index-ay0TMqjH.mjs +339 -0
- package/dist/index-tnwVLRVb.mjs +624 -0
- package/dist/index-w_RSrZed.mjs +529 -0
- package/dist/index.mjs +767 -772
- 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 +8 -10
- package/dts/api/itsm-flow-acceptance/types.d.ts +42 -35
- 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 +3 -17
- package/dts/utils/common.d.ts +2 -2
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +4 -4
- 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-Dimzx0Lh.mjs +0 -344
- package/dist/index-qOQQkVw8.mjs +0 -345
package/dist/index-BZGkoyv9.mjs
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/index-CMOEnYG7.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/index-Clg5YSzX.mjs
DELETED
|
@@ -1,598 +0,0 @@
|
|
|
1
|
-
import { defineComponent as fe, mergeModels as ve, ref as p, useModel as be, reactive as j, resolveComponent as d, openBlock as I, createElementBlock as k, Fragment as $, createVNode as t, withCtx as n, createElementVNode as u, unref as s, renderList as P, createBlock as O, toDisplayString as H, createCommentVNode as ge, createTextVNode as q } from "vue";
|
|
2
|
-
import "element-plus";
|
|
3
|
-
import { useRoute as Ie } from "vue-router";
|
|
4
|
-
import { useI18n as we } from "vue-i18n";
|
|
5
|
-
import { a as he, b as Ve, i as K, C as Ee, p as Ne } from "./index-qOQQkVw8.mjs";
|
|
6
|
-
import { C as b, D as w } from "./index-BZGkoyv9.mjs";
|
|
7
|
-
import { i as ye } from "./index-CMOEnYG7.mjs";
|
|
8
|
-
import { E as W } from "./el-message-D28AReoi.mjs";
|
|
9
|
-
const Re = /* @__PURE__ */ fe({
|
|
10
|
-
__name: "index",
|
|
11
|
-
props: /* @__PURE__ */ ve({
|
|
12
|
-
task: {
|
|
13
|
-
type: Object,
|
|
14
|
-
default: () => {
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}, {
|
|
18
|
-
modelValue: {},
|
|
19
|
-
modelModifiers: {}
|
|
20
|
-
}),
|
|
21
|
-
emits: ["update:modelValue"],
|
|
22
|
-
setup(R, { expose: J }) {
|
|
23
|
-
const { t: h } = we(), D = p([]), B = p([]), M = p([]), V = p([]), E = p({}), N = p([]), F = new he({
|
|
24
|
-
contractSort: b.contractSort.manpower,
|
|
25
|
-
contractType: b.contractType.outsource
|
|
26
|
-
});
|
|
27
|
-
F.useValues();
|
|
28
|
-
const _ = new Ve({});
|
|
29
|
-
_.useValues(), w.parentIdBizDict.useValues(), w.orgIdBizDict.useValues();
|
|
30
|
-
const G = Ie(), z = R, U = p({
|
|
31
|
-
curPage: 1,
|
|
32
|
-
pageSize: 10,
|
|
33
|
-
applyId: G.query.applyId
|
|
34
|
-
}), f = be(R, "modelValue"), T = p();
|
|
35
|
-
let r = j({
|
|
36
|
-
requestId: Math.random() * 10 + ""
|
|
37
|
-
});
|
|
38
|
-
const v = p([
|
|
39
|
-
{
|
|
40
|
-
userId: "",
|
|
41
|
-
idNo: "",
|
|
42
|
-
cost: 0,
|
|
43
|
-
duration: []
|
|
44
|
-
}
|
|
45
|
-
]);
|
|
46
|
-
function Q() {
|
|
47
|
-
v.value.push({
|
|
48
|
-
userId: "",
|
|
49
|
-
idNo: "",
|
|
50
|
-
cost: 0,
|
|
51
|
-
duration: []
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function X(e) {
|
|
55
|
-
const l = v.value.indexOf(e.row);
|
|
56
|
-
l !== 0 && v.value.splice(l, 1);
|
|
57
|
-
}
|
|
58
|
-
const Y = j({
|
|
59
|
-
contractId: [
|
|
60
|
-
{
|
|
61
|
-
required: !0,
|
|
62
|
-
message: h("itsmFlowEntrust.contractIdRequired"),
|
|
63
|
-
trigger: "change"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
entrustName: [
|
|
67
|
-
{
|
|
68
|
-
required: !0,
|
|
69
|
-
message: h("itsmFlowEntrust.entrustNameRequired"),
|
|
70
|
-
trigger: "change"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
serviceContent: [
|
|
74
|
-
{
|
|
75
|
-
required: !0,
|
|
76
|
-
message: h("itsmFlowEntrust.serviceContentRequired"),
|
|
77
|
-
trigger: "blur"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
});
|
|
81
|
-
z.task.businessKey && x(), J({
|
|
82
|
-
changeModel: () => ne()
|
|
83
|
-
});
|
|
84
|
-
function Z() {
|
|
85
|
-
ye.findList({ actionId: U.value.applyId }).then(({ data: e }) => {
|
|
86
|
-
const l = e.results.map((a) => ({
|
|
87
|
-
...a,
|
|
88
|
-
duration: typeof a.duration == "string" ? a.duration.split(",") || [] : []
|
|
89
|
-
}));
|
|
90
|
-
v.value = l;
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
function x() {
|
|
94
|
-
U.value.applyId = z.task.businessKey, K.findById({ entrustId: U.value.applyId }).then(({ data: e }) => {
|
|
95
|
-
Object.assign(r, e), A(r.contractId), r.contractNo = e.contractNo, r.serviceOrg = e.serviceOrg, r.contractName = e.contractName, N.value = typeof e.entrustItsmId == "string" ? e.entrustItsmId.split(",") || [] : [], V.value = typeof e.belongOrgId == "string" ? e.belongOrgId.split(",") || [] : [], Z();
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
function A(e) {
|
|
99
|
-
const l = F.values.find(
|
|
100
|
-
(a) => a.key === e
|
|
101
|
-
);
|
|
102
|
-
r.contractNo = (l == null ? void 0 : l.contractNumber) ?? "", r.serviceOrg = (l == null ? void 0 : l.orgId) ?? "", r.contractName = (l == null ? void 0 : l.value) ?? "", E.value = { values: [] }, v.value.forEach((a) => {
|
|
103
|
-
a.userId = "", a.idNo = "", a.cost = 0, a.duration = "";
|
|
104
|
-
}), E.value = new Ee({
|
|
105
|
-
contractId: e
|
|
106
|
-
}), E.value.useValues();
|
|
107
|
-
}
|
|
108
|
-
function ee(e, l) {
|
|
109
|
-
const a = E.value.values.find(
|
|
110
|
-
(c) => c.key === e
|
|
111
|
-
);
|
|
112
|
-
a ? (l.userName = a.value ?? "", l.idNo = a.idNo ?? "", l.cost = Number(a.cost) || 0) : (l.userName = "", l.idNo = "", l.cost = 0);
|
|
113
|
-
}
|
|
114
|
-
function le(e) {
|
|
115
|
-
const l = e.map((a) => {
|
|
116
|
-
const c = _.values.find(
|
|
117
|
-
(m) => m.key === a
|
|
118
|
-
);
|
|
119
|
-
return c ? c.orgId : null;
|
|
120
|
-
}).filter((a) => a !== null);
|
|
121
|
-
V.value = Array.from(new Set(l));
|
|
122
|
-
}
|
|
123
|
-
function te() {
|
|
124
|
-
B.value = N.value.map((e) => {
|
|
125
|
-
const l = _.values.find(
|
|
126
|
-
(a) => a.key === e
|
|
127
|
-
);
|
|
128
|
-
return {
|
|
129
|
-
itsmId: e,
|
|
130
|
-
itsmName: (l == null ? void 0 : l.value) ?? ""
|
|
131
|
-
};
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
function ae() {
|
|
135
|
-
M.value = V.value.map((e) => {
|
|
136
|
-
const l = w.parentIdBizDict.values.find(
|
|
137
|
-
(a) => a.value === e
|
|
138
|
-
);
|
|
139
|
-
return {
|
|
140
|
-
orgId: e,
|
|
141
|
-
orgName: (l == null ? void 0 : l.label) ?? ""
|
|
142
|
-
};
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
function oe() {
|
|
146
|
-
D.value = v.value.map((e) => ({
|
|
147
|
-
...e,
|
|
148
|
-
duration: Array.isArray(e.duration) ? e.duration.join(",") : e.duration
|
|
149
|
-
})).filter(
|
|
150
|
-
(e) => !(e.cost === 0 && !e.userId)
|
|
151
|
-
), te(), ae();
|
|
152
|
-
}
|
|
153
|
-
function ne() {
|
|
154
|
-
return f.value && (f.value.selectActions = [
|
|
155
|
-
{ key: "true", value: "同意" },
|
|
156
|
-
{ key: "false", value: "不同意" }
|
|
157
|
-
], f.value.varName = "approved", f.value.module = "", f.value.module = b.MODULE_ITSMFLOW), new Promise((e, l) => {
|
|
158
|
-
var a;
|
|
159
|
-
(a = T.value) == null || a.validate((c) => {
|
|
160
|
-
if (c) {
|
|
161
|
-
if (f.value) {
|
|
162
|
-
if (f.value.comment = "", oe(), N.value.length === 0)
|
|
163
|
-
return W.warning(h("itsmFlowEntrust.entrustItsmIdRequired")), l(!1);
|
|
164
|
-
r.requestId = Math.random() * 10 + "", K.save({
|
|
165
|
-
...r,
|
|
166
|
-
entrustUser: D.value,
|
|
167
|
-
belongOrg: M.value,
|
|
168
|
-
entrustItsm: B.value
|
|
169
|
-
}).then((m) => {
|
|
170
|
-
m.status === 200 ? e(!0) : (W({
|
|
171
|
-
message: "保存失败,请联系管理员!",
|
|
172
|
-
type: "error"
|
|
173
|
-
}), l(!1));
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
} else
|
|
177
|
-
l(!1);
|
|
178
|
-
});
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
return (e, l) => {
|
|
182
|
-
const a = d("el-col"), c = d("jmash-select"), m = d("el-form-item"), y = d("el-input"), se = d("jmash-dict-select"), S = d("el-option"), L = d("el-select"), re = d("el-tree-select"), C = d("el-row"), g = d("el-table-column"), ue = d("el-date-picker"), de = d("DeleteFilled"), ie = d("el-icon"), me = d("el-table"), ce = d("el-button"), pe = d("el-form");
|
|
183
|
-
return I(), k($, null, [
|
|
184
|
-
t(a, { span: 24 }, {
|
|
185
|
-
default: n(() => l[9] || (l[9] = [
|
|
186
|
-
u("div", { class: "title" }, "委托服务订单", -1)
|
|
187
|
-
])),
|
|
188
|
-
_: 1
|
|
189
|
-
}),
|
|
190
|
-
t(pe, {
|
|
191
|
-
ref_key: "taskFormRef",
|
|
192
|
-
ref: T,
|
|
193
|
-
model: s(r),
|
|
194
|
-
"label-width": "130px",
|
|
195
|
-
rules: Y,
|
|
196
|
-
class: "custom-table-form"
|
|
197
|
-
}, {
|
|
198
|
-
default: n(() => [
|
|
199
|
-
t(a, { span: 24 }, {
|
|
200
|
-
default: n(() => [
|
|
201
|
-
t(m, {
|
|
202
|
-
label: e.$t("itsmFlowEntrust.contractId"),
|
|
203
|
-
prop: "contractId"
|
|
204
|
-
}, {
|
|
205
|
-
default: n(() => [
|
|
206
|
-
t(c, {
|
|
207
|
-
modelValue: s(r).contractId,
|
|
208
|
-
"onUpdate:modelValue": l[0] || (l[0] = (o) => s(r).contractId = o),
|
|
209
|
-
placeholder: e.$t("itsmFlowEntrust.contractIdRequired"),
|
|
210
|
-
data: s(F).values,
|
|
211
|
-
clearable: "",
|
|
212
|
-
filterable: "",
|
|
213
|
-
class: "w-full",
|
|
214
|
-
onChange: A
|
|
215
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
216
|
-
]),
|
|
217
|
-
_: 1
|
|
218
|
-
}, 8, ["label"])
|
|
219
|
-
]),
|
|
220
|
-
_: 1
|
|
221
|
-
}),
|
|
222
|
-
t(a, { span: 24 }, {
|
|
223
|
-
default: n(() => [
|
|
224
|
-
t(m, {
|
|
225
|
-
label: e.$t("itsmFlowEntrust.contractNo"),
|
|
226
|
-
prop: "contractNo"
|
|
227
|
-
}, {
|
|
228
|
-
default: n(() => [
|
|
229
|
-
t(y, {
|
|
230
|
-
modelValue: s(r).contractNo,
|
|
231
|
-
"onUpdate:modelValue": l[1] || (l[1] = (o) => s(r).contractNo = o),
|
|
232
|
-
placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
|
|
233
|
-
disabled: ""
|
|
234
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
235
|
-
]),
|
|
236
|
-
_: 1
|
|
237
|
-
}, 8, ["label"])
|
|
238
|
-
]),
|
|
239
|
-
_: 1
|
|
240
|
-
}),
|
|
241
|
-
t(a, { span: 24 }, {
|
|
242
|
-
default: n(() => [
|
|
243
|
-
t(m, {
|
|
244
|
-
label: e.$t("itsmFlowEntrust.entrustName"),
|
|
245
|
-
prop: "entrustName"
|
|
246
|
-
}, {
|
|
247
|
-
default: n(() => [
|
|
248
|
-
t(se, {
|
|
249
|
-
modelValue: s(r).entrustName,
|
|
250
|
-
"onUpdate:modelValue": l[2] || (l[2] = (o) => s(r).entrustName = o),
|
|
251
|
-
placeholder: e.$t("itsmFlowEntrust.entrustNameRequired"),
|
|
252
|
-
"type-code": s(b).DICT_PROJECT_NAME,
|
|
253
|
-
clearable: "",
|
|
254
|
-
filterable: "",
|
|
255
|
-
class: "w-full"
|
|
256
|
-
}, null, 8, ["modelValue", "placeholder", "type-code"])
|
|
257
|
-
]),
|
|
258
|
-
_: 1
|
|
259
|
-
}, 8, ["label"])
|
|
260
|
-
]),
|
|
261
|
-
_: 1
|
|
262
|
-
}),
|
|
263
|
-
t(a, { span: 24 }, {
|
|
264
|
-
default: n(() => [
|
|
265
|
-
t(m, {
|
|
266
|
-
label: e.$t("itsmFlowEntrust.entrustItsmId"),
|
|
267
|
-
prop: "entrustItsmId"
|
|
268
|
-
}, {
|
|
269
|
-
default: n(() => [
|
|
270
|
-
t(L, {
|
|
271
|
-
modelValue: N.value,
|
|
272
|
-
"onUpdate:modelValue": l[3] || (l[3] = (o) => N.value = o),
|
|
273
|
-
placeholder: e.$t("itsmFlowEntrust.entrustItsmIdRequired"),
|
|
274
|
-
class: "w-full",
|
|
275
|
-
filterable: "",
|
|
276
|
-
clearable: "",
|
|
277
|
-
multiple: "",
|
|
278
|
-
onChange: le
|
|
279
|
-
}, {
|
|
280
|
-
default: n(() => [
|
|
281
|
-
(I(!0), k($, null, P(s(_).values, (o) => (I(), O(S, {
|
|
282
|
-
key: o.key,
|
|
283
|
-
label: o.value,
|
|
284
|
-
value: o.key,
|
|
285
|
-
disabled: ("status" in o && o.status) !== s(b).status.regular
|
|
286
|
-
}, null, 8, ["label", "value", "disabled"]))), 128))
|
|
287
|
-
]),
|
|
288
|
-
_: 1
|
|
289
|
-
}, 8, ["modelValue", "placeholder"])
|
|
290
|
-
]),
|
|
291
|
-
_: 1
|
|
292
|
-
}, 8, ["label"])
|
|
293
|
-
]),
|
|
294
|
-
_: 1
|
|
295
|
-
}),
|
|
296
|
-
t(a, { span: 24 }, {
|
|
297
|
-
default: n(() => [
|
|
298
|
-
t(m, {
|
|
299
|
-
label: e.$t("itsmFlowEntrust.belongOrg"),
|
|
300
|
-
prop: "belongOrg"
|
|
301
|
-
}, {
|
|
302
|
-
default: n(() => [
|
|
303
|
-
t(re, {
|
|
304
|
-
modelValue: V.value,
|
|
305
|
-
"onUpdate:modelValue": l[4] || (l[4] = (o) => V.value = o),
|
|
306
|
-
data: s(w).parentIdBizDict.values,
|
|
307
|
-
filterable: "",
|
|
308
|
-
clearable: "",
|
|
309
|
-
"check-strictly": "",
|
|
310
|
-
"render-after-expand": !1,
|
|
311
|
-
class: "w-full",
|
|
312
|
-
placeholder: e.$t("itsmFlowEntrust.belongOrgRequired"),
|
|
313
|
-
multiple: "",
|
|
314
|
-
disabled: ""
|
|
315
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
316
|
-
]),
|
|
317
|
-
_: 1
|
|
318
|
-
}, 8, ["label"])
|
|
319
|
-
]),
|
|
320
|
-
_: 1
|
|
321
|
-
}),
|
|
322
|
-
t(C, null, {
|
|
323
|
-
default: n(() => [
|
|
324
|
-
t(a, { span: 12 }, {
|
|
325
|
-
default: n(() => [
|
|
326
|
-
t(m, {
|
|
327
|
-
label: e.$t("itsmFlowEntrust.serviceContent"),
|
|
328
|
-
prop: "serviceContent"
|
|
329
|
-
}, {
|
|
330
|
-
default: n(() => [
|
|
331
|
-
t(c, {
|
|
332
|
-
modelValue: s(r).serviceContent,
|
|
333
|
-
"onUpdate:modelValue": l[5] || (l[5] = (o) => s(r).serviceContent = o),
|
|
334
|
-
placeholder: e.$t("itsmFlowEntrust.serviceContentRequired"),
|
|
335
|
-
data: s(w).serviceContentEnum.values,
|
|
336
|
-
clearable: "",
|
|
337
|
-
filterable: "",
|
|
338
|
-
class: "w-full"
|
|
339
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
340
|
-
]),
|
|
341
|
-
_: 1
|
|
342
|
-
}, 8, ["label"])
|
|
343
|
-
]),
|
|
344
|
-
_: 1
|
|
345
|
-
}),
|
|
346
|
-
t(a, { span: 12 }, {
|
|
347
|
-
default: n(() => [
|
|
348
|
-
t(m, {
|
|
349
|
-
label: e.$t("itsmFlowEntrust.serviceOrg"),
|
|
350
|
-
prop: "serviceOrg"
|
|
351
|
-
}, {
|
|
352
|
-
default: n(() => [
|
|
353
|
-
t(c, {
|
|
354
|
-
modelValue: s(r).serviceOrg,
|
|
355
|
-
"onUpdate:modelValue": l[6] || (l[6] = (o) => s(r).serviceOrg = o),
|
|
356
|
-
placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
|
|
357
|
-
data: s(w).orgIdBizDict.values,
|
|
358
|
-
disabled: "",
|
|
359
|
-
class: "w-full"
|
|
360
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
361
|
-
]),
|
|
362
|
-
_: 1
|
|
363
|
-
}, 8, ["label"])
|
|
364
|
-
]),
|
|
365
|
-
_: 1
|
|
366
|
-
})
|
|
367
|
-
]),
|
|
368
|
-
_: 1
|
|
369
|
-
}),
|
|
370
|
-
t(a, { span: 24 }, {
|
|
371
|
-
default: n(() => [
|
|
372
|
-
t(m, {
|
|
373
|
-
label: e.$t("itsmFlowEntrust.orderNo"),
|
|
374
|
-
prop: "orderNo"
|
|
375
|
-
}, {
|
|
376
|
-
default: n(() => [
|
|
377
|
-
t(y, {
|
|
378
|
-
modelValue: s(r).orderNo,
|
|
379
|
-
"onUpdate:modelValue": l[7] || (l[7] = (o) => s(r).orderNo = o),
|
|
380
|
-
placeholder: e.$t("itsmFlowEntrust.orderNoRequired"),
|
|
381
|
-
disabled: ""
|
|
382
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
383
|
-
]),
|
|
384
|
-
_: 1
|
|
385
|
-
}, 8, ["label"])
|
|
386
|
-
]),
|
|
387
|
-
_: 1
|
|
388
|
-
}),
|
|
389
|
-
t(a, { span: 24 }, {
|
|
390
|
-
default: n(() => [
|
|
391
|
-
t(m, {
|
|
392
|
-
label: e.$t("itsmFlowEntrust.workContent"),
|
|
393
|
-
prop: "workContent"
|
|
394
|
-
}, {
|
|
395
|
-
default: n(() => [
|
|
396
|
-
t(y, {
|
|
397
|
-
modelValue: s(r).workContent,
|
|
398
|
-
"onUpdate:modelValue": l[8] || (l[8] = (o) => s(r).workContent = o),
|
|
399
|
-
placeholder: e.$t("itsmFlowEntrust.workContentRequired"),
|
|
400
|
-
maxlength: "500",
|
|
401
|
-
rows: 4,
|
|
402
|
-
type: "textarea",
|
|
403
|
-
"show-word-limit": "",
|
|
404
|
-
clearable: ""
|
|
405
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
406
|
-
]),
|
|
407
|
-
_: 1
|
|
408
|
-
}, 8, ["label"])
|
|
409
|
-
]),
|
|
410
|
-
_: 1
|
|
411
|
-
}),
|
|
412
|
-
t(C, null, {
|
|
413
|
-
default: n(() => [
|
|
414
|
-
t(me, {
|
|
415
|
-
data: v.value,
|
|
416
|
-
border: "",
|
|
417
|
-
style: { width: "100%" }
|
|
418
|
-
}, {
|
|
419
|
-
default: n(() => [
|
|
420
|
-
t(g, {
|
|
421
|
-
type: "index",
|
|
422
|
-
label: e.$t("itsmFlowEntrustUser.index"),
|
|
423
|
-
width: "60",
|
|
424
|
-
align: "center"
|
|
425
|
-
}, null, 8, ["label"]),
|
|
426
|
-
t(g, {
|
|
427
|
-
prop: "userId",
|
|
428
|
-
label: e.$t("itsmFlowEntrustUser.userId"),
|
|
429
|
-
"header-align": "center",
|
|
430
|
-
width: "150"
|
|
431
|
-
}, {
|
|
432
|
-
default: n(({ row: o }) => [
|
|
433
|
-
t(L, {
|
|
434
|
-
modelValue: o.userId,
|
|
435
|
-
"onUpdate:modelValue": (i) => o.userId = i,
|
|
436
|
-
placeholder: e.$t("itsmFlowEntrustUser.userIdRequired"),
|
|
437
|
-
class: "w-full",
|
|
438
|
-
filterable: "",
|
|
439
|
-
clearable: "",
|
|
440
|
-
onChange: (i) => ee(i, o)
|
|
441
|
-
}, {
|
|
442
|
-
default: n(() => [
|
|
443
|
-
(I(!0), k($, null, P(E.value.values, (i) => (I(), O(S, {
|
|
444
|
-
key: i.key,
|
|
445
|
-
label: i.value,
|
|
446
|
-
value: i.key
|
|
447
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
448
|
-
]),
|
|
449
|
-
_: 2
|
|
450
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])
|
|
451
|
-
]),
|
|
452
|
-
_: 1
|
|
453
|
-
}, 8, ["label"]),
|
|
454
|
-
t(g, {
|
|
455
|
-
prop: "idNo",
|
|
456
|
-
label: e.$t("itsmFlowEntrustUser.idNo"),
|
|
457
|
-
"header-align": "center",
|
|
458
|
-
width: "190"
|
|
459
|
-
}, {
|
|
460
|
-
default: n(({ row: o }) => [
|
|
461
|
-
t(y, {
|
|
462
|
-
modelValue: o.idNo,
|
|
463
|
-
"onUpdate:modelValue": (i) => o.idNo = i,
|
|
464
|
-
placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
|
|
465
|
-
disabled: ""
|
|
466
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
467
|
-
]),
|
|
468
|
-
_: 1
|
|
469
|
-
}, 8, ["label"]),
|
|
470
|
-
t(g, {
|
|
471
|
-
prop: "cost",
|
|
472
|
-
label: e.$t("itsmFlowEntrustUser.cost"),
|
|
473
|
-
"header-align": "center",
|
|
474
|
-
width: "160"
|
|
475
|
-
}, {
|
|
476
|
-
default: n(({ row: o }) => [
|
|
477
|
-
t(y, {
|
|
478
|
-
modelValue: o.cost,
|
|
479
|
-
"onUpdate:modelValue": (i) => o.cost = i,
|
|
480
|
-
placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
|
|
481
|
-
disabled: ""
|
|
482
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
483
|
-
]),
|
|
484
|
-
_: 1
|
|
485
|
-
}, 8, ["label"]),
|
|
486
|
-
t(g, {
|
|
487
|
-
prop: "duration",
|
|
488
|
-
"header-align": "center"
|
|
489
|
-
}, {
|
|
490
|
-
header: n(() => [
|
|
491
|
-
l[10] || (l[10] = u("span", { class: "required_red" }, "*", -1)),
|
|
492
|
-
u("span", null, H(e.$t("itsmFlowEntrustUser.duration")), 1)
|
|
493
|
-
]),
|
|
494
|
-
default: n(({ row: o }) => [
|
|
495
|
-
t(ue, {
|
|
496
|
-
modelValue: o.duration,
|
|
497
|
-
"onUpdate:modelValue": (i) => o.duration = i,
|
|
498
|
-
type: "monthrange",
|
|
499
|
-
"start-placeholder": e.$t("itsmFlowEntrustUser.startTime"),
|
|
500
|
-
"end-placeholder": e.$t("itsmFlowEntrustUser.endTime"),
|
|
501
|
-
format: s(b).FORMAT_MONTH,
|
|
502
|
-
"value-format": s(b).FORMAT_MONTH,
|
|
503
|
-
class: "w-full"
|
|
504
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "format", "value-format"])
|
|
505
|
-
]),
|
|
506
|
-
_: 1
|
|
507
|
-
}),
|
|
508
|
-
t(g, {
|
|
509
|
-
label: e.$t("common.operate"),
|
|
510
|
-
width: "60",
|
|
511
|
-
align: "center"
|
|
512
|
-
}, {
|
|
513
|
-
default: n((o) => [
|
|
514
|
-
o.$index !== 0 ? (I(), O(ie, {
|
|
515
|
-
key: 0,
|
|
516
|
-
onClick: (i) => X(o),
|
|
517
|
-
size: "18",
|
|
518
|
-
style: { cursor: "pointer", color: "inherit" },
|
|
519
|
-
class: "hover-blue"
|
|
520
|
-
}, {
|
|
521
|
-
default: n(() => [
|
|
522
|
-
t(de)
|
|
523
|
-
]),
|
|
524
|
-
_: 2
|
|
525
|
-
}, 1032, ["onClick"])) : ge("", !0)
|
|
526
|
-
]),
|
|
527
|
-
_: 1
|
|
528
|
-
}, 8, ["label"])
|
|
529
|
-
]),
|
|
530
|
-
_: 1
|
|
531
|
-
}, 8, ["data"]),
|
|
532
|
-
t(ce, {
|
|
533
|
-
icon: s(Ne),
|
|
534
|
-
class: "addButton",
|
|
535
|
-
onClick: Q
|
|
536
|
-
}, {
|
|
537
|
-
default: n(() => [
|
|
538
|
-
q(H(s(h)("common.add")), 1)
|
|
539
|
-
]),
|
|
540
|
-
_: 1
|
|
541
|
-
}, 8, ["icon"])
|
|
542
|
-
]),
|
|
543
|
-
_: 1
|
|
544
|
-
}),
|
|
545
|
-
t(C, { class: "bordered-row" }, {
|
|
546
|
-
default: n(() => [
|
|
547
|
-
t(a, { span: 12 }, {
|
|
548
|
-
default: n(() => l[11] || (l[11] = [
|
|
549
|
-
u("div", { class: "content-box" }, [
|
|
550
|
-
u("div", { class: "content-box-top" }, [
|
|
551
|
-
u("div", null, "甲方单位(盖章)"),
|
|
552
|
-
u("div", null, "负责人(签字):"),
|
|
553
|
-
u("div", null, "或授权代理人(签字):")
|
|
554
|
-
]),
|
|
555
|
-
u("div", { class: "content-box-bottom" }, [
|
|
556
|
-
q(" 日期: "),
|
|
557
|
-
u("span", null, "年"),
|
|
558
|
-
u("span", null, "月"),
|
|
559
|
-
u("span", null, "日")
|
|
560
|
-
])
|
|
561
|
-
], -1)
|
|
562
|
-
])),
|
|
563
|
-
_: 1
|
|
564
|
-
}),
|
|
565
|
-
t(a, {
|
|
566
|
-
span: 12,
|
|
567
|
-
class: "with-divider"
|
|
568
|
-
}, {
|
|
569
|
-
default: n(() => l[12] || (l[12] = [
|
|
570
|
-
u("div", { class: "content-box" }, [
|
|
571
|
-
u("div", { class: "content-box-top" }, [
|
|
572
|
-
u("div", null, "服务人员所属单位(盖章)"),
|
|
573
|
-
u("div", null, "法定代表人(签字):"),
|
|
574
|
-
u("div", null, "或授权代理人(签字):")
|
|
575
|
-
]),
|
|
576
|
-
u("div", { class: "content-box-bottom" }, [
|
|
577
|
-
q(" 日期: "),
|
|
578
|
-
u("span", null, "年"),
|
|
579
|
-
u("span", null, "月"),
|
|
580
|
-
u("span", null, "日")
|
|
581
|
-
])
|
|
582
|
-
], -1)
|
|
583
|
-
])),
|
|
584
|
-
_: 1
|
|
585
|
-
})
|
|
586
|
-
]),
|
|
587
|
-
_: 1
|
|
588
|
-
})
|
|
589
|
-
]),
|
|
590
|
-
_: 1
|
|
591
|
-
}, 8, ["model", "rules"])
|
|
592
|
-
], 64);
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
});
|
|
596
|
-
export {
|
|
597
|
-
Re as default
|
|
598
|
-
};
|