Said Gedik 2024-02-28 16:09:35 +01:00
commit 7ef4bf24e3
3 changed files with 20 additions and 4 deletions

View File

@ -207,7 +207,7 @@ export class FilterDialogComponent implements OnInit {
if(this.dataService.getStates().find((item)=> {return item.stateNameEN == state;})){
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)];

View File

@ -810,17 +810,22 @@ export class NttGanttComponent implements OnInit {
*/
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);
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border1');
// console.log(args.taskbarElement.children[1]);
// args.taskbarElement.children[1].children[0].classList.add('e-gantt-milestone-border');
// args.taskbarElement.children[1].children[1].classList.add('e-gantt-milestone-border');
}
else{
if(args.taskbarType == 'Milestone'){
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border')
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border');
}
}

View File

@ -45,6 +45,17 @@
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>