Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-platform-ui
Commits
056a0afd
Commit
056a0afd
authored
Aug 17, 2021
by
晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口列表模块下拉框只显示10个的问题
parent
d2028b1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
InterfaceList.vue
src/views/auto/InterfaceList.vue
+11
-1
No files found.
src/views/auto/InterfaceList.vue
View file @
056a0afd
...
@@ -58,6 +58,12 @@ export default {
...
@@ -58,6 +58,12 @@ export default {
moduleId
:
''
,
moduleId
:
''
,
interfaceName
:
''
interfaceName
:
''
},
},
queryModuleList
:
{
pageNum
:
1
,
pageSize
:
100
,
projectId
:
''
,
moduleId
:
''
},
totalNum
:
0
,
totalNum
:
0
,
projectList
:
[],
projectList
:
[],
modelList
:
[],
modelList
:
[],
...
@@ -90,13 +96,16 @@ export default {
...
@@ -90,13 +96,16 @@ export default {
// 下来框选中改变事件
// 下来框选中改变事件
selectChange
()
{
selectChange
()
{
this
.
queryModuleList
.
projectId
=
this
.
selectProjectId
this
.
queryModuleInfo
.
projectId
=
this
.
selectProjectId
this
.
queryModuleInfo
.
projectId
=
this
.
selectProjectId
getModulList
(
this
.
queryModule
Info
).
then
((
resp
)
=>
{
getModulList
(
this
.
queryModule
List
).
then
((
resp
)
=>
{
this
.
modelList
=
resp
.
data
.
data
.
list
this
.
modelList
=
resp
.
data
.
data
.
list
console
.
log
(
this
.
modelList
,
'
9999
'
)
})
})
},
},
// 模块下拉框改变事件
// 模块下拉框改变事件
selectChangeModel
()
{
selectChangeModel
()
{
this
.
queryModuleList
.
moduleId
=
this
.
selectModelId
this
.
queryModuleInfo
.
moduleId
=
this
.
selectModelId
this
.
queryModuleInfo
.
moduleId
=
this
.
selectModelId
},
},
// 查询方法
// 查询方法
...
@@ -117,6 +126,7 @@ export default {
...
@@ -117,6 +126,7 @@ export default {
interfaceDetailList
(
this
.
queryModuleInfo
).
then
((
resp
)
=>
{
interfaceDetailList
(
this
.
queryModuleInfo
).
then
((
resp
)
=>
{
this
.
interfaceList
=
resp
.
data
.
data
.
list
this
.
interfaceList
=
resp
.
data
.
data
.
list
this
.
totalNum
=
resp
.
data
.
data
.
total
this
.
totalNum
=
resp
.
data
.
data
.
total
console
.
log
(
this
.
interfaceList
,
'
列表信息
'
)
})
})
},
},
handleSizeChange
(
newSize
)
{
handleSizeChange
(
newSize
)
{
...
...
Write
Preview
Markdown
is supported
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