@ecan-bi/datav 1.0.97 → 1.0.99
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/index.es.js +10 -9
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +8 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.99 */
|
|
2
2
|
var _a, _b, _c, _d;
|
|
3
3
|
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, normalizeStyle, createCommentVNode, provide, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createSlots, resolveDynamicComponent, mergeProps, withModifiers, withDirectives, vShow } from "vue";
|
|
4
4
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
@@ -1751,7 +1751,7 @@ const useRequestData = (props2, callBack = () => {
|
|
|
1751
1751
|
_params[key] = useVariablesInText(value);
|
|
1752
1752
|
}
|
|
1753
1753
|
});
|
|
1754
|
-
_params = { ...window.config.requestParams, ...
|
|
1754
|
+
_params = { ...window.config.requestParams, ...params, ..._params };
|
|
1755
1755
|
let urlParams = "";
|
|
1756
1756
|
const keys = Object.keys(_params);
|
|
1757
1757
|
const last = keys.length - 1;
|
|
@@ -6672,7 +6672,7 @@ const tableProps = {
|
|
|
6672
6672
|
paginationPosition: "bottomRight",
|
|
6673
6673
|
paginationPageSize: 10,
|
|
6674
6674
|
isUseAction: false,
|
|
6675
|
-
clickHighlight:
|
|
6675
|
+
clickHighlight: false,
|
|
6676
6676
|
actionList: [{
|
|
6677
6677
|
title: "",
|
|
6678
6678
|
href: "",
|
|
@@ -6876,7 +6876,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
6876
6876
|
deep: true,
|
|
6877
6877
|
immediate: true
|
|
6878
6878
|
});
|
|
6879
|
-
const orderCondition = ref(
|
|
6879
|
+
const orderCondition = ref("");
|
|
6880
6880
|
const requestData = useRequestData(props2);
|
|
6881
6881
|
const loading = ref(false);
|
|
6882
6882
|
const handleRequestData = async (isUseLoading = true) => {
|
|
@@ -6884,9 +6884,10 @@ const _sfc_main$1 = defineComponent({
|
|
|
6884
6884
|
try {
|
|
6885
6885
|
if (isUseLoading)
|
|
6886
6886
|
loading.value = true;
|
|
6887
|
-
let params = {
|
|
6888
|
-
|
|
6889
|
-
|
|
6887
|
+
let params = {};
|
|
6888
|
+
if (unref(orderCondition) != null) {
|
|
6889
|
+
params.orderCondition = unref(orderCondition);
|
|
6890
|
+
}
|
|
6890
6891
|
if (props2.paginationShow) {
|
|
6891
6892
|
params = {
|
|
6892
6893
|
pageNum: unref(pageNum),
|
|
@@ -7100,7 +7101,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
7100
7101
|
};
|
|
7101
7102
|
}
|
|
7102
7103
|
});
|
|
7103
|
-
const
|
|
7104
|
+
const Table_vue_vue_type_style_index_0_scoped_7b4da072_lang = "";
|
|
7104
7105
|
const Table_vue_vue_type_style_index_1_lang = "";
|
|
7105
7106
|
const _hoisted_1$1 = {
|
|
7106
7107
|
key: 1,
|
|
@@ -7218,7 +7219,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7218
7219
|
}, 8, ["loading"])
|
|
7219
7220
|
], 4);
|
|
7220
7221
|
}
|
|
7221
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
7222
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-7b4da072"]]);
|
|
7222
7223
|
const EcanTable = withInstall(Table);
|
|
7223
7224
|
const mapProps = {
|
|
7224
7225
|
...props,
|