xyvcard-itsm-flow 0.0.18 → 0.0.20

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.
@@ -1,22 +1,24 @@
1
- import { defineComponent as W, ref as C, reactive as G, resolveComponent as i, resolveDirective as J, createElementBlock as U, openBlock as y, createElementVNode as b, createVNode as t, createBlock as S, createCommentVNode as R, withCtx as o, withKeys as d, unref as n, createTextVNode as $, toDisplayString as p, withDirectives as M, isRef as h } from "vue";
1
+ import { defineComponent as W, ref as C, reactive as G, resolveComponent as i, resolveDirective as J, createElementBlock as S, openBlock as y, createElementVNode as b, createVNode as t, createBlock as U, createCommentVNode as D, withCtx as o, withKeys as d, unref as n, createTextVNode as k, toDisplayString as v, withDirectives as M, isRef as R } from "vue";
2
2
  import { useTableHooks as X } from "jmash-core";
3
3
  import { useI18n as Y } from "vue-i18n";
4
- import { a as Z, O as x, C as ee, D as v } from "./index-Cgbv4Ijf.mjs";
4
+ import { a as Z, D as p, O as x, C as ee } from "./index-Cgbv4Ijf.mjs";
5
5
  import { _ as le } from "./info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs";
6
6
  const te = { class: "app-container" }, oe = { class: "search-container" }, ae = ["onClick"], de = /* @__PURE__ */ W({
7
7
  __name: "index",
8
8
  setup(ne) {
9
9
  const { t: N } = Y(), r = C({}), {
10
10
  tableHooks: s,
11
- multipleTableRef: D,
11
+ multipleTableRef: h,
12
12
  queryFormRef: _,
13
13
  listLoading: q,
14
14
  tableData: B,
15
15
  total: g
16
- } = X(N, Z, r), k = new x({
16
+ } = X(N, Z, r);
17
+ p.orgIdBizDict.useValues();
18
+ const $ = new x({
17
19
  orgType: ee.orgType.outsource
18
20
  });
19
- k.useValues(), v.parentIdBizDict.useValues();
21
+ $.useValues(), p.parentIdBizDict.useValues();
20
22
  let f = C([
21
23
  {
22
24
  label: "itsmFlowEntrust.contractId",
@@ -88,20 +90,20 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
88
90
  visible: !1
89
91
  });
90
92
  let E = G({});
91
- function K(a) {
93
+ function z(a) {
92
94
  E = { ...a }, c.value.title = N("common.view"), c.value.visible = !0;
93
95
  }
94
- function Q(a) {
96
+ function K(a) {
95
97
  s.selectionRows.value = a;
96
98
  }
97
- function T(a) {
99
+ function Q(a) {
98
100
  s.handleSort(a.prop, a.order);
99
101
  }
100
102
  return s.getList(), (a, e) => {
101
- const w = i("el-input"), m = i("el-form-item"), u = i("el-col"), V = i("jmash-select"), F = i("el-button"), I = i("el-row"), j = i("el-form"), z = i("jmash-column-select"), P = i("jmash-table"), A = i("jmash-pagination"), L = i("el-card"), H = J("hasPerm");
102
- return y(), U("div", te, [
103
+ const w = i("el-input"), m = i("el-form-item"), u = i("el-col"), V = i("jmash-select"), F = i("el-button"), I = i("el-row"), T = i("el-form"), j = i("jmash-column-select"), P = i("jmash-table"), A = i("jmash-pagination"), L = i("el-card"), H = J("hasPerm");
104
+ return y(), S("div", te, [
103
105
  b("div", oe, [
104
- t(j, {
106
+ t(T, {
105
107
  ref_key: "queryFormRef",
106
108
  ref: _,
107
109
  model: r.value,
@@ -161,7 +163,7 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
161
163
  modelValue: r.value.serviceContent,
162
164
  "onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.serviceContent = l),
163
165
  placeholder: a.$t("itsmFlowEntrust.serviceContentRequired"),
164
- data: n(v).serviceContentEnum.values,
166
+ data: n(p).serviceContentEnum.values,
165
167
  clearable: "",
166
168
  filterable: "",
167
169
  onKeyup: e[5] || (e[5] = d((l) => n(s).handleQuery(), ["enter"])),
@@ -221,10 +223,10 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
221
223
  }, {
222
224
  default: o(() => [
223
225
  t(V, {
224
- modelValue: r.value.serviceOrg,
225
- "onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.serviceOrg = l),
226
+ modelValue: r.value.likeServiceOrg,
227
+ "onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.likeServiceOrg = l),
226
228
  placeholder: a.$t("itsmFlowAcceptance.serviceOrgRequired"),
227
- data: n(k).values,
229
+ data: n($).values,
228
230
  clearable: "",
229
231
  filterable: "",
230
232
  onKeyup: e[11] || (e[11] = d((l) => n(s).handleQuery(), ["enter"])),
@@ -287,7 +289,7 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
287
289
  modelValue: r.value.applyStatus,
288
290
  "onUpdate:modelValue": e[16] || (e[16] = (l) => r.value.applyStatus = l),
289
291
  placeholder: a.$t("itsmFlowAcceptance.applyStatusRequired"),
290
- data: n(v).applyStatusEnum.values,
292
+ data: n(p).applyStatusEnum.values,
291
293
  onKeyup: e[17] || (e[17] = d((l) => n(s).handleQuery(), ["enter"]))
292
294
  }, null, 8, ["modelValue", "placeholder", "data"])
293
295
  ]),
@@ -305,7 +307,7 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
305
307
  onClick: e[18] || (e[18] = (l) => n(s).handleQuery())
306
308
  }, {
307
309
  default: o(() => [
308
- $(p(a.$t("common.search")), 1)
310
+ k(v(a.$t("common.search")), 1)
309
311
  ]),
310
312
  _: 1
311
313
  }),
@@ -313,7 +315,7 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
313
315
  onClick: e[19] || (e[19] = (l) => n(s).resetQuery())
314
316
  }, {
315
317
  default: o(() => [
316
- $(p(a.$t("common.reset")), 1)
318
+ k(v(a.$t("common.reset")), 1)
317
319
  ]),
318
320
  _: 1
319
321
  })
@@ -343,9 +345,9 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
343
345
  class: "container-float"
344
346
  }, {
345
347
  default: o(() => [
346
- t(z, {
348
+ t(j, {
347
349
  modelValue: n(f),
348
- "onUpdate:modelValue": e[20] || (e[20] = (l) => h(f) ? f.value = l : f = l),
350
+ "onUpdate:modelValue": e[20] || (e[20] = (l) => R(f) ? f.value = l : f = l),
349
351
  "label-name": "itsm-flow-entrust"
350
352
  }, null, 8, ["modelValue"])
351
353
  ]),
@@ -356,48 +358,48 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
356
358
  })
357
359
  ]),
358
360
  footer: o(() => [
359
- n(g) > 0 ? (y(), S(A, {
361
+ n(g) > 0 ? (y(), U(A, {
360
362
  key: 0,
361
363
  total: n(g),
362
- "onUpdate:total": e[21] || (e[21] = (l) => h(g) ? g.value = l : null),
364
+ "onUpdate:total": e[21] || (e[21] = (l) => R(g) ? g.value = l : null),
363
365
  "current-page": r.value.curPage,
364
366
  "onUpdate:currentPage": e[22] || (e[22] = (l) => r.value.curPage = l),
365
367
  "page-size": r.value.pageSize,
366
368
  "onUpdate:pageSize": e[23] || (e[23] = (l) => r.value.pageSize = l),
367
369
  onPagination: e[24] || (e[24] = (l) => n(s).getList())
368
- }, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
370
+ }, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
369
371
  ]),
370
372
  default: o(() => [
371
373
  t(P, {
372
374
  ref_key: "multipleTableRef",
373
- ref: D,
375
+ ref: h,
374
376
  "row-key": "entrustId",
375
377
  "list-loading": n(q),
376
378
  data: n(B),
377
379
  "table-label": n(f),
378
- onSelectionChange: Q,
379
- onSortChange: T
380
+ onSelectionChange: K,
381
+ onSortChange: Q
380
382
  }, {
381
383
  entrustName: o((l) => [
382
- b("span", null, p(n(v).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
384
+ b("span", null, v(n(p).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
383
385
  ]),
384
386
  belongOrgId: o((l) => [
385
- b("span", null, p(l.data.row.belongOrgId.split(",").map((O) => n(v).parentIdBizDict.getValue(O)).join(",")), 1)
387
+ b("span", null, v(l.data.row.belongOrgId.split(",").map((O) => n(p).parentIdBizDict.getValue(O)).join(",")), 1)
386
388
  ]),
387
389
  serviceContent: o((l) => [
388
- b("span", null, p(n(v).serviceContentEnum.getEnumValue(
390
+ b("span", null, v(n(p).serviceContentEnum.getEnumValue(
389
391
  l.data.row.serviceContent
390
392
  )), 1)
391
393
  ]),
392
394
  serviceOrg: o((l) => [
393
- b("span", null, p(n(v).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
395
+ b("span", null, v(n(p).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
394
396
  ]),
395
397
  operation: o((l) => [
396
- M((y(), U("span", {
398
+ M((y(), S("span", {
397
399
  class: "el-button-color",
398
- onClick: (O) => K(l.data.row)
400
+ onClick: (O) => z(l.data.row)
399
401
  }, [
400
- $(p(a.$t("common.view")), 1)
402
+ k(v(a.$t("common.view")), 1)
401
403
  ], 8, ae)), [
402
404
  [H, ["itsmflow:itsm_flow_entrust:view"]]
403
405
  ])
@@ -407,14 +409,14 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, ae =
407
409
  ]),
408
410
  _: 1
409
411
  }),
410
- c.value.visible ? (y(), S(le, {
412
+ c.value.visible ? (y(), U(le, {
411
413
  key: 0,
412
414
  modelValue: c.value.visible,
413
415
  "onUpdate:modelValue": e[25] || (e[25] = (l) => c.value.visible = l),
414
416
  title: c.value.title,
415
417
  "entity-key": n(E),
416
418
  width: "900px"
417
- }, null, 8, ["modelValue", "title", "entity-key"])) : R("", !0)
419
+ }, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0)
418
420
  ]);
419
421
  };
420
422
  }
@@ -1,22 +1,23 @@
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";
1
+ import { defineComponent as H, ref as V, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as g, createElementVNode as y, createVNode as t, createBlock as S, createCommentVNode as D, withCtx as a, withKeys as c, unref as n, createTextVNode as k, toDisplayString as d, withDirectives as J, isRef as U } from "vue";
2
2
  import { useTableHooks as M } from "jmash-core";
3
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";
4
+ import { D as w, O as Y, C as Z, i as x } from "./index-Cgbv4Ijf.mjs";
5
5
  import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs";
6
6
  const le = { class: "app-container" }, te = { class: "search-container" }, ae = ["onClick"], me = /* @__PURE__ */ H({
7
7
  __name: "index",
8
8
  setup(oe) {
9
- const k = new Y({
9
+ w.orgIdBizDict.useValues();
10
+ const C = new Y({
10
11
  orgType: Z.orgType.outsource
11
12
  });
12
- k.useValues();
13
+ C.useValues();
13
14
  const { t: N } = X(), r = V({}), {
14
15
  tableHooks: s,
15
16
  multipleTableRef: O,
16
17
  queryFormRef: R,
17
18
  listLoading: T,
18
19
  tableData: j,
19
- total: w
20
+ total: f
20
21
  } = M(N, x, r);
21
22
  let v = V([
22
23
  {
@@ -103,8 +104,8 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
103
104
  s.handleSort(o.prop, o.order);
104
105
  }
105
106
  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, [
107
+ const b = 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");
108
+ return g(), h("div", le, [
108
109
  y("div", te, [
109
110
  t(P, {
110
111
  ref_key: "queryFormRef",
@@ -122,7 +123,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
122
123
  prop: "likeContractName"
123
124
  }, {
124
125
  default: a(() => [
125
- t(f, {
126
+ t(b, {
126
127
  modelValue: r.value.likeContractName,
127
128
  "onUpdate:modelValue": e[0] || (e[0] = (l) => r.value.likeContractName = l),
128
129
  placeholder: o.$t("itsmFlowAcceptance.contractNameRequired"),
@@ -142,7 +143,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
142
143
  prop: "likeContractNo"
143
144
  }, {
144
145
  default: a(() => [
145
- t(f, {
146
+ t(b, {
146
147
  modelValue: r.value.likeContractNo,
147
148
  "onUpdate:modelValue": e[2] || (e[2] = (l) => r.value.likeContractNo = l),
148
149
  placeholder: o.$t("itsmFlowAcceptance.contractNoRequired"),
@@ -162,7 +163,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
162
163
  prop: "acceptanceNo"
163
164
  }, {
164
165
  default: a(() => [
165
- t(f, {
166
+ t(b, {
166
167
  modelValue: r.value.acceptanceNo,
167
168
  "onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.acceptanceNo = l),
168
169
  placeholder: o.$t("itsmFlowAcceptance.acceptanceNoRequired"),
@@ -182,7 +183,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
182
183
  prop: "likeUserName"
183
184
  }, {
184
185
  default: a(() => [
185
- t(f, {
186
+ t(b, {
186
187
  modelValue: r.value.likeUserName,
187
188
  "onUpdate:modelValue": e[6] || (e[6] = (l) => r.value.likeUserName = l),
188
189
  placeholder: o.$t("itsmFlowAcceptance.userNameRequired"),
@@ -203,10 +204,10 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
203
204
  }, {
204
205
  default: a(() => [
205
206
  t($, {
206
- modelValue: r.value.serviceOrg,
207
- "onUpdate:modelValue": e[8] || (e[8] = (l) => r.value.serviceOrg = l),
207
+ modelValue: r.value.likeServiceOrg,
208
+ "onUpdate:modelValue": e[8] || (e[8] = (l) => r.value.likeServiceOrg = l),
208
209
  placeholder: o.$t("itsmFlowAcceptance.serviceOrgRequired"),
209
- data: n(k).values,
210
+ data: n(C).values,
210
211
  clearable: "",
211
212
  filterable: "",
212
213
  onKeyup: e[9] || (e[9] = c((l) => n(s).handleQuery(), ["enter"])),
@@ -229,7 +230,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
229
230
  modelValue: r.value.applyStatus,
230
231
  "onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.applyStatus = l),
231
232
  placeholder: o.$t("itsmFlowAcceptance.applyStatusRequired"),
232
- data: n(g).applyStatusEnum.values,
233
+ data: n(w).applyStatusEnum.values,
233
234
  onKeyup: e[11] || (e[11] = c((l) => n(s).handleQuery(), ["enter"]))
234
235
  }, null, 8, ["modelValue", "placeholder", "data"])
235
236
  ]),
@@ -247,7 +248,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
247
248
  onClick: e[12] || (e[12] = (l) => n(s).handleQuery())
248
249
  }, {
249
250
  default: a(() => [
250
- C(d(o.$t("common.search")), 1)
251
+ k(d(o.$t("common.search")), 1)
251
252
  ]),
252
253
  _: 1
253
254
  }),
@@ -255,7 +256,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
255
256
  onClick: e[13] || (e[13] = (l) => n(s).resetQuery())
256
257
  }, {
257
258
  default: a(() => [
258
- C(d(o.$t("common.reset")), 1)
259
+ k(d(o.$t("common.reset")), 1)
259
260
  ]),
260
261
  _: 1
261
262
  })
@@ -287,7 +288,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
287
288
  default: a(() => [
288
289
  t(Q, {
289
290
  modelValue: n(v),
290
- "onUpdate:modelValue": e[14] || (e[14] = (l) => D(v) ? v.value = l : v = l),
291
+ "onUpdate:modelValue": e[14] || (e[14] = (l) => U(v) ? v.value = l : v = l),
291
292
  "label-name": "itsm-flow-acceptance"
292
293
  }, null, 8, ["modelValue"])
293
294
  ]),
@@ -298,16 +299,16 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
298
299
  })
299
300
  ]),
300
301
  footer: a(() => [
301
- n(w) > 0 ? (b(), S(I, {
302
+ n(f) > 0 ? (g(), S(I, {
302
303
  key: 0,
303
- total: n(w),
304
- "onUpdate:total": e[15] || (e[15] = (l) => D(w) ? w.value = l : null),
304
+ total: n(f),
305
+ "onUpdate:total": e[15] || (e[15] = (l) => U(f) ? f.value = l : null),
305
306
  "current-page": r.value.curPage,
306
307
  "onUpdate:currentPage": e[16] || (e[16] = (l) => r.value.curPage = l),
307
308
  "page-size": r.value.pageSize,
308
309
  "onUpdate:pageSize": e[17] || (e[17] = (l) => r.value.pageSize = l),
309
310
  onPagination: e[18] || (e[18] = (l) => n(s).getList())
310
- }, null, 8, ["total", "current-page", "page-size"])) : U("", !0)
311
+ }, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
311
312
  ]),
312
313
  default: a(() => [
313
314
  t(B, {
@@ -321,20 +322,20 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
321
322
  onSortChange: K
322
323
  }, {
323
324
  entrustName: a((l) => [
324
- y("span", null, d(n(g).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
325
+ y("span", null, d(n(w).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
325
326
  ]),
326
327
  serviceOrg: a((l) => [
327
- y("span", null, d(n(g).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
328
+ y("span", null, d(n(w).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
328
329
  ]),
329
330
  result: a((l) => [
330
- y("span", null, d(n(g).isValuesDict.getValue(l.data.row.result)), 1)
331
+ y("span", null, d(n(w).isValuesDict.getValue(l.data.row.result)), 1)
331
332
  ]),
332
333
  operation: a((l) => [
333
- J((b(), h("span", {
334
+ J((g(), h("span", {
334
335
  class: "el-button-color",
335
336
  onClick: (ne) => q(l.data.row)
336
337
  }, [
337
- C(d(o.$t("common.view")), 1)
338
+ k(d(o.$t("common.view")), 1)
338
339
  ], 8, ae)), [
339
340
  [E, ["itsmflow:itsm_flow_acceptance:view"]]
340
341
  ])
@@ -344,14 +345,14 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
344
345
  ]),
345
346
  _: 1
346
347
  }),
347
- m.value.visible ? (b(), S(ee, {
348
+ m.value.visible ? (g(), S(ee, {
348
349
  key: 0,
349
350
  modelValue: m.value.visible,
350
351
  "onUpdate:modelValue": e[19] || (e[19] = (l) => m.value.visible = l),
351
352
  title: m.value.title,
352
353
  "entity-key": n(_),
353
354
  width: "900px"
354
- }, null, 8, ["modelValue", "title", "entity-key"])) : U("", !0)
355
+ }, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0)
355
356
  ]);
356
357
  };
357
358
  }
@@ -1,24 +1,26 @@
1
- import { defineComponent as H, ref as b, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as S, openBlock as w, createElementVNode as N, createVNode as o, createBlock as h, createCommentVNode as D, withCtx as t, withKeys as m, unref as a, createTextVNode as y, toDisplayString as v, withDirectives as J, isRef as O } from "vue";
1
+ import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as S, openBlock as w, createElementVNode as y, createVNode as o, createBlock as h, createCommentVNode as D, withCtx as t, withKeys as m, unref as a, createTextVNode as V, toDisplayString as v, withDirectives as J, isRef as O } from "vue";
2
2
  import { useTableHooks as M } from "jmash-core";
3
3
  import { useI18n as X } from "vue-i18n";
4
4
  import { i as Y } from "./common-Cwl5jzlM.mjs";
5
- import { O as Z, C as x, D as V } from "./index-Cgbv4Ijf.mjs";
5
+ import { D as k, O as Z, C as x } from "./index-Cgbv4Ijf.mjs";
6
6
  import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs";
7
7
  const le = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], de = /* @__PURE__ */ H({
8
8
  __name: "index",
9
9
  setup(ne) {
10
- const { t: k } = X(), r = b({}), {
10
+ const { t: b } = X(), r = N({}), {
11
11
  tableHooks: i,
12
12
  multipleTableRef: U,
13
13
  queryFormRef: q,
14
14
  listLoading: j,
15
- tableData: K,
15
+ tableData: z,
16
16
  total: f
17
- } = M(k, Y, r), R = new Z({
17
+ } = M(b, Y, r);
18
+ k.orgIdBizDict.useValues();
19
+ const R = new Z({
18
20
  orgType: x.orgType.outsource
19
21
  });
20
22
  R.useValues();
21
- let c = b([
23
+ let c = N([
22
24
  {
23
25
  label: "itsmFlowReckoning.contractName",
24
26
  prop: "contractName",
@@ -74,24 +76,24 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
74
76
  isColumn: !0
75
77
  }
76
78
  ]);
77
- const d = b({
78
- title: k("common.view"),
79
+ const d = N({
80
+ title: b("common.view"),
79
81
  visible: !1
80
82
  });
81
83
  let $ = W({});
82
- function Q(n) {
83
- $ = { ...n }, d.value.title = k("common.view"), d.value.visible = !0;
84
+ function K(n) {
85
+ $ = { ...n }, d.value.title = b("common.view"), d.value.visible = !0;
84
86
  }
85
- function T(n) {
87
+ function Q(n) {
86
88
  i.selectionRows.value = n;
87
89
  }
88
- function z(n) {
90
+ function T(n) {
89
91
  i.handleSort(n.prop, n.order);
90
92
  }
91
93
  return i.getList(), (n, e) => {
92
94
  const g = u("el-input"), p = u("el-form-item"), s = u("el-col"), C = u("jmash-select"), F = u("el-button"), _ = u("el-row"), P = u("el-form"), B = u("jmash-column-select"), I = u("jmash-table"), A = u("jmash-pagination"), L = u("el-card"), E = G("hasPerm");
93
95
  return w(), S("div", le, [
94
- N("div", oe, [
96
+ y("div", oe, [
95
97
  o(P, {
96
98
  ref_key: "queryFormRef",
97
99
  ref: q,
@@ -209,8 +211,8 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
209
211
  }, {
210
212
  default: t(() => [
211
213
  o(C, {
212
- modelValue: r.value.serviceOrg,
213
- "onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.serviceOrg = l),
214
+ modelValue: r.value.likeServiceOrg,
215
+ "onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.likeServiceOrg = l),
214
216
  placeholder: n.$t("itsmFlowAcceptance.serviceOrgRequired"),
215
217
  data: a(R).values,
216
218
  clearable: "",
@@ -235,7 +237,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
235
237
  modelValue: r.value.applyStatus,
236
238
  "onUpdate:modelValue": e[12] || (e[12] = (l) => r.value.applyStatus = l),
237
239
  placeholder: n.$t("itsmFlowAcceptance.applyStatusRequired"),
238
- data: a(V).applyStatusEnum.values,
240
+ data: a(k).applyStatusEnum.values,
239
241
  onKeyup: e[13] || (e[13] = m((l) => a(i).handleQuery(), ["enter"]))
240
242
  }, null, 8, ["modelValue", "placeholder", "data"])
241
243
  ]),
@@ -253,7 +255,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
253
255
  onClick: e[14] || (e[14] = (l) => a(i).handleQuery())
254
256
  }, {
255
257
  default: t(() => [
256
- y(v(n.$t("common.search")), 1)
258
+ V(v(n.$t("common.search")), 1)
257
259
  ]),
258
260
  _: 1
259
261
  }),
@@ -261,7 +263,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
261
263
  onClick: e[15] || (e[15] = (l) => a(i).resetQuery())
262
264
  }, {
263
265
  default: t(() => [
264
- y(v(n.$t("common.reset")), 1)
266
+ V(v(n.$t("common.reset")), 1)
265
267
  ]),
266
268
  _: 1
267
269
  })
@@ -321,23 +323,23 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
321
323
  ref: U,
322
324
  "row-key": "reckoningId",
323
325
  "list-loading": a(j),
324
- data: a(K),
326
+ data: a(z),
325
327
  "table-label": a(c),
326
- onSelectionChange: T,
327
- onSortChange: z
328
+ onSelectionChange: Q,
329
+ onSortChange: T
328
330
  }, {
329
331
  entrustName: t((l) => [
330
- N("span", null, v(a(V).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
332
+ y("span", null, v(a(k).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
331
333
  ]),
332
334
  serviceOrg: t((l) => [
333
- N("span", null, v(a(V).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
335
+ y("span", null, v(a(k).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
334
336
  ]),
335
337
  operation: t((l) => [
336
338
  J((w(), S("span", {
337
339
  class: "el-button-color",
338
- onClick: (ae) => Q(l.data.row)
340
+ onClick: (ae) => K(l.data.row)
339
341
  }, [
340
- y(v(n.$t("common.view")), 1)
342
+ V(v(n.$t("common.view")), 1)
341
343
  ], 8, te)), [
342
344
  [E, ["itsmflow:itsm_flow_reckoning:view"]]
343
345
  ])
package/dist/index.mjs CHANGED
@@ -2697,7 +2697,7 @@ const Wi = {
2697
2697
  }
2698
2698
  };
2699
2699
  }
2700
- }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance-info/index.vue": () => import("./index-C7nUkCbR.mjs"), "./views/itsm-flow-acceptance-info/info.vue": () => import("./info-l0eP5Tw1.mjs"), "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-Vw2XQ1u6.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-C7_kMdm5.mjs"), "./views/itsm-flow-entrust-info/index.vue": () => import("./index-C54FcKfo.mjs"), "./views/itsm-flow-entrust-info/info.vue": () => import("./info-BbMCDfFR.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-DdzFTqhg.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-DaSMRndr.mjs"), "./views/itsm-flow-reckoning-info/index.vue": () => import("./index-DcpiD-9M.mjs"), "./views/itsm-flow-reckoning-info/info.vue": () => import("./info-8NydJYfB.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-DIh0NEYf.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-CxyHtsq2.mjs") }), Wt = () => import("./index-Dooa5UH_.mjs"), Fi = () => import("./index-tnTugnqa.mjs"), Pt = () => import("./index-BI1uXq1f.mjs"), Ii = () => import("./index-g0KiWDPW.mjs"), Ft = () => import("./index-CITy8Hqm.mjs"), Ci = () => import("./index-7_pEehBt.mjs"), Ei = {
2700
+ }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance-info/index.vue": () => import("./index-DyOibT57.mjs"), "./views/itsm-flow-acceptance-info/info.vue": () => import("./info-l0eP5Tw1.mjs"), "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-Vw2XQ1u6.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-C7_kMdm5.mjs"), "./views/itsm-flow-entrust-info/index.vue": () => import("./index-54evOMFJ.mjs"), "./views/itsm-flow-entrust-info/info.vue": () => import("./info-BbMCDfFR.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-DdzFTqhg.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-DaSMRndr.mjs"), "./views/itsm-flow-reckoning-info/index.vue": () => import("./index-v18knD_f.mjs"), "./views/itsm-flow-reckoning-info/info.vue": () => import("./info-8NydJYfB.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-DIh0NEYf.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-CxyHtsq2.mjs") }), Wt = () => import("./index-Dooa5UH_.mjs"), Fi = () => import("./index-tnTugnqa.mjs"), Pt = () => import("./index-BI1uXq1f.mjs"), Ii = () => import("./index-g0KiWDPW.mjs"), Ft = () => import("./index-CITy8Hqm.mjs"), Ci = () => import("./index-7_pEehBt.mjs"), Ei = {
2701
2701
  install(e) {
2702
2702
  Os(Pi, 7), Rs(Ts), H("TaskItsmFlowEntrust", Wt), H("TaskItsmFlowEntrustEdit", Fi), H("TaskItsmFlowEntrustView", Wt), H("TaskItsmFlowAcceptance", Pt), H(
2703
2703
  "TaskItsmFlowAcceptanceEdit",
@@ -10,7 +10,7 @@ export interface ItsmFlowAcceptanceReq extends EntityReq {
10
10
  acceptanceId?: string;
11
11
  orderNo?: string;
12
12
  likeUserName?: string;
13
- serviceOrg?: string;
13
+ likeServiceOrg?: string;
14
14
  }
15
15
  export interface ItsmFlowAcceptanceModel extends EntityModel {
16
16
  acceptanceId?: string;
@@ -11,7 +11,7 @@ export interface ItsmFlowEntrustReq extends EntityReq {
11
11
  orderNo?: string;
12
12
  entrustId?: string;
13
13
  likeUserName?: string;
14
- serviceOrg?: string;
14
+ likeServiceOrg?: string;
15
15
  likeBelongOrgName?: string;
16
16
  likeEntrustItsmName?: string;
17
17
  }
@@ -10,7 +10,7 @@ export interface ItsmFlowReckoningReq extends EntityReq {
10
10
  reckoningId?: string;
11
11
  hasApplyStatus?: boolean;
12
12
  applyStatus?: string;
13
- serviceOrg?: string;
13
+ likeServiceOrg?: string;
14
14
  }
15
15
  export interface ItsmFlowReckoningModel extends EntityModel {
16
16
  reckoningId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsm-flow",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -25,13 +25,13 @@
25
25
  "vue": "^3.5.13",
26
26
  "vue-i18n": "^9.14.4",
27
27
  "vue-router": "^4.5.1",
28
- "jmash-core": "^0.1.4",
28
+ "jmash-core": "^0.1.7",
29
29
  "jmash-dict": "^0.1.1",
30
- "jmash-rbac": "^0.1.11",
30
+ "jmash-rbac": "^0.1.16",
31
31
  "jmash-flow": "^0.0.21",
32
32
  "xyvcard-workflow": "^0.0.44",
33
33
  "xyvcard-itsmsys": "^0.0.20",
34
- "xyvcard-itsm": "^0.0.26"
34
+ "xyvcard-itsm": "^0.0.29"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@eslint/js": "^9.14.0",