|
@@ -84,7 +84,7 @@
|
|
|
import { GetTabsData, GetTabsPane } from '@/api/cockpitNew'
|
|
|
import * as wellknown from "wellknown";
|
|
|
import * as turf from "@turf/turf";
|
|
|
-import pie from "@/components/echartsTemplate/pie.vue";
|
|
|
+import pie from "@/components/echartsTemplate/pieNew.vue";
|
|
|
|
|
|
let manager_multi_level_query = null;
|
|
|
let pick_entity = null;
|
|
@@ -538,17 +538,16 @@ export default {
|
|
|
},
|
|
|
setEchart_qwnership(data, type, index) {
|
|
|
this.$nextTick(() => {
|
|
|
- let max = index == 0 ? 3 : 10
|
|
|
- // let legend_right = index == 0 ? "2%" : "10%"
|
|
|
- let legend_right = "10%"
|
|
|
+ let max = 7
|
|
|
+ let legend_right = "4%"
|
|
|
|
|
|
this.$refs.qwnership_pie[index].setOptions({ data, type, max, legend_right });
|
|
|
});
|
|
|
},
|
|
|
setEchart(data, type, index) {
|
|
|
this.$nextTick(() => {
|
|
|
- let max = 5
|
|
|
- let legend_right = "10%"
|
|
|
+ let max = 7
|
|
|
+ let legend_right = "4%"
|
|
|
this.$refs.echartRef[index].setOptions({ data, type, max, legend_right });
|
|
|
});
|
|
|
},
|