WIP: not sure what is aaa and bbb meaning in /rule/log/aaa/conformance/bbb

This commit is contained in:
Cindy Chang
2024-06-11 09:15:16 +08:00
parent d6cb329a5c
commit 444b7d6975
3 changed files with 33 additions and 6 deletions

View File

@@ -264,7 +264,6 @@ export default defineStore('conformanceStore', {
else if(logCreateCheckId !== null) {
api = `/api/log-checks/${logCreateCheckId}`;
}
try {
const response = await this.$axios.get(api);
!getRouteFile ? this.allConformanceTempReportData = response.data : this.allRouteFile = response.data.file;
@@ -447,5 +446,12 @@ export default defineStore('conformanceStore', {
apiError(error, 'Failed to updata an Existing Conformance.');
}
},
/**
* Set the state value of conformance log creation check ID
* @param {string} createCheckID
*/
setConformanceLogCreateCheckId(createCheckID) {
this.conformanceLogCreateCheckId = createCheckID;
},
},
})