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

@ -30,7 +30,8 @@ export default {
`${reportProbation}/13/${type}/${id}`,
reportEvaluateRecord1: (type: string, id: string) =>
`${reportProbation}/14/${type}/${id}`,
// reportEvaluateRecord2:(type:string, id:string) => `${reportProbation}/15/${type}/${id}`,
reportEvaluateRecord2: (type: string, id: string) =>
`${reportProbation}/15/${type}/${id}`,
reportEvaluate: (type: string, id: string) =>
`${reportProbation}/16/${type}/${id}`,
reportEvaluateChairman: (type: string, id: string) =>

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