main
parent
e7db977a63
commit
8d086ab7b0
|
|
@ -207,7 +207,7 @@ export class FilterDialogComponent implements OnInit {
|
||||||
if(this.dataService.getStates().find((item)=> {return item.stateNameEN == state;})){
|
if(this.dataService.getStates().find((item)=> {return item.stateNameEN == state;})){
|
||||||
this.statesFilter.push(this.dataService.getStates().find((item)=> {return item.stateNameEN == state;}).stateNameEN);
|
this.statesFilter.push(this.dataService.getStates().find((item)=> {return item.stateNameEN == state;}).stateNameEN);
|
||||||
}
|
}
|
||||||
// //console.log(this.statesFilter);
|
console.log(this.statesFilter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.statesFilter = [...new Set(this.statesFilter)];
|
this.statesFilter = [...new Set(this.statesFilter)];
|
||||||
|
|
|
||||||
|
|
@ -810,17 +810,22 @@ export class NttGanttComponent implements OnInit {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public queryTaskbarInfo(args: any) {
|
public queryTaskbarInfo(args: any) {
|
||||||
if (args.taskbarType == 'Milestone' && args.data.taskData.TaskID.includes("D2") && args.data.taskData.isFixed == false)
|
if (args.taskbarType == 'Milestone' && args.data.taskData.TaskID.includes("D2"))
|
||||||
{
|
{
|
||||||
|
if(args.data.taskData.isFixed == true){
|
||||||
|
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border2');
|
||||||
|
}else{
|
||||||
|
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border1');
|
||||||
|
}
|
||||||
// console.log(args.taskbarElement.children[1].style.add);
|
// console.log(args.taskbarElement.children[1].style.add);
|
||||||
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border1');
|
|
||||||
// console.log(args.taskbarElement.children[1]);
|
// console.log(args.taskbarElement.children[1]);
|
||||||
// args.taskbarElement.children[1].children[0].classList.add('e-gantt-milestone-border');
|
// args.taskbarElement.children[1].children[0].classList.add('e-gantt-milestone-border');
|
||||||
// args.taskbarElement.children[1].children[1].classList.add('e-gantt-milestone-border');
|
// args.taskbarElement.children[1].children[1].classList.add('e-gantt-milestone-border');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if(args.taskbarType == 'Milestone'){
|
if(args.taskbarType == 'Milestone'){
|
||||||
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border')
|
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,17 @@
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.e-gantt-milestone-border2 {
|
||||||
|
/* border: 2px solid red !important; */
|
||||||
|
border-radius: 30%;
|
||||||
|
/* border-top-width: 1px; */
|
||||||
|
color: red;
|
||||||
|
background-color: #9e9e9b !important;
|
||||||
|
cursor: not-allowed;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue