From f2825083ee0f5a5bd5787b3b7ddbd6d41c1ac4ec Mon Sep 17 00:00:00 2001 From: axlrose2333 <690927457@qq.com> Date: Wed, 22 Mar 2023 20:46:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E6=8B=8D=E6=98=8E=E7=BB=86=EF=BC=9B?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=AE=A1=E6=A0=B8=EF=BC=9B=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E4=BB=85=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/integral.js | 7 ++ src/view/auctionManage/index.vue | 55 ++++++++++++- src/view/course/addCourse/index.vue | 52 ++++++++++-- src/view/course/components/chapter.vue | 97 ++++++++++++----------- src/view/course/index.vue | 105 +++++++++++++++++++------ src/view/course/viewCourse/index.vue | 9 +-- src/view/drawManage/index.vue | 2 +- 7 files changed, 243 insertions(+), 84 deletions(-) diff --git a/src/api/integral.js b/src/api/integral.js index 162b79b..575785f 100644 --- a/src/api/integral.js +++ b/src/api/integral.js @@ -79,5 +79,12 @@ const api = { data }) }, + viewAutionDetail: data => { // 竞拍明细 + return service({ + url: '/auction/record', + method: 'get', + params:data + }) + }, } export default api diff --git a/src/view/auctionManage/index.vue b/src/view/auctionManage/index.vue index 5af9198..7868449 100644 --- a/src/view/auctionManage/index.vue +++ b/src/view/auctionManage/index.vue @@ -256,6 +256,26 @@ async function auctionStateFunc(row,type) { //竞拍上架 下架 }, }) } +// 查看明细相关 +const viewParams = ref({ + id:0, + type:1, + current_page:1, + page_size:10, + sort:'desc' +}) +const dialogViewVisible = ref(false) +const viewInfo = ref({}) +const view_total = ref(0) +async function viewAuctionFunc(row) { // 竞拍明细 + viewParams.value.id = row.id + dialogViewVisible.value = true + const res = await api.viewAutionDetail(viewParams.value) + if(res.code === 0) { + view_total.value = res.data.total + viewInfo.value = res.data.list + } +} @@ -298,7 +318,7 @@ async function auctionStateFunc(row,type) { //竞拍上架 下架 - + 编辑 + 明细 + + + + + + + + + + + + + + + +