wanghao 2 달 전
부모
커밋
f0cee625f5
2개의 변경된 파일15개의 추가작업 그리고 10개의 파일을 삭제
  1. 1 1
      index.html
  2. 14 9
      src/views/pro-steps/components/operates.vue

+ 1 - 1
index.html

@@ -12,7 +12,7 @@
     content="vue,element-plus,typescript,vue-element-admin,vue3-element-admin"
     name="keywords"
   />
-  <title>金陵智造 | 鸿蒙工业系统</title>
+  <title>华菁振兴 | 鸿蒙工业系统</title>
   <link rel="stylesheet" href="/LuckExcel/pluginsCss.css" />
     <link rel="stylesheet" href="/LuckExcel/plugins.css" />
     <link rel="stylesheet" href="/LuckExcel/luckysheet.css" />

+ 14 - 9
src/views/pro-steps/components/operates.vue

@@ -28,7 +28,12 @@ const reportWorkRef = ref<InstanceType<typeof ReportWork>>();
 
 const router = useRouter();
 
-const selectIndex = ref(0);
+const selectIndex = ref(-1);
+
+onActivated(() => {
+  selectIndex.value = -1
+})
+
 const setIndex = (index: number) => {
   selectIndex.value = index;
   switch (stepComponents.value[index].compentType) {
@@ -77,10 +82,10 @@ const stepComponents = ref([
     compentName: "检验",
     compentType: "jianyan",
   },
-  {
-    compentName: "编号填写",
-    compentType: "bianhao",
-  },
+  // {
+  //   compentName: "编号填写",
+  //   compentType: "bianhao",
+  // },
   {
     compentName: "报工",
     compentType: "baogong",
@@ -89,10 +94,10 @@ const stepComponents = ref([
     compentName: "图纸",
     compentType: "tuzhi",
   },
-  {
-    compentName: "委外",
-    compentType: "weiwai",
-  },
+  // {
+  //   compentName: "委外",
+  //   compentType: "weiwai",
+  // },
   {
     compentName: "报故",
     compentType: "baogu",