|
|
@@ -159,7 +159,6 @@ export default {
|
|
|
data: [],
|
|
|
form: {},
|
|
|
option: {
|
|
|
- calcHeight: 230,
|
|
|
refreshBtn: false,
|
|
|
tip: false,
|
|
|
columnBtn: false,
|
|
|
@@ -283,8 +282,9 @@ export default {
|
|
|
},
|
|
|
onLoad (query = {}) {
|
|
|
this.loading = true
|
|
|
- const data = { ...query, ...this.page }
|
|
|
- this.$api.project.projectList(this.page.current, this.page.size, data).then(res => {
|
|
|
+ const data = { ...query }
|
|
|
+ console.log(data)
|
|
|
+ this.$api.project.projectList(this.page.currentPage, this.page.pageSize, data).then(res => {
|
|
|
this.loading = false
|
|
|
if (res.code === 200) {
|
|
|
this.data = res.data.content
|
|
|
@@ -313,7 +313,6 @@ export default {
|
|
|
},
|
|
|
currentChange (currentPage) {
|
|
|
this.page.current = currentPage
|
|
|
- console.log(this.page)
|
|
|
},
|
|
|
sizeChange (pageSize) {
|
|
|
this.page.size = pageSize
|