Merge pull request 'fix : 饼图间距' (#802) from de into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/802
This commit is contained in:
@@ -356,58 +356,7 @@ const taskTabList = ref([
|
|||||||
}
|
}
|
||||||
])
|
])
|
||||||
const todoList = ref([])
|
const todoList = ref([])
|
||||||
const noticeList = ref([
|
const noticeList = ref([])
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,升级通知,期间部分服务将暂升级通知,期间部分服务将暂升级通知,期间部分服务将暂将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停4324234'
|
|
||||||
// }, {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// articleTitle: '系统升级通知,期间部分服务将暂停4324234'
|
|
||||||
// }
|
|
||||||
])
|
|
||||||
const rulesList = ref([])
|
const rulesList = ref([])
|
||||||
const helpDocList = ref([])
|
const helpDocList = ref([])
|
||||||
const problemList = ref([])
|
const problemList = ref([])
|
||||||
@@ -479,7 +428,7 @@ const fundPieOption = ref({
|
|||||||
},
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
borderWidth: 10,//设置边框粗细
|
borderWidth: 8,//设置边框粗细
|
||||||
borderColor: '#fff',
|
borderColor: '#fff',
|
||||||
color: function (params) {
|
color: function (params) {
|
||||||
const colorList = [
|
const colorList = [
|
||||||
@@ -558,7 +507,7 @@ const moneyPieOption = ref({
|
|||||||
itemStyle: {
|
itemStyle: {
|
||||||
|
|
||||||
normal: {
|
normal: {
|
||||||
borderWidth: 10,//设置边框粗细
|
borderWidth: 8,//设置边框粗细
|
||||||
borderColor: '#fff',
|
borderColor: '#fff',
|
||||||
color: function (colors) {
|
color: function (colors) {
|
||||||
const colorList = moneyColorList.value;
|
const colorList = moneyColorList.value;
|
||||||
@@ -642,19 +591,11 @@ const getResearchChart = () => {
|
|||||||
if (res.code === 1000) {
|
if (res.code === 1000) {
|
||||||
totalMoney.value = res.data.totalAmount
|
totalMoney.value = res.data.totalAmount
|
||||||
moneyData.value = res.data.rdCompanyList
|
moneyData.value = res.data.rdCompanyList
|
||||||
// if (res.data.rdCompanyList?.length == 0) {
|
|
||||||
// moneyData.value = [{value: 5000, name: '智汇未来科技公司',},
|
|
||||||
// {value: 3000, name: '云航信息技术公司'},
|
|
||||||
// {value: 12345, name: '融智投资管理公司'},]
|
|
||||||
// moneyPieOption.value.series[0].data = moneyData.value
|
|
||||||
// initMoneyCharts()
|
|
||||||
// } else {
|
|
||||||
if(res.data.rdCompanyList?.length ==0)return;
|
if(res.data.rdCompanyList?.length ==0)return;
|
||||||
if (moneyPieOption.value.series && moneyPieOption.value.series?.length > 0) {
|
if (moneyPieOption.value.series && moneyPieOption.value.series?.length > 0) {
|
||||||
moneyPieOption.value.series[0].data = res.data.rdCompanyList
|
moneyPieOption.value.series[0].data = res.data.rdCompanyList
|
||||||
initMoneyCharts()
|
initMoneyCharts()
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
} else {
|
} else {
|
||||||
ElNotification({
|
ElNotification({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
|
|||||||
Reference in New Issue
Block a user