|
@@ -90,7 +90,7 @@
|
|
|
<el-table-column label="状态" prop="product_status" min-width="100">
|
|
|
<template slot-scope="scope">{{ getStatusTextAndColor(scope.row).product_status_text }}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="优秀推荐" prop="product_is_recommend" min-width="160">
|
|
|
+ <el-table-column label="优秀推荐" prop="product_is_recommend" min-width="80">
|
|
|
<template slot-scope="scope">{{ scope.row.product_is_recommend === 1 ? '是' : '否' }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="审核通过时间" prop="product_check_at" min-width="160"></el-table-column>
|
|
@@ -99,7 +99,7 @@
|
|
|
<el-table-column label="操作" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="edit(scope.row)">操作</el-button>
|
|
|
- <el-button type="text" @click="del(scope.row)">推荐</el-button>
|
|
|
+ <el-button type="text" @click="del(scope.row)" v-if="scope.row.product_is_recommend === 0">推荐</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|