样式优化,取消部分管理员权限
This commit is contained in:
parent
f2825083ee
commit
3f94ece6d4
@ -2,8 +2,8 @@ ENV = 'development'
|
|||||||
VITE_CLI_PORT = 8088
|
VITE_CLI_PORT = 8088
|
||||||
VITE_SERVER_PORT = 8888
|
VITE_SERVER_PORT = 8888
|
||||||
VITE_BASE_API = /api
|
VITE_BASE_API = /api
|
||||||
VITE_BASE_PATH = http://192.168.1.133
|
//VITE_BASE_PATH = http://192.168.1.133
|
||||||
//VITE_BASE_PATH = https://admin.api.gwkjxb.com
|
VITE_BASE_PATH = http://122.9.143.61
|
||||||
VITE_EDITOR = vscode
|
VITE_EDITOR = vscode
|
||||||
// VITE_EDITOR = webstorm 如果使用webstorm开发且要使用dom定位到代码行功能 请先自定添加 webstorm到环境变量 再将VITE_EDITOR值修改为webstorm
|
// VITE_EDITOR = webstorm 如果使用webstorm开发且要使用dom定位到代码行功能 请先自定添加 webstorm到环境变量 再将VITE_EDITOR值修改为webstorm
|
||||||
// 如果使用docker-compose开发模式,设置为下面的地址或本机主机IP
|
// 如果使用docker-compose开发模式,设置为下面的地址或本机主机IP
|
||||||
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
@ -354,6 +374,13 @@ async function drawStateFunc(row,type) { //竞拍上架 下架
|
|||||||
link
|
link
|
||||||
@click="editDrawFunc(scope.row)"
|
@click="editDrawFunc(scope.row)"
|
||||||
>编辑</el-button>
|
>编辑</el-button>
|
||||||
|
<el-button
|
||||||
|
icon="view"
|
||||||
|
size="small"
|
||||||
|
type="primary"
|
||||||
|
link
|
||||||
|
@click="viewAuctionFunc(scope.row)"
|
||||||
|
>明细</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
icon="delete"
|
icon="delete"
|
||||||
size="small"
|
size="small"
|
||||||
@ -479,6 +506,32 @@ async function drawStateFunc(row,type) { //竞拍上架 下架
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
<!-- 查看明细窗口-->
|
||||||
|
<el-dialog v-model="dialogViewVisible" :before-close="closeViewDialog" title="竞拍明细">
|
||||||
|
<el-table :data="viewInfo" border >
|
||||||
|
<el-table-column align="center" label="ID" prop="id" />
|
||||||
|
<el-table-column align="center" label="用户名称" prop="name" />
|
||||||
|
<el-table-column align="center" label="投注积分" prop="point" />
|
||||||
|
<el-table-column align="center" label="是否中标" prop="status" />
|
||||||
|
<el-table-column align="center" label="参与时间" prop="CreatedAt" />
|
||||||
|
</el-table>
|
||||||
|
<div class="gva-pagination">
|
||||||
|
<el-pagination
|
||||||
|
:current-page="viewParams.current_page"
|
||||||
|
:page-size="viewParams.pageSize"
|
||||||
|
:page-sizes="[10, 30, 50, 100]"
|
||||||
|
:total="view_total"
|
||||||
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
|
@current-change="handleCurrentChange"
|
||||||
|
@size-change="handleSizeChange"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<template #footer>
|
||||||
|
<div class="dialog-footer">
|
||||||
|
<el-button size="small" @click="closeViewDialog">取 消</el-button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
@ -302,7 +302,7 @@ function getProvinceName(province) {
|
|||||||
</el-popover>
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
<!-- 数据列表-->
|
<!-- 数据列表-->
|
||||||
<el-table :data="tableData" @selection-change="handleSelectionChange">
|
<el-table border :data="tableData" @selection-change="handleSelectionChange">
|
||||||
<!-- <el-table-column-->
|
<!-- <el-table-column-->
|
||||||
<!-- type="selection"-->
|
<!-- type="selection"-->
|
||||||
<!-- width="55"-->
|
<!-- width="55"-->
|
||||||
@ -428,7 +428,9 @@ function getProvinceName(province) {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.avatar-css{
|
.avatar-css{
|
||||||
height: 100px;
|
height: 100px;
|
||||||
width: 150px;
|
width: 100px;
|
||||||
|
border-radius: 50%;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.e-img{
|
.e-img{
|
||||||
width: 150px;
|
width: 150px;
|
||||||
|
Loading…
Reference in New Issue
Block a user