使用真登录功能前拉取报错,提交代码

This commit is contained in:
GYYM
2024-11-20 11:22:05 +08:00
parent 963c0f5713
commit fdc7639887
19 changed files with 192 additions and 86 deletions

View File

@@ -54,29 +54,29 @@
<el-button
type="primary"
:icon="Clock"
@click="handleTest"
@click="handleTest('手动检测')"
v-if="form.activeTabs === 0"
>手动检测</el-button
>
<el-button
type="primary"
:icon="ChatLineRound"
@click="handleTest"
@click="handleTest('自动检测')"
v-if="form.activeTabs === 0"
>自动检测</el-button
>
<el-button type="primary" :icon="ChatLineSquare" v-if="form.activeTabs === 2"
<el-button type="primary" :icon="ChatLineSquare" @click="handleTest('不合格项复检')" v-if="form.activeTabs === 2"
>不合格项复检</el-button
>
<el-button type="primary" :icon="ChatDotSquare" v-if="form.activeTabs === 2"
<el-button type="primary" :icon="ChatDotSquare" @click="handleTest('全部复检')" v-if="form.activeTabs === 2"
>全部复检</el-button
>
<el-button type="primary" :icon="Postcard" v-if="form.activeTabs === 3"
<el-button type="primary" :icon="Postcard" @click="handleTest('批量生成')" v-if="form.activeTabs === 3"
>批量生成</el-button
>
<el-button type="primary" :icon="Notebook" v-if="form.activeTabs === 4"
<el-button type="primary" :icon="Notebook" @click="handleTest('批量归档')" v-if="form.activeTabs === 4"
>批量归档</el-button
>
</el-form-item>
@@ -742,8 +742,9 @@ function disablecheckResultList(val: string){
});
}
//启动自动检测/手动检测
const handleTest = () => {
const handleTest = (val:string) => {
//自动检测
if (form.value.activeTabs === 0) {
ElMessage.success("手动检测");