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