From dd53e572e78db3c942e62e6ff2335c8231be2c32 Mon Sep 17 00:00:00 2001 From: gengxin Date: Thu, 20 Feb 2025 13:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=AE=A1=E6=89=B9=E8=BF=87?= =?UTF-8?q?=E7=A8=8B=20=EF=BC=8C=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Lecturer.js | 7 +++++++ src/views/lecturer/OrganizationApproval.vue | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/api/Lecturer.js b/src/api/Lecturer.js index a2dc3415..cf92b45f 100644 --- a/src/api/Lecturer.js +++ b/src/api/Lecturer.js @@ -75,6 +75,13 @@ export const affiliationDelById = (id)=>http.post(`/admin/affiliation/delById?id export const isEnable = (obj) => http.post(`/admin/affiliation/isEnable`,obj) //撤回培训发生组织 export const affiliatIsConfirm = (id) => http.post(`/admin/affiliation/isConfirm?id=${id}`) +//删除 待提交 ,拒绝 的培训发生组织 +export const affiliatRemoveById = (id) => http.post(`/admin/affiliation/removeById?id=${id}`) + + + + + //讲师费统计详情 export const expenseSummaryById = (obj) => http.get( `/admin/expenseSummary/queryById?id=${obj.id}&name=${obj.name}&trainOrgId=${obj.trainOrgId||''}&pageNo=${obj.pageNo}&pageSize=${obj.pageSize}`) //撤回讲师费统计详情 diff --git a/src/views/lecturer/OrganizationApproval.vue b/src/views/lecturer/OrganizationApproval.vue index f6ba3a14..d58767b8 100644 --- a/src/views/lecturer/OrganizationApproval.vue +++ b/src/views/lecturer/OrganizationApproval.vue @@ -795,9 +795,9 @@ export default { content: "是否确认删除 ?", ok: () => { lecturer - .affiliatIsConfirm(record.id) + .affiliatRemoveById(record.id) .then((res) => { - message.success("撤回成功"); + message.success("删除成功"); getTableDate(); }) .catch((err) => {