xyvcard-mice 0.0.13

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 (154) hide show
  1. package/README.md +51 -0
  2. package/dist/FileSaver.min-CmjlTwVt.mjs +74 -0
  3. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  4. package/dist/approveService-DFp2ijJy.mjs +4 -0
  5. package/dist/approveService.vue_vue_type_script_setup_true_lang-KzRMsttm.mjs +283 -0
  6. package/dist/edit-7sE0XaBi.mjs +410 -0
  7. package/dist/edit-CbbevYGx.mjs +4 -0
  8. package/dist/edit-b9PRQzRS.mjs +4 -0
  9. package/dist/edit-fPI55jXC.mjs +579 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-D0Nqa2bP.mjs +273 -0
  11. package/dist/edit.vue_vue_type_script_setup_true_lang-DotTc09A.mjs +254 -0
  12. package/dist/el-message-Caaw7K1f.mjs +1325 -0
  13. package/dist/followUp-nN7A0lxv.mjs +4 -0
  14. package/dist/followUp.vue_vue_type_script_setup_true_lang-DjFGJDzS.mjs +154 -0
  15. package/dist/import-upload-C9ABKqe1.mjs +4 -0
  16. package/dist/import-upload.vue_vue_type_script_setup_true_lang-CY9PFlyT.mjs +165 -0
  17. package/dist/index-7QjBo_jH.mjs +407 -0
  18. package/dist/index-AjM-q7jB.mjs +109 -0
  19. package/dist/index-BNGUrhRw.mjs +252 -0
  20. package/dist/index-BvFfmgmS.mjs +593 -0
  21. package/dist/index-BwP561cB.mjs +606 -0
  22. package/dist/index-CF-muhMY.mjs +39 -0
  23. package/dist/index-ChiDnr1z.mjs +219 -0
  24. package/dist/index-D4nQUK6i.mjs +390 -0
  25. package/dist/index-DW53j6oI.mjs +1399 -0
  26. package/dist/index-DncaFXpq.mjs +91 -0
  27. package/dist/index-DtXdMppy.mjs +389 -0
  28. package/dist/index-DyDc8SDs.mjs +367 -0
  29. package/dist/index-k_G14nVB.mjs +430 -0
  30. package/dist/index.mjs +3255 -0
  31. package/dist/info-CwQWXxCd.mjs +44338 -0
  32. package/dist/messageService-DcjfGPWd.mjs +4 -0
  33. package/dist/messageService.vue_vue_type_script_setup_true_lang-DKYd-Ltd.mjs +116 -0
  34. package/dist/participate-DFimK-_Z.mjs +4 -0
  35. package/dist/participate.vue_vue_type_script_setup_true_lang-BEt7KrWi.mjs +222 -0
  36. package/dist/person-DbLDv0kO.mjs +4 -0
  37. package/dist/person.vue_vue_type_script_setup_true_lang-DgPSCjsa.mjs +124 -0
  38. package/dist/sceneImg-CwChuyfc.mjs +53 -0
  39. package/dist/style.css +1 -0
  40. package/dts/App.vue.d.ts +2 -0
  41. package/dts/api/mice/cms-site/index.d.ts +9 -0
  42. package/dts/api/mice/cms-site/types.d.ts +20 -0
  43. package/dts/api/mice/cms-site-filing/index.d.ts +8 -0
  44. package/dts/api/mice/cms-site-filing/types.d.ts +18 -0
  45. package/dts/api/mice/concern/index.d.ts +10 -0
  46. package/dts/api/mice/concern/types.d.ts +60 -0
  47. package/dts/api/mice/dict.d.ts +22 -0
  48. package/dts/api/mice/enroll/index.d.ts +12 -0
  49. package/dts/api/mice/enroll/types.d.ts +60 -0
  50. package/dts/api/mice/exhibition/index.d.ts +18 -0
  51. package/dts/api/mice/exhibition/types.d.ts +135 -0
  52. package/dts/api/mice/exhibitor/index.d.ts +11 -0
  53. package/dts/api/mice/exhibitor/types.d.ts +45 -0
  54. package/dts/api/mice/guest/index.d.ts +20 -0
  55. package/dts/api/mice/guest/types.d.ts +97 -0
  56. package/dts/api/mice/index.d.ts +17 -0
  57. package/dts/api/mice/scene/index.d.ts +16 -0
  58. package/dts/api/mice/scene/types.d.ts +67 -0
  59. package/dts/api/mice/ticket/index.d.ts +9 -0
  60. package/dts/api/mice/ticket/types.d.ts +34 -0
  61. package/dts/api/mice/ticketType/index.d.ts +15 -0
  62. package/dts/api/mice/ticketType/types.d.ts +67 -0
  63. package/dts/assets/components/icon-advanced.vue.d.ts +2 -0
  64. package/dts/assets/components/icon-cadre.vue.d.ts +2 -0
  65. package/dts/assets/components/icon-dynamic-role.vue.d.ts +2 -0
  66. package/dts/assets/components/icon-female.vue.d.ts +2 -0
  67. package/dts/assets/components/icon-help-person.vue.d.ts +2 -0
  68. package/dts/assets/components/icon-leader.vue.d.ts +2 -0
  69. package/dts/assets/components/icon-male.vue.d.ts +2 -0
  70. package/dts/assets/components/icon-member.vue.d.ts +2 -0
  71. package/dts/assets/components/icon-online.vue.d.ts +2 -0
  72. package/dts/assets/components/icon-volunteer-female.vue.d.ts +2 -0
  73. package/dts/assets/components/icon-volunteer.vue.d.ts +2 -0
  74. package/dts/assets/components/icon-worker.vue.d.ts +2 -0
  75. package/dts/assets/components/index.d.ts +12 -0
  76. package/dts/components/ReEcharts/index.vue.d.ts +37 -0
  77. package/dts/constant.d.ts +20 -0
  78. package/dts/index.d.ts +6 -0
  79. package/dts/lang/index.d.ts +1 -0
  80. package/dts/lang/mice/en.d.ts +107 -0
  81. package/dts/lang/mice/zh-cn.d.ts +199 -0
  82. package/dts/main.d.ts +6 -0
  83. package/dts/permission.d.ts +1 -0
  84. package/dts/router/index.d.ts +5 -0
  85. package/dts/src/App.vue.d.ts +2 -0
  86. package/dts/src/api/mice/cms-site/index.d.ts +9 -0
  87. package/dts/src/api/mice/cms-site/types.d.ts +42 -0
  88. package/dts/src/api/mice/cms-site-filing/index.d.ts +8 -0
  89. package/dts/src/api/mice/cms-site-filing/types.d.ts +29 -0
  90. package/dts/src/api/mice/concern/index.d.ts +9 -0
  91. package/dts/src/api/mice/concern/types.d.ts +46 -0
  92. package/dts/src/api/mice/dict.d.ts +22 -0
  93. package/dts/src/api/mice/enroll/index.d.ts +13 -0
  94. package/dts/src/api/mice/enroll/types.d.ts +58 -0
  95. package/dts/src/api/mice/exhibition/index.d.ts +16 -0
  96. package/dts/src/api/mice/exhibition/types.d.ts +112 -0
  97. package/dts/src/api/mice/exhibitor/index.d.ts +9 -0
  98. package/dts/src/api/mice/exhibitor/types.d.ts +35 -0
  99. package/dts/src/api/mice/guest/index.d.ts +20 -0
  100. package/dts/src/api/mice/guest/types.d.ts +101 -0
  101. package/dts/src/api/mice/index.d.ts +17 -0
  102. package/dts/src/api/mice/scene/index.d.ts +15 -0
  103. package/dts/src/api/mice/scene/types.d.ts +67 -0
  104. package/dts/src/api/mice/ticket/index.d.ts +16 -0
  105. package/dts/src/api/mice/ticket/types.d.ts +65 -0
  106. package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
  107. package/dts/src/constant.d.ts +20 -0
  108. package/dts/src/index.d.ts +6 -0
  109. package/dts/src/lang/index.d.ts +1 -0
  110. package/dts/src/lang/mice/en.d.ts +106 -0
  111. package/dts/src/lang/mice/zh-cn.d.ts +181 -0
  112. package/dts/src/main.d.ts +6 -0
  113. package/dts/src/permission.d.ts +1 -0
  114. package/dts/src/router/index.d.ts +4 -0
  115. package/dts/src/utils/momentPlugin.d.ts +5 -0
  116. package/dts/src/views/mice/concern/approveService.vue.d.ts +22 -0
  117. package/dts/src/views/mice/concern/index.vue.d.ts +2 -0
  118. package/dts/src/views/mice/enroll/index.vue.d.ts +2 -0
  119. package/dts/src/views/mice/exhibition/edit.vue.d.ts +22 -0
  120. package/dts/src/views/mice/exhibition/index.vue.d.ts +2 -0
  121. package/dts/src/views/mice/exhibition/info.vue.d.ts +2 -0
  122. package/dts/src/views/mice/exhibitor/index.vue.d.ts +2 -0
  123. package/dts/src/views/mice/exhibitor/participate.vue.d.ts +24 -0
  124. package/dts/src/views/mice/guest/edit.vue.d.ts +22 -0
  125. package/dts/src/views/mice/guest/followUp.vue.d.ts +23 -0
  126. package/dts/src/views/mice/guest/import-upload.vue.d.ts +31 -0
  127. package/dts/src/views/mice/guest/index.vue.d.ts +2 -0
  128. package/dts/src/views/mice/guest/messageService.vue.d.ts +22 -0
  129. package/dts/src/views/mice/scene/edit.vue.d.ts +22 -0
  130. package/dts/src/views/mice/scene/index.vue.d.ts +2 -0
  131. package/dts/src/views/mice/ticket/index.vue.d.ts +2 -0
  132. package/dts/tsconfig.tsbuildinfo +1 -0
  133. package/dts/utils/momentPlugin.d.ts +5 -0
  134. package/dts/views/mice/concern/approveService.vue.d.ts +22 -0
  135. package/dts/views/mice/concern/index.vue.d.ts +2 -0
  136. package/dts/views/mice/concern/person.vue.d.ts +22 -0
  137. package/dts/views/mice/enroll/index.vue.d.ts +2 -0
  138. package/dts/views/mice/exhibition/edit.vue.d.ts +22 -0
  139. package/dts/views/mice/exhibition/index.vue.d.ts +2 -0
  140. package/dts/views/mice/exhibition/info.vue.d.ts +2 -0
  141. package/dts/views/mice/exhibitor/index.vue.d.ts +2 -0
  142. package/dts/views/mice/exhibitor/participate.vue.d.ts +24 -0
  143. package/dts/views/mice/guest/edit.vue.d.ts +22 -0
  144. package/dts/views/mice/guest/followUp.vue.d.ts +32 -0
  145. package/dts/views/mice/guest/import-upload.vue.d.ts +31 -0
  146. package/dts/views/mice/guest/index.vue.d.ts +2 -0
  147. package/dts/views/mice/guest/messageService.vue.d.ts +22 -0
  148. package/dts/views/mice/scene/edit.vue.d.ts +22 -0
  149. package/dts/views/mice/scene/index.vue.d.ts +2 -0
  150. package/dts/views/mice/scene/sceneImg.vue.d.ts +18 -0
  151. package/dts/views/mice/ticket/index.vue.d.ts +2 -0
  152. package/dts/views/mice/ticketType/edit.vue.d.ts +31 -0
  153. package/dts/views/mice/ticketType/index.vue.d.ts +2 -0
  154. package/package.json +61 -0
@@ -0,0 +1,407 @@
1
+ import { defineComponent as ie, ref as $, getCurrentInstance as le, reactive as q, resolveComponent as s, resolveDirective as ne, openBlock as u, createElementBlock as f, createElementVNode as b, createVNode as l, withCtx as i, unref as n, withKeys as I, createTextVNode as m, toDisplayString as a, withDirectives as h, createBlock as E, isRef as A, createCommentVNode as _, vShow as j } from "vue";
2
+ import { useTableHooks as ae } from "jmash-core";
3
+ import { useRouter as re } from "vue-router";
4
+ import { useI18n as se } from "vue-i18n";
5
+ import { m as de } from "./index-AjM-q7jB.mjs";
6
+ import ue from "./edit-fPI55jXC.mjs";
7
+ import { D as V } from "./index-ChiDnr1z.mjs";
8
+ const me = { class: "app-container" }, ce = { class: "search-container" }, pe = /* @__PURE__ */ b("div", { class: "clear" }, null, -1), he = {
9
+ key: 0,
10
+ class: "required_red"
11
+ }, be = { key: 0 }, fe = ["onClick"], we = ["onClick"], ve = ["onClick"], ye = ["onClick"], Ie = /* @__PURE__ */ ie({
12
+ __name: "index",
13
+ setup(_e) {
14
+ const D = re(), { t: k } = se();
15
+ V.siteDict.useValues();
16
+ const d = $({}), { proxy: P } = le(), {
17
+ tableHooks: r,
18
+ multipleTableRef: Y,
19
+ queryFormRef: H,
20
+ listLoading: z,
21
+ tableData: K,
22
+ total: x
23
+ } = ae(k, de, d);
24
+ let y = $([
25
+ {
26
+ label: "miceExhibition.exhibitionTitle",
27
+ prop: "exhibitionTitle",
28
+ width: "270",
29
+ isColumn: !0,
30
+ slotName: "exhibitionTitle",
31
+ columnType: "slot"
32
+ },
33
+ {
34
+ label: "miceExhibition.siteId",
35
+ prop: "siteId",
36
+ width: "270",
37
+ isColumn: !0,
38
+ slotName: "siteId",
39
+ columnType: "slot"
40
+ },
41
+ {
42
+ label: "miceExhibition.TimeArr",
43
+ prop: "startTime",
44
+ sortable: "custom",
45
+ slotName: "TimeArr",
46
+ columnType: "slot",
47
+ width: "270",
48
+ isColumn: !0
49
+ },
50
+ {
51
+ label: "miceExhibition.director",
52
+ prop: "director",
53
+ width: "150",
54
+ slotName: "director",
55
+ columnType: "slot",
56
+ isColumn: !0
57
+ },
58
+ {
59
+ label: "miceExhibition.directorPhones",
60
+ prop: "directorPhones",
61
+ width: "150",
62
+ slotName: "directorPhones",
63
+ columnType: "slot",
64
+ isColumn: !0
65
+ },
66
+ {
67
+ label: "miceExhibition.address",
68
+ prop: "address",
69
+ width: "270",
70
+ isColumn: !0
71
+ },
72
+ {
73
+ label: "miceExhibition.status",
74
+ prop: "status",
75
+ width: "100",
76
+ slotName: "status",
77
+ columnType: "slot",
78
+ isColumn: !0
79
+ },
80
+ {
81
+ label: "common.operate",
82
+ width: "250",
83
+ slotName: "operation",
84
+ columnType: "slot",
85
+ fixed: "right",
86
+ isColumn: !0
87
+ }
88
+ ]);
89
+ const c = $({
90
+ title: k("common.edit"),
91
+ visible: !1
92
+ });
93
+ let T = q({});
94
+ function R(t) {
95
+ t.showEncrypt = !t.showEncrypt;
96
+ }
97
+ function L() {
98
+ T = q({}), c.value.title = k("common.add"), c.value.visible = !0;
99
+ }
100
+ function Q(t) {
101
+ T.exhibitionId = t.exhibitionId, c.value.title = k("common.edit"), c.value.visible = !0;
102
+ }
103
+ function M(t) {
104
+ D.push({
105
+ path: "/mice/exhibition/exhibitionInfo",
106
+ query: { exhibitionId: t.exhibitionId }
107
+ });
108
+ }
109
+ function B(t) {
110
+ D.push({
111
+ path: "/mice/ticketType/list",
112
+ query: { exhibitionId: t.exhibitionId }
113
+ });
114
+ }
115
+ function F(t) {
116
+ r.selectionRows.value = t;
117
+ }
118
+ function G(t) {
119
+ r.handleSort(t.prop, t.order);
120
+ }
121
+ function J(t) {
122
+ t && r.getList();
123
+ }
124
+ return r.getList(), (t, o) => {
125
+ const O = s("jmash-select"), C = s("el-form-item"), w = s("el-col"), N = s("el-input"), g = s("el-button"), S = s("el-row"), W = s("el-form"), X = s("jmash-column-select"), Z = s("el-switch"), U = s("svg-icon"), ee = s("jmash-table"), te = s("jmash-pagination"), oe = s("el-card"), v = ne("hasPerm");
126
+ return u(), f("div", me, [
127
+ b("div", ce, [
128
+ l(W, {
129
+ ref_key: "queryFormRef",
130
+ ref: H,
131
+ model: d.value,
132
+ inline: !0
133
+ }, {
134
+ default: i(() => [
135
+ l(S, null, {
136
+ default: i(() => [
137
+ l(w, { span: 6 }, {
138
+ default: i(() => [
139
+ l(C, {
140
+ label: t.$t("miceExhibition.siteId"),
141
+ prop: "siteId"
142
+ }, {
143
+ default: i(() => [
144
+ l(O, {
145
+ modelValue: d.value.siteId,
146
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.siteId = e),
147
+ placeholder: t.$t("miceExhibition.siteIdRequired"),
148
+ data: n(V).siteDict.values,
149
+ clearable: "",
150
+ onKeyup: o[1] || (o[1] = I((e) => n(r).handleQuery(), ["enter"])),
151
+ class: "!w-[203px]"
152
+ }, null, 8, ["modelValue", "placeholder", "data"])
153
+ ]),
154
+ _: 1
155
+ }, 8, ["label"])
156
+ ]),
157
+ _: 1
158
+ }),
159
+ l(w, { span: 6 }, {
160
+ default: i(() => [
161
+ l(C, {
162
+ label: t.$t("miceExhibition.exhibitionTitle"),
163
+ prop: "likeExhibitionTitle"
164
+ }, {
165
+ default: i(() => [
166
+ l(N, {
167
+ modelValue: d.value.likeExhibitionTitle,
168
+ "onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeExhibitionTitle = e),
169
+ placeholder: t.$t("miceExhibition.exhibitionTitleRequired"),
170
+ onKeyup: o[3] || (o[3] = I((e) => n(r).handleQuery(), ["enter"])),
171
+ class: "!w-[203px]"
172
+ }, null, 8, ["modelValue", "placeholder"])
173
+ ]),
174
+ _: 1
175
+ }, 8, ["label"])
176
+ ]),
177
+ _: 1
178
+ }),
179
+ l(w, { span: 6 }, {
180
+ default: i(() => [
181
+ l(C, {
182
+ label: t.$t("miceExhibition.address"),
183
+ prop: "likeAddress"
184
+ }, {
185
+ default: i(() => [
186
+ l(N, {
187
+ modelValue: d.value.likeAddress,
188
+ "onUpdate:modelValue": o[4] || (o[4] = (e) => d.value.likeAddress = e),
189
+ placeholder: t.$t("miceExhibition.addressRequired"),
190
+ onKeyup: o[5] || (o[5] = I((e) => n(r).handleQuery(), ["enter"])),
191
+ class: "!w-[203px]"
192
+ }, null, 8, ["modelValue", "placeholder"])
193
+ ]),
194
+ _: 1
195
+ }, 8, ["label"])
196
+ ]),
197
+ _: 1
198
+ }),
199
+ l(w, { span: 6 }, {
200
+ default: i(() => [
201
+ l(C, { class: "search-btn" }, {
202
+ default: i(() => [
203
+ l(g, {
204
+ type: "primary",
205
+ onClick: o[6] || (o[6] = (e) => n(r).handleQuery())
206
+ }, {
207
+ default: i(() => [
208
+ m(a(t.$t("common.search")), 1)
209
+ ]),
210
+ _: 1
211
+ }),
212
+ l(g, {
213
+ onClick: o[7] || (o[7] = (e) => n(r).resetQuery())
214
+ }, {
215
+ default: i(() => [
216
+ m(a(t.$t("common.reset")), 1)
217
+ ]),
218
+ _: 1
219
+ })
220
+ ]),
221
+ _: 1
222
+ })
223
+ ]),
224
+ _: 1
225
+ })
226
+ ]),
227
+ _: 1
228
+ })
229
+ ]),
230
+ _: 1
231
+ }, 8, ["model"]),
232
+ pe
233
+ ]),
234
+ l(oe, { shadow: "never" }, {
235
+ header: i(() => [
236
+ l(S, null, {
237
+ default: i(() => [
238
+ l(w, { span: 17 }, {
239
+ default: i(() => [
240
+ h((u(), E(g, {
241
+ type: "primary",
242
+ onClick: L
243
+ }, {
244
+ default: i(() => [
245
+ m(a(t.$t("common.add")), 1)
246
+ ]),
247
+ _: 1
248
+ })), [
249
+ [v, ["mice:exhibition:add"]]
250
+ ]),
251
+ h((u(), E(g, {
252
+ type: "primary",
253
+ onClick: o[8] || (o[8] = (e) => n(r).deleteRecords())
254
+ }, {
255
+ default: i(() => [
256
+ m(a(t.$t("common.batchDelete")), 1)
257
+ ]),
258
+ _: 1
259
+ })), [
260
+ [v, ["mice:exhibition:delete"]]
261
+ ])
262
+ ]),
263
+ _: 1
264
+ }),
265
+ l(w, {
266
+ span: 7,
267
+ class: "container-float"
268
+ }, {
269
+ default: i(() => [
270
+ l(X, {
271
+ modelValue: n(y),
272
+ "onUpdate:modelValue": o[9] || (o[9] = (e) => A(y) ? y.value = e : y = e),
273
+ "label-name": "mice/exhibition"
274
+ }, null, 8, ["modelValue"])
275
+ ]),
276
+ _: 1
277
+ })
278
+ ]),
279
+ _: 1
280
+ })
281
+ ]),
282
+ footer: i(() => [
283
+ n(x) > 0 ? (u(), E(te, {
284
+ key: 0,
285
+ total: n(x),
286
+ "onUpdate:total": o[10] || (o[10] = (e) => A(x) ? x.value = e : null),
287
+ "current-page": d.value.curPage,
288
+ "onUpdate:currentPage": o[11] || (o[11] = (e) => d.value.curPage = e),
289
+ "page-size": d.value.pageSize,
290
+ "onUpdate:pageSize": o[12] || (o[12] = (e) => d.value.pageSize = e),
291
+ onPagination: o[13] || (o[13] = (e) => n(r).getList())
292
+ }, null, 8, ["total", "current-page", "page-size"])) : _("", !0)
293
+ ]),
294
+ default: i(() => [
295
+ l(ee, {
296
+ ref_key: "multipleTableRef",
297
+ ref: Y,
298
+ "row-key": "exhibitionId",
299
+ "list-loading": n(z),
300
+ data: n(K),
301
+ "table-label": n(y),
302
+ onSelectionChange: F,
303
+ onSortChange: G
304
+ }, {
305
+ exhibitionTitle: i((e) => [
306
+ b("span", null, [
307
+ e.data.row.isActive ? (u(), f("span", he, "[当前]")) : _("", !0),
308
+ m(" " + a(e.data.row.exhibitionTitle), 1)
309
+ ])
310
+ ]),
311
+ siteId: i((e) => [
312
+ b("span", null, a(n(V).siteDict.getValue(e.data.row.siteId)), 1)
313
+ ]),
314
+ TimeArr: i((e) => [
315
+ b("span", null, a(n(P).$moment.formatDate(
316
+ e.data.row.startTime,
317
+ "YYYY-MM-DD HH:mm"
318
+ )) + " - " + a(n(P).$moment.formatDate(
319
+ e.data.row.endTime,
320
+ "YYYY-MM-DD HH:mm"
321
+ )), 1)
322
+ ]),
323
+ director: i((e) => [
324
+ b("span", null, a(e.data.row.showEncrypt ? e.data.row.director : e.data.row.directorIns), 1)
325
+ ]),
326
+ directorPhones: i((e) => [
327
+ b("span", null, a(e.data.row.showEncrypt ? e.data.row.directorPhones : e.data.row.directorPhonesIns), 1)
328
+ ]),
329
+ status: i((e) => [
330
+ b("span", null, [
331
+ l(Z, {
332
+ modelValue: e.data.row.status,
333
+ "onUpdate:modelValue": (p) => e.data.row.status = p,
334
+ onChange: (p) => n(r).enableRecord(e.data.row, e.data.row.status)
335
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
336
+ ])
337
+ ]),
338
+ operation: i((e) => [
339
+ e.data.row.directorPhonesIns || e.data.row.directorIns ? (u(), f("span", be, [
340
+ h(l(U, {
341
+ "icon-class": "close-eye",
342
+ onClick: (p) => R(e.data.row)
343
+ }, null, 8, ["onClick"]), [
344
+ [j, !e.data.row.showEncrypt]
345
+ ]),
346
+ h(l(U, {
347
+ "icon-class": "eye-open",
348
+ onClick: (p) => R(e.data.row)
349
+ }, null, 8, ["onClick"]), [
350
+ [j, e.data.row.showEncrypt]
351
+ ])
352
+ ])) : _("", !0),
353
+ h((u(), f("span", {
354
+ class: "el-button-color dropdown-left",
355
+ onClick: (p) => Q(e.data.row)
356
+ }, [
357
+ m(a(t.$t("common.edit")), 1)
358
+ ], 8, fe)), [
359
+ [v, ["mice:exhibition:update"]]
360
+ ]),
361
+ h((u(), f("span", {
362
+ class: "el-button-color dropdown-left",
363
+ onClick: (p) => n(r).deleteRecord(e.data.row)
364
+ }, [
365
+ m(a(t.$t("common.delete")), 1)
366
+ ], 8, we)), [
367
+ [v, ["mice:exhibition:delete"]]
368
+ ]),
369
+ h((u(), f("span", {
370
+ class: "el-button-color dropdown-left",
371
+ onClick: (p) => M(e.data.row)
372
+ }, [
373
+ m(a(t.$t("common.view")), 1)
374
+ ], 8, ve)), [
375
+ [v, ["mice:exhibition:view"]]
376
+ ]),
377
+ e.data.row.isTicket ? h((u(), f("span", {
378
+ key: 1,
379
+ class: "el-button-color dropdown-left",
380
+ onClick: (p) => B(e.data.row)
381
+ }, [
382
+ m(a(t.$t("miceExhibition.ticketType")), 1)
383
+ ], 8, ye)), [
384
+ [v, ["mice:exhibition:list"]]
385
+ ]) : _("", !0)
386
+ ]),
387
+ _: 1
388
+ }, 8, ["list-loading", "data", "table-label"])
389
+ ]),
390
+ _: 1
391
+ }),
392
+ c.value.visible ? (u(), E(ue, {
393
+ key: 0,
394
+ modelValue: c.value.visible,
395
+ "onUpdate:modelValue": o[14] || (o[14] = (e) => c.value.visible = e),
396
+ title: c.value.title,
397
+ "entity-key": n(T),
398
+ onRefresh: J,
399
+ width: "950px"
400
+ }, null, 8, ["modelValue", "title", "entity-key"])) : _("", !0)
401
+ ]);
402
+ };
403
+ }
404
+ });
405
+ export {
406
+ Ie as default
407
+ };
@@ -0,0 +1,109 @@
1
+ import { useUserStore as i, clearEmpty as n, request as r } from "jmash-core";
2
+ class s {
3
+ getKey(t) {
4
+ return {
5
+ exhibitionId: t.exhibitionId
6
+ };
7
+ }
8
+ // 查询翻页信息会展管理
9
+ findPage(t) {
10
+ const e = i().user.tenant;
11
+ return n(t), r({
12
+ url: "/v1/mice/exhibition/page/" + e,
13
+ method: "get",
14
+ params: t
15
+ });
16
+ }
17
+ // 查询列表信息会展管理
18
+ findList(t) {
19
+ const e = i().user.tenant;
20
+ return t && (t.hasActive = t.isActive != null), n(t), r({
21
+ url: "/v1/mice/exhibition/list/" + e,
22
+ method: "get",
23
+ params: t
24
+ });
25
+ }
26
+ // 查询会展管理
27
+ findById(t) {
28
+ const e = i().user.tenant;
29
+ return n(t), r({
30
+ url: "/v1/mice/exhibition/id/" + e + "/" + t.exhibitionId,
31
+ method: "get"
32
+ });
33
+ }
34
+ // 创建实体会展管理
35
+ create(t) {
36
+ return t.tenant = i().user.tenant, n(t), r({
37
+ url: "/v1/mice/exhibition",
38
+ method: "post",
39
+ data: t
40
+ });
41
+ }
42
+ // 修改实体会展管理
43
+ update(t) {
44
+ return t.tenant = i().user.tenant, n(t), r({
45
+ url: "/v1/mice/exhibition",
46
+ method: "patch",
47
+ data: t
48
+ });
49
+ }
50
+ // 启用/禁用
51
+ enable(t, e) {
52
+ let a = { ...t };
53
+ return a.tenant = i().user.tenant, a.enable = e, n(a), r({
54
+ url: "/v1/mice/exhibition/enable",
55
+ method: "put",
56
+ data: a
57
+ });
58
+ }
59
+ // 删除会展管理
60
+ delete(t) {
61
+ return t.tenant = i().user.tenant, n(t), r({
62
+ url: "/v1/mice/exhibition/id",
63
+ method: "delete",
64
+ params: t
65
+ });
66
+ }
67
+ // 批量删除会展管理
68
+ batchDelete(t) {
69
+ const e = t.map((o) => o.exhibitionId), a = {
70
+ tenant: i().user.tenant,
71
+ exhibitionId: e
72
+ };
73
+ return n(a), r({
74
+ url: "/v1/mice/exhibition/batch",
75
+ method: "put",
76
+ data: a
77
+ });
78
+ }
79
+ // 二维码
80
+ getqrcode(t) {
81
+ const e = i().user.tenant;
82
+ return n(t), r({
83
+ url: "/v1/mice/exhibition/generate/" + e + "/" + t.exhibitionId,
84
+ method: "get"
85
+ });
86
+ }
87
+ // 获取会展统计信息
88
+ statistics(t) {
89
+ const e = i().user.tenant;
90
+ return n(t), r({
91
+ url: "/v1/mice/exhibition/statistics/" + e + "/" + t.exhibitionId,
92
+ method: "get",
93
+ params: t
94
+ });
95
+ }
96
+ // 查询报名统计情况
97
+ enrollStatistics(t) {
98
+ const e = i().user.tenant;
99
+ return n(t), r({
100
+ url: "/v1/mice/enroll/statistics/" + e,
101
+ method: "get",
102
+ params: t
103
+ });
104
+ }
105
+ }
106
+ const m = new s();
107
+ export {
108
+ m
109
+ };