Browse Source

新增 船舶安检页面

王智慧 3 năm trước cách đây
mục cha
commit
f8aab1ad04
3 tập tin đã thay đổi với 40 bổ sung0 xóa
  1. 4 0
      src/layout/Aside.vue
  2. 8 0
      src/router/index.js
  3. 28 0
      src/views/workStation/shipCheck.vue

+ 4 - 0
src/layout/Aside.vue

@@ -77,6 +77,10 @@ let menu = [
         path: "/workStation/insuranceManage",
         name: "保险管理",
       },
+      {
+        path: "/shipCheck/shipCheck",
+        name: "船舶安检",
+      },
     ],
   },
 ];

+ 8 - 0
src/router/index.js

@@ -74,6 +74,14 @@ const router = createRouter({
       },
       component: () => import("../views/workStation/insuranceManage.vue"),
     },
+    {
+      path: "/shipCheck/shipCheck",
+      name: "shipCheck",
+      meta: {
+        title: "船舶安检",
+      },
+      component: () => import("../views/workStation/shipCheck.vue"),
+    },
   ],
 });
 

+ 28 - 0
src/views/workStation/shipCheck.vue

@@ -0,0 +1,28 @@
+<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>
+.btn {
+  height: 50px;
+  width: 180px;
+  border-radius: 0;
+}
+</style>