修复运行项目报错问题
This commit is contained in:
parent
a8fecc9c5d
commit
83ba8dd20c
@ -828,7 +828,6 @@ export default {
|
|||||||
color: ["#a76af3", "#2cb5f1"], //图例颜色
|
color: ["#a76af3", "#2cb5f1"], //图例颜色
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: "item",
|
trigger: "item",
|
||||||
formatter: "{b}:{c}({d}%)",
|
|
||||||
formatter: (param) => {
|
formatter: (param) => {
|
||||||
return (
|
return (
|
||||||
"涉案款项分析<br>" +
|
"涉案款项分析<br>" +
|
||||||
@ -1651,4 +1650,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -803,9 +803,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
components: {
|
|
||||||
Echarts,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
@ -885,4 +882,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -435,9 +435,6 @@ export default {
|
|||||||
showBackground: true,
|
showBackground: true,
|
||||||
stack: "总量",
|
stack: "总量",
|
||||||
data: [],
|
data: [],
|
||||||
label: {
|
|
||||||
show: true,
|
|
||||||
},
|
|
||||||
label: {
|
label: {
|
||||||
normal: {
|
normal: {
|
||||||
show: true,
|
show: true,
|
||||||
@ -464,7 +461,7 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
// 志愿者数量趋势
|
// 志愿者数量趋势
|
||||||
echartObj7: {
|
echartObj7: {
|
||||||
color: ["#1179ff", "#f3a858", "#20f292"], //图例颜色
|
color: ["#1179ff", "#f3a858", "#20f292"], //图例颜色
|
||||||
@ -805,4 +802,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -352,16 +352,6 @@ export default {
|
|||||||
"#2fb47e",
|
"#2fb47e",
|
||||||
];
|
];
|
||||||
return colors[parseInt(Math.random() * 10)];
|
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",
|
"#2fb47e",
|
||||||
];
|
];
|
||||||
return colors[parseInt(Math.random() * 10)];
|
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,
|
right: null,
|
||||||
bottom: null,
|
bottom: null,
|
||||||
width: "90%",
|
width: "90%",
|
||||||
height: "110%",
|
|
||||||
height: "100%",
|
height: "100%",
|
||||||
data: [],
|
data: [],
|
||||||
},
|
},
|
||||||
@ -716,8 +695,6 @@ export default {
|
|||||||
this.census["TOTAL"] = String(this.census["TOTAL"]).split("");
|
this.census["TOTAL"] = String(this.census["TOTAL"]).split("");
|
||||||
}
|
}
|
||||||
if (this.census["GROW"]) {
|
if (this.census["GROW"]) {
|
||||||
this.census["GROW"] = this.census["GROW"];
|
|
||||||
|
|
||||||
if (this.census["INCREMENTNUM"] > 0) {
|
if (this.census["INCREMENTNUM"] > 0) {
|
||||||
this.census["isUp"] = "up";
|
this.census["isUp"] = "up";
|
||||||
this.census["isUpText"] = "上升";
|
this.census["isUpText"] = "上升";
|
||||||
@ -1000,4 +977,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -231,8 +231,6 @@ export default {
|
|||||||
lazy: true,
|
lazy: true,
|
||||||
lazyLoad: this.lazyLoad,
|
lazyLoad: this.lazyLoad,
|
||||||
},
|
},
|
||||||
// 社区提示
|
|
||||||
content: "",
|
|
||||||
//社区选中值
|
//社区选中值
|
||||||
content: "",
|
content: "",
|
||||||
// 社区人口
|
// 社区人口
|
||||||
@ -504,7 +502,7 @@ animationDuration: 2000,
|
|||||||
return { name: item["NAME"], value: item["NUM"] };
|
return { name: item["NAME"], value: item["NUM"] };
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.echartObjKey = new Date().getTime() + 1;
|
this.echartObjKey = new Date().getTime() + 1;
|
||||||
})
|
})
|
||||||
.catch((res) => {
|
.catch((res) => {
|
||||||
@ -783,4 +781,4 @@ animationDuration: 2000,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
<el-button type="primary" round><i class="iconfont iconchaxun"></i>查询</el-button>
|
<el-button type="primary" round><i class="iconfont iconchaxun"></i>查询</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<ul>
|
<ul>
|
||||||
@ -366,7 +366,7 @@ export default {
|
|||||||
formatter: '{b} : {c}人 ({d}%)'
|
formatter: '{b} : {c}人 ({d}%)'
|
||||||
},
|
},
|
||||||
labelLine :{show:true}
|
labelLine :{show:true}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -404,7 +404,7 @@ export default {
|
|||||||
formatter: '{b} : {c}人 ({d}%)'
|
formatter: '{b} : {c}人 ({d}%)'
|
||||||
},
|
},
|
||||||
labelLine :{show:true}
|
labelLine :{show:true}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -425,10 +425,6 @@ export default {
|
|||||||
// 随机颜色
|
// 随机颜色
|
||||||
var colors = ['#d3e352','#ff9367','#f3564e','#ea3dab','#ad2de2','#af7dff','#DC8AB5','#2d95ff','#2ec0f0','#34dbe0','#2fb47e',]
|
var colors = ['#d3e352','#ff9367','#f3564e','#ea3dab','#ad2de2','#af7dff','#DC8AB5','#2d95ff','#2ec0f0','#34dbe0','#2fb47e',]
|
||||||
return colors[parseInt(Math.random() * 10)];
|
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,
|
right: null,
|
||||||
bottom: null,
|
bottom: null,
|
||||||
width: '90%',
|
width: '90%',
|
||||||
height: '110%',
|
|
||||||
height: '100%',
|
height: '100%',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
@ -479,14 +474,14 @@ export default {
|
|||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'item',
|
trigger: 'item',
|
||||||
formatter: "{b}<br>人口数量: {c}万人",
|
formatter: "{b}<br>人口数量: {c}万人",
|
||||||
|
|
||||||
},
|
},
|
||||||
/*visualMap: {
|
/*visualMap: {
|
||||||
type: 'continuous',
|
type: 'continuous',
|
||||||
show: false,
|
show: false,
|
||||||
// 指定 visualMapContinuous 组件的允许的最小/大值 min/max 必须用户指定
|
// 指定 visualMapContinuous 组件的允许的最小/大值 min/max 必须用户指定
|
||||||
// min: 0,
|
// min: 0,
|
||||||
// max: 400,
|
// max: 400,
|
||||||
textStyle: {
|
textStyle: {
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: '#fff'
|
color: '#fff'
|
||||||
@ -494,7 +489,7 @@ export default {
|
|||||||
realtime: false,
|
realtime: false,
|
||||||
calculable: true,
|
calculable: true,
|
||||||
inRange: {
|
inRange: {
|
||||||
// color: ['#9fb5ea', '#e6ac53', '#74e2ca', '#85daef', '#9feaa5', '#5475f5']
|
// color: ['#9fb5ea', '#e6ac53', '#74e2ca', '#85daef', '#9feaa5', '#5475f5']
|
||||||
color: ['#3aa8bc', '#decc61', '#f96858', ]
|
color: ['#3aa8bc', '#decc61', '#f96858', ]
|
||||||
}
|
}
|
||||||
},*/
|
},*/
|
||||||
@ -740,7 +735,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ageBubble{
|
.ageBubble{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@ -771,4 +766,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -331,12 +331,6 @@ export default {
|
|||||||
{
|
{
|
||||||
// full data
|
// full data
|
||||||
type: "pictorialBar",
|
type: "pictorialBar",
|
||||||
itemStyle: {
|
|
||||||
normal: {
|
|
||||||
opacity: 0.2,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
animationDuration: 2000,
|
animationDuration: 2000,
|
||||||
symbolRepeat: 9,
|
symbolRepeat: 9,
|
||||||
symbolMargin: "5%",
|
symbolMargin: "5%",
|
||||||
@ -432,12 +426,6 @@ export default {
|
|||||||
{
|
{
|
||||||
// full data
|
// full data
|
||||||
type: "pictorialBar",
|
type: "pictorialBar",
|
||||||
itemStyle: {
|
|
||||||
normal: {
|
|
||||||
opacity: 0.2,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
animationDuration: 2000,
|
animationDuration: 2000,
|
||||||
symbolRepeat: 9,
|
symbolRepeat: 9,
|
||||||
symbolMargin: "5%",
|
symbolMargin: "5%",
|
||||||
@ -533,12 +521,6 @@ export default {
|
|||||||
{
|
{
|
||||||
// full data
|
// full data
|
||||||
type: "pictorialBar",
|
type: "pictorialBar",
|
||||||
itemStyle: {
|
|
||||||
normal: {
|
|
||||||
opacity: 0.2,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
animationDuration: 2000,
|
animationDuration: 2000,
|
||||||
symbolRepeat: 9,
|
symbolRepeat: 9,
|
||||||
symbolMargin: "5%",
|
symbolMargin: "5%",
|
||||||
@ -634,12 +616,6 @@ export default {
|
|||||||
{
|
{
|
||||||
// full data
|
// full data
|
||||||
type: "pictorialBar",
|
type: "pictorialBar",
|
||||||
itemStyle: {
|
|
||||||
normal: {
|
|
||||||
opacity: 0.2,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
animationDuration: 2000,
|
animationDuration: 2000,
|
||||||
symbolRepeat: 9,
|
symbolRepeat: 9,
|
||||||
symbolMargin: "5%",
|
symbolMargin: "5%",
|
||||||
@ -735,12 +711,6 @@ export default {
|
|||||||
{
|
{
|
||||||
// full data
|
// full data
|
||||||
type: "pictorialBar",
|
type: "pictorialBar",
|
||||||
itemStyle: {
|
|
||||||
normal: {
|
|
||||||
opacity: 0.2,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
animationDuration: 2000,
|
animationDuration: 2000,
|
||||||
symbolRepeat: 9,
|
symbolRepeat: 9,
|
||||||
symbolMargin: "5%",
|
symbolMargin: "5%",
|
||||||
@ -791,7 +761,7 @@ export default {
|
|||||||
> div {
|
> div {
|
||||||
background: url("../../../assets/img/cxjh/pro.png") no-repeat;
|
background: url("../../../assets/img/cxjh/pro.png") no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
div.showData {
|
div.showData {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -985,4 +955,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -372,9 +372,6 @@ export default {
|
|||||||
label: {
|
label: {
|
||||||
show: true,
|
show: true,
|
||||||
position: "top",
|
position: "top",
|
||||||
formatter: (param) => {
|
|
||||||
return this.formatNum(param.value);
|
|
||||||
},
|
|
||||||
formatter: "{c} 处",
|
formatter: "{c} 处",
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
@ -511,4 +508,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -293,7 +293,6 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
symbolSize: 10,
|
symbolSize: 10,
|
||||||
smooth: true,
|
|
||||||
data: [],
|
data: [],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -457,7 +456,6 @@ export default {
|
|||||||
position: "inside",
|
position: "inside",
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
icon: "circle",
|
|
||||||
icon: "circle",
|
icon: "circle",
|
||||||
top: "10",
|
top: "10",
|
||||||
right: "20",
|
right: "20",
|
||||||
@ -1006,4 +1004,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -288,7 +288,6 @@ export default {
|
|||||||
trigger: "axis",
|
trigger: "axis",
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
icon: "circle",
|
|
||||||
top: "10",
|
top: "10",
|
||||||
right: "20",
|
right: "20",
|
||||||
icon: "circle",
|
icon: "circle",
|
||||||
@ -553,4 +552,4 @@ export default {
|
|||||||
color: #ff4a5c;
|
color: #ff4a5c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -477,7 +477,6 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
symbolSize: 13,
|
symbolSize: 13,
|
||||||
smooth: true,
|
|
||||||
data: [],
|
data: [],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -1197,4 +1196,4 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -467,7 +467,6 @@ export default {
|
|||||||
"#34dbe0",
|
"#34dbe0",
|
||||||
"#2fb47e",
|
"#2fb47e",
|
||||||
];
|
];
|
||||||
return colors[parseInt(Math.random() * 10)];
|
|
||||||
// 生成rgb随机颜色
|
// 生成rgb随机颜色
|
||||||
return (
|
return (
|
||||||
"rgb(" +
|
"rgb(" +
|
||||||
@ -486,7 +485,6 @@ export default {
|
|||||||
right: null,
|
right: null,
|
||||||
bottom: null,
|
bottom: null,
|
||||||
width: "90%",
|
width: "90%",
|
||||||
height: "110%",
|
|
||||||
height: "100%",
|
height: "100%",
|
||||||
data: [],
|
data: [],
|
||||||
},
|
},
|
||||||
@ -508,7 +506,6 @@ export default {
|
|||||||
icon: "circle",
|
icon: "circle",
|
||||||
top: "10",
|
top: "10",
|
||||||
right: "20",
|
right: "20",
|
||||||
icon: "circle", //圆点
|
|
||||||
itemWidth: 20, //图例的宽度
|
itemWidth: 20, //图例的宽度
|
||||||
// itemHeight: 20,
|
// itemHeight: 20,
|
||||||
textStyle: {
|
textStyle: {
|
||||||
@ -701,7 +698,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.sumNormal.total = String(this.sumNormal.total).split("");
|
this.sumNormal.total = String(this.sumNormal.total).split("");
|
||||||
if (this.sumNormal[0].hasOwnProperty("ratio")) {
|
if (Object.hasOwnProperty.call(this.sumNormal[0], 'ratio')) {
|
||||||
this.pseudoLeft =
|
this.pseudoLeft =
|
||||||
Number(this.sumNormal[0].ratio.split("%")[0]) + 1 + "%";
|
Number(this.sumNormal[0].ratio.split("%")[0]) + 1 + "%";
|
||||||
} else {
|
} else {
|
||||||
@ -957,4 +954,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user