|
|
|
@ -65,7 +65,7 @@ |
|
|
|
|
{{ scope.row.isShelves ? '下架' : '上架' }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="courseName" label="订单量" min-width="150" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="orderQuantity" label="订单量" min-width="150" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="userName" label="最近编辑人" min-width="150" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="courseName" label="精选" min-width="150" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -84,7 +84,7 @@ |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center" width="250"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<template v-if="scope.row.isShelves" slot-scope="scope"> |
|
|
|
|
<el-button v-auth="'平台自建:编辑信息'" type="text" @click="editCourse(scope.row)">编辑</el-button> |
|
|
|
|
<el-button v-auth="'平台自建:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button> |
|
|
|
|
</template> |
|
|
|
@ -140,6 +140,7 @@ export default { |
|
|
|
|
this.$post(this.api.listOfGoods, { |
|
|
|
|
pageNum: this.page, |
|
|
|
|
pageSize: this.pageSize, |
|
|
|
|
sort: 0, |
|
|
|
|
...this.form |
|
|
|
|
}).then(({ page }) => { |
|
|
|
|
this.list = page.records; |
|
|
|
|