Commit 9f707099 by wang

update

parent 808a7044
...@@ -31,7 +31,7 @@ export function createGiftGood(params) { ...@@ -31,7 +31,7 @@ export function createGiftGood(params) {
export function deleteGood(params) { export function deleteGood(params) {
params.token = getToken() params.token = getToken()
return request({ return request({
url: `gift/params.id/delete`, url: `gift/${params.id}/delete`,
method: 'post', method: 'post',
params params
}) })
......
...@@ -36,29 +36,39 @@ ...@@ -36,29 +36,39 @@
{{ scope.$index }} {{ scope.$index }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="用户名称"> <el-table-column label="订单号">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.member && scope.row.member.nick_name }} {{ scope.row.orderId }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="用户openid"> <el-table-column label="下单时间">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.member && scope.row.member.open_id }} {{ scope.row.orderTime }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="行为"> <el-table-column label="商品ID">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.act_type | typeFilter }} {{ scope.row.skuId }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="描述"> <el-table-column label="商品名称">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.content }} {{ scope.row.skuName }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作时间"> <el-table-column label="订单状态">
<template slot-scope="scope"> <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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -81,7 +91,7 @@ ...@@ -81,7 +91,7 @@
17: '已完成', 17: '已完成',
18: '已结算', 18: '已结算',
} }
return typeMap[type] return typeMap[type] || '未知'
} }
}, },
data() { 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