@ecan-bi/datav 1.0.40 → 1.0.43
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 +757 -201
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +755 -199
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +137 -74
- package/package.json +1 -1
- package/types/_utils/constant.d.ts +2 -1
- package/types/_utils/hooks/index.d.ts +2 -0
- package/types/_utils/hooks/useHrefParamsToGlobalVariables.d.ts +2 -0
- package/types/_utils/hooks/useIndicatorData.d.ts +4 -0
- package/types/common/echarts/Echarts.d.ts +418 -0
- package/types/common/echarts/index.d.ts +2 -2
- package/types/common/index.d.ts +1 -1
- package/types/common/skeleton/Skeleton.vue.d.ts +14 -0
- package/types/common/skeleton/index.d.ts +2 -0
- package/types/container/border/Border.vue.d.ts +54 -54
- package/types/container/border/props.d.ts +54 -54
- package/types/container/modal/Modal.vue.d.ts +1 -1
- package/types/container/modal/index.d.ts +1 -1
- package/types/control/button/Button.vue.d.ts +110 -0
- package/types/control/button/index.d.ts +111 -1
- package/types/control/button/props.d.ts +104 -44
- package/types/control/date-picker/props.d.ts +52 -52
- package/types/control/input/props.d.ts +48 -48
- package/types/control/range-picker/RangePicker.vue.d.ts +52 -52
- package/types/control/range-picker/props.d.ts +52 -52
- package/types/control/select/Select.vue.d.ts +50 -50
- package/types/control/select/props.d.ts +50 -50
- package/types/graph/bar/Bar.vue.d.ts +128 -128
- package/types/graph/bar/index.d.ts +128 -128
- package/types/graph/bar/props.d.ts +65 -65
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +155 -0
- package/types/graph/combo-graph/index.d.ts +155 -0
- package/types/graph/combo-graph/props.d.ts +72 -0
- package/types/graph/custom-graph/props.d.ts +48 -48
- package/types/graph/line/Line.vue.d.ts +155 -0
- package/types/graph/line/index.d.ts +155 -0
- package/types/graph/line/props.d.ts +72 -0
- package/types/graph/pie/Pie.vue.d.ts +155 -0
- package/types/graph/pie/index.d.ts +155 -0
- package/types/graph/pie/props.d.ts +72 -0
- package/types/graph/scatter/Scatter.vue.d.ts +155 -0
- package/types/graph/scatter/index.d.ts +155 -0
- package/types/graph/scatter/props.d.ts +72 -0
- package/types/map/map/props.d.ts +112 -112
- package/types/media/image/props.d.ts +52 -52
- package/types/table/table/Table.vue.d.ts +900 -79
- package/types/table/table/index.d.ts +899 -79
- package/types/table/table/props.d.ts +451 -39
- package/types/text/list/List.vue.d.ts +64 -64
- package/types/text/list/props.d.ts +64 -64
- package/types/text/proportion/Proportion.vue.d.ts +68 -68
- package/types/text/proportion/props.d.ts +68 -68
- package/types/text/text/Text.vue.d.ts +66 -66
- package/types/text/text/props.d.ts +66 -66
- package/types/text/time-display/props.d.ts +60 -60
package/dist/index.es.js
CHANGED
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
var _a, _b, _c;
|
|
21
|
-
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, ref, normalizeStyle, createCommentVNode, provide,
|
|
21
|
+
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, createTextVNode, createSlots, resolveDynamicComponent, mergeProps, withDirectives, vShow } from "vue";
|
|
22
22
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
23
23
|
import { addListener, removeListener } from "resize-detector";
|
|
24
24
|
import { Spin as Spin$1, Skeleton as Skeleton$1, message, Progress, Input as Input$1, DatePicker as DatePicker$1, Select as Select$1, RangePicker as RangePicker$1, Button as Button$1, Modal as Modal$1, Table as Table$1, TableSummary, TableSummaryRow, TableSummaryCell } from "ant-design-vue";
|
|
@@ -36,7 +36,7 @@ import "ant-design-vue/es/select/style";
|
|
|
36
36
|
import "ant-design-vue/es/button/style";
|
|
37
37
|
import { CanvasRenderer } from "echarts/renderers";
|
|
38
38
|
import { PieChart, LineChart, BarChart, ScatterChart, MapChart } from "echarts/charts";
|
|
39
|
-
import { TitleComponent, TooltipComponent, LegendComponent, DatasetComponent,
|
|
39
|
+
import { TitleComponent, ToolboxComponent, TooltipComponent, LegendComponent, DatasetComponent, VisualMapComponent, GraphicComponent } from "echarts/components";
|
|
40
40
|
import * as echarts from "echarts";
|
|
41
41
|
import "ant-design-vue/es/modal/style";
|
|
42
42
|
import "ant-design-vue/es/table/style";
|
|
@@ -133,7 +133,7 @@ const TAG_NAME = "x-vue-echarts";
|
|
|
133
133
|
const THEME_KEY = "ecTheme";
|
|
134
134
|
const INIT_OPTIONS_KEY = "ecInitOptions";
|
|
135
135
|
const UPDATE_OPTIONS_KEY = "ecUpdateOptions";
|
|
136
|
-
var
|
|
136
|
+
var Echarts = defineComponent({
|
|
137
137
|
name: "echarts",
|
|
138
138
|
props: __spreadValues(__spreadValues({
|
|
139
139
|
option: Object,
|
|
@@ -1396,10 +1396,10 @@ const _sfc_main$p = defineComponent({
|
|
|
1396
1396
|
};
|
|
1397
1397
|
}
|
|
1398
1398
|
});
|
|
1399
|
-
const _hoisted_1$
|
|
1399
|
+
const _hoisted_1$9 = { class: "spin-wrapper" };
|
|
1400
1400
|
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1401
1401
|
const _component_a_spin = resolveComponent("a-spin");
|
|
1402
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1402
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
1403
1403
|
_ctx.spinning ? (openBlock(), createBlock(_component_a_spin, {
|
|
1404
1404
|
key: 0,
|
|
1405
1405
|
class: "spin",
|
|
@@ -1410,7 +1410,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1410
1410
|
]);
|
|
1411
1411
|
}
|
|
1412
1412
|
var Spin = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p]]);
|
|
1413
|
-
defineComponent({
|
|
1413
|
+
const _sfc_main$o = defineComponent({
|
|
1414
1414
|
name: "Skeleton",
|
|
1415
1415
|
props: {
|
|
1416
1416
|
loading: {
|
|
@@ -1422,6 +1422,19 @@ defineComponent({
|
|
|
1422
1422
|
ASkeleton: Skeleton$1
|
|
1423
1423
|
}
|
|
1424
1424
|
});
|
|
1425
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1426
|
+
const _component_a_skeleton = resolveComponent("a-skeleton");
|
|
1427
|
+
return openBlock(), createBlock(_component_a_skeleton, {
|
|
1428
|
+
active: "",
|
|
1429
|
+
loading: _ctx.loading
|
|
1430
|
+
}, {
|
|
1431
|
+
default: withCtx(() => [
|
|
1432
|
+
renderSlot(_ctx.$slots, "default")
|
|
1433
|
+
]),
|
|
1434
|
+
_: 3
|
|
1435
|
+
}, 8, ["loading"]);
|
|
1436
|
+
}
|
|
1437
|
+
var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o]]);
|
|
1425
1438
|
const withInstall = (main, extra) => {
|
|
1426
1439
|
main.install = (app) => {
|
|
1427
1440
|
for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {
|
|
@@ -1509,9 +1522,10 @@ const EVENT_BUS = "EVENT_BUS";
|
|
|
1509
1522
|
const GLOBAL_CONFIG = "GLOBAL_CONFIG";
|
|
1510
1523
|
const GLOBAL_MODEL = "GLOBAL_MODEL";
|
|
1511
1524
|
const REQUEST_MODEL = "REQUEST_MODEL";
|
|
1512
|
-
const
|
|
1513
|
-
const
|
|
1514
|
-
const
|
|
1525
|
+
const GLOBAL_TOKEN = "GLOBAL_TOKEN";
|
|
1526
|
+
const INDICATOR_URL = (_a = window == null ? void 0 : window.config) == null ? void 0 : _a.indicatorURL;
|
|
1527
|
+
const UPLOAD_PATH = ((_b = window == null ? void 0 : window.config) == null ? void 0 : _b.uploadPath) || "/api";
|
|
1528
|
+
const BASE_URL = ((_c = window == null ? void 0 : window.config) == null ? void 0 : _c.routerBaseURL) || "./";
|
|
1515
1529
|
const useOnEvent = (props2, events) => {
|
|
1516
1530
|
watch(() => props2.id, (id, oldId) => {
|
|
1517
1531
|
const eventBus = inject(EVENT_BUS, {
|
|
@@ -1610,6 +1624,24 @@ const lowerCaseIncludes = (v1, v2) => {
|
|
|
1610
1624
|
}
|
|
1611
1625
|
return false;
|
|
1612
1626
|
};
|
|
1627
|
+
const useVariablesInText = (text, data) => {
|
|
1628
|
+
const config2 = window.config || {};
|
|
1629
|
+
data = __spreadValues(__spreadValues({}, config2), data);
|
|
1630
|
+
const variables = text.match(/\{.*?\}/g);
|
|
1631
|
+
if (variables == null || variables.length === 0)
|
|
1632
|
+
return text;
|
|
1633
|
+
for (let i = 0; i < variables.length; i++) {
|
|
1634
|
+
const variable = variables[i];
|
|
1635
|
+
const v = variable.slice(1, variable.length - 1);
|
|
1636
|
+
const usedVariable = data[v];
|
|
1637
|
+
if (usedVariable != null) {
|
|
1638
|
+
text = text.replace(variable, usedVariable);
|
|
1639
|
+
} else {
|
|
1640
|
+
text = text.replace(variable, "");
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
return text;
|
|
1644
|
+
};
|
|
1613
1645
|
const useRequestData = (props2, callBack = () => {
|
|
1614
1646
|
}) => {
|
|
1615
1647
|
const {
|
|
@@ -1647,23 +1679,25 @@ const useRequestData = (props2, callBack = () => {
|
|
|
1647
1679
|
}
|
|
1648
1680
|
_params[key] = v;
|
|
1649
1681
|
} else if (typeof value === "string") {
|
|
1650
|
-
_params[key] = value;
|
|
1682
|
+
_params[key] = useVariablesInText(value);
|
|
1651
1683
|
}
|
|
1652
1684
|
});
|
|
1653
1685
|
_params = __spreadValues(__spreadValues({}, _params), params);
|
|
1654
1686
|
let urlParams = "";
|
|
1655
1687
|
const keys = Object.keys(_params);
|
|
1656
1688
|
const last = keys.length - 1;
|
|
1689
|
+
const keysLen = keys.length;
|
|
1657
1690
|
keys.forEach((key, index2) => {
|
|
1658
|
-
|
|
1659
|
-
|
|
1691
|
+
if (index2 === 0) {
|
|
1692
|
+
if (keysLen !== 1) {
|
|
1660
1693
|
urlParams += `?${key}=${_params[key]}&`;
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1694
|
+
} else {
|
|
1695
|
+
urlParams += `?${key}=${_params[key]}`;
|
|
1696
|
+
}
|
|
1697
|
+
} else if (index2 === last) {
|
|
1698
|
+
urlParams += `${key}=${_params[key]}`;
|
|
1699
|
+
} else {
|
|
1700
|
+
urlParams += `${key}=${_params[key]}&`;
|
|
1667
1701
|
}
|
|
1668
1702
|
});
|
|
1669
1703
|
try {
|
|
@@ -1754,44 +1788,26 @@ const useImagePath = (path, isFormat = false) => {
|
|
|
1754
1788
|
const usePageUrl = (pageMode, pageId) => {
|
|
1755
1789
|
const envPageUrl = `/preview?pageId=${pageId}`;
|
|
1756
1790
|
const proPageUrl = `${BASE_URL}${pageId}`;
|
|
1791
|
+
console.log(pageMode);
|
|
1757
1792
|
return pageMode === "preview" ? envPageUrl : proPageUrl;
|
|
1758
1793
|
};
|
|
1759
|
-
const useVariablesInText = (text, data = {}) => {
|
|
1760
|
-
var _a2;
|
|
1761
|
-
const config = (_a2 = window.config) != null ? _a2 : {};
|
|
1762
|
-
data = __spreadValues(__spreadValues({}, config), data);
|
|
1763
|
-
const variables = text.match(/\{.*?\}/g);
|
|
1764
|
-
if (variables == null || variables.length === 0)
|
|
1765
|
-
return text;
|
|
1766
|
-
for (let i = 0; i < variables.length; i++) {
|
|
1767
|
-
const variable = variables[i];
|
|
1768
|
-
const v = variable.slice(1, variable.length - 1);
|
|
1769
|
-
const usedVariables = data[v];
|
|
1770
|
-
if (usedVariables != null) {
|
|
1771
|
-
text = text.replace(variable, usedVariables);
|
|
1772
|
-
} else {
|
|
1773
|
-
text = text.replace(variable, "");
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
|
-
return text;
|
|
1777
|
-
};
|
|
1778
1794
|
const request = axios.create({
|
|
1779
1795
|
timeout: 1e3 * 10
|
|
1780
1796
|
});
|
|
1781
|
-
request.interceptors.request.use((
|
|
1782
|
-
return
|
|
1797
|
+
request.interceptors.request.use((config2) => {
|
|
1798
|
+
return config2;
|
|
1783
1799
|
}, (error) => {
|
|
1784
1800
|
return Promise.reject(error);
|
|
1785
1801
|
});
|
|
1786
|
-
request.interceptors.response.use((
|
|
1802
|
+
request.interceptors.response.use((config2) => {
|
|
1787
1803
|
var _a2, _b2, _c2;
|
|
1788
|
-
if (+((_a2 =
|
|
1804
|
+
if (+((_a2 = config2 == null ? void 0 : config2.data) == null ? void 0 : _a2.code) === 500) {
|
|
1789
1805
|
message.error({
|
|
1790
|
-
content: ((_b2 =
|
|
1806
|
+
content: ((_b2 = config2 == null ? void 0 : config2.data) == null ? void 0 : _b2.msg) || ((_c2 = config2 == null ? void 0 : config2.data) == null ? void 0 : _c2.message) || "\u670D\u52A1\u5668\u5F02\u5E38",
|
|
1791
1807
|
key: "SERVER_ERROR"
|
|
1792
1808
|
});
|
|
1793
1809
|
}
|
|
1794
|
-
return
|
|
1810
|
+
return config2;
|
|
1795
1811
|
}, (error) => {
|
|
1796
1812
|
if (error.message.includes("timeout")) {
|
|
1797
1813
|
message.error({
|
|
@@ -2165,8 +2181,221 @@ const useValueFormatter = (formatter = "", value) => {
|
|
|
2165
2181
|
}
|
|
2166
2182
|
return formatter;
|
|
2167
2183
|
};
|
|
2168
|
-
|
|
2169
|
-
const
|
|
2184
|
+
const useIndicatorData = (props2 = {}) => {
|
|
2185
|
+
const { requestToken } = inject(GLOBAL_TOKEN, {
|
|
2186
|
+
requestToken: () => void 0
|
|
2187
|
+
});
|
|
2188
|
+
if (props2.dataType === "indicator") {
|
|
2189
|
+
requestToken();
|
|
2190
|
+
}
|
|
2191
|
+
const handleQueryColumn = (queryColumn = {}) => {
|
|
2192
|
+
const { label, name, location, show, indexCode } = queryColumn;
|
|
2193
|
+
return {
|
|
2194
|
+
label,
|
|
2195
|
+
columnName: name,
|
|
2196
|
+
location,
|
|
2197
|
+
show,
|
|
2198
|
+
calcType: "COLUMN",
|
|
2199
|
+
hrpIndexCode: indexCode
|
|
2200
|
+
};
|
|
2201
|
+
};
|
|
2202
|
+
const handleIndicator = (indicator = {}) => {
|
|
2203
|
+
const {
|
|
2204
|
+
label,
|
|
2205
|
+
name,
|
|
2206
|
+
location,
|
|
2207
|
+
show,
|
|
2208
|
+
indexCode,
|
|
2209
|
+
calcType = "COLUMN",
|
|
2210
|
+
builtInFormula,
|
|
2211
|
+
builtInValueSource,
|
|
2212
|
+
builtInCalcWay,
|
|
2213
|
+
formula
|
|
2214
|
+
} = indicator;
|
|
2215
|
+
return {
|
|
2216
|
+
label,
|
|
2217
|
+
columnName: name,
|
|
2218
|
+
location,
|
|
2219
|
+
show,
|
|
2220
|
+
calcType,
|
|
2221
|
+
hrpIndexCode: indexCode,
|
|
2222
|
+
aggregate: "SUM",
|
|
2223
|
+
builtInFormula,
|
|
2224
|
+
builtInValueSource,
|
|
2225
|
+
builtInCalcWay,
|
|
2226
|
+
formula
|
|
2227
|
+
};
|
|
2228
|
+
};
|
|
2229
|
+
const { getGlobalModel } = inject(GLOBAL_MODEL, {
|
|
2230
|
+
getGlobalModel: (key) => void 0
|
|
2231
|
+
});
|
|
2232
|
+
const handleSqlConditions = (controlList = []) => {
|
|
2233
|
+
var _a2;
|
|
2234
|
+
const len = controlList.length;
|
|
2235
|
+
const sqlConditions = [];
|
|
2236
|
+
for (let i = 0; i < len; i++) {
|
|
2237
|
+
const control = controlList[i];
|
|
2238
|
+
const {
|
|
2239
|
+
id,
|
|
2240
|
+
conditionLabel,
|
|
2241
|
+
conditionKey,
|
|
2242
|
+
conditionValueType
|
|
2243
|
+
} = control;
|
|
2244
|
+
const sqlCondition = {
|
|
2245
|
+
rule: "NONE",
|
|
2246
|
+
label: conditionLabel,
|
|
2247
|
+
fieldName: conditionKey,
|
|
2248
|
+
fieldValue: "",
|
|
2249
|
+
valueType: conditionValueType
|
|
2250
|
+
};
|
|
2251
|
+
const model = getGlobalModel(id) || {};
|
|
2252
|
+
if (lowerCaseIncludes(model.type, "date")) {
|
|
2253
|
+
const { value, format } = model || {};
|
|
2254
|
+
sqlCondition.fieldValue = (_a2 = unref(value)) == null ? void 0 : _a2.format(format);
|
|
2255
|
+
sqlCondition.dateFormat = format;
|
|
2256
|
+
}
|
|
2257
|
+
sqlConditions.push(sqlCondition);
|
|
2258
|
+
}
|
|
2259
|
+
return sqlConditions;
|
|
2260
|
+
};
|
|
2261
|
+
return async () => {
|
|
2262
|
+
var _a2, _b2;
|
|
2263
|
+
const { graphicConfig } = props2;
|
|
2264
|
+
const {
|
|
2265
|
+
source,
|
|
2266
|
+
dataViewId,
|
|
2267
|
+
plugin,
|
|
2268
|
+
layer,
|
|
2269
|
+
chartType,
|
|
2270
|
+
classificationList = [],
|
|
2271
|
+
seriesList = [],
|
|
2272
|
+
leftAxisList = [],
|
|
2273
|
+
rightAxisList = [],
|
|
2274
|
+
queryColumnList = [],
|
|
2275
|
+
indicators = [],
|
|
2276
|
+
controlList = [],
|
|
2277
|
+
dataSourceId,
|
|
2278
|
+
idxLibMode,
|
|
2279
|
+
preview = false
|
|
2280
|
+
} = graphicConfig || {};
|
|
2281
|
+
console.log("classificationList", classificationList);
|
|
2282
|
+
console.log("seriesList", seriesList);
|
|
2283
|
+
console.log("leftAxisList", leftAxisList);
|
|
2284
|
+
console.log("rightAxisList", rightAxisList);
|
|
2285
|
+
console.log("indicators", indicators);
|
|
2286
|
+
console.log("controlList", controlList);
|
|
2287
|
+
let classification;
|
|
2288
|
+
if (Array.isArray(classificationList) && classificationList.length > 0) {
|
|
2289
|
+
const len = classificationList.length;
|
|
2290
|
+
for (let i = 0; i < len; i++) {
|
|
2291
|
+
const item = classificationList[i] || {};
|
|
2292
|
+
const { label = "", name = "", show = false, sort, customGroup } = item;
|
|
2293
|
+
if (show) {
|
|
2294
|
+
classification = {
|
|
2295
|
+
label,
|
|
2296
|
+
columnName: name,
|
|
2297
|
+
show,
|
|
2298
|
+
sort,
|
|
2299
|
+
customGroup
|
|
2300
|
+
};
|
|
2301
|
+
break;
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
let series;
|
|
2306
|
+
if (Array.isArray(seriesList) && seriesList.length > 0) {
|
|
2307
|
+
const len = seriesList.length;
|
|
2308
|
+
for (let i = 0; i < len; i++) {
|
|
2309
|
+
const item = seriesList[i] || {};
|
|
2310
|
+
const { label = "", name = "", show = false, sort, customGroup } = item;
|
|
2311
|
+
if (show) {
|
|
2312
|
+
series = {
|
|
2313
|
+
label,
|
|
2314
|
+
columnName: name,
|
|
2315
|
+
show,
|
|
2316
|
+
sort,
|
|
2317
|
+
customGroup
|
|
2318
|
+
};
|
|
2319
|
+
break;
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
const queryColumns = [];
|
|
2324
|
+
queryColumnList == null ? void 0 : queryColumnList.forEach((queryColumn) => {
|
|
2325
|
+
queryColumns.push(handleQueryColumn(queryColumn));
|
|
2326
|
+
});
|
|
2327
|
+
const indicatorList = [];
|
|
2328
|
+
leftAxisList == null ? void 0 : leftAxisList.forEach((leftAxis) => {
|
|
2329
|
+
leftAxis.location = "LEFT";
|
|
2330
|
+
if (leftAxis.show) {
|
|
2331
|
+
indicatorList.push(handleIndicator(leftAxis));
|
|
2332
|
+
}
|
|
2333
|
+
});
|
|
2334
|
+
rightAxisList == null ? void 0 : rightAxisList.forEach((rightAxis) => {
|
|
2335
|
+
rightAxis.location = "RIGHT";
|
|
2336
|
+
if (rightAxis.show) {
|
|
2337
|
+
indicatorList.push(handleIndicator(rightAxis));
|
|
2338
|
+
}
|
|
2339
|
+
});
|
|
2340
|
+
indicators == null ? void 0 : indicators.forEach((indicator) => {
|
|
2341
|
+
indicator.location = "LEFT";
|
|
2342
|
+
if (indicator.show) {
|
|
2343
|
+
indicatorList.push(handleIndicator(indicator));
|
|
2344
|
+
}
|
|
2345
|
+
});
|
|
2346
|
+
if (layer === "1" && queryColumns.length === 0) {
|
|
2347
|
+
return;
|
|
2348
|
+
} else if (layer === "2" && indicatorList.length === 0) {
|
|
2349
|
+
return;
|
|
2350
|
+
}
|
|
2351
|
+
let sqlConditions;
|
|
2352
|
+
if ((graphicConfig == null ? void 0 : graphicConfig.pageMode) === "design") {
|
|
2353
|
+
sqlConditions = (_a2 = graphicConfig.sqlConditions) != null ? _a2 : [];
|
|
2354
|
+
} else {
|
|
2355
|
+
sqlConditions = handleSqlConditions(controlList);
|
|
2356
|
+
}
|
|
2357
|
+
try {
|
|
2358
|
+
const res = await request.post(`${INDICATOR_URL}/diagram`, {
|
|
2359
|
+
source,
|
|
2360
|
+
dataViewId,
|
|
2361
|
+
plugin,
|
|
2362
|
+
layer,
|
|
2363
|
+
chartType,
|
|
2364
|
+
classification,
|
|
2365
|
+
series,
|
|
2366
|
+
indicatorList,
|
|
2367
|
+
queryColumns,
|
|
2368
|
+
pageFlag: true,
|
|
2369
|
+
sqlConditions,
|
|
2370
|
+
dataSourceId,
|
|
2371
|
+
idxLibMode,
|
|
2372
|
+
preview
|
|
2373
|
+
}, {
|
|
2374
|
+
headers: {
|
|
2375
|
+
Authentication: (_b2 = window == null ? void 0 : window.config) == null ? void 0 : _b2.indicatorToken,
|
|
2376
|
+
operateContext: "ygt"
|
|
2377
|
+
}
|
|
2378
|
+
});
|
|
2379
|
+
return res;
|
|
2380
|
+
} catch (e) {
|
|
2381
|
+
console.error(e);
|
|
2382
|
+
}
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2385
|
+
const useHrefParamsToGlobalVariables = () => {
|
|
2386
|
+
const search = window.location.search;
|
|
2387
|
+
const params = search.slice(1).split("&");
|
|
2388
|
+
const len = params.length;
|
|
2389
|
+
for (let i = 0; i < len; i++) {
|
|
2390
|
+
const param = params[i];
|
|
2391
|
+
const keyAndValue = param.split("=");
|
|
2392
|
+
const key = keyAndValue[0];
|
|
2393
|
+
const value = keyAndValue[1];
|
|
2394
|
+
window.config[key] = value;
|
|
2395
|
+
}
|
|
2396
|
+
};
|
|
2397
|
+
var PageConfig_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "#container[data-v-5d709a9a] {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n.page-config[data-v-5d709a9a] {\n position: relative;\n overflow: hidden;\n background-size: cover;\n}\n")();
|
|
2398
|
+
const _sfc_main$n = defineComponent({
|
|
2170
2399
|
name: "EcanPageConfig",
|
|
2171
2400
|
props: __spreadValues({}, pageConfigComponentProps),
|
|
2172
2401
|
setup(props2) {
|
|
@@ -2260,12 +2489,12 @@ const _sfc_main$o = defineComponent({
|
|
|
2260
2489
|
};
|
|
2261
2490
|
}
|
|
2262
2491
|
});
|
|
2263
|
-
const _hoisted_1$
|
|
2492
|
+
const _hoisted_1$8 = {
|
|
2264
2493
|
id: "container",
|
|
2265
2494
|
ref: "container"
|
|
2266
2495
|
};
|
|
2267
|
-
function _sfc_render$
|
|
2268
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2496
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2497
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
2269
2498
|
_ctx.ready ? (openBlock(), createElementBlock("div", {
|
|
2270
2499
|
key: 0,
|
|
2271
2500
|
class: "page-config",
|
|
@@ -2275,7 +2504,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2275
2504
|
], 4)) : createCommentVNode("", true)
|
|
2276
2505
|
], 512);
|
|
2277
2506
|
}
|
|
2278
|
-
var PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2507
|
+
var PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-5d709a9a"]]);
|
|
2279
2508
|
const EcanPageConfig = withInstall(PageConfig);
|
|
2280
2509
|
const providerConfig = {
|
|
2281
2510
|
contextRequestUrl: "",
|
|
@@ -2283,10 +2512,11 @@ const providerConfig = {
|
|
|
2283
2512
|
theme: "light"
|
|
2284
2513
|
};
|
|
2285
2514
|
const providerConfigComponentProps = transformToComponentProps(providerConfig);
|
|
2286
|
-
const _sfc_main$
|
|
2515
|
+
const _sfc_main$m = defineComponent({
|
|
2287
2516
|
name: "EcanProviderConfig",
|
|
2288
2517
|
props: __spreadValues({}, providerConfigComponentProps),
|
|
2289
2518
|
setup(props2, { expose }) {
|
|
2519
|
+
useHrefParamsToGlobalVariables();
|
|
2290
2520
|
const providerConfig2 = ref();
|
|
2291
2521
|
const setTheme = () => {
|
|
2292
2522
|
providerConfig2.value.setAttribute("datav-theme", props2.theme);
|
|
@@ -2336,6 +2566,13 @@ const _sfc_main$n = defineComponent({
|
|
|
2336
2566
|
offEvent,
|
|
2337
2567
|
emitEvent
|
|
2338
2568
|
});
|
|
2569
|
+
const tokenNum = ref(0);
|
|
2570
|
+
const requestToken = () => {
|
|
2571
|
+
tokenNum.value = unref(tokenNum) + 1;
|
|
2572
|
+
};
|
|
2573
|
+
provide(GLOBAL_TOKEN, {
|
|
2574
|
+
requestToken
|
|
2575
|
+
});
|
|
2339
2576
|
const requestModel = /* @__PURE__ */ new Map();
|
|
2340
2577
|
const setRequest = (requestFn = () => {
|
|
2341
2578
|
}, sortNum = 0) => {
|
|
@@ -2356,11 +2593,24 @@ const _sfc_main$n = defineComponent({
|
|
|
2356
2593
|
});
|
|
2357
2594
|
});
|
|
2358
2595
|
};
|
|
2596
|
+
const queryUserToken = async () => {
|
|
2597
|
+
var _a2;
|
|
2598
|
+
const res = await axios.get(`${INDICATOR_URL}/user/anonymous?username=admin`, {
|
|
2599
|
+
headers: {
|
|
2600
|
+
systemCode: "F72FC50A3D97372514A6AC33333D28FD",
|
|
2601
|
+
current_context: "ygt"
|
|
2602
|
+
}
|
|
2603
|
+
});
|
|
2604
|
+
config.indicatorToken = (_a2 = res.data.data) == null ? void 0 : _a2.token;
|
|
2605
|
+
};
|
|
2359
2606
|
const touchRequest = async () => {
|
|
2360
2607
|
const requestModelArr = Array.from(requestModel);
|
|
2361
2608
|
requestModelArr.sort((a, b) => b[0] - a[0]);
|
|
2362
2609
|
const len = requestModelArr.length;
|
|
2363
2610
|
try {
|
|
2611
|
+
if (props2.pageMode !== "design" && unref(tokenNum) > 0) {
|
|
2612
|
+
await queryUserToken();
|
|
2613
|
+
}
|
|
2364
2614
|
for (let i = 0; i < len; i++) {
|
|
2365
2615
|
const requestFnList = requestModelArr[i][1];
|
|
2366
2616
|
await handleRequestFnList(requestFnList);
|
|
@@ -2382,19 +2632,20 @@ const _sfc_main$n = defineComponent({
|
|
|
2382
2632
|
};
|
|
2383
2633
|
}
|
|
2384
2634
|
});
|
|
2385
|
-
const _hoisted_1$
|
|
2635
|
+
const _hoisted_1$7 = {
|
|
2386
2636
|
id: "ProviderConfig",
|
|
2387
2637
|
ref: "providerConfig"
|
|
2388
2638
|
};
|
|
2389
|
-
function _sfc_render$
|
|
2390
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2639
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2640
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
2391
2641
|
renderSlot(_ctx.$slots, "default")
|
|
2392
2642
|
], 512);
|
|
2393
2643
|
}
|
|
2394
|
-
var ProviderConfig = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2644
|
+
var ProviderConfig = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
|
|
2395
2645
|
const EcanProviderConfig = withInstall(ProviderConfig);
|
|
2396
2646
|
const textProps = __spreadProps(__spreadValues({}, props), {
|
|
2397
|
-
name: "\
|
|
2647
|
+
name: "\u6587\u672C",
|
|
2648
|
+
keyName: "\u6587\u672C",
|
|
2398
2649
|
type: "ecanText",
|
|
2399
2650
|
width: "100px",
|
|
2400
2651
|
height: "40px",
|
|
@@ -2412,32 +2663,7 @@ const textProps = __spreadProps(__spreadValues({}, props), {
|
|
|
2412
2663
|
});
|
|
2413
2664
|
const textComponentProps = transformToComponentProps(textProps);
|
|
2414
2665
|
const textEvents = ["refreshData", "click"];
|
|
2415
|
-
|
|
2416
|
-
name: "Skeleton",
|
|
2417
|
-
props: {
|
|
2418
|
-
loading: {
|
|
2419
|
-
type: Boolean,
|
|
2420
|
-
default: false
|
|
2421
|
-
}
|
|
2422
|
-
},
|
|
2423
|
-
components: {
|
|
2424
|
-
ASkeleton: Skeleton$1
|
|
2425
|
-
}
|
|
2426
|
-
});
|
|
2427
|
-
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2428
|
-
const _component_a_skeleton = resolveComponent("a-skeleton");
|
|
2429
|
-
return openBlock(), createBlock(_component_a_skeleton, {
|
|
2430
|
-
active: "",
|
|
2431
|
-
loading: _ctx.loading
|
|
2432
|
-
}, {
|
|
2433
|
-
default: withCtx(() => [
|
|
2434
|
-
renderSlot(_ctx.$slots, "default")
|
|
2435
|
-
]),
|
|
2436
|
-
_: 3
|
|
2437
|
-
}, 8, ["loading"]);
|
|
2438
|
-
}
|
|
2439
|
-
var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
|
|
2440
|
-
var Text_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".skeleton-wrapper[data-v-04705f6f] {\n overflow: hidden;\n}\n.ecan-text[data-v-04705f6f] {\n overflow: hidden;\n display: flex;\n}\n")();
|
|
2666
|
+
var Text_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".skeleton-wrapper[data-v-e7487804] {\n overflow: hidden;\n}\n.ecan-text[data-v-e7487804] {\n overflow: hidden;\n display: flex;\n}\n")();
|
|
2441
2667
|
const _sfc_main$l = defineComponent({
|
|
2442
2668
|
name: "EcanText",
|
|
2443
2669
|
components: { Skeleton },
|
|
@@ -2506,7 +2732,7 @@ const _sfc_main$l = defineComponent({
|
|
|
2506
2732
|
};
|
|
2507
2733
|
}
|
|
2508
2734
|
});
|
|
2509
|
-
const _hoisted_1$
|
|
2735
|
+
const _hoisted_1$6 = ["innerHTML"];
|
|
2510
2736
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2511
2737
|
const _component_skeleton = resolveComponent("skeleton");
|
|
2512
2738
|
return _ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
@@ -2521,9 +2747,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2521
2747
|
style: normalizeStyle(_ctx.style),
|
|
2522
2748
|
innerHTML: _ctx.myText,
|
|
2523
2749
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
|
|
2524
|
-
}, null, 12, _hoisted_1$
|
|
2750
|
+
}, null, 12, _hoisted_1$6));
|
|
2525
2751
|
}
|
|
2526
|
-
var Text = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
2752
|
+
var Text = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-e7487804"]]);
|
|
2527
2753
|
const EcanText = withInstall(Text);
|
|
2528
2754
|
var ScrollText_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".red[data-v-0bb717eb] {\n color: red;\n}\n")();
|
|
2529
2755
|
const _sfc_main$k = defineComponent({
|
|
@@ -2535,9 +2761,9 @@ const _sfc_main$k = defineComponent({
|
|
|
2535
2761
|
};
|
|
2536
2762
|
}
|
|
2537
2763
|
});
|
|
2538
|
-
const _hoisted_1$
|
|
2764
|
+
const _hoisted_1$5 = { class: "red" };
|
|
2539
2765
|
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2540
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2766
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, toDisplayString(_ctx.text), 1);
|
|
2541
2767
|
}
|
|
2542
2768
|
var ScrollText = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-0bb717eb"]]);
|
|
2543
2769
|
const EcanScrollText = withInstall(ScrollText);
|
|
@@ -2632,10 +2858,10 @@ const listProps = __spreadProps(__spreadValues({}, props), {
|
|
|
2632
2858
|
});
|
|
2633
2859
|
const listComponentProps = transformToComponentProps(listProps);
|
|
2634
2860
|
const listEvents = ["refreshData", "click"];
|
|
2635
|
-
var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.ecan-list[data-v-
|
|
2861
|
+
var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.ecan-list[data-v-461dbe78] {
|
|
2636
2862
|
overflow: hidden;
|
|
2637
2863
|
}
|
|
2638
|
-
.ecan-list-content[data-v-
|
|
2864
|
+
.ecan-list-content[data-v-461dbe78] {
|
|
2639
2865
|
width: 100%;
|
|
2640
2866
|
height: 100%;
|
|
2641
2867
|
overflow: auto;
|
|
@@ -2643,7 +2869,7 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
|
|
|
2643
2869
|
align-content: flex-start;
|
|
2644
2870
|
flex-wrap: wrap;
|
|
2645
2871
|
}
|
|
2646
|
-
.title[data-v-
|
|
2872
|
+
.title[data-v-461dbe78] {
|
|
2647
2873
|
position: absolute;
|
|
2648
2874
|
z-index: 9;
|
|
2649
2875
|
display: flex;
|
|
@@ -2653,18 +2879,18 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
|
|
|
2653
2879
|
font-size: 16px;
|
|
2654
2880
|
color: #ffffff;
|
|
2655
2881
|
}
|
|
2656
|
-
.title-inner[data-v-
|
|
2882
|
+
.title-inner[data-v-461dbe78] {
|
|
2657
2883
|
padding-left: 28px;
|
|
2658
2884
|
padding-right: 20px;
|
|
2659
2885
|
flex: 1;
|
|
2660
2886
|
display: flex;
|
|
2661
2887
|
height: 100%;
|
|
2662
2888
|
}
|
|
2663
|
-
.title-placeholder[data-v-
|
|
2889
|
+
.title-placeholder[data-v-461dbe78] {
|
|
2664
2890
|
width: 100%;
|
|
2665
2891
|
height: 32px;
|
|
2666
2892
|
}
|
|
2667
|
-
.item[data-v-
|
|
2893
|
+
.item[data-v-461dbe78] {
|
|
2668
2894
|
display: flex;
|
|
2669
2895
|
align-items: center;
|
|
2670
2896
|
height: 32px;
|
|
@@ -2674,13 +2900,13 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
|
|
|
2674
2900
|
font-size: 16px;
|
|
2675
2901
|
color: #ffffff;
|
|
2676
2902
|
}
|
|
2677
|
-
.column[data-v-
|
|
2903
|
+
.column[data-v-461dbe78] {
|
|
2678
2904
|
flex: 1;
|
|
2679
2905
|
overflow: hidden;
|
|
2680
2906
|
text-overflow: ellipsis;
|
|
2681
2907
|
white-space: nowrap;
|
|
2682
2908
|
}
|
|
2683
|
-
.ranking[data-v-
|
|
2909
|
+
.ranking[data-v-461dbe78] {
|
|
2684
2910
|
flex: 1;
|
|
2685
2911
|
display: flex;
|
|
2686
2912
|
align-items: center;
|
|
@@ -2689,28 +2915,28 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
|
|
|
2689
2915
|
text-overflow: ellipsis;
|
|
2690
2916
|
white-space: nowrap;
|
|
2691
2917
|
}
|
|
2692
|
-
.icon[data-v-
|
|
2918
|
+
.icon[data-v-461dbe78] {
|
|
2693
2919
|
width: 12px;
|
|
2694
2920
|
height: 8px;
|
|
2695
2921
|
background: #21BEF7;
|
|
2696
2922
|
margin-right: 17px;
|
|
2697
2923
|
opacity: 0.6;
|
|
2698
2924
|
}
|
|
2699
|
-
.item:nth-child(2) .icon[data-v-
|
|
2925
|
+
.item:nth-child(2) .icon[data-v-461dbe78] {
|
|
2700
2926
|
opacity: 0.8;
|
|
2701
2927
|
}
|
|
2702
|
-
.item:first-child .icon[data-v-
|
|
2928
|
+
.item:first-child .icon[data-v-461dbe78] {
|
|
2703
2929
|
opacity: 1;
|
|
2704
2930
|
}
|
|
2705
|
-
.sort[data-v-
|
|
2931
|
+
.sort[data-v-461dbe78] {
|
|
2706
2932
|
font-weight: 600;
|
|
2707
2933
|
}
|
|
2708
|
-
.goUp[data-v-
|
|
2934
|
+
.goUp[data-v-461dbe78] {
|
|
2709
2935
|
color: #FF512E;
|
|
2710
2936
|
display: flex;
|
|
2711
2937
|
align-items: center;
|
|
2712
2938
|
}
|
|
2713
|
-
.goUp[data-v-
|
|
2939
|
+
.goUp[data-v-461dbe78]:before {
|
|
2714
2940
|
content: '';
|
|
2715
2941
|
display: block;
|
|
2716
2942
|
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=");
|
|
@@ -2720,12 +2946,12 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
|
|
|
2720
2946
|
background-size: cover;
|
|
2721
2947
|
margin-right: 2px;
|
|
2722
2948
|
}
|
|
2723
|
-
.goDown[data-v-
|
|
2949
|
+
.goDown[data-v-461dbe78] {
|
|
2724
2950
|
color: #00F7B4;
|
|
2725
2951
|
display: flex;
|
|
2726
2952
|
align-items: center;
|
|
2727
2953
|
}
|
|
2728
|
-
.goDown[data-v-
|
|
2954
|
+
.goDown[data-v-461dbe78]:before {
|
|
2729
2955
|
content: '';
|
|
2730
2956
|
display: block;
|
|
2731
2957
|
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAaVBMVEUAAAAA+b0A+LwA+L0A/6AA+LwA+L0A+L0A+b0A+LwA/78A+LwA+L0A+LwA+LwA+b0A+LsA970A+LwA+r0A9boA/7YA+LwA+LwA+LwA+L0A97wA+bwA970A970A+bwA+bwA+LsA9rkA+LzcCa+5AAAAInRSTlMAd/uVAvjYxCsiDvPp37F7aWBMNBgK7s/NvKidh4NXUEcdp9A1SAAAAI5JREFUKM+l0UcOwzAMRFGqWZbcW3rl/Q8ZhUGKMN7lLedD4EKUi/3BEIrGsQu432pmPuF+1WnfRNjLipMz7HbHT3cIF9n3BLYSerzAooSgZNcWQiuhIdBI8JQblNISCqXU/BNG/mqzJ+az13MWluIdRspNmgV+Rvc6vkCwPu1uIhQq5o7WDOwtrToG+ssDeh4QPgfT2X0AAAAASUVORK5CYII=");
|
|
@@ -2735,7 +2961,7 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
|
|
|
2735
2961
|
background-size: cover;
|
|
2736
2962
|
margin-right: 2px;
|
|
2737
2963
|
}
|
|
2738
|
-
.empty[data-v-
|
|
2964
|
+
.empty[data-v-461dbe78] {
|
|
2739
2965
|
text-align: center;
|
|
2740
2966
|
margin-top: 15%;
|
|
2741
2967
|
}
|
|
@@ -2824,8 +3050,8 @@ const _sfc_main$i = defineComponent({
|
|
|
2824
3050
|
};
|
|
2825
3051
|
}
|
|
2826
3052
|
});
|
|
2827
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
2828
|
-
const _hoisted_1$
|
|
3053
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-461dbe78"), n = n(), popScopeId(), n);
|
|
3054
|
+
const _hoisted_1$4 = {
|
|
2829
3055
|
key: 0,
|
|
2830
3056
|
class: "title"
|
|
2831
3057
|
};
|
|
@@ -2855,7 +3081,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2855
3081
|
}, [
|
|
2856
3082
|
createVNode(_component_skeleton, { loading: _ctx.loading }, {
|
|
2857
3083
|
default: withCtx(() => [
|
|
2858
|
-
_ctx.useTitle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3084
|
+
_ctx.useTitle ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
2859
3085
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columnCount, (count) => {
|
|
2860
3086
|
return openBlock(), createElementBlock("div", {
|
|
2861
3087
|
class: "title-inner",
|
|
@@ -2924,7 +3150,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2924
3150
|
}, 8, ["loading"])
|
|
2925
3151
|
], 4);
|
|
2926
3152
|
}
|
|
2927
|
-
var List = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
|
3153
|
+
var List = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-461dbe78"]]);
|
|
2928
3154
|
const EcanList = withInstall(List);
|
|
2929
3155
|
const proportionProps = __spreadProps(__spreadValues({}, props), {
|
|
2930
3156
|
name: "\u5360\u6BD4\u56FE",
|
|
@@ -2949,7 +3175,7 @@ const proportionProps = __spreadProps(__spreadValues({}, props), {
|
|
|
2949
3175
|
});
|
|
2950
3176
|
const proportionComponentProps = transformToComponentProps(proportionProps);
|
|
2951
3177
|
const proportionEvents = ["refreshData", "click"];
|
|
2952
|
-
var Proportion_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-proportion[data-v-
|
|
3178
|
+
var Proportion_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-proportion[data-v-02b500fa] {\n overflow: hidden;\n}\n.progress[data-v-02b500fa] {\n width: 100%;\n height: 100%;\n}\n.format[data-v-02b500fa] {\n margin: 0 auto;\n}\n")();
|
|
2953
3179
|
const _sfc_main$h = defineComponent({
|
|
2954
3180
|
name: "EcanProportion",
|
|
2955
3181
|
components: {
|
|
@@ -3082,7 +3308,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3082
3308
|
}, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
|
|
3083
3309
|
], 4);
|
|
3084
3310
|
}
|
|
3085
|
-
var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
3311
|
+
var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-02b500fa"]]);
|
|
3086
3312
|
const EcanProportion = withInstall(Proportion);
|
|
3087
3313
|
const inputProps = __spreadProps(__spreadValues({}, props), {
|
|
3088
3314
|
width: "200px",
|
|
@@ -3213,7 +3439,7 @@ const selectProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3213
3439
|
});
|
|
3214
3440
|
const selectComponentProps = transformToComponentProps(selectProps);
|
|
3215
3441
|
const selectEvents = ["selectChange"];
|
|
3216
|
-
var Select_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-select[data-v-
|
|
3442
|
+
var Select_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-select[data-v-d70a9a94] .ant-select-selector {\n height: 100% !important;\n}\n.select[data-v-d70a9a94] {\n width: 100%;\n height: 100%;\n}\n")();
|
|
3217
3443
|
var Select_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "[datav-theme='light'] .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border: 1px solid #d9d9d9;\n}\n[datav-theme='light'] .ant-select-dropdown {\n color: rgba(0, 0, 0, 0.85);\n background: #ffffff;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n}\n[datav-theme='light'] .ant-empty-img-simple-g {\n stroke: #d9d9d9;\n}\n[datav-theme='light'] .ant-empty-img-simple-ellipse {\n fill: #f5f5f5;\n}\n[datav-theme='light'] .ant-empty-img-simple-path {\n fill: #f5f5f5;\n stroke: #d9d9d9;\n}\n[datav-theme='light'] .ant-empty-description {\n color: rgba(0, 0, 0, 0.25);\n}\n[datav-theme='light'] .anticon-down {\n color: #333;\n}\n[datav-theme='darkBlue'] .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border: 1px solid #1f63a3;\n background-color: #05164c;\n box-shadow: inset 0 0 10px #005efe;\n color: #ffffff;\n}\n[datav-theme='darkBlue'] .ant-select-dropdown {\n box-shadow: inset 0 0 10px #005efe;\n color: #fff;\n background-color: #05164c;\n}\n[datav-theme='darkBlue'] .ant-empty-img-simple-g {\n stroke: #69befa;\n}\n[datav-theme='darkBlue'] .ant-empty-img-simple-ellipse {\n fill-opacity: 0;\n}\n[datav-theme='darkBlue'] .ant-empty-img-simple-path {\n fill: #69befa;\n stroke: #69befa;\n}\n[datav-theme='darkBlue'] .ant-empty-description {\n color: #69befa;\n}\n[datav-theme='darkBlue'] .anticon-down {\n color: #ffffff;\n}\n[datav-theme='darkBlue'] .ant-select-item {\n color: #ffffff;\n}\n[datav-theme='darkBlue'] .ant-select-item-option-active {\n background: #1f63a3;\n}\n[datav-theme='darkBlue'] .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {\n background: #1f63a3;\n}\n")();
|
|
3218
3444
|
const _sfc_main$e = defineComponent({
|
|
3219
3445
|
name: "EcanSelect",
|
|
@@ -3284,7 +3510,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3284
3510
|
}, null, 8, ["value", "options", "getPopupContainer", "field-names", "onChange"])
|
|
3285
3511
|
], 4);
|
|
3286
3512
|
}
|
|
3287
|
-
var Select = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-
|
|
3513
|
+
var Select = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-d70a9a94"]]);
|
|
3288
3514
|
const EcanSelect = withInstall(Select);
|
|
3289
3515
|
const rangePickerProps = __spreadProps(__spreadValues({}, props), {
|
|
3290
3516
|
name: "\u8303\u56F4\u9009\u62E9\u5668",
|
|
@@ -3299,7 +3525,7 @@ const rangePickerProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3299
3525
|
});
|
|
3300
3526
|
const rangePickerComponentProps = transformToComponentProps(rangePickerProps);
|
|
3301
3527
|
const rangePickerEvents = ["dateChange"];
|
|
3302
|
-
var RangePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".range-picker[data-v-
|
|
3528
|
+
var RangePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".range-picker[data-v-61322f3d] {\n width: 100%;\n height: 100%;\n}\n")();
|
|
3303
3529
|
var RangePicker_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "[datav-theme='light'] .ecan-range-picker .ant-picker {\n background-color: #ffffff;\n color: rgba(0, 0, 0, 0.85);\n border: 1px solid #d9d9d9;\n}\n[datav-theme='light'] .ecan-range-picker .ant-picker-input > input {\n color: rgba(0, 0, 0, 0.85);\n}\n[datav-theme='light'] .ecan-range-picker .anticon-calendar {\n color: #333;\n}\n[datav-theme='light'] .ecan-range-picker .anticon-close-circle {\n color: #333;\n}\n[datav-theme='light'] .ecan-range-picker .ant-picker-input > input::placeholder {\n color: #bfbfbf;\n}\n[datav-theme='light'] .ecan-range-picker .ant-picker-separator .anticon {\n color: #333;\n}\n[datav-theme='darkBlue'] .ecan-range-picker .ant-picker {\n background-color: #05164c;\n border: 1px solid #1f63a3;\n color: #fff;\n box-shadow: inset 0 0 10px #005efe;\n}\n[datav-theme='darkBlue'] .ecan-range-picker .ant-picker-input > input {\n color: #ffffff;\n}\n[datav-theme='darkBlue'] .ecan-range-picker .anticon-calendar {\n color: #ffffff;\n}\n[datav-theme='darkBlue'] .ecan-range-picker .anticon-close-circle {\n color: #333;\n}\n[datav-theme='darkBlue'] .ecan-range-picker .ant-picker-separator .anticon {\n color: #fff;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-panel {\n background: #05174e;\n border-bottom: 1px solid #69befa;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-header {\n color: #69befa;\n border-bottom: 1px solid #69befa;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-panel .ant-picker-footer {\n border-top: 1px solid #69befa;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-header button {\n color: #69befa;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-content th {\n color: #69befa;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-content td {\n color: #69befa;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-today-btn {\n color: #69befa;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-cell-disabled .ant-picker-cell-inner {\n color: #999;\n}\n[datav-theme='darkBlue'] .ecan-range-picker-dropdown .ant-picker-cell-disabled::before {\n background: #333;\n}\n")();
|
|
3304
3530
|
const _sfc_main$d = defineComponent({
|
|
3305
3531
|
name: "EcanRangePicker",
|
|
@@ -3364,17 +3590,23 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3364
3590
|
}, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "onChange"])
|
|
3365
3591
|
], 4);
|
|
3366
3592
|
}
|
|
3367
|
-
var RangePicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
3593
|
+
var RangePicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-61322f3d"]]);
|
|
3368
3594
|
const EcanRangePicker = withInstall(RangePicker);
|
|
3369
3595
|
const buttonProps = __spreadProps(__spreadValues({}, props), {
|
|
3370
3596
|
width: "200px",
|
|
3371
3597
|
name: "\u6309\u94AE",
|
|
3372
3598
|
keyName: "\u6309\u94AE",
|
|
3373
|
-
type: "ecanButton"
|
|
3599
|
+
type: "ecanButton",
|
|
3600
|
+
text: "\u6309\u94AE",
|
|
3601
|
+
mode: "default",
|
|
3602
|
+
danger: false,
|
|
3603
|
+
shape: "default",
|
|
3604
|
+
href: "",
|
|
3605
|
+
target: "_self"
|
|
3374
3606
|
});
|
|
3375
3607
|
const buttonComponentProps = transformToComponentProps(buttonProps);
|
|
3376
3608
|
const buttonEvents = ["click"];
|
|
3377
|
-
var
|
|
3609
|
+
var Button_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".ecan-button .ant-btn {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n")();
|
|
3378
3610
|
const _sfc_main$c = defineComponent({
|
|
3379
3611
|
name: "EcanButton",
|
|
3380
3612
|
components: {
|
|
@@ -3386,32 +3618,46 @@ const _sfc_main$c = defineComponent({
|
|
|
3386
3618
|
const events = props2.events;
|
|
3387
3619
|
const emitEvent = useEmitEvent(events);
|
|
3388
3620
|
const click = emitEvent("click");
|
|
3621
|
+
const myText = computed(() => useVariablesInText(props2.text));
|
|
3622
|
+
const myHref = computed(() => {
|
|
3623
|
+
const href = props2.href;
|
|
3624
|
+
if (href) {
|
|
3625
|
+
return useVariablesInText(href);
|
|
3626
|
+
}
|
|
3627
|
+
return void 0;
|
|
3628
|
+
});
|
|
3389
3629
|
return {
|
|
3390
3630
|
style: style2,
|
|
3391
|
-
click
|
|
3631
|
+
click,
|
|
3632
|
+
myText,
|
|
3633
|
+
myHref
|
|
3392
3634
|
};
|
|
3393
3635
|
}
|
|
3394
3636
|
});
|
|
3395
|
-
const _hoisted_1$5 = /* @__PURE__ */ createTextVNode(" \u6D4B\u8BD5 ");
|
|
3396
3637
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3397
3638
|
const _component_a_button = resolveComponent("a-button");
|
|
3398
3639
|
return openBlock(), createElementBlock("div", {
|
|
3399
|
-
class: "ecan-
|
|
3640
|
+
class: "ecan-button",
|
|
3400
3641
|
style: normalizeStyle(_ctx.style)
|
|
3401
3642
|
}, [
|
|
3402
3643
|
createVNode(_component_a_button, {
|
|
3403
|
-
class: "button",
|
|
3404
3644
|
block: "",
|
|
3405
|
-
onClick: _ctx.click
|
|
3645
|
+
onClick: _ctx.click,
|
|
3646
|
+
type: _ctx.mode,
|
|
3647
|
+
danger: _ctx.danger,
|
|
3648
|
+
ghost: _ctx.ghost,
|
|
3649
|
+
shape: _ctx.shape,
|
|
3650
|
+
href: _ctx.myHref,
|
|
3651
|
+
target: _ctx.target
|
|
3406
3652
|
}, {
|
|
3407
3653
|
default: withCtx(() => [
|
|
3408
|
-
|
|
3654
|
+
createTextVNode(toDisplayString(_ctx.myText), 1)
|
|
3409
3655
|
]),
|
|
3410
3656
|
_: 1
|
|
3411
|
-
}, 8, ["onClick"])
|
|
3657
|
+
}, 8, ["onClick", "type", "danger", "ghost", "shape", "href", "target"])
|
|
3412
3658
|
], 4);
|
|
3413
3659
|
}
|
|
3414
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]
|
|
3660
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]]);
|
|
3415
3661
|
const EcanButton = withInstall(Button);
|
|
3416
3662
|
const tabsProps = __spreadProps(__spreadValues({}, props), {
|
|
3417
3663
|
type: "ecanTabs",
|
|
@@ -3440,7 +3686,7 @@ const tabsProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3440
3686
|
});
|
|
3441
3687
|
const tabsComponentProps = transformToComponentProps(tabsProps);
|
|
3442
3688
|
const tabsEvents = ["tabChange"];
|
|
3443
|
-
var Tabs_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-tabs[data-v-
|
|
3689
|
+
var Tabs_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-tabs[data-v-5aeec0ae] {\n box-sizing: border-box;\n color: #333333;\n display: flex;\n}\n.tab[data-v-5aeec0ae] {\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n background-size: 100% 100%;\n background-repeat: no-repeat;\n}\n.tab[data-v-5aeec0ae]:last-child {\n margin-right: 0 !important;\n}\n")();
|
|
3444
3690
|
const _sfc_main$b = defineComponent({
|
|
3445
3691
|
name: "EcanTabs",
|
|
3446
3692
|
props: __spreadValues({}, tabsComponentProps),
|
|
@@ -3476,7 +3722,7 @@ const _sfc_main$b = defineComponent({
|
|
|
3476
3722
|
};
|
|
3477
3723
|
}
|
|
3478
3724
|
});
|
|
3479
|
-
const _hoisted_1$
|
|
3725
|
+
const _hoisted_1$3 = ["onClick"];
|
|
3480
3726
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3481
3727
|
return openBlock(), createElementBlock("div", {
|
|
3482
3728
|
class: "ecan-tabs",
|
|
@@ -3493,11 +3739,11 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3493
3739
|
}),
|
|
3494
3740
|
key: index2,
|
|
3495
3741
|
onClick: ($event) => _ctx.tabChange(tab, index2)
|
|
3496
|
-
}, toDisplayString(tab.title), 13, _hoisted_1$
|
|
3742
|
+
}, toDisplayString(tab.title), 13, _hoisted_1$3);
|
|
3497
3743
|
}), 128))
|
|
3498
3744
|
], 4);
|
|
3499
3745
|
}
|
|
3500
|
-
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-
|
|
3746
|
+
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-5aeec0ae"]]);
|
|
3501
3747
|
const EcanTabs = withInstall(Tabs);
|
|
3502
3748
|
const pieProps = __spreadProps(__spreadValues({}, props), {
|
|
3503
3749
|
id: "",
|
|
@@ -3549,14 +3795,43 @@ const pieProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3549
3795
|
gridBottom: "10%",
|
|
3550
3796
|
gridLeft: "2%",
|
|
3551
3797
|
gridRight: "2%",
|
|
3552
|
-
graphicConfig: {}
|
|
3798
|
+
graphicConfig: {},
|
|
3799
|
+
toolboxShow: false,
|
|
3800
|
+
toolboxOrient: "horizontal",
|
|
3801
|
+
toolboxItemSize: 16,
|
|
3802
|
+
toolboxItemGap: 8,
|
|
3803
|
+
toolboxLeft: "right",
|
|
3804
|
+
toolboxTop: "top",
|
|
3805
|
+
toolboxIconStyleBorderColor: "#666",
|
|
3806
|
+
toolboxDownloadUrl: "",
|
|
3807
|
+
toolboxInfoText: "\u5F53\u524D\u65E0\u8BF4\u660E\u4FE1\u606F"
|
|
3553
3808
|
});
|
|
3554
3809
|
const pieComponentProps = transformToComponentProps(pieProps);
|
|
3555
3810
|
const pieEvents = ["click", "refreshData"];
|
|
3811
|
+
const useDownloadFile = async (downloadFileUrl) => {
|
|
3812
|
+
var _a2;
|
|
3813
|
+
const res = await request.post(downloadFileUrl, {}, {
|
|
3814
|
+
responseType: "blob"
|
|
3815
|
+
});
|
|
3816
|
+
const { data, headers } = res;
|
|
3817
|
+
const fileName = headers["content-disposition"].replace(/\w+;filename=(.*)/, "$1");
|
|
3818
|
+
const blob = new Blob([data]);
|
|
3819
|
+
const dom = document.createElement("a");
|
|
3820
|
+
const url = window.URL.createObjectURL(blob);
|
|
3821
|
+
dom.href = url;
|
|
3822
|
+
dom.download = decodeURI(fileName);
|
|
3823
|
+
dom.style.display = "none";
|
|
3824
|
+
document.body.appendChild(dom);
|
|
3825
|
+
dom.click();
|
|
3826
|
+
(_a2 = dom.parentNode) == null ? void 0 : _a2.removeChild(dom);
|
|
3827
|
+
window.URL.revokeObjectURL(url);
|
|
3828
|
+
};
|
|
3829
|
+
var Pie_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".full-modal .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n}\n.full-modal .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n}\n.full-modal .ant-modal-body {\n flex: 1;\n}\n.full-modal .ant-modal-body {\n padding: 45px 30px 0;\n}\n")();
|
|
3556
3830
|
use([
|
|
3557
3831
|
CanvasRenderer,
|
|
3558
3832
|
PieChart,
|
|
3559
3833
|
TitleComponent,
|
|
3834
|
+
ToolboxComponent,
|
|
3560
3835
|
TooltipComponent,
|
|
3561
3836
|
LegendComponent
|
|
3562
3837
|
]);
|
|
@@ -3565,11 +3840,16 @@ const _sfc_main$a = defineComponent({
|
|
|
3565
3840
|
props: __spreadValues({}, pieComponentProps),
|
|
3566
3841
|
components: {
|
|
3567
3842
|
Spin,
|
|
3568
|
-
Echarts
|
|
3843
|
+
Echarts,
|
|
3844
|
+
AModal: Modal$1
|
|
3569
3845
|
},
|
|
3570
3846
|
setup(props2) {
|
|
3571
3847
|
const style2 = usePickComponentStyle(props2);
|
|
3572
3848
|
const dataset = ref([]);
|
|
3849
|
+
const visible = ref(false);
|
|
3850
|
+
const hideModal = () => {
|
|
3851
|
+
visible.value = false;
|
|
3852
|
+
};
|
|
3573
3853
|
const option = computed(() => {
|
|
3574
3854
|
let { data = [] } = unref(dataset)[0] || {};
|
|
3575
3855
|
if (Array.isArray(props2.colors)) {
|
|
@@ -3580,6 +3860,42 @@ const _sfc_main$a = defineComponent({
|
|
|
3580
3860
|
}, item));
|
|
3581
3861
|
}
|
|
3582
3862
|
return {
|
|
3863
|
+
toolbox: {
|
|
3864
|
+
show: props2.toolboxShow,
|
|
3865
|
+
left: props2.toolboxLeft,
|
|
3866
|
+
top: props2.toolboxTop,
|
|
3867
|
+
itemSize: props2.toolboxItemSize,
|
|
3868
|
+
itemGap: props2.toolboxItemGap,
|
|
3869
|
+
feature: {
|
|
3870
|
+
myDownload: {
|
|
3871
|
+
show: true,
|
|
3872
|
+
title: "\u6570\u636E\u4E0B\u8F7D",
|
|
3873
|
+
icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
|
|
3874
|
+
onclick() {
|
|
3875
|
+
useDownloadFile(props2.toolboxDownloadUrl);
|
|
3876
|
+
}
|
|
3877
|
+
},
|
|
3878
|
+
myDataZoom: {
|
|
3879
|
+
show: true,
|
|
3880
|
+
title: "\u653E\u5927",
|
|
3881
|
+
icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
|
|
3882
|
+
onclick() {
|
|
3883
|
+
visible.value = true;
|
|
3884
|
+
}
|
|
3885
|
+
},
|
|
3886
|
+
myInfo: {
|
|
3887
|
+
show: true,
|
|
3888
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
3889
|
+
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
3890
|
+
onclick() {
|
|
3891
|
+
Modal$1.info({
|
|
3892
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
3893
|
+
content: props2.toolboxInfoText
|
|
3894
|
+
});
|
|
3895
|
+
}
|
|
3896
|
+
}
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3583
3899
|
title: {
|
|
3584
3900
|
text: props2.titleText,
|
|
3585
3901
|
subtext: props2.titleSubtext,
|
|
@@ -3734,13 +4050,16 @@ const _sfc_main$a = defineComponent({
|
|
|
3734
4050
|
option,
|
|
3735
4051
|
style: style2,
|
|
3736
4052
|
click,
|
|
3737
|
-
loading
|
|
4053
|
+
loading,
|
|
4054
|
+
visible,
|
|
4055
|
+
hideModal
|
|
3738
4056
|
};
|
|
3739
4057
|
}
|
|
3740
4058
|
});
|
|
3741
4059
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3742
4060
|
const _component_echarts = resolveComponent("echarts");
|
|
3743
4061
|
const _component_spin = resolveComponent("spin");
|
|
4062
|
+
const _component_a_modal = resolveComponent("a-modal");
|
|
3744
4063
|
return openBlock(), createElementBlock("div", {
|
|
3745
4064
|
style: normalizeStyle(_ctx.style)
|
|
3746
4065
|
}, [
|
|
@@ -3753,7 +4072,28 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3753
4072
|
}, null, 8, ["option", "onClick"])
|
|
3754
4073
|
]),
|
|
3755
4074
|
_: 1
|
|
3756
|
-
}, 8, ["spinning"])
|
|
4075
|
+
}, 8, ["spinning"]),
|
|
4076
|
+
createVNode(_component_a_modal, {
|
|
4077
|
+
"wrap-class-name": "full-modal",
|
|
4078
|
+
width: "100%",
|
|
4079
|
+
visible: _ctx.visible,
|
|
4080
|
+
footer: null,
|
|
4081
|
+
onCancel: _ctx.hideModal
|
|
4082
|
+
}, {
|
|
4083
|
+
default: withCtx(() => [
|
|
4084
|
+
createVNode(_component_spin, { spinning: _ctx.loading }, {
|
|
4085
|
+
default: withCtx(() => [
|
|
4086
|
+
createVNode(_component_echarts, {
|
|
4087
|
+
option: _ctx.option,
|
|
4088
|
+
"update-options": { notMerge: true },
|
|
4089
|
+
autoresize: ""
|
|
4090
|
+
}, null, 8, ["option"])
|
|
4091
|
+
]),
|
|
4092
|
+
_: 1
|
|
4093
|
+
}, 8, ["spinning"])
|
|
4094
|
+
]),
|
|
4095
|
+
_: 1
|
|
4096
|
+
}, 8, ["visible", "onCancel"])
|
|
3757
4097
|
], 4);
|
|
3758
4098
|
}
|
|
3759
4099
|
var Pie = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]);
|
|
@@ -3804,13 +4144,24 @@ const lineProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3804
4144
|
valueTypeDataFieldNames: { name: "name", value: "value", type: "type" },
|
|
3805
4145
|
keyTypeDataFieldNames: { name: "name", types: [] },
|
|
3806
4146
|
dataFieldConfigType: "value",
|
|
3807
|
-
graphicConfig: {}
|
|
4147
|
+
graphicConfig: {},
|
|
4148
|
+
toolboxShow: false,
|
|
4149
|
+
toolboxOrient: "horizontal",
|
|
4150
|
+
toolboxItemSize: 16,
|
|
4151
|
+
toolboxItemGap: 8,
|
|
4152
|
+
toolboxLeft: "right",
|
|
4153
|
+
toolboxTop: "top",
|
|
4154
|
+
toolboxIconStyleBorderColor: "#666",
|
|
4155
|
+
toolboxDownloadUrl: "",
|
|
4156
|
+
toolboxInfoText: "\u5F53\u524D\u65E0\u8BF4\u660E\u4FE1\u606F"
|
|
3808
4157
|
});
|
|
3809
4158
|
const lineComponentProps = transformToComponentProps(lineProps);
|
|
3810
4159
|
const lineEvents = ["click", "refreshData"];
|
|
4160
|
+
var Line_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".full-modal .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n}\n.full-modal .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n}\n.full-modal .ant-modal-body {\n flex: 1;\n}\n.full-modal .ant-modal-body {\n padding: 45px 30px 0;\n}\n")();
|
|
3811
4161
|
use([
|
|
3812
4162
|
CanvasRenderer,
|
|
3813
4163
|
LineChart,
|
|
4164
|
+
ToolboxComponent,
|
|
3814
4165
|
TitleComponent,
|
|
3815
4166
|
LegendComponent
|
|
3816
4167
|
]);
|
|
@@ -3819,13 +4170,54 @@ const _sfc_main$9 = defineComponent({
|
|
|
3819
4170
|
props: __spreadValues({}, lineComponentProps),
|
|
3820
4171
|
components: {
|
|
3821
4172
|
Spin,
|
|
3822
|
-
Echarts
|
|
4173
|
+
Echarts,
|
|
4174
|
+
AModal: Modal$1
|
|
3823
4175
|
},
|
|
3824
4176
|
setup(props2) {
|
|
3825
4177
|
const style2 = usePickComponentStyle(props2);
|
|
3826
4178
|
const series = ref([]);
|
|
3827
4179
|
const dimensions = ref([]);
|
|
4180
|
+
const visible = ref(false);
|
|
4181
|
+
const hideModal = () => {
|
|
4182
|
+
visible.value = false;
|
|
4183
|
+
};
|
|
3828
4184
|
const option = computed(() => ({
|
|
4185
|
+
toolbox: {
|
|
4186
|
+
show: props2.toolboxShow,
|
|
4187
|
+
left: props2.toolboxLeft,
|
|
4188
|
+
top: props2.toolboxTop,
|
|
4189
|
+
itemSize: props2.toolboxItemSize,
|
|
4190
|
+
itemGap: props2.toolboxItemGap,
|
|
4191
|
+
feature: {
|
|
4192
|
+
myDownload: {
|
|
4193
|
+
show: true,
|
|
4194
|
+
title: "\u6570\u636E\u4E0B\u8F7D",
|
|
4195
|
+
icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
|
|
4196
|
+
onclick() {
|
|
4197
|
+
useDownloadFile(props2.toolboxDownloadUrl);
|
|
4198
|
+
}
|
|
4199
|
+
},
|
|
4200
|
+
myDataZoom: {
|
|
4201
|
+
show: true,
|
|
4202
|
+
title: "\u653E\u5927",
|
|
4203
|
+
icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
|
|
4204
|
+
onclick() {
|
|
4205
|
+
visible.value = true;
|
|
4206
|
+
}
|
|
4207
|
+
},
|
|
4208
|
+
myInfo: {
|
|
4209
|
+
show: true,
|
|
4210
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
4211
|
+
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
4212
|
+
onclick() {
|
|
4213
|
+
Modal$1.info({
|
|
4214
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
4215
|
+
content: props2.toolboxInfoText
|
|
4216
|
+
});
|
|
4217
|
+
}
|
|
4218
|
+
}
|
|
4219
|
+
}
|
|
4220
|
+
},
|
|
3829
4221
|
title: {
|
|
3830
4222
|
text: props2.titleText,
|
|
3831
4223
|
subText: props2.titleSubtext,
|
|
@@ -4019,13 +4411,16 @@ const _sfc_main$9 = defineComponent({
|
|
|
4019
4411
|
option,
|
|
4020
4412
|
style: style2,
|
|
4021
4413
|
click,
|
|
4022
|
-
loading
|
|
4414
|
+
loading,
|
|
4415
|
+
visible,
|
|
4416
|
+
hideModal
|
|
4023
4417
|
};
|
|
4024
4418
|
}
|
|
4025
4419
|
});
|
|
4026
4420
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4027
4421
|
const _component_echarts = resolveComponent("echarts");
|
|
4028
4422
|
const _component_spin = resolveComponent("spin");
|
|
4423
|
+
const _component_a_modal = resolveComponent("a-modal");
|
|
4029
4424
|
return openBlock(), createElementBlock("div", {
|
|
4030
4425
|
style: normalizeStyle(_ctx.style)
|
|
4031
4426
|
}, [
|
|
@@ -4038,7 +4433,28 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4038
4433
|
}, null, 8, ["option", "onClick"])
|
|
4039
4434
|
]),
|
|
4040
4435
|
_: 1
|
|
4041
|
-
}, 8, ["spinning"])
|
|
4436
|
+
}, 8, ["spinning"]),
|
|
4437
|
+
createVNode(_component_a_modal, {
|
|
4438
|
+
"wrap-class-name": "full-modal",
|
|
4439
|
+
width: "100%",
|
|
4440
|
+
visible: _ctx.visible,
|
|
4441
|
+
footer: null,
|
|
4442
|
+
onCancel: _ctx.hideModal
|
|
4443
|
+
}, {
|
|
4444
|
+
default: withCtx(() => [
|
|
4445
|
+
createVNode(_component_spin, { spinning: _ctx.loading }, {
|
|
4446
|
+
default: withCtx(() => [
|
|
4447
|
+
createVNode(_component_echarts, {
|
|
4448
|
+
option: _ctx.option,
|
|
4449
|
+
"update-options": { notMerge: true },
|
|
4450
|
+
autoresize: ""
|
|
4451
|
+
}, null, 8, ["option"])
|
|
4452
|
+
]),
|
|
4453
|
+
_: 1
|
|
4454
|
+
}, 8, ["spinning"])
|
|
4455
|
+
]),
|
|
4456
|
+
_: 1
|
|
4457
|
+
}, 8, ["visible", "onCancel"])
|
|
4042
4458
|
], 4);
|
|
4043
4459
|
}
|
|
4044
4460
|
var Line = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9]]);
|
|
@@ -4102,11 +4518,11 @@ const barProps = __spreadProps(__spreadValues({}, props), {
|
|
|
4102
4518
|
gridLeft: "2%",
|
|
4103
4519
|
gridRight: "2%",
|
|
4104
4520
|
graphicConfig: {
|
|
4105
|
-
chartType: "
|
|
4521
|
+
chartType: "bar",
|
|
4106
4522
|
plugin: "1",
|
|
4107
4523
|
layer: "2"
|
|
4108
4524
|
},
|
|
4109
|
-
toolboxShow:
|
|
4525
|
+
toolboxShow: false,
|
|
4110
4526
|
toolboxOrient: "horizontal",
|
|
4111
4527
|
toolboxItemSize: 16,
|
|
4112
4528
|
toolboxItemGap: 8,
|
|
@@ -4118,25 +4534,7 @@ const barProps = __spreadProps(__spreadValues({}, props), {
|
|
|
4118
4534
|
});
|
|
4119
4535
|
const barComponentProps = transformToComponentProps(barProps);
|
|
4120
4536
|
const barEvents = ["refreshData", "click"];
|
|
4121
|
-
|
|
4122
|
-
var _a2;
|
|
4123
|
-
const res = await request.post(downloadFileUrl, {}, {
|
|
4124
|
-
responseType: "blob"
|
|
4125
|
-
});
|
|
4126
|
-
const { data, headers } = res;
|
|
4127
|
-
const fileName = headers["content-disposition"].replace(/\w+;filename=(.*)/, "$1");
|
|
4128
|
-
const blob = new Blob([data]);
|
|
4129
|
-
const dom = document.createElement("a");
|
|
4130
|
-
const url = window.URL.createObjectURL(blob);
|
|
4131
|
-
dom.href = url;
|
|
4132
|
-
dom.download = decodeURI(fileName);
|
|
4133
|
-
dom.style.display = "none";
|
|
4134
|
-
document.body.appendChild(dom);
|
|
4135
|
-
dom.click();
|
|
4136
|
-
(_a2 = dom.parentNode) == null ? void 0 : _a2.removeChild(dom);
|
|
4137
|
-
window.URL.revokeObjectURL(url);
|
|
4138
|
-
};
|
|
4139
|
-
var Bar_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".full-modal .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n}\n.full-modal .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n}\n.full-modal .ant-modal-body {\n flex: 1;\n}\n.full-modal .modal-inner {\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n padding: 20px;\n}\n")();
|
|
4537
|
+
var Bar_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".full-modal .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n}\n.full-modal .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n}\n.full-modal .ant-modal-body {\n flex: 1;\n}\n.full-modal .ant-modal-body {\n padding: 45px 30px 0;\n}\n")();
|
|
4140
4538
|
use([
|
|
4141
4539
|
CanvasRenderer,
|
|
4142
4540
|
BarChart,
|
|
@@ -4150,7 +4548,7 @@ const _sfc_main$8 = defineComponent({
|
|
|
4150
4548
|
props: __spreadValues({}, barComponentProps),
|
|
4151
4549
|
components: {
|
|
4152
4550
|
Spin,
|
|
4153
|
-
Echarts
|
|
4551
|
+
Echarts,
|
|
4154
4552
|
AModal: Modal$1
|
|
4155
4553
|
},
|
|
4156
4554
|
setup(props2, { expose }) {
|
|
@@ -4326,12 +4724,12 @@ const _sfc_main$8 = defineComponent({
|
|
|
4326
4724
|
loading.value = false;
|
|
4327
4725
|
}
|
|
4328
4726
|
};
|
|
4329
|
-
const
|
|
4727
|
+
const indicatorData = useIndicatorData(props2);
|
|
4330
4728
|
const handleIndicatorData = async () => {
|
|
4331
4729
|
var _a2, _b2;
|
|
4332
4730
|
try {
|
|
4333
4731
|
loading.value = true;
|
|
4334
|
-
const res = await
|
|
4732
|
+
const res = await indicatorData();
|
|
4335
4733
|
const { columns = [], rows = [] } = (_b2 = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) != null ? _b2 : {};
|
|
4336
4734
|
let fieldNames;
|
|
4337
4735
|
if (columns.length > 0) {
|
|
@@ -4395,7 +4793,6 @@ const _sfc_main$8 = defineComponent({
|
|
|
4395
4793
|
};
|
|
4396
4794
|
}
|
|
4397
4795
|
});
|
|
4398
|
-
const _hoisted_1$3 = { class: "modal-inner" };
|
|
4399
4796
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4400
4797
|
const _component_echarts = resolveComponent("echarts");
|
|
4401
4798
|
const _component_spin = resolveComponent("spin");
|
|
@@ -4423,18 +4820,16 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4423
4820
|
onCancel: _ctx.hideModal
|
|
4424
4821
|
}, {
|
|
4425
4822
|
default: withCtx(() => [
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
}, 8, ["spinning"])
|
|
4437
|
-
])
|
|
4823
|
+
createVNode(_component_spin, { spinning: _ctx.loading }, {
|
|
4824
|
+
default: withCtx(() => [
|
|
4825
|
+
createVNode(_component_echarts, {
|
|
4826
|
+
option: _ctx.option,
|
|
4827
|
+
"update-options": { notMerge: true },
|
|
4828
|
+
autoresize: ""
|
|
4829
|
+
}, null, 8, ["option"])
|
|
4830
|
+
]),
|
|
4831
|
+
_: 1
|
|
4832
|
+
}, 8, ["spinning"])
|
|
4438
4833
|
]),
|
|
4439
4834
|
_: 1
|
|
4440
4835
|
}, 8, ["visible", "onCancel"])
|
|
@@ -4484,13 +4879,24 @@ const scatterProps = __spreadProps(__spreadValues({}, props), {
|
|
|
4484
4879
|
gridBottom: "10%",
|
|
4485
4880
|
gridLeft: "2%",
|
|
4486
4881
|
gridRight: "2%",
|
|
4487
|
-
graphicConfig: void 0
|
|
4882
|
+
graphicConfig: void 0,
|
|
4883
|
+
toolboxShow: false,
|
|
4884
|
+
toolboxOrient: "horizontal",
|
|
4885
|
+
toolboxItemSize: 16,
|
|
4886
|
+
toolboxItemGap: 8,
|
|
4887
|
+
toolboxLeft: "right",
|
|
4888
|
+
toolboxTop: "top",
|
|
4889
|
+
toolboxIconStyleBorderColor: "#666",
|
|
4890
|
+
toolboxDownloadUrl: "",
|
|
4891
|
+
toolboxInfoText: "\u5F53\u524D\u65E0\u8BF4\u660E\u4FE1\u606F"
|
|
4488
4892
|
});
|
|
4489
4893
|
const scatterComponentProps = transformToComponentProps(scatterProps);
|
|
4490
4894
|
const scatterEvents = ["click", "refreshData"];
|
|
4895
|
+
var Scatter_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".full-modal .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n}\n.full-modal .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n}\n.full-modal .ant-modal-body {\n flex: 1;\n}\n.full-modal .ant-modal-body {\n padding: 45px 30px 0;\n}\n")();
|
|
4491
4896
|
use([
|
|
4492
4897
|
CanvasRenderer,
|
|
4493
4898
|
ScatterChart,
|
|
4899
|
+
ToolboxComponent,
|
|
4494
4900
|
TitleComponent,
|
|
4495
4901
|
TooltipComponent,
|
|
4496
4902
|
LegendComponent
|
|
@@ -4500,12 +4906,52 @@ const _sfc_main$7 = defineComponent({
|
|
|
4500
4906
|
props: __spreadValues({}, scatterComponentProps),
|
|
4501
4907
|
components: {
|
|
4502
4908
|
Spin,
|
|
4503
|
-
Echarts
|
|
4909
|
+
Echarts
|
|
4504
4910
|
},
|
|
4505
4911
|
setup(props2) {
|
|
4506
4912
|
const style2 = usePickComponentStyle(props2);
|
|
4507
4913
|
const dataset = ref([]);
|
|
4914
|
+
const visible = ref(false);
|
|
4915
|
+
const hideModal = () => {
|
|
4916
|
+
visible.value = false;
|
|
4917
|
+
};
|
|
4508
4918
|
const option = computed(() => ({
|
|
4919
|
+
toolbox: {
|
|
4920
|
+
show: props2.toolboxShow,
|
|
4921
|
+
left: props2.toolboxLeft,
|
|
4922
|
+
top: props2.toolboxTop,
|
|
4923
|
+
itemSize: props2.toolboxItemSize,
|
|
4924
|
+
itemGap: props2.toolboxItemGap,
|
|
4925
|
+
feature: {
|
|
4926
|
+
myDownload: {
|
|
4927
|
+
show: true,
|
|
4928
|
+
title: "\u6570\u636E\u4E0B\u8F7D",
|
|
4929
|
+
icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
|
|
4930
|
+
onclick() {
|
|
4931
|
+
useDownloadFile(props2.toolboxDownloadUrl);
|
|
4932
|
+
}
|
|
4933
|
+
},
|
|
4934
|
+
myDataZoom: {
|
|
4935
|
+
show: true,
|
|
4936
|
+
title: "\u653E\u5927",
|
|
4937
|
+
icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
|
|
4938
|
+
onclick() {
|
|
4939
|
+
visible.value = true;
|
|
4940
|
+
}
|
|
4941
|
+
},
|
|
4942
|
+
myInfo: {
|
|
4943
|
+
show: true,
|
|
4944
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
4945
|
+
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
4946
|
+
onclick() {
|
|
4947
|
+
Modal$1.info({
|
|
4948
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
4949
|
+
content: props2.toolboxInfoText
|
|
4950
|
+
});
|
|
4951
|
+
}
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
},
|
|
4509
4955
|
title: {
|
|
4510
4956
|
text: props2.titleText,
|
|
4511
4957
|
subtext: props2.titleSubtext,
|
|
@@ -4640,13 +5086,16 @@ const _sfc_main$7 = defineComponent({
|
|
|
4640
5086
|
option,
|
|
4641
5087
|
style: style2,
|
|
4642
5088
|
click,
|
|
4643
|
-
loading
|
|
5089
|
+
loading,
|
|
5090
|
+
visible,
|
|
5091
|
+
hideModal
|
|
4644
5092
|
};
|
|
4645
5093
|
}
|
|
4646
5094
|
});
|
|
4647
5095
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4648
5096
|
const _component_echarts = resolveComponent("echarts");
|
|
4649
5097
|
const _component_spin = resolveComponent("spin");
|
|
5098
|
+
const _component_a_modal = resolveComponent("a-modal");
|
|
4650
5099
|
return openBlock(), createElementBlock("div", {
|
|
4651
5100
|
style: normalizeStyle(_ctx.style)
|
|
4652
5101
|
}, [
|
|
@@ -4659,7 +5108,28 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4659
5108
|
}, null, 8, ["option", "onClick"])
|
|
4660
5109
|
]),
|
|
4661
5110
|
_: 1
|
|
4662
|
-
}, 8, ["spinning"])
|
|
5111
|
+
}, 8, ["spinning"]),
|
|
5112
|
+
createVNode(_component_a_modal, {
|
|
5113
|
+
"wrap-class-name": "full-modal",
|
|
5114
|
+
width: "100%",
|
|
5115
|
+
visible: _ctx.visible,
|
|
5116
|
+
footer: null,
|
|
5117
|
+
onCancel: _ctx.hideModal
|
|
5118
|
+
}, {
|
|
5119
|
+
default: withCtx(() => [
|
|
5120
|
+
createVNode(_component_spin, { spinning: _ctx.loading }, {
|
|
5121
|
+
default: withCtx(() => [
|
|
5122
|
+
createVNode(_component_echarts, {
|
|
5123
|
+
option: _ctx.option,
|
|
5124
|
+
"update-options": { notMerge: true },
|
|
5125
|
+
autoresize: ""
|
|
5126
|
+
}, null, 8, ["option"])
|
|
5127
|
+
]),
|
|
5128
|
+
_: 1
|
|
5129
|
+
}, 8, ["spinning"])
|
|
5130
|
+
]),
|
|
5131
|
+
_: 1
|
|
5132
|
+
}, 8, ["visible", "onCancel"])
|
|
4663
5133
|
], 4);
|
|
4664
5134
|
}
|
|
4665
5135
|
var Scatter = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7]]);
|
|
@@ -4679,7 +5149,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
4679
5149
|
name: "EcanCustomGraph",
|
|
4680
5150
|
props: __spreadValues({}, customGraphComponentProps),
|
|
4681
5151
|
components: {
|
|
4682
|
-
Echarts
|
|
5152
|
+
Echarts
|
|
4683
5153
|
},
|
|
4684
5154
|
setup(props2) {
|
|
4685
5155
|
const style2 = usePickComponentStyle(props2);
|
|
@@ -4801,35 +5271,87 @@ const comboGraphProps = __spreadProps(__spreadValues({}, props), {
|
|
|
4801
5271
|
gridBottom: "10%",
|
|
4802
5272
|
gridLeft: "2%",
|
|
4803
5273
|
gridRight: "2%",
|
|
4804
|
-
graphicConfig: {}
|
|
5274
|
+
graphicConfig: {},
|
|
5275
|
+
toolboxShow: false,
|
|
5276
|
+
toolboxOrient: "horizontal",
|
|
5277
|
+
toolboxItemSize: 16,
|
|
5278
|
+
toolboxItemGap: 8,
|
|
5279
|
+
toolboxLeft: "right",
|
|
5280
|
+
toolboxTop: "top",
|
|
5281
|
+
toolboxIconStyleBorderColor: "#666",
|
|
5282
|
+
toolboxDownloadUrl: "",
|
|
5283
|
+
toolboxInfoText: "\u5F53\u524D\u65E0\u8BF4\u660E\u4FE1\u606F"
|
|
4805
5284
|
});
|
|
4806
5285
|
const comboGraphComponentProps = transformToComponentProps(comboGraphProps);
|
|
4807
5286
|
const comboGraphEvents = ["refreshData", "click"];
|
|
5287
|
+
var ComboGraph_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".full-modal .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n}\n.full-modal .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n}\n.full-modal .ant-modal-body {\n flex: 1;\n}\n.full-modal .ant-modal-body {\n padding: 45px 30px 0;\n}\n")();
|
|
4808
5288
|
use([
|
|
4809
5289
|
CanvasRenderer,
|
|
4810
5290
|
BarChart,
|
|
4811
5291
|
LineChart,
|
|
4812
5292
|
TitleComponent,
|
|
4813
5293
|
LegendComponent,
|
|
4814
|
-
DatasetComponent
|
|
5294
|
+
DatasetComponent,
|
|
5295
|
+
ToolboxComponent
|
|
4815
5296
|
]);
|
|
4816
5297
|
const _sfc_main$5 = defineComponent({
|
|
4817
5298
|
name: "EcanComboGraph",
|
|
4818
5299
|
props: __spreadValues({}, comboGraphComponentProps),
|
|
4819
5300
|
components: {
|
|
4820
5301
|
Spin,
|
|
4821
|
-
Echarts
|
|
5302
|
+
Echarts,
|
|
5303
|
+
AModal: Modal$1
|
|
4822
5304
|
},
|
|
4823
5305
|
setup(props2) {
|
|
4824
5306
|
const style2 = usePickComponentStyle(props2);
|
|
4825
5307
|
const series = ref([]);
|
|
4826
5308
|
const dimensions = ref([]);
|
|
5309
|
+
const visible = ref(false);
|
|
5310
|
+
const hideModal = () => {
|
|
5311
|
+
visible.value = false;
|
|
5312
|
+
};
|
|
4827
5313
|
const option = computed(() => ({
|
|
4828
5314
|
title: {
|
|
4829
5315
|
text: props2.titleText,
|
|
4830
5316
|
subtext: props2.titleSubtext,
|
|
4831
5317
|
left: "center"
|
|
4832
5318
|
},
|
|
5319
|
+
toolbox: {
|
|
5320
|
+
show: props2.toolboxShow,
|
|
5321
|
+
left: props2.toolboxLeft,
|
|
5322
|
+
top: props2.toolboxTop,
|
|
5323
|
+
itemSize: props2.toolboxItemSize,
|
|
5324
|
+
itemGap: props2.toolboxItemGap,
|
|
5325
|
+
feature: {
|
|
5326
|
+
myDownload: {
|
|
5327
|
+
show: true,
|
|
5328
|
+
title: "\u6570\u636E\u4E0B\u8F7D",
|
|
5329
|
+
icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
|
|
5330
|
+
onclick() {
|
|
5331
|
+
useDownloadFile(props2.toolboxDownloadUrl);
|
|
5332
|
+
}
|
|
5333
|
+
},
|
|
5334
|
+
myDataZoom: {
|
|
5335
|
+
show: true,
|
|
5336
|
+
title: "\u653E\u5927",
|
|
5337
|
+
icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
|
|
5338
|
+
onclick() {
|
|
5339
|
+
visible.value = true;
|
|
5340
|
+
}
|
|
5341
|
+
},
|
|
5342
|
+
myInfo: {
|
|
5343
|
+
show: true,
|
|
5344
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
5345
|
+
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
5346
|
+
onclick() {
|
|
5347
|
+
Modal$1.info({
|
|
5348
|
+
title: "\u8BF4\u660E\u4FE1\u606F",
|
|
5349
|
+
content: props2.toolboxInfoText
|
|
5350
|
+
});
|
|
5351
|
+
}
|
|
5352
|
+
}
|
|
5353
|
+
}
|
|
5354
|
+
},
|
|
4833
5355
|
grid: {
|
|
4834
5356
|
top: props2.gridTop,
|
|
4835
5357
|
bottom: props2.gridBottom,
|
|
@@ -5030,13 +5552,16 @@ const _sfc_main$5 = defineComponent({
|
|
|
5030
5552
|
style: style2,
|
|
5031
5553
|
option,
|
|
5032
5554
|
click,
|
|
5033
|
-
loading
|
|
5555
|
+
loading,
|
|
5556
|
+
visible,
|
|
5557
|
+
hideModal
|
|
5034
5558
|
};
|
|
5035
5559
|
}
|
|
5036
5560
|
});
|
|
5037
5561
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5038
5562
|
const _component_echarts = resolveComponent("echarts");
|
|
5039
5563
|
const _component_spin = resolveComponent("spin");
|
|
5564
|
+
const _component_a_modal = resolveComponent("a-modal");
|
|
5040
5565
|
return openBlock(), createElementBlock("div", {
|
|
5041
5566
|
style: normalizeStyle(_ctx.style)
|
|
5042
5567
|
}, [
|
|
@@ -5050,7 +5575,29 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5050
5575
|
}, null, 8, ["option", "onClick"])
|
|
5051
5576
|
]),
|
|
5052
5577
|
_: 1
|
|
5053
|
-
}, 8, ["spinning"])
|
|
5578
|
+
}, 8, ["spinning"]),
|
|
5579
|
+
createVNode(_component_a_modal, {
|
|
5580
|
+
"wrap-class-name": "full-modal",
|
|
5581
|
+
width: "100%",
|
|
5582
|
+
visible: _ctx.visible,
|
|
5583
|
+
footer: null,
|
|
5584
|
+
onCancel: _ctx.hideModal
|
|
5585
|
+
}, {
|
|
5586
|
+
default: withCtx(() => [
|
|
5587
|
+
createVNode(_component_spin, { spinning: _ctx.loading }, {
|
|
5588
|
+
default: withCtx(() => [
|
|
5589
|
+
createVNode(_component_echarts, {
|
|
5590
|
+
option: _ctx.option,
|
|
5591
|
+
"update-options": { notMerge: true },
|
|
5592
|
+
autoresize: "",
|
|
5593
|
+
onClick: _ctx.click
|
|
5594
|
+
}, null, 8, ["option", "onClick"])
|
|
5595
|
+
]),
|
|
5596
|
+
_: 1
|
|
5597
|
+
}, 8, ["spinning"])
|
|
5598
|
+
]),
|
|
5599
|
+
_: 1
|
|
5600
|
+
}, 8, ["visible", "onCancel"])
|
|
5054
5601
|
], 4);
|
|
5055
5602
|
}
|
|
5056
5603
|
var ComboGraph = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
|
|
@@ -5072,7 +5619,7 @@ const borderComponentProps = transformToComponentProps(borderProps);
|
|
|
5072
5619
|
const borderEvents = ["click"];
|
|
5073
5620
|
var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUz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dera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==";
|
|
5075
|
-
var Border_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '.top-title[data-v-f83231c0],\n.no-title[data-v-f83231c0] {\n border: 1px solid rgba(55, 85, 218, 0.3);\n background: rgba(7, 22, 85, 0.8);\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n}\n.top-title .border-item[data-v-f83231c0],\n.no-title .border-item[data-v-f83231c0] {\n position: absolute;\n z-index: 2;\n border-color: #50FCFC;\n border-style: solid;\n width: 13px;\n height: 11px;\n}\n.top-title .top-left[data-v-f83231c0],\n.no-title .top-left[data-v-f83231c0] {\n top: 0;\n left: 0;\n border-top-width: 1px;\n border-right-width: 0;\n border-bottom-width: 0;\n border-left-width: 1px;\n}\n.top-title .top-right[data-v-f83231c0],\n.no-title .top-right[data-v-f83231c0] {\n top: 0;\n right: -2px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-bottom-width: 0;\n border-left-width: 0;\n}\n.top-title .bottom-left[data-v-f83231c0],\n.no-title .bottom-left[data-v-f83231c0] {\n bottom: -2px;\n left: 0;\n border-top-width: 0;\n border-right-width: 0;\n border-bottom-width: 1px;\n border-left-width: 1px;\n}\n.top-title .bottom-right[data-v-f83231c0],\n.no-title .bottom-right[data-v-f83231c0] {\n bottom: -2px;\n right: -2px;\n border-top-width: 0;\n border-right-width: 1px;\n border-bottom-width: 1px;\n border-left-width: 0;\n}\n.top-title .title-item-wrapper[data-v-f83231c0],\n.no-title .title-item-wrapper[data-v-f83231c0] {\n width: 100%;\n padding: 5px 0;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcgAAAAsCAMAAADW3dj4AAAAVFBMVEUIKbkAAAAAqv8IL70AovwAnfAAlvEGQsUIOcEAkewGfuQGR8gAg+YIPMMFd+AEadkEX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/c3OOpRP9pX8QvIQ90i+/ZCqdq30yB+B9JmdK7tWEcmuVTwKSUdke1NemNghkizk7D+YkT3C5z0RZctMkbMjSZQciJJIlLo/vaKW/Rc8IhJAtgsBp08PATOql6UCVwAAAABJRU5ErkJggg==");\n background-size: cover;\n display: grid;\n place-content: center;\n}\n.top-title .title-item[data-v-f83231c0],\n.no-title .title-item[data-v-f83231c0] {\n display: flex;\n align-items: center;\n}\n.top-title .title[data-v-f83231c0],\n.no-title .title[data-v-f83231c0] {\n padding: 0 17px;\n color: #d5fdfd;\n background: linear-gradient(0deg, #01aaff, #00eaff);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.top-title .title-decoration-left[data-v-f83231c0],\n.no-title .title-decoration-left[data-v-f83231c0] {\n width: 58px;\n height: 14px;\n}\n.top-title .title-decoration-right[data-v-f83231c0],\n.no-title .title-decoration-right[data-v-f83231c0] {\n width: 58px;\n height: 14px;\n}\n.only-border[data-v-f83231c0] {\n border: 2px solid #375A8899;\n border-radius: 8px;\n width: 100%;\n height: 100%;\n}\n.left-title[data-v-f83231c0] {\n position: relative;\n width: 100%;\n height: 100%;\n border: 2px solid #375A8899;\n border-radius: 8px;\n}\n.left-title .title[data-v-f83231c0] {\n position: absolute;\n left: -33px;\n top: -14px;\n width: 33px;\n min-height: 194px;\n padding-top: 33px;\n padding-bottom: 31px;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAADCCAMAAADw6ltxAAACr1BMVEUAAAAhVZMcU4ocU4ocU4kcU4ocU4gbUogcU4kcU4kcU4obU4ocU4kcVIocUoUcUYYcUogcVYwcU4kiXpAcU4ocUokcU4ocVIsbU4ocUYYcUokcU4klXo4cUYYcU4ocVIshVZgbUoccVIocVIwcU4kcVIscVIwdU4gcUYYcU4ocU4kcUokcVIwbUokcUYUbVIodU4scVIscWJEcUogdU4scU4scUogcU4kcUogcVIsdUokcUYccU4kcU4ocVIwcU4sbUogcUogcVIscUokbU4wcUYcc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WCrPdttsX2nZZgI23B8PgxWqJFEG0MERR5SXFPaocbNjIIrGW8Z3aVhWUtb5hrVV2HXcupWYFXDTPUpQIZjMrY5RRYagUlgchG6EZR2NMyAsoiDPQUuzCcRydczNwarz6bEQj8FyfijjbXaX47oKOJwu6bApIhgdHMEFI8ZNNmWea3OTqbjeKMsMf5ZMvT3kDJUUpxcfu4Nk9OLABD/XbxxgiVwhDUTRdQ0xEBQ4DTAxIwAaPxIDBpUsIgp9K+PXotgv46+tN4DUiM5zMTR7h5HKmpHF/pZROke4WU3jBWSqFPDHGCCP9p1nX1QgpMHPWCZEJR+YOxM+rH0aEs68jy7IRwT7WNOK84Iyx5buu6wZRqg4oB3bOwNvRAJUqdxAKpLhKmGcp04s8bZBA7gxfs+f/9DRorXMYxNL2XddjYT/RoO9hEO975/FKURTaGx2MwFKVJ0WgJINqSCGLjMDnVpZzSxQIGaHmZ/a0pzfPkYGaoSJgPmBEfDzJeABvxDW2mqYKa9s2MqKa6YKMmF87DcOAkBHDnwO4M1BzQLB3BuMva+8N1Oww7kleyR9E49oLoDfH+QAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n color: #fff;\n font-weight: 500;\n text-align: center;\n}\n.left-title .title span[data-v-f83231c0] {\n writing-mode: vertical-lr;\n}\n')();
|
|
5622
|
+
var Border_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '.top-title[data-v-3c3b861e],\n.no-title[data-v-3c3b861e] {\n border: 1px solid rgba(55, 85, 218, 0.3);\n background: rgba(7, 22, 85, 0.8);\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n}\n.top-title .border-item[data-v-3c3b861e],\n.no-title .border-item[data-v-3c3b861e] {\n position: absolute;\n z-index: 2;\n border-color: #50FCFC;\n border-style: solid;\n width: 13px;\n height: 11px;\n}\n.top-title .top-left[data-v-3c3b861e],\n.no-title .top-left[data-v-3c3b861e] {\n top: 0;\n left: 0;\n border-top-width: 1px;\n border-right-width: 0;\n border-bottom-width: 0;\n border-left-width: 1px;\n}\n.top-title .top-right[data-v-3c3b861e],\n.no-title .top-right[data-v-3c3b861e] {\n top: 0;\n right: -2px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-bottom-width: 0;\n border-left-width: 0;\n}\n.top-title .bottom-left[data-v-3c3b861e],\n.no-title .bottom-left[data-v-3c3b861e] {\n bottom: -2px;\n left: 0;\n border-top-width: 0;\n border-right-width: 0;\n border-bottom-width: 1px;\n border-left-width: 1px;\n}\n.top-title .bottom-right[data-v-3c3b861e],\n.no-title .bottom-right[data-v-3c3b861e] {\n bottom: -2px;\n right: -2px;\n border-top-width: 0;\n border-right-width: 1px;\n border-bottom-width: 1px;\n border-left-width: 0;\n}\n.top-title .title-item-wrapper[data-v-3c3b861e],\n.no-title .title-item-wrapper[data-v-3c3b861e] {\n width: 100%;\n padding: 5px 0;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcgAAAAsCAMAAADW3dj4AAAAVFBMVEUIKbkAAAAAqv8IL70AovwAnfAAlvEGQsUIOcEAkewGfuQGR8gAg+YIPMMFd+AEadkEXtQAi+sEYtcGTcsFcd4INL8DWdEGUc4EbNsAiOkHVdAIK7o5DngbAAAAHHRSTlNmAAVmCxAVWmEaK1YmXjA8RR5BUjRjSU84IkxfPwrt7wAABlFJREFUeNrMmQtW20AMRWlrJ9R8TCgJ0O5/nxVHIRrNRSgTZwJvJs4C7rnWx1f/FuXug6zXcpmbKn9cng/5e8jO5aHMo8+MvLznyefeZapzW+a1yIb57bJCxg8zhPkZ50eeq6PyK8q2yPX2usqdpYZ7Q7IVWKLdlWhLqhVYItUQqCUgCqZA6UKYJc5BrrIEw7ej/4QoR556uoI0kgTpUBKm5ygXJOkoQYLjowM5H0DKOYDUYxzlGkXhOBUU5RxAyjGQcgqKwlEetZU1TOE1gqOilOgTLC9rpA9J1oGRGchdaKShnE8wcpILIadjjNwUGKnkWCkpGNVIvVQywCi/9yO3A0hJKq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JKTiLzeQSQTyuBxjEjcP0rHD++RYjII0aVz5HDS/DKfyHW1a3PV06foFiK5fSVESvGu1a9aXybMkW/wyHSzw1qyaxWRLKVwZM68Z5LL/vlDMD5w/JBApAvRBfdIEum61vwe2RaxTyTDV+KR2vNIdazWJP+5R7ZN6/ZhjIwTAkDSEenjkB7JfvBqYkDZ1NED6SMC93ukZDYCtmvVkg5I2s2OiPRPBijRGBG56SDjh5CESc4gUsIcOZTZkfxmB12rAZLXDyJJKBeD5BGanV7S/Byt6AyQzfEj3uzkRApI+CS7Vk+kFB8kS/PJkUmeR5fmRJJEqpSzPZJEZkjyGgkg26YVEYH6OfIdQNZ5pCdSKiaSQJq+1RBpm52Gwz9fCHCOfIhHfniPlGKPzInUdq4VcGRB+wnlioCAP2NJFR5JJH3TKiJf8WK5nxAwXasjktVEzJxrgVoik1xrEZF8jDXUtV6C64cqeWKwlXlIAunjkFrs3D4IR6zae2R/ISAVECkBSJNr5WbHB5Q9jwTSeSRXrQ7IJzWtFUR+L6QnEik6IWm61tQj30bukUTSlBLnyD6RQtIQSSxdHW9IFhKZeCQHyeldKyM7d75Y5hmLRArJ/c3OOpRP9pX8QvIQ90i+/ZCqdq30yB+B9JmdK7tWEcmuVTwKSUdke1NemNghkizk7D+YkT3C5z0RZctMkbMjSZQciJJIlLo/vaKW/Rc8IhJAtgsBp08PATOql6UCVwAAAABJRU5ErkJggg==");\n background-size: cover;\n display: grid;\n place-content: center;\n}\n.top-title .title-item[data-v-3c3b861e],\n.no-title .title-item[data-v-3c3b861e] {\n display: flex;\n align-items: center;\n}\n.top-title .title[data-v-3c3b861e],\n.no-title .title[data-v-3c3b861e] {\n padding: 0 17px;\n color: #d5fdfd;\n background: linear-gradient(0deg, #01aaff, #00eaff);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.top-title .title-decoration-left[data-v-3c3b861e],\n.no-title .title-decoration-left[data-v-3c3b861e] {\n width: 58px;\n height: 14px;\n}\n.top-title .title-decoration-right[data-v-3c3b861e],\n.no-title .title-decoration-right[data-v-3c3b861e] {\n width: 58px;\n height: 14px;\n}\n.only-border[data-v-3c3b861e] {\n border: 2px solid #375A8899;\n border-radius: 8px;\n width: 100%;\n height: 100%;\n}\n.left-title[data-v-3c3b861e] {\n position: relative;\n width: 100%;\n height: 100%;\n border: 2px solid #375A8899;\n border-radius: 8px;\n}\n.left-title .title[data-v-3c3b861e] {\n position: absolute;\n left: -33px;\n top: -14px;\n width: 33px;\n min-height: 194px;\n padding-top: 33px;\n padding-bottom: 31px;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAADCCAMAAADw6ltxAAACr1BMVEUAAAAhVZMcU4ocU4ocU4kcU4ocU4gbUogcU4kcU4kcU4obU4ocU4kcVIocUoUcUYYcUogcVYwcU4kiXpAcU4ocUokcU4ocVIsbU4ocUYYcUokcU4klXo4cUYYcU4ocVIshVZgbUoccVIocVIwcU4kcVIscVIwdU4gcUYYcU4ocU4kcUokcVIwbUokcUYUbVIodU4scVIscWJEcUogdU4scU4scUogcU4kcUogcVIsdUokcUYccU4kcU4ocVIwcU4sbUogcUogcVIscUokbU4wcUYccU4ccU4ocVI0cUogcU4scVIscU4gcVIsdU4kcVIkbU4kcVYscVIwcVIwcVY0cUogcUogbUIQbUokcUYcdVYocUogcVYwcUoccVY0cVo4cU4kcVo4cU4kcUoYcVYwcUYYcT4McUoYcU4wcVIocUoobUogcVIwcVI0bUogcUYQrVZUeWY8cUogcVIscVIkdUoccVY4cVIwcVo4bVo8cVIwdVYwcVo4cVYsdVYscVY0dVowdWZUArM4Am7MeW5EeV48eVY4bUokeWpccUIUcU4gRWqYErc4dV44cUIYgV40cVIwdVY0eVowXV50cUogRWqYRWaYErc4RWqYgV40QWqYRWqYErc4QWqYeV40Drc8ZWpwErM0Ers0ZW58gYJMdTYQiYpQFrs4eWJAVWJ4iWIwVWZ4nbJsRWqYgWZIErc8Ers4fWo8hXZQSWqYRWaYQWqceU4oQWqUtdaMEr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2MwFKVJ0WgJINqSCGLjMDnVpZzSxQIGaHmZ/a0pzfPkYGaoSJgPmBEfDzJeABvxDW2mqYKa9s2MqKa6YKMmF87DcOAkBHDnwO4M1BzQLB3BuMva+8N1Oww7kleyR9E49oLoDfH+QAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n color: #fff;\n font-weight: 500;\n text-align: center;\n}\n.left-title .title span[data-v-3c3b861e] {\n writing-mode: vertical-lr;\n}\n')();
|
|
5076
5623
|
const _sfc_main$4 = defineComponent({
|
|
5077
5624
|
name: "EcanBorder",
|
|
5078
5625
|
props: __spreadValues({}, borderComponentProps),
|
|
@@ -5090,7 +5637,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
5090
5637
|
};
|
|
5091
5638
|
}
|
|
5092
5639
|
});
|
|
5093
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
5640
|
+
const _withScopeId = (n) => (pushScopeId("data-v-3c3b861e"), n = n(), popScopeId(), n);
|
|
5094
5641
|
const _hoisted_1$2 = {
|
|
5095
5642
|
key: 0,
|
|
5096
5643
|
class: "top-title"
|
|
@@ -5161,7 +5708,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5161
5708
|
])) : createCommentVNode("", true)
|
|
5162
5709
|
], 4);
|
|
5163
5710
|
}
|
|
5164
|
-
var Border = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
5711
|
+
var Border = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-3c3b861e"]]);
|
|
5165
5712
|
const EcanBorder = withInstall(Border);
|
|
5166
5713
|
const modalProps = {
|
|
5167
5714
|
id: "",
|
|
@@ -5427,38 +5974,41 @@ const tableProps = __spreadProps(__spreadValues({}, props), {
|
|
|
5427
5974
|
address: "\u798F\u5DDE\u8F6F\u4EF6\u56ED"
|
|
5428
5975
|
}
|
|
5429
5976
|
],
|
|
5430
|
-
graphicConfig: {
|
|
5977
|
+
graphicConfig: {
|
|
5978
|
+
chartType: "table",
|
|
5979
|
+
plugin: "1",
|
|
5980
|
+
layer: "1"
|
|
5981
|
+
}
|
|
5431
5982
|
});
|
|
5432
5983
|
const tableComponentProps = transformToComponentProps(tableProps);
|
|
5433
5984
|
const tableEvents = ["click", "refreshData"];
|
|
5434
|
-
var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.table[data-v-
|
|
5985
|
+
var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.table[data-v-56b87792] {
|
|
5435
5986
|
width: 100%;
|
|
5436
|
-
height: 100%;
|
|
5437
5987
|
}
|
|
5438
|
-
.goUp[data-v-
|
|
5988
|
+
.goUp[data-v-56b87792] {
|
|
5439
5989
|
color: #FF512E;
|
|
5440
5990
|
display: flex;
|
|
5441
5991
|
align-items: center;
|
|
5442
5992
|
}
|
|
5443
|
-
.goUp[data-v-
|
|
5993
|
+
.goUp[data-v-56b87792]:before {
|
|
5444
5994
|
content: '';
|
|
5445
5995
|
display: block;
|
|
5446
|
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=");
|
|
5996
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=");
|
|
5447
5997
|
width: 12px;
|
|
5448
5998
|
height: 12px;
|
|
5449
5999
|
background-repeat: no-repeat;
|
|
5450
6000
|
background-size: cover;
|
|
5451
6001
|
margin-right: 2px;
|
|
5452
6002
|
}
|
|
5453
|
-
.goDown[data-v-
|
|
6003
|
+
.goDown[data-v-56b87792] {
|
|
5454
6004
|
color: #00F7B4;
|
|
5455
6005
|
display: flex;
|
|
5456
6006
|
align-items: center;
|
|
5457
6007
|
}
|
|
5458
|
-
.goDown[data-v-
|
|
6008
|
+
.goDown[data-v-56b87792]:before {
|
|
5459
6009
|
content: '';
|
|
5460
6010
|
display: block;
|
|
5461
|
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAaVBMVEUAAAAA+b0A+LwA+L0A/6AA+LwA+L0A+L0A+b0A+LwA/78A+LwA+L0A+LwA+LwA+b0A+LsA970A+LwA+r0A9boA/7YA+LwA+LwA+LwA+L0A97wA+bwA970A970A+bwA+bwA+LsA9rkA+LzcCa+5AAAAInRSTlMAd/uVAvjYxCsiDvPp37F7aWBMNBgK7s/NvKidh4NXUEcdp9A1SAAAAI5JREFUKM+l0UcOwzAMRFGqWZbcW3rl/Q8ZhUGKMN7lLedD4EKUi/3BEIrGsQu432pmPuF+1WnfRNjLipMz7HbHT3cIF9n3BLYSerzAooSgZNcWQiuhIdBI8JQblNISCqXU/BNG/mqzJ+az13MWluIdRspNmgV+Rvc6vkCwPu1uIhQq5o7WDOwtrToG+ssDeh4QPgfT2X0AAAAASUVORK5CYII=");
|
|
6011
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAaVBMVEUAAAAA+b0A+LwA+L0A/6AA+LwA+L0A+L0A+b0A+LwA/78A+LwA+L0A+LwA+LwA+b0A+LsA970A+LwA+r0A9boA/7YA+LwA+LwA+LwA+L0A97wA+bwA970A970A+bwA+bwA+LsA9rkA+LzcCa+5AAAAInRSTlMAd/uVAvjYxCsiDvPp37F7aWBMNBgK7s/NvKidh4NXUEcdp9A1SAAAAI5JREFUKM+l0UcOwzAMRFGqWZbcW3rl/Q8ZhUGKMN7lLedD4EKUi/3BEIrGsQu432pmPuF+1WnfRNjLipMz7HbHT3cIF9n3BLYSerzAooSgZNcWQiuhIdBI8JQblNISCqXU/BNG/mqzJ+az13MWluIdRspNmgV+Rvc6vkCwPu1uIhQq5o7WDOwtrToG+ssDeh4QPgfT2X0AAAAASUVORK5CYII=");
|
|
5462
6012
|
width: 12px;
|
|
5463
6013
|
height: 12px;
|
|
5464
6014
|
background-repeat: no-repeat;
|
|
@@ -5466,7 +6016,7 @@ var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `
|
|
|
5466
6016
|
margin-right: 2px;
|
|
5467
6017
|
}
|
|
5468
6018
|
`)();
|
|
5469
|
-
var Table_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => ".ecan-table *::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n.ecan-table *::-webkit-scrollbar-thumb {\n border-radius: 3px;\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n background-color: #c8c9ca !important;\n}\n.ecan-table *::-webkit-scrollbar-track {\n background-color: #fff;\n}\n.ecan-table .ant-table-cell-scrollbar {\n box-shadow: 0 1px 0 1px transparent;\n}\n.ecan-table .ant-table {\n color: rgba(0, 0, 0, 0.65);\n background: #ffffff;\n}\n.ecan-table .ant-table-thead > tr > th {\n color: rgba(0, 0, 0, 0.85);\n background: #fafafa;\n border-bottom: 1px solid #f0f0f0;\n}\n.ecan-table .ant-table-tbody > tr > td {\n border-bottom: 1px solid #f0f0f0;\n}\n.ecan-table .ant-table-bordered .ant-table-container {\n border: 1px solid #f0f0f0 !important;\n}\n.ecan-table .ant-table-bordered .ant-table-cell {\n border-right: 1px solid #f0f0f0 !important;\n}\n.ecan-table .
|
|
6019
|
+
var Table_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => ".ecan-table *::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n.ecan-table *::-webkit-scrollbar-thumb {\n border-radius: 3px;\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n background-color: #c8c9ca !important;\n}\n.ecan-table *::-webkit-scrollbar-track {\n background-color: #fff;\n}\n.ecan-table .ant-table-cell-scrollbar {\n box-shadow: 0 1px 0 1px transparent;\n}\n.ecan-table .ant-table {\n color: rgba(0, 0, 0, 0.65);\n background: #ffffff;\n}\n.ecan-table .ant-table-thead > tr > th {\n color: rgba(0, 0, 0, 0.85);\n background: #fafafa;\n border-bottom: 1px solid #f0f0f0;\n}\n.ecan-table .ant-table-tbody > tr > td {\n border-bottom: 1px solid #f0f0f0;\n}\n.ecan-table .ant-table-bordered .ant-table-container {\n border: 1px solid #f0f0f0 !important;\n}\n.ecan-table .ant-table-bordered .ant-table-cell {\n border-right: 1px solid #f0f0f0 !important;\n}\n.ecan-table .anticon {\n color: rgba(0, 0, 0, 0.65) !important;\n}\n[datav-theme='darkBlue'] .ecan-table *::-webkit-scrollbar-thumb {\n background-color: #2f4dac !important;\n}\n[datav-theme='darkBlue'] .ecan-table *::-webkit-scrollbar-track {\n background-color: #192c70;\n}\n[datav-theme='darkBlue'] .ecan-table *::-webkit-scrollbar-corner {\n background-color: #192c70 !important;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-table {\n color: #e8e8e8;\n background: #071655;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table,\n[datav-theme='darkBlue'] .ecan-table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n border-top: 1px solid #3e8ee3 !important;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-table-thead > tr > th {\n color: #cdd0f7;\n background: #17338c;\n border-bottom: 1px solid #3e8ee3;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-table-tbody > tr > td {\n border-bottom: 1px solid #3e8ee3;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-table-bordered .ant-table-container {\n border: 1px solid #3e8ee3 !important;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-table-bordered .ant-table-cell {\n border-right: 1px solid #3e8ee3 !important;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-pagination-item-link {\n background: #17338c !important;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-pagination-item {\n background: #17338c !important;\n}\n[datav-theme='darkBlue'] .ecan-table .anticon {\n color: rgba(255, 255, 255, 0.65) !important;\n}\n[datav-theme='darkBlue'] .ecan-table .ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {\n background: #225b98;\n}\n")();
|
|
5470
6020
|
const _sfc_main$1 = defineComponent({
|
|
5471
6021
|
name: "EcanTable",
|
|
5472
6022
|
components: {
|
|
@@ -5477,7 +6027,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
5477
6027
|
ATableSummaryCell: TableSummaryCell
|
|
5478
6028
|
},
|
|
5479
6029
|
props: __spreadValues({}, tableComponentProps),
|
|
5480
|
-
setup(props2) {
|
|
6030
|
+
setup(props2, { expose }) {
|
|
5481
6031
|
const style2 = usePickComponentStyle(props2);
|
|
5482
6032
|
const splitY = computed(() => {
|
|
5483
6033
|
if (props2.paginationShow) {
|
|
@@ -5576,7 +6126,6 @@ const _sfc_main$1 = defineComponent({
|
|
|
5576
6126
|
};
|
|
5577
6127
|
const tableChange = ({ current }, _filters, _sorter) => {
|
|
5578
6128
|
pageNum.value = current;
|
|
5579
|
-
handleIndicatorData();
|
|
5580
6129
|
};
|
|
5581
6130
|
const pagination = computed(() => {
|
|
5582
6131
|
const simple = props2.simple;
|
|
@@ -5634,12 +6183,12 @@ const _sfc_main$1 = defineComponent({
|
|
|
5634
6183
|
});
|
|
5635
6184
|
dataSource.value = rows;
|
|
5636
6185
|
};
|
|
5637
|
-
const
|
|
6186
|
+
const indicatorData = useIndicatorData(props2);
|
|
5638
6187
|
const handleIndicatorData = async () => {
|
|
5639
6188
|
var _a2, _b2, _c2, _d;
|
|
5640
6189
|
try {
|
|
5641
6190
|
loading.value = true;
|
|
5642
|
-
const res = await
|
|
6191
|
+
const res = await indicatorData();
|
|
5643
6192
|
handleIndicatorDataset((_b2 = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.columns, (_d = (_c2 = res == null ? void 0 : res.data) == null ? void 0 : _c2.data) == null ? void 0 : _d.rows);
|
|
5644
6193
|
} catch (e) {
|
|
5645
6194
|
console.error(e);
|
|
@@ -5655,6 +6204,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
5655
6204
|
})
|
|
5656
6205
|
});
|
|
5657
6206
|
const refreshData = () => {
|
|
6207
|
+
console.log(unref(pageMode));
|
|
5658
6208
|
if (unref(pageMode) === "design")
|
|
5659
6209
|
return;
|
|
5660
6210
|
switch (props2.dataType) {
|
|
@@ -5708,6 +6258,9 @@ const _sfc_main$1 = defineComponent({
|
|
|
5708
6258
|
setRequest: (requestFn, sortNum) => void 0
|
|
5709
6259
|
});
|
|
5710
6260
|
setRequest(refreshData, props2.requestSort);
|
|
6261
|
+
expose({
|
|
6262
|
+
refreshData
|
|
6263
|
+
});
|
|
5711
6264
|
return {
|
|
5712
6265
|
x,
|
|
5713
6266
|
y,
|
|
@@ -5739,6 +6292,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5739
6292
|
default: withCtx(() => [
|
|
5740
6293
|
createVNode(_component_a_table, {
|
|
5741
6294
|
class: "table",
|
|
6295
|
+
style: {
|
|
6296
|
+
height: "100%"
|
|
6297
|
+
},
|
|
5742
6298
|
columns: _ctx.dataColumns.length > 0 ? _ctx.dataColumns : _ctx.myColumns,
|
|
5743
6299
|
"data-source": _ctx.dataSource,
|
|
5744
6300
|
bordered: _ctx.bordered,
|
|
@@ -5794,7 +6350,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5794
6350
|
}, 8, ["loading"])
|
|
5795
6351
|
], 4);
|
|
5796
6352
|
}
|
|
5797
|
-
var Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
6353
|
+
var Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-56b87792"]]);
|
|
5798
6354
|
const EcanTable = withInstall(Table);
|
|
5799
6355
|
const mapProps = __spreadProps(__spreadValues({}, props), {
|
|
5800
6356
|
mapJson: null,
|
|
@@ -5850,7 +6406,7 @@ use([
|
|
|
5850
6406
|
const _sfc_main = defineComponent({
|
|
5851
6407
|
name: "EcanMap",
|
|
5852
6408
|
components: {
|
|
5853
|
-
Echarts
|
|
6409
|
+
Echarts
|
|
5854
6410
|
},
|
|
5855
6411
|
props: __spreadValues({}, mapComponentProps),
|
|
5856
6412
|
setup(props2) {
|