Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   setQmpoints() {
  2.     this.qmAllStatus.forEach((array, outerIndex) => {
  3.       array.forEach((status, innerIndex) => {
  4.         if (status !== 0) {
  5.           this.qmTextPerLauf[outerIndex].push(
  6.             `QMP${this.qmpoints[innerIndex]} Abgeschlossen`
  7.           );
  8.         } else {
  9.           if (
  10.             this.projectInfo[outerIndex].QM_STATUS === this.qmpoints[innerIndex]
  11.           ) {
  12.             this.qmTextPerLauf[outerIndex].push(
  13.               `QMP${this.qmpoints[innerIndex]} in Arbeit`
  14.             );
  15.           } else {
  16.             this.qmTextPerLauf[outerIndex].push(
  17.               `QMP${this.qmpoints[innerIndex]} Noch nicht fertig`
  18.             );
  19.           }
  20.         }
  21.       });
  22.     });
  23.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement