【update】-禅道bug的修改-下午2
This commit is contained in:
@@ -223,8 +223,10 @@ export default {
|
|||||||
::v-deep ::-webkit-scrollbar-thumb{
|
::v-deep ::-webkit-scrollbar-thumb{
|
||||||
background: #445a9c;
|
background: #445a9c;
|
||||||
}
|
}
|
||||||
::v-deep ::-webkit-scrollbar-corner {
|
// 下拉框-清除图标的背景色
|
||||||
//background: black;
|
::v-deep .ant-select-selection__clear {
|
||||||
|
background: #293f6a;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -182,7 +182,6 @@ export default {
|
|||||||
// echartsData = this.initPoint(echartsData, color)
|
// echartsData = this.initPoint(echartsData, color)
|
||||||
// let chartDom = document.getElementById('notReceivedScreen')
|
// let chartDom = document.getElementById('notReceivedScreen')
|
||||||
// let myChart = echarts.init(chartDom)
|
// let myChart = echarts.init(chartDom)
|
||||||
console.log('-------echartsData--------', echartsData)
|
|
||||||
let option = {
|
let option = {
|
||||||
legend: {
|
legend: {
|
||||||
left:'15%',
|
left:'15%',
|
||||||
|
|||||||
@@ -245,6 +245,12 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.screen-department-select{
|
.screen-department-select{
|
||||||
|
&::-webkit-scrollbar-track{
|
||||||
|
background: #293f6a!important;
|
||||||
|
}
|
||||||
|
&::-webkit-scrollbar-thumb{
|
||||||
|
background: #445a9c!important;
|
||||||
|
}
|
||||||
background-color: #181F55;
|
background-color: #181F55;
|
||||||
.ant-select-dropdown-content{
|
.ant-select-dropdown-content{
|
||||||
background-color: #181F55;
|
background-color: #181F55;
|
||||||
@@ -273,6 +279,9 @@ export default {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ant-empty-description{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -113,7 +113,6 @@ export default {
|
|||||||
// 获取数据
|
// 获取数据
|
||||||
getData() {
|
getData() {
|
||||||
StanderProjectGeneralSituation().then(res => {
|
StanderProjectGeneralSituation().then(res => {
|
||||||
console.log(res)
|
|
||||||
if(res.success) {
|
if(res.success) {
|
||||||
let result = res.result || {}
|
let result = res.result || {}
|
||||||
this.releaseData[0].value = result.stdGb
|
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))
|
createPieChart('releaseChart', deepMerge(commonOption, releaseChart0ption))
|
||||||
|
|
||||||
let researchChart0ption = {
|
let researchChart0ption = {
|
||||||
|
|||||||
@@ -197,7 +197,6 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
console.log('------option------', option)
|
|
||||||
createBarAndLineChart('releasePlanChart', option)
|
createBarAndLineChart('releasePlanChart', option)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -193,6 +193,13 @@ export default {
|
|||||||
</style>
|
</style>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.ant-select-screen {
|
.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;
|
background-color: #181F55;
|
||||||
|
|
||||||
.ant-select-dropdown-menu-item {
|
.ant-select-dropdown-menu-item {
|
||||||
|
|||||||
@@ -174,8 +174,8 @@ export const BarAndLineOptions = {
|
|||||||
},
|
},
|
||||||
splitLine: {
|
splitLine: {
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: '#7599E8',
|
color: 'rgba(117, 153, 232, 0.5)',
|
||||||
type: 'dashed'
|
type: 'solid'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
type: 'value',
|
type: 'value',
|
||||||
|
|||||||
@@ -121,8 +121,7 @@ export const PieOptions = {
|
|||||||
label: {
|
label: {
|
||||||
show: true,
|
show: true,
|
||||||
color: '#7599E8',
|
color: '#7599E8',
|
||||||
// formatter: '{b}: {d}%',
|
formatter: '{b}: {d}%'
|
||||||
formatter: '{b}: {c}',
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -134,7 +133,6 @@ export function createPieChart(idName, option) {
|
|||||||
echarts.dispose(chartDom)
|
echarts.dispose(chartDom)
|
||||||
// debugger
|
// debugger
|
||||||
let chartOption = deepMerge({}, PieOptions, option)
|
let chartOption = deepMerge({}, PieOptions, option)
|
||||||
console.log('-----chartOption-------', chartOption)
|
|
||||||
let myChart = echarts.init(chartDom)
|
let myChart = echarts.init(chartDom)
|
||||||
chartOption && myChart.setOption(chartOption)
|
chartOption && myChart.setOption(chartOption)
|
||||||
window.addEventListener('resize', () => {
|
window.addEventListener('resize', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user