From 3f94ece6d474240c05d9831d2660825d83963328 Mon Sep 17 00:00:00 2001 From: axlrose2333 <690927457@qq.com> Date: Thu, 23 Mar 2023 00:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E9=83=A8=E5=88=86=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +-- src/view/drawManage/index.vue | 53 +++++++++++++++++++++++++++++++++++ src/view/userManage/index.vue | 6 ++-- 3 files changed, 59 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index cea733a..c974c09 100644 --- a/.env.development +++ b/.env.development @@ -2,8 +2,8 @@ ENV = 'development' VITE_CLI_PORT = 8088 VITE_SERVER_PORT = 8888 VITE_BASE_API = /api -VITE_BASE_PATH = http://192.168.1.133 -//VITE_BASE_PATH = https://admin.api.gwkjxb.com +//VITE_BASE_PATH = http://192.168.1.133 +VITE_BASE_PATH = http://122.9.143.61 VITE_EDITOR = vscode // VITE_EDITOR = webstorm 如果使用webstorm开发且要使用dom定位到代码行功能 请先自定添加 webstorm到环境变量 再将VITE_EDITOR值修改为webstorm // 如果使用docker-compose开发模式,设置为下面的地址或本机主机IP diff --git a/src/view/drawManage/index.vue b/src/view/drawManage/index.vue index eaba7e7..393db15 100644 --- a/src/view/drawManage/index.vue +++ b/src/view/drawManage/index.vue @@ -263,6 +263,26 @@ async function drawStateFunc(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 + } +} @@ -354,6 +374,13 @@ async function drawStateFunc(row,type) { //竞拍上架 下架 link @click="editDrawFunc(scope.row)" >编辑 + 明细 + + + + + + + + + + + + + + + +