fix(工作台): 修复执行失败和未执行的场景未进入到待更新问题

--bug=1026981 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001026981
This commit is contained in:
guoyuqi 2023-06-13 18:12:39 +08:00 committed by song-cc-rock
parent cf6a9d2540
commit 5c3a807cdb
1 changed files with 3 additions and 3 deletions

View File

@ -174,7 +174,7 @@
<el-link type="success" @click="showReport(row)" v-if="row.lastResult === 'Success'">
{{ $t('api_test.automation.success') }}
</el-link>
<el-link type="danger" @click="showReport(row)" v-else-if="row.lastResult === 'Fail'">
<el-link type="danger" @click="showReport(row)" v-else-if="row.lastResult === 'Error'">
{{ $t('api_test.automation.fail') }}
</el-link>
</template>
@ -416,7 +416,7 @@ export default {
}
} else {
this.condition.combine = {status: {operator: "in", value: ["Fail"]}}
this.condition.combine = {lastResult: {operator: "in", value: ["error"]}}
if (this.condition.filters) {
this.condition.filters.principal = [getCurrentUserId()];
} else {
@ -492,7 +492,7 @@ export default {
}
} else {
this.condition.combine = {status: {operator: "in", value: ["Fail"]}}
this.condition.combine = {lastResult: {operator: "in", value: ["Error"]}}
if (this.condition.filters) {
this.condition.filters.principal = [getCurrentUserId()];
} else {