|
|
|
|
@ -217,7 +217,16 @@ export default {
|
|
|
|
|
|
|
|
|
|
getStatusBg(row,column,status) {
|
|
|
|
|
var dom = document.getElementById(this.direction+"-"+this.side+"-"+row+'-'+column);
|
|
|
|
|
var color = status == 1 ?'#d81e06': (status == 2|| status == 3) ? '#1afa29': '#bfbfbf';
|
|
|
|
|
var color;
|
|
|
|
|
if(status == -1){
|
|
|
|
|
color = '#bfbfbf';
|
|
|
|
|
}else if(status == 2|| status == 3){
|
|
|
|
|
color = '#1afa29';
|
|
|
|
|
}else if(status == 0 ){
|
|
|
|
|
color = '#fbb33d';
|
|
|
|
|
}else{
|
|
|
|
|
color = '#d81e06';
|
|
|
|
|
}
|
|
|
|
|
dom.style.background = color
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|