xyvcard-itsm-flow 0.0.8 → 0.0.10
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/{common--K4gGsNT.mjs → common-Cwl5jzlM.mjs} +1 -1
- package/dist/{edit-B621RtNS.mjs → edit-BnJnxvY6.mjs} +1 -1
- package/dist/{edit-CoRzQ2SK.mjs → edit-D8J1Znw_.mjs} +1 -1
- package/dist/{edit-Czk64Yon.mjs → edit-har-8Y54.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs → edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs} +94 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs → edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs +553 -0
- package/dist/{el-message-FfNjxLv_.mjs → el-message-CIdVBT5R.mjs} +1 -1
- package/dist/{index-BCP5cBN6.mjs → index-BAHlhmvh.mjs} +60 -61
- package/dist/{index-DX1PURJy.mjs → index-BjBTIknS.mjs} +115 -114
- package/dist/{index-B5vmtcUk.mjs → index-C6XFHtva.mjs} +92 -95
- package/dist/{index-CVbpEq7V.mjs → index-CF0oM0UA.mjs} +139 -100
- package/dist/{index-CdzhLCkX.mjs → index-Cp3csR1g.mjs} +3 -3
- package/dist/{index-Dld6YbIV.mjs → index-DBIF93AC.mjs} +177 -150
- package/dist/{index-BlBkHqXR.mjs → index-DKIrRXT5.mjs} +2 -2
- package/dist/{index-CRHpl0qA.mjs → index-DnFWLmFk.mjs} +58 -59
- package/dist/{index-DY7ZV5kq.mjs → index-DugZK_BS.mjs} +96 -78
- package/dist/{index-BJl7xHYx.mjs → index-bMREgnhp.mjs} +14 -14
- package/dist/index.mjs +63 -60
- package/dts/api/itsm-flow-acceptance/index.d.ts +3 -1
- package/dts/api/itsm-flow-acceptance/types.d.ts +24 -1
- package/dts/api/itsm-flow-entrust/index.d.ts +0 -3
- package/dts/constant.d.ts +3 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +3 -0
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +4 -4
- package/package.json +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs +0 -523
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var I = Object.defineProperty;
|
|
2
2
|
var N = (a, t, e) => t in a ? I(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
|
|
3
3
|
var r = (a, t, e) => N(a, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { useUserStore as
|
|
5
|
-
import { contractApi as
|
|
6
|
-
import { sysUserExtApi as L, sysOrgApi as
|
|
7
|
-
import { ref as z, defineComponent as
|
|
4
|
+
import { useUserStore as o, clearEmpty as c, request as u, BizDict as _, BizLayDict as x, CustomBizDict as E, EnumDict as y } from "jmash-core";
|
|
5
|
+
import { contractApi as w, contractUserApi as A, itemApi as B } from "xyvcard-itsm";
|
|
6
|
+
import { sysUserExtApi as L, sysOrgApi as f } from "xyvcard-itsmsys";
|
|
7
|
+
import { ref as z, defineComponent as d, openBlock as m, createElementBlock as h, createElementVNode as v } from "vue";
|
|
8
8
|
import { EntryDict as U } from "jmash-dict";
|
|
9
9
|
class S {
|
|
10
10
|
getKey(t) {
|
|
@@ -14,8 +14,8 @@ class S {
|
|
|
14
14
|
}
|
|
15
15
|
// 查询翻页信息验收流程表
|
|
16
16
|
findPage(t) {
|
|
17
|
-
const e =
|
|
18
|
-
return t && (t.hasApplyStatus = t.applyStatus != null),
|
|
17
|
+
const e = o().user.tenant;
|
|
18
|
+
return t && (t.hasApplyStatus = t.applyStatus != null), c(t), u({
|
|
19
19
|
url: "/v1/itsmflow/itsm_flow_acceptance/mypage/" + e,
|
|
20
20
|
method: "get",
|
|
21
21
|
params: t
|
|
@@ -23,8 +23,8 @@ class S {
|
|
|
23
23
|
}
|
|
24
24
|
// 查询列表信息验收流程表
|
|
25
25
|
findList(t) {
|
|
26
|
-
const e =
|
|
27
|
-
return t && (t.hasApplyStatus = t.applyStatus != null),
|
|
26
|
+
const e = o().user.tenant;
|
|
27
|
+
return t && (t.hasApplyStatus = t.applyStatus != null), c(t), u({
|
|
28
28
|
url: "/v1/itsmflow/itsm_flow_acceptance/mylist/" + e,
|
|
29
29
|
method: "get",
|
|
30
30
|
params: t
|
|
@@ -32,15 +32,15 @@ class S {
|
|
|
32
32
|
}
|
|
33
33
|
// 查询验收流程表
|
|
34
34
|
findById(t) {
|
|
35
|
-
const e =
|
|
36
|
-
return
|
|
35
|
+
const e = o().user.tenant;
|
|
36
|
+
return c(t), u({
|
|
37
37
|
url: "/v1/itsmflow/itsm_flow_acceptance/id/" + e + "/" + t.acceptanceId,
|
|
38
38
|
method: "get"
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
// 保存草稿验收流程表
|
|
42
42
|
save(t) {
|
|
43
|
-
return t.tenant =
|
|
43
|
+
return t.tenant = o().user.tenant, c(t), u({
|
|
44
44
|
url: "/v1/itsmflow/itsm_flow_acceptance",
|
|
45
45
|
method: "post",
|
|
46
46
|
data: t
|
|
@@ -48,7 +48,7 @@ class S {
|
|
|
48
48
|
}
|
|
49
49
|
// 提交验收流程表
|
|
50
50
|
submit(t) {
|
|
51
|
-
return t.tenant =
|
|
51
|
+
return t.tenant = o().user.tenant, c(t), u({
|
|
52
52
|
url: "/v1/itsmflow/itsm_flow_acceptance/submit",
|
|
53
53
|
method: "post",
|
|
54
54
|
data: t
|
|
@@ -56,27 +56,41 @@ class S {
|
|
|
56
56
|
}
|
|
57
57
|
// 删除验收流程表
|
|
58
58
|
delete(t) {
|
|
59
|
-
return t.tenant =
|
|
59
|
+
return t.tenant = o().user.tenant, c(t), u({
|
|
60
60
|
url: "/v1/itsmflow/itsm_flow_acceptance/id",
|
|
61
61
|
method: "delete",
|
|
62
62
|
params: t
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
//
|
|
65
|
+
// 导出pdf
|
|
66
66
|
exportFilePdf(t) {
|
|
67
|
-
const e =
|
|
68
|
-
return
|
|
67
|
+
const e = o().user.tenant;
|
|
68
|
+
return c(t), u({
|
|
69
69
|
url: `/v1/itsmflow/itsm_flow_acceptance/${e}/itsm_flow_acceptances.pdf?acceptanceId=` + t.acceptanceId,
|
|
70
70
|
method: "get",
|
|
71
71
|
responseType: "blob"
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
+
// 查询验收材料
|
|
75
|
+
findFilesList(t) {
|
|
76
|
+
const e = o().user.tenant;
|
|
77
|
+
return c(t), u({
|
|
78
|
+
url: "/v1/workflow/form_file/list/" + e,
|
|
79
|
+
method: "get",
|
|
80
|
+
params: t
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
// 查询验收组长
|
|
84
|
+
findHeadman(t) {
|
|
85
|
+
return c(t), u({
|
|
86
|
+
url: "/v1/rbac/user/list_user",
|
|
87
|
+
method: "get",
|
|
88
|
+
params: t
|
|
89
|
+
});
|
|
90
|
+
}
|
|
74
91
|
}
|
|
75
92
|
const C = new S();
|
|
76
93
|
class F {
|
|
77
|
-
itsmFlowReckoningApi(t) {
|
|
78
|
-
throw new Error("Method not implemented.");
|
|
79
|
-
}
|
|
80
94
|
getKey(t) {
|
|
81
95
|
return {
|
|
82
96
|
entrustId: t.entrustId
|
|
@@ -84,8 +98,8 @@ class F {
|
|
|
84
98
|
}
|
|
85
99
|
// 查询翻页信息委托流程表
|
|
86
100
|
findPage(t) {
|
|
87
|
-
const e =
|
|
88
|
-
return t && (t.hasServiceContent = t.serviceContent != null, t.hasApplyStatus = t.applyStatus != null),
|
|
101
|
+
const e = o().user.tenant;
|
|
102
|
+
return t && (t.hasServiceContent = t.serviceContent != null, t.hasApplyStatus = t.applyStatus != null), c(t), u({
|
|
89
103
|
url: "/v1/itsmflow/itsm_flow_entrust/mypage/" + e,
|
|
90
104
|
method: "get",
|
|
91
105
|
params: t
|
|
@@ -93,8 +107,8 @@ class F {
|
|
|
93
107
|
}
|
|
94
108
|
// 查询列表信息委托流程表
|
|
95
109
|
findList(t) {
|
|
96
|
-
const e =
|
|
97
|
-
return t && (t.hasApplyStatus = t.applyStatus != null),
|
|
110
|
+
const e = o().user.tenant;
|
|
111
|
+
return t && (t.hasApplyStatus = t.applyStatus != null), c(t), u({
|
|
98
112
|
url: "/v1/itsmflow/itsm_flow_entrust/mylist/" + e,
|
|
99
113
|
method: "get",
|
|
100
114
|
params: t
|
|
@@ -102,15 +116,15 @@ class F {
|
|
|
102
116
|
}
|
|
103
117
|
// 查询委托流程表
|
|
104
118
|
findById(t) {
|
|
105
|
-
const e =
|
|
106
|
-
return
|
|
119
|
+
const e = o().user.tenant;
|
|
120
|
+
return c(t), u({
|
|
107
121
|
url: "/v1/itsmflow/itsm_flow_entrust/id/" + e + "/" + t.entrustId,
|
|
108
122
|
method: "get"
|
|
109
123
|
});
|
|
110
124
|
}
|
|
111
125
|
// 保存草稿委托流程表
|
|
112
126
|
save(t) {
|
|
113
|
-
return t.tenant =
|
|
127
|
+
return t.tenant = o().user.tenant, c(t), u({
|
|
114
128
|
url: "/v1/itsmflow/itsm_flow_entrust",
|
|
115
129
|
method: "post",
|
|
116
130
|
data: t
|
|
@@ -118,7 +132,7 @@ class F {
|
|
|
118
132
|
}
|
|
119
133
|
// 提交委托流程表
|
|
120
134
|
submit(t) {
|
|
121
|
-
return t.tenant =
|
|
135
|
+
return t.tenant = o().user.tenant, c(t), u({
|
|
122
136
|
url: "/v1/itsmflow/itsm_flow_entrust/submit",
|
|
123
137
|
method: "post",
|
|
124
138
|
data: t
|
|
@@ -126,7 +140,7 @@ class F {
|
|
|
126
140
|
}
|
|
127
141
|
// 删除委托流程表
|
|
128
142
|
delete(t) {
|
|
129
|
-
return t.tenant =
|
|
143
|
+
return t.tenant = o().user.tenant, c(t), u({
|
|
130
144
|
url: "/v1/itsmflow/itsm_flow_entrust/id",
|
|
131
145
|
method: "delete",
|
|
132
146
|
params: t
|
|
@@ -134,8 +148,8 @@ class F {
|
|
|
134
148
|
}
|
|
135
149
|
// 打印委托流程表PDF文件
|
|
136
150
|
exportFilePdf(t) {
|
|
137
|
-
const e =
|
|
138
|
-
return
|
|
151
|
+
const e = o().user.tenant;
|
|
152
|
+
return c(t), u({
|
|
139
153
|
url: `/v1/itsmflow/itsm_flow_entrust/${e}/itsm_flow_entrusts.pdf?entrustId=` + t.entrustId,
|
|
140
154
|
method: "get",
|
|
141
155
|
responseType: "blob"
|
|
@@ -143,7 +157,7 @@ class F {
|
|
|
143
157
|
}
|
|
144
158
|
// 上传任务附件
|
|
145
159
|
uploadFile(t) {
|
|
146
|
-
return t.tenant =
|
|
160
|
+
return t.tenant = o().user.tenant, c(t), u({
|
|
147
161
|
url: "/v1/flow/task/attachment",
|
|
148
162
|
method: "post",
|
|
149
163
|
data: t
|
|
@@ -159,8 +173,8 @@ class T {
|
|
|
159
173
|
}
|
|
160
174
|
// 查询列表信息委托服务人员信息
|
|
161
175
|
findList(t) {
|
|
162
|
-
const e =
|
|
163
|
-
return
|
|
176
|
+
const e = o().user.tenant;
|
|
177
|
+
return c(t), u({
|
|
164
178
|
url: "/v1/itsmflow/itsm_flow_entrust_user/list/" + e,
|
|
165
179
|
method: "get",
|
|
166
180
|
params: t
|
|
@@ -172,7 +186,7 @@ class P extends _ {
|
|
|
172
186
|
// 实现 useValues 方法
|
|
173
187
|
useValues() {
|
|
174
188
|
return new Promise((t, e) => {
|
|
175
|
-
|
|
189
|
+
w.findList(this.query).then(({ data: n }) => {
|
|
176
190
|
const l = n.results;
|
|
177
191
|
this.values.length = 0, this.values.push(
|
|
178
192
|
...l.map(
|
|
@@ -193,7 +207,7 @@ class V extends _ {
|
|
|
193
207
|
// 实现 useValues 方法
|
|
194
208
|
useValues() {
|
|
195
209
|
return new Promise((t, e) => {
|
|
196
|
-
|
|
210
|
+
w.findList(this.query).then(({ data: n }) => {
|
|
197
211
|
const l = n.results;
|
|
198
212
|
this.values.length = 0, this.values.push(
|
|
199
213
|
...l.map(
|
|
@@ -210,11 +224,11 @@ class V extends _ {
|
|
|
210
224
|
});
|
|
211
225
|
}
|
|
212
226
|
}
|
|
213
|
-
class
|
|
227
|
+
class b extends _ {
|
|
214
228
|
// 实现 useValues 方法
|
|
215
229
|
useValues() {
|
|
216
230
|
return new Promise((t, e) => {
|
|
217
|
-
|
|
231
|
+
f.findOutSourceList(this.query).then(({ data: n }) => {
|
|
218
232
|
const l = n.results;
|
|
219
233
|
this.values.length = 0, this.values.push(
|
|
220
234
|
...l.map(
|
|
@@ -228,7 +242,7 @@ class O extends _ {
|
|
|
228
242
|
});
|
|
229
243
|
}
|
|
230
244
|
}
|
|
231
|
-
class
|
|
245
|
+
class O extends _ {
|
|
232
246
|
// 实现 useValues 方法
|
|
233
247
|
useValues() {
|
|
234
248
|
return new Promise((t, e) => {
|
|
@@ -248,16 +262,16 @@ class k extends _ {
|
|
|
248
262
|
});
|
|
249
263
|
}
|
|
250
264
|
}
|
|
251
|
-
class
|
|
265
|
+
class k extends x {
|
|
252
266
|
// 实现 useValues 方法
|
|
253
267
|
useValues(t) {
|
|
254
268
|
return new Promise((e, n) => {
|
|
255
|
-
if (typeof
|
|
269
|
+
if (typeof f.findList > "u") {
|
|
256
270
|
e(this.values);
|
|
257
271
|
return;
|
|
258
272
|
}
|
|
259
273
|
const l = { ...this.query, excludeOrgId: t };
|
|
260
|
-
|
|
274
|
+
f.findList(l).then(({ data: s }) => {
|
|
261
275
|
const g = s.results;
|
|
262
276
|
this.values.length = 0, this.values.push(...this.convertToLayEntryArray(g)), e(this.values);
|
|
263
277
|
}).catch(n);
|
|
@@ -381,34 +395,34 @@ class K extends _ {
|
|
|
381
395
|
});
|
|
382
396
|
}
|
|
383
397
|
}
|
|
384
|
-
class
|
|
398
|
+
class i {
|
|
385
399
|
}
|
|
386
400
|
// 模块
|
|
387
|
-
r(
|
|
388
|
-
r(
|
|
401
|
+
r(i, "MODULE_ITSMFLOW", "itsmflow"), // 合同分类
|
|
402
|
+
r(i, "contractSort", {
|
|
389
403
|
// 人力
|
|
390
404
|
manpower: "manpower"
|
|
391
405
|
}), // 合同类型
|
|
392
|
-
r(
|
|
406
|
+
r(i, "contractType", {
|
|
393
407
|
// 外协合同
|
|
394
408
|
outsource: "outsource"
|
|
395
409
|
}), // 时间格式-年月
|
|
396
|
-
r(
|
|
397
|
-
r(
|
|
410
|
+
r(i, "FORMAT_MONTH", "YYYY-MM"), // 验查结果
|
|
411
|
+
r(i, "IS_VALUES", z([
|
|
398
412
|
{ key: !0, value: "通过" },
|
|
399
413
|
{ key: !1, value: "不通过" }
|
|
400
414
|
])), // 服务内容枚举
|
|
401
|
-
r(
|
|
402
|
-
r(
|
|
403
|
-
r(
|
|
415
|
+
r(i, "ENUM_SERVICE_CONTENT", "xyvcard.itsmflow.protobuf.ServiceContent"), // 项目名称
|
|
416
|
+
r(i, "DICT_PROJECT_NAME", "projectName"), // 机构类型
|
|
417
|
+
r(i, "orgType", {
|
|
404
418
|
// 厅局
|
|
405
419
|
hall: "HALL"
|
|
406
420
|
}), // 项目状态
|
|
407
|
-
r(
|
|
421
|
+
r(i, "status", {
|
|
408
422
|
// 项目状态(正常)
|
|
409
423
|
regular: "regular"
|
|
410
424
|
}), // 流程状态
|
|
411
|
-
r(
|
|
425
|
+
r(i, "applyStatus", {
|
|
412
426
|
// 草稿
|
|
413
427
|
draft: "DRAFT",
|
|
414
428
|
// 进行中
|
|
@@ -416,25 +430,29 @@ r(c, "applyStatus", {
|
|
|
416
430
|
// 已办结
|
|
417
431
|
finished: "FINISHED"
|
|
418
432
|
}), // 人员类型
|
|
419
|
-
r(
|
|
433
|
+
r(i, "userType", {
|
|
420
434
|
// 公司管理
|
|
421
435
|
companyManager: "COMPANY_MANAGER"
|
|
436
|
+
}), // 岗位编码
|
|
437
|
+
r(i, "jobCode", {
|
|
438
|
+
// 组长
|
|
439
|
+
groupLeader: "team_leader"
|
|
422
440
|
});
|
|
423
441
|
class p {
|
|
424
442
|
}
|
|
425
443
|
// 人力合同
|
|
426
444
|
r(p, "itsmContractBizDict", new P({})), // 人力合同编号
|
|
427
445
|
r(p, "contractNumberBizDict", new V({})), // 服务人员所属单位
|
|
428
|
-
r(p, "orgIdBizDict", new
|
|
429
|
-
r(p, "contractUserBizDict", new
|
|
430
|
-
r(p, "isValuesDict", new
|
|
431
|
-
r(p, "serviceContentEnum", new
|
|
432
|
-
|
|
433
|
-
|
|
446
|
+
r(p, "orgIdBizDict", new b({})), // 实际投入人员
|
|
447
|
+
r(p, "contractUserBizDict", new O({})), // 验查结果
|
|
448
|
+
r(p, "isValuesDict", new E(i.IS_VALUES, {})), // 服务内容
|
|
449
|
+
r(p, "serviceContentEnum", new y(
|
|
450
|
+
i.MODULE_ITSMFLOW,
|
|
451
|
+
i.ENUM_SERVICE_CONTENT
|
|
434
452
|
)), // 项目名称
|
|
435
|
-
r(p, "projectNameDict", new U(
|
|
436
|
-
r(p, "parentIdBizDict", new
|
|
437
|
-
orgType:
|
|
453
|
+
r(p, "projectNameDict", new U(i.DICT_PROJECT_NAME)), // 厅局管理父厅级单位
|
|
454
|
+
r(p, "parentIdBizDict", new k({
|
|
455
|
+
orgType: i.orgType.hall
|
|
438
456
|
})), // 项目列表
|
|
439
457
|
r(p, "itemBizLayDict", new R({})), // 验收书查询信息
|
|
440
458
|
r(p, "itsmFlowEntrustBizDict", new H({})), // 管理人员
|
|
@@ -444,11 +462,11 @@ r(p, "itsmFlowEntrustUserBizDict", new K(
|
|
|
444
462
|
{}
|
|
445
463
|
));
|
|
446
464
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
447
|
-
var W = /* @__PURE__ */
|
|
465
|
+
var W = /* @__PURE__ */ d({
|
|
448
466
|
name: "CircleCloseFilled",
|
|
449
467
|
__name: "circle-close-filled",
|
|
450
468
|
setup(a) {
|
|
451
|
-
return (t, e) => (
|
|
469
|
+
return (t, e) => (m(), h("svg", {
|
|
452
470
|
xmlns: "http://www.w3.org/2000/svg",
|
|
453
471
|
viewBox: "0 0 1024 1024"
|
|
454
472
|
}, [
|
|
@@ -458,11 +476,11 @@ var W = /* @__PURE__ */ m({
|
|
|
458
476
|
})
|
|
459
477
|
]));
|
|
460
478
|
}
|
|
461
|
-
}), nt = W, G = /* @__PURE__ */
|
|
479
|
+
}), nt = W, G = /* @__PURE__ */ d({
|
|
462
480
|
name: "Close",
|
|
463
481
|
__name: "close",
|
|
464
482
|
setup(a) {
|
|
465
|
-
return (t, e) => (
|
|
483
|
+
return (t, e) => (m(), h("svg", {
|
|
466
484
|
xmlns: "http://www.w3.org/2000/svg",
|
|
467
485
|
viewBox: "0 0 1024 1024"
|
|
468
486
|
}, [
|
|
@@ -472,11 +490,11 @@ var W = /* @__PURE__ */ m({
|
|
|
472
490
|
})
|
|
473
491
|
]));
|
|
474
492
|
}
|
|
475
|
-
}), lt = G, J = /* @__PURE__ */
|
|
493
|
+
}), lt = G, J = /* @__PURE__ */ d({
|
|
476
494
|
name: "InfoFilled",
|
|
477
495
|
__name: "info-filled",
|
|
478
496
|
setup(a) {
|
|
479
|
-
return (t, e) => (
|
|
497
|
+
return (t, e) => (m(), h("svg", {
|
|
480
498
|
xmlns: "http://www.w3.org/2000/svg",
|
|
481
499
|
viewBox: "0 0 1024 1024"
|
|
482
500
|
}, [
|
|
@@ -486,11 +504,11 @@ var W = /* @__PURE__ */ m({
|
|
|
486
504
|
})
|
|
487
505
|
]));
|
|
488
506
|
}
|
|
489
|
-
}), ct = J, $ = /* @__PURE__ */
|
|
507
|
+
}), ct = J, $ = /* @__PURE__ */ d({
|
|
490
508
|
name: "Plus",
|
|
491
509
|
__name: "plus",
|
|
492
510
|
setup(a) {
|
|
493
|
-
return (t, e) => (
|
|
511
|
+
return (t, e) => (m(), h("svg", {
|
|
494
512
|
xmlns: "http://www.w3.org/2000/svg",
|
|
495
513
|
viewBox: "0 0 1024 1024"
|
|
496
514
|
}, [
|
|
@@ -500,11 +518,11 @@ var W = /* @__PURE__ */ m({
|
|
|
500
518
|
})
|
|
501
519
|
]));
|
|
502
520
|
}
|
|
503
|
-
}), ut = $, Q = /* @__PURE__ */
|
|
521
|
+
}), ut = $, Q = /* @__PURE__ */ d({
|
|
504
522
|
name: "SuccessFilled",
|
|
505
523
|
__name: "success-filled",
|
|
506
524
|
setup(a) {
|
|
507
|
-
return (t, e) => (
|
|
525
|
+
return (t, e) => (m(), h("svg", {
|
|
508
526
|
xmlns: "http://www.w3.org/2000/svg",
|
|
509
527
|
viewBox: "0 0 1024 1024"
|
|
510
528
|
}, [
|
|
@@ -514,11 +532,11 @@ var W = /* @__PURE__ */ m({
|
|
|
514
532
|
})
|
|
515
533
|
]));
|
|
516
534
|
}
|
|
517
|
-
}), it = Q, X = /* @__PURE__ */
|
|
535
|
+
}), it = Q, X = /* @__PURE__ */ d({
|
|
518
536
|
name: "Upload",
|
|
519
537
|
__name: "upload",
|
|
520
538
|
setup(a) {
|
|
521
|
-
return (t, e) => (
|
|
539
|
+
return (t, e) => (m(), h("svg", {
|
|
522
540
|
xmlns: "http://www.w3.org/2000/svg",
|
|
523
541
|
viewBox: "0 0 1024 1024"
|
|
524
542
|
}, [
|
|
@@ -528,11 +546,11 @@ var W = /* @__PURE__ */ m({
|
|
|
528
546
|
})
|
|
529
547
|
]));
|
|
530
548
|
}
|
|
531
|
-
}), ot = X, Z = /* @__PURE__ */
|
|
549
|
+
}), ot = X, Z = /* @__PURE__ */ d({
|
|
532
550
|
name: "WarningFilled",
|
|
533
551
|
__name: "warning-filled",
|
|
534
552
|
setup(a) {
|
|
535
|
-
return (t, e) => (
|
|
553
|
+
return (t, e) => (m(), h("svg", {
|
|
536
554
|
xmlns: "http://www.w3.org/2000/svg",
|
|
537
555
|
viewBox: "0 0 1024 1024"
|
|
538
556
|
}, [
|
|
@@ -544,7 +562,7 @@ var W = /* @__PURE__ */ m({
|
|
|
544
562
|
}
|
|
545
563
|
}), pt = Z;
|
|
546
564
|
export {
|
|
547
|
-
|
|
565
|
+
i as C,
|
|
548
566
|
p as D,
|
|
549
567
|
H as I,
|
|
550
568
|
Y as U,
|
|
@@ -553,7 +571,7 @@ export {
|
|
|
553
571
|
V as c,
|
|
554
572
|
R as d,
|
|
555
573
|
D as e,
|
|
556
|
-
|
|
574
|
+
O as f,
|
|
557
575
|
j as g,
|
|
558
576
|
K as h,
|
|
559
577
|
C as i,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W, openBlock as p, createElementBlock as V, createElementVNode as N, createVNode as o, withCtx as l, withKeys as A, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as F, createBlock as $, isRef as S, createCommentVNode 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 g, C as Z, i as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as g, C as Z, i as x } from "./index-DugZK_BS.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.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) {
|
|
@@ -107,23 +107,23 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
107
107
|
function q() {
|
|
108
108
|
C = R({}), c.value.title = w("common.add"), c.value.visible = !0;
|
|
109
109
|
}
|
|
110
|
-
function I(a) {
|
|
111
|
-
C.acceptanceId = a.acceptanceId, c.value.title = w("common.edit"), c.value.visible = !0;
|
|
112
|
-
}
|
|
113
110
|
function B(a) {
|
|
114
|
-
|
|
111
|
+
C = { ...a }, c.value.title = w("common.edit"), c.value.visible = !0;
|
|
115
112
|
}
|
|
116
113
|
function K(a) {
|
|
117
|
-
i.
|
|
114
|
+
i.selectionRows.value = a;
|
|
118
115
|
}
|
|
119
116
|
function L(a) {
|
|
117
|
+
i.handleSort(a.prop, a.order);
|
|
118
|
+
}
|
|
119
|
+
function O(a) {
|
|
120
120
|
a && i.getList();
|
|
121
121
|
}
|
|
122
122
|
return i.getList(), (a, t) => {
|
|
123
|
-
const y = s("el-input"), b = s("el-form-item"), m = s("el-col"), h = s("el-button"), D = s("el-row"),
|
|
123
|
+
const y = s("el-input"), b = s("el-form-item"), m = s("el-col"), h = 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"), k = W("hasPerm");
|
|
124
124
|
return p(), V("div", te, [
|
|
125
125
|
N("div", le, [
|
|
126
|
-
o(
|
|
126
|
+
o(Q, {
|
|
127
127
|
ref_key: "queryFormRef",
|
|
128
128
|
ref: j,
|
|
129
129
|
model: r.value,
|
|
@@ -254,7 +254,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
254
254
|
class: "container-float"
|
|
255
255
|
}, {
|
|
256
256
|
default: l(() => [
|
|
257
|
-
o(
|
|
257
|
+
o(I, {
|
|
258
258
|
modelValue: n(d),
|
|
259
259
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => S(d) ? d.value = e : d = e),
|
|
260
260
|
"label-name": "itsm-flow-acceptance"
|
|
@@ -286,8 +286,8 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
286
286
|
"list-loading": n(z),
|
|
287
287
|
data: n(P),
|
|
288
288
|
"table-label": n(d),
|
|
289
|
-
onSelectionChange:
|
|
290
|
-
onSortChange:
|
|
289
|
+
onSelectionChange: K,
|
|
290
|
+
onSortChange: L
|
|
291
291
|
}, {
|
|
292
292
|
entrustName: l((e) => [
|
|
293
293
|
N("span", null, u(n(g).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
|
|
@@ -301,7 +301,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
301
301
|
operation: l((e) => [
|
|
302
302
|
F((p(), V("span", {
|
|
303
303
|
class: "el-button-color",
|
|
304
|
-
onClick: (J) =>
|
|
304
|
+
onClick: (J) => B(e.data.row)
|
|
305
305
|
}, [
|
|
306
306
|
f(u(a.$t("common.edit")), 1)
|
|
307
307
|
], 8, oe)), [
|
|
@@ -327,7 +327,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
327
327
|
"onUpdate:modelValue": t[13] || (t[13] = (e) => c.value.visible = e),
|
|
328
328
|
title: c.value.title,
|
|
329
329
|
"entity-key": n(C),
|
|
330
|
-
onRefresh:
|
|
330
|
+
onRefresh: O,
|
|
331
331
|
width: "900px"
|
|
332
332
|
}, null, 8, ["modelValue", "title", "entity-key"])) : T("", !0)
|
|
333
333
|
]);
|