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,4 @@
1
+ import { _ as f } from "./followUp.vue_vue_type_script_setup_true_lang-DjFGJDzS.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,154 @@
1
+ import { defineComponent as q, mergeModels as h, ref as R, useModel as U, reactive as B, resolveComponent as r, openBlock as F, createBlock as E, withCtx as t, createElementVNode as I, createVNode as i, createTextVNode as g, toDisplayString as V, unref as n } from "vue";
2
+ import { useI18n as N } from "vue-i18n";
3
+ import { ElMessage as j } from "element-plus";
4
+ import { m as A } from "./index-DW53j6oI.mjs";
5
+ import { D as s } from "./index-ChiDnr1z.mjs";
6
+ const K = { class: "dialog-footer" }, L = /* @__PURE__ */ q({
7
+ __name: "followUp",
8
+ props: /* @__PURE__ */ h({
9
+ entityKey: {
10
+ type: Array,
11
+ default: () => []
12
+ },
13
+ receiveBy: {
14
+ type: String,
15
+ default: ""
16
+ }
17
+ }, {
18
+ modelValue: { type: Boolean },
19
+ modelModifiers: {}
20
+ }),
21
+ emits: /* @__PURE__ */ h(["refresh", "clearSelection"], ["update:modelValue"]),
22
+ setup(u, { emit: M }) {
23
+ const { t: d } = N(), f = R(), m = U(u, "modelValue"), p = u;
24
+ let l = B({
25
+ requestId: (Math.random() * 10).toString(),
26
+ receiveBy: p.receiveBy
27
+ // 将 props.receiveBy 赋值给 form.receiveBy
28
+ });
29
+ const y = M;
30
+ s.miceMemberDict.useValues();
31
+ const w = B({
32
+ receiveBy: [
33
+ {
34
+ required: !0,
35
+ message: d("miceGuest.receiveByRequired"),
36
+ trigger: "blur"
37
+ }
38
+ ]
39
+ });
40
+ function G() {
41
+ if (l.receiveBy) {
42
+ let e = s.miceMemberDict.values;
43
+ e && e.forEach((o) => {
44
+ o.key == l.receiveBy && (l.mobilePhone = o.mobilePhone);
45
+ });
46
+ } else
47
+ l.mobilePhone = "";
48
+ }
49
+ const P = async () => {
50
+ var e;
51
+ await ((e = f.value) == null ? void 0 : e.validate((o) => {
52
+ o && A.batchFollowUp({
53
+ guestId: p.entityKey,
54
+ receiveBy: l.receiveBy
55
+ }).then(({ status: a }) => {
56
+ a == 200 && (j({
57
+ message: d("common.submitSuccess"),
58
+ type: "success"
59
+ }), m.value && (m.value = !1), y("refresh", a === 200), y("clearSelection", a === 200));
60
+ });
61
+ }));
62
+ };
63
+ function v() {
64
+ m.value && (m.value = !1);
65
+ }
66
+ return (e, o) => {
67
+ const a = r("jmash-select"), _ = r("el-form-item"), C = r("el-input"), D = r("el-col"), k = r("el-row"), S = r("el-form"), b = r("el-button"), $ = r("el-dialog");
68
+ return F(), E($, {
69
+ modelValue: m.value,
70
+ "onUpdate:modelValue": o[2] || (o[2] = (c) => m.value = c),
71
+ onClose: v
72
+ }, {
73
+ footer: t(() => [
74
+ I("div", K, [
75
+ i(b, { onClick: v }, {
76
+ default: t(() => [
77
+ g(V(e.$t("common.cancel")), 1)
78
+ ]),
79
+ _: 1
80
+ }),
81
+ i(b, {
82
+ type: "primary",
83
+ onClick: P
84
+ }, {
85
+ default: t(() => [
86
+ g(V(e.$t("common.confirm")), 1)
87
+ ]),
88
+ _: 1
89
+ })
90
+ ])
91
+ ]),
92
+ default: t(() => [
93
+ i(S, {
94
+ ref_key: "miceGuestFormRef",
95
+ ref: f,
96
+ model: n(l),
97
+ "label-width": "120px",
98
+ rules: w
99
+ }, {
100
+ default: t(() => [
101
+ i(k, null, {
102
+ default: t(() => [
103
+ i(D, { span: 24 }, {
104
+ default: t(() => [
105
+ i(_, {
106
+ label: e.$t("miceGuest.receiveBy"),
107
+ prop: "receiveBy"
108
+ }, {
109
+ default: t(() => [
110
+ i(a, {
111
+ modelValue: n(l).receiveBy,
112
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => n(l).receiveBy = c),
113
+ placeholder: e.$t("miceGuest.receiveByRequired"),
114
+ data: n(s).miceMemberDict.values,
115
+ filterable: "",
116
+ onChange: G
117
+ }, null, 8, ["modelValue", "placeholder", "data"])
118
+ ]),
119
+ _: 1
120
+ }, 8, ["label"]),
121
+ i(_, {
122
+ label: e.$t("miceGuest.receiveBymobilePhone"),
123
+ prop: "mobilePhone"
124
+ }, {
125
+ default: t(() => [
126
+ i(C, {
127
+ modelValue: n(l).mobilePhone,
128
+ "onUpdate:modelValue": o[1] || (o[1] = (c) => n(l).mobilePhone = c),
129
+ placeholder: e.$t("miceGuest.receiveBymobilePhoneRequired"),
130
+ maxlength: "11",
131
+ disabled: "",
132
+ class: "!w-[203px]"
133
+ }, null, 8, ["modelValue", "placeholder"])
134
+ ]),
135
+ _: 1
136
+ }, 8, ["label"])
137
+ ]),
138
+ _: 1
139
+ })
140
+ ]),
141
+ _: 1
142
+ })
143
+ ]),
144
+ _: 1
145
+ }, 8, ["model", "rules"])
146
+ ]),
147
+ _: 1
148
+ }, 8, ["modelValue"]);
149
+ };
150
+ }
151
+ });
152
+ export {
153
+ L as _
154
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./import-upload.vue_vue_type_script_setup_true_lang-CY9PFlyT.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,165 @@
1
+ import { defineComponent as j, ref as m, reactive as g, toRefs as z, resolveComponent as l, openBlock as H, createBlock as L, unref as v, isRef as J, withCtx as t, createElementVNode as i, createVNode as o, createTextVNode as u, toDisplayString as n } from "vue";
2
+ import { useI18n as K } from "vue-i18n";
3
+ import { fileApi as x, useUserStore as I } from "jmash-core";
4
+ import { D as y } from "./index-ChiDnr1z.mjs";
5
+ import { m as O } from "./index-AjM-q7jB.mjs";
6
+ import { E as V } from "./el-message-Caaw7K1f.mjs";
7
+ const P = /* @__PURE__ */ i("span", { class: "required_red" }, "*", -1), Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, ae = /* @__PURE__ */ j({
8
+ __name: "import-upload",
9
+ props: {
10
+ uploadVisible: {
11
+ type: Boolean,
12
+ default: () => !1
13
+ },
14
+ templateTitle: {
15
+ type: String,
16
+ default: ""
17
+ }
18
+ },
19
+ emits: ["templateDown", "importEvents", "uploadClosed"],
20
+ setup(p, { emit: C }) {
21
+ const { t: f } = K();
22
+ y.miceBizDict.useValues();
23
+ const D = m(x.uploadUrl()), k = m(x.authHeader()), w = g({
24
+ tenant: I().user.tenant
25
+ }), E = m(), a = g({
26
+ tenant: I().user.tenant,
27
+ requestId: Math.random() * 10 + "",
28
+ fileNames: "",
29
+ updateMask: "",
30
+ addFlag: !0,
31
+ // 必填项,true新增,false修改
32
+ exhibitionId: ""
33
+ }), $ = p, d = C, { uploadVisible: c } = z($);
34
+ function N() {
35
+ d("templateDown");
36
+ }
37
+ function R() {
38
+ O.findList({ isActive: !0 }).then(({ data: { results: e } }) => {
39
+ a.exhibitionId = e[0].exhibitionId;
40
+ });
41
+ }
42
+ R();
43
+ function S(e) {
44
+ a.fileNames = e.fileSrc, a.addFlag = e.addFlag, a.fileNames && V({
45
+ message: f("common.uploadSuccess"),
46
+ type: "success"
47
+ });
48
+ }
49
+ function q() {
50
+ if (!a.exhibitionId) {
51
+ V({
52
+ message: f("miceGuest.exhibitionIdRequired"),
53
+ type: "error"
54
+ });
55
+ return;
56
+ }
57
+ d("importEvents", a);
58
+ }
59
+ function _() {
60
+ d("uploadClosed");
61
+ }
62
+ return (e, s) => {
63
+ const h = l("el-col"), B = l("jmash-select"), F = l("el-form-item"), U = l("el-row"), A = l("upload-filled"), G = l("el-icon"), M = l("el-upload"), b = l("el-button"), T = l("el-dialog");
64
+ return H(), L(T, {
65
+ modelValue: v(c),
66
+ "onUpdate:modelValue": s[1] || (s[1] = (r) => J(c) ? c.value = r : null),
67
+ title: e.$t("common.uploadFiles"),
68
+ width: "500px",
69
+ onClose: _
70
+ }, {
71
+ footer: t(() => [
72
+ i("div", X, [
73
+ o(b, { onClick: _ }, {
74
+ default: t(() => [
75
+ u(n(e.$t("common.cancel")), 1)
76
+ ]),
77
+ _: 1
78
+ }),
79
+ o(b, {
80
+ type: "primary",
81
+ onClick: q
82
+ }, {
83
+ default: t(() => [
84
+ u(n(e.$t("common.confirm")), 1)
85
+ ]),
86
+ _: 1
87
+ })
88
+ ])
89
+ ]),
90
+ default: t(() => [
91
+ o(U, null, {
92
+ default: t(() => [
93
+ o(h, { span: 24 }, {
94
+ default: t(() => [
95
+ o(F, { prop: "exhibitionId" }, {
96
+ default: t(() => [
97
+ o(h, { span: 4 }, {
98
+ default: t(() => [
99
+ P,
100
+ i("span", null, n(e.$t("miceGuest.exhibitionId")), 1)
101
+ ]),
102
+ _: 1
103
+ }),
104
+ o(B, {
105
+ modelValue: a.exhibitionId,
106
+ "onUpdate:modelValue": s[0] || (s[0] = (r) => a.exhibitionId = r),
107
+ data: v(y).miceBizDict.values,
108
+ filterable: "",
109
+ "check-strictly": "",
110
+ clearable: "",
111
+ "render-after-expand": !1,
112
+ placeholder: e.$t("miceGuest.exhibitionIdRequired"),
113
+ class: "!w-[203px]"
114
+ }, null, 8, ["modelValue", "data", "placeholder"])
115
+ ]),
116
+ _: 1
117
+ })
118
+ ]),
119
+ _: 1
120
+ })
121
+ ]),
122
+ _: 1
123
+ }),
124
+ o(M, {
125
+ ref_key: "uploadRef",
126
+ ref: E,
127
+ drag: "",
128
+ action: D.value,
129
+ headers: k.value,
130
+ data: w,
131
+ multiple: "",
132
+ "on-success": S,
133
+ style: { "margin-top": "20px" }
134
+ }, {
135
+ tip: t(() => [
136
+ i("div", {
137
+ class: "el-upload__tip",
138
+ onClick: N
139
+ }, [
140
+ i("a", W, n(p.templateTitle), 1)
141
+ ])
142
+ ]),
143
+ default: t(() => [
144
+ o(G, { class: "el-icon--upload" }, {
145
+ default: t(() => [
146
+ o(A)
147
+ ]),
148
+ _: 1
149
+ }),
150
+ i("div", Q, [
151
+ u(n(e.$t("common.dragFiles")) + " ", 1),
152
+ i("em", null, n(e.$t("common.uploadEvent")), 1)
153
+ ])
154
+ ]),
155
+ _: 1
156
+ }, 8, ["action", "headers", "data"])
157
+ ]),
158
+ _: 1
159
+ }, 8, ["modelValue", "title"]);
160
+ };
161
+ }
162
+ });
163
+ export {
164
+ ae as _
165
+ };