Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MeterSphere
metersphere
提交
40da3d46
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,发现更多精彩内容 >>
提交
40da3d46
编写于
5月 27, 2020
作者:
C
chenjianxing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
接口测试只读
上级
06aecf44
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
10 addition
and
10 deletion
+10
-10
frontend/src/business/components/api/head/ApiHeaderMenus.vue
frontend/src/business/components/api/head/ApiHeaderMenus.vue
+5
-5
frontend/src/business/components/api/report/ApiReportList.vue
...tend/src/business/components/api/report/ApiReportList.vue
+3
-3
frontend/src/business/components/api/test/ApiTestList.vue
frontend/src/business/components/api/test/ApiTestList.vue
+2
-2
未找到文件。
frontend/src/business/components/api/head/ApiHeaderMenus.vue
浏览文件 @
40da3d46
...
...
@@ -8,27 +8,27 @@
</el-menu-item>
<el-submenu
v-if=
"isCurrentWorkspaceUser"
index=
"3"
popper-class=
"submenu"
v-permission=
"['test_manager']"
>
index=
"3"
popper-class=
"submenu"
>
<template
v-slot:title
>
{{
$t
(
'
commons.project
'
)
}}
</
template
>
<ms-recent-list
:options=
"projectRecent"
/>
<el-divider/>
<ms-show-all
:index=
"'/api/project/all'"
/>
<ms-create-button
:index=
"'/api/project/create'"
:title=
"$t('project.create')"
/>
<ms-create-button
v-permission=
"['test_manager', 'test_user']"
:index=
"'/api/project/create'"
:title=
"$t('project.create')"
/>
</el-submenu>
<el-submenu
v-if=
"isCurrentWorkspaceUser"
index=
"4"
popper-class=
"submenu"
v-permission=
"['test_manager', 'test_user']"
>
index=
"4"
popper-class=
"submenu"
>
<
template
v-slot:title
>
{{
$t
(
'
commons.test
'
)
}}
</
template
>
<ms-recent-list
:options=
"testRecent"
/>
<el-divider/>
<ms-show-all
:index=
"'/api/test/list/all'"
/>
<ms-create-button
:index=
"'/api/test/create'"
:title=
"$t('load_test.create')"
/>
<ms-create-button
v-permission=
"['test_manager', 'test_user']"
:index=
"'/api/test/create'"
:title=
"$t('load_test.create')"
/>
<!-- <el-menu-item :index="testCaseProjectPath" class="blank_item"></el-menu-item>-->
<!-- <el-menu-item :index="testEditPath" class="blank_item"></el-menu-item>-->
</el-submenu>
<el-submenu
v-if=
"isCurrentWorkspaceUser"
index=
"5"
popper-class=
"submenu"
v-permission=
"['test_manager', 'test_user', 'test_viewer']"
>
index=
"5"
popper-class=
"submenu"
>
<
template
v-slot:title
>
{{
$t
(
'
commons.report
'
)
}}
</
template
>
<ms-recent-list
:options=
"reportRecent"
/>
<el-divider/>
...
...
frontend/src/business/components/api/report/ApiReportList.vue
浏览文件 @
40da3d46
...
...
@@ -3,7 +3,7 @@
<ms-main-container>
<el-card
class=
"table-card"
v-loading=
"result.loading"
>
<template
v-slot:header
>
<ms-table-header
:condition.sync=
"condition"
@
search=
"search"
:title=
"$t('api_report.title')"
<ms-table-header
:
is-tester-permission=
"true"
:
condition.sync=
"condition"
@
search=
"search"
:title=
"$t('api_report.title')"
:show-create=
"false"
/>
</
template
>
<el-table
:data=
"tableData"
class=
"table-content"
>
...
...
@@ -27,8 +27,8 @@
</el-table-column>
<el-table-column
width=
"150"
:label=
"$t('commons.operating')"
>
<
template
v-slot:default=
"scope"
>
<el-button
@
click=
"handleView(scope.row)"
type=
"primary"
icon=
"el-icon-s-data"
size=
"mini"
circle
/>
<el-button
@
click=
"handleDelete(scope.row)"
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
circle
/>
<el-button
:is-tester-permission=
"true"
@
click=
"handleView(scope.row)"
type=
"primary"
icon=
"el-icon-s-data"
size=
"mini"
circle
/>
<el-button
:is-tester-permission=
"true"
@
click=
"handleDelete(scope.row)"
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
circle
/>
</
template
>
</el-table-column>
</el-table>
...
...
frontend/src/business/components/api/test/ApiTestList.vue
浏览文件 @
40da3d46
...
...
@@ -3,7 +3,7 @@
<ms-main-container>
<el-card
class=
"table-card"
v-loading=
"result.loading"
>
<template
v-slot:header
>
<ms-table-header
:condition.sync=
"condition"
@
search=
"search"
:title=
"$t('commons.test')"
<ms-table-header
:
is-tester-permission=
"true"
:
condition.sync=
"condition"
@
search=
"search"
:title=
"$t('commons.test')"
@
create=
"create"
:createTip=
"$t('load_test.create')"
/>
</
template
>
<el-table
:data=
"tableData"
class=
"table-content"
>
...
...
@@ -31,7 +31,7 @@
</el-table-column>
<el-table-column
width=
"150"
:label=
"$t('commons.operating')"
>
<
template
v-slot:default=
"scope"
>
<ms-table-operator
@
editClick=
"handleEdit(scope.row)"
@
deleteClick=
"handleDelete(scope.row)"
/>
<ms-table-operator
:is-tester-permission=
"true"
@
editClick=
"handleEdit(scope.row)"
@
deleteClick=
"handleDelete(scope.row)"
/>
</
template
>
</el-table-column>
</el-table>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录