任务级别列表更改
continuous-integration/drone/push Build is passing Details

main
caiyiling 2026-05-20 09:01:43 +08:00
parent 04014ab524
commit a9d62cf28d
1 changed files with 3 additions and 6 deletions

View File

@ -64,16 +64,13 @@
<el-table-column :label="$t('trials:data-sync:table:filePath')" prop="Path" min-width="90" show-overflow-tooltip/> <el-table-column :label="$t('trials:data-sync:table:filePath')" prop="Path" min-width="90" show-overflow-tooltip/>
<el-table-column :label="$t('trials:data-sync:table:jobState')" prop="JobState" min-width="90" show-overflow-tooltip sortable="custom"> <el-table-column :label="$t('trials:data-sync:table:jobState')" prop="JobState" min-width="90" show-overflow-tooltip sortable="custom">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.JobState === 1" type="infoinf0"> <el-tag v-if="scope.row.JobState === 1" type="info">
{{ $fd('JobState', scope.row.JobState) }}
</el-tag>
<el-tag v-else-if="scope.row.JobState === 1" type="warning">
{{ $fd('JobState', scope.row.JobState) }} {{ $fd('JobState', scope.row.JobState) }}
</el-tag> </el-tag>
<el-tag v-else-if="scope.row.JobState === 2" type="success"> <el-tag v-else-if="scope.row.JobState === 2" type="success">
{{ $fd('JobState', scope.row.JobState) }} {{ $fd('JobState', scope.row.JobState) }}
</el-tag> </el-tag>
<el-tag v-else-if="scope.row.JobState === 3" type="danger"> <el-tag v-else-if="scope.row.JobState === 3" type="danger" :title="scope.row.Msg">
{{ $fd('JobState', scope.row.JobState) }} {{ $fd('JobState', scope.row.JobState) }}
</el-tag> </el-tag>
<el-tag v-else>{{ $fd('JobState', scope.row.JobState) }}</el-tag> <el-tag v-else>{{ $fd('JobState', scope.row.JobState) }}</el-tag>
@ -200,7 +197,7 @@ export default {
try { try {
this.loading = true this.loading = true
let params = { let params = {
fileUploadRecordIdList: [row.Id] fileUploadRecordIdList: [row.FileUploadRecordId]
} }
let res = await batchAddSyncFileTask(params) let res = await batchAddSyncFileTask(params)
if (res.IsSuccess) { if (res.IsSuccess) {