fix:项目不分页数据访问统一设置pageSize为-1

This commit is contained in:
wangwenrui
2020-04-15 19:40:09 +08:00
parent d342d7a782
commit cf083ea965
11 changed files with 28 additions and 25 deletions

View File

@@ -255,7 +255,7 @@
editParamBox: {show: false, top: 0, left: 0, type: 0}, //param编辑弹框
moduleParamShow: false, //module默认参数param悬浮窗
assetSearch: {host: '', sn: '', text: '', label: 'IP', dropdownShow: false}, //侧滑框中asset的搜索相关
assetPageObj: {pageNo: 1, pageSize: 9999},
assetPageObj: {pageNo: 1, pageSize: -1},
selectedAssets: [], //侧滑框中选中的asset
projectList: [],
moduleList: [],
@@ -402,7 +402,7 @@
/*获取project列表*/
getProjectList() {
this.$get('project', {pageSize: 999, pageNo: 1}).then(response => {
this.$get('project', {pageSize: -1, pageNo: 1}).then(response => {
if (response.code === 200) {
this.projectList = response.data.list;
if (this.moduleList.length == 0) {