Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MeterSphere
metersphere
提交
8da32177
M
metersphere
项目概览
MeterSphere
/
metersphere
上一次同步 3 年多
通知
25
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
metersphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8da32177
编写于
12月 08, 2020
作者:
S
shiziyuan9527
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(系统设置): 创建项目
上级
0d8d12b1
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
36 addition
and
33 deletion
+36
-33
frontend/src/business/components/api/head/ApiHeaderMenus.vue
frontend/src/business/components/api/head/ApiHeaderMenus.vue
+3
-3
frontend/src/business/components/api/router.js
frontend/src/business/components/api/router.js
+5
-5
frontend/src/business/components/common/head/SearchList.vue
frontend/src/business/components/common/head/SearchList.vue
+3
-3
frontend/src/business/components/performance/head/PerformanceHeaderMenus.vue
...ss/components/performance/head/PerformanceHeaderMenus.vue
+3
-3
frontend/src/business/components/performance/router.js
frontend/src/business/components/performance/router.js
+5
-5
frontend/src/business/components/project/MsProject.vue
frontend/src/business/components/project/MsProject.vue
+2
-2
frontend/src/business/components/settings/router.js
frontend/src/business/components/settings/router.js
+2
-2
frontend/src/business/components/track/head/TrackHeaderMenus.vue
...d/src/business/components/track/head/TrackHeaderMenus.vue
+3
-3
frontend/src/business/components/track/home/TrackHome.vue
frontend/src/business/components/track/home/TrackHome.vue
+1
-1
frontend/src/business/components/track/router.js
frontend/src/business/components/track/router.js
+5
-5
frontend/src/business/components/xpack
frontend/src/business/components/xpack
+1
-1
frontend/src/i18n/en-US.js
frontend/src/i18n/en-US.js
+1
-0
frontend/src/i18n/zh-CN.js
frontend/src/i18n/zh-CN.js
+1
-0
frontend/src/i18n/zh-TW.js
frontend/src/i18n/zh-TW.js
+1
-0
未找到文件。
frontend/src/business/components/api/head/ApiHeaderMenus.vue
浏览文件 @
8da32177
...
...
@@ -8,11 +8,11 @@
<template
v-slot:title
>
{{
$t
(
'
commons.project
'
)
}}
</
template
>
<search-list
ref=
"projectRecent"
:options=
"projectRecent"
/>
<el-divider
class=
"menu-divider"
/>
<el-menu-item
:index=
"'/
performance
/project/create'"
>
<el-menu-item
:index=
"'/
setting
/project/create'"
>
<font-awesome-icon
:icon=
"['fa', 'plus']"
/>
<span
style=
"padding-left: 7px;"
>
创建项目
</span>
<span
style=
"padding-left: 7px;"
>
{{ $t("project.create") }}
</span>
</el-menu-item>
<ms-show-all
:index=
"'/setting/project'"
/>
<ms-show-all
:index=
"'/setting/project
/all
'"
/>
</el-submenu>
<el-menu-item
:index=
"'/api/home'"
>
...
...
frontend/src/business/components/api/router.js
浏览文件 @
8da32177
...
...
@@ -24,11 +24,11 @@ export default {
name
:
"
ApiTestList
"
,
component
:
()
=>
import
(
'
@/business/components/api/test/ApiTestList
'
),
},
{
path
:
"
project/:type
"
,
name
:
"
fucProject
"
,
component
:
MsProject
,
},
//
{
//
path: "project/:type",
//
name: "fucProject",
//
component: MsProject,
//
},
{
path
:
"
report/list/:testId
"
,
name
:
"
ApiReportList
"
,
...
...
frontend/src/business/components/common/head/SearchList.vue
浏览文件 @
8da32177
...
...
@@ -32,7 +32,7 @@ export default {
options
:
Object
},
mounted
()
{
this
.
recen
t
();
this
.
ini
t
();
},
data
()
{
return
{
...
...
@@ -44,7 +44,7 @@ export default {
watch
:
{
search_text
(
val
)
{
if
(
!
val
)
{
this
.
recen
t
();
this
.
ini
t
();
}
else
{
this
.
search
();
}
...
...
@@ -66,7 +66,7 @@ export default {
},
methods
:
{
recen
t
:
function
()
{
ini
t
:
function
()
{
if
(
hasRoles
(
ROLE_TEST_VIEWER
,
ROLE_TEST_USER
,
ROLE_TEST_MANAGER
))
{
this
.
result
=
this
.
$get
(
this
.
options
.
url
,
(
response
)
=>
{
this
.
items
=
response
.
data
;
...
...
frontend/src/business/components/performance/head/PerformanceHeaderMenus.vue
浏览文件 @
8da32177
...
...
@@ -9,11 +9,11 @@
<template
v-slot:title
>
{{
$t
(
'
commons.project
'
)
}}
</
template
>
<search-list
ref=
"projectRecent"
:options=
"projectRecent"
/>
<el-divider/>
<el-menu-item
:index=
"'/
performance
/project/create'"
>
<el-menu-item
:index=
"'/
setting
/project/create'"
>
<font-awesome-icon
:icon=
"['fa', 'plus']"
/>
<span
style=
"padding-left: 7px;"
>
创建项目
</span>
<span
style=
"padding-left: 7px;"
>
{{ $t("project.create") }}
</span>
</el-menu-item>
<ms-show-all
:index=
"'/setting/project'"
/>
<ms-show-all
:index=
"'/setting/project
/all
'"
/>
</el-submenu>
<el-menu-item
:index=
"'/performance/home'"
>
...
...
frontend/src/business/components/performance/router.js
浏览文件 @
8da32177
...
...
@@ -43,11 +43,11 @@ export default {
name
:
"
perPlan
"
,
component
:
PerformanceTestList
},
{
path
:
"
project/:type
"
,
name
:
"
perProject
"
,
component
:
MsProject
},
//
{
//
path: "project/:type",
//
name: "perProject",
//
component: MsProject
//
},
{
path
:
"
report/:type
"
,
name
:
"
perReport
"
,
...
...
frontend/src/business/components/project/MsProject.vue
浏览文件 @
8da32177
...
...
@@ -144,7 +144,7 @@ export default {
if
(
this
.
$route
.
path
.
split
(
'
/
'
)[
2
]
===
'
project
'
&&
this
.
$route
.
path
.
split
(
'
/
'
)[
3
]
===
'
create
'
)
{
this
.
create
();
this
.
$router
.
push
(
'
/
'
+
this
.
baseUrl
+
'
/project/all
'
);
// this.$router.push('/setting/project
');
}
this
.
list
();
},
...
...
@@ -156,7 +156,7 @@ export default {
if
(
this
.
$route
.
path
.
split
(
'
/
'
)[
2
]
===
'
project
'
&&
to
.
path
.
split
(
'
/
'
)[
3
]
===
'
create
'
)
{
this
.
create
();
this
.
$router
.
push
(
'
/
'
+
this
.
baseUrl
+
'
/project/all
'
);
// this.$router.push('/setting/project
');
}
else
if
(
this
.
$route
.
path
.
split
(
'
/
'
)[
2
]
===
'
project
'
&&
to
.
path
.
split
(
'
/
'
)[
3
]
===
'
all
'
)
{
this
.
list
();
...
...
frontend/src/business/components/settings/router.js
浏览文件 @
8da32177
...
...
@@ -80,9 +80,9 @@ export default {
}
},
{
path
:
'
project
'
,
path
:
'
project
/:type
'
,
component
:
()
=>
import
(
'
@/business/components/settings/project/Project
'
),
meta
:
{
project
:
true
,
title
:
'
项目管理
'
}
meta
:
{
project
:
true
,
title
:
'
project.manager
'
}
},
]
...
...
frontend/src/business/components/track/head/TrackHeaderMenus.vue
浏览文件 @
8da32177
...
...
@@ -10,11 +10,11 @@
<template
v-slot:title
>
{{
$t
(
'
commons.project
'
)
}}
</
template
>
<search-list
ref=
"projectRecent"
:options=
"projectRecent"
/>
<el-divider/>
<el-menu-item
:index=
"'/
performance
/project/create'"
>
<el-menu-item
:index=
"'/
setting
/project/create'"
>
<font-awesome-icon
:icon=
"['fa', 'plus']"
/>
<span
style=
"padding-left: 7px;"
>
创建项目
</span>
<span
style=
"padding-left: 7px;"
>
{{ $t("project.create") }}
</span>
</el-menu-item>
<ms-show-all
:index=
"'/setting/project'"
/>
<ms-show-all
:index=
"'/setting/project
/all
'"
/>
</el-submenu>
<el-menu-item
:index=
"'/track/home'"
>
...
...
frontend/src/business/components/track/home/TrackHome.vue
浏览文件 @
8da32177
...
...
@@ -7,7 +7,7 @@
<related-test-plan-list
ref=
"relatedTestPlanList"
/>
</el-row>
<el-row>
<review-list
:title=
"$t('review.my_review')"
ref=
"caseReviewList"
/>
<review-list
:title=
"$t('
test_track.
review.my_review')"
ref=
"caseReviewList"
/>
</el-row>
</el-col>
<el-col
:span=
"9"
>
...
...
frontend/src/business/components/track/router.js
浏览文件 @
8da32177
...
...
@@ -51,11 +51,11 @@ export default {
name
:
"
planViewEdit
"
,
component
:
TestPlanView
},
{
path
:
"
project/:type
"
,
name
:
"
trackProject
"
,
component
:
MsProject
},
//
{
//
path: "project/:type",
//
name: "trackProject",
//
component: MsProject
//
},
{
path
:
"
review/:type
"
,
name
:
"
testCaseReview
"
,
...
...
xpack
@
a22a3005
比较
8a972a19
...
a22a3005
Subproject commit
8a972a198775b3783ed6e4cef27197e53d1ebdc8
Subproject commit
a22a3005d9bd254793fcf634d72539cbdf31be3a
frontend/src/i18n/en-US.js
浏览文件 @
8da32177
...
...
@@ -294,6 +294,7 @@ export default {
tapd_id
:
'
TAPD Project ID
'
,
jira_key
:
'
JIRA Project key
'
,
zentao_id
:
'
Zentao Project ID
'
,
manager
:
'
Manager
'
,
},
member
:
{
create
:
'
Create
'
,
...
...
frontend/src/i18n/zh-CN.js
浏览文件 @
8da32177
...
...
@@ -293,6 +293,7 @@ export default {
tapd_id
:
'
TAPD项目ID
'
,
jira_key
:
'
JIRA项目key
'
,
zentao_id
:
'
Zentao项目ID
'
,
manager
:
'
项目管理
'
,
},
member
:
{
create
:
'
添加成员
'
,
...
...
frontend/src/i18n/zh-TW.js
浏览文件 @
8da32177
...
...
@@ -293,6 +293,7 @@ export default {
tapd_id
:
'
TAPD項目ID
'
,
jira_key
:
'
JIRA項目key
'
,
zentao_id
:
'
Zentao項目ID
'
,
manager
:
'
項目管理
'
,
},
member
:
{
create
:
'
添加成員
'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录