Browse Source

冲突合并

shibei_master
jiangyy 4 years ago
parent
commit
15409338bf
  1. 1
      src/views/modules/visual/communityGovern/resiPieOption.js
  2. 8
      src/views/modules/visual/communityGovern/resibuzz.vue

1
src/views/modules/visual/communityGovern/resiPieOption.js

@ -116,6 +116,7 @@ const center= ['50%', '250px']
maxSurfaceAngle: 80 maxSurfaceAngle: 80
}, },
labelLayout: function (params) { labelLayout: function (params) {
const isLeft = params.labelRect.x < _charts.getWidth() / 2; const isLeft = params.labelRect.x < _charts.getWidth() / 2;
const points = params.labelLinePoints; const points = params.labelLinePoints;
// Update the end point. // Update the end point.

8
src/views/modules/visual/communityGovern/resibuzz.vue

@ -77,7 +77,7 @@ export default {
return { return {
showNoData: false, showNoData: false,
timer: null, timer: null,
pieChartS: null,
pieChart: '', pieChart: '',
pieOption: {}, pieOption: {},
pieInitState: false, pieInitState: false,
@ -172,7 +172,7 @@ export default {
pageSize: 10, pageSize: 10,
pageNo: 1, pageNo: 1,
total: 0, total: 0,
pieChartS: null
}, },
casOptions: [], casOptions: [],
@ -260,12 +260,12 @@ export default {
const { data, code, msg } = await requestPost(url, params); const { data, code, msg } = await requestPost(url, params);
// pieChart // pieChart
this.pieOption = pieOption(this.pieChartS)
if (code === 0) { if (code === 0) {
// pieChart // pieChart
this.pieOption = pieOption() this.pieOption = pieOption(this.pieChartS)
if (data && data.length > 0) { if (data && data.length > 0) {
// this.pieData = data // this.pieData = data

Loading…
Cancel
Save