liyu-pc-base 1.0.568 → 1.0.570
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.
- package/dist/components/index.js +33 -32
- package/dist/components/index.js.map +1 -1
- package/dist/components/remotePages/index.js +1 -1
- package/dist/liyu-pc-base.css +1 -1
- package/dist/{remotePages-CiKzUQeL.js → remotePages-CEpKQmQh.js} +2 -1
- package/dist/{remotePages-CiKzUQeL.js.map → remotePages-CEpKQmQh.js.map} +1 -1
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { t as N } from "../FieldRender2-DiKHvIoz.js";
|
|
|
17
17
|
import { t as ee } from "../SearchRender-Q1fp7s96.js";
|
|
18
18
|
import { t as P } from "../FormRender3-DpEP2DNt.js";
|
|
19
19
|
import { _ as F, a as I, c as L, d as R, f as te, g as ne, h as re, i as ie, l as ae, m as oe, o as se, p as ce, r as le, s as ue, t as de, u as fe, v as pe, y as me } from "../tablePro-CiVbedFl.js";
|
|
20
|
-
import { n as he, r as z } from "../remotePages-
|
|
20
|
+
import { n as he, r as z } from "../remotePages-CEpKQmQh.js";
|
|
21
21
|
import { gridPageStateSymbol as ge } from "./gridPage/utils.js";
|
|
22
22
|
import { Fragment as _e, KeepAlive as ve, Transition as ye, computed as B, createBlock as V, createCommentVNode as H, createElementBlock as U, createElementVNode as be, createTextVNode as xe, createVNode as W, customRef as Se, defineComponent as Ce, getCurrentInstance as we, h as Te, inject as Ee, isVNode as De, markRaw as Oe, mergeModels as ke, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeStyle as Ne, onActivated as Pe, onBeforeMount as Fe, onBeforeUnmount as Ie, onDeactivated as Le, onMounted as Re, onUnmounted as ze, openBlock as G, provide as Be, reactive as Ve, ref as K, render as He, renderList as Ue, renderSlot as We, resolveComponent as Ge, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as Je, unref as Ye, useModel as Xe, useSlots as Ze, vShow as Qe, watch as $e, watchEffect as et, withCtx as q, withDirectives as tt, withModifiers as nt } from "vue";
|
|
23
23
|
import { Modal as rt, message as it } from "ant-design-vue";
|
|
@@ -97309,7 +97309,7 @@ var oQ = function(e, t, n, r) {
|
|
|
97309
97309
|
t && Object.assign(n, t);
|
|
97310
97310
|
}
|
|
97311
97311
|
let i = wt();
|
|
97312
|
-
return i && (n.required_condition = i), r.config.get_db_alias && (n.db_alias = r.config.get_db_alias()), n;
|
|
97312
|
+
return i && (n.required_condition = i), r.config.get_db_alias && (n.db_alias = r.config.get_db_alias()), r.config.pivot_table_max_records && (n.max_records = r.config.pivot_table_max_records), n;
|
|
97313
97313
|
}, [Ce, we, { setFull: Te, exitFull: Ee }] = R(), De = async (e) => {
|
|
97314
97314
|
if (!Ae.value) {
|
|
97315
97315
|
v.value = [], z.current = 1, z.total = 0;
|
|
@@ -97858,7 +97858,7 @@ var oQ = function(e, t, n, r) {
|
|
|
97858
97858
|
}, 512)], 512);
|
|
97859
97859
|
};
|
|
97860
97860
|
}
|
|
97861
|
-
}), [["__scopeId", "data-v-
|
|
97861
|
+
}), [["__scopeId", "data-v-ef9ce202"]]), pQ = {
|
|
97862
97862
|
key: 0,
|
|
97863
97863
|
class: "pivot-echarts-loading"
|
|
97864
97864
|
}, mQ = {
|
|
@@ -98506,11 +98506,11 @@ var oQ = function(e, t, n, r) {
|
|
|
98506
98506
|
}), n;
|
|
98507
98507
|
} else return t;
|
|
98508
98508
|
}, y = (e) => {
|
|
98509
|
-
let t = e === "
|
|
98510
|
-
|
|
98511
|
-
let
|
|
98512
|
-
if (
|
|
98513
|
-
for (let e of o.pageConfig.base_search_condition_config_list || []) for (let t of e.group || [])
|
|
98509
|
+
let t = e === "normal", n = e === "pivot", r = e === "pivot_charts", i = "", a = "";
|
|
98510
|
+
n ? (i = "pivot-", a = "pivot:") : r && (i = "pivotcharts-", a = "pivotcharts:");
|
|
98511
|
+
let u = o.pageConfig.is_show_normal_search || o.pageConfig.is_show_advantage, d = o.pageConfig.is_show_advantage, f = [], p = [];
|
|
98512
|
+
if (u) if (d) {
|
|
98513
|
+
for (let e of o.pageConfig.base_search_condition_config_list || []) for (let t of e.group || []) f.push({
|
|
98514
98514
|
...t,
|
|
98515
98515
|
group_name: e.name
|
|
98516
98516
|
});
|
|
@@ -98520,7 +98520,7 @@ var oQ = function(e, t, n, r) {
|
|
|
98520
98520
|
conditions: [],
|
|
98521
98521
|
viewSearchConfig: {}
|
|
98522
98522
|
};
|
|
98523
|
-
for (let e of
|
|
98523
|
+
for (let e of f) t.viewSearchConfig[e.field_name] = {
|
|
98524
98524
|
checked: !1,
|
|
98525
98525
|
order: 9999
|
|
98526
98526
|
};
|
|
@@ -98529,16 +98529,16 @@ var oQ = function(e, t, n, r) {
|
|
|
98529
98529
|
checked: !0,
|
|
98530
98530
|
order: n
|
|
98531
98531
|
}, n++;
|
|
98532
|
-
|
|
98532
|
+
p.push(t);
|
|
98533
98533
|
}
|
|
98534
98534
|
} else {
|
|
98535
98535
|
let e = o.pageConfig.searchConfig;
|
|
98536
|
-
if (e) for (let t of e.fields)
|
|
98536
|
+
if (e) for (let t of e.fields) f.push(_(t, e.model || {}, e.options || {}));
|
|
98537
98537
|
}
|
|
98538
|
-
let
|
|
98539
|
-
window.location.hash && (
|
|
98540
|
-
let
|
|
98541
|
-
if (
|
|
98538
|
+
let m = "";
|
|
98539
|
+
window.location.hash && (m = window.location.hash.substring(1), a ? m = m.startsWith(a) ? m.substring(a.length) : "" : (m.startsWith("pivot:") || m.startsWith("pivotcharts:")) && (m = ""));
|
|
98540
|
+
let h = null, g = {};
|
|
98541
|
+
if (d) {
|
|
98542
98542
|
let e = null;
|
|
98543
98543
|
Array.isArray(o.pageConfig.advanced_base_conditions) && o.pageConfig.advanced_base_conditions.length > 0 && (e = o.pageConfig.advanced_base_conditions);
|
|
98544
98544
|
let t = [];
|
|
@@ -98550,16 +98550,16 @@ var oQ = function(e, t, n, r) {
|
|
|
98550
98550
|
format: "input",
|
|
98551
98551
|
class_name: "str"
|
|
98552
98552
|
});
|
|
98553
|
-
}), e?.length > 0 && t?.length > 0 ?
|
|
98553
|
+
}), e?.length > 0 && t?.length > 0 ? h = [{
|
|
98554
98554
|
op: "and",
|
|
98555
98555
|
children: e
|
|
98556
98556
|
}, {
|
|
98557
98557
|
op: "and",
|
|
98558
98558
|
children: t
|
|
98559
|
-
}] : e?.length > 0 ?
|
|
98560
|
-
} else Object.assign(
|
|
98561
|
-
let
|
|
98562
|
-
return s.HAS_ACTION_BTN(o.pageConfig) &&
|
|
98559
|
+
}] : e?.length > 0 ? h = e : t?.length > 0 && (h = t);
|
|
98560
|
+
} else Object.assign(g, v());
|
|
98561
|
+
let y = (o.pageConfig.baseColumns || []).filter((e) => e.dataIndex !== "action");
|
|
98562
|
+
return s.HAS_ACTION_BTN(o.pageConfig) && y.push({
|
|
98563
98563
|
title: c("操作"),
|
|
98564
98564
|
width: 50,
|
|
98565
98565
|
dataIndex: "action",
|
|
@@ -98567,36 +98567,37 @@ var oQ = function(e, t, n, r) {
|
|
|
98567
98567
|
fixed: "right",
|
|
98568
98568
|
cellComponent: "action"
|
|
98569
98569
|
}), {
|
|
98570
|
-
key: `${
|
|
98570
|
+
key: `${i}remotePagesV2-${o.modalType}`,
|
|
98571
98571
|
title: l.query?.customTitle || l.meta.title || "",
|
|
98572
98572
|
tableSize: "small",
|
|
98573
98573
|
search_display_type: "hide",
|
|
98574
|
-
search_type:
|
|
98574
|
+
search_type: d ? "advanced" : "simple",
|
|
98575
98575
|
is_selection: o.pageConfig.is_selection,
|
|
98576
98576
|
is_pagination: o.pageConfig.is_pagination,
|
|
98577
98577
|
list_url: o.pageConfig.queryData,
|
|
98578
98578
|
setting_mode: "drawer",
|
|
98579
98579
|
pivot_charts_url: o.pageConfig.queryData ? o.pageConfig.queryData.replace("_list", "_pivot_charts") : void 0,
|
|
98580
98580
|
pivot_table_url: o.pageConfig.queryData ? o.pageConfig.queryData.replace("_list", "_pivot_table") : void 0,
|
|
98581
|
-
|
|
98582
|
-
|
|
98581
|
+
pivot_table_max_records: o.pageConfig.pivot_table_max_records,
|
|
98582
|
+
search_config: f,
|
|
98583
|
+
columns: y,
|
|
98583
98584
|
show_current_view: !0,
|
|
98584
98585
|
enable_custom_filter: !0,
|
|
98585
|
-
enable_advanced_search_multigroups:
|
|
98586
|
-
default_advanced_search_multigroups:
|
|
98587
|
-
condition_group_config_list:
|
|
98586
|
+
enable_advanced_search_multigroups: d,
|
|
98587
|
+
default_advanced_search_multigroups: p,
|
|
98588
|
+
condition_group_config_list: d ? o.pageConfig.condition_group_config_list || [] : null,
|
|
98588
98589
|
query_group_url: o.pageConfig.queryConditionGroupData,
|
|
98589
98590
|
refreshType: o.pageConfig.refresh_type,
|
|
98590
98591
|
pageSize: o.pageConfig.pageSize,
|
|
98591
98592
|
pageSizeOptions: o.pageConfig.page_size_options,
|
|
98592
|
-
view_uid:
|
|
98593
|
-
base_conditions:
|
|
98594
|
-
query_params:
|
|
98593
|
+
view_uid: m,
|
|
98594
|
+
base_conditions: h,
|
|
98595
|
+
query_params: g,
|
|
98595
98596
|
btn_list: o.pageConfig.btn_list || [],
|
|
98596
98597
|
head_btn_list: o.pageConfig.head_btn_list || [],
|
|
98597
98598
|
batch_update_list: o.pageConfig.batch_update_list || [],
|
|
98598
98599
|
required_condition: o.pageConfig.required_condition,
|
|
98599
|
-
count_url: o.pageConfig.countData,
|
|
98600
|
+
count_url: t ? o.pageConfig.countData : void 0,
|
|
98600
98601
|
customRow: o.pageConfig.customRow || void 0,
|
|
98601
98602
|
customHeaderCell: o.pageConfig.customHeaderCell || void 0,
|
|
98602
98603
|
customCell: o.pageConfig.customCell || void 0,
|
|
@@ -98698,7 +98699,7 @@ var oQ = function(e, t, n, r) {
|
|
|
98698
98699
|
}, 8, ["config", "eventBus"])) : H("", !0)], 1024))]);
|
|
98699
98700
|
};
|
|
98700
98701
|
}
|
|
98701
|
-
}), [["__scopeId", "data-v-
|
|
98702
|
+
}), [["__scopeId", "data-v-8154df7e"]]), wQ = {
|
|
98702
98703
|
key: 0,
|
|
98703
98704
|
class: "pri-page"
|
|
98704
98705
|
}, TQ = { class: "pri-wrapper" }, EQ = { class: "right-wrapper" }, DQ = /*#__PURE__*/ m(/* @__PURE__ */ Ce({
|