diff --git a/frontend/src/business/components/common/components/MsPieChart.vue b/frontend/src/business/components/common/components/MsPieChart.vue
new file mode 100644
index 0000000000..9ba804afe2
--- /dev/null
+++ b/frontend/src/business/components/common/components/MsPieChart.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/business/components/settings/workspace/components/BaseInfoComponent.vue b/frontend/src/business/components/settings/workspace/components/BaseInfoComponent.vue
new file mode 100644
index 0000000000..819330b168
--- /dev/null
+++ b/frontend/src/business/components/settings/workspace/components/BaseInfoComponent.vue
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+ 所属项目:
+ {{reportInfo.project}}
+
+
+ 测试负责人:
+ {{reportInfo.principal}}
+
+
+
+
+
+ 开始时间:
+ {{reportInfo.startTime}}
+
+
+ 结束时间:
+ {{reportInfo.endTime}}
+
+
+
+
+
+ 测试执行人:
+ {{item}}
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/business/components/settings/workspace/components/CommonComponent.vue b/frontend/src/business/components/settings/workspace/components/CommonComponent.vue
new file mode 100644
index 0000000000..6bd02f0789
--- /dev/null
+++ b/frontend/src/business/components/settings/workspace/components/CommonComponent.vue
@@ -0,0 +1,43 @@
+
+
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue b/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue
index c7d32cefff..99a47d2784 100644
--- a/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue
+++ b/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue
@@ -67,6 +67,11 @@
:list="previews"
group="people"
@change="log">
+
+
+
+
+
@@ -99,11 +104,17 @@
import draggable from 'vuedraggable';
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
+ import BaseInfoComponent from "./BaseInfoComponent";
+ import TestResultComponent from "./TestResultComponent";
+ import TestResultChartComponent from "./TestResultChartComponent";
let idGlobal = 8;
export default {
name: "TestCaseReportTemplateEdit",
components: {
+ TestResultChartComponent,
+ TestResultComponent,
+ BaseInfoComponent,
draggable
},
data() {
@@ -114,10 +125,10 @@
name: '',
type: 'edit',
components: [
- { name: "dog 1", id: 1 , type: 'system'},
- { name: "dog 2", id: 2 , type: 'custom'},
- { name: "dog 3", id: 3 ,type: 'system'},
- { name: "dog 4", id: 4 ,type: 'system'}
+ { name: "基础信息", id: 1 , type: 'system'},
+ { name: "测试结果", id: 2 , type: 'system'},
+ { name: "测试结果分布", id: 3 ,type: 'system'},
+ { name: "自定义模块", id: 4 ,type: 'custom'}
],
previews: [
{ name: "cat 5", id: 5 },
@@ -252,5 +263,8 @@
height: 100%;
}
+ .template-component {
+ font-size: 16px;
+ }
diff --git a/frontend/src/business/components/settings/workspace/components/TestResultChartComponent.vue b/frontend/src/business/components/settings/workspace/components/TestResultChartComponent.vue
new file mode 100644
index 0000000000..07b8667a9f
--- /dev/null
+++ b/frontend/src/business/components/settings/workspace/components/TestResultChartComponent.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/business/components/settings/workspace/components/TestResultComponent.vue b/frontend/src/business/components/settings/workspace/components/TestResultComponent.vue
new file mode 100644
index 0000000000..c64ea50889
--- /dev/null
+++ b/frontend/src/business/components/settings/workspace/components/TestResultComponent.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+