|
@@ -52,17 +52,34 @@ angular.module('fehlerberichtApp')
|
|
|
},
|
|
|
'system': [
|
|
|
'?',
|
|
|
- 'Autosys',
|
|
|
- 'Autosys-Light',
|
|
|
- 'CarIT-Audev',
|
|
|
- 'EDS',
|
|
|
- 'Filaks',
|
|
|
- 'GlobalCube',
|
|
|
- 'Locosoft',
|
|
|
- 'Navision',
|
|
|
- 'Optima',
|
|
|
- 'Optima-Light'
|
|
|
+ 'ARI',
|
|
|
+ 'AUDEV',
|
|
|
+ 'AUTOLINE',
|
|
|
+ 'CARLO',
|
|
|
+ 'HS',
|
|
|
+ 'LOCOSOFT',
|
|
|
+ 'NAVISION',
|
|
|
+ 'OPTIMA',
|
|
|
+ 'WERWISO',
|
|
|
+ 'Autosys',
|
|
|
+ 'Filaks',
|
|
|
+ 'O21-Light'
|
|
|
],
|
|
|
+ 'sys': {
|
|
|
+ '?': '?',
|
|
|
+ 'ARI': 'AI',
|
|
|
+ 'AUDEV_CARIT': 'AC',
|
|
|
+ 'AUTOLINE': 'AL',
|
|
|
+ 'CARLO': 'C',
|
|
|
+ 'HS': 'HS',
|
|
|
+ 'LOCOSOFT': 'LO',
|
|
|
+ 'NAVISION': 'NV',
|
|
|
+ 'OPTIMA': 'O',
|
|
|
+ 'WERWISO': 'W',
|
|
|
+ 'Autosys': 'AS',
|
|
|
+ 'Filaks': 'F',
|
|
|
+ 'Optima-Light': 'OL'
|
|
|
+ },
|
|
|
'datum': {},
|
|
|
'kunde': {},
|
|
|
'status': [
|
|
@@ -296,9 +313,20 @@ angular.module('fehlerberichtApp')
|
|
|
if (e === null) {
|
|
|
return '0';
|
|
|
}
|
|
|
- if (e.Errors.length === 0 || e.Errors.length === 1 && e.Errors[0] === '') {
|
|
|
+ if (e.LastChangedDays > 0) {
|
|
|
return $scope.daysCount(e);
|
|
|
}
|
|
|
+ if (e.Errors.length === 0) {
|
|
|
+ if(e.Sources.length === 0) {
|
|
|
+ return "Transformer-Protokollierung unvollständig";
|
|
|
+ }
|
|
|
+ else if (e.Summary === null) {
|
|
|
+ return "Cube nicht erstellt, Protokoll fehlerhaft";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (e.Errors.length === 1 && e.Type === "Modell" && e.Errors[0].Message !== null && e.Errors[0].Message.indexOf("has been deployed") > 0) {
|
|
|
+ return "Transformer-Protokollierung im falschen Format (englisch)";
|
|
|
+ }
|
|
|
var type = 'Info';
|
|
|
if (e.ErrorLevel < 3) {
|
|
|
type = 'Fehler';
|