【update】-禅道bug的修改-下午2

This commit is contained in:
fengchenchen
2022-12-08 16:17:23 +08:00
parent 2c7feeccdd
commit 523858cbde
8 changed files with 23 additions and 11 deletions
+4 -2
View File
@@ -223,8 +223,10 @@ export default {
::v-deep ::-webkit-scrollbar-thumb{
background: #445a9c;
}
::v-deep ::-webkit-scrollbar-corner {
//background: black;
// 下拉框-清除图标的背景色
::v-deep .ant-select-selection__clear {
background: #293f6a;
color: #fff;
}
</style>
@@ -182,7 +182,6 @@ export default {
// echartsData = this.initPoint(echartsData, color)
// let chartDom = document.getElementById('notReceivedScreen')
// let myChart = echarts.init(chartDom)
console.log('-------echartsData--------', echartsData)
let option = {
legend: {
left:'15%',
@@ -245,6 +245,12 @@ export default {
}
.screen-department-select{
&::-webkit-scrollbar-track{
background: #293f6a!important;
}
&::-webkit-scrollbar-thumb{
background: #445a9c!important;
}
background-color: #181F55;
.ant-select-dropdown-content{
background-color: #181F55;
@@ -273,6 +279,9 @@ export default {
color: white;
}
}
.ant-empty-description{
color: #fff;
}
}
</style>
@@ -113,7 +113,6 @@ export default {
// 获取数据
getData() {
StanderProjectGeneralSituation().then(res => {
console.log(res)
if(res.success) {
let result = res.result || {}
this.releaseData[0].value = result.stdGb
@@ -150,7 +149,6 @@ export default {
}
]
}
console.log('-------deepMerge(commonOption, releaseChart0ption)-------', deepMerge(commonOption, releaseChart0ption))
createPieChart('releaseChart', deepMerge(commonOption, releaseChart0ption))
let researchChart0ption = {
@@ -197,7 +197,6 @@ export default {
}
]
}
console.log('------option------', option)
createBarAndLineChart('releasePlanChart', option)
}
},
@@ -193,6 +193,13 @@ export default {
</style>
<style lang="less">
.ant-select-screen {
.ant-select-dropdown-content > ul::-webkit-scrollbar-track{
background: #293f6a;
////border-color: transparent;
}
.ant-select-dropdown-content > ul::-webkit-scrollbar-thumb{
background: #445a9c;
}
background-color: #181F55;
.ant-select-dropdown-menu-item {
+2 -2
View File
@@ -174,8 +174,8 @@ export const BarAndLineOptions = {
},
splitLine: {
lineStyle: {
color: '#7599E8',
type: 'dashed'
color: 'rgba(117, 153, 232, 0.5)',
type: 'solid'
}
},
type: 'value',
+1 -3
View File
@@ -121,8 +121,7 @@ export const PieOptions = {
label: {
show: true,
color: '#7599E8',
// formatter: '{b}: {d}%',
formatter: '{b}: {c}',
formatter: '{b}: {d}%'
}
}
]
@@ -134,7 +133,6 @@ export function createPieChart(idName, option) {
echarts.dispose(chartDom)
// debugger
let chartOption = deepMerge({}, PieOptions, option)
console.log('-----chartOption-------', chartOption)
let myChart = echarts.init(chartDom)
chartOption && myChart.setOption(chartOption)
window.addEventListener('resize', () => {