fix: api
This commit is contained in:
parent
699997401e
commit
b036e80092
2 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ async function FileDownload(type: string) {
|
|||
//ผุ้บังคับ
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.reportEvaluateRecord2(type, numTab.id))
|
||||
.get(config.API.reportEvaluateRecord1(type, numTab.id))
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
await genReport(
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ async function FileDownload(type: string) {
|
|||
if (dataRole.value == "mentor") {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.reportEvaluateRecord1(type, numTab.id))
|
||||
.get(config.API.reportEvaluateRecord2(type, numTab.id))
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
await genReport(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue