diff --git a/frontend/src/business/components/api/automation/ApiScenarioModule2.vue b/frontend/src/business/components/api/automation/ApiScenarioModule2.vue
deleted file mode 100644
index edbd91f712..0000000000
--- a/frontend/src/business/components/api/automation/ApiScenarioModule2.vue
+++ /dev/null
@@ -1,440 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- submitEdit(node,data)"
- v-model="newLabel"
- class="ms-el-input" size="mini">
-
-
-
-
-
-
-
-
- edit(node,data)" class="el-icon-edit">
-
-
-
- append(node,data)" class="el-icon-circle-plus-outline">
-
-
-
- remove(node, data)" class="el-icon-delete">
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/frontend/src/business/components/api/automation/report/components/RequestResult.vue b/frontend/src/business/components/api/automation/report/components/RequestResult.vue
index 81c067ed34..6631e69395 100644
--- a/frontend/src/business/components/api/automation/report/components/RequestResult.vue
+++ b/frontend/src/business/components/api/automation/report/components/RequestResult.vue
@@ -67,6 +67,7 @@
methods: {
active() {
this.isActive = !this.isActive;
+ console.log(this.request)
//this.$emit("requestResult", {request: this.request, scenarioName: this.scenarioName});
}
},
diff --git a/frontend/src/business/components/api/automation/report/components/RequestResultTail.vue b/frontend/src/business/components/api/automation/report/components/RequestResultTail.vue
index 97ed21bb7b..cbc5a58c8f 100644
--- a/frontend/src/business/components/api/automation/report/components/RequestResultTail.vue
+++ b/frontend/src/business/components/api/automation/report/components/RequestResultTail.vue
@@ -41,7 +41,7 @@
-
@@ -68,10 +68,11 @@
import MsRequestText from "./RequestText";
import MsResponseText from "./ResponseText";
import MsRequestResult from "./RequestResult";
+ import MsRequestSubResult from "./RequestSubResult";
export default {
name: "MsRequestResultTail",
- components: {MsResponseText, MsRequestText, MsAssertionResults, MsRequestMetric, MsRequestResult},
+ components: {MsResponseText, MsRequestText, MsAssertionResults, MsRequestMetric, MsRequestResult,MsRequestSubResult},
props: {
request: Object,
scenarioName: String,
diff --git a/frontend/src/business/components/api/automation/report/components/RequestSubResult.vue b/frontend/src/business/components/api/automation/report/components/RequestSubResult.vue
new file mode 100644
index 0000000000..b65bc1afd4
--- /dev/null
+++ b/frontend/src/business/components/api/automation/report/components/RequestSubResult.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+ {{ request.name }}
+
+
+
+
+
+ {{ request.responseResult.responseCode }}
+
+
+
+ {{request.responseResult.responseTime}} ms
+
+
+
+
+
+ {{ $t('api_report.success') }}
+
+
+ {{ $t('api_report.fail') }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue
index 9ef68f1538..04e99426e2 100644
--- a/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue
+++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue
@@ -47,23 +47,6 @@
},
data() {
return {
- // httpVisible: false,
- // expandedNode: [],
- // filterText: "",
- // nextFlag: true,
- // currentModule: {},
- // newLabel: "",
- // data: [{
- // "id": "gc",
- // "name": "回收站",
- // "level": 1,
- // "children": [],
- // }, {
- // "id": "root",
- // "name": "默认模块",
- // "level": 0,
- // "children": [],
- // }]
result: {},
condition: {
filterText: "",
diff --git a/frontend/src/business/components/api/definition/model/JsonData.js b/frontend/src/business/components/api/definition/model/JsonData.js
index 60c3d8b8fb..9a1f8d2d1d 100644
--- a/frontend/src/business/components/api/definition/model/JsonData.js
+++ b/frontend/src/business/components/api/definition/model/JsonData.js
@@ -20,7 +20,7 @@ export const DEFAULT_DATA = [{
"children": [],
},{
"id": "root",
- "name": "默认模块",
+ "name": "全部模块",
"level": 0,
"children": [],
}]