Conformance Filter: fetch filter doning 50%.
This commit is contained in:
@@ -304,9 +304,9 @@ export default {
|
||||
async openMore(no) {
|
||||
// async await 解決非同步資料延遲傳遞導致未讀取到而出錯的問題
|
||||
this.issuesNo = no;
|
||||
await this.conformanceStore.getLogConformanceIssue(no);
|
||||
await this.conformanceStore.getConformanceIssue(no);
|
||||
this.traceId = await this.issueTraces[0].id;
|
||||
this.firstCases = await this.conformanceStore.getLogConformanceTraceDetail(no, this.issueTraces[0].id, 0);
|
||||
this.firstCases = await this.conformanceStore.getConformanceTraceDetail(no, this.issueTraces[0].id, 0);
|
||||
this.issuesModal = await true;
|
||||
},
|
||||
/**
|
||||
@@ -316,9 +316,9 @@ export default {
|
||||
async openLoopMore(no) {
|
||||
// async await 解決非同步資料延遲傳遞導致未讀取到而出錯的問題
|
||||
this.loopNo = no;
|
||||
await this.conformanceStore.getLogConformanceLoop(no);
|
||||
await this.conformanceStore.getConformanceLoop(no);
|
||||
this.looptraceId = await this.loopTraces[0].id;
|
||||
this.loopFirstCases = await this.conformanceStore.getLogConformanceLoopsTraceDetail(no, this.loopTraces[0].id, 0);
|
||||
this.loopFirstCases = await this.conformanceStore.getConformanceLoopsTraceDetail(no, this.loopTraces[0].id, 0);
|
||||
this.loopModal = await true;
|
||||
},
|
||||
/**
|
||||
|
||||
@@ -907,8 +907,8 @@ export default {
|
||||
this.isLoading = true;
|
||||
this.isSubmit = true;
|
||||
this.isSubmitData = data; // 已 Apply 後,沒有重新改變規則的 Data
|
||||
await this.conformanceStore.addLogConformanceTempCheckId(data);
|
||||
await this.conformanceStore.getLogConformanceTempReport();
|
||||
await this.conformanceStore.addConformanceCheckId(data);
|
||||
await this.conformanceStore.getConformanceReport();
|
||||
this.isShowBar = false;
|
||||
this.isLoading = false;
|
||||
// Results page Cover Plate
|
||||
|
||||
@@ -182,8 +182,8 @@ export default {
|
||||
this.startNum = 0;
|
||||
|
||||
let result;
|
||||
if(this.category === 'issue') result = await this.conformanceStore.getLogConformanceTraceDetail(this.listNo, id, 0);
|
||||
else if(this.category === 'loop') result = await this.conformanceStore.getLogConformanceLoopsTraceDetail(this.listNo, id, 0);
|
||||
if(this.category === 'issue') result = await this.conformanceStore.getConformanceTraceDetail(this.listNo, id, 0);
|
||||
else if(this.category === 'loop') result = await this.conformanceStore.getConformanceLoopsTraceDetail(this.listNo, id, 0);
|
||||
this.infiniteData = await result;
|
||||
},
|
||||
/**
|
||||
@@ -248,7 +248,7 @@ export default {
|
||||
try {
|
||||
this.loading = true;
|
||||
this.startNum += 20
|
||||
const result = await this.conformanceStore.getLogConformanceTraceDetail(this.listNo, this.showTraceId, this.startNum);
|
||||
const result = await this.conformanceStore.getConformanceTraceDetail(this.listNo, this.showTraceId, this.startNum);
|
||||
this.infiniteData = [...this.infiniteData, ...result];
|
||||
} catch(error) {
|
||||
// console.error('Failed to load data:', error);
|
||||
|
||||
Reference in New Issue
Block a user