diry 2 týždňov pred
rodič
commit
e0d407d998

+ 1 - 1
lib/config.json

@@ -1 +1 @@
-{"_hash":1793258097297,"VITE_APP_PROJECT_NAME":"前端项目架构","VITE_APP_VERSION":"v1.0","VITE_APP_JSS_LICENSE":"","VITE_APP_TITLE":"平台","VITE_APP_BASE_URL":"/","VITE_APP_FOOTER_VISIBLE":false,"VITE_APP_LOGIN_PHONE":false,"VITE_APP_LOGIN_QRCODE":false,"VITE_APP_MESSAGE_VISIBLE":true,"VITE_APP_LANG_ENABLE":true,"VITE_APP_LANG":"zh","VITE_APP_API_PATH":"/apig","VITE_APP_SYS_SERVER_NAME":"portal","VITE_APP_MESSAGE_SERVER_NAME":"message","VITE_APP_PORTAL_SERVER_NAME":"portal","VITE_APP_FLOW_SERVER_NAME":"flow","VITE_APP_CLIENT_ID":"mm0001","VITE_APP_PREVIEW_ONLINE":"/filePreview/onlinePreview?url=","VITE_APP_WEB_SITE":"https://sapit.com.cn/#/home","VITE_APP_LOGIN_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_BASE_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_SOCKET_URL":"/","VITE_APP_SOCKET_PATH":"/apig/ws/websocket","VITE_CONFIG_MODE":false,"VITE_APP_API_BASE_URL":"http://192.168.200.7:6801","VITE_APP_API_FILE_URL":"/","VITE_APP_MENU_THEME":"dark","VITE_APP_MENU_BAR":"left","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_THEME_VALUE":"blue","VITE_APP_THEME":{"blue":{"name":"blue","color":"#1677FF","lightColor":"\t#6495ED","darkColor":"#00008B","borderColor":"#B0C4DE","bgColor":"#f0f2f5"},"green":{"name":"green","color":"#00b96b","lightColor":"#90EE90","darkColor":"#3CB371","borderColor":"#98FB98","bgColor":"#F0FFF0"},"orange":{"name":"orange","color":"#FFA500","lightColor":"\t#FFE4B5","darkColor":"#FF8C00","borderColor":"#FFDEAD","bgColor":"#FFEFD5"}},"VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_USER_NODE_ENV":"production"}
+{"_hash":1793258954128,"VITE_APP_PROJECT_NAME":"前端项目架构","VITE_APP_VERSION":"v1.0","VITE_APP_JSS_LICENSE":"","VITE_APP_TITLE":"平台","VITE_APP_BASE_URL":"/","VITE_APP_FOOTER_VISIBLE":false,"VITE_APP_LOGIN_PHONE":false,"VITE_APP_LOGIN_QRCODE":false,"VITE_APP_MESSAGE_VISIBLE":true,"VITE_APP_LANG_ENABLE":true,"VITE_APP_LANG":"zh","VITE_APP_API_PATH":"/apig","VITE_APP_SYS_SERVER_NAME":"portal","VITE_APP_MESSAGE_SERVER_NAME":"message","VITE_APP_PORTAL_SERVER_NAME":"portal","VITE_APP_FLOW_SERVER_NAME":"flow","VITE_APP_CLIENT_ID":"mm0001","VITE_APP_PREVIEW_ONLINE":"/filePreview/onlinePreview?url=","VITE_APP_WEB_SITE":"https://sapit.com.cn/#/home","VITE_APP_LOGIN_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_BASE_CASE_NAME":"辽ICP备14008719号-2","VITE_APP_SOCKET_URL":"/","VITE_APP_SOCKET_PATH":"/apig/ws/websocket","VITE_CONFIG_MODE":false,"VITE_APP_API_BASE_URL":"http://192.168.200.7:6801","VITE_APP_API_FILE_URL":"/","VITE_APP_MENU_THEME":"dark","VITE_APP_MENU_BAR":"left","VITE_APP_LOGIN_PATH_THEME":"3","VITE_APP_THEME_VALUE":"blue","VITE_APP_THEME":{"blue":{"name":"blue","color":"#1677FF","lightColor":"\t#6495ED","darkColor":"#00008B","borderColor":"#B0C4DE","bgColor":"#f0f2f5"},"green":{"name":"green","color":"#00b96b","lightColor":"#90EE90","darkColor":"#3CB371","borderColor":"#98FB98","bgColor":"#F0FFF0"},"orange":{"name":"orange","color":"#FFA500","lightColor":"\t#FFE4B5","darkColor":"#FF8C00","borderColor":"#FFDEAD","bgColor":"#FFEFD5"}},"VITE_APP_LOGIN_PATH":"/login","VITE_APP_DEFAULT_PATH":"/workplace/index","VITE_USER_NODE_ENV":"production"}

+ 1 - 1
lib/js/index.js

@@ -1,6 +1,6 @@
 import "vue";
 import "ant-design-vue";
-import { dI as i } from "./index2.js";
+import { dJ as i } from "./index2.js";
 import "pinia";
 export {
   i as default

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 266 - 220
lib/js/index2.js


+ 1 - 1
lib/js/login.js

@@ -14,7 +14,7 @@ var oA = (A, e, w) => new Promise((B, g) => {
   }, P = (Y) => Y.done ? B(Y.value) : Promise.resolve(Y.value).then(r, x);
   P((w = w.apply(A, e)).next());
 });
-import { g as Hw, m as Lw, d as MA, r as Ow, u as xw, _ as mA, i as VB, ax as Zw, dc as pA, f as bw, av as lw, aw as FB, o as Gw, ck as k, dd as dw, cl as aw, n as XA, de as oB, df as NB, dg as uw, dh as yw, ad as Xw, di as jw, dj as Vw, dk as Fw, I as ow, d7 as Nw, B as mw, a6 as Jw, a7 as kw, ao as Kw, dl as Ew, dm as Iw } from "./index2.js";
+import { g as Hw, m as Lw, d as MA, r as Ow, u as xw, _ as mA, i as VB, ax as Zw, dd as pA, f as bw, av as lw, aw as FB, o as Gw, ck as k, de as dw, cl as aw, n as XA, df as oB, dg as NB, dh as uw, di as yw, ad as Xw, dj as jw, dk as Vw, dl as Fw, I as ow, d7 as Nw, B as mw, a6 as Jw, a7 as kw, ao as Kw, dm as Ew, dn as Iw } from "./index2.js";
 import { createVNode as m, defineComponent as mB, ref as ig, onMounted as pw, onUpdated as Tw, onBeforeUnmount as Sw, openBlock as N, createElementBlock as I, normalizeStyle as sA, createElementVNode as F, withDirectives as ug, vShow as yg, Transition as Uw, withCtx as S, normalizeClass as yA, toDisplayString as R, createCommentVNode as _, Fragment as JB, renderList as kB, createTextVNode as WA, createBlock as CA, resolveDynamicComponent as KB, resolveComponent as Gg, withModifiers as dA } from "vue";
 import { F as iw, _ as qw } from "./index4.js";
 import { T as hw, _ as Rw } from "./index11.js";

+ 4 - 4
lib/js/message.js

@@ -14,8 +14,8 @@ var h = (T, r, d) => new Promise((R, _) => {
   }, p = (s) => s.done ? R(s.value) : Promise.resolve(s.value).then($, e);
   p((d = d.apply(T, r)).next());
 });
-import { ref as D, reactive as N, onMounted as j, resolveComponent as K, openBlock as Y, createBlock as k, withCtx as n, createVNode as o, createElementVNode as y, toDisplayString as u, createCommentVNode as A } from "vue";
-import { I as S, dD as F, dE as G, dF as H, dG as L, dH as O, dA as q, dB as x, ai as b } from "./index2.js";
+import { ref as D, reactive as N, onMounted as j, resolveComponent as K, openBlock as Y, createBlock as k, withCtx as n, createVNode as o, createElementVNode as y, toDisplayString as u, createCommentVNode as S } from "vue";
+import { I as A, dE as F, dF as G, dG as H, dH as L, dI as O, dB as q, dC as x, ai as b } from "./index2.js";
 import { T as z, _ as J } from "./index11.js";
 import { R as Q } from "./dayjs.js";
 const W = ["onClick"], X = !1, oe = {
@@ -108,7 +108,7 @@ const W = ["onClick"], X = !1, oe = {
     return j(() => {
       E(), p.value = s;
     }), (t, a) => {
-      const g = S, v = K("s-filter-item"), m = Q, f = K("s-filter-wrap"), l = J, c = z, P = K("s-list-layout");
+      const g = A, v = K("s-filter-item"), m = Q, f = K("s-filter-wrap"), l = J, c = z, P = K("s-list-layout");
       return Y(), k(P, {
         ref_key: "layout",
         ref: r,
@@ -160,7 +160,7 @@ const W = ["onClick"], X = !1, oe = {
                   }, null, 8, ["value"])
                 ]),
                 _: 1
-              }, 8, ["label"])) : A("", !0)
+              }, 8, ["label"])) : S("", !0)
             ]),
             _: 1
           })

+ 1 - 1
lib/js/s-list-card-layout.js

@@ -1,5 +1,5 @@
 import { resolveComponent as e, openBlock as o, createBlock as a } from "vue";
-const _ = /* @__PURE__ */ Object.assign({ name: "SListCardLayout" }, {
+const _ = /* @__PURE__ */ Object.assign({ name: "TplListCardLayout" }, {
   __name: "s-list-card-layout",
   setup(s) {
     return (r, c) => {

+ 24 - 6
lib/js/s-list-layout.js

@@ -1,13 +1,31 @@
-import { resolveComponent as e, openBlock as o, createBlock as s } from "vue";
-const l = /* @__PURE__ */ Object.assign({ name: "SListLayout" }, {
+import { ref as s, reactive as c, resolveComponent as r, openBlock as p, createBlock as _ } from "vue";
+import { dc as m } from "./index2.js";
+function f(n, o) {
+  const e = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
+  return window.$utils.http({
+    url: `/${e}/position/page?${m.stringify(o)}`,
+    data: n
+  });
+}
+const g = /* @__PURE__ */ Object.assign({ name: "TplListLayout" }, {
   __name: "s-list-layout",
   setup(n) {
-    return (a, _) => {
-      const t = e("s-list-layout", !0);
-      return o(), s(t, { title: "基础列表" });
+    const o = s([]), e = s([]), l = c({}), i = (t = {}) => f(l, t), a = () => {
+    };
+    return (t, d) => {
+      const u = r("s-list-layout", !0);
+      return p(), _(u, {
+        ref: "layout",
+        buttons: o.value,
+        onReset: a,
+        columns: e.value,
+        loadData: i,
+        isSelection: t.isSelection,
+        title: t.$l("基础列表")
+      }, null, 8, ["buttons", "columns", "isSelection", "title"]);
     };
   }
 });
 export {
-  l as default
+  g as default
 };

+ 3 - 3
lib/js/s-list-table-tree-layout.js

@@ -1,8 +1,8 @@
 import { resolveComponent as t, openBlock as o, createBlock as a } from "vue";
-const n = /* @__PURE__ */ Object.assign({ name: "SListTableTreeLayout" }, {
+const n = /* @__PURE__ */ Object.assign({ name: "TplListTableTreeLayout" }, {
   __name: "s-list-table-tree-layout",
-  setup(s) {
-    return (l, r) => {
+  setup(l) {
+    return (s, r) => {
       const e = t("s-list-table-tree-layout", !0);
       return o(), a(e, { title: "树形列表" });
     };

+ 2 - 2
lib/js/s-skeleton-layout.js

@@ -1,8 +1,8 @@
 import { resolveComponent as t, openBlock as o, createBlock as n } from "vue";
-const c = /* @__PURE__ */ Object.assign({ name: "SSkeletonLayout" }, {
+const c = /* @__PURE__ */ Object.assign({ name: "TplSkeletonLayout" }, {
   __name: "s-skeleton-layout",
   setup(s) {
-    return (a, l) => {
+    return (l, a) => {
       const e = t("s-skeleton-layout", !0);
       return o(), n(e, { title: "骨架布局" });
     };

+ 3 - 3
lib/js/s-super-list-layout.js

@@ -1,13 +1,13 @@
 import { resolveComponent as e, openBlock as s, createBlock as o } from "vue";
-const a = /* @__PURE__ */ Object.assign({ name: "SSuperListLayout" }, {
+const _ = /* @__PURE__ */ Object.assign({ name: "TplSuperListLayout" }, {
   __name: "s-super-list-layout",
   setup(r) {
-    return (n, u) => {
+    return (n, p) => {
       const t = e("s-super-list-layout", !0);
       return s(), o(t, { title: "高级列表" });
     };
   }
 });
 export {
-  a as default
+  _ as default
 };

+ 1 - 1
lib/js/workplace.js

@@ -16,7 +16,7 @@ var se = (e, t, n) => new Promise((a, l) => {
 });
 import { defineComponent as q, computed as _, createVNode as o, isVNode as je, inject as rt, ref as j, provide as st, toRef as Me, watch as Ue, resolveComponent as Re, openBlock as P, createBlock as k, withCtx as B, createElementBlock as U, Fragment as be, renderList as Se, normalizeStyle as ct, unref as de, resolveDynamicComponent as qe, createTextVNode as pe, toDisplayString as H, onMounted as dt, createElementVNode as G, createCommentVNode as ye, normalizeClass as We } from "vue";
 import { useRouter as ut } from "vue-router";
-import { g as Le, m as Je, d as b, r as Xe, aH as xe, t as Ye, u as J, c as oe, _ as W, i as Ce, o as Oe, dn as me, aN as He, h as gt, dp as vt, bv as mt, dq as Qe, P as X, c6 as Pe, dc as le, F as pt, dr as ft, aV as ht, ds as yt, bK as Ge, dt as bt, ao as Ze, e as $e, ax as Ve, av as St, aw as Be, l as $t, b as xt, bG as Ct, L as It, aL as At, aM as Et, a3 as Tt, du as wt, bV as zt, bz as Pt, cS as ke, B as Ke, bW as Bt, f as ce, ay as Mt, K as Rt, ad as Dt, dv as ue, dw as Lt, n as Ot, C as Ht, dx as _t, dy as Nt, dz as jt, dA as Wt, dB as Gt, dC as Vt } from "./index2.js";
+import { g as Le, m as Je, d as b, r as Xe, aH as xe, t as Ye, u as J, c as oe, _ as W, i as Ce, o as Oe, dp as me, aN as He, h as gt, dq as vt, bv as mt, dr as Qe, P as X, c6 as Pe, dd as le, F as pt, ds as ft, aV as ht, dt as yt, bK as Ge, du as bt, ao as Ze, e as $e, ax as Ve, av as St, aw as Be, l as $t, b as xt, bG as Ct, L as It, aL as At, aM as Et, a3 as Tt, dv as wt, bV as zt, bz as Pt, cS as ke, B as Ke, bW as Bt, f as ce, ay as Mt, K as Rt, ad as Dt, dw as ue, dx as Lt, n as Ot, C as Ht, dy as _t, dz as Nt, dA as jt, dB as Wt, dC as Gt, dD as Vt } from "./index2.js";
 import { T as _e, _ as kt } from "./index11.js";
 import { u as Ie, E as Ne, s as Ae, S as V, a as et } from "./Skeleton.js";
 import { _ as Ft } from "./index5.js";

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov