shujukanbancolorsChange

This commit is contained in:
shijing 2023-11-08 09:23:12 +08:00
parent 2249f5fc3e
commit ca3c430e75
1 changed files with 28 additions and 14 deletions

View File

@ -51,19 +51,18 @@ export default {
return { return {
blockHeight:null, blockHeight:null,
taskBoard: { taskBoard: {
headerBGC:'#0a3f44', header: ['姓名', '车间', '到岗'],
header: ['列1', '列2', '列3'], headerBGC: 'rgb(10,63,68)',
// waitTime: 1000,
columnWidth: [1, 1, 1],
data: [ data: [
['行1列1', '行1列2', '行1列3'], ['王丽丽', '6车间', '<span style="color:green;">已到岗</span>'],
['行2列1', '行2列2', '行2列3'], ['李强', '7车间', '<span style="color:green;">已到岗</span>'],
['行3列1', '行3列2', '行3列3'], ['孙洪', '8车间', '<span style="color:green;">已到岗</span>'],
['行4列1', '行4列2', '行4列3'], ['孙洪', '8车间', '<span style="color:green;">已到岗</span>'],
['行5列1', '行5列2', '行5列3'], ['钱多多', '10车间', '<span style="color:green;">已到岗</span>'],
['行6列1', '行6列2', '行6列3'], ['白兰', '10车间', '<span style="color:red;">未到岗</span>'],
['行7列1', '行7列2', '行7列3'], ['白兰', '10车间', '<span style="color:red;">未到岗</span>'],
['行8列1', '行8列2', '行8列3'],
['行9列1', '行9列2', '行9列3'],
['行10列1', '行10列2', '行10列3'],
], ],
index: true, index: true,
columnWidth: [50], columnWidth: [50],
@ -380,9 +379,13 @@ export default {
trigger: 'axis' trigger: 'axis'
}, },
legend: { legend: {
color: ['rgb(250,205,0)'], right:0,
data: [{ data: [{
name:'温度', name:'温度',
textStyle:{
color:'#fff'
},
itemStyle:{ itemStyle:{
// color:'rgb(1,235,239)', // color:'rgb(1,235,239)',
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
@ -599,7 +602,18 @@ export default {
return value ; return value ;
} }
}, },
data:[80, 90, 95, 92, 90, 100] symbol:'circle',
symbolSize:8,
itemStyle: {
// symbol
normal: {
color:'rgb(255,120,0)'
}
},
lineStyle:{
color:'rgb(255,120,0)'
},
data:[50, 55, 40, 60, 38, 95]
} }
] ]
}; };