Commit 03251c42 authored by jianqian's avatar jianqian

应急物资

parent 20ad3d83
...@@ -301,6 +301,16 @@ export default { ...@@ -301,6 +301,16 @@ export default {
// }) // })
// } // }
// }); // });
let that = this;
//that.loading = true;
METHOD.axiosPost(
that,
`/enterpriseInfo/enterpriseRiskInfo`,{},
function(res) {
that.Risk = res.data;
console.log(res.data);
console.log(that.Risk);
});
// 绘制图表 // 绘制图表
myChart3.setOption({ myChart3.setOption({
title: { title: {
...@@ -341,7 +351,7 @@ export default { ...@@ -341,7 +351,7 @@ export default {
color: '#fff', color: '#fff',
}, },
}, },
data: ['测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患'], data: ['测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患'],
axisPointer: { axisPointer: {
type: 'shadow' type: 'shadow'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment