parent
cb609764d9
commit
79754ee36a
|
@ -27,7 +27,7 @@
|
|||
|
||||
<script>
|
||||
import EnvironmentGroup from "@/business/commons/EnvironmentGroupList";
|
||||
import {environmentGetALl, getEnvironmentMapByGroupId} from "metersphere-frontend/src/api/environment";
|
||||
import {environmentGetALL, getEnvironmentMapByGroupId} from "metersphere-frontend/src/api/environment";
|
||||
|
||||
export default {
|
||||
name: "EnvGroup",
|
||||
|
@ -67,7 +67,7 @@ export default {
|
|||
this.envGroupId = this.groupId;
|
||||
},
|
||||
init() {
|
||||
environmentGetALl().then(res => {
|
||||
environmentGetALL().then(res => {
|
||||
let data = res.data;
|
||||
this.groups = data ? data : [];
|
||||
})
|
||||
|
|
|
@ -48,7 +48,7 @@ export function addGroupEnvironment(params) {
|
|||
return post('/environment/group/add', params);
|
||||
}
|
||||
|
||||
export function environmentGetALl() {
|
||||
export function environmentGetALL() {
|
||||
return post('/environment/group/get/all', {});
|
||||
}
|
||||
|
||||
|
|
|
@ -1843,7 +1843,6 @@ public class TestPlanService {
|
|||
this.setPlanCaseEnv(testPlanId, runModeConfig);
|
||||
} else if (StringUtils.equals(testplanRunRequest.getEnvironmentType(), "GROUP") && StringUtils.isNotBlank(testplanRunRequest.getEnvironmentGroupId())) {
|
||||
runModeConfig.setEnvironmentGroupId(testplanRunRequest.getEnvironmentGroupId());
|
||||
runModeConfig.setEnvMap(testplanRunRequest.getEnvMap());
|
||||
this.setPlanCaseEnv(testPlanId, runModeConfig);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
<script>
|
||||
import EnvironmentGroup from "./EnvironmentGroupList";
|
||||
import {environmentGetALl, getEnvironmentMapByGroupId} from "metersphere-frontend/src/api/environment";
|
||||
import {environmentGetALL, getEnvironmentMapByGroupId} from "metersphere-frontend/src/api/environment";
|
||||
|
||||
export default {
|
||||
name: "EnvGroup",
|
||||
|
@ -67,7 +67,7 @@ export default {
|
|||
this.envGroupId = this.groupId;
|
||||
},
|
||||
init() {
|
||||
environmentGetALl().then(res => {
|
||||
environmentGetALL().then(res => {
|
||||
let data = res.data;
|
||||
this.groups = data ? data : [];
|
||||
})
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
<script>
|
||||
|
||||
import {ENV_TYPE} from "metersphere-frontend/src/utils/constants";
|
||||
import {environmentGetALl} from "metersphere-frontend/src/api/environment";
|
||||
import {environmentGetALL} from "metersphere-frontend/src/api/environment";
|
||||
import MsTag from "metersphere-frontend/src/components/MsTag";
|
||||
import EnvironmentGroup from "@/business/plan/env/EnvironmentGroupList";
|
||||
import {getEnvironmentByProjectId} from "@/api/remote/api/api-environment";
|
||||
|
@ -114,7 +114,7 @@ export default {
|
|||
this.visible = true;
|
||||
},
|
||||
getgroups(){
|
||||
environmentGetALl().then(res => {
|
||||
environmentGetALL().then(res => {
|
||||
let data = res.data;
|
||||
this.groups = data ? data : [];
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue