Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MeterSphere
Commits
ae5e7261
Commit
ae5e7261
authored
4 years ago
by
chenjianxing
Browse files
Options
Download
Email Patches
Plain Diff
fix: 去掉多余的更多操作按钮
parent
219b745f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
frontend/src/business/components/api/automation/ApiAutomation.vue
+1
-0
.../src/business/components/api/automation/ApiAutomation.vue
frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue
+2
-0
.../components/api/automation/scenario/ApiScenarioModule.vue
frontend/src/business/components/api/definition/ApiDefinition.vue
+1
-0
.../src/business/components/api/definition/ApiDefinition.vue
frontend/src/business/components/api/definition/components/module/ApiModule.vue
+2
-0
...components/api/definition/components/module/ApiModule.vue
frontend/src/business/components/api/definition/components/module/ApiModuleHeader.vue
+3
-1
...ents/api/definition/components/module/ApiModuleHeader.vue
frontend/src/business/components/common/components/search/MsSearchBar.vue
+2
-1
...iness/components/common/components/search/MsSearchBar.vue
with
11 additions
and
2 deletions
+11
-2
frontend/src/business/components/api/automation/ApiAutomation.vue
+
1
-
0
View file @
ae5e7261
...
...
@@ -2,6 +2,7 @@
<ms-container
v-if=
"renderComponent"
v-loading=
"loading"
>
<ms-aside-container>
<ms-api-scenario-module
:show-operator=
"true"
@
nodeSelectEvent=
"nodeChange"
@
refreshTable=
"refresh"
@
saveAsEdit=
"editScenario"
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue
+
2
-
0
View file @
ae5e7261
...
...
@@ -17,6 +17,7 @@
<template
v-slot:header
>
<ms-search-bar
:show-operator=
"showOperator"
:condition=
"condition"
:commands=
"operators"
/>
<module-trash-button
v-if=
"!isReadOnly"
:condition=
"condition"
:exe=
"enableTrash"
/>
...
...
@@ -60,6 +61,7 @@
return
false
}
},
showOperator
:
Boolean
,
relevanceProjectId
:
String
,
planId
:
String
},
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/api/definition/ApiDefinition.vue
+
1
-
0
View file @
ae5e7261
...
...
@@ -3,6 +3,7 @@
<ms-container
v-if=
"renderComponent"
>
<ms-aside-container>
<ms-api-module
:show-operator=
"true"
@
nodeSelectEvent=
"nodeChange"
@
protocolChange=
"handleProtocolChange"
@
refreshTable=
"refresh"
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/api/definition/components/module/ApiModule.vue
+
2
-
0
View file @
ae5e7261
...
...
@@ -17,6 +17,7 @@
<template
v-slot:header
>
<api-module-header
:show-operator=
"showOperator"
:condition=
"condition"
:current-module=
"currentModule"
:is-read-only=
"isReadOnly"
...
...
@@ -71,6 +72,7 @@
return
false
}
},
showOperator
:
Boolean
,
planId
:
String
,
relevanceProjectId
:
String
,
reviewId
:
String
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/api/definition/components/module/ApiModuleHeader.vue
+
3
-
1
View file @
ae5e7261
...
...
@@ -14,6 +14,7 @@
</el-col>
<el-col
:span=
"15"
>
<ms-search-bar
:show-operator=
"showOperator"
:condition=
"condition"
:commands=
"operators"
/>
</el-col>
...
...
@@ -39,7 +40,7 @@
import
TemplateComponent
from
"
../../../../track/plan/view/comonents/report/TemplateComponent/TemplateComponent
"
;
import
MsSearchBar
from
"
@/business/components/common/components/search/MsSearchBar
"
;
export
default
{
name
:
"
ApiModuleHeader
"
,
name
:
"
ApiModuleHeader
"
,
components
:
{
MsSearchBar
,
TemplateComponent
,
ModuleTrashButton
,
ApiImport
,
MsAddBasisApi
},
data
()
{
return
{
...
...
@@ -92,6 +93,7 @@
return
{}
}
},
showOperator
:
Boolean
,
moduleOptions
:
Array
,
currentModule
:
{
type
:
Object
,
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/common/components/search/MsSearchBar.vue
+
2
-
1
View file @
ae5e7261
<
template
>
<el-input
class=
"ms-search-bar"
:placeholder=
"$t('test_track.module.search')"
v-model=
"condition.filterText"
size=
"small"
>
<template
v-slot:append
>
<template
v-if=
"showOperator"
v-slot:append
>
<el-dropdown>
<el-button
type=
"primary"
>
<span
class=
"tip-font"
>
{{
$t
(
'
commons.more_operator
'
)
}}
</span>
...
...
@@ -44,6 +44,7 @@ export default {
return
{}
}
},
showOperator
:
Boolean
,
commands
:
{
type
:
Array
,
default
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help