@ued_fpi/data-visual 1.2.7 → 1.2.9
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/es/style.css +2 -2
- package/dist/es/wgms/src/ChlorophyllAchangeRate/index.vue.mjs +12 -8
- package/dist/es/wgms/src/PollutionSourceControl/index.vue.mjs +1 -1
- package/dist/es/wgms/src/SewageOutletsOnlineMonitor/index.vue.d.ts +1 -0
- package/dist/es/wgms/src/SewageOutletsOnlineMonitor/index.vue.mjs +1 -1
- package/dist/es/wgms/utils/echarts/echartsOptions.d.ts +0 -1
- package/dist/es/wgms/utils/echarts/echartsOptions.mjs +0 -1
- package/dist/lib/style.css +2 -2
- package/dist/lib/wgms/src/ChlorophyllAchangeRate/index.vue.js +12 -8
- package/dist/lib/wgms/src/PollutionSourceControl/index.vue.js +1 -1
- package/dist/lib/wgms/src/SewageOutletsOnlineMonitor/index.vue.d.ts +1 -0
- package/dist/lib/wgms/src/SewageOutletsOnlineMonitor/index.vue.js +1 -1
- package/dist/lib/wgms/utils/echarts/echartsOptions.d.ts +0 -1
- package/dist/lib/wgms/utils/echarts/echartsOptions.js +0 -1
- package/dist/style/base.css +3 -1
- package/dist/style/style-ipes.css +1 -1
- package/dist/style/style-wgms.css +1 -1
- package/package.json +2 -2
|
@@ -6,14 +6,15 @@ import downImg from './images/down.png.mjs';
|
|
|
6
6
|
|
|
7
7
|
const _hoisted_1 = { class: "change-rate" };
|
|
8
8
|
const _hoisted_2 = { class: "value" };
|
|
9
|
-
const _hoisted_3 =
|
|
9
|
+
const _hoisted_3 = { class: "trend" };
|
|
10
|
+
const _hoisted_4 = ["src"];
|
|
11
|
+
const _hoisted_5 = { style: { "height": "10px" } };
|
|
12
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("img", {
|
|
10
13
|
alt: "",
|
|
11
14
|
class: "zao",
|
|
12
15
|
src: _imports_0
|
|
13
16
|
}, null, -1);
|
|
14
|
-
const
|
|
15
|
-
const _hoisted_5 = ["src"];
|
|
16
|
-
const _hoisted_6 = { class: "label" };
|
|
17
|
+
const _hoisted_7 = { class: "label" };
|
|
17
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
19
|
__name: "index",
|
|
19
20
|
props: {
|
|
@@ -124,16 +125,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
124
125
|
style: normalizeStyle({ color: Number(item.rate) > 0 ? "var(--dv-color-danger)" : Number(item.rate) < 0 ? "var(--dv-color-success)" : "var(--dv-color-index)" })
|
|
125
126
|
}, toDisplayString(item.rate) + "%", 5)
|
|
126
127
|
]),
|
|
127
|
-
_hoisted_3,
|
|
128
|
-
createElementVNode("div", _hoisted_4, [
|
|
128
|
+
createElementVNode("div", _hoisted_3, [
|
|
129
129
|
withDirectives(createElementVNode("img", {
|
|
130
130
|
alt: "",
|
|
131
131
|
src: Number(item.rate) > 0 ? unref(upImg) : unref(downImg)
|
|
132
|
-
}, null, 8,
|
|
132
|
+
}, null, 8, _hoisted_4), [
|
|
133
133
|
[vShow, Number(item.rate)]
|
|
134
|
+
]),
|
|
135
|
+
withDirectives(createElementVNode("div", _hoisted_5, null, 512), [
|
|
136
|
+
[vShow, !Number(item.rate)]
|
|
134
137
|
])
|
|
135
138
|
]),
|
|
136
|
-
|
|
139
|
+
_hoisted_6,
|
|
140
|
+
createElementVNode("div", _hoisted_7, toDisplayString(item.label), 1)
|
|
137
141
|
]);
|
|
138
142
|
}), 128))
|
|
139
143
|
])
|
|
@@ -2,6 +2,7 @@ import { defineComponent, reactive, ref, onMounted, watch, nextTick, toRefs, ope
|
|
|
2
2
|
import echarts from '../../utils/echarts/index.mjs';
|
|
3
3
|
import { getPie3D } from '../../utils/echarts/3dChartOptions.mjs';
|
|
4
4
|
import { getOutletsOnlineData } from './api/index.mjs';
|
|
5
|
+
import 'echarts-gl';
|
|
5
6
|
|
|
6
7
|
const _hoisted_1 = { class: "dv-wgms-outlet-online" };
|
|
7
8
|
const _hoisted_2 = { class: "toggle-list dv-wgms-flex-between-center" };
|
|
@@ -42,7 +43,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
43
|
});
|
|
43
44
|
const pieChart = ref();
|
|
44
45
|
onMounted(async () => {
|
|
45
|
-
await import('echarts-gl');
|
|
46
46
|
getResData();
|
|
47
47
|
});
|
|
48
48
|
watch(() => props.params, () => {
|