xyvcard-itsm-flow 0.0.12 → 0.0.13
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-CnakOAD-.mjs → edit-C5EkvsBj.mjs} +1 -1
- package/dist/{edit-D3-wS-p6.mjs → edit-CF3xSSyv.mjs} +1 -1
- package/dist/{edit-DQMyPUX8.mjs → edit-Rj9Uz_7E.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CQVLZd-n.mjs → edit.vue_vue_type_script_setup_true_lang-CMBByn6f.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CkrOBeOD.mjs → edit.vue_vue_type_script_setup_true_lang-CXXUyaL0.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-VE9Mh9aa.mjs → edit.vue_vue_type_script_setup_true_lang-D1aLFtH6.mjs} +131 -124
- package/dist/{el-message-CDs_oXSE.mjs → el-message-DweX1k3E.mjs} +1 -1
- package/dist/{index-DNIaYp-o.mjs → index-1bFZ2FEX.mjs} +89 -67
- package/dist/{index-B80qPhYo.mjs → index-CMpeLVvR.mjs} +88 -82
- package/dist/{index-CKoTtfru.mjs → index-CWrGwJD5.mjs} +61 -58
- package/dist/{index-JNNDVNJY.mjs → index-D8N9GIjm.mjs} +25 -26
- package/dist/{index-DpW0lTlN.mjs → index-DkosMJpy.mjs} +2 -2
- package/dist/{index-kApGKfsk.mjs → index-DukVUjy5.mjs} +2 -2
- package/dist/{index-GS9GloHa.mjs → index-VuC-5Jb_.mjs} +91 -91
- package/dist/{index-tB0z_CCe.mjs → index-_KUj3xRY.mjs} +94 -94
- package/dist/{index-yHpZct-P.mjs → index-ciUtLvg7.mjs} +2 -2
- package/dist/{index-C7hbVzPq.mjs → index-tRvxeQdk.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dts/constant.d.ts +4 -0
- package/package.json +63 -63
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as ne, mergeModels as se, ref as p, useModel as de, reactive as O, resolveComponent as i, createElementBlock as
|
|
1
|
+
import { defineComponent as ne, mergeModels as se, ref as p, useModel as de, reactive as O, resolveComponent as i, createElementBlock as C, openBlock as g, Fragment as L, createVNode as l, createElementVNode as r, withCtx as t, unref as s, createBlock as re, createCommentVNode as ue, createTextVNode as V, toDisplayString as S, renderList as ie } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { I as
|
|
5
|
-
import { useUserStore as
|
|
6
|
-
import { E as
|
|
7
|
-
const
|
|
3
|
+
import { useI18n as me } from "vue-i18n";
|
|
4
|
+
import { I as ce, C as w, U as pe, d as fe, D as F, i as N, u as ve } from "./index-CMpeLVvR.mjs";
|
|
5
|
+
import { useUserStore as be } from "jmash-core";
|
|
6
|
+
import { E as q } from "./el-message-DweX1k3E.mjs";
|
|
7
|
+
const _e = /* @__PURE__ */ ne({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: /* @__PURE__ */ se({
|
|
10
10
|
task: {
|
|
@@ -17,49 +17,49 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
17
17
|
modelModifiers: {}
|
|
18
18
|
}),
|
|
19
19
|
emits: ["update:modelValue"],
|
|
20
|
-
setup(
|
|
21
|
-
const { t: h } =
|
|
22
|
-
applyStatus:
|
|
20
|
+
setup(U, { expose: E }) {
|
|
21
|
+
const { t: h } = me(), D = be(), I = p(!1), R = p(), j = p([]), v = p([]), c = p([]), b = p([]), y = new ce({
|
|
22
|
+
applyStatus: w.applyStatus.finished
|
|
23
23
|
});
|
|
24
|
-
|
|
25
|
-
const _ = new
|
|
26
|
-
userType:
|
|
24
|
+
y.useValues();
|
|
25
|
+
const _ = new pe({
|
|
26
|
+
userType: w.userType.companyManager
|
|
27
27
|
});
|
|
28
|
-
_.useValues(), new
|
|
28
|
+
_.useValues(), new fe({}).useValues(), F.orgIdBizDict.useValues();
|
|
29
29
|
function T() {
|
|
30
30
|
var e;
|
|
31
|
-
const a = (e =
|
|
31
|
+
const a = (e = D.user.userJobs[0]) == null ? void 0 : e.deptId;
|
|
32
32
|
if (!a) {
|
|
33
|
-
|
|
33
|
+
q.warning("当前用户缺少岗位信息,无法查询验收组长");
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
tenant:
|
|
36
|
+
N.findHeadman({
|
|
37
|
+
tenant: D.user.tenant,
|
|
38
38
|
deptId: a,
|
|
39
|
-
jobCode:
|
|
39
|
+
jobCode: w.jobCode.groupLeader
|
|
40
40
|
}).then(({ data: n }) => {
|
|
41
41
|
var m;
|
|
42
42
|
((m = n == null ? void 0 : n.results) == null ? void 0 : m.length) > 0 && (o.headmanId = n.results[0].key, o.headmanName = n.results[0].value);
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
T();
|
|
46
|
-
const
|
|
46
|
+
const A = U, B = p({
|
|
47
47
|
curPage: 1,
|
|
48
48
|
pageSize: 10,
|
|
49
|
-
acceptanceId:
|
|
50
|
-
}), f = de(
|
|
49
|
+
acceptanceId: A.task.businessKey
|
|
50
|
+
}), f = de(U, "modelValue"), z = p();
|
|
51
51
|
let o = O({
|
|
52
52
|
requestId: Math.random() * 10 + ""
|
|
53
53
|
});
|
|
54
|
-
function
|
|
55
|
-
|
|
54
|
+
function K() {
|
|
55
|
+
I.value = !0, R.value.clearFileList();
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function P(a, e) {
|
|
58
58
|
c == null || c.value.splice(a, 1), b.value = b.value.filter(
|
|
59
59
|
(n) => n.fileId !== e.fileId
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function H(a) {
|
|
63
63
|
const e = {
|
|
64
64
|
fileName: a.name,
|
|
65
65
|
fileId: a.response.fileId
|
|
@@ -82,17 +82,17 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
82
82
|
}
|
|
83
83
|
]
|
|
84
84
|
});
|
|
85
|
-
|
|
85
|
+
A.task.businessKey && Q(), E({
|
|
86
86
|
changeModel: () => Y()
|
|
87
87
|
});
|
|
88
88
|
function J(a) {
|
|
89
|
-
const e =
|
|
89
|
+
const e = y.values.find(
|
|
90
90
|
(n) => n.key === a
|
|
91
91
|
);
|
|
92
92
|
o.contractName = (e == null ? void 0 : e.contractName) ?? "", o.contractNo = (e == null ? void 0 : e.contractNo) ?? "", o.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", o.entrustName = (e == null ? void 0 : e.entrustName) ?? "", o.serviceContent = (e == null ? void 0 : e.workContent) ?? "";
|
|
93
93
|
}
|
|
94
94
|
function G() {
|
|
95
|
-
|
|
95
|
+
N.findFilesList({ actionId: B.value.acceptanceId }).then(({ data: a }) => {
|
|
96
96
|
c.value = a.results, b.value = (a.results || []).map((e) => ({
|
|
97
97
|
fileName: e.fileName,
|
|
98
98
|
fileId: e.fileId,
|
|
@@ -101,12 +101,12 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
103
|
function Q() {
|
|
104
|
-
|
|
104
|
+
N.findById({ acceptanceId: B.value.acceptanceId }).then(({ data: a }) => {
|
|
105
105
|
Object.assign(o, a), v.value = typeof a.membersId == "string" ? a.membersId.split(",") || [] : [];
|
|
106
106
|
}), G();
|
|
107
107
|
}
|
|
108
108
|
function X() {
|
|
109
|
-
|
|
109
|
+
j.value = v.value.map((a) => {
|
|
110
110
|
const e = _.values.find(
|
|
111
111
|
(n) => n.key === a
|
|
112
112
|
);
|
|
@@ -120,21 +120,21 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
120
120
|
return f.value && (f.value.selectActions = [
|
|
121
121
|
{ key: "true", value: "同意" },
|
|
122
122
|
{ key: "false", value: "不同意" }
|
|
123
|
-
], f.value.varName = "approved", f.value.module = "", f.value.module =
|
|
123
|
+
], f.value.varName = "approved", f.value.module = "", f.value.module = w.MODULE_ITSMFLOW), new Promise((a, e) => {
|
|
124
124
|
var n;
|
|
125
125
|
(n = z.value) == null || n.validate((m) => {
|
|
126
126
|
if (m) {
|
|
127
127
|
if (f.value) {
|
|
128
128
|
if (f.value.comment = "", X(), v.value.length === 0) {
|
|
129
|
-
|
|
129
|
+
q.warning(h("itsmFlowAcceptance.membersRequired"));
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
|
-
o.requestId = Math.random() * 10 + "",
|
|
132
|
+
o.requestId = Math.random() * 10 + "", N.save({
|
|
133
133
|
...o,
|
|
134
|
-
members:
|
|
134
|
+
members: j.value,
|
|
135
135
|
files: b.value
|
|
136
136
|
}).then((u) => {
|
|
137
|
-
u.status === 200 ? a(!0) : (
|
|
137
|
+
u.status === 200 ? a(!0) : (q({
|
|
138
138
|
message: "保存失败,请联系管理员!",
|
|
139
139
|
type: "error"
|
|
140
140
|
}), e(!1));
|
|
@@ -146,8 +146,8 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
return (a, e) => {
|
|
149
|
-
const n = i("el-col"), m = i("el-input"), u = i("el-form-item"),
|
|
150
|
-
return
|
|
149
|
+
const n = i("el-col"), m = i("el-input"), u = i("el-form-item"), k = i("jmash-select"), Z = i("jmash-dict-select"), $ = i("el-row"), x = i("el-button"), ee = i("CircleClose"), le = i("el-icon"), ae = i("jmash-enum-radio"), te = i("el-form"), oe = i("jmash-multi-upload");
|
|
150
|
+
return g(), C(L, null, [
|
|
151
151
|
l(n, { span: 24 }, {
|
|
152
152
|
default: t(() => e[12] || (e[12] = [
|
|
153
153
|
r("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
|
|
@@ -209,11 +209,11 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
209
209
|
prop: "orderNo"
|
|
210
210
|
}, {
|
|
211
211
|
default: t(() => [
|
|
212
|
-
l(
|
|
212
|
+
l(k, {
|
|
213
213
|
modelValue: s(o).orderNo,
|
|
214
214
|
"onUpdate:modelValue": e[2] || (e[2] = (d) => s(o).orderNo = d),
|
|
215
215
|
placeholder: a.$t("itsmFlowAcceptance.orderIdRequired"),
|
|
216
|
-
data: s(
|
|
216
|
+
data: s(y).values,
|
|
217
217
|
clearable: "",
|
|
218
218
|
filterable: "",
|
|
219
219
|
class: "w-full",
|
|
@@ -246,7 +246,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
246
246
|
]),
|
|
247
247
|
_: 1
|
|
248
248
|
}),
|
|
249
|
-
l(
|
|
249
|
+
l($, null, {
|
|
250
250
|
default: t(() => [
|
|
251
251
|
l(n, { span: 12 }, {
|
|
252
252
|
default: t(() => [
|
|
@@ -255,7 +255,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
255
255
|
prop: "serviceOrg"
|
|
256
256
|
}, {
|
|
257
257
|
default: t(() => [
|
|
258
|
-
l(
|
|
258
|
+
l(k, {
|
|
259
259
|
modelValue: s(o).serviceOrg,
|
|
260
260
|
"onUpdate:modelValue": e[4] || (e[4] = (d) => s(o).serviceOrg = d),
|
|
261
261
|
placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
@@ -293,7 +293,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
293
293
|
]),
|
|
294
294
|
_: 1
|
|
295
295
|
}),
|
|
296
|
-
l(
|
|
296
|
+
l($, null, {
|
|
297
297
|
default: t(() => [
|
|
298
298
|
l(n, { span: 12 }, {
|
|
299
299
|
default: t(() => [
|
|
@@ -320,7 +320,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
320
320
|
label: a.$t("itsmFlowAcceptance.members")
|
|
321
321
|
}, {
|
|
322
322
|
default: t(() => [
|
|
323
|
-
l(
|
|
323
|
+
l(k, {
|
|
324
324
|
modelValue: v.value,
|
|
325
325
|
"onUpdate:modelValue": e[7] || (e[7] = (d) => v.value = d),
|
|
326
326
|
placeholder: a.$t("itsmFlowAcceptance.membersRequired"),
|
|
@@ -348,11 +348,11 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
348
348
|
default: t(() => [
|
|
349
349
|
l(x, {
|
|
350
350
|
type: "primary",
|
|
351
|
-
icon: s(
|
|
352
|
-
onClick:
|
|
351
|
+
icon: s(ve),
|
|
352
|
+
onClick: K
|
|
353
353
|
}, {
|
|
354
354
|
default: t(() => [
|
|
355
|
-
|
|
355
|
+
V(S(a.$t("common.uploadFiles")), 1)
|
|
356
356
|
]),
|
|
357
357
|
_: 1
|
|
358
358
|
}, 8, ["icon"])
|
|
@@ -361,15 +361,15 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
361
361
|
}, 8, ["label"]),
|
|
362
362
|
l(u, null, {
|
|
363
363
|
default: t(() => [
|
|
364
|
-
(
|
|
364
|
+
(g(!0), C(L, null, ie(c.value, (d, M) => (g(), C("div", {
|
|
365
365
|
key: M,
|
|
366
366
|
class: "files-list"
|
|
367
367
|
}, [
|
|
368
|
-
|
|
368
|
+
V(S(d.fileName) + " ", 1),
|
|
369
369
|
l(le, {
|
|
370
370
|
size: "16",
|
|
371
371
|
class: "icon-right",
|
|
372
|
-
onClick: (
|
|
372
|
+
onClick: (ge) => P(M, d)
|
|
373
373
|
}, {
|
|
374
374
|
default: t(() => [
|
|
375
375
|
l(ee)
|
|
@@ -406,7 +406,10 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
406
406
|
]),
|
|
407
407
|
_: 1
|
|
408
408
|
}),
|
|
409
|
-
|
|
409
|
+
A.task.taskDefinitionKey !== s(w).node.sign ? (g(), re(n, {
|
|
410
|
+
key: 0,
|
|
411
|
+
span: 12
|
|
412
|
+
}, {
|
|
410
413
|
default: t(() => [
|
|
411
414
|
l(u, {
|
|
412
415
|
label: a.$t("itsmFlowAcceptance.result"),
|
|
@@ -424,7 +427,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
424
427
|
}, 8, ["label"])
|
|
425
428
|
]),
|
|
426
429
|
_: 1
|
|
427
|
-
}),
|
|
430
|
+
})) : ue("", !0),
|
|
428
431
|
l(n, { span: 24 }, {
|
|
429
432
|
default: t(() => [
|
|
430
433
|
l(u, {
|
|
@@ -448,7 +451,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
448
451
|
]),
|
|
449
452
|
_: 1
|
|
450
453
|
}),
|
|
451
|
-
l(
|
|
454
|
+
l($, { class: "bordered-row" }, {
|
|
452
455
|
default: t(() => [
|
|
453
456
|
l(n, { span: 12 }, {
|
|
454
457
|
default: t(() => e[13] || (e[13] = [
|
|
@@ -459,7 +462,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
459
462
|
r("div", null, "或授权代理人(签字):")
|
|
460
463
|
]),
|
|
461
464
|
r("div", { class: "content-box-bottom" }, [
|
|
462
|
-
|
|
465
|
+
V(" 日期: "),
|
|
463
466
|
r("span", null, "年"),
|
|
464
467
|
r("span", null, "月"),
|
|
465
468
|
r("span", null, "日")
|
|
@@ -481,7 +484,7 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
481
484
|
r("div", null, "或授权代理人(签字):")
|
|
482
485
|
]),
|
|
483
486
|
r("div", { class: "content-box-bottom" }, [
|
|
484
|
-
|
|
487
|
+
V(" 日期: "),
|
|
485
488
|
r("span", null, "年"),
|
|
486
489
|
r("span", null, "月"),
|
|
487
490
|
r("span", null, "日")
|
|
@@ -501,14 +504,14 @@ const Ie = /* @__PURE__ */ ne({
|
|
|
501
504
|
l(oe, {
|
|
502
505
|
ref_key: "uploadRef",
|
|
503
506
|
ref: R,
|
|
504
|
-
modelValue:
|
|
505
|
-
"onUpdate:modelValue": e[11] || (e[11] = (d) =>
|
|
506
|
-
onUploadFileList:
|
|
507
|
+
modelValue: I.value,
|
|
508
|
+
"onUpdate:modelValue": e[11] || (e[11] = (d) => I.value = d),
|
|
509
|
+
onUploadFileList: H
|
|
507
510
|
}, null, 8, ["modelValue"])
|
|
508
511
|
], 64);
|
|
509
512
|
};
|
|
510
513
|
}
|
|
511
514
|
});
|
|
512
515
|
export {
|
|
513
|
-
|
|
516
|
+
_e as default
|
|
514
517
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as M, ref as
|
|
1
|
+
import { defineComponent as M, ref as k, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as _, createVNode as o, createBlock as A, createCommentVNode as S, withCtx as l, withKeys as F, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as $, isRef as T } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import { D as
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as N, C as Z, i as x } from "./index-CMpeLVvR.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-D1aLFtH6.mjs";
|
|
6
6
|
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ne) {
|
|
9
|
-
|
|
10
|
-
const { t: w } = Y(), r =
|
|
9
|
+
N.orgIdBizDict.useValues();
|
|
10
|
+
const { t: w } = Y(), r = k({
|
|
11
11
|
applyStatus: Z.applyStatus.draft
|
|
12
12
|
}), {
|
|
13
13
|
tableHooks: i,
|
|
@@ -17,7 +17,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
17
17
|
tableData: P,
|
|
18
18
|
total: v
|
|
19
19
|
} = X(w, x, r);
|
|
20
|
-
let d =
|
|
20
|
+
let d = k([
|
|
21
21
|
{
|
|
22
22
|
label: "itsmFlowAcceptance.contractName",
|
|
23
23
|
prop: "contractName",
|
|
@@ -98,17 +98,16 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
98
98
|
isColumn: !0
|
|
99
99
|
}
|
|
100
100
|
]);
|
|
101
|
-
const c =
|
|
101
|
+
const c = k({
|
|
102
102
|
title: w("common.edit"),
|
|
103
103
|
visible: !1
|
|
104
104
|
});
|
|
105
|
-
|
|
106
|
-
let C = R({});
|
|
105
|
+
let g = R({});
|
|
107
106
|
function q() {
|
|
108
|
-
|
|
107
|
+
g = R({}), c.value.title = w("common.add"), c.value.visible = !0;
|
|
109
108
|
}
|
|
110
109
|
function B(a) {
|
|
111
|
-
|
|
110
|
+
g = { ...a }, c.value.title = w("common.edit"), c.value.visible = !0;
|
|
112
111
|
}
|
|
113
112
|
function K(a) {
|
|
114
113
|
i.selectionRows.value = a;
|
|
@@ -120,9 +119,9 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
120
119
|
a && i.getList();
|
|
121
120
|
}
|
|
122
121
|
return i.getList(), (a, t) => {
|
|
123
|
-
const
|
|
122
|
+
const C = s("el-input"), b = s("el-form-item"), m = s("el-col"), y = s("el-button"), D = s("el-row"), Q = s("el-form"), I = s("jmash-column-select"), E = s("jmash-table"), H = s("jmash-pagination"), G = s("el-card"), h = W("hasPerm");
|
|
124
123
|
return p(), V("div", te, [
|
|
125
|
-
|
|
124
|
+
_("div", le, [
|
|
126
125
|
o(Q, {
|
|
127
126
|
ref_key: "queryFormRef",
|
|
128
127
|
ref: j,
|
|
@@ -139,7 +138,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
139
138
|
prop: "likeContractName"
|
|
140
139
|
}, {
|
|
141
140
|
default: l(() => [
|
|
142
|
-
o(
|
|
141
|
+
o(C, {
|
|
143
142
|
modelValue: r.value.likeContractName,
|
|
144
143
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
|
|
145
144
|
placeholder: a.$t("itsmFlowAcceptance.contractNameRequired"),
|
|
@@ -159,7 +158,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
159
158
|
prop: "likeContractNo"
|
|
160
159
|
}, {
|
|
161
160
|
default: l(() => [
|
|
162
|
-
o(
|
|
161
|
+
o(C, {
|
|
163
162
|
modelValue: r.value.likeContractNo,
|
|
164
163
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
|
|
165
164
|
placeholder: a.$t("itsmFlowAcceptance.contractNoRequired"),
|
|
@@ -179,7 +178,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
179
178
|
prop: "acceptanceNo"
|
|
180
179
|
}, {
|
|
181
180
|
default: l(() => [
|
|
182
|
-
o(
|
|
181
|
+
o(C, {
|
|
183
182
|
modelValue: r.value.acceptanceNo,
|
|
184
183
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.acceptanceNo = e),
|
|
185
184
|
placeholder: a.$t("itsmFlowAcceptance.acceptanceNoRequired"),
|
|
@@ -196,7 +195,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
196
195
|
default: l(() => [
|
|
197
196
|
o(b, { class: "search-btn" }, {
|
|
198
197
|
default: l(() => [
|
|
199
|
-
o(
|
|
198
|
+
o(y, {
|
|
200
199
|
type: "primary",
|
|
201
200
|
onClick: t[6] || (t[6] = (e) => n(i).handleQuery())
|
|
202
201
|
}, {
|
|
@@ -205,7 +204,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
205
204
|
]),
|
|
206
205
|
_: 1
|
|
207
206
|
}),
|
|
208
|
-
o(
|
|
207
|
+
o(y, {
|
|
209
208
|
onClick: t[7] || (t[7] = (e) => n(i).resetQuery())
|
|
210
209
|
}, {
|
|
211
210
|
default: l(() => [
|
|
@@ -235,7 +234,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
235
234
|
default: l(() => [
|
|
236
235
|
o(m, { span: 17 }, {
|
|
237
236
|
default: l(() => [
|
|
238
|
-
$((p(), A(
|
|
237
|
+
$((p(), A(y, {
|
|
239
238
|
type: "primary",
|
|
240
239
|
onClick: q
|
|
241
240
|
}, {
|
|
@@ -244,7 +243,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
244
243
|
]),
|
|
245
244
|
_: 1
|
|
246
245
|
})), [
|
|
247
|
-
[
|
|
246
|
+
[h, ["itsmflow:itsm_flow_acceptance:add"]]
|
|
248
247
|
])
|
|
249
248
|
]),
|
|
250
249
|
_: 1
|
|
@@ -290,13 +289,13 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
290
289
|
onSortChange: L
|
|
291
290
|
}, {
|
|
292
291
|
entrustName: l((e) => [
|
|
293
|
-
|
|
292
|
+
_("span", null, u(n(N).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
|
|
294
293
|
]),
|
|
295
294
|
serviceOrg: l((e) => [
|
|
296
|
-
|
|
295
|
+
_("span", null, u(n(N).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
|
|
297
296
|
]),
|
|
298
297
|
result: l((e) => [
|
|
299
|
-
|
|
298
|
+
_("span", null, u(n(N).isValuesDict.getValue(e.data.row.result)), 1)
|
|
300
299
|
]),
|
|
301
300
|
operation: l((e) => [
|
|
302
301
|
$((p(), V("span", {
|
|
@@ -305,7 +304,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
305
304
|
}, [
|
|
306
305
|
f(u(a.$t("common.edit")), 1)
|
|
307
306
|
], 8, oe)), [
|
|
308
|
-
[
|
|
307
|
+
[h, ["itsmflow:itsm_flow_acceptance:update"]]
|
|
309
308
|
]),
|
|
310
309
|
$((p(), V("span", {
|
|
311
310
|
class: "el-button-color dropdown-left",
|
|
@@ -313,7 +312,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
313
312
|
}, [
|
|
314
313
|
f(u(a.$t("common.delete")), 1)
|
|
315
314
|
], 8, ae)), [
|
|
316
|
-
[
|
|
315
|
+
[h, ["itsmflow:itsm_flow_acceptance:delete"]]
|
|
317
316
|
])
|
|
318
317
|
]),
|
|
319
318
|
_: 1
|
|
@@ -326,7 +325,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
326
325
|
modelValue: c.value.visible,
|
|
327
326
|
"onUpdate:modelValue": t[13] || (t[13] = (e) => c.value.visible = e),
|
|
328
327
|
title: c.value.title,
|
|
329
|
-
"entity-key": n(
|
|
328
|
+
"entity-key": n(g),
|
|
330
329
|
onRefresh: O,
|
|
331
330
|
width: "900px"
|
|
332
331
|
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
|
|
@@ -2,8 +2,8 @@ import { defineComponent as M, ref as R, reactive as S, resolveComponent as s, r
|
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
4
|
import { i as Z } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { C as ee, D as h } from "./index-
|
|
5
|
+
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-CMBByn6f.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-CMpeLVvR.mjs";
|
|
7
7
|
const oe = { class: "app-container" }, le = { class: "search-container" }, te = ["onClick"], ne = ["onClick"], pe = /* @__PURE__ */ M({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ae) {
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { g as me, C as O, D as I, h as M, p as pe, e as fe } from "./index-
|
|
4
|
+
import { g as me, C as O, D as I, h as M, p as pe, e as fe } from "./index-CMpeLVvR.mjs";
|
|
5
5
|
import { i as z, t as be, a as ve } from "./common-Cwl5jzlM.mjs";
|
|
6
|
-
import { E as ge } from "./el-message-
|
|
6
|
+
import { E as ge } from "./el-message-DweX1k3E.mjs";
|
|
7
7
|
const Ue = /* @__PURE__ */ ne({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: /* @__PURE__ */ se({
|