diff --git a/frontend/src/performance/components/HeaderMenus.vue b/frontend/src/performance/components/HeaderMenus.vue index a4accf8d01..c7b97f699c 100644 --- a/frontend/src/performance/components/HeaderMenus.vue +++ b/frontend/src/performance/components/HeaderMenus.vue @@ -12,8 +12,12 @@ 项目1 项目2 - 显示全部 - + + + + 显示全部 + + 创建项目 diff --git a/frontend/src/performance/components/project/MsProject.vue b/frontend/src/performance/components/project/MsProject.vue new file mode 100644 index 0000000000..2d8e335ceb --- /dev/null +++ b/frontend/src/performance/components/project/MsProject.vue @@ -0,0 +1,143 @@ + + + + + diff --git a/frontend/src/performance/components/router/router.js b/frontend/src/performance/components/router/router.js index e06cafa28c..a5ada0f080 100644 --- a/frontend/src/performance/components/router/router.js +++ b/frontend/src/performance/components/router/router.js @@ -9,18 +9,21 @@ import AllTestPlan from "../testPlan/AllTestPlan"; import Organization from "../settings/Organization"; import WorkspaceUser from "../settings/WorkSpcaeUser"; import TestResourcePool from "../settings/TestResourcePool"; +import MsProject from "../project/MsProject"; Vue.use(VueRouter); const router = new VueRouter({ routes: [ { - path: "/sidebar", components: { + path: "/sidebar", + components: { sidebar: RouterSidebar } }, { - path: "/setting", components: { + path: "/setting", + components: { content: Setting }, children: [ @@ -75,6 +78,12 @@ const router = new VueRouter({ content: AllTestPlan } }, + { + path: "/project", + components: { + content: MsProject + } + } ] }); diff --git a/frontend/src/performance/components/settings/Workspace.vue b/frontend/src/performance/components/settings/Workspace.vue index f0e12604e5..81e3dc79fe 100644 --- a/frontend/src/performance/components/settings/Workspace.vue +++ b/frontend/src/performance/components/settings/Workspace.vue @@ -70,7 +70,6 @@ }, edit(row) { this.createVisible = true; - window.console.log(row); this.loading = true; this.form = row; @@ -95,7 +94,6 @@ }).catch(() => { }); - window.console.log(row); }, list() { this.$post('/workspace/list', {}, response => {