diff --git a/src/views/professional/professionalqualificationrelation/index.vue b/src/views/professional/professionalqualificationrelation/index.vue index ff13d7e..2882b95 100644 --- a/src/views/professional/professionalqualificationrelation/index.vue +++ b/src/views/professional/professionalqualificationrelation/index.vue @@ -191,7 +191,7 @@ import { useMessageBox } from '/@/hooks/message' import { useDict } from '/@/hooks/dict' import { fetchList, - putObj, + examObj, delObj, exportExcel } from '/@/api/professional/professionaluser/professionalqualificationrelation' @@ -301,7 +301,7 @@ const changeState = (row: any, val: number) => { const str = '通过' messageBox.confirm(`是否确认${str}${row.realName}的申请`).then(async () => { try { - await putObj({ + await examObj({ id: row.id, state: val }) diff --git a/src/views/professional/professionalteacheracademicrelation/index.vue b/src/views/professional/professionalteacheracademicrelation/index.vue index 3e41c8c..a3568b3 100755 --- a/src/views/professional/professionalteacheracademicrelation/index.vue +++ b/src/views/professional/professionalteacheracademicrelation/index.vue @@ -217,7 +217,7 @@ import { useMessageBox } from '/@/hooks/message' import { useDict } from '/@/hooks/dict' import { fetchList, - putObj, + examObj, delObj, exportExcel } from '/@/api/professional/professionaluser/professionalteacheracademicrelation' @@ -341,7 +341,7 @@ const changeState = (row: any, val: number) => { const str = '通过' messageBox.confirm(`是否确认${str}${row.realName}的申请`).then(async () => { try { - await putObj({ + await examObj({ id: row.id, state: val }) diff --git a/src/views/professional/professionalteachercertificaterelation/index.vue b/src/views/professional/professionalteachercertificaterelation/index.vue index 82d6165..33d33a2 100755 --- a/src/views/professional/professionalteachercertificaterelation/index.vue +++ b/src/views/professional/professionalteachercertificaterelation/index.vue @@ -188,7 +188,7 @@ import { useDict } from '/@/hooks/dict' import { getTeacherCertificateList } from '/@/api/professional/rsbase/professionalteachercertificateconf' import { fetchList, - putObj, + examObj, delObj, exportExcel } from '/@/api/professional/professionaluser/professionalteachercertificaterelation' @@ -294,7 +294,7 @@ const changeState = (row: any, val: number) => { const str = '通过' messageBox.confirm(`是否确认${str}${row.realName}的申请`).then(async () => { try { - await putObj({ + await examObj({ id: row.id, state: val }) diff --git a/src/views/professional/professionalteacherhonor/index.vue b/src/views/professional/professionalteacherhonor/index.vue index 872b84a..78bdf1b 100755 --- a/src/views/professional/professionalteacherhonor/index.vue +++ b/src/views/professional/professionalteacherhonor/index.vue @@ -182,7 +182,7 @@ import { useMessageBox } from '/@/hooks/message' import { useDict } from '/@/hooks/dict' import { fetchList, - putObj, + examObj, delObj } from '/@/api/professional/professionaluser/professionalteacherhonor' import { defineAsyncComponent } from 'vue' @@ -277,7 +277,7 @@ const changeState = (row: any, val: number) => { const str = '通过' messageBox.confirm(`是否确认${str}${row.teacherName || row.realName}的申请`).then(async () => { try { - await putObj({ + await examObj({ id: row.id, state: val }) diff --git a/src/views/professional/professionaltitlerelation/index.vue b/src/views/professional/professionaltitlerelation/index.vue index 4bdcbee..33dff20 100755 --- a/src/views/professional/professionaltitlerelation/index.vue +++ b/src/views/professional/professionaltitlerelation/index.vue @@ -228,7 +228,7 @@ import { useDict } from '/@/hooks/dict' // 接口 import { fetchList, - putObj, + examObj, delObj, exportRelation } from '/@/api/professional/professionaluser/professionaltitlerelation' @@ -335,7 +335,7 @@ const changeState = (row: any, val: number) => { const str = '通过' messageBox.confirm(`是否确认${str}${row.realName}的申请`).then(async () => { try { - await putObj({ + await examObj({ id: row.id, state: val })