|
@@ -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",
|