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
9642de98
Commit
9642de98
authored
3 years ago
by
chenjianxing
Browse files
Options
Download
Email Patches
Plain Diff
fix: 批量操作数量显示错误
parent
307e063a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
frontend/src/business/components/api/definition/components/basis/BatchEdit.vue
+3
-2
.../components/api/definition/components/basis/BatchEdit.vue
frontend/src/business/components/api/definition/components/case/ApiCaseList.vue
+1
-1
...components/api/definition/components/case/ApiCaseList.vue
frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue
+1
-1
...ents/api/definition/components/list/ApiCaseSimpleList.vue
frontend/src/business/components/api/definition/components/list/ApiList.vue
+1
-1
...ess/components/api/definition/components/list/ApiList.vue
with
6 additions
and
5 deletions
+6
-5
frontend/src/business/components/api/definition/components/basis/BatchEdit.vue
+
3
-
2
View file @
9642de98
...
...
@@ -53,7 +53,8 @@
default
()
{
return
this
.
$t
(
'
api_test.definition.request.batch_edit
'
)
}
}
},
dataCount
:
Number
},
data
()
{
return
{
...
...
@@ -81,7 +82,7 @@
},
open
()
{
this
.
dialogVisible
=
true
;
this
.
size
=
this
.
$parent
.
selectDataCounts
;
this
.
size
=
this
.
dataCount
?
this
.
dataCount
:
this
.
$parent
.
selectDataCounts
;
listenGoBack
(
this
.
handleClose
);
},
handleClose
()
{
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/api/definition/components/case/ApiCaseList.vue
+
1
-
1
View file @
9642de98
...
...
@@ -44,7 +44,7 @@
<ms-run
:debug=
"false"
:reportId=
"reportId"
:run-data=
"runData"
:env-map=
"envMap"
@
runRefresh=
"runRefresh"
@
errorRefresh=
"errorRefresh"
ref=
"runTest"
/>
<!--批量编辑-->
<ms-batch-edit
ref=
"batchEdit"
@
batchEdit=
"batchEdit"
:typeArr=
"typeArr"
:value-arr=
"valueArr"
/>
<ms-batch-edit
ref=
"batchEdit"
@
batchEdit=
"batchEdit"
:typeArr=
"typeArr"
:data-count=
"selectdCases.length"
:value-arr=
"valueArr"
/>
</div>
</template>
<
script
>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue
+
1
-
1
View file @
9642de98
...
...
@@ -141,7 +141,7 @@
<api-case-list
@
showExecResult=
"showExecResult"
@
refresh=
"initTable"
:currentApi=
"selectCase"
ref=
"caseList"
/>
<!--批量编辑-->
<ms-batch-edit
ref=
"batchEdit"
@
batchEdit=
"batchEdit"
:typeArr=
"typeArr"
:value-arr=
"valueArr"
/>
<ms-batch-edit
ref=
"batchEdit"
:data-count=
"$refs.caseTable ? $refs.caseTable.selectDataCounts : 0"
@
batchEdit=
"batchEdit"
:typeArr=
"typeArr"
:value-arr=
"valueArr"
/>
<!--选择环境(当创建性能测试的时候)-->
<ms-set-environment
ref=
"setEnvironment"
:testCase=
"clickRow"
@
createPerformance=
"createPerformance"
/>
<!--查看引用-->
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/api/definition/components/list/ApiList.vue
+
1
-
1
View file @
9642de98
...
...
@@ -171,7 +171,7 @@
</div>
<ms-api-case-list
@
refresh=
"initTable"
@
showExecResult=
"showExecResult"
:currentApi=
"selectApi"
ref=
"caseList"
/>
<!--批量编辑-->
<ms-batch-edit
ref=
"batchEdit"
@
batchEdit=
"batchEdit"
:typeArr=
"typeArr"
:value-arr=
"valueArr"
/>
<ms-batch-edit
ref=
"batchEdit"
@
batchEdit=
"batchEdit"
:data-count=
"$refs.table ? $refs.table.selectDataCounts : 0"
:typeArr=
"typeArr"
:value-arr=
"valueArr"
/>
<!--高级搜索-->
<ms-table-adv-search-bar
:condition.sync=
"condition"
:showLink=
"false"
ref=
"searchBar"
@
search=
"search"
/>
<case-batch-move
@
refresh=
"initTable"
@
moveSave=
"moveSave"
ref=
"testCaseBatchMove"
></case-batch-move>
...
...
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