Conformance: processing time, waiting time, cycle time, showbox list done.
This commit is contained in:
@@ -20,6 +20,9 @@ export default defineStore('conformanceStore', {
|
||||
allConformanceTask: [],
|
||||
allConformanceStart: [],
|
||||
allConformanceEnd: [],
|
||||
allProcessingTime: {},
|
||||
allWaitingTime: {},
|
||||
allCycleTime: {},
|
||||
allConformanceTempReportData: null,
|
||||
allIssueTraces: null,
|
||||
allTaskSeq: null,
|
||||
@@ -33,7 +36,6 @@ export default defineStore('conformanceStore', {
|
||||
selectedProcessScope: 'End to end', // radio
|
||||
selectedActSeqMore: 'All', // radio
|
||||
selectedActSeqFromTo: 'From', // radio
|
||||
// selectConformanceTask: null, // select task
|
||||
infinite404: null,
|
||||
}),
|
||||
getters: {
|
||||
@@ -49,6 +51,60 @@ export default defineStore('conformanceStore', {
|
||||
conformanceEnd: state => {
|
||||
return state.allConformanceEnd;
|
||||
},
|
||||
cfmPtEteWhole: state => {
|
||||
return state.allProcessingTime.end_to_end.whole;
|
||||
},
|
||||
cfmPtEteStart: state => {
|
||||
return state.allProcessingTime.end_to_end.starts_with;
|
||||
},
|
||||
cfmPtEteEnd: state => {
|
||||
return state.allProcessingTime.end_to_end.ends_with;
|
||||
},
|
||||
cfmPtEteSE: state => {
|
||||
return state.allProcessingTime.end_to_end.start_end;
|
||||
},
|
||||
cfmPtPStart: state => {
|
||||
return state.allProcessingTime.partial.starts_with;
|
||||
},
|
||||
cfmPtPEnd: state => {
|
||||
return state.allProcessingTime.partial.ends_with;
|
||||
},
|
||||
cfmPtPSE: state => {
|
||||
return state.allProcessingTime.partial.start_end;
|
||||
},
|
||||
cfmWtEteWhole: state => {
|
||||
return state.allWaitingTime.end_to_end.whole;
|
||||
},
|
||||
cfmWtEteStart: state => {
|
||||
return state.allWaitingTime.end_to_end.starts_with;
|
||||
},
|
||||
cfmWtEteEnd: state => {
|
||||
return state.allWaitingTime.end_to_end.ends_with;
|
||||
},
|
||||
cfmWtEteSE: state => {
|
||||
return state.allWaitingTime.end_to_end.start_end;
|
||||
},
|
||||
cfmWtPStart: state => {
|
||||
return state.allWaitingTime.partial.starts_with;
|
||||
},
|
||||
cfmWtPEnd: state => {
|
||||
return state.allWaitingTime.partial.ends_with;
|
||||
},
|
||||
cfmWtPSE: state => {
|
||||
return state.allWaitingTime.partial.start_end;
|
||||
},
|
||||
cfmCtEteWhole: state => {
|
||||
return state.allCycleTime.end_to_end.whole;
|
||||
},
|
||||
cfmCtEteStart: state => {
|
||||
return state.allCycleTime.end_to_end.starts_with;
|
||||
},
|
||||
cfmCtEteEnd: state => {
|
||||
return state.allCycleTime.end_to_end.ends_with;
|
||||
},
|
||||
cfmCtEteSE: state => {
|
||||
return state.allCycleTime.end_to_end.start_end;
|
||||
},
|
||||
conformanceTempReportData: state => {
|
||||
return state.allConformanceTempReportData;
|
||||
},
|
||||
@@ -124,6 +180,9 @@ export default defineStore('conformanceStore', {
|
||||
this.allConformanceTask = response.data.tasks;
|
||||
this.allConformanceStart = response.data.sources;
|
||||
this.allConformanceEnd = response.data.sinks;
|
||||
this.allProcessingTime = response.data.processing_time;
|
||||
this.allWaitingTime = response.data.waiting_time;
|
||||
this.allCycleTime = response.data.cycle_time;
|
||||
} catch(error) {
|
||||
await delay();
|
||||
loading.isLoading = true;
|
||||
|
||||
Reference in New Issue
Block a user