修复运行项目报错问题
This commit is contained in:
parent
a8fecc9c5d
commit
83ba8dd20c
@ -828,7 +828,6 @@ export default {
|
||||
color: ["#a76af3", "#2cb5f1"], //图例颜色
|
||||
tooltip: {
|
||||
trigger: "item",
|
||||
formatter: "{b}:{c}({d}%)",
|
||||
formatter: (param) => {
|
||||
return (
|
||||
"涉案款项分析<br>" +
|
||||
|
||||
@ -803,9 +803,6 @@ export default {
|
||||
}
|
||||
},
|
||||
},
|
||||
components: {
|
||||
Echarts,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
|
||||
@ -435,9 +435,6 @@ export default {
|
||||
showBackground: true,
|
||||
stack: "总量",
|
||||
data: [],
|
||||
label: {
|
||||
show: true,
|
||||
},
|
||||
label: {
|
||||
normal: {
|
||||
show: true,
|
||||
|
||||
@ -352,16 +352,6 @@ export default {
|
||||
"#2fb47e",
|
||||
];
|
||||
return colors[parseInt(Math.random() * 10)];
|
||||
// 生成rgb随机颜色
|
||||
return (
|
||||
"rgb(" +
|
||||
Math.round(Math.random() * 255) +
|
||||
", " +
|
||||
Math.round(Math.random() * 255) +
|
||||
", " +
|
||||
Math.round(Math.random() * 255) +
|
||||
")"
|
||||
);
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -575,16 +565,6 @@ export default {
|
||||
"#2fb47e",
|
||||
];
|
||||
return colors[parseInt(Math.random() * 10)];
|
||||
// 生成rgb随机颜色
|
||||
return (
|
||||
"rgb(" +
|
||||
Math.round(Math.random() * 255) +
|
||||
", " +
|
||||
Math.round(Math.random() * 255) +
|
||||
", " +
|
||||
Math.round(Math.random() * 255) +
|
||||
")"
|
||||
);
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -593,7 +573,6 @@ export default {
|
||||
right: null,
|
||||
bottom: null,
|
||||
width: "90%",
|
||||
height: "110%",
|
||||
height: "100%",
|
||||
data: [],
|
||||
},
|
||||
@ -716,8 +695,6 @@ export default {
|
||||
this.census["TOTAL"] = String(this.census["TOTAL"]).split("");
|
||||
}
|
||||
if (this.census["GROW"]) {
|
||||
this.census["GROW"] = this.census["GROW"];
|
||||
|
||||
if (this.census["INCREMENTNUM"] > 0) {
|
||||
this.census["isUp"] = "up";
|
||||
this.census["isUpText"] = "上升";
|
||||
|
||||
@ -231,8 +231,6 @@ export default {
|
||||
lazy: true,
|
||||
lazyLoad: this.lazyLoad,
|
||||
},
|
||||
// 社区提示
|
||||
content: "",
|
||||
//社区选中值
|
||||
content: "",
|
||||
// 社区人口
|
||||
|
||||
@ -425,10 +425,6 @@ export default {
|
||||
// 随机颜色
|
||||
var colors = ['#d3e352','#ff9367','#f3564e','#ea3dab','#ad2de2','#af7dff','#DC8AB5','#2d95ff','#2ec0f0','#34dbe0','#2fb47e',]
|
||||
return colors[parseInt(Math.random() * 10)];
|
||||
// 生成rgb随机颜色
|
||||
return 'rgb(' +Math.round(Math.random() * 255) +
|
||||
', ' + Math.round(Math.random() * 255) +
|
||||
', ' + Math.round(Math.random() * 255) + ')'
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -437,7 +433,6 @@ export default {
|
||||
right: null,
|
||||
bottom: null,
|
||||
width: '90%',
|
||||
height: '110%',
|
||||
height: '100%',
|
||||
data: [
|
||||
{
|
||||
|
||||
@ -331,12 +331,6 @@ export default {
|
||||
{
|
||||
// full data
|
||||
type: "pictorialBar",
|
||||
itemStyle: {
|
||||
normal: {
|
||||
opacity: 0.2,
|
||||
},
|
||||
},
|
||||
|
||||
animationDuration: 2000,
|
||||
symbolRepeat: 9,
|
||||
symbolMargin: "5%",
|
||||
@ -432,12 +426,6 @@ export default {
|
||||
{
|
||||
// full data
|
||||
type: "pictorialBar",
|
||||
itemStyle: {
|
||||
normal: {
|
||||
opacity: 0.2,
|
||||
},
|
||||
},
|
||||
|
||||
animationDuration: 2000,
|
||||
symbolRepeat: 9,
|
||||
symbolMargin: "5%",
|
||||
@ -533,12 +521,6 @@ export default {
|
||||
{
|
||||
// full data
|
||||
type: "pictorialBar",
|
||||
itemStyle: {
|
||||
normal: {
|
||||
opacity: 0.2,
|
||||
},
|
||||
},
|
||||
|
||||
animationDuration: 2000,
|
||||
symbolRepeat: 9,
|
||||
symbolMargin: "5%",
|
||||
@ -634,12 +616,6 @@ export default {
|
||||
{
|
||||
// full data
|
||||
type: "pictorialBar",
|
||||
itemStyle: {
|
||||
normal: {
|
||||
opacity: 0.2,
|
||||
},
|
||||
},
|
||||
|
||||
animationDuration: 2000,
|
||||
symbolRepeat: 9,
|
||||
symbolMargin: "5%",
|
||||
@ -735,12 +711,6 @@ export default {
|
||||
{
|
||||
// full data
|
||||
type: "pictorialBar",
|
||||
itemStyle: {
|
||||
normal: {
|
||||
opacity: 0.2,
|
||||
},
|
||||
},
|
||||
|
||||
animationDuration: 2000,
|
||||
symbolRepeat: 9,
|
||||
symbolMargin: "5%",
|
||||
|
||||
@ -372,9 +372,6 @@ export default {
|
||||
label: {
|
||||
show: true,
|
||||
position: "top",
|
||||
formatter: (param) => {
|
||||
return this.formatNum(param.value);
|
||||
},
|
||||
formatter: "{c} 处",
|
||||
fontSize: 14,
|
||||
color: "#fff",
|
||||
|
||||
@ -293,7 +293,6 @@ export default {
|
||||
},
|
||||
},
|
||||
symbolSize: 10,
|
||||
smooth: true,
|
||||
data: [],
|
||||
},
|
||||
{
|
||||
@ -457,7 +456,6 @@ export default {
|
||||
position: "inside",
|
||||
},
|
||||
legend: {
|
||||
icon: "circle",
|
||||
icon: "circle",
|
||||
top: "10",
|
||||
right: "20",
|
||||
|
||||
@ -288,7 +288,6 @@ export default {
|
||||
trigger: "axis",
|
||||
},
|
||||
legend: {
|
||||
icon: "circle",
|
||||
top: "10",
|
||||
right: "20",
|
||||
icon: "circle",
|
||||
|
||||
@ -477,7 +477,6 @@ export default {
|
||||
},
|
||||
},
|
||||
symbolSize: 13,
|
||||
smooth: true,
|
||||
data: [],
|
||||
},
|
||||
],
|
||||
|
||||
@ -467,7 +467,6 @@ export default {
|
||||
"#34dbe0",
|
||||
"#2fb47e",
|
||||
];
|
||||
return colors[parseInt(Math.random() * 10)];
|
||||
// 生成rgb随机颜色
|
||||
return (
|
||||
"rgb(" +
|
||||
@ -486,7 +485,6 @@ export default {
|
||||
right: null,
|
||||
bottom: null,
|
||||
width: "90%",
|
||||
height: "110%",
|
||||
height: "100%",
|
||||
data: [],
|
||||
},
|
||||
@ -508,7 +506,6 @@ export default {
|
||||
icon: "circle",
|
||||
top: "10",
|
||||
right: "20",
|
||||
icon: "circle", //圆点
|
||||
itemWidth: 20, //图例的宽度
|
||||
// itemHeight: 20,
|
||||
textStyle: {
|
||||
@ -701,7 +698,7 @@ export default {
|
||||
}
|
||||
});
|
||||
this.sumNormal.total = String(this.sumNormal.total).split("");
|
||||
if (this.sumNormal[0].hasOwnProperty("ratio")) {
|
||||
if (Object.hasOwnProperty.call(this.sumNormal[0], 'ratio')) {
|
||||
this.pseudoLeft =
|
||||
Number(this.sumNormal[0].ratio.split("%")[0]) + 1 + "%";
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user