main
parent
b0ca149fb7
commit
1c95248cd3
|
|
@ -143,7 +143,7 @@ export class DataService {
|
|||
public getContractName(contractId: string): string{
|
||||
for (const contract of this.contracts) {
|
||||
if(contract.id == contractId){
|
||||
console.log(contract);
|
||||
// console.log(contract);
|
||||
return contract.name;
|
||||
}
|
||||
}
|
||||
|
|
@ -633,7 +633,6 @@ export class DataService {
|
|||
this.totalSize = response.totalSize;
|
||||
response.changes.forEach(resp=>{
|
||||
//console.log(resp.resourceId+" "+resp.approvalStatus)
|
||||
console.log(resp.statusReason);
|
||||
let tasks : any[] = [];
|
||||
if(resp.d1!=null){
|
||||
tasks.push(
|
||||
|
|
@ -702,10 +701,8 @@ export class DataService {
|
|||
plantime: resp.planTime,
|
||||
packageInstanceId: resp.packageInstanceId
|
||||
});
|
||||
|
||||
|
||||
})
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
this.errorService.error = false;
|
||||
resolve(res);
|
||||
},(error=>{
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@
|
|||
|
||||
<!-- <button ejs-button id='filterRecord' (click)='filter()'>Filter</button> -->
|
||||
<ejs-gantt *ngIf="renderGantt" #ganttObject id="ganttDefault"
|
||||
[enableVirtualization]="true"
|
||||
[ngStyle]="{'visibility':spin ? 'hidden' : 'visible'}"
|
||||
[dataSource]="data"
|
||||
[allowSorting] = 'true'
|
||||
|
|
|
|||
Loading…
Reference in New Issue