@luzhaoqi/test 0.0.59 → 0.0.61

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 (41) hide show
  1. package/README.md +33 -25
  2. package/dist/demo.html +1 -0
  3. package/dist/static/css/127.61a1eaad.css +94 -0
  4. package/dist/static/css/127.b886ffd7.css +1 -0
  5. package/dist/static/fonts/z-icons.446ba73c.woff2 +0 -0
  6. package/dist/static/fonts/z-icons.7dcff2b7.woff +0 -0
  7. package/dist/static/fonts/z-icons.81823454.ttf +0 -0
  8. package/dist/static/img/401.1800ba9e.gif +0 -0
  9. package/dist/static/img/404.458c248a.png +0 -0
  10. package/dist/static/img/dark.75b2d0c9.svg +39 -0
  11. package/dist/static/img/light.f19157cf.svg +39 -0
  12. package/dist/static/img/login-background.6f6c293d.jpg +0 -0
  13. package/dist/static/img/profile.74856f8b.jpg +0 -0
  14. package/dist/test.common.127.js +2736 -0
  15. package/dist/test.common.js +88914 -0
  16. package/dist/test.css +21 -0
  17. package/dist/test.umd.127.js +2736 -0
  18. package/dist/test.umd.js +88925 -0
  19. package/dist/test.umd.min.127.js +1 -0
  20. package/dist/test.umd.min.js +67 -0
  21. package/package.json +50 -32
  22. package/dist/dict-T4hW9Ftt.mjs +0 -66
  23. package/dist/dict-Z2p38ghk.mjs +0 -172
  24. package/dist/dictEdit-bxCtP05H.mjs +0 -187
  25. package/dist/favicon.ico +0 -0
  26. package/dist/index-01ya7Vqb.mjs +0 -246
  27. package/dist/index-5IYbEOry.mjs +0 -107
  28. package/dist/index-7_pXJ-cF.mjs +0 -120
  29. package/dist/index-LkpiywJu.mjs +0 -55
  30. package/dist/index-NpYJRFIi.mjs +0 -34588
  31. package/dist/index-PlHtmgrn.mjs +0 -82
  32. package/dist/index-v7z4M_dZ.mjs +0 -162
  33. package/dist/index-ziBBs_1s.mjs +0 -19
  34. package/dist/layout-uwC8cv1_.mjs +0 -11
  35. package/dist/main-LGxmffHJ.mjs +0 -36090
  36. package/dist/style.css +0 -11
  37. package/dist/test-kxtmZdsk.mjs +0 -74
  38. package/dist/type-w_7XTFit.mjs +0 -157
  39. package/dist/typeEdit-aT5fm3Fv.mjs +0 -146
  40. package/dist/z-ui3.mjs +0 -37
  41. package/dist/z-ui3.umd.js +0 -217
@@ -1,82 +0,0 @@
1
- import { resolveComponent as n, openBlock as i, createElementBlock as u, createVNode as t, Fragment as f, renderList as g, withCtx as z, createTextVNode as b, createElementVNode as e } from "vue";
2
- import { _ as x } from "./index-NpYJRFIi.mjs";
3
- const V = {
4
- data() {
5
- return {
6
- file: "2025/03/12/11319480292.png",
7
- file2: "2025/03/12/a1435570981.pdf"
8
- };
9
- },
10
- methods: {
11
- handleExport() {
12
- this.$z.$http.download(
13
- {
14
- url: "/platform/shipCompany/export1",
15
- method: "get",
16
- params: {
17
- type: 4,
18
- createTimeStart: "2025-01-01",
19
- createTimeEnd: "2025-03-12",
20
- pageNum: 1,
21
- pageSize: 10
22
- }
23
- },
24
- `222_${(/* @__PURE__ */ new Date()).getTime()}.xlsx`
25
- );
26
- }
27
- }
28
- }, w = /* @__PURE__ */ e("div", null, "图片上传:", -1), v = /* @__PURE__ */ e("br", null, null, -1), y = /* @__PURE__ */ e("br", null, null, -1), k = /* @__PURE__ */ e("br", null, null, -1), C = /* @__PURE__ */ e("div", null, "图片读取:", -1), E = /* @__PURE__ */ e("br", null, null, -1), T = ["src"], N = /* @__PURE__ */ e("br", null, null, -1), U = /* @__PURE__ */ e("br", null, null, -1), j = /* @__PURE__ */ e("div", null, "图片文件:", -1), B = /* @__PURE__ */ e("br", null, null, -1), L = /* @__PURE__ */ e("br", null, null, -1), S = /* @__PURE__ */ e("br", null, null, -1), $ = /* @__PURE__ */ e("br", null, null, -1), A = /* @__PURE__ */ e("br", null, null, -1);
29
- function D(r, s, F, R, l, _) {
30
- const d = n("z-upload-import"), p = n("z-upload-image"), c = n("z-upload-file"), a = n("z-button"), m = n("z-image-preview");
31
- return i(), u("div", null, [
32
- t(d),
33
- w,
34
- v,
35
- t(p, {
36
- modelValue: l.file,
37
- "onUpdate:modelValue": s[0] || (s[0] = (o) => l.file = o),
38
- fileType: ["png", "jpg", "jpeg", "pdf"]
39
- }, null, 8, ["modelValue"]),
40
- y,
41
- k,
42
- C,
43
- E,
44
- (i(!0), u(f, null, g(l.file.split(","), (o, h) => (i(), u("img", {
45
- style: { width: "100px", height: "100px" },
46
- src: r.$z.http.baseURL + r.$z.upload.downloadAction + o,
47
- alt: "",
48
- key: h
49
- }, null, 8, T))), 128)),
50
- N,
51
- U,
52
- j,
53
- B,
54
- t(c, {
55
- modelValue: l.file2,
56
- "onUpdate:modelValue": s[1] || (s[1] = (o) => l.file2 = o)
57
- }, null, 8, ["modelValue"]),
58
- L,
59
- S,
60
- t(a, {
61
- type: "success",
62
- plain: "",
63
- size: "small",
64
- onClick: _.handleExport
65
- }, {
66
- default: z(() => [
67
- b("导出")
68
- ]),
69
- _: 1
70
- }, 8, ["onClick"]),
71
- $,
72
- A,
73
- t(m, {
74
- src: l.file,
75
- width: "200px"
76
- }, null, 8, ["src"])
77
- ]);
78
- }
79
- const H = /* @__PURE__ */ x(V, [["render", D]]);
80
- export {
81
- H as default
82
- };
@@ -1,162 +0,0 @@
1
- import { getCurrentInstance as B, ref as s, resolveComponent as p, resolveDirective as P, openBlock as y, createElementBlock as L, withDirectives as x, createVNode as r, unref as o, withCtx as i, createTextVNode as f, createBlock as A, isRef as E, createElementVNode as C } from "vue";
2
- import { l as w } from "./dict-T4hW9Ftt.mjs";
3
- import "./main-LGxmffHJ.mjs";
4
- import "./index-NpYJRFIi.mjs";
5
- const O = /* @__PURE__ */ C("br", null, null, -1), j = /* @__PURE__ */ C("br", null, null, -1), K = {
6
- __name: "index",
7
- setup(F) {
8
- const b = B().proxy.$z, m = s(!1), c = s(""), u = s(!1), t = s({
9
- id: "",
10
- scoreLimit: "123",
11
- departurePort: "",
12
- destinationPort: ""
13
- }), $ = s({
14
- departurePort: [{ required: !0, message: "请输入始发港", trigger: "blur" }],
15
- destinationPort: [{ required: !0, message: "请输入目的港", trigger: "blur" }]
16
- }), v = s(), _ = (a, e) => {
17
- switch (t.value.id = e, a) {
18
- case "add":
19
- u.value = !1, c.value = "新增";
20
- break;
21
- case "edit":
22
- u.value = !1, c.value = "编辑", g();
23
- break;
24
- case "view":
25
- u.value = !0, c.value = "详情", g();
26
- break;
27
- }
28
- m.value = !0;
29
- }, g = () => {
30
- z({
31
- id: "111",
32
- departurePort: "111",
33
- destinationPort: "222"
34
- });
35
- }, z = (a) => {
36
- const e = b.$utils._.cloneDeep(t.value);
37
- for (const n in e)
38
- a[n] !== void 0 && (e[n] = a[n]);
39
- t.value = e;
40
- }, V = () => {
41
- v.value.resetFields();
42
- }, D = (a) => {
43
- v.value.validate((e) => {
44
- if (e) {
45
- const n = t.value.id ? w : w, d = t.value.id ? "修改成功!" : "提交成功!";
46
- n(b.$utils._.cloneDeep(t.value)).then(() => {
47
- a(d);
48
- });
49
- }
50
- });
51
- };
52
- return (a, e) => {
53
- const n = p("el-input"), d = p("z-button"), k = p("el-form-item"), R = p("el-form"), N = p("z-dialog"), U = P("inputReg"), q = P("dialog-drag");
54
- return y(), L("div", null, [
55
- x(r(n, {
56
- type: "textarea",
57
- max: 100,
58
- min: -100,
59
- modelValue: o(t).scoreLimit,
60
- "onUpdate:modelValue": e[0] || (e[0] = (l) => o(t).scoreLimit = l),
61
- "controls-position": "right"
62
- }, null, 8, ["modelValue"]), [
63
- [U, "test", "exec"]
64
- ]),
65
- O,
66
- j,
67
- r(d, {
68
- onClick: e[1] || (e[1] = (l) => _("add")),
69
- type: "primary"
70
- }, {
71
- default: i(() => [
72
- f("新增弹框")
73
- ]),
74
- _: 1
75
- }),
76
- r(d, {
77
- onClick: e[2] || (e[2] = (l) => _("edit", "1111")),
78
- type: "primary"
79
- }, {
80
- default: i(() => [
81
- f("编辑弹框")
82
- ]),
83
- _: 1
84
- }),
85
- r(d, {
86
- onClick: e[3] || (e[3] = (l) => _("view", "1111")),
87
- type: "primary"
88
- }, {
89
- default: i(() => [
90
- f("查看弹框")
91
- ]),
92
- _: 1
93
- }),
94
- x((y(), A(N, {
95
- modelValue: o(m),
96
- "onUpdate:modelValue": e[6] || (e[6] = (l) => E(m) ? m.value = l : null),
97
- title: o(c),
98
- width: "30%",
99
- disabled: o(u),
100
- onCancel: V,
101
- onOk: D
102
- }, {
103
- footer: i(() => [
104
- r(d, {
105
- type: "primary",
106
- onClick: V
107
- }, {
108
- default: i(() => [
109
- f("自定义按钮")
110
- ]),
111
- _: 1
112
- })
113
- ]),
114
- default: i(() => [
115
- r(R, {
116
- ref_key: "formRef",
117
- ref: v,
118
- model: o(t),
119
- "label-width": "80px",
120
- rules: o($),
121
- disabled: o(u)
122
- }, {
123
- default: i(() => [
124
- r(k, {
125
- label: "始发港",
126
- prop: "departurePort"
127
- }, {
128
- default: i(() => [
129
- r(n, {
130
- modelValue: o(t).departurePort,
131
- "onUpdate:modelValue": e[4] || (e[4] = (l) => o(t).departurePort = l)
132
- }, null, 8, ["modelValue"])
133
- ]),
134
- _: 1
135
- }),
136
- r(k, {
137
- label: "目的港",
138
- prop: "destinationPort"
139
- }, {
140
- default: i(() => [
141
- r(n, {
142
- modelValue: o(t).destinationPort,
143
- "onUpdate:modelValue": e[5] || (e[5] = (l) => o(t).destinationPort = l)
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
- [q]
155
- ])
156
- ]);
157
- };
158
- }
159
- };
160
- export {
161
- K as default
162
- };
@@ -1,19 +0,0 @@
1
- import { resolveComponent as o, openBlock as n, createElementBlock as c, createTextVNode as e, createVNode as _, withCtx as r } from "vue";
2
- import { _ as s } from "./index-NpYJRFIi.mjs";
3
- const a = {}, d = { class: "home" };
4
- function l(f, m) {
5
- const t = o("el-button");
6
- return n(), c("div", d, [
7
- e(" 首页 "),
8
- _(t, null, {
9
- default: r(() => [
10
- e("1213")
11
- ]),
12
- _: 1
13
- })
14
- ]);
15
- }
16
- const u = /* @__PURE__ */ s(a, [["render", l], ["__scopeId", "data-v-5541444f"]]);
17
- export {
18
- u as default
19
- };
@@ -1,11 +0,0 @@
1
- import { resolveComponent as t, openBlock as e, createBlock as c } from "vue";
2
- import { _ as n } from "./index-NpYJRFIi.mjs";
3
- const r = {};
4
- function _(a, s) {
5
- const o = t("z-layout");
6
- return e(), c(o);
7
- }
8
- const m = /* @__PURE__ */ n(r, [["render", _]]);
9
- export {
10
- m as default
11
- };