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