xyvcard-itsm-flow 0.0.7 → 0.0.8

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 (50) hide show
  1. package/dist/FileSaver.min-BeKvLuyk.mjs +73 -0
  2. package/dist/common--K4gGsNT.mjs +85 -0
  3. package/dist/{edit-BZbho2xr.mjs → edit-B621RtNS.mjs} +1 -1
  4. package/dist/{edit-DA920KWc.mjs → edit-CoRzQ2SK.mjs} +1 -1
  5. package/dist/{edit-DxK8SrUd.mjs → edit-Czk64Yon.mjs} +1 -1
  6. package/dist/edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs +670 -0
  7. package/dist/edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs +523 -0
  8. package/dist/edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs +567 -0
  9. package/dist/{el-message-D28AReoi.mjs → el-message-FfNjxLv_.mjs} +26 -26
  10. package/dist/index-B5vmtcUk.mjs +528 -0
  11. package/dist/index-BCP5cBN6.mjs +486 -0
  12. package/dist/{index-Dimzx0Lh.mjs → index-BJl7xHYx.mjs} +119 -124
  13. package/dist/{index-BwhWFAEK.mjs → index-BlBkHqXR.mjs} +75 -89
  14. package/dist/index-CRHpl0qA.mjs +501 -0
  15. package/dist/index-CVbpEq7V.mjs +442 -0
  16. package/dist/{index-CXarOLFt.mjs → index-CdzhLCkX.mjs} +119 -124
  17. package/dist/index-DX1PURJy.mjs +624 -0
  18. package/dist/index-DY7ZV5kq.mjs +567 -0
  19. package/dist/index-Dld6YbIV.mjs +484 -0
  20. package/dist/index.mjs +764 -771
  21. package/dist/style.css +1 -1
  22. package/dts/api/dict.d.ts +9 -0
  23. package/dts/api/index.d.ts +4 -1
  24. package/dts/api/itsm-flow-acceptance/index.d.ts +4 -10
  25. package/dts/api/itsm-flow-acceptance/types.d.ts +17 -38
  26. package/dts/api/itsm-flow-entrust/index.d.ts +3 -0
  27. package/dts/api/itsm-flow-entrust/types.d.ts +2 -2
  28. package/dts/api/itsm-flow-entrust-user/types.d.ts +1 -3
  29. package/dts/api/itsm-flow-reckoning/index.d.ts +4 -10
  30. package/dts/api/itsm-flow-reckoning/types.d.ts +19 -31
  31. package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +28 -0
  32. package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +28 -0
  33. package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +28 -0
  34. package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +28 -0
  35. package/dts/index.d.ts +4 -0
  36. package/dts/lang/itsm-flow/zh-cn.d.ts +1 -17
  37. package/dts/utils/common.d.ts +2 -2
  38. package/dts/views/itsm-flow-entrust/edit.vue.d.ts +4 -4
  39. package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +4 -4
  40. package/package.json +1 -1
  41. package/dist/_commonjsHelpers-BVfed4GL.mjs +0 -28
  42. package/dist/edit.vue_vue_type_script_setup_true_lang-CApSv9W3.mjs +0 -589
  43. package/dist/edit.vue_vue_type_script_setup_true_lang-CVKTwRZs.mjs +0 -688
  44. package/dist/edit.vue_vue_type_script_setup_true_lang-DlKz97iK.mjs +0 -656
  45. package/dist/index-BZGkoyv9.mjs +0 -68
  46. package/dist/index-CMOEnYG7.mjs +0 -21
  47. package/dist/index-Clg5YSzX.mjs +0 -598
  48. package/dist/index-CwnMo6nD.mjs +0 -1651
  49. package/dist/index-DDwNGNtf.mjs +0 -558
  50. package/dist/index-qOQQkVw8.mjs +0 -345
@@ -1,25 +1,23 @@
1
- import { defineComponent as W, ref as F, reactive as R, resolveComponent as i, resolveDirective as X, openBlock as p, createElementBlock as I, createElementVNode as g, createVNode as o, withCtx as l, withKeys as N, unref as a, createTextVNode as f, toDisplayString as u, withDirectives as k, createBlock as V, isRef as S, createCommentVNode as j } from "vue";
1
+ import { defineComponent as W, ref as h, reactive as R, resolveComponent as i, resolveDirective as X, openBlock as c, createElementBlock as $, createElementVNode as w, createVNode as o, withCtx as l, withKeys as _, unref as a, createTextVNode as b, toDisplayString as u, withDirectives as F, createBlock as I, isRef as S, createCommentVNode as j } from "vue";
2
2
  import { useTableHooks as Y } from "jmash-core";
3
3
  import { useI18n as Z } from "vue-i18n";
4
- import { i as x } from "./index-qOQQkVw8.mjs";
5
- import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-DlKz97iK.mjs";
6
- import { D as c } from "./index-BZGkoyv9.mjs";
7
- const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ne = ["onClick"], pe = /* @__PURE__ */ W({
4
+ import { C as x, a as ee, D as p } from "./index-DY7ZV5kq.mjs";
5
+ import { _ as te } from "./edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs";
6
+ const le = { class: "app-container" }, oe = { class: "search-container" }, ne = ["onClick"], ae = ["onClick"], pe = /* @__PURE__ */ W({
8
7
  __name: "index",
9
- setup(ae) {
10
- const { t: v } = Z(), r = F({
11
- hasApplyStatus: !0,
12
- applyStatus: "DRAFT"
8
+ setup(re) {
9
+ const { t: g } = Z(), r = h({
10
+ applyStatus: x.applyStatus.draft
13
11
  }), {
14
12
  tableHooks: s,
15
13
  multipleTableRef: O,
16
- queryFormRef: T,
17
- listLoading: z,
14
+ queryFormRef: z,
15
+ listLoading: T,
18
16
  tableData: U,
19
17
  total: C
20
- } = Y(v, x, r);
21
- c.orgIdBizDict.useValues(), c.parentIdBizDict.useValues();
22
- let w = F([
18
+ } = Y(g, ee, r);
19
+ p.orgIdBizDict.useValues(), p.parentIdBizDict.useValues();
20
+ let f = h([
23
21
  {
24
22
  label: "itsmFlowEntrust.contractId",
25
23
  prop: "contractName",
@@ -37,7 +35,8 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
37
35
  prop: "entrustName",
38
36
  isColumn: !0,
39
37
  slotName: "entrustName",
40
- columnType: "slot"
38
+ columnType: "slot",
39
+ width: "150"
41
40
  },
42
41
  {
43
42
  label: "itsmFlowEntrust.entrustItsmId",
@@ -78,30 +77,29 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
78
77
  {
79
78
  label: "itsmFlowEntrust.workContent",
80
79
  prop: "workContent",
81
- width: "150",
82
80
  isColumn: !0
83
81
  },
84
82
  {
85
83
  label: "common.operate",
86
- width: "200",
84
+ width: "150",
87
85
  slotName: "operation",
88
86
  columnType: "slot",
89
87
  fixed: "right",
90
88
  isColumn: !0
91
89
  }
92
90
  ]);
93
- const m = F({
94
- title: v("common.edit"),
91
+ const m = h({
92
+ title: g("common.edit"),
95
93
  visible: !1
96
94
  });
97
- let E = R({});
98
- function P() {
99
- E = R({}), m.value.title = v("common.add"), m.value.visible = !0;
100
- }
101
- function q(n) {
102
- E.entrustId = n.entrustId, m.value.title = v("common.edit"), m.value.visible = !0;
95
+ let y = R({});
96
+ function q() {
97
+ y = R({}), m.value.title = g("common.add"), m.value.visible = !0;
103
98
  }
104
99
  function B(n) {
100
+ y = { ...n }, m.value.title = g("common.edit"), m.value.visible = !0;
101
+ }
102
+ function P(n) {
105
103
  s.selectionRows.value = n;
106
104
  }
107
105
  function K(n) {
@@ -111,12 +109,12 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
111
109
  n && s.getList();
112
110
  }
113
111
  return s.getList(), (n, t) => {
114
- const $ = i("el-input"), b = i("el-form-item"), d = i("el-col"), L = i("jmash-select"), y = i("el-button"), D = i("el-row"), A = i("el-form"), H = i("jmash-column-select"), G = i("jmash-table"), J = i("jmash-pagination"), M = i("el-card"), _ = X("hasPerm");
115
- return p(), I("div", te, [
116
- g("div", le, [
112
+ const N = i("el-input"), v = i("el-form-item"), d = i("el-col"), L = i("jmash-select"), V = i("el-button"), D = i("el-row"), A = i("el-form"), H = i("jmash-column-select"), G = i("jmash-table"), J = i("jmash-pagination"), M = i("el-card"), k = X("hasPerm");
113
+ return c(), $("div", le, [
114
+ w("div", oe, [
117
115
  o(A, {
118
116
  ref_key: "queryFormRef",
119
- ref: T,
117
+ ref: z,
120
118
  model: r.value,
121
119
  inline: !0
122
120
  }, {
@@ -125,16 +123,16 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
125
123
  default: l(() => [
126
124
  o(d, { span: 6 }, {
127
125
  default: l(() => [
128
- o(b, {
126
+ o(v, {
129
127
  label: n.$t("itsmFlowEntrust.contractId"),
130
128
  prop: "likeContractName"
131
129
  }, {
132
130
  default: l(() => [
133
- o($, {
131
+ o(N, {
134
132
  modelValue: r.value.likeContractName,
135
133
  "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
136
134
  placeholder: n.$t("itsmFlowEntrust.contractNameRequired"),
137
- onKeyup: t[1] || (t[1] = N((e) => a(s).handleQuery(), ["enter"])),
135
+ onKeyup: t[1] || (t[1] = _((e) => a(s).handleQuery(), ["enter"])),
138
136
  class: "!w-[203px]"
139
137
  }, null, 8, ["modelValue", "placeholder"])
140
138
  ]),
@@ -145,16 +143,16 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
145
143
  }),
146
144
  o(d, { span: 6 }, {
147
145
  default: l(() => [
148
- o(b, {
146
+ o(v, {
149
147
  label: n.$t("itsmFlowEntrust.contractNo"),
150
148
  prop: "likeContractNo"
151
149
  }, {
152
150
  default: l(() => [
153
- o($, {
151
+ o(N, {
154
152
  modelValue: r.value.likeContractNo,
155
153
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
156
154
  placeholder: n.$t("itsmFlowEntrust.contractNoRequired"),
157
- onKeyup: t[3] || (t[3] = N((e) => a(s).handleQuery(), ["enter"])),
155
+ onKeyup: t[3] || (t[3] = _((e) => a(s).handleQuery(), ["enter"])),
158
156
  class: "!w-[203px]"
159
157
  }, null, 8, ["modelValue", "placeholder"])
160
158
  ]),
@@ -165,7 +163,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
165
163
  }),
166
164
  o(d, { span: 6 }, {
167
165
  default: l(() => [
168
- o(b, {
166
+ o(v, {
169
167
  label: n.$t("itsmFlowEntrust.serviceContent"),
170
168
  prop: "serviceContent"
171
169
  }, {
@@ -174,10 +172,10 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
174
172
  modelValue: r.value.serviceContent,
175
173
  "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.serviceContent = e),
176
174
  placeholder: n.$t("itsmFlowEntrust.serviceContentRequired"),
177
- data: a(c).serviceContentEnum.values,
175
+ data: a(p).serviceContentEnum.values,
178
176
  clearable: "",
179
177
  filterable: "",
180
- onKeyup: t[5] || (t[5] = N((e) => a(s).handleQuery(), ["enter"])),
178
+ onKeyup: t[5] || (t[5] = _((e) => a(s).handleQuery(), ["enter"])),
181
179
  class: "!w-[203px]"
182
180
  }, null, 8, ["modelValue", "placeholder", "data"])
183
181
  ]),
@@ -188,16 +186,16 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
188
186
  }),
189
187
  o(d, { span: 6 }, {
190
188
  default: l(() => [
191
- o(b, {
189
+ o(v, {
192
190
  label: n.$t("itsmFlowEntrust.orderNo"),
193
191
  prop: "orderNo"
194
192
  }, {
195
193
  default: l(() => [
196
- o($, {
194
+ o(N, {
197
195
  modelValue: r.value.orderNo,
198
196
  "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.orderNo = e),
199
197
  placeholder: n.$t("itsmFlowEntrust.orderNoRequireds"),
200
- onKeyup: t[7] || (t[7] = N((e) => a(s).handleQuery(), ["enter"])),
198
+ onKeyup: t[7] || (t[7] = _((e) => a(s).handleQuery(), ["enter"])),
201
199
  class: "!w-[203px]"
202
200
  }, null, 8, ["modelValue", "placeholder"])
203
201
  ]),
@@ -208,22 +206,22 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
208
206
  }),
209
207
  o(d, { span: 24 }, {
210
208
  default: l(() => [
211
- o(b, { class: "search-btn" }, {
209
+ o(v, { class: "search-btn" }, {
212
210
  default: l(() => [
213
- o(y, {
211
+ o(V, {
214
212
  type: "primary",
215
213
  onClick: t[8] || (t[8] = (e) => a(s).handleQuery())
216
214
  }, {
217
215
  default: l(() => [
218
- f(u(n.$t("common.search")), 1)
216
+ b(u(n.$t("common.search")), 1)
219
217
  ]),
220
218
  _: 1
221
219
  }),
222
- o(y, {
220
+ o(V, {
223
221
  onClick: t[9] || (t[9] = (e) => a(s).resetQuery())
224
222
  }, {
225
223
  default: l(() => [
226
- f(u(n.$t("common.reset")), 1)
224
+ b(u(n.$t("common.reset")), 1)
227
225
  ]),
228
226
  _: 1
229
227
  })
@@ -249,16 +247,16 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
249
247
  default: l(() => [
250
248
  o(d, { span: 17 }, {
251
249
  default: l(() => [
252
- k((p(), V(y, {
250
+ F((c(), I(V, {
253
251
  type: "primary",
254
- onClick: P
252
+ onClick: q
255
253
  }, {
256
254
  default: l(() => [
257
- f(u(n.$t("common.add")), 1)
255
+ b(u(n.$t("common.add")), 1)
258
256
  ]),
259
257
  _: 1
260
258
  })), [
261
- [_, ["itsmflow:itsm_flow_entrust:add"]]
259
+ [k, ["itsmflow:itsm_flow_entrust:add"]]
262
260
  ])
263
261
  ]),
264
262
  _: 1
@@ -268,21 +266,9 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
268
266
  class: "container-float"
269
267
  }, {
270
268
  default: l(() => [
271
- k((p(), V(y, {
272
- plain: "",
273
- type: "primary",
274
- onClick: t[10] || (t[10] = (e) => a(s).handleExportPdf(a(v)("itsmFlowEntrust.name")))
275
- }, {
276
- default: l(() => [
277
- f(u(n.$t("common.print")), 1)
278
- ]),
279
- _: 1
280
- })), [
281
- [_, ["itsmflow:itsm_flow_entrust:print"]]
282
- ]),
283
269
  o(H, {
284
- modelValue: a(w),
285
- "onUpdate:modelValue": t[11] || (t[11] = (e) => S(w) ? w.value = e : w = e),
270
+ modelValue: a(f),
271
+ "onUpdate:modelValue": t[10] || (t[10] = (e) => S(f) ? f.value = e : f = e),
286
272
  "label-name": "itsm-flow-entrust"
287
273
  }, null, 8, ["modelValue"])
288
274
  ]),
@@ -293,15 +279,15 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
293
279
  })
294
280
  ]),
295
281
  footer: l(() => [
296
- a(C) > 0 ? (p(), V(J, {
282
+ a(C) > 0 ? (c(), I(J, {
297
283
  key: 0,
298
284
  total: a(C),
299
- "onUpdate:total": t[12] || (t[12] = (e) => S(C) ? C.value = e : null),
285
+ "onUpdate:total": t[11] || (t[11] = (e) => S(C) ? C.value = e : null),
300
286
  "current-page": r.value.curPage,
301
- "onUpdate:currentPage": t[13] || (t[13] = (e) => r.value.curPage = e),
287
+ "onUpdate:currentPage": t[12] || (t[12] = (e) => r.value.curPage = e),
302
288
  "page-size": r.value.pageSize,
303
- "onUpdate:pageSize": t[14] || (t[14] = (e) => r.value.pageSize = e),
304
- onPagination: t[15] || (t[15] = (e) => a(s).getList())
289
+ "onUpdate:pageSize": t[13] || (t[13] = (e) => r.value.pageSize = e),
290
+ onPagination: t[14] || (t[14] = (e) => a(s).getList())
305
291
  }, null, 8, ["total", "current-page", "page-size"])) : j("", !0)
306
292
  ]),
307
293
  default: l(() => [
@@ -309,42 +295,42 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
309
295
  ref_key: "multipleTableRef",
310
296
  ref: O,
311
297
  "row-key": "entrustId",
312
- "list-loading": a(z),
298
+ "list-loading": a(T),
313
299
  data: a(U),
314
- "table-label": a(w),
315
- onSelectionChange: B,
300
+ "table-label": a(f),
301
+ onSelectionChange: P,
316
302
  onSortChange: K
317
303
  }, {
318
304
  entrustName: l((e) => [
319
- g("span", null, u(a(c).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
305
+ w("span", null, u(a(p).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
320
306
  ]),
321
307
  belongOrgId: l((e) => [
322
- g("span", null, u(e.data.row.belongOrgId.split(",").map((h) => a(c).parentIdBizDict.getValue(h)).join(",")), 1)
308
+ w("span", null, u(e.data.row.belongOrgId.split(",").map((E) => a(p).parentIdBizDict.getValue(E)).join(",")), 1)
323
309
  ]),
324
310
  serviceContent: l((e) => [
325
- g("span", null, u(a(c).serviceContentEnum.getEnumValue(
311
+ w("span", null, u(a(p).serviceContentEnum.getEnumValue(
326
312
  e.data.row.serviceContent
327
313
  )), 1)
328
314
  ]),
329
315
  serviceOrg: l((e) => [
330
- g("span", null, u(a(c).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
316
+ w("span", null, u(a(p).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
331
317
  ]),
332
318
  operation: l((e) => [
333
- k((p(), I("span", {
319
+ F((c(), $("span", {
334
320
  class: "el-button-color",
335
- onClick: (h) => q(e.data.row)
321
+ onClick: (E) => B(e.data.row)
336
322
  }, [
337
- f(u(n.$t("common.edit")), 1)
338
- ], 8, oe)), [
339
- [_, ["itsmflow:itsm_flow_entrust:update"]]
323
+ b(u(n.$t("common.edit")), 1)
324
+ ], 8, ne)), [
325
+ [k, ["itsmflow:itsm_flow_entrust:update"]]
340
326
  ]),
341
- k((p(), I("span", {
327
+ F((c(), $("span", {
342
328
  class: "el-button-color dropdown-left",
343
- onClick: (h) => a(s).deleteRecord(e.data.row)
329
+ onClick: (E) => a(s).deleteRecord(e.data.row)
344
330
  }, [
345
- f(u(n.$t("common.delete")), 1)
346
- ], 8, ne)), [
347
- [_, ["itsmflow:itsm_flow_entrust:delete"]]
331
+ b(u(n.$t("common.delete")), 1)
332
+ ], 8, ae)), [
333
+ [k, ["itsmflow:itsm_flow_entrust:delete"]]
348
334
  ])
349
335
  ]),
350
336
  _: 1
@@ -352,12 +338,12 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
352
338
  ]),
353
339
  _: 1
354
340
  }),
355
- m.value.visible ? (p(), V(ee, {
341
+ m.value.visible ? (c(), I(te, {
356
342
  key: 0,
357
343
  modelValue: m.value.visible,
358
- "onUpdate:modelValue": t[16] || (t[16] = (e) => m.value.visible = e),
344
+ "onUpdate:modelValue": t[15] || (t[15] = (e) => m.value.visible = e),
359
345
  title: m.value.title,
360
- "entity-key": a(E),
346
+ "entity-key": a(y),
361
347
  onRefresh: Q,
362
348
  width: "900px"
363
349
  }, null, 8, ["modelValue", "title", "entity-key"])) : j("", !0)