diff --git a/frontend/src/business/components/api/automation/scenario/ApiComponent.vue b/frontend/src/business/components/api/automation/scenario/ApiComponent.vue index e1efdda542..7bac52dada 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiComponent.vue @@ -4,6 +4,7 @@ @copy="copyRow" @remove="remove" :data="request" + :draggable="true" :color="displayColor.color" :background-color="displayColor.backgroundColor" :title="displayTitle"> @@ -48,7 +49,7 @@

{{$t('api_test.definition.request.res_param')}}

- + @@ -71,7 +72,6 @@ import MsRun from "../../definition/components/Run"; import {getUUID} from "@/common/js/utils"; import ApiBaseComponent from "./common/ApiBaseComponent"; - export default { name: "MsApiComponent", props: { @@ -227,7 +227,6 @@ this.loading = true; this.runData = []; this.request.useEnvironment = this.currentEnvironmentId; - let debugData = { id: this.currentScenario.id, name: this.currentScenario.name, type: "scenario", variables: this.currentScenario.variables, referenced: 'Created', enableCookieShare: this.enableCookieShare, @@ -236,7 +235,6 @@ this.runData.push(debugData); /*触发执行操作*/ this.reportId = getUUID().substring(0, 8); - }, runRefresh(data) { this.request.requestResult = data; @@ -253,17 +251,14 @@ diff --git a/frontend/src/business/components/api/automation/scenario/LoopController.vue b/frontend/src/business/components/api/automation/scenario/LoopController.vue index b01724f5dd..08a84e1fda 100644 --- a/frontend/src/business/components/api/automation/scenario/LoopController.vue +++ b/frontend/src/business/components/api/automation/scenario/LoopController.vue @@ -4,6 +4,7 @@ @copy="copyRow" @remove="remove" :data="controller" + :draggable="true" color="#015478" background-color="#E6EEF2" :title="$t('api_test.automation.loop_controller')"> @@ -15,7 +16,7 @@ -
+
{{$t('loop.loops')}} @@ -34,7 +35,7 @@
-
+
@@ -52,7 +53,7 @@
-
+
diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index dd63acb6a0..e2d383b5bb 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -1,7 +1,7 @@