fix: 变更历史查询问题
This commit is contained in:
parent
7527282992
commit
c3f359854e
|
@ -926,7 +926,7 @@ export default {
|
|||
});
|
||||
},
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.currentScenario.id, ["接口自动化", "Api automation", "接口自動化"]);
|
||||
this.$refs.changeHistory.open(this.currentScenario.id, ["接口自动化", "Api automation", "接口自動化", "API_AUTOMATION"]);
|
||||
},
|
||||
setModule(id, data) {
|
||||
this.currentScenario.apiScenarioModuleId = id;
|
||||
|
|
|
@ -286,7 +286,7 @@ export default {
|
|||
},
|
||||
hasPermission,
|
||||
openHis(row) {
|
||||
this.$refs.changeHistory.open(row.id, ["接口定义用例", "接口定義用例", "Api definition case"]);
|
||||
this.$refs.changeHistory.open(row.id, ["接口定义用例", "接口定義用例", "Api definition case", "API_DEFINITION_CASE"]);
|
||||
},
|
||||
getColor(enable, method) {
|
||||
if (enable) {
|
||||
|
|
|
@ -169,7 +169,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.basisData.id, ["接口定义", "接口定義", "Api definition"]);
|
||||
this.$refs.changeHistory.open(this.basisData.id, ["接口定义", "接口定義", "Api definition", "API_DEFINITION"]);
|
||||
},
|
||||
callback() {
|
||||
this.validated = true;
|
||||
|
|
|
@ -420,7 +420,7 @@ export default {
|
|||
return getCurrentUser();
|
||||
},
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.httpForm.id, ["接口定义", "接口定義", "Api definition"]);
|
||||
this.$refs.changeHistory.open(this.httpForm.id, ["接口定义", "接口定義", "Api definition", "API_DEFINITION"]);
|
||||
},
|
||||
mockSetting() {
|
||||
if (this.basisData.id) {
|
||||
|
|
|
@ -173,7 +173,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.basisData.id, ["接口定义", "接口定義", "Api definition"]);
|
||||
this.$refs.changeHistory.open(this.basisData.id, ["接口定义", "接口定義", "Api definition", "API_DEFINITION"]);
|
||||
},
|
||||
callback() {
|
||||
this.validated = true;
|
||||
|
|
|
@ -235,7 +235,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.basisData.id, ["接口定义", "接口定義", "Api definition"]);
|
||||
this.$refs.changeHistory.open(this.basisData.id, ["接口定义", "接口定義", "Api definition", "API_DEFINITION"]);
|
||||
},
|
||||
callback() {
|
||||
this.validated = true;
|
||||
|
|
|
@ -94,7 +94,7 @@ export default {
|
|||
if (value.columnName === "tags") {
|
||||
this.$refs.tagsHistoryDetail.open(value);
|
||||
} else if ((value.columnName === "request" || value.columnName === "response") &&
|
||||
(row.operModule === "接口定义" || row.operModule === "接口定義" || row.operModule === "Api definition")) {
|
||||
(row.operModule === "接口定义" || row.operModule === "接口定義" || row.operModule === "Api definition" || row.operModule === "API_DEFINITION")) {
|
||||
this.$refs.apiHistoryDetail.open(value);
|
||||
} else {
|
||||
this.$refs.historyDetail.open(value);
|
||||
|
|
|
@ -199,7 +199,7 @@ export default {
|
|||
});
|
||||
},
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.test.id, ["性能测试", "性能測試", "Performance test"]);
|
||||
this.$refs.changeHistory.open(this.test.id, ["性能测试", "性能測試", "Performance test", "PERFORMANCE_TEST"]);
|
||||
},
|
||||
importAPITest() {
|
||||
let apiTest = this.$store.state.test;
|
||||
|
|
|
@ -478,7 +478,7 @@ export default {
|
|||
return getCurrentUser();
|
||||
},
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.form.id, ["测试用例", "測試用例", "Test case"]);
|
||||
this.$refs.changeHistory.open(this.form.id, ["测试用例", "測試用例", "Test case", "TRACK_TEST_CASE"]);
|
||||
},
|
||||
setModule(id, data) {
|
||||
this.form.module = id;
|
||||
|
|
|
@ -422,7 +422,7 @@ export default {
|
|||
return getCurrentUser();
|
||||
},
|
||||
openHis() {
|
||||
this.$refs.changeHistory.open(this.form.id, ["测试用例", "測試用例", "Test case"]);
|
||||
this.$refs.changeHistory.open(this.form.id, ["测试用例", "測試用例", "Test case", "TRACK_TEST_CASE"]);
|
||||
},
|
||||
setModule(id, data) {
|
||||
this.form.module = id;
|
||||
|
|
Loading…
Reference in New Issue