|
|
@@ -58,7 +58,12 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="detail" label="详情"> </el-table-column>
|
|
|
<el-table-column prop="sort" label="排序"> </el-table-column>
|
|
|
- <el-table-column prop="display" label="显示"> </el-table-column>
|
|
|
+ <el-table-column prop="display" label="显示">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <el-tag type="success" v-if="row.dispaly">是</el-tag>
|
|
|
+ <el-tag type="info" v-else>否</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="150">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-button @click="editRow(row)" type="primary" size="mini" plain>编辑</el-button>
|