diff --git a/package.json b/package.json index 53e7cd41920bfe8c4431fdadc5cfe396e9482bcf..56333351ba787fe59d47f979eb0f9acb761a0e77 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build": "node build/build.js" }, "dependencies": { + "@antv/g6": "^3.4.8", "@fortawesome/fontawesome-free": "^5.8.0", "ace-builds": "^1.4.11", "babel-polyfill": "^6.26.0", diff --git a/src/assets/imgs/test_icon_error.png b/src/assets/imgs/test_icon_error.png new file mode 100644 index 0000000000000000000000000000000000000000..3f90fc0eaa9b557c45171a61d3c009b92eb8966a Binary files /dev/null and b/src/assets/imgs/test_icon_error.png differ diff --git a/src/assets/imgs/test_icon_success.png b/src/assets/imgs/test_icon_success.png new file mode 100644 index 0000000000000000000000000000000000000000..19f28dc9baf3b113ff4eff3ab9a24175f663fc8f Binary files /dev/null and b/src/assets/imgs/test_icon_success.png differ diff --git a/src/components/codes.vue b/src/components/codes.vue index a293cd0b7a7e4fb4d6820f7afeffff105291e0c5..c62926efaae33cbc8370fef695f2679cbfe252a3 100644 --- a/src/components/codes.vue +++ b/src/components/codes.vue @@ -9,12 +9,9 @@ + \ No newline at end of file +.ces_filter_container { + background-color: #f7f8f9; + padding: 14px 19px; + border: 1px solid #e3e5ef; + border-radius: 6px; + margin: 0 0 10px; +} +.ces_filter_container > li { + display: flex; + justify-content: flex-start; + align-items: flex-start; + padding-top: 12px; +} +.ces_filter_name { + width: 100px; + height: 30px; + flex-shrink: 0; + text-align: right; + font-size: 14px; + line-height: 30px; + font-weight: bold; + color: #1a2236; +} +.ces_filter_data { + width: calc(100% - 120px); + margin-left: 20px; + flex-grow: 1; + flex-wrap: wrap; + display: inline-flex; + justify-content: flex-start; + align-items: flex-start; + padding-bottom: 11px; +} +.ces_filter_container > li:not(:last-child) > .ces_filter_data { + border-bottom: 1px solid #e9ecf3; +} +.ces_filter_data > li { + flex-shrink: 0; + padding-right: 20px; +} +.ces_filter_data > li > a { + display: block; + height: 30px; + width: 90px; + box-sizing: border-box; + border-radius: 12px; + text-align: center; + cursor: pointer; + font-size: 14px; + line-height: 30px; + color: #58617a; +} +.ces_filter_data > li > a.current { + background-color: #515fe7; + color: #f4f7fc; +} + diff --git a/src/components/topology.vue b/src/components/topology.vue new file mode 100644 index 0000000000000000000000000000000000000000..edc6a790ce1721731c4f1f985bda3014058bcb5c --- /dev/null +++ b/src/components/topology.vue @@ -0,0 +1,421 @@ + + + + + + + diff --git a/src/components/upload_file.vue b/src/components/upload_file.vue index 6d4723df53231a8cac371a6e74d9b2f3a945df26..c2728d69f3c0e80733beed95d0ebb4207498ba6a 100644 --- a/src/components/upload_file.vue +++ b/src/components/upload_file.vue @@ -1,6 +1,6 @@ @@ -36,4 +36,7 @@ export default { \ No newline at end of file diff --git a/src/pages/example_table.vue b/src/pages/example_table.vue index b3caa446f3e3e6cbb53f45535971d93028eb7199..44373c9859d58b02ee69f2b348ea991de068ee48 100644 --- a/src/pages/example_table.vue +++ b/src/pages/example_table.vue @@ -20,6 +20,7 @@ :emptyText="emptyText" :stripe="true" :pageSizeShow="true" + :filterList="filterList" >

可编辑表格,供服务测试用

+
+ +
+ + + + \ No newline at end of file diff --git a/src/pages/example_upload.vue b/src/pages/example_upload.vue index 67f767a8f02b2bfd51975ef37eb0695cfd35bc79..a4c7337cd44b61215cfc855f53ca701149d66806 100644 --- a/src/pages/example_upload.vue +++ b/src/pages/example_upload.vue @@ -4,7 +4,6 @@ 服务注册 - 服务测试 + 服务测试 + 服务测试 + 基础信息填写 @@ -14,6 +16,17 @@ >{{ item.text }}
+
+
服务类型:
+ + + +
服务地址:
@@ -26,7 +39,7 @@ > - 服务测试 + 服务测试
@@ -94,58 +107,63 @@
- -
请求参数信息填写:
- -
返回参数信息填写:
- -