|
|
@ -1,6 +1,7 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
|
|
|
|
<!--TODO:权限逻辑没做,先通过路由参数控制--> |
|
|
|
<div v-if="showList"> |
|
|
|
<div v-if="showList"> |
|
|
|
<el-tabs v-model="activeName" type="card" class="custom-tab"> |
|
|
|
<el-tabs v-model="activeName" type="card" class="custom-tab" v-if="$route.query.type==='platform'"> |
|
|
|
<el-tab-pane label="全部商品(120)" name="all"> |
|
|
|
<el-tab-pane label="全部商品(120)" name="all"> |
|
|
|
全部商品 |
|
|
|
全部商品 |
|
|
|
</el-tab-pane> |
|
|
|
</el-tab-pane> |
|
|
@ -18,6 +19,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<add-product v-else @close="showList = true"/> |
|
|
|
<add-product v-else @close="showList = true"/> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import BaseForm from './components/form' |
|
|
|
import BaseForm from './components/form' |
|
|
|
import AddProduct from './components/add_product' |
|
|
|
import AddProduct from './components/add_product' |
|
|
|