Commit 9f707099 by wang

update

parent 808a7044
......@@ -31,7 +31,7 @@ export function createGiftGood(params) {
export function deleteGood(params) {
params.token = getToken()
return request({
url: `gift/params.id/delete`,
url: `gift/${params.id}/delete`,
method: 'post',
params
})
......
......@@ -36,29 +36,39 @@
{{ scope.$index }}
</template>
</el-table-column>
<el-table-column label="用户名称">
<el-table-column label="订单号">
<template slot-scope="scope">
{{ scope.row.member && scope.row.member.nick_name }}
{{ scope.row.orderId }}
</template>
</el-table-column>
<el-table-column label="用户openid">
<el-table-column label="下单时间">
<template slot-scope="scope">
{{ scope.row.member && scope.row.member.open_id }}
{{ scope.row.orderTime }}
</template>
</el-table-column>
<el-table-column label="行为">
<el-table-column label="商品ID">
<template slot-scope="scope">
{{ scope.row.act_type | typeFilter }}
{{ scope.row.skuId }}
</template>
</el-table-column>
<el-table-column label="描述">
<el-table-column label="商品名称">
<template slot-scope="scope">
{{ scope.row.content }}
{{ scope.row.skuName }}
</template>
</el-table-column>
<el-table-column label="操作时间">
<el-table-column label="订单状态">
<template slot-scope="scope">
{{ scope.row.created_at }}
{{ scope.row.validCode | typeFilter }}
</template>
</el-table-column>
<el-table-column label="实际佣金">
<template slot-scope="scope">
{{ scope.row.actualFee }}
</template>
</el-table-column>
<el-table-column label="预估结算时间">
<template slot-scope="scope">
{{ scope.row.payMonth }}
</template>
</el-table-column>
</el-table>
......@@ -81,7 +91,7 @@
17: '已完成',
18: '已结算',
}
return typeMap[type]
return typeMap[type] || '未知'
}
},
data() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment