fix(工作台): 修复执行失败和未执行的场景未进入到待更新问题
--bug=1026981 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001026981
This commit is contained in:
parent
cf6a9d2540
commit
5c3a807cdb
|
@ -174,7 +174,7 @@
|
||||||
<el-link type="success" @click="showReport(row)" v-if="row.lastResult === 'Success'">
|
<el-link type="success" @click="showReport(row)" v-if="row.lastResult === 'Success'">
|
||||||
{{ $t('api_test.automation.success') }}
|
{{ $t('api_test.automation.success') }}
|
||||||
</el-link>
|
</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') }}
|
{{ $t('api_test.automation.fail') }}
|
||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
|
@ -416,7 +416,7 @@ export default {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
this.condition.combine = {status: {operator: "in", value: ["Fail"]}}
|
this.condition.combine = {lastResult: {operator: "in", value: ["error"]}}
|
||||||
if (this.condition.filters) {
|
if (this.condition.filters) {
|
||||||
this.condition.filters.principal = [getCurrentUserId()];
|
this.condition.filters.principal = [getCurrentUserId()];
|
||||||
} else {
|
} else {
|
||||||
|
@ -492,7 +492,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.condition.combine = {status: {operator: "in", value: ["Fail"]}}
|
this.condition.combine = {lastResult: {operator: "in", value: ["Error"]}}
|
||||||
if (this.condition.filters) {
|
if (this.condition.filters) {
|
||||||
this.condition.filters.principal = [getCurrentUserId()];
|
this.condition.filters.principal = [getCurrentUserId()];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue