WIP: not sure what is aaa and bbb meaning in /rule/log/aaa/conformance/bbb
This commit is contained in:
@@ -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;
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user