fix(接口测试): 修复接口自动化调试历史选择框可点击的缺陷
--bug=1013865 --user=王孝刚 【接口自动化】调试历史,触发方式/状态 筛选不生效 https://www.tapd.cn/55049933/s/1176115
This commit is contained in:
parent
c3d460964e
commit
43803b59ef
|
@ -48,14 +48,16 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('test_track.report.list.trigger_mode')" prop="runMode">
|
<el-form-item :label="$t('test_track.report.list.trigger_mode')" prop="runMode">
|
||||||
<el-select size="small" style="margin-right: 10px" v-model="condition.triggerMode" @change="init">
|
<el-select size="small" style="margin-right: 10px" v-model="condition.triggerMode" @change="init"
|
||||||
|
:disabled="isDebugHistory">
|
||||||
<el-option v-for="item in runMode" :key="item.id" :value="item.id" :label="item.label"/>
|
<el-option v-for="item in runMode" :key="item.id" :value="item.id" :label="item.label"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('commons.status')" prop="status">
|
<el-form-item :label="$t('commons.status')" prop="status">
|
||||||
<el-select size="small" style="margin-right: 10px" v-model="condition.executionStatus" @change="init">
|
<el-select size="small" style="margin-right: 10px" v-model="condition.executionStatus" @change="init"
|
||||||
|
:disabled="isDebugHistory">
|
||||||
<el-option v-for="item in runStatus" :key="item.id" :value="item.id" :label="item.label"/>
|
<el-option v-for="item in runStatus" :key="item.id" :value="item.id" :label="item.label"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -65,7 +67,7 @@
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('commons.executor')" prop="status">
|
<el-form-item :label="$t('commons.executor')" prop="status">
|
||||||
<el-select v-model="condition.executor" :placeholder="$t('commons.executor')" filterable size="small"
|
<el-select v-model="condition.executor" :placeholder="$t('commons.executor')" filterable size="small"
|
||||||
style="margin-right: 10px" @change="init">
|
style="margin-right: 10px" @change="init" :disabled="isDebugHistory">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in maintainerOptions"
|
v-for="item in maintainerOptions"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
|
@ -76,7 +78,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-button size="small" class="ms-task-stop" @click="stop(null)">
|
<el-button size="small" class="ms-task-stop" @click="stop(null)" :disabled="isDebugHistory">
|
||||||
{{ $t('report.stop_btn_all') }}
|
{{ $t('report.stop_btn_all') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -213,6 +215,7 @@ export default {
|
||||||
reportId: "",
|
reportId: "",
|
||||||
executionModule: "",
|
executionModule: "",
|
||||||
reportType: "",
|
reportType: "",
|
||||||
|
isDebugHistory: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
@ -436,6 +439,8 @@ export default {
|
||||||
openHistory(id) {
|
openHistory(id) {
|
||||||
this.initCaseHistory(id);
|
this.initCaseHistory(id);
|
||||||
this.taskVisible = true;
|
this.taskVisible = true;
|
||||||
|
this.isDebugHistory = true;
|
||||||
|
this.condition.triggerMode = "MANUAL";
|
||||||
this.showType = "CASE";
|
this.showType = "CASE";
|
||||||
},
|
},
|
||||||
openScenarioHistory(id) {
|
openScenarioHistory(id) {
|
||||||
|
@ -443,6 +448,8 @@ export default {
|
||||||
this.taskData = response.data;
|
this.taskData = response.data;
|
||||||
});
|
});
|
||||||
this.showType = "SCENARIO";
|
this.showType = "SCENARIO";
|
||||||
|
this.isDebugHistory = true;
|
||||||
|
this.condition.triggerMode = "MANUAL";
|
||||||
this.taskVisible = true;
|
this.taskVisible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue