|
@@ -120,8 +120,16 @@ export default {
|
|
|
tagName: row => (row.isTake ? '是' : '否')
|
|
|
},
|
|
|
{
|
|
|
+ key: 'isReady',
|
|
|
+ name: '是否裂变',
|
|
|
+ width: this.$col.s,
|
|
|
+ type: 'tag',
|
|
|
+ fetchTagType: val => (val ? 'success' : 'info'),
|
|
|
+ tagName: row => (row.isReady ? '是' : '否')
|
|
|
+ },
|
|
|
+ {
|
|
|
key: 'isShow',
|
|
|
- name: '状态',
|
|
|
+ name: '是否上架',
|
|
|
width: this.$col.b,
|
|
|
type: 'switch',
|
|
|
switchName: ['上架', '下架'],
|
|
@@ -134,10 +142,6 @@ export default {
|
|
|
}
|
|
|
this.$g_emit('photo_reload');
|
|
|
}
|
|
|
- // width: this.$col.s,
|
|
|
- // type: 'tag',
|
|
|
- // fetchTagType: val => (val ? 'success' : 'info'),
|
|
|
- // tagName: row => (row.isShow ? '上架' : '下架')
|
|
|
},
|
|
|
{
|
|
|
key: 'action',
|