管理类账号增加进入管理后台的菜单
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d0f2854b1c
commit
665f495e2d
|
@ -32,7 +32,10 @@
|
|||
<!-- 工作台 -->
|
||||
<!-- <span slot="title">{{ $t('trials:menuTitle:workbench') }}</span>
|
||||
</el-menu-item> -->
|
||||
<el-menu-item v-if="hasPermi(['role:pm','role:oa','role:admin','role:dev'])" index="1">
|
||||
<el-menu-item
|
||||
v-if="hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev'])"
|
||||
index="1"
|
||||
>
|
||||
<i class="el-icon-odometer" />
|
||||
<!-- 检查 -->
|
||||
<span slot="title">{{ $t("trials:menuTitle:inspection") }}</span>
|
||||
|
@ -78,6 +81,12 @@
|
|||
<el-menu-item v-if="!hasPermi(['role:air'])" index="4-2">{{
|
||||
$t("trials:trials-myinfo:title:accountInfo")
|
||||
}}</el-menu-item>
|
||||
<!-- 管理后台 -->
|
||||
<el-menu-item
|
||||
v-if="hasPermi(['role:dev', 'role:oa', 'role:admin'])"
|
||||
index="4-4"
|
||||
>{{ $t("trials:trials-myinfo:title:system") }}</el-menu-item
|
||||
>
|
||||
<!-- 退出 -->
|
||||
<el-menu-item index="4-3">{{
|
||||
$t("trials:trials-myinfo:button:loginout")
|
||||
|
@ -171,6 +180,9 @@ export default {
|
|||
case "4-3":
|
||||
this.logout();
|
||||
break;
|
||||
case "4-4":
|
||||
this.go("/system");
|
||||
break;
|
||||
case "1":
|
||||
this.go("/trials/trials-inspection");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue