登录失效

This commit is contained in:
sjl
2025-02-07 14:28:15 +08:00
parent 6065fd1f67
commit 9206be2562
6 changed files with 55 additions and 25 deletions

View File

@@ -27,7 +27,7 @@
<el-button type="primary" :icon="DArrowRight" v-if="stepsActiveIndex < 2 && ActiveStatue != 'success'" :disabled="skipDisabled"
@click="nextStep">跳过
</el-button>
<el-button type="primary" :icon="VideoPlay" v-if="ActiveStatue === 'waiting'" @click="handleSubmit">开始检测</el-button>
<el-button type="primary" :icon="VideoPlay" v-if="ActiveStatue === 'waiting'" @click="handleSubmit" :disabled="btnState">开始检测</el-button>
<el-button type="primary" v-if="TestStatus === 'process'" @click="handleSubmit" disabled>
<el-icon class="loading-box" style="color: #fff;margin-right: 8px;">
<component :is="Refresh"/>
@@ -114,7 +114,7 @@ import {showFullScreenLoading} from "@/components/Loading/fullScreen";
// (e: 'update:visible', value: boolean): void;
// (e: 'submit', data: any): void;
// }>();
const btnState = ref(false)
const checkStore = useCheckStore();
const skipDisabled = ref(false);
const nextStepText = ref('下一步');
@@ -243,6 +243,7 @@ const open = (selection: Device.ResPqDev[], title: string, time: boolean) => {
let loading;
const handleSubmit = () => {
skipDisabled.value = true
//btnState.value = true
console.log('=============', stepsActiveIndex.value)
let deviceIds = checkStore.devices.map((item) => item.deviceId)