Commit 056a0afd authored by 晓彤's avatar 晓彤

修改接口列表模块下拉框只显示10个的问题

parent d2028b1f
...@@ -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.queryModuleInfo).then((resp) => { getModulList(this.queryModuleList).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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment