Commit 1db59591 authored by 张锡奇's avatar 张锡奇

upload

parent 49633a70
...@@ -299,7 +299,6 @@ export default { ...@@ -299,7 +299,6 @@ export default {
this.myChart1.coord('polar', { this.myChart1.coord('polar', {
transposed: true, transposed: true,
radius: 0.9, radius: 0.9,
innerRadius: 0.5
}); });
this.myChart1.axis(false); this.myChart1.axis(false);
this.myChart1.tooltip(false); this.myChart1.tooltip(false);
...@@ -335,8 +334,8 @@ export default { ...@@ -335,8 +334,8 @@ export default {
} }
}); });
this.myChart1.interval() this.myChart1.interval()
.position('title*value') .position('const*value')
.color('title', [ '#1890FF', '#13C2C2', '#2FC25B', '#FACC14' ]) .color('title', [ '#ff9900', '#19be6b', '#2d8cf0' ])
.adjust('stack') .adjust('stack')
this.myChart1.render(); this.myChart1.render();
}, },
...@@ -350,7 +349,6 @@ export default { ...@@ -350,7 +349,6 @@ export default {
this.myChart2.coord('polar', { this.myChart2.coord('polar', {
transposed: true, transposed: true,
radius: 0.9, radius: 0.9,
innerRadius: 0.5
}); });
this.myChart2.axis(false); this.myChart2.axis(false);
this.myChart2.tooltip(false); this.myChart2.tooltip(false);
...@@ -386,8 +384,8 @@ export default { ...@@ -386,8 +384,8 @@ export default {
} }
}); });
this.myChart2.interval() this.myChart2.interval()
.position('title*value') .position('const*value')
.color('title', [ '#1890FF', '#13C2C2', '#2FC25B', '#FACC14' ]) .color('title', [ '#ff9900', '#19be6b' ])
.adjust('stack') .adjust('stack')
this.myChart2.render(); this.myChart2.render();
}, },
...@@ -401,7 +399,6 @@ export default { ...@@ -401,7 +399,6 @@ export default {
this.myChart3.coord('polar', { this.myChart3.coord('polar', {
transposed: true, transposed: true,
radius: 0.9, radius: 0.9,
innerRadius: 0.5
}); });
this.myChart3.axis(false); this.myChart3.axis(false);
this.myChart3.tooltip(false); this.myChart3.tooltip(false);
...@@ -437,8 +434,8 @@ export default { ...@@ -437,8 +434,8 @@ export default {
} }
}); });
this.myChart3.interval() this.myChart3.interval()
.position('title*value') .position('const*value')
.color('title', [ '#1890FF', '#13C2C2', '#2FC25B', '#FACC14' ]) .color('title', [ '#ff9900', '#19be6b' ])
.adjust('stack') .adjust('stack')
this.myChart3.render(); this.myChart3.render();
}, },
...@@ -455,35 +452,42 @@ export default { ...@@ -455,35 +452,42 @@ export default {
this.set1 = [ this.set1 = [
{ {
title:'感染', title:'感染',
value:res.set1[0].iFever value:res.set1[0].iFever,
const: 'const'
}, },
{ {
title:'健康', title:'健康',
value:res.set1[0].iHealthy value:res.set1[0].iHealthy,
const: 'const'
}, },
{ {
title:'其他', title:'其他',
value:res.set1[0].iOther value:res.set1[0].iOther,
const: 'const'
} }
]; ];
this.set2 = [ this.set2 = [
{ {
title:'接触', title:'接触',
value:res.set2[0].bHaveBeenTrue value:res.set2[0].bHaveBeenTrue,
const: 'const'
}, },
{ {
title:'未接触', title:'未接触',
value:res.set2[0].bHaveBeenFalse value:res.set2[0].bHaveBeenFalse,
const: 'const'
} }
]; ];
this.set3 = [ this.set3 = [
{ {
title:'停留', title:'停留',
value:res.set3[0].bTouchTrue value:res.set3[0].bTouchTrue,
const: 'const'
}, },
{ {
title:'未停留', title:'未停留',
value:res.set3[0].bTouchFalse value:res.set3[0].bTouchFalse,
const: 'const'
} }
]; ];
} }
...@@ -521,7 +525,7 @@ export default { ...@@ -521,7 +525,7 @@ export default {
this.$router.push({name:'healthCardStatisticsList',params:{type:type}}); this.$router.push({name:'healthCardStatisticsList',params:{type:type}});
}, },
routerToPunchClockDetail(item){ routerToPunchClockDetail(item){
this.$router.push({name:'punchClockDetail',params:{id:'1',address:'1',openId:this.openId},query:{readOnly:true,dDate:new Date(this.hdr.dDate).getTime()}}) this.$router.push({name:'punchClockDetail',params:{id:'1',address:'1',openId:this.openId},query:{readOnly:'true',dDate:new Date(this.hdr.dDate).getTime()}})
} }
} }
} }
......
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