From a4aa7edd5333a7666c63bab4cfe8fff56c76508f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Thu, 15 May 2025 14:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=A6=E5=8F=B7=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=92=8C=E5=9C=A8=E7=BA=BF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/product/account.vue | 10 +++++----- src/components/product/accountSearch.vue | 9 ++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/components/product/account.vue b/src/components/product/account.vue index 8a6eabe..3ba192d 100644 --- a/src/components/product/account.vue +++ b/src/components/product/account.vue @@ -163,6 +163,7 @@ + @@ -386,11 +387,10 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(_ => { - this.$api - .post('course/v1/productaccount/Delete?id=' + item.Id) - .then(res => { - that.get() - }) + this.$api.post(this.$api.phpURL + 'manager/account/delete', {'id':item.Id}).then(res => { + this.$message.success('删除成功') + that.get() + }) }) }, dels () { diff --git a/src/components/product/accountSearch.vue b/src/components/product/accountSearch.vue index a980578..1fee6eb 100644 --- a/src/components/product/accountSearch.vue +++ b/src/components/product/accountSearch.vue @@ -218,11 +218,10 @@ export default { cancelButtonText: "取消", type: "warning" }).then(_ => { - this.$api - .post("course/v1/productaccount/Delete?id=" + item.Id) - .then(res => { - that.get(); - }); + this.$api.post(this.$api.phpURL + 'manager/account/delete', {'id':item.Id}).then(res => { + this.$message.success('删除成功') + that.get() + }) }); }, goAdd() {