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();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.reportEvaluateRecord2(type, numTab.id))
|
.get(config.API.reportEvaluateRecord1(type, numTab.id))
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
const data = res.data.result;
|
const data = res.data.result;
|
||||||
await genReport(
|
await genReport(
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ async function FileDownload(type: string) {
|
||||||
if (dataRole.value == "mentor") {
|
if (dataRole.value == "mentor") {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.reportEvaluateRecord1(type, numTab.id))
|
.get(config.API.reportEvaluateRecord2(type, numTab.id))
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
const data = res.data.result;
|
const data = res.data.result;
|
||||||
await genReport(
|
await genReport(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue