xyvcard-itsm-flow 0.0.15 → 0.0.16

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 (40) hide show
  1. package/dist/{edit-C5EkvsBj.mjs → edit-BKYkA5db.mjs} +1 -1
  2. package/dist/{edit-CF3xSSyv.mjs → edit-BeFLJLv1.mjs} +1 -1
  3. package/dist/{edit-Rj9Uz_7E.mjs → edit-BrIptvPg.mjs} +1 -1
  4. package/dist/{edit.vue_vue_type_script_setup_true_lang-CXXUyaL0.mjs → edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs} +9 -8
  5. package/dist/{edit.vue_vue_type_script_setup_true_lang-D1aLFtH6.mjs → edit.vue_vue_type_script_setup_true_lang-BiWjf5y2.mjs} +29 -28
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-CMBByn6f.mjs → edit.vue_vue_type_script_setup_true_lang-CjjtZ0-a.mjs} +8 -7
  7. package/dist/{el-message-DweX1k3E.mjs → el-message-DawVzOVQ.mjs} +25 -25
  8. package/dist/{index-DkosMJpy.mjs → index-B7M3zSyM.mjs} +2 -2
  9. package/dist/{index-_KUj3xRY.mjs → index-B7xhs2Eg.mjs} +5 -4
  10. package/dist/{index-BvRC1w8b.mjs → index-B9enSHLF.mjs} +36 -35
  11. package/dist/index-BcD1DAF_.mjs +339 -0
  12. package/dist/{index-tRvxeQdk.mjs → index-C0CZrR-1.mjs} +2 -2
  13. package/dist/{index-DukVUjy5.mjs → index-CZw5m3rz.mjs} +17 -16
  14. package/dist/{index-VuC-5Jb_.mjs → index-Clc9EA6r.mjs} +5 -4
  15. package/dist/index-DTKFEGFs.mjs +339 -0
  16. package/dist/index-DVDOqO_3.mjs +491 -0
  17. package/dist/{index-D8N9GIjm.mjs → index-DY017z-s.mjs} +2 -2
  18. package/dist/{index-CWrGwJD5.mjs → index-IG9HKXxJ.mjs} +9 -8
  19. package/dist/index-PafaMNgK.mjs +110 -0
  20. package/dist/{index-ciUtLvg7.mjs → index-d_oBTW1A.mjs} +9 -8
  21. package/dist/index-rnfNatQ1.mjs +315 -0
  22. package/dist/index.mjs +232 -228
  23. package/dist/info-CFSSXb0f.mjs +4 -0
  24. package/dist/info-D6GMiIlG.mjs +4 -0
  25. package/dist/info-DxYNokk4.mjs +4 -0
  26. package/dist/info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs +373 -0
  27. package/dist/info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs +363 -0
  28. package/dist/info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs +393 -0
  29. package/dts/api/index.d.ts +1 -0
  30. package/dts/api/itsm-flow-acceptance/types.d.ts +1 -0
  31. package/dts/constant.d.ts +1 -0
  32. package/dts/lang/itsm-flow/zh-cn.d.ts +4 -0
  33. package/dts/views/itsm-flow-acceptance-info/index.vue.d.ts +2 -0
  34. package/dts/views/itsm-flow-acceptance-info/info.vue.d.ts +26 -0
  35. package/dts/views/itsm-flow-entrust-info/index.vue.d.ts +2 -0
  36. package/dts/views/itsm-flow-entrust-info/info.vue.d.ts +26 -0
  37. package/dts/views/itsm-flow-reckoning-info/index.vue.d.ts +2 -0
  38. package/dts/views/itsm-flow-reckoning-info/info.vue.d.ts +26 -0
  39. package/package.json +1 -1
  40. package/dist/index-CMpeLVvR.mjs +0 -593
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,373 @@
1
+ import { defineComponent as K, mergeModels as O, ref as F, useModel as A, computed as P, resolveComponent as p, createBlock as j, openBlock as b, withCtx as t, createVNode as e, createElementVNode as n, createTextVNode as a, toDisplayString as s, unref as v, createElementBlock as w, createCommentVNode as M, withDirectives as $, vShow as E } from "vue";
2
+ import "element-plus";
3
+ import { i as z, t as L, a as S } from "./common-Cwl5jzlM.mjs";
4
+ import { D as g, b as q } from "./index-DVDOqO_3.mjs";
5
+ const T = { key: 0 }, G = { key: 1 }, H = {
6
+ key: 2,
7
+ class: "distance-left"
8
+ }, Y = /* @__PURE__ */ K({
9
+ __name: "info",
10
+ props: /* @__PURE__ */ O({
11
+ entityKey: {
12
+ type: Object,
13
+ default: () => {
14
+ }
15
+ }
16
+ }, {
17
+ modelValue: { type: Boolean },
18
+ modelModifiers: {}
19
+ }),
20
+ emits: ["update:modelValue"],
21
+ setup(k) {
22
+ const I = F(), f = A(k, "modelValue"), r = F({}), _ = k;
23
+ g.orgIdBizDict.useValues();
24
+ const R = P(() => (r.value.entrustUser || []).map((l) => ({
25
+ cost: typeof l.cost == "number" ? l.cost : 0,
26
+ duration: typeof l.duration == "number" ? l.duration : 0
27
+ })));
28
+ function y(l) {
29
+ l.mobileEncrypt = !l.mobileEncrypt;
30
+ }
31
+ function V() {
32
+ q.findList({ actionId: _.entityKey.reckoningId }).then(({ data: l }) => {
33
+ r.value.entrustUser = [], l.results.forEach((i) => {
34
+ i.actionId == _.entityKey.reckoningId && r.value.entrustUser.push({
35
+ ...i,
36
+ duration: typeof i.duration == "string" ? parseFloat(i.duration.trim()) : 0
37
+ });
38
+ });
39
+ });
40
+ }
41
+ _.entityKey.reckoningId && (z.findById({ reckoningId: _.entityKey.reckoningId }).then(async ({ data: l }) => {
42
+ r.value = Object.assign(r.value, l);
43
+ }), V());
44
+ function C() {
45
+ f.value && (f.value = !1);
46
+ }
47
+ return (l, i) => {
48
+ const u = p("el-col"), c = p("el-form-item"), d = p("el-row"), m = p("el-table-column"), N = p("svg-icon"), U = p("el-table"), D = p("el-form"), h = p("el-dialog");
49
+ return b(), j(h, {
50
+ modelValue: f.value,
51
+ "onUpdate:modelValue": i[0] || (i[0] = (o) => f.value = o),
52
+ onClose: C
53
+ }, {
54
+ default: t(() => [
55
+ e(u, { span: 24 }, {
56
+ default: t(() => i[1] || (i[1] = [
57
+ n("div", { class: "title" }, "委托服务合同结算清单", -1)
58
+ ])),
59
+ _: 1,
60
+ __: [1]
61
+ }),
62
+ e(D, {
63
+ ref_key: "itsmFlowReckoningFormRef",
64
+ ref: I,
65
+ "label-width": "150px",
66
+ class: "custom-table-form custom-form"
67
+ }, {
68
+ default: t(() => [
69
+ e(d, null, {
70
+ default: t(() => [
71
+ e(u, { span: 24 }, {
72
+ default: t(() => [
73
+ e(c, {
74
+ label: l.$t("itsmFlowReckoning.contractName"),
75
+ prop: "contractName"
76
+ }, {
77
+ default: t(() => [
78
+ a(s(r.value.contractName), 1)
79
+ ]),
80
+ _: 1
81
+ }, 8, ["label"])
82
+ ]),
83
+ _: 1
84
+ })
85
+ ]),
86
+ _: 1
87
+ }),
88
+ e(d, null, {
89
+ default: t(() => [
90
+ e(u, { span: 24 }, {
91
+ default: t(() => [
92
+ e(c, {
93
+ label: l.$t("itsmFlowReckoning.contractNo"),
94
+ prop: "contractNo"
95
+ }, {
96
+ default: t(() => [
97
+ a(s(r.value.contractNo), 1)
98
+ ]),
99
+ _: 1
100
+ }, 8, ["label"])
101
+ ]),
102
+ _: 1
103
+ })
104
+ ]),
105
+ _: 1
106
+ }),
107
+ e(d, null, {
108
+ default: t(() => [
109
+ e(u, { span: 24 }, {
110
+ default: t(() => [
111
+ e(c, {
112
+ label: l.$t("itsmFlowReckoning.entrustName"),
113
+ prop: "entrustName"
114
+ }, {
115
+ default: t(() => [
116
+ a(s(v(g).projectNameDict.getDictValue(r.value.entrustName)), 1)
117
+ ]),
118
+ _: 1
119
+ }, 8, ["label"])
120
+ ]),
121
+ _: 1
122
+ })
123
+ ]),
124
+ _: 1
125
+ }),
126
+ e(d, null, {
127
+ default: t(() => [
128
+ e(u, { span: 24 }, {
129
+ default: t(() => [
130
+ e(c, {
131
+ label: l.$t("itsmFlowReckoning.serviceOrg"),
132
+ prop: "serviceOrg"
133
+ }, {
134
+ default: t(() => [
135
+ a(s(v(g).orgIdBizDict.getValue(r.value.serviceOrg)), 1)
136
+ ]),
137
+ _: 1
138
+ }, 8, ["label"])
139
+ ]),
140
+ _: 1
141
+ })
142
+ ]),
143
+ _: 1
144
+ }),
145
+ e(d, null, {
146
+ default: t(() => [
147
+ e(u, { span: 24 }, {
148
+ default: t(() => [
149
+ e(c, {
150
+ label: l.$t("itsmFlowReckoning.acceptanceNo"),
151
+ prop: "acceptanceNo"
152
+ }, {
153
+ default: t(() => [
154
+ a(s(r.value.acceptanceNo), 1)
155
+ ]),
156
+ _: 1
157
+ }, 8, ["label"])
158
+ ]),
159
+ _: 1
160
+ })
161
+ ]),
162
+ _: 1
163
+ }),
164
+ e(d, null, {
165
+ default: t(() => [
166
+ e(u, { span: 24 }, {
167
+ default: t(() => [
168
+ e(c, {
169
+ label: l.$t("itsmFlowReckoning.orderNo"),
170
+ prop: "orderNo"
171
+ }, {
172
+ default: t(() => [
173
+ a(s(r.value.orderNo), 1)
174
+ ]),
175
+ _: 1
176
+ }, 8, ["label"])
177
+ ]),
178
+ _: 1
179
+ })
180
+ ]),
181
+ _: 1
182
+ }),
183
+ e(d, null, {
184
+ default: t(() => [
185
+ e(u, { span: 24 }, {
186
+ default: t(() => [
187
+ e(c, {
188
+ label: l.$t("itsmFlowReckoning.reckoningNo"),
189
+ prop: "reckoningNo"
190
+ }, {
191
+ default: t(() => [
192
+ a(s(r.value.reckoningNo), 1)
193
+ ]),
194
+ _: 1
195
+ }, 8, ["label"])
196
+ ]),
197
+ _: 1
198
+ })
199
+ ]),
200
+ _: 1
201
+ }),
202
+ e(d, null, {
203
+ default: t(() => [
204
+ e(u, { span: 24 }, {
205
+ default: t(() => [
206
+ e(c, {
207
+ label: l.$t("itsmFlowReckoning.serviceContent"),
208
+ prop: "serviceContent"
209
+ }, {
210
+ default: t(() => [
211
+ a(s(r.value.serviceContent), 1)
212
+ ]),
213
+ _: 1
214
+ }, 8, ["label"])
215
+ ]),
216
+ _: 1
217
+ })
218
+ ]),
219
+ _: 1
220
+ }),
221
+ e(d, null, {
222
+ default: t(() => [
223
+ e(u, { span: 24 }, {
224
+ default: t(() => [
225
+ e(U, {
226
+ stripe: "",
227
+ data: r.value.entrustUser,
228
+ style: { width: "100%" }
229
+ }, {
230
+ default: t(() => [
231
+ e(m, {
232
+ prop: "userId",
233
+ width: "120",
234
+ label: l.$t("itsmFlowEntrustUser.userId")
235
+ }, {
236
+ default: t((o) => [
237
+ a(s(o.row.userName), 1)
238
+ ]),
239
+ _: 1
240
+ }, 8, ["label"]),
241
+ e(m, {
242
+ prop: "idNo",
243
+ label: l.$t("itsmFlowEntrustUser.idNo")
244
+ }, {
245
+ default: t((o) => [
246
+ o.row.mobileEncrypt ? (b(), w("span", G, s(o.row.idNo), 1)) : (b(), w("span", T, s(o.row.idNoIns), 1)),
247
+ o.row.idNoIns ? (b(), w("span", H, [
248
+ $(e(N, {
249
+ "icon-class": "close-eye",
250
+ onClick: (B) => y(o.row)
251
+ }, null, 8, ["onClick"]), [
252
+ [E, !o.row.mobileEncrypt]
253
+ ]),
254
+ $(e(N, {
255
+ "icon-class": "eye-open",
256
+ onClick: (B) => y(o.row)
257
+ }, null, 8, ["onClick"]), [
258
+ [E, o.row.mobileEncrypt]
259
+ ])
260
+ ])) : M("", !0)
261
+ ]),
262
+ _: 1
263
+ }, 8, ["label"]),
264
+ e(m, {
265
+ prop: "cost",
266
+ label: l.$t("itsmFlowEntrustUser.cost")
267
+ }, {
268
+ default: t((o) => [
269
+ a(s(o.row.cost), 1)
270
+ ]),
271
+ _: 1
272
+ }, 8, ["label"]),
273
+ e(m, {
274
+ prop: "duration",
275
+ label: l.$t("itsmFlowEntrustUser.duration")
276
+ }, {
277
+ default: t((o) => [
278
+ a(s(o.row.duration) + "月 ", 1)
279
+ ]),
280
+ _: 1
281
+ }, 8, ["label"]),
282
+ e(m, {
283
+ prop: "totalAmount",
284
+ label: l.$t("itsmFlowReckoning.totalAmount")
285
+ }, {
286
+ default: t((o) => [
287
+ a(s(v(L)(o.row.cost, o.row.duration)), 1)
288
+ ]),
289
+ _: 1
290
+ }, 8, ["label"])
291
+ ]),
292
+ _: 1
293
+ }, 8, ["data"])
294
+ ]),
295
+ _: 1
296
+ })
297
+ ]),
298
+ _: 1
299
+ }),
300
+ e(u, {
301
+ span: 24,
302
+ class: "bordered-row"
303
+ }, {
304
+ default: t(() => [
305
+ e(c, {
306
+ label: l.$t("itsmFlowReckoning.totalPrice")
307
+ }, {
308
+ default: t(() => [
309
+ a(s(v(S)(R.value)) + "元 ", 1)
310
+ ]),
311
+ _: 1
312
+ }, 8, ["label"])
313
+ ]),
314
+ _: 1
315
+ }),
316
+ e(d, { class: "bordered-row" }, {
317
+ default: t(() => [
318
+ e(u, { span: 12 }, {
319
+ default: t(() => i[2] || (i[2] = [
320
+ n("div", { class: "content-box" }, [
321
+ n("div", { class: "content-box-top" }, [
322
+ n("div", null, "甲方单位(盖章)"),
323
+ n("div", null, "负责人(签字):"),
324
+ n("div", null, "或授权代理人(签字):")
325
+ ]),
326
+ n("div", { class: "content-box-bottom" }, [
327
+ a(" 日期: "),
328
+ n("span", null, "年"),
329
+ n("span", null, "月"),
330
+ n("span", null, "日")
331
+ ])
332
+ ], -1)
333
+ ])),
334
+ _: 1,
335
+ __: [2]
336
+ }),
337
+ e(u, {
338
+ span: 12,
339
+ class: "with-divider"
340
+ }, {
341
+ default: t(() => i[3] || (i[3] = [
342
+ n("div", { class: "content-box" }, [
343
+ n("div", { class: "content-box-top" }, [
344
+ n("div", null, "服务人员所属单位(盖章)"),
345
+ n("div", null, "法定代表人(签字):"),
346
+ n("div", null, "或授权代理人(签字):")
347
+ ]),
348
+ n("div", { class: "content-box-bottom" }, [
349
+ a(" 日期: "),
350
+ n("span", null, "年"),
351
+ n("span", null, "月"),
352
+ n("span", null, "日")
353
+ ])
354
+ ], -1)
355
+ ])),
356
+ _: 1,
357
+ __: [3]
358
+ })
359
+ ]),
360
+ _: 1
361
+ })
362
+ ]),
363
+ _: 1
364
+ }, 512)
365
+ ]),
366
+ _: 1
367
+ }, 8, ["modelValue"]);
368
+ };
369
+ }
370
+ });
371
+ export {
372
+ Y as _
373
+ };