@ued_fpi/data-visual 1.4.24 → 1.4.26
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/ipes/src/PersonnelLocation/index.vue.mjs +28 -1
- package/dist/es/ipes/src/TodayWork/index.vue.mjs +21 -3
- package/dist/es/style.css +2 -2
- package/dist/es/theme/element-dark.css.mjs +1 -1
- package/dist/lib/ipes/src/PersonnelLocation/index.vue.js +28 -1
- package/dist/lib/ipes/src/TodayWork/index.vue.js +21 -3
- package/dist/lib/style.css +2 -2
- package/dist/lib/theme/element-dark.css.js +1 -1
- package/dist/style/base.css +1 -0
- package/dist/style/style-ipes.css +1 -1
- package/package.json +2 -2
|
@@ -21,7 +21,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
...__default__,
|
|
22
22
|
emits: ["openPopup"],
|
|
23
23
|
setup(__props, { emit }) {
|
|
24
|
-
const colors = [
|
|
24
|
+
const colors = [
|
|
25
|
+
"var(--dv-color-danger)",
|
|
26
|
+
"var(--dv-color-warning)",
|
|
27
|
+
"var(--dv-color-index)",
|
|
28
|
+
"var(--dv-color-success)",
|
|
29
|
+
"#409eff",
|
|
30
|
+
"#e6a23c",
|
|
31
|
+
"#ff6b6b",
|
|
32
|
+
// 高饱和红
|
|
33
|
+
"#4ecdc4",
|
|
34
|
+
// 青绿
|
|
35
|
+
"#45b7d1",
|
|
36
|
+
// 天蓝
|
|
37
|
+
"#96ceb4",
|
|
38
|
+
// 薄荷绿
|
|
39
|
+
"#feca57",
|
|
40
|
+
// 亮黄
|
|
41
|
+
"#ff9ff3",
|
|
42
|
+
// 粉紫
|
|
43
|
+
"#54a0ff",
|
|
44
|
+
// 亮蓝
|
|
45
|
+
"#5f27cd",
|
|
46
|
+
// 深紫
|
|
47
|
+
"#00d2d3",
|
|
48
|
+
// 青蓝
|
|
49
|
+
"#ff9f43"
|
|
50
|
+
// 橙黄
|
|
51
|
+
];
|
|
25
52
|
const totalCount = ref(0);
|
|
26
53
|
const legendData = ref([
|
|
27
54
|
// {
|
|
@@ -38,7 +38,25 @@ const __default__ = {
|
|
|
38
38
|
};
|
|
39
39
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
40
|
...__default__,
|
|
41
|
+
props: {
|
|
42
|
+
// 作业量趋势
|
|
43
|
+
url: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: "/ipes-srip-server/api/v3/special-operation-statistics/operation-type-statistics"
|
|
46
|
+
},
|
|
47
|
+
// 开始时间
|
|
48
|
+
beginTime: {
|
|
49
|
+
type: Number,
|
|
50
|
+
default: dayjs().startOf("day").valueOf()
|
|
51
|
+
},
|
|
52
|
+
// 结束时间
|
|
53
|
+
endTime: {
|
|
54
|
+
type: Number,
|
|
55
|
+
default: dayjs().valueOf()
|
|
56
|
+
}
|
|
57
|
+
},
|
|
41
58
|
setup(__props) {
|
|
59
|
+
const props = __props;
|
|
42
60
|
const { isDark } = useThemeHook();
|
|
43
61
|
const workList = ref([]);
|
|
44
62
|
const getImageUrl = (code) => {
|
|
@@ -48,10 +66,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
66
|
try {
|
|
49
67
|
const res = await requestControl({
|
|
50
68
|
method: "get",
|
|
51
|
-
url:
|
|
69
|
+
url: props.url,
|
|
52
70
|
params: {
|
|
53
|
-
beginTime:
|
|
54
|
-
endTime:
|
|
71
|
+
beginTime: props.beginTime,
|
|
72
|
+
endTime: props.endTime
|
|
55
73
|
}
|
|
56
74
|
});
|
|
57
75
|
workList.value = res.data;
|