diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index cd2525ac9..e48bde731 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -347,22 +347,22 @@ :title="text">{{text}} -
- -
- - - + + + + + + + + + + + + + +
+ {{ $t('total') + ' ' + this.dataSource.length + ' ' + $t('strip') }} +
@@ -1054,7 +1054,7 @@ url: { addModelList: '/project/projectLawsInventoryEO/queryPageDummy', queryConditionInventory: '/project/projectLawsInventoryEO/queryConditionInventory', - list: '/project/projectLawsInventoryEO/page', + list: '/project/projectLawsInventoryEO/list', addModel: 'project/projectLawsInventoryEO/add', editModel: '/project/projectLawsInventoryEO/edit', deleteBatch: '/project/projectLawsInventoryEO/deleteBatch', @@ -2055,15 +2055,15 @@ } this.getList() }, - onChangeSize(page, pageSize) { - this.pageNo = page - this.getList() - }, - SizeChange(page, pageSize) { - this.pageNo = 1 - this.pageSize = pageSize - this.getList() - }, + // onChangeSize(page, pageSize) { + // this.pageNo = page + // this.getList() + // }, + // SizeChange(page, pageSize) { + // this.pageNo = 1 + // this.pageSize = pageSize + // this.getList() + // }, getList() { let roleCode = this.roleSwitchingCode let queryParam = JSON.parse(JSON.stringify(this.queryParam)) @@ -2083,19 +2083,19 @@ orderBy: this.orderBy, orderByField: this.orderByField, roleCode: roleCode, - pageNo: this.pageNo, - pageSize: this.pageSize + // pageNo: this.pageNo, + // pageSize: this.pageSize } this.loading = true getAction(this.url.list, query).then((res) => { if (res.success) { - if (res.result.current > 1 && res.result.records.length == 0) { - this.pageNo = 1 - this.getList() - return - } - this.dataSource = res.result.records || [] - this.total = res.result.total + // if (res.result.current > 1 && res.result.records.length == 0) { + // this.pageNo = 1 + // this.getList() + // return + // } + this.dataSource = res.result || [] + // this.total = res.result.total this.loading = false this.JLoading = false if (this.dataSource.length == 0) {