diry3943542 1 éve
szülő
commit
ae1bf89ff5

+ 1 - 1
lib/config.json

@@ -1 +1 @@
-{"_hash":1727663451747,"VITE_APP_API_BASE_URL":"http://192.168.200.14:2002","VITE_APP_API_FILE_URL":"/","VITE_APP_SOCKET_URL":"/","VITE_USER_NODE_ENV":"production"}
+{"_hash":1727666553896,"VITE_APP_API_BASE_URL":"http://192.168.200.14:2002","VITE_APP_API_FILE_URL":"/","VITE_APP_SOCKET_URL":"/","VITE_USER_NODE_ENV":"production"}

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
lib/css/style.css


+ 2 - 2
lib/js/SFormLayout.js

@@ -1356,7 +1356,7 @@ const V = (t, e) => {
       this.$nextTick(() => {
         var r, u, d, s, a, f, l, C, h;
         const t = ((u = (r = this.$refs) == null ? void 0 : r.step) == null ? void 0 : u.offsetHeight) || 0, e = ((s = (d = this.$refs) == null ? void 0 : d.tabs) == null ? void 0 : s.offsetHeight) || 0, i = ((f = (a = this.$refs) == null ? void 0 : a.footer) == null ? void 0 : f.offsetHeight) || 0, n = ((C = (l = this.$refs) == null ? void 0 : l.tools) == null ? void 0 : C.offsetHeight) || 0;
-        this.height = this.$refs.layout.parentNode.offsetHeight + "px", this.layoutHeight = this.$refs.layout.parentNode.offsetHeight - i - (t > 0 ? t + 16 : 0) - e - n + "px";
+        this.height = this.$refs.layout.offsetHeight + "px", this.layoutHeight = this.$refs.layout.offsetHeight - i - (t > 0 ? t + 16 : 0) - e - n + "px";
         const o = !this.$slots.collapses || this.$slots.collapses && !this.showAnchor ? 0 : 220;
         this.footerWitdh = ((h = this.$refs.formMain) == null ? void 0 : h.offsetWidth) - o + "px";
       });
@@ -1558,7 +1558,7 @@ function le(t, e, i, n, o, r) {
     }, 8, ["spinning"])
   ], 4);
 }
-const pe = /* @__PURE__ */ wt(Yt, [["render", le], ["__scopeId", "data-v-4331e376"]]);
+const pe = /* @__PURE__ */ wt(Yt, [["render", le], ["__scopeId", "data-v-b05d2988"]]);
 export {
   pe as default
 };

+ 39 - 39
lib/js/SListCardLayout.js

@@ -1,7 +1,7 @@
-import { h as F, resolveComponent as m, resolveDirective as w, openBlock as i, createElementBlock as r, createElementVNode as d, toDisplayString as v, Fragment as W, renderList as M, withDirectives as p, createBlock as y, withCtx as f, resolveDynamicComponent as P, createCommentVNode as a, createTextVNode as b, vShow as g, renderSlot as u, normalizeStyle as h, createVNode as k, createStaticVNode as R } from "vue";
+import { h as F, resolveComponent as f, resolveDirective as _, openBlock as i, createElementBlock as r, createElementVNode as a, toDisplayString as v, Fragment as W, renderList as M, withDirectives as p, createBlock as m, withCtx as y, resolveDynamicComponent as P, createCommentVNode as d, createTextVNode as w, vShow as g, renderSlot as u, normalizeStyle as h, createVNode as k, createStaticVNode as R } from "vue";
 import { S as T } from "./index19.js";
 import { l as z, U as D, a9 as L } from "./index2.js";
-const N = {
+const I = {
   name: "SListLayout",
   components: {
     STable: T
@@ -126,7 +126,7 @@ const N = {
     },
     initComponent() {
       this.$nextTick(() => {
-        this.layoutHeight = this.$refs.layout.parentNode.offsetHeight - 50, this.pageSize = this.pSize, this.setLayoutHeight();
+        this.layoutHeight = this.$refs.layout.offsetHeight - 50, this.pageSize = this.pSize, this.setLayoutHeight();
       });
     },
     toggleFilter() {
@@ -234,7 +234,7 @@ const N = {
       }
     }
   }
-}, I = {
+}, N = {
   class: "list-layout",
   ref: "layout"
 }, x = { class: "tools" }, A = { class: "title" }, V = { class: "btns" }, K = {
@@ -261,26 +261,26 @@ const N = {
   ref: "tabs"
 }, Y = { class: "other" };
 function Z(e, t, s, c, o, l) {
-  const _ = D, S = m("down-outlined"), $ = m("up-outlined"), O = m("sync-outlined"), C = L, H = w("action"), B = w("sidedrag");
-  return i(), r("div", I, [
-    d("div", x, [
-      d("div", A, v(s.title), 1),
-      d("div", V, [
+  const b = D, S = f("down-outlined"), $ = f("up-outlined"), O = f("sync-outlined"), C = L, H = _("action"), B = _("sidedrag");
+  return i(), r("div", N, [
+    a("div", x, [
+      a("div", A, v(s.title), 1),
+      a("div", V, [
         (i(!0), r(W, null, M(o.renderButtons, (n) => (i(), r("span", {
           class: "item-btn",
           key: n.key
         }, [
-          p((i(), y(_, {
+          p((i(), m(b, {
             class: "btn",
             disabled: !!n.disabled,
             type: n.type || n.key === "add" ? "primary" : "default",
             onClick: (ee) => l.btnCallback(n)
           }, {
-            icon: f(() => [
-              l.renderIcon(n) ? (i(), y(P(l.renderIcon(n)), { key: 0 })) : a("", !0)
+            icon: y(() => [
+              l.renderIcon(n) ? (i(), m(P(l.renderIcon(n)), { key: 0 })) : d("", !0)
             ]),
-            default: f(() => [
-              b(" " + v(n.name), 1)
+            default: y(() => [
+              w(" " + v(n.name), 1)
             ]),
             _: 2
           }, 1032, ["disabled", "type", "onClick"])), [
@@ -290,10 +290,10 @@ function Z(e, t, s, c, o, l) {
         ]))), 128)),
         e.$slots.otherBtns ? (i(), r("span", K, [
           u(e.$slots, "otherBtns", { selections: o.selectedRowKeys }, void 0, !0)
-        ])) : a("", !0)
+        ])) : d("", !0)
       ])
     ]),
-    d("div", {
+    a("div", {
       class: "list-layout-main",
       style: h({ height: o.layoutHeight + "px" })
     }, [
@@ -304,14 +304,14 @@ function Z(e, t, s, c, o, l) {
         style: h([{ height: o.layoutHeight + "px", width: o.sideWidth + "px" }, { "overflow-y": "auto" }])
       }, [
         u(e.$slots, "tree", {}, void 0, !0)
-      ], 4)) : a("", !0),
+      ], 4)) : d("", !0),
       e.$slots.tree ? p((i(), r("div", {
         key: 1,
         class: "side-bar",
         style: h({ height: o.layoutHeight + "px", backgroundColor: e.$theme.bgColor })
       }, null, 4)), [
         [B, o._]
-      ]) : a("", !0),
+      ]) : d("", !0),
       e.$slots.empty ? (i(), r("div", {
         key: 3,
         class: "layout-list-content",
@@ -323,9 +323,9 @@ function Z(e, t, s, c, o, l) {
         class: "layout-list-content",
         style: h({ height: o.layoutHeight - 1 + "px" })
       }, [
-        p(d("div", E, [
+        p(a("div", E, [
           e.$slots.filter ? (i(), r("div", X, [
-            d("div", q, [
+            a("div", q, [
               u(e.$slots, "filter", {}, void 0, !0)
             ]),
             e.$slots.filterMore ? (i(), r("a", {
@@ -333,29 +333,29 @@ function Z(e, t, s, c, o, l) {
               class: "filter-more-btn",
               onClick: t[0] || (t[0] = (...n) => l.toggleFilter && l.toggleFilter(...n))
             }, [
-              b(v(o.isMoreFilter ? "收起" : "更多") + " ", 1),
-              o.isMoreFilter ? (i(), y($, {
+              w(v(o.isMoreFilter ? "收起" : "更多") + " ", 1),
+              o.isMoreFilter ? (i(), m($, {
                 key: 1,
                 style: { "font-size": "12px" }
-              })) : (i(), y(S, {
+              })) : (i(), m(S, {
                 key: 0,
                 style: { "font-size": "12px" }
               }))
-            ])) : a("", !0),
+            ])) : d("", !0),
             e.$slots.filter ? (i(), r("div", U, [
               k(C, {
                 placement: "top",
                 overlayStyle: { maxWidth: "500px" }
               }, {
-                title: f(() => t[1] || (t[1] = [
-                  d("span", null, "条件重置", -1)
+                title: y(() => t[1] || (t[1] = [
+                  a("span", null, "条件重置", -1)
                 ])),
-                default: f(() => [
-                  k(_, {
+                default: y(() => [
+                  k(b, {
                     style: { "padding-bottom": "2px" },
                     onClick: l.filterReset
                   }, {
-                    icon: f(() => [
+                    icon: y(() => [
                       k(O)
                     ]),
                     _: 1
@@ -363,24 +363,24 @@ function Z(e, t, s, c, o, l) {
                 ]),
                 _: 1
               })
-            ])) : a("", !0)
-          ])) : a("", !0),
+            ])) : d("", !0)
+          ])) : d("", !0),
           e.$slots.filterMore ? p((i(), r("div", j, [
             u(e.$slots, "filterMore", {}, void 0, !0)
           ], 512)), [
             [g, o.isMoreFilter]
-          ]) : a("", !0),
+          ]) : d("", !0),
           e.$slots.desc ? (i(), r("div", G, [
             u(e.$slots, "desc", {}, void 0, !0)
-          ])) : a("", !0)
+          ])) : d("", !0)
         ], 512), [
           [g, e.$slots.filter]
         ]),
-        d("div", J, [
+        a("div", J, [
           e.$slots.tabs ? (i(), r("div", Q, [
             u(e.$slots, "tabs", {}, void 0, !0)
-          ], 512)) : a("", !0),
-          d("div", {
+          ], 512)) : d("", !0),
+          a("div", {
             class: "table-container",
             style: h({
               display: "grid",
@@ -389,17 +389,17 @@ function Z(e, t, s, c, o, l) {
               height: o.tableScrollPx - 1 + "px"
             })
           }, t[2] || (t[2] = [
-            R('<div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div><div class="item-card" data-v-83eef4d8></div>', 15)
+            R('<div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div><div class="item-card" data-v-7b064537></div>', 15)
           ]), 4)
         ])
       ], 4))
     ], 4),
-    d("div", Y, [
+    a("div", Y, [
       u(e.$slots, "other", {}, void 0, !0)
     ])
   ], 512);
 }
-const oe = /* @__PURE__ */ z(N, [["render", Z], ["__scopeId", "data-v-83eef4d8"]]);
+const oe = /* @__PURE__ */ z(I, [["render", Z], ["__scopeId", "data-v-7b064537"]]);
 export {
   oe as default
 };

+ 2 - 2
lib/js/SListTableTreeLayout.js

@@ -1315,7 +1315,7 @@ const ol = w({
     },
     initTable() {
       this.$nextTick(() => {
-        this.layoutHeight = this.$refs.layout.parentNode.offsetHeight - 50, this.setLayoutHeight(), this.renderColumns = this.columns.map((l) => ((l.template || l.isClick || l.dataIndex === "action" && !l.customRender) && !l.scopedSlots && (l.scopedSlots = { customRender: l.dataIndex }), l)), this.reload();
+        this.layoutHeight = this.$refs.layout.offsetHeight - 50, this.setLayoutHeight(), this.renderColumns = this.columns.map((l) => ((l.template || l.isClick || l.dataIndex === "action" && !l.customRender) && !l.scopedSlots && (l.scopedSlots = { customRender: l.dataIndex }), l)), this.reload();
       });
     },
     initComponent() {
@@ -1660,7 +1660,7 @@ function xl(l, n, e, i, a, s) {
     ])
   ], 512);
 }
-const Ul = /* @__PURE__ */ G(cl, [["render", xl], ["__scopeId", "data-v-6df2e6bf"]]);
+const Ul = /* @__PURE__ */ G(cl, [["render", xl], ["__scopeId", "data-v-5c322bcd"]]);
 export {
   Ul as default
 };

+ 2 - 2
lib/js/SSuperListLayout.js

@@ -172,7 +172,7 @@ const V = {
     },
     initTable(e) {
       this.$nextTick(() => {
-        this.layoutHeight = this.$refs.layout.parentNode.offsetHeight - 50, this.setLayoutHeight(), this.pageSize = this.pSize, this.renderColumns = e.map((t) => ((t.template || t.isClick || t.dataIndex === "action" && !t.customRender) && !t.scopedSlots && (t.scopedSlots = { customRender: t.dataIndex }), (t.dataIndex === "action" || t.title === "操作") && (t.fixed = "right"), t));
+        this.layoutHeight = this.$refs.layout.offsetHeight - 50, this.setLayoutHeight(), this.pageSize = this.pSize, this.renderColumns = e.map((t) => ((t.template || t.isClick || t.dataIndex === "action" && !t.customRender) && !t.scopedSlots && (t.scopedSlots = { customRender: t.dataIndex }), (t.dataIndex === "action" || t.title === "操作") && (t.fixed = "right"), t));
       });
     },
     initComponent(e = []) {
@@ -439,7 +439,7 @@ function Z(e, t, i, h, n, p) {
     ])
   ], 512);
 }
-const ie = /* @__PURE__ */ A(V, [["render", Z], ["__scopeId", "data-v-5a1534b7"]]);
+const ie = /* @__PURE__ */ A(V, [["render", Z], ["__scopeId", "data-v-c0bcfa3f"]]);
 export {
   ie as default
 };

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
lib/js/index.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 153 - 153
lib/js/index2.js


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott