feat: Conformance Save Logout done.
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
<template>
|
||||
<!-- conformanceLogId: {{ conformanceLogId }} <br>
|
||||
conformanceFilterId: {{ conformanceFilterId }} <br>
|
||||
conformanceLogTempCheckId: {{ conformanceLogTempCheckId }} <br>
|
||||
conformanceFilterTempCheckId: {{ conformanceFilterTempCheckId }} <br>
|
||||
conformanceLogCreateCheckId: {{ conformanceLogCreateCheckId }} <br>
|
||||
conformanceFilterCreateCheckId: {{ conformanceFilterCreateCheckId }} <br> -->
|
||||
<main class="h-screen-main relative">
|
||||
<div class="h-full relative bg-neutral-50">
|
||||
<ConformanceSidebar></ConformanceSidebar>
|
||||
@@ -57,14 +51,18 @@ export default {
|
||||
this.conformanceLogCreateCheckId = params.checkId;
|
||||
// 為複寫 Modal 取得 fileName
|
||||
await this.filesStore.fetchConformanceLog();
|
||||
await this.allConformanceLog.forEach(file => this.conformanceFileName = file.id == this.conformanceLogCreateCheckId ? file.name : null);
|
||||
await this.allConformanceLog.forEach(file => {
|
||||
if(file.id == this.conformanceLogCreateCheckId) return this.conformanceFileName = file.name;
|
||||
});
|
||||
break;
|
||||
case 'filter':
|
||||
this.conformanceFilterId = params.checkFileId;
|
||||
this.conformanceFilterCreateCheckId = params.checkId;
|
||||
// 為複寫 Modal 取得 fileName
|
||||
await this.filesStore.fetchConformanceFilter();
|
||||
await this.allConformanceFilter.forEach(file => this.conformanceFileName = file.id == this.conformanceFilterCreateCheckId ? file.name : null);
|
||||
await this.allConformanceFilter.forEach(file => {
|
||||
if(file.id == this.conformanceFilterCreateCheckId) return this.conformanceFileName = file.name;
|
||||
});
|
||||
}
|
||||
await this.conformanceStore.getConformanceReport();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user