|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
<template> |
|
|
|
|
<!--TODO:权限逻辑没做,先通过路由参数控制--> |
|
|
|
|
<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> |
|
|
|
@ -18,6 +19,8 @@ |
|
|
|
|
</div> |
|
|
|
|
<add-product v-else @close="showList = true"/> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import BaseForm from './components/form' |
|
|
|
|
import AddProduct from './components/add_product' |
|
|
|
|