@luzhaoqi/test 0.0.43 → 0.0.44

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.
@@ -0,0 +1,172 @@
1
+ import { getCurrentInstance as O, computed as S, onMounted as N, ref as d, resolveComponent as a, openBlock as r, createBlock as k, unref as s, withCtx as t, createVNode as o, createElementBlock as C, Fragment as w, renderList as $, withKeys as E, createTextVNode as m } from "vue";
2
+ import K from "./dictEdit-Amefx1br.mjs";
3
+ import { d as L, l as M, a as Q } from "./dict-babBRs0C.mjs";
4
+ import { u as F } from "./index-v_H8fN_6.mjs";
5
+ import "./main-YK8P8rUo.mjs";
6
+ const X = {
7
+ __name: "dict",
8
+ setup(I) {
9
+ const i = O().proxy.$z, x = F(), h = S(() => i.$store.dict.getDictByCode("sys_status"));
10
+ N(() => {
11
+ i.$store.dict.setDictByCode("sys_status"), z();
12
+ });
13
+ const T = d({
14
+ api: L,
15
+ hiddenQuery: {
16
+ dictType: x.params.id
17
+ },
18
+ columns: [
19
+ { label: "字典编号", type: "index", width: 90 },
20
+ { label: "字典标签", prop: "lable" },
21
+ { label: "字典键值", prop: "value" },
22
+ { label: "字典排序", prop: "dictSort" },
23
+ { label: "状态", prop: "status", slot: !0 },
24
+ { label: "备注", prop: "remark" },
25
+ { label: "操作", prop: "menu", width: "200", slot: !0 }
26
+ ]
27
+ }), _ = d([]), z = () => {
28
+ M({ pageSize: 9999 }).then((n) => {
29
+ _.value = n.records || [];
30
+ });
31
+ }, f = d(), b = d(), c = () => {
32
+ f.value.handleQuery();
33
+ }, v = (n, u) => {
34
+ n === "add" ? b.value.show(n, f.value.queryParams) : b.value.show(n, u);
35
+ }, B = (n) => {
36
+ i.$modal.confirm("是否确认删除名称为" + n.lable + "的数据项?", "警告", {
37
+ confirmButtonText: "确定",
38
+ cancelButtonText: "取消",
39
+ type: "warning"
40
+ }).then(() => {
41
+ Q(n.id).then(() => {
42
+ i.$modal.msgSuccess("删除成功"), c();
43
+ }).catch((u) => {
44
+ console.log(u), i.$modal.msgError("删除失败");
45
+ });
46
+ });
47
+ };
48
+ return (n, u) => {
49
+ const g = a("el-option"), V = a("el-select"), y = a("el-form-item"), D = a("el-input"), p = a("el-button"), A = a("z-dict-tag"), U = a("z-list");
50
+ return r(), k(U, {
51
+ ref_key: "list",
52
+ ref: f,
53
+ tableOption: s(T)
54
+ }, {
55
+ form: t(({ queryParams: l }) => [
56
+ o(y, { label: "字典类型" }, {
57
+ default: t(() => [
58
+ o(V, {
59
+ modelValue: l.dictType,
60
+ "onUpdate:modelValue": (e) => l.dictType = e,
61
+ clearable: "",
62
+ filterable: "",
63
+ onChange: c
64
+ }, {
65
+ default: t(() => [
66
+ (r(!0), C(w, null, $(s(_), (e) => (r(), k(g, {
67
+ key: e.dictType,
68
+ label: e.dictName,
69
+ value: e.dictType
70
+ }, null, 8, ["label", "value"]))), 128))
71
+ ]),
72
+ _: 2
73
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
74
+ ]),
75
+ _: 2
76
+ }, 1024),
77
+ o(y, { label: "字典标签" }, {
78
+ default: t(() => [
79
+ o(D, {
80
+ modelValue: l.lable,
81
+ "onUpdate:modelValue": (e) => l.lable = e,
82
+ placeholder: "请输入字典标签",
83
+ clearable: "",
84
+ onKeyup: E(c, ["enter", "native"])
85
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
86
+ ]),
87
+ _: 2
88
+ }, 1024),
89
+ o(y, { label: "状态" }, {
90
+ default: t(() => [
91
+ o(V, {
92
+ modelValue: l.status,
93
+ "onUpdate:modelValue": (e) => l.status = e,
94
+ clearable: ""
95
+ }, {
96
+ default: t(() => [
97
+ (r(!0), C(w, null, $(s(h), (e) => (r(), k(g, {
98
+ key: e.value,
99
+ label: e.label,
100
+ value: e.value
101
+ }, null, 8, ["label", "value"]))), 128))
102
+ ]),
103
+ _: 2
104
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
105
+ ]),
106
+ _: 2
107
+ }, 1024)
108
+ ]),
109
+ leftMenu: t(() => [
110
+ o(p, {
111
+ onClick: u[0] || (u[0] = (l) => v("add")),
112
+ icon: "el-icon-plus",
113
+ type: "primary",
114
+ plain: ""
115
+ }, {
116
+ default: t(() => [
117
+ m("新增字典")
118
+ ]),
119
+ _: 1
120
+ })
121
+ ]),
122
+ status: t((l) => [
123
+ o(A, {
124
+ options: s(h),
125
+ value: l.row.status
126
+ }, null, 8, ["options", "value"])
127
+ ]),
128
+ menu: t((l) => [
129
+ o(p, {
130
+ link: "",
131
+ onClick: (e) => v("edit", l.row)
132
+ }, {
133
+ default: t(() => [
134
+ m("编辑")
135
+ ]),
136
+ _: 2
137
+ }, 1032, ["onClick"]),
138
+ o(p, {
139
+ link: "",
140
+ onClick: (e) => v("view", l.row)
141
+ }, {
142
+ default: t(() => [
143
+ m("详情")
144
+ ]),
145
+ _: 2
146
+ }, 1032, ["onClick"]),
147
+ o(p, {
148
+ link: "",
149
+ onClick: (e) => B(l.row)
150
+ }, {
151
+ default: t(() => [
152
+ m("删除")
153
+ ]),
154
+ _: 2
155
+ }, 1032, ["onClick"])
156
+ ]),
157
+ default: t(() => [
158
+ o(K, {
159
+ ref_key: "dialog",
160
+ ref: b,
161
+ typeArr: s(_),
162
+ onOk: c
163
+ }, null, 8, ["typeArr"])
164
+ ]),
165
+ _: 1
166
+ }, 8, ["tableOption"]);
167
+ };
168
+ }
169
+ };
170
+ export {
171
+ X as default
172
+ };
@@ -0,0 +1,66 @@
1
+ import { a as r } from "./main-YK8P8rUo.mjs";
2
+ const u = r.config.globalProperties.$z, e = u.$http;
3
+ function n(t) {
4
+ return e.request({
5
+ url: "/ucenter/dict/type/queryPage",
6
+ method: "post",
7
+ data: t
8
+ });
9
+ }
10
+ function c(t) {
11
+ return e.request({
12
+ url: "/ucenter/dict/type/save",
13
+ method: "post",
14
+ data: t
15
+ });
16
+ }
17
+ function d(t) {
18
+ return e.request({
19
+ url: "/ucenter/dict/type/update",
20
+ method: "post",
21
+ data: t
22
+ });
23
+ }
24
+ function o(t) {
25
+ return e.request({
26
+ url: `ucenter/dict/type/del/${t}`,
27
+ method: "post"
28
+ });
29
+ }
30
+ function s(t) {
31
+ return e.request({
32
+ url: "/ucenter/dict/queryPage",
33
+ method: "post",
34
+ data: t
35
+ });
36
+ }
37
+ function p(t) {
38
+ return e.request({
39
+ url: "/ucenter/dict/save",
40
+ method: "post",
41
+ data: t
42
+ });
43
+ }
44
+ function a(t) {
45
+ return e.request({
46
+ url: "/ucenter/dict/update",
47
+ method: "post",
48
+ data: t
49
+ });
50
+ }
51
+ function l(t) {
52
+ return e.request({
53
+ url: `ucenter/dict/del/${t}`,
54
+ method: "post"
55
+ });
56
+ }
57
+ export {
58
+ l as a,
59
+ a as b,
60
+ p as c,
61
+ s as d,
62
+ o as e,
63
+ d as f,
64
+ c as g,
65
+ n as l
66
+ };
@@ -0,0 +1,187 @@
1
+ import { getCurrentInstance as I, computed as L, onMounted as M, ref as i, resolveComponent as n, openBlock as m, createBlock as y, unref as o, isRef as G, withCtx as u, createVNode as a, createElementBlock as T, Fragment as x, renderList as A, createTextVNode as H, toDisplayString as J } from "vue";
2
+ import { b as K, c as P } from "./dict-babBRs0C.mjs";
3
+ import "./main-YK8P8rUo.mjs";
4
+ import "./index-v_H8fN_6.mjs";
5
+ const j = {
6
+ __name: "dictEdit",
7
+ props: {
8
+ typeArr: {
9
+ type: Array,
10
+ default() {
11
+ return [];
12
+ }
13
+ }
14
+ },
15
+ emits: ["ok"],
16
+ setup(C, { expose: D, emit: U }) {
17
+ const c = I().proxy.$z, $ = L(() => c.$store.dict.getDictByCode("sys_status"));
18
+ M(() => {
19
+ c.$store.dict.setDictByCode("sys_status");
20
+ });
21
+ const f = i(!1), _ = i(""), p = i(!1), V = () => ({
22
+ id: void 0,
23
+ dictType: void 0,
24
+ lable: void 0,
25
+ value: void 0,
26
+ dictSort: 0,
27
+ status: "1",
28
+ remark: void 0
29
+ }), l = i(V()), q = i({
30
+ dictType: [{ required: !0, message: "请输入字典类型", trigger: "change" }],
31
+ lable: [{ required: !0, message: "请输入字典标签", trigger: "blur" }],
32
+ value: [{ required: !0, message: "请输入字典值", trigger: "blur" }],
33
+ status: [{ required: !0, message: "请选择状态", trigger: "change" }]
34
+ }), k = (d) => {
35
+ const e = c.$utils._.cloneDeep(l.value);
36
+ for (const r in e)
37
+ d[r] !== void 0 && (e[r] = d[r]);
38
+ l.value = e;
39
+ }, v = i(), w = (d, e) => {
40
+ switch (l.value.dictType = e.dictType, d) {
41
+ case "add":
42
+ p.value = !1, _.value = "新增";
43
+ break;
44
+ case "edit":
45
+ p.value = !1, _.value = "编辑", k(e);
46
+ break;
47
+ case "view":
48
+ p.value = !0, _.value = "详情", k(e);
49
+ break;
50
+ }
51
+ f.value = !0;
52
+ }, B = () => {
53
+ v.value.resetFields(), l.value = V();
54
+ }, S = (d) => {
55
+ v.value.validate((e) => {
56
+ if (e) {
57
+ const r = l.value.id ? K : P, b = l.value.id ? "修改成功!" : "提交成功!";
58
+ r(c.$utils._.cloneDeep(l.value)).then(() => {
59
+ d(b), z("ok");
60
+ });
61
+ }
62
+ });
63
+ }, z = U;
64
+ return D({ show: w, form: l }), (d, e) => {
65
+ const r = n("el-option"), b = n("el-select"), s = n("el-form-item"), g = n("el-input"), N = n("el-radio"), R = n("el-radio-group"), E = n("el-input-number"), F = n("el-form"), O = n("z-dialog");
66
+ return m(), y(O, {
67
+ modelValue: o(f),
68
+ "onUpdate:modelValue": e[6] || (e[6] = (t) => G(f) ? f.value = t : null),
69
+ title: o(_),
70
+ width: "30%",
71
+ disabled: o(p),
72
+ onCancel: B,
73
+ onOk: S
74
+ }, {
75
+ default: u(() => [
76
+ a(F, {
77
+ ref_key: "formRef",
78
+ ref: v,
79
+ model: o(l),
80
+ "label-width": "80px",
81
+ rules: o(q),
82
+ disabled: o(p)
83
+ }, {
84
+ default: u(() => [
85
+ a(s, {
86
+ label: "字典类型",
87
+ prop: "dictType"
88
+ }, {
89
+ default: u(() => [
90
+ a(b, {
91
+ modelValue: o(l).dictType,
92
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => o(l).dictType = t),
93
+ disabled: ""
94
+ }, {
95
+ default: u(() => [
96
+ (m(!0), T(x, null, A(C.typeArr, (t) => (m(), y(r, {
97
+ key: t.dictType,
98
+ label: t.dictName,
99
+ value: t.dictType
100
+ }, null, 8, ["label", "value"]))), 128))
101
+ ]),
102
+ _: 1
103
+ }, 8, ["modelValue"])
104
+ ]),
105
+ _: 1
106
+ }),
107
+ a(s, {
108
+ label: "字典标签",
109
+ prop: "lable"
110
+ }, {
111
+ default: u(() => [
112
+ a(g, {
113
+ modelValue: o(l).lable,
114
+ "onUpdate:modelValue": e[1] || (e[1] = (t) => o(l).lable = t)
115
+ }, null, 8, ["modelValue"])
116
+ ]),
117
+ _: 1
118
+ }),
119
+ a(s, {
120
+ label: "字典值",
121
+ prop: "value"
122
+ }, {
123
+ default: u(() => [
124
+ a(g, {
125
+ modelValue: o(l).value,
126
+ "onUpdate:modelValue": e[2] || (e[2] = (t) => o(l).value = t)
127
+ }, null, 8, ["modelValue"])
128
+ ]),
129
+ _: 1
130
+ }),
131
+ a(s, {
132
+ label: "状态",
133
+ prop: "status"
134
+ }, {
135
+ default: u(() => [
136
+ a(R, {
137
+ modelValue: o(l).status,
138
+ "onUpdate:modelValue": e[3] || (e[3] = (t) => o(l).status = t)
139
+ }, {
140
+ default: u(() => [
141
+ (m(!0), T(x, null, A(o($), (t) => (m(), y(N, {
142
+ key: t.value,
143
+ value: t.value
144
+ }, {
145
+ default: u(() => [
146
+ H(J(t.label), 1)
147
+ ]),
148
+ _: 2
149
+ }, 1032, ["value"]))), 128))
150
+ ]),
151
+ _: 1
152
+ }, 8, ["modelValue"])
153
+ ]),
154
+ _: 1
155
+ }),
156
+ a(s, { label: "排序" }, {
157
+ default: u(() => [
158
+ a(E, {
159
+ modelValue: o(l).dictSort,
160
+ "onUpdate:modelValue": e[4] || (e[4] = (t) => o(l).dictSort = t),
161
+ "controls-position": "right"
162
+ }, null, 8, ["modelValue"])
163
+ ]),
164
+ _: 1
165
+ }),
166
+ a(s, { label: "备注" }, {
167
+ default: u(() => [
168
+ a(g, {
169
+ type: "textarea",
170
+ modelValue: o(l).remark,
171
+ "onUpdate:modelValue": e[5] || (e[5] = (t) => o(l).remark = t)
172
+ }, null, 8, ["modelValue"])
173
+ ]),
174
+ _: 1
175
+ })
176
+ ]),
177
+ _: 1
178
+ }, 8, ["model", "rules", "disabled"])
179
+ ]),
180
+ _: 1
181
+ }, 8, ["modelValue", "title", "disabled"]);
182
+ };
183
+ }
184
+ };
185
+ export {
186
+ j as default
187
+ };
@@ -0,0 +1,160 @@
1
+ import { getCurrentInstance as R, ref as d, resolveComponent as p, resolveDirective as N, openBlock as U, createElementBlock as q, withDirectives as L, createVNode as l, unref as o, withCtx as i, createTextVNode as c, isRef as A, createElementVNode as y } from "vue";
2
+ import { l as P } from "./dict-babBRs0C.mjs";
3
+ import "./main-YK8P8rUo.mjs";
4
+ import "./index-v_H8fN_6.mjs";
5
+ const B = /* @__PURE__ */ y("br", null, null, -1), E = /* @__PURE__ */ y("br", null, null, -1), H = {
6
+ __name: "index",
7
+ setup(O) {
8
+ const b = R().proxy.$z, m = d(!1), f = d(""), u = d(!1), t = d({
9
+ id: "",
10
+ scoreLimit: "123",
11
+ departurePort: "",
12
+ destinationPort: ""
13
+ }), x = d({
14
+ departurePort: [{ required: !0, message: "请输入始发港", trigger: "blur" }],
15
+ destinationPort: [{ required: !0, message: "请输入目的港", trigger: "blur" }]
16
+ }), v = d(), _ = (a, e) => {
17
+ switch (t.value.id = e, a) {
18
+ case "add":
19
+ u.value = !1, f.value = "新增";
20
+ break;
21
+ case "edit":
22
+ u.value = !1, f.value = "编辑", V();
23
+ break;
24
+ case "view":
25
+ u.value = !0, f.value = "详情", V();
26
+ break;
27
+ }
28
+ m.value = !0;
29
+ }, V = () => {
30
+ w({
31
+ id: "111",
32
+ departurePort: "111",
33
+ destinationPort: "222"
34
+ });
35
+ }, w = (a) => {
36
+ const e = b.$utils._.cloneDeep(t.value);
37
+ for (const r in e)
38
+ a[r] !== void 0 && (e[r] = a[r]);
39
+ t.value = e;
40
+ }, g = () => {
41
+ v.value.resetFields();
42
+ }, C = (a) => {
43
+ v.value.validate((e) => {
44
+ if (e) {
45
+ const r = t.value.id ? P : P, s = t.value.id ? "修改成功!" : "提交成功!";
46
+ r(b.$utils._.cloneDeep(t.value)).then(() => {
47
+ a(s);
48
+ });
49
+ }
50
+ });
51
+ };
52
+ return (a, e) => {
53
+ const r = p("el-input"), s = p("z-button"), k = p("el-form-item"), $ = p("el-form"), z = p("z-dialog"), D = N("inputReg");
54
+ return U(), q("div", null, [
55
+ L(l(r, {
56
+ type: "textarea",
57
+ max: 100,
58
+ min: -100,
59
+ modelValue: o(t).scoreLimit,
60
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => o(t).scoreLimit = n),
61
+ "controls-position": "right"
62
+ }, null, 8, ["modelValue"]), [
63
+ [D, "test", "exec"]
64
+ ]),
65
+ B,
66
+ E,
67
+ l(s, {
68
+ onClick: e[1] || (e[1] = (n) => _("add")),
69
+ type: "primary"
70
+ }, {
71
+ default: i(() => [
72
+ c("新增弹框")
73
+ ]),
74
+ _: 1
75
+ }),
76
+ l(s, {
77
+ onClick: e[2] || (e[2] = (n) => _("edit", "1111")),
78
+ type: "primary"
79
+ }, {
80
+ default: i(() => [
81
+ c("编辑弹框")
82
+ ]),
83
+ _: 1
84
+ }),
85
+ l(s, {
86
+ onClick: e[3] || (e[3] = (n) => _("view", "1111")),
87
+ type: "primary"
88
+ }, {
89
+ default: i(() => [
90
+ c("查看弹框")
91
+ ]),
92
+ _: 1
93
+ }),
94
+ l(z, {
95
+ modelValue: o(m),
96
+ "onUpdate:modelValue": e[6] || (e[6] = (n) => A(m) ? m.value = n : null),
97
+ title: o(f),
98
+ width: "30%",
99
+ disabled: o(u),
100
+ onCancel: g,
101
+ onOk: C
102
+ }, {
103
+ footer: i(() => [
104
+ l(s, {
105
+ type: "primary",
106
+ onClick: g
107
+ }, {
108
+ default: i(() => [
109
+ c("自定义按钮")
110
+ ]),
111
+ _: 1
112
+ })
113
+ ]),
114
+ default: i(() => [
115
+ l($, {
116
+ ref_key: "formRef",
117
+ ref: v,
118
+ model: o(t),
119
+ "label-width": "80px",
120
+ rules: o(x),
121
+ disabled: o(u)
122
+ }, {
123
+ default: i(() => [
124
+ l(k, {
125
+ label: "始发港",
126
+ prop: "departurePort"
127
+ }, {
128
+ default: i(() => [
129
+ l(r, {
130
+ modelValue: o(t).departurePort,
131
+ "onUpdate:modelValue": e[4] || (e[4] = (n) => o(t).departurePort = n)
132
+ }, null, 8, ["modelValue"])
133
+ ]),
134
+ _: 1
135
+ }),
136
+ l(k, {
137
+ label: "目的港",
138
+ prop: "destinationPort"
139
+ }, {
140
+ default: i(() => [
141
+ l(r, {
142
+ modelValue: o(t).destinationPort,
143
+ "onUpdate:modelValue": e[5] || (e[5] = (n) => o(t).destinationPort = n)
144
+ }, null, 8, ["modelValue"])
145
+ ]),
146
+ _: 1
147
+ })
148
+ ]),
149
+ _: 1
150
+ }, 8, ["model", "rules", "disabled"])
151
+ ]),
152
+ _: 1
153
+ }, 8, ["modelValue", "title", "disabled"])
154
+ ]);
155
+ };
156
+ }
157
+ };
158
+ export {
159
+ H as default
160
+ };
@@ -0,0 +1,120 @@
1
+ import { getCurrentInstance as D, ref as l, computed as k, onMounted as C, resolveComponent as s, openBlock as N, createElementBlock as O, createVNode as o, unref as a, withCtx as t, createTextVNode as n, toDisplayString as y, createElementVNode as $ } from "vue";
2
+ import { l as f } from "./dict-babBRs0C.mjs";
3
+ import "./main-YK8P8rUo.mjs";
4
+ import "./index-v_H8fN_6.mjs";
5
+ const B = /* @__PURE__ */ $("br", null, null, -1), G = {
6
+ __name: "index",
7
+ setup(P) {
8
+ const i = D().proxy.$z, g = l({
9
+ columns: [
10
+ { label: "字典编号", type: "index", width: 90 },
11
+ { label: "字典名称", prop: "dictName" },
12
+ { label: "字典类型", prop: "dictType" },
13
+ { label: "状态", prop: "status", slot: !0 },
14
+ { label: "备注", prop: "remark" },
15
+ { label: "操作", prop: "menu", width: "200", slot: !0 }
16
+ ]
17
+ }), c = l([]), u = l(0), m = l({
18
+ pageSize: 10,
19
+ pageNumber: 1
20
+ }), v = l({
21
+ a: "1"
22
+ }), w = l({
23
+ api: f,
24
+ columns: [
25
+ { label: "字典编号", type: "index", width: 90 },
26
+ { label: "字典名称", prop: "dictName" },
27
+ { label: "字典类型", prop: "dictType" },
28
+ { label: "状态", prop: "status", slot: !0 },
29
+ { label: "备注", prop: "remark" },
30
+ { label: "操作", prop: "menu", width: "200", slot: !0 }
31
+ ]
32
+ }), d = k(() => i.$store.dict.getDictByCode("sys_status"));
33
+ C(() => {
34
+ i.$store.dict.setDictByCode("sys_status"), _();
35
+ });
36
+ const _ = () => {
37
+ f({ ...m.value, ...v.value }).then((p) => {
38
+ c.value = p.records, u.value = p.total;
39
+ });
40
+ }, h = () => {
41
+ };
42
+ return (p, T) => {
43
+ const r = s("el-button"), b = s("z-dict-tag"), x = s("z-table"), z = s("z-list");
44
+ return N(), O("div", null, [
45
+ o(x, {
46
+ tableOption: a(g),
47
+ tableData: a(c),
48
+ pageParams: a(m),
49
+ total: a(u),
50
+ onGetData: _
51
+ }, {
52
+ leftMenu: t(() => [
53
+ o(r, {
54
+ icon: "el-icon-plus",
55
+ type: "primary",
56
+ plain: ""
57
+ }, {
58
+ default: t(() => [
59
+ n("新增")
60
+ ]),
61
+ _: 1
62
+ })
63
+ ]),
64
+ type: t((e) => [
65
+ n(y(e.row.type), 1)
66
+ ]),
67
+ status: t((e) => [
68
+ o(b, {
69
+ options: a(d),
70
+ value: e.row.status
71
+ }, null, 8, ["options", "value"])
72
+ ]),
73
+ menu: t(() => [
74
+ o(r, {
75
+ icon: "el-icon-s-promotion",
76
+ type: "text"
77
+ }, {
78
+ default: t(() => [
79
+ n("详情")
80
+ ]),
81
+ _: 1
82
+ })
83
+ ]),
84
+ _: 1
85
+ }, 8, ["tableOption", "tableData", "pageParams", "total"]),
86
+ B,
87
+ o(z, {
88
+ ref: "list",
89
+ tableOption: a(w)
90
+ }, {
91
+ type: t((e) => [
92
+ n(y(e.row.type), 1)
93
+ ]),
94
+ status: t((e) => [
95
+ o(b, {
96
+ options: a(d),
97
+ value: e.row.status
98
+ }, null, 8, ["options", "value"])
99
+ ]),
100
+ menu: t((e) => [
101
+ o(r, {
102
+ icon: "el-icon-s-promotion",
103
+ link: "",
104
+ onClick: (V) => h(e.row)
105
+ }, {
106
+ default: t(() => [
107
+ n("详情")
108
+ ]),
109
+ _: 2
110
+ }, 1032, ["onClick"])
111
+ ]),
112
+ _: 1
113
+ }, 8, ["tableOption"])
114
+ ]);
115
+ };
116
+ }
117
+ };
118
+ export {
119
+ G as default
120
+ };