|
|
@@ -35,7 +35,7 @@ function changeIndex(path) {
|
|
|
store.commit("clearAlive");
|
|
|
defaultActive.value = path;
|
|
|
}
|
|
|
-let menu = [
|
|
|
+let menu = ref([
|
|
|
{
|
|
|
icon: "Fold",
|
|
|
title: "海事总台",
|
|
|
@@ -128,17 +128,19 @@ let menu = [
|
|
|
path: "/workStation/insuranceManage",
|
|
|
name: "保险管理",
|
|
|
},
|
|
|
- {
|
|
|
- path: "/workStation/oilPriceManage",
|
|
|
- name: "油价管理",
|
|
|
- },
|
|
|
- {
|
|
|
- path: "/workStation/legalAidManage",
|
|
|
- name: "法律援助管理",
|
|
|
- },
|
|
|
],
|
|
|
},
|
|
|
-];
|
|
|
+]);
|
|
|
+if (store.state.shippingCompany === "汇很多船务公司") {
|
|
|
+ menu.value.at(-1).items.push({
|
|
|
+ path: "/workStation/oilPriceManage",
|
|
|
+ name: "油价管理",
|
|
|
+ });
|
|
|
+ menu.value.at(-1).items.push({
|
|
|
+ path: "/workStation/legalAidManage",
|
|
|
+ name: "法律援助管理",
|
|
|
+ });
|
|
|
+}
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
.el-sub-menu__title i {
|