王智慧 3 лет назад
Родитель
Сommit
e243929cd4

+ 33 - 1
src/layout/Aside.vue

@@ -38,7 +38,7 @@ function changeIndex(path) {
 let menu = [
   {
     icon: "Fold",
-    title: "首页",
+    title: "海事总台",
     items: [
       {
         path: "/index",
@@ -46,6 +46,16 @@ let menu = [
       },
     ],
   },
+  {
+    icon: "Document",
+    title: "海事公告",
+    items: [
+      {
+        path: "/marineManage/marineNotice",
+        name: "海事公告",
+      },
+    ],
+  },
   {
     icon: "Avatar",
     title: "船东管理",
@@ -66,6 +76,28 @@ let menu = [
       },
     ],
   },
+  {
+    icon: "Ship",
+    title: "船舶安检",
+    items: [
+      {
+        path: "/shipSecurityManage/shipCheckTemplateList",
+        name: "船舶安检模板",
+      },
+      {
+        path: "/shipSecurityManage/checkShip",
+        name: "发起船舶安检",
+      },
+      {
+        path: "/shipSecurityManage/checkShipExamine",
+        name: "船舶安检审核",
+      },
+      {
+        path: "/shipSecurityManage/shipCheckHistory",
+        name: "历史船舶安检",
+      },
+    ],
+  },
   {
     icon: "Document",
     title: "工作站",

+ 40 - 4
src/router/index.js

@@ -13,7 +13,7 @@ const router = createRouter({
       path: "/index",
       name: "index",
       meta: {
-        title: "展示",
+        title: "海事总台",
       },
       component: () => import("../views/index/Index.vue"),
     },
@@ -25,6 +25,15 @@ const router = createRouter({
       },
       component: Login,
     },
+    {
+      path: "/marineManage/marineNotice",
+      name: "marineNotice",
+      meta: {
+        title: "海事公告",
+        keepAlive: true,
+      },
+      component: () => import("../views/marineManage/marineNotice.vue"),
+    },
     {
       path: "/shipManage/shipList",
       name: "shipList",
@@ -75,12 +84,39 @@ const router = createRouter({
       component: () => import("../views/workStation/insuranceManage.vue"),
     },
     {
-      path: "/shipCheck/shipCheck",
+      path: "/shipSecurityManage/shipCheckTemplateList",
       name: "shipCheck",
       meta: {
-        title: "船舶安检",
+        title: "船舶安检模板",
+      },
+      component: () =>
+        import("../views/shipSecurityManage/shipCheckTemplateList.vue"),
+    },
+    {
+      path: "/shipSecurityManage/checkShip",
+      name: "checkShip",
+      meta: {
+        title: "发起船舶安检",
+      },
+      component: () => import("../views/shipSecurityManage/checkShip.vue"),
+    },
+    {
+      path: "/shipSecurityManage/checkShipExamine",
+      name: "checkShipExamine",
+      meta: {
+        title: "船舶安检审核",
+      },
+      component: () =>
+        import("../views/shipSecurityManage/checkShipExamine.vue"),
+    },
+    {
+      path: "/shipSecurityManage/shipCheckHistory",
+      name: "shipCheckHistory",
+      meta: {
+        title: "历史船舶安检",
       },
-      component: () => import("../views/workStation/shipCheck.vue"),
+      component: () =>
+        import("../views/shipSecurityManage/shipCheckHistory.vue"),
     },
   ],
 });

+ 1 - 7
src/views/workStation/shipCheck.vue → src/views/marineManage/marineNotice.vue

@@ -19,10 +19,4 @@ const route = useRoute();
 onMounted(() => {});
 </script>
 
-<style scoped>
-.btn {
-  height: 50px;
-  width: 180px;
-  border-radius: 0;
-}
-</style>
+<style scoped></style>

+ 22 - 0
src/views/shipSecurityManage/checkShip.vue

@@ -0,0 +1,22 @@
+<template>
+  <el-empty :image-size="300" description=" " />
+  <div style="text-align: center; font-size: 40px; color: #666">
+    船舶安检正在建设中
+  </div>
+</template>
+<script setup>
+import { ref, h, reactive, toRefs, onMounted } from "vue";
+import { ElNotification, ElMessageBox, ElMessage } from "element-plus";
+import store from "../../store";
+import router from "../../router";
+import md5 from "md5";
+import api from "../../apis/fetch";
+import { useRoute } from "vue-router";
+import _ from "lodash";
+import { subTimeStr } from "../../utils/utils";
+
+const route = useRoute();
+onMounted(() => {});
+</script>
+
+<style scoped></style>

+ 22 - 0
src/views/shipSecurityManage/checkShipExamine.vue

@@ -0,0 +1,22 @@
+<template>
+  <el-empty :image-size="300" description=" " />
+  <div style="text-align: center; font-size: 40px; color: #666">
+    船舶安检正在建设中
+  </div>
+</template>
+<script setup>
+import { ref, h, reactive, toRefs, onMounted } from "vue";
+import { ElNotification, ElMessageBox, ElMessage } from "element-plus";
+import store from "../../store";
+import router from "../../router";
+import md5 from "md5";
+import api from "../../apis/fetch";
+import { useRoute } from "vue-router";
+import _ from "lodash";
+import { subTimeStr } from "../../utils/utils";
+
+const route = useRoute();
+onMounted(() => {});
+</script>
+
+<style scoped></style>

+ 22 - 0
src/views/shipSecurityManage/shipCheckHistory.vue

@@ -0,0 +1,22 @@
+<template>
+  <el-empty :image-size="300" description=" " />
+  <div style="text-align: center; font-size: 40px; color: #666">
+    船舶安检正在建设中
+  </div>
+</template>
+<script setup>
+import { ref, h, reactive, toRefs, onMounted } from "vue";
+import { ElNotification, ElMessageBox, ElMessage } from "element-plus";
+import store from "../../store";
+import router from "../../router";
+import md5 from "md5";
+import api from "../../apis/fetch";
+import { useRoute } from "vue-router";
+import _ from "lodash";
+import { subTimeStr } from "../../utils/utils";
+
+const route = useRoute();
+onMounted(() => {});
+</script>
+
+<style scoped></style>

+ 22 - 0
src/views/shipSecurityManage/shipCheckTemplateList.vue

@@ -0,0 +1,22 @@
+<template>
+  <el-empty :image-size="300" description=" " />
+  <div style="text-align: center; font-size: 40px; color: #666">
+    船舶安检正在建设中
+  </div>
+</template>
+<script setup>
+import { ref, h, reactive, toRefs, onMounted } from "vue";
+import { ElNotification, ElMessageBox, ElMessage } from "element-plus";
+import store from "../../store";
+import router from "../../router";
+import md5 from "md5";
+import api from "../../apis/fetch";
+import { useRoute } from "vue-router";
+import _ from "lodash";
+import { subTimeStr } from "../../utils/utils";
+
+const route = useRoute();
+onMounted(() => {});
+</script>
+
+<style scoped></style>