fix: probation api

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-11-28 11:39:51 +07:00
parent 663c4a9262
commit 699997401e
3 changed files with 6 additions and 3 deletions

View file

@ -92,7 +92,7 @@ async function FileDownload(type: string) {
//
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(
@ -132,6 +132,7 @@ onMounted(async () => {
:checkPermission="probationStore?.dataPermissions?.tab2?.isEdit as boolean"
:is-max="probationStore.tabs.length === 3"
/>
<q-tab-panels
v-model="tab"
animated

View file

@ -108,7 +108,7 @@ async function FileDownload(type: string) {
//
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(
@ -148,6 +148,7 @@ onMounted(async () => {
:checkPermission="probationStore?.dataPermissions?.tab3?.isEdit as boolean"
:is-max="probationStore.tabs.length === 3"
/>
<q-tab-panels
v-model="tab"
animated