|
@@ -17,19 +17,12 @@
|
|
</span>
|
|
</span>
|
|
<span v-else-if="user.role == '1'">
|
|
<span v-else-if="user.role == '1'">
|
|
<van-cell is-link title="用户管理" v-if="oneName == '用户管理'" @click="$router.push({ path: '/adminCenter/user/index' })" />
|
|
<van-cell is-link title="用户管理" v-if="oneName == '用户管理'" @click="$router.push({ path: '/adminCenter/user/index' })" />
|
|
- <van-cell is-link title="对接会管理" v-if="twoName == '对接会'" @click="$router.push({ path: '/adminCenter/duijiehui/index' })" />
|
|
|
|
<van-cell
|
|
<van-cell
|
|
is-link
|
|
is-link
|
|
title="产品供求审核管理"
|
|
title="产品供求审核管理"
|
|
v-if="threeName == '产品供求审核管理'"
|
|
v-if="threeName == '产品供求审核管理'"
|
|
@click="$router.push({ path: '/adminCenter/enterpriseProduct/index' })"
|
|
@click="$router.push({ path: '/adminCenter/enterpriseProduct/index' })"
|
|
/>
|
|
/>
|
|
- <van-cell
|
|
|
|
- is-link
|
|
|
|
- title="产品供求交易状态审核管理"
|
|
|
|
- v-if="fourName == '产品供求交易状态审核管理'"
|
|
|
|
- @click="$router.push({ path: '/adminCenter/transaction/index' })"
|
|
|
|
- />
|
|
|
|
</span>
|
|
</span>
|
|
<span v-else-if="user.role == '3'">
|
|
<span v-else-if="user.role == '3'">
|
|
<van-cell is-link title="展会管理" @click="$router.push({ path: '/dockCenter/dockInfo/index' })" />
|
|
<van-cell is-link title="展会管理" @click="$router.push({ path: '/dockCenter/dockInfo/index' })" />
|
|
@@ -72,6 +65,7 @@ export default {
|
|
async searchMenu() {
|
|
async searchMenu() {
|
|
const res = await this.toGetMenu({ id: this.user.uid });
|
|
const res = await this.toGetMenu({ id: this.user.uid });
|
|
for (const val of res.data.menus) {
|
|
for (const val of res.data.menus) {
|
|
|
|
+ console.log(val);
|
|
if (val.role_name == '用户管理') {
|
|
if (val.role_name == '用户管理') {
|
|
this.$set(this, `oneName`, val.role_name);
|
|
this.$set(this, `oneName`, val.role_name);
|
|
} else if (val.role_name == '对接会') {
|
|
} else if (val.role_name == '对接会') {
|