xyvcard-mice 0.0.21 → 0.0.23

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 (45) hide show
  1. package/dist/{FileSaver.min-BRYgO6ft.mjs → FileSaver.min-DYQwX30o.mjs} +1 -1
  2. package/dist/{approveService-3beSWkE0.mjs → approveService-CzCxWE7J.mjs} +1 -1
  3. package/dist/{approveService.vue_vue_type_script_setup_true_lang-Kq-4r8WB.mjs → approveService.vue_vue_type_script_setup_true_lang-Da-KVF98.mjs} +1 -1
  4. package/dist/{edit-Csl9tfIA.mjs → edit-BPtvJT84.mjs} +1 -1
  5. package/dist/{edit-yPXm15G0.mjs → edit-DgVkazzI.mjs} +1 -1
  6. package/dist/{edit-DYf6RQ0M.mjs → edit-uPb5I-1a.mjs} +1 -1
  7. package/dist/{edit-0Vonbq4o.mjs → edit-uZ-S_oyZ.mjs} +1 -1
  8. package/dist/{edit-ZL6wW_oR.mjs → edit-x5HdN6LA.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-CpHX7f_2.mjs → edit.vue_vue_type_script_setup_true_lang-C4-5NR0V.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-B2DRRPC3.mjs → edit.vue_vue_type_script_setup_true_lang-CUAhqIhJ.mjs} +1 -1
  11. package/dist/{followUp-DIjSXuqW.mjs → followUp-C2dFHoL3.mjs} +1 -1
  12. package/dist/{followUp.vue_vue_type_script_setup_true_lang-DnRGct-T.mjs → followUp.vue_vue_type_script_setup_true_lang-DxP0TCcH.mjs} +1 -1
  13. package/dist/{import-upload-nIzO6H98.mjs → import-upload-BOa8X2fX.mjs} +1 -1
  14. package/dist/{import-upload.vue_vue_type_script_setup_true_lang-Bhw6YWo8.mjs → import-upload.vue_vue_type_script_setup_true_lang-Dj2WkaGJ.mjs} +1 -1
  15. package/dist/{index-BMgJIctd.mjs → index-3PPCuW43.mjs} +35 -35
  16. package/dist/{index-BAPxMBeL.mjs → index-5Bhv4TEr.mjs} +1 -1
  17. package/dist/{index-yM7QlYw5.mjs → index-Bcwu2jFa.mjs} +1 -1
  18. package/dist/{index-B9kalex_.mjs → index-BfcDzGt7.mjs} +2 -2
  19. package/dist/{index-DsgbKgdj.mjs → index-C9lT4UX0.mjs} +3 -3
  20. package/dist/{index-bbAKlmuN.mjs → index-CIS4rRLS.mjs} +237 -227
  21. package/dist/{index-dYBMjKkp.mjs → index-CLthQPZT.mjs} +3 -3
  22. package/dist/{index-JmlzyrlO.mjs → index-CiCzDVGX.mjs} +3 -3
  23. package/dist/index-CvB_Le0x.mjs +129 -0
  24. package/dist/{index-BQwFJZDg.mjs → index-DKGNzQOU.mjs} +174 -166
  25. package/dist/{index-B9LPzzmo.mjs → index-zepGdItV.mjs} +2 -2
  26. package/dist/index.mjs +1 -1
  27. package/dist/{info-vX76JGyN.mjs → info-B_2mZ4ep.mjs} +1 -1
  28. package/dist/{info-BJhbaeNT.mjs → info-CojEUTjM.mjs} +96 -92
  29. package/dist/{messageService-B-bA8CBa.mjs → messageService-DqdogPsB.mjs} +1 -1
  30. package/dist/{messageService.vue_vue_type_script_setup_true_lang-Cx0BVEPs.mjs → messageService.vue_vue_type_script_setup_true_lang-cfbib2vM.mjs} +1 -1
  31. package/dist/{participate-OZ-sXgNP.mjs → participate-De9_E7xc.mjs} +1 -1
  32. package/dist/{participate.vue_vue_type_script_setup_true_lang-9K4Zxo9Q.mjs → participate.vue_vue_type_script_setup_true_lang-F5sr3R49.mjs} +1 -1
  33. package/dist/{person-Cyes7ZjR.mjs → person-DWynP6HN.mjs} +1 -1
  34. package/dist/{person.vue_vue_type_script_setup_true_lang-Bh4H8RX5.mjs → person.vue_vue_type_script_setup_true_lang-BuNXZmzH.mjs} +1 -1
  35. package/dist/{sceneImg-B9JBNanG.mjs → sceneImg-MUGifSdS.mjs} +1 -1
  36. package/dist/{seatForm-C1Efm-DZ.mjs → seatForm-D_IqLNX5.mjs} +1 -1
  37. package/dist/{seatForm.vue_vue_type_script_setup_true_lang-BmJavMEY.mjs → seatForm.vue_vue_type_script_setup_true_lang-BzJ-q8W_.mjs} +55 -52
  38. package/dist/style.css +1 -1
  39. package/dts/api/mice/mice-seat/index.d.ts +2 -1
  40. package/dts/api/mice/mice-seat/types.d.ts +6 -0
  41. package/dts/constant.d.ts +1 -0
  42. package/dts/lang/mice/zh-cn.d.ts +1 -0
  43. package/dts/utils/index.d.ts +0 -1
  44. package/package.json +61 -61
  45. package/dist/index-DvYcHKz_.mjs +0 -133
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as ee, getCurrentInstance as te, ref as b, onActivated as oe, resolveComponent as m, resolveDirective as le, createElementBlock as g, openBlock as v, createElementVNode as r, createVNode as n, createBlock as $, createCommentVNode as I, withCtx as l, unref as a, withKeys as ne, createTextVNode as u, toDisplayString as s, withDirectives as x, vShow as A, isRef as ae } from "vue";
2
2
  import { useTableHooks as ie } from "jmash-core";
3
3
  import { useI18n as se } from "vue-i18n";
4
- import { D as c, m as re, a as ue } from "./index-bbAKlmuN.mjs";
5
- import { _ as me } from "./approveService.vue_vue_type_script_setup_true_lang-Kq-4r8WB.mjs";
6
- import { _ as de } from "./person.vue_vue_type_script_setup_true_lang-Bh4H8RX5.mjs";
4
+ import { D as c, m as re, a as ue } from "./index-CIS4rRLS.mjs";
5
+ import { _ as me } from "./approveService.vue_vue_type_script_setup_true_lang-Da-KVF98.mjs";
6
+ import { _ as de } from "./person.vue_vue_type_script_setup_true_lang-BuNXZmzH.mjs";
7
7
  const pe = { class: "app-container" }, ce = { class: "search-container dis_bottom" }, ve = { class: "total-num dis_bottom" }, be = { class: "blue_color" }, fe = { class: "blue_color" }, he = { class: "blue_color" }, ye = { class: "blue_color" }, Ce = { key: 0 }, we = ["onClick"], _e = ["onClick"], Se = /* @__PURE__ */ ee({
8
8
  __name: "index",
9
9
  setup(ge) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as oe, ref as $, reactive as E, onActivated as ae, resolveComponent as s, resolveDirective as ie, createElementBlock as g, openBlock as r, createElementVNode as I, createVNode as o, createBlock as _, createCommentVNode as x, withCtx as n, unref as a, withKeys as j, createTextVNode as p, toDisplayString as u, withDirectives as b, vShow as z, isRef as q } from "vue";
2
2
  import { useTableHooks as se } from "jmash-core";
3
3
  import { useI18n as de } from "vue-i18n";
4
- import { D as P, h as re, a as ue } from "./index-bbAKlmuN.mjs";
5
- import me from "./sceneImg-B9JBNanG.mjs";
6
- import { _ as ce } from "./edit.vue_vue_type_script_setup_true_lang-CpHX7f_2.mjs";
4
+ import { D as P, h as re, a as ue } from "./index-CIS4rRLS.mjs";
5
+ import me from "./sceneImg-MUGifSdS.mjs";
6
+ import { _ as ce } from "./edit.vue_vue_type_script_setup_true_lang-C4-5NR0V.mjs";
7
7
  const pe = { class: "app-container" }, be = { class: "search-container" }, ve = { key: 0 }, fe = ["onClick"], he = ["onClick"], we = ["onClick"], Ve = /* @__PURE__ */ oe({
8
8
  __name: "index",
9
9
  setup(ye) {
@@ -0,0 +1,129 @@
1
+ import { computed as z, defineComponent as B, ref as p, resolveComponent as f, createElementBlock as s, openBlock as a, createVNode as c, withCtx as i, createElementVNode as n, createTextVNode as I, toDisplayString as y, Fragment as L, renderList as b, unref as A, normalizeClass as C, normalizeStyle as U, createBlock as G, createCommentVNode as Y } from "vue";
2
+ import { useRouter as q, useRoute as H } from "vue-router";
3
+ import { useI18n as J } from "vue-i18n";
4
+ import { C as h, b as D } from "./index-CIS4rRLS.mjs";
5
+ import { _ as M } from "./seatForm.vue_vue_type_script_setup_true_lang-BzJ-q8W_.mjs";
6
+ import { routerUtil as R } from "jmash-core";
7
+ import { E as j } from "./el-message-DiV6bu85.mjs";
8
+ import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
+ const P = z(() => (r) => {
10
+ var _;
11
+ const u = (_ = r.find(
12
+ (e) => e[0].LayoutType !== h.LAYOUT_SETTING.Aisle_Horizontal
13
+ )) == null ? void 0 : _.filter(
14
+ (e) => e.LayoutType === h.LAYOUT_SETTING.Aisle_Vertical
15
+ ).length, d = r[0].length - u;
16
+ return `width: ${u * 30 + d * 80 + (r[0].length - 1) * 15}px`;
17
+ }), W = { class: "app-container" }, K = { class: "flex justify-between mb-2" }, Q = {
18
+ class: "flex items-center",
19
+ style: { "margin-left": "auto" }
20
+ }, X = { class: "ml-2" }, Z = {
21
+ class: "seating-grid",
22
+ ref: "seatingGrid"
23
+ }, ee = ["data-type"], te = ["onClick"], ae = /* @__PURE__ */ B({
24
+ __name: "index",
25
+ setup(r) {
26
+ const u = q(), d = H(), { t: _ } = J(), e = p({
27
+ row: 0,
28
+ col: 0
29
+ }), l = p([]), T = p({}), $ = (t, v) => {
30
+ e.value.row = t, e.value.col = v, T.value = l.value[t][v];
31
+ };
32
+ function x(t) {
33
+ l.value[e.value.row][e.value.col] = t, D.save({
34
+ ...k.value,
35
+ requestId: Math.random() * 10 + "",
36
+ seatData: JSON.stringify(l.value)
37
+ }).then((v) => {
38
+ j.success(_("miceSeat.seatOccupySuccess"));
39
+ });
40
+ }
41
+ const k = p({});
42
+ D.findById({
43
+ exhibitionId: d.query.exhibitionId
44
+ }).then((t) => {
45
+ l.value = JSON.parse(t.data.seatData), T.value = l.value[e.value.row][e.value.col], k.value = t.data;
46
+ });
47
+ function E() {
48
+ R.closeTagView(d.fullPath, u, !1);
49
+ }
50
+ return (t, v) => {
51
+ const w = f("el-button"), N = f("el-col"), O = f("el-row"), V = f("el-card");
52
+ return a(), s("div", W, [
53
+ c(V, {
54
+ shadow: "never",
55
+ class: "table-container"
56
+ }, {
57
+ default: i(() => [
58
+ n("div", K, [
59
+ c(w, {
60
+ type: "primary",
61
+ onClick: E
62
+ }, {
63
+ default: i(() => [
64
+ I(y(t.$t("common.back")), 1)
65
+ ]),
66
+ _: 1
67
+ }),
68
+ n("div", Q, [
69
+ (a(!0), s(L, null, b(A(h).SEAT_STATUS, (o) => (a(), s("div", {
70
+ key: o.key,
71
+ class: "flex ml-2 items-center"
72
+ }, [
73
+ n("div", {
74
+ class: C(`status-dot ${o.key}`)
75
+ }, null, 2),
76
+ n("div", X, y(o.value), 1)
77
+ ]))), 128))
78
+ ])
79
+ ]),
80
+ c(O, null, {
81
+ default: i(() => [
82
+ c(N, { span: 18 }, {
83
+ default: i(() => [
84
+ n("div", Z, [
85
+ (a(!0), s(L, null, b(l.value, (o, S) => (a(), s("div", {
86
+ key: S,
87
+ class: "seat-row"
88
+ }, [
89
+ o[0].LayoutType === A(h).LAYOUT_SETTING.Aisle_Horizontal ? (a(), s("div", {
90
+ key: 0,
91
+ class: C(`seat ${o[0].LayoutType}`),
92
+ "data-type": o[0].LayoutType,
93
+ style: U(A(P)(l.value))
94
+ }, " 过道 ", 14, ee)) : (a(!0), s(L, { key: 1 }, b(o, (m, g) => (a(), s("div", {
95
+ key: g,
96
+ class: C(`seat ${m.seatStatus} ${m.LayoutType} ${e.value.row === S && e.value.col === g ? "active" : ""}`),
97
+ onClick: (oe) => $(S, g)
98
+ }, [
99
+ n("div", null, y(m.seatNum), 1),
100
+ n("div", null, y(m.user), 1)
101
+ ], 10, te))), 128))
102
+ ]))), 128))
103
+ ], 512)
104
+ ]),
105
+ _: 1
106
+ }),
107
+ c(N, { span: 6 }, {
108
+ default: i(() => [
109
+ k.value.seatData ? (a(), G(M, {
110
+ key: e.value.row + e.value.col,
111
+ activeData: T.value,
112
+ onSubmit: x
113
+ }, null, 8, ["activeData"])) : Y("", !0)
114
+ ]),
115
+ _: 1
116
+ })
117
+ ]),
118
+ _: 1
119
+ })
120
+ ]),
121
+ _: 1
122
+ })
123
+ ]);
124
+ };
125
+ }
126
+ }), _e = /* @__PURE__ */ F(ae, [["__scopeId", "data-v-55330958"]]);
127
+ export {
128
+ _e as default
129
+ };