fix(接口定义): 修复接口列表重置状态显示了废弃状态的缺陷
--bug=1014876 --user=王孝刚 【接口测试】接口定义列表,接口状态筛选下拉框,重置之后显示了废弃状态的接口 https://www.tapd.cn/55049933/s/1202068
This commit is contained in:
parent
2711467cfc
commit
fb76eea8f4
|
@ -724,6 +724,10 @@ export default {
|
||||||
this.condition.moduleIds = [];
|
this.condition.moduleIds = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.condition.filters.status) {
|
||||||
|
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
||||||
|
}
|
||||||
|
|
||||||
// todo
|
// todo
|
||||||
if (projectId != null && typeof projectId === 'string') {
|
if (projectId != null && typeof projectId === 'string') {
|
||||||
this.condition.projectId = projectId;
|
this.condition.projectId = projectId;
|
||||||
|
|
|
@ -662,6 +662,9 @@ export default {
|
||||||
if (currentProtocol) {
|
if (currentProtocol) {
|
||||||
this.condition.moduleIds = [];
|
this.condition.moduleIds = [];
|
||||||
}
|
}
|
||||||
|
if (!this.condition.filters.status) {
|
||||||
|
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
||||||
|
}
|
||||||
|
|
||||||
if (this.condition.projectId) {
|
if (this.condition.projectId) {
|
||||||
this.result = this.$post("/api/definition/list/" + this.currentPage + "/" + this.pageSize, this.condition, response => {
|
this.result = this.$post("/api/definition/list/" + this.currentPage + "/" + this.pageSize, this.condition, response => {
|
||||||
|
|
Loading…
Reference in New Issue