trade: 优化分销用户绑定用户编号、绑定时间字段名称

This commit is contained in:
owen 2023-09-08 22:51:04 +08:00
parent 34ce7f7ec5
commit 7263315412
2 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@ import request from '@/config/axios'
export interface BrokerageUserVO { export interface BrokerageUserVO {
id: number id: number
brokerageUserId: number bindUserId: number
brokerageBindTime: Date bindUserTime: Date
brokerageEnabled: boolean brokerageEnabled: boolean
brokerageTime: Date brokerageTime: Date
brokeragePrice: number brokeragePrice: number

View File

@ -8,9 +8,9 @@
:inline="true" :inline="true"
label-width="85px" label-width="85px"
> >
<el-form-item label="推广员编号" prop="brokerageUserId"> <el-form-item label="推广员编号" prop="bindUserId">
<el-input <el-input
v-model="queryParams.brokerageUserId" v-model="queryParams.bindUserId"
placeholder="请输入推广员编号" placeholder="请输入推广员编号"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
@ -102,11 +102,11 @@
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="170px"
/> />
<el-table-column label="上级推广员编号" align="center" prop="brokerageUserId" width="150px" /> <el-table-column label="上级推广员编号" align="center" prop="bindUserId" width="150px" />
<el-table-column <el-table-column
label="推广员绑定时间" label="推广员绑定时间"
align="center" align="center"
prop="brokerageBindTime" prop="bindUserTime"
:formatter="dateFormatter" :formatter="dateFormatter"
width="170px" width="170px"
/> />
@ -179,7 +179,7 @@ const list = ref([]) // 列表的数据
const queryParams = reactive({ const queryParams = reactive({
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
brokerageUserId: null, bindUserId: null,
brokerageEnabled: null, brokerageEnabled: null,
createTime: [] createTime: []
}) })