fix: probation api
This commit is contained in:
parent
663c4a9262
commit
699997401e
3 changed files with 6 additions and 3 deletions
|
|
@ -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) =>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue