|
|
|
@ -508,7 +508,7 @@ function chartRegType() { |
|
|
|
{ |
|
|
|
name: '检查类别数量及占比', |
|
|
|
type: 'pie', |
|
|
|
radius: ['35%', '60%'], |
|
|
|
radius: ['42%', '60%'], |
|
|
|
avoidLabelOverlap: false, |
|
|
|
itemStyle: { |
|
|
|
borderRadius: 0, |
|
|
|
@ -555,7 +555,7 @@ function chartEnterpriseType() { |
|
|
|
{ |
|
|
|
name: '被检查企业类别数量及占比', |
|
|
|
type: 'pie', |
|
|
|
radius: ['35%', '60%'], |
|
|
|
radius: ['42%', '60%'], |
|
|
|
avoidLabelOverlap: false, |
|
|
|
itemStyle: { |
|
|
|
borderRadius: 0, |
|
|
|
@ -603,7 +603,7 @@ function chartComplaintType() { |
|
|
|
{ |
|
|
|
name: '投诉类别数量及占比', |
|
|
|
type: 'pie', |
|
|
|
radius: ['35%', '60%'], |
|
|
|
radius: ['42%', '60%'], |
|
|
|
avoidLabelOverlap: false, |
|
|
|
itemStyle: { |
|
|
|
borderRadius: 0, |
|
|
|
@ -648,7 +648,7 @@ function chartComplaintType() { |
|
|
|
}, |
|
|
|
|
|
|
|
grid: { |
|
|
|
left: '0', |
|
|
|
left: '5%', |
|
|
|
right: '0', |
|
|
|
bottom: '5%', |
|
|
|
top: '15%', |
|
|
|
@ -678,7 +678,12 @@ function chartComplaintType() { |
|
|
|
textStyle: { |
|
|
|
color: '#999', |
|
|
|
fontSize: 12, |
|
|
|
} |
|
|
|
}, |
|
|
|
formatter: function (value) { |
|
|
|
// 设定一个最大长度,例如10个字符
|
|
|
|
const maxLength = 6; |
|
|
|
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
], |
|
|
|
@ -747,7 +752,7 @@ function chartComplaintType() { |
|
|
|
}, |
|
|
|
|
|
|
|
grid: { |
|
|
|
left: '0', |
|
|
|
left: '5%', |
|
|
|
right: '0', |
|
|
|
bottom: '5%', |
|
|
|
top: '15%', |
|
|
|
@ -777,7 +782,12 @@ function chartComplaintType() { |
|
|
|
textStyle: { |
|
|
|
color: '#999', |
|
|
|
fontSize: 12, |
|
|
|
} |
|
|
|
}, |
|
|
|
formatter: function (value) { |
|
|
|
// 设定一个最大长度,例如10个字符
|
|
|
|
const maxLength = 6; |
|
|
|
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
], |
|
|
|
@ -846,7 +856,7 @@ function chartComplaintType() { |
|
|
|
}, |
|
|
|
|
|
|
|
grid: { |
|
|
|
left: '0', |
|
|
|
left: '5%', |
|
|
|
right: '0', |
|
|
|
bottom: '5%', |
|
|
|
top: '15%', |
|
|
|
@ -876,7 +886,12 @@ function chartComplaintType() { |
|
|
|
textStyle: { |
|
|
|
color: '#999', |
|
|
|
fontSize: 12, |
|
|
|
} |
|
|
|
}, |
|
|
|
formatter: function (value) { |
|
|
|
// 设定一个最大长度,例如10个字符
|
|
|
|
const maxLength = 6; |
|
|
|
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
], |
|
|
|
@ -948,7 +963,7 @@ function chartComplaintType() { |
|
|
|
}, |
|
|
|
|
|
|
|
grid: { |
|
|
|
left: '0', |
|
|
|
left: '5%', |
|
|
|
right: '0', |
|
|
|
bottom: '5%', |
|
|
|
top: '15%', |
|
|
|
@ -979,7 +994,12 @@ function chartComplaintType() { |
|
|
|
textStyle: { |
|
|
|
color: '#999', |
|
|
|
fontSize: 12, |
|
|
|
} |
|
|
|
}, |
|
|
|
formatter: function (value) { |
|
|
|
// 设定一个最大长度,例如10个字符
|
|
|
|
const maxLength = 6; |
|
|
|
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
], |
|
|
|
@ -1051,7 +1071,7 @@ function chartComplaintType() { |
|
|
|
}, |
|
|
|
|
|
|
|
grid: { |
|
|
|
left: '0', |
|
|
|
left: '5%', |
|
|
|
right: '0', |
|
|
|
bottom: '5%', |
|
|
|
top: '15%', |
|
|
|
@ -1082,7 +1102,12 @@ function chartComplaintType() { |
|
|
|
textStyle: { |
|
|
|
color: '#999', |
|
|
|
fontSize: 12, |
|
|
|
} |
|
|
|
}, |
|
|
|
formatter: function (value) { |
|
|
|
// 设定一个最大长度,例如10个字符
|
|
|
|
const maxLength = 6; |
|
|
|
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
], |
|
|
|
@ -1156,7 +1181,7 @@ function chartComplaintType() { |
|
|
|
}, |
|
|
|
|
|
|
|
grid: { |
|
|
|
left: '0', |
|
|
|
left: '5%', |
|
|
|
right: '0', |
|
|
|
bottom: '5%', |
|
|
|
top: '15%', |
|
|
|
@ -1187,7 +1212,12 @@ function chartComplaintType() { |
|
|
|
textStyle: { |
|
|
|
color: '#999', |
|
|
|
fontSize: 12, |
|
|
|
} |
|
|
|
}, |
|
|
|
formatter: function (value) { |
|
|
|
// 设定一个最大长度,例如10个字符
|
|
|
|
const maxLength = 6; |
|
|
|
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
], |
|
|
|
|