提交 96b8d218 编写于 作者: tao.wu's avatar tao.wu

设置管理员权限

上级 b57f722d
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<el-col :span="12" style="text-align: right"> <el-col :span="12" style="text-align: right">
<el-button type="primary" size="small" @click="exportOpt">批量导出商品</el-button> <el-button type="primary" size="small" @click="exportOpt">批量导出商品</el-button>
<el-button type="primary" size="small" @click="batchOpt(3)">批量导入商品</el-button> <el-button v-if="isSSO" type="primary" size="small" @click="batchOpt(3)">批量导入商品</el-button>
<el-button type="primary" size="small" @click="edit('add')">新建单个商品</el-button> <el-button type="primary" size="small" @click="edit('add')">新建单个商品</el-button>
</el-col> </el-col>
</el-row> </el-row>
...@@ -232,7 +232,8 @@ ...@@ -232,7 +232,8 @@
typeList: [], typeList: [],
//uploadUrl:getBaseUrl('store/goods/import'), //uploadUrl:getBaseUrl('store/goods/import'),
postData:{}, postData:{},
validateFailedList:[] validateFailedList:[],
isSSO: 0, // 是否是sso后台管理员 1是 0否
} }
}, },
created() { created() {
...@@ -375,6 +376,7 @@ ...@@ -375,6 +376,7 @@
} }
this.tableData = res.data.goodsList this.tableData = res.data.goodsList
this.totalRows = res.data.totalCount this.totalRows = res.data.totalCount
this.isSSO = res.data.isSSO;
}) })
}, },
//获取商品id //获取商品id
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册