xyvcard-itsm-flow 0.0.16 → 0.0.18

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.
Files changed (34) hide show
  1. package/dist/{edit-BKYkA5db.mjs → edit-DIh0NEYf.mjs} +1 -1
  2. package/dist/{edit-BeFLJLv1.mjs → edit-DdzFTqhg.mjs} +1 -1
  3. package/dist/{edit-BrIptvPg.mjs → edit-Vw2XQ1u6.mjs} +1 -1
  4. package/dist/{edit.vue_vue_type_script_setup_true_lang-CjjtZ0-a.mjs → edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs} +1 -1
  5. package/dist/{edit.vue_vue_type_script_setup_true_lang-BiWjf5y2.mjs → edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs → edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs} +1 -1
  7. package/dist/{index-CZw5m3rz.mjs → index-7_pEehBt.mjs} +4 -8
  8. package/dist/{index-B9enSHLF.mjs → index-BI1uXq1f.mjs} +1 -1
  9. package/dist/index-C54FcKfo.mjs +424 -0
  10. package/dist/{index-DY017z-s.mjs → index-C7_kMdm5.mjs} +2 -2
  11. package/dist/index-C7nUkCbR.mjs +361 -0
  12. package/dist/{index-B7xhs2Eg.mjs → index-CITy8Hqm.mjs} +1 -1
  13. package/dist/{index-DVDOqO_3.mjs → index-Cgbv4Ijf.mjs} +16 -13
  14. package/dist/{index-B7M3zSyM.mjs → index-CxyHtsq2.mjs} +2 -2
  15. package/dist/{index-C0CZrR-1.mjs → index-DaSMRndr.mjs} +2 -2
  16. package/dist/{index-BcD1DAF_.mjs → index-DcpiD-9M.mjs} +102 -77
  17. package/dist/{index-Clc9EA6r.mjs → index-Dooa5UH_.mjs} +1 -1
  18. package/dist/{index-IG9HKXxJ.mjs → index-g0KiWDPW.mjs} +35 -38
  19. package/dist/{index-d_oBTW1A.mjs → index-tnTugnqa.mjs} +51 -54
  20. package/dist/index.mjs +193 -187
  21. package/dist/{info-D6GMiIlG.mjs → info-8NydJYfB.mjs} +1 -1
  22. package/dist/{info-DxYNokk4.mjs → info-BbMCDfFR.mjs} +1 -1
  23. package/dist/{info-CFSSXb0f.mjs → info-l0eP5Tw1.mjs} +1 -1
  24. package/dist/{info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs → info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs} +17 -13
  25. package/dist/{info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs → info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs} +1 -1
  26. package/dist/{info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs → info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs} +1 -1
  27. package/dts/api/itsm-flow-acceptance/types.d.ts +2 -0
  28. package/dts/api/itsm-flow-entrust/types.d.ts +4 -0
  29. package/dts/api/itsm-flow-reckoning/types.d.ts +1 -0
  30. package/dts/constant.d.ts +1 -0
  31. package/dts/lang/itsm-flow/zh-cn.d.ts +6 -0
  32. package/package.json +2 -2
  33. package/dist/index-DTKFEGFs.mjs +0 -339
  34. package/dist/index-rnfNatQ1.mjs +0 -315
@@ -0,0 +1,361 @@
1
+ import { defineComponent as H, ref as V, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as b, createElementVNode as y, createVNode as t, createBlock as S, createCommentVNode as U, withCtx as a, withKeys as c, unref as n, createTextVNode as C, toDisplayString as d, withDirectives as J, isRef as D } from "vue";
2
+ import { useTableHooks as M } from "jmash-core";
3
+ import { useI18n as X } from "vue-i18n";
4
+ import { O as Y, C as Z, i as x, D as g } from "./index-Cgbv4Ijf.mjs";
5
+ import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs";
6
+ const le = { class: "app-container" }, te = { class: "search-container" }, ae = ["onClick"], me = /* @__PURE__ */ H({
7
+ __name: "index",
8
+ setup(oe) {
9
+ const k = new Y({
10
+ orgType: Z.orgType.outsource
11
+ });
12
+ k.useValues();
13
+ const { t: N } = X(), r = V({}), {
14
+ tableHooks: s,
15
+ multipleTableRef: O,
16
+ queryFormRef: R,
17
+ listLoading: T,
18
+ tableData: j,
19
+ total: w
20
+ } = M(N, x, r);
21
+ let v = V([
22
+ {
23
+ label: "itsmFlowAcceptance.contractName",
24
+ prop: "contractName",
25
+ width: "150",
26
+ isColumn: !0
27
+ },
28
+ {
29
+ label: "itsmFlowAcceptance.contractNo",
30
+ prop: "contractNo",
31
+ width: "120",
32
+ isColumn: !0
33
+ },
34
+ {
35
+ label: "itsmFlowAcceptance.entrustName",
36
+ prop: "entrustName",
37
+ minWidth: "150",
38
+ isColumn: !0,
39
+ slotName: "entrustName",
40
+ columnType: "slot"
41
+ },
42
+ {
43
+ label: "itsmFlowAcceptance.serviceOrg",
44
+ prop: "serviceOrg",
45
+ width: "150",
46
+ isColumn: !0,
47
+ slotName: "serviceOrg",
48
+ columnType: "slot"
49
+ },
50
+ {
51
+ label: "itsmFlowAcceptance.stage",
52
+ prop: "stage",
53
+ width: "85",
54
+ isColumn: !0
55
+ },
56
+ {
57
+ label: "itsmFlowAcceptance.headman",
58
+ prop: "headmanName",
59
+ width: "100",
60
+ isColumn: !0
61
+ },
62
+ {
63
+ label: "itsmFlowAcceptance.members",
64
+ prop: "membersName",
65
+ width: "100",
66
+ isColumn: !0
67
+ },
68
+ {
69
+ label: "itsmFlowAcceptance.acceptanceNo",
70
+ prop: "acceptanceNo",
71
+ width: "150",
72
+ isColumn: !0
73
+ },
74
+ {
75
+ label: "itsmFlowAcceptance.result",
76
+ prop: "result",
77
+ width: "85",
78
+ isColumn: !0,
79
+ slotName: "result",
80
+ columnType: "slot"
81
+ },
82
+ {
83
+ label: "common.operate",
84
+ width: "80",
85
+ slotName: "operation",
86
+ columnType: "slot",
87
+ fixed: "right",
88
+ isColumn: !0
89
+ }
90
+ ]);
91
+ const m = V({
92
+ title: N("common.view"),
93
+ visible: !1
94
+ });
95
+ let _ = W({});
96
+ function q(o) {
97
+ _ = { ...o }, m.value.title = N("common.view"), m.value.visible = !0;
98
+ }
99
+ function z(o) {
100
+ s.selectionRows.value = o;
101
+ }
102
+ function K(o) {
103
+ s.handleSort(o.prop, o.order);
104
+ }
105
+ return s.getList(), (o, e) => {
106
+ const f = u("el-input"), p = u("el-form-item"), i = u("el-col"), $ = u("jmash-select"), F = u("el-button"), A = u("el-row"), P = u("el-form"), Q = u("jmash-column-select"), B = u("jmash-table"), I = u("jmash-pagination"), L = u("el-card"), E = G("hasPerm");
107
+ return b(), h("div", le, [
108
+ y("div", te, [
109
+ t(P, {
110
+ ref_key: "queryFormRef",
111
+ ref: R,
112
+ model: r.value,
113
+ inline: !0
114
+ }, {
115
+ default: a(() => [
116
+ t(A, null, {
117
+ default: a(() => [
118
+ t(i, { span: 6 }, {
119
+ default: a(() => [
120
+ t(p, {
121
+ label: o.$t("itsmFlowAcceptance.contractName"),
122
+ prop: "likeContractName"
123
+ }, {
124
+ default: a(() => [
125
+ t(f, {
126
+ modelValue: r.value.likeContractName,
127
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => r.value.likeContractName = l),
128
+ placeholder: o.$t("itsmFlowAcceptance.contractNameRequired"),
129
+ onKeyup: e[1] || (e[1] = c((l) => n(s).handleQuery(), ["enter"])),
130
+ class: "!w-[203px]"
131
+ }, null, 8, ["modelValue", "placeholder"])
132
+ ]),
133
+ _: 1
134
+ }, 8, ["label"])
135
+ ]),
136
+ _: 1
137
+ }),
138
+ t(i, { span: 6 }, {
139
+ default: a(() => [
140
+ t(p, {
141
+ label: o.$t("itsmFlowAcceptance.contractNo"),
142
+ prop: "likeContractNo"
143
+ }, {
144
+ default: a(() => [
145
+ t(f, {
146
+ modelValue: r.value.likeContractNo,
147
+ "onUpdate:modelValue": e[2] || (e[2] = (l) => r.value.likeContractNo = l),
148
+ placeholder: o.$t("itsmFlowAcceptance.contractNoRequired"),
149
+ onKeyup: e[3] || (e[3] = c((l) => n(s).handleQuery(), ["enter"])),
150
+ class: "!w-[203px]"
151
+ }, null, 8, ["modelValue", "placeholder"])
152
+ ]),
153
+ _: 1
154
+ }, 8, ["label"])
155
+ ]),
156
+ _: 1
157
+ }),
158
+ t(i, { span: 6 }, {
159
+ default: a(() => [
160
+ t(p, {
161
+ label: o.$t("itsmFlowAcceptance.acceptanceNo"),
162
+ prop: "acceptanceNo"
163
+ }, {
164
+ default: a(() => [
165
+ t(f, {
166
+ modelValue: r.value.acceptanceNo,
167
+ "onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.acceptanceNo = l),
168
+ placeholder: o.$t("itsmFlowAcceptance.acceptanceNoRequired"),
169
+ onKeyup: e[5] || (e[5] = c((l) => n(s).handleQuery(), ["enter"])),
170
+ class: "!w-[203px]"
171
+ }, null, 8, ["modelValue", "placeholder"])
172
+ ]),
173
+ _: 1
174
+ }, 8, ["label"])
175
+ ]),
176
+ _: 1
177
+ }),
178
+ t(i, { span: 6 }, {
179
+ default: a(() => [
180
+ t(p, {
181
+ label: o.$t("itsmFlowAcceptance.userName"),
182
+ prop: "likeUserName"
183
+ }, {
184
+ default: a(() => [
185
+ t(f, {
186
+ modelValue: r.value.likeUserName,
187
+ "onUpdate:modelValue": e[6] || (e[6] = (l) => r.value.likeUserName = l),
188
+ placeholder: o.$t("itsmFlowAcceptance.userNameRequired"),
189
+ onKeyup: e[7] || (e[7] = c((l) => n(s).handleQuery(), ["enter"])),
190
+ class: "!w-[203px]"
191
+ }, null, 8, ["modelValue", "placeholder"])
192
+ ]),
193
+ _: 1
194
+ }, 8, ["label"])
195
+ ]),
196
+ _: 1
197
+ }),
198
+ t(i, { span: 6 }, {
199
+ default: a(() => [
200
+ t(p, {
201
+ label: o.$t("itsmFlowAcceptance.serviceOrg"),
202
+ prop: "likeServiceOrg"
203
+ }, {
204
+ default: a(() => [
205
+ t($, {
206
+ modelValue: r.value.serviceOrg,
207
+ "onUpdate:modelValue": e[8] || (e[8] = (l) => r.value.serviceOrg = l),
208
+ placeholder: o.$t("itsmFlowAcceptance.serviceOrgRequired"),
209
+ data: n(k).values,
210
+ clearable: "",
211
+ filterable: "",
212
+ onKeyup: e[9] || (e[9] = c((l) => n(s).handleQuery(), ["enter"])),
213
+ class: "!w-[203px]"
214
+ }, null, 8, ["modelValue", "placeholder", "data"])
215
+ ]),
216
+ _: 1
217
+ }, 8, ["label"])
218
+ ]),
219
+ _: 1
220
+ }),
221
+ t(i, { span: 6 }, {
222
+ default: a(() => [
223
+ t(p, {
224
+ label: o.$t("itsmFlowAcceptance.applyStatus"),
225
+ prop: "applyStatus"
226
+ }, {
227
+ default: a(() => [
228
+ t($, {
229
+ modelValue: r.value.applyStatus,
230
+ "onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.applyStatus = l),
231
+ placeholder: o.$t("itsmFlowAcceptance.applyStatusRequired"),
232
+ data: n(g).applyStatusEnum.values,
233
+ onKeyup: e[11] || (e[11] = c((l) => n(s).handleQuery(), ["enter"]))
234
+ }, null, 8, ["modelValue", "placeholder", "data"])
235
+ ]),
236
+ _: 1
237
+ }, 8, ["label"])
238
+ ]),
239
+ _: 1
240
+ }),
241
+ t(i, { span: 12 }, {
242
+ default: a(() => [
243
+ t(p, { class: "search-btn" }, {
244
+ default: a(() => [
245
+ t(F, {
246
+ type: "primary",
247
+ onClick: e[12] || (e[12] = (l) => n(s).handleQuery())
248
+ }, {
249
+ default: a(() => [
250
+ C(d(o.$t("common.search")), 1)
251
+ ]),
252
+ _: 1
253
+ }),
254
+ t(F, {
255
+ onClick: e[13] || (e[13] = (l) => n(s).resetQuery())
256
+ }, {
257
+ default: a(() => [
258
+ C(d(o.$t("common.reset")), 1)
259
+ ]),
260
+ _: 1
261
+ })
262
+ ]),
263
+ _: 1
264
+ })
265
+ ]),
266
+ _: 1
267
+ })
268
+ ]),
269
+ _: 1
270
+ })
271
+ ]),
272
+ _: 1
273
+ }, 8, ["model"])
274
+ ]),
275
+ t(L, {
276
+ shadow: "never",
277
+ class: "table-container"
278
+ }, {
279
+ header: a(() => [
280
+ t(A, null, {
281
+ default: a(() => [
282
+ t(i, { span: 17 }),
283
+ t(i, {
284
+ span: 7,
285
+ class: "container-float"
286
+ }, {
287
+ default: a(() => [
288
+ t(Q, {
289
+ modelValue: n(v),
290
+ "onUpdate:modelValue": e[14] || (e[14] = (l) => D(v) ? v.value = l : v = l),
291
+ "label-name": "itsm-flow-acceptance"
292
+ }, null, 8, ["modelValue"])
293
+ ]),
294
+ _: 1
295
+ })
296
+ ]),
297
+ _: 1
298
+ })
299
+ ]),
300
+ footer: a(() => [
301
+ n(w) > 0 ? (b(), S(I, {
302
+ key: 0,
303
+ total: n(w),
304
+ "onUpdate:total": e[15] || (e[15] = (l) => D(w) ? w.value = l : null),
305
+ "current-page": r.value.curPage,
306
+ "onUpdate:currentPage": e[16] || (e[16] = (l) => r.value.curPage = l),
307
+ "page-size": r.value.pageSize,
308
+ "onUpdate:pageSize": e[17] || (e[17] = (l) => r.value.pageSize = l),
309
+ onPagination: e[18] || (e[18] = (l) => n(s).getList())
310
+ }, null, 8, ["total", "current-page", "page-size"])) : U("", !0)
311
+ ]),
312
+ default: a(() => [
313
+ t(B, {
314
+ ref_key: "multipleTableRef",
315
+ ref: O,
316
+ "row-key": "acceptanceId",
317
+ "list-loading": n(T),
318
+ data: n(j),
319
+ "table-label": n(v),
320
+ onSelectionChange: z,
321
+ onSortChange: K
322
+ }, {
323
+ entrustName: a((l) => [
324
+ y("span", null, d(n(g).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
325
+ ]),
326
+ serviceOrg: a((l) => [
327
+ y("span", null, d(n(g).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
328
+ ]),
329
+ result: a((l) => [
330
+ y("span", null, d(n(g).isValuesDict.getValue(l.data.row.result)), 1)
331
+ ]),
332
+ operation: a((l) => [
333
+ J((b(), h("span", {
334
+ class: "el-button-color",
335
+ onClick: (ne) => q(l.data.row)
336
+ }, [
337
+ C(d(o.$t("common.view")), 1)
338
+ ], 8, ae)), [
339
+ [E, ["itsmflow:itsm_flow_acceptance:view"]]
340
+ ])
341
+ ]),
342
+ _: 1
343
+ }, 8, ["list-loading", "data", "table-label"])
344
+ ]),
345
+ _: 1
346
+ }),
347
+ m.value.visible ? (b(), S(ee, {
348
+ key: 0,
349
+ modelValue: m.value.visible,
350
+ "onUpdate:modelValue": e[19] || (e[19] = (l) => m.value.visible = l),
351
+ title: m.value.title,
352
+ "entity-key": n(_),
353
+ width: "900px"
354
+ }, null, 8, ["modelValue", "title", "entity-key"])) : U("", !0)
355
+ ]);
356
+ };
357
+ }
358
+ });
359
+ export {
360
+ me as default
361
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as oe, mergeModels as ne, computed as ae, ref as f, useModel as se, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as P, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as u, toDisplayString as r, unref as b, createCommentVNode as I, withDirectives as A, vShow as B, createBlock as O, renderList as ue } from "vue";
2
2
  import "element-plus";
3
3
  import { u as re } from "./index-PafaMNgK.mjs";
4
- import { D as C, C as $, a as ie, b as de } from "./index-DVDOqO_3.mjs";
4
+ import { D as C, C as $, a as ie, b as de } from "./index-Cgbv4Ijf.mjs";
5
5
  import { i as S, t as ce, a as pe } from "./common-Cwl5jzlM.mjs";
6
6
  import "jmash-core";
7
7
  import { useI18n as me } from "vue-i18n";
@@ -165,7 +165,7 @@ class T {
165
165
  }
166
166
  }
167
167
  const B = new T();
168
- class z {
168
+ class O {
169
169
  getKey(t) {
170
170
  return {
171
171
  entrustUserId: t.entrustUserId
@@ -181,8 +181,8 @@ class z {
181
181
  });
182
182
  }
183
183
  }
184
- const F = new z();
185
- class P extends p {
184
+ const z = new O();
185
+ class F extends p {
186
186
  // 实现 useValues 方法
187
187
  useValues() {
188
188
  return new Promise((t, s) => {
@@ -203,7 +203,7 @@ class P extends p {
203
203
  });
204
204
  }
205
205
  }
206
- class D extends p {
206
+ class P extends p {
207
207
  // 实现 useValues 方法
208
208
  useValues() {
209
209
  return new Promise((t, s) => {
@@ -224,7 +224,7 @@ class D extends p {
224
224
  });
225
225
  }
226
226
  }
227
- class O extends p {
227
+ class D extends p {
228
228
  // 实现 useValues 方法
229
229
  useValues() {
230
230
  return new Promise((t, s) => {
@@ -380,7 +380,7 @@ class R extends p {
380
380
  // 实现 useValues 方法
381
381
  useValues() {
382
382
  return new Promise((t, s) => {
383
- F.findList(this.query).then(({ data: c }) => {
383
+ z.findList(this.query).then(({ data: c }) => {
384
384
  const i = c.results;
385
385
  this.values.length = 0, this.values.push(
386
386
  ...i.map(
@@ -419,7 +419,9 @@ r(n, "ENUM_APPLY_STATUS", "xyvcard.itsmflow.protobuf.ItsmApplyStatus"), // 项
419
419
  r(n, "DICT_PROJECT_NAME", "projectName"), // 机构类型
420
420
  r(n, "orgType", {
421
421
  // 厅局
422
- hall: "HALL"
422
+ hall: "HALL",
423
+ // 外协
424
+ outsource: "OUTSOURCE"
423
425
  }), // 项目状态
424
426
  r(n, "status", {
425
427
  // 项目状态(正常)
@@ -450,9 +452,9 @@ r(n, "node", {
450
452
  class m {
451
453
  }
452
454
  // 人力合同
453
- r(m, "itsmContractBizDict", new P({})), // 人力合同编号
454
- r(m, "contractNumberBizDict", new D({})), // 服务人员所属单位
455
- r(m, "orgIdBizDict", new O({})), // 实际投入人员
455
+ r(m, "itsmContractBizDict", new F({})), // 人力合同编号
456
+ r(m, "contractNumberBizDict", new P({})), // 服务人员所属单位
457
+ r(m, "orgIdBizDict", new D({})), // 实际投入人员
456
458
  r(m, "contractUserBizDict", new b({})), // 验查结果
457
459
  r(m, "isValuesDict", new _(n.IS_VALUES, {})), // 服务内容
458
460
  r(m, "serviceContentEnum", new h(
@@ -478,11 +480,12 @@ export {
478
480
  n as C,
479
481
  m as D,
480
482
  k as I,
483
+ D as O,
481
484
  V as U,
482
485
  B as a,
483
- F as b,
484
- P as c,
485
- D as d,
486
+ z as b,
487
+ F as c,
488
+ P as d,
486
489
  x as e,
487
490
  b as f,
488
491
  C as g,
@@ -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-CjjtZ0-a.mjs";
6
- import { C as ee, D as h } from "./index-DVDOqO_3.mjs";
5
+ import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs";
6
+ import { C as ee, D as h } from "./index-Cgbv4Ijf.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,8 +1,8 @@
1
1
  import { defineComponent as W, ref as h, reactive as R, resolveComponent as i, resolveDirective as X, createElementBlock as $, openBlock as c, createElementVNode as w, createVNode as o, createBlock as F, createCommentVNode as S, withCtx as l, withKeys as _, unref as a, createTextVNode as b, toDisplayString as u, withDirectives as I, isRef as j } from "vue";
2
2
  import { useTableHooks as Y } from "jmash-core";
3
3
  import { useI18n as Z } from "vue-i18n";
4
- import { C as x, a as ee, D as p } from "./index-DVDOqO_3.mjs";
5
- import { _ as te } from "./edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs";
4
+ import { C as x, a as ee, D as p } from "./index-Cgbv4Ijf.mjs";
5
+ import { _ as te } from "./edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs";
6
6
  const le = { class: "app-container" }, oe = { class: "search-container" }, ne = ["onClick"], ae = ["onClick"], pe = /* @__PURE__ */ W({
7
7
  __name: "index",
8
8
  setup(re) {