This commit is contained in:
caozehui
2025-03-28 09:31:46 +08:00
parent 67ef976739
commit ea38b4eb21
8 changed files with 59 additions and 49 deletions

View File

@@ -99,6 +99,7 @@ import {getCoefficientCheck} from '@/api/home/channelsTest/index'
import type {ChannelsTest} from '@/api/home/interface/channelsTest';
import type {Plan} from '@/api/plan/interface';
import {useCheckStore} from "@/stores/modules/check";
import {useUserStore} from "@/stores/modules/user";
const checkStore = useCheckStore()
const activeIndex = ref(0)
@@ -143,7 +144,7 @@ const props = defineProps({
default: () => ({})
},
})
const userStore = useUserStore()
const testStatus = toRef(props, 'testStatus');
const tableDataMap = new Map<number, Ref<ChannelsTest.CoefficientVO[]>>([]);
const currentStepStatus = ref<'error' | 'finish' | 'wait' | 'success' | 'process'>('finish');
@@ -720,7 +721,8 @@ const handleSubmit = async () => {
planId: planId.value,
errorSysId: select_Plan.value?.errorSysId,
scriptId: select_Plan.value?.scriptId,
operateType: '0' // '0'为预检测、1为正式检测
operateType: '0', // '0'为预检测、1为正式检测
userId:userStore.userInfo.id
})
active.value++;