dengrui 1 ماه پیش
والد
کامیت
84bd92a36d
5فایلهای تغییر یافته به همراه426 افزوده شده و 11 حذف شده
  1. 3 0
      package.json
  2. 400 5
      pnpm-lock.yaml
  3. 1 0
      src/assets/icons/kkry.svg
  4. 22 0
      src/components/NewEmpty/index.vue
  5. 0 6
      src/views/pro-steps/index.vue

+ 3 - 0
package.json

@@ -53,6 +53,7 @@
     "axios": "^1.7.9",
     "codemirror": "^5.65.18",
     "codemirror-editor-vue3": "^2.8.0",
+    "dayjs": "^1.11.13",
     "dhtmlx-gantt": "^9.0.3",
     "echarts": "^5.5.1",
     "element-plus": "^2.9.1",
@@ -62,6 +63,7 @@
     "jspdf": "^2.5.2",
     "lodash-es": "^4.17.21",
     "luckyexcel": "^1.0.1",
+    "mitt": "^3.0.1",
     "moment": "^2.30.1",
     "net": "^1.0.2",
     "nprogress": "^0.2.0",
@@ -69,6 +71,7 @@
     "path-to-regexp": "^6.3.0",
     "pinia": "^2.3.0",
     "pinia-plugin-persist": "^1.0.0",
+    "pinia-plugin-persistedstate": "^4.2.0",
     "print-js": "^1.6.0",
     "qs": "^6.13.1",
     "sockjs-client": "^1.6.1",

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 400 - 5
pnpm-lock.yaml


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 0
src/assets/icons/kkry.svg


+ 22 - 0
src/components/NewEmpty/index.vue

@@ -0,0 +1,22 @@
+<template>
+  <el-empty :description="description" :image="emptyImage" />
+</template>
+
+<script setup lang="ts">
+import { ref } from "vue";
+import EmptyImageSvg from "@/assets/icons/kkry.svg";
+defineProps({
+  description: {
+    type: String,
+    default: "暂无数据",
+  },
+});
+const emptyImage = ref(EmptyImageSvg);
+</script>
+<style lang="scss" scoped>
+:deep(.el-empty__description) {
+  p {
+    font-size: $f20;
+  }
+}
+</style>

+ 0 - 6
src/views/pro-steps/index.vue

@@ -366,12 +366,6 @@ const defaultComponents = [
     name: "Shebeijilu",
   },
   {
-    compentName: "铭牌绑定",
-    iconName: "mingpai",
-    path: "mingpaibangding",
-    name: "Mingpaibangding",
-  },
-  {
     compentName: "测试记录",
     iconName: "mingpai",
     path: "ceshijilu",