Merge branch 'main' of https://dev.azure.com/asfinag/Tech-Supporting.ITSM/_git/Tech-Supporting.ITSM.ChangeKalender
commit
7ef4bf24e3
|
|
@ -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)];
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue