|
|
|
@ -197,7 +197,7 @@ export default { |
|
|
|
|
0: '草稿箱', |
|
|
|
|
1: '已发布' |
|
|
|
|
}, |
|
|
|
|
page: 1, |
|
|
|
|
page: +this.$route.query.page || 1, |
|
|
|
|
pageSize: 10, |
|
|
|
|
multipleSelection: [], |
|
|
|
|
copyVisible: false, |
|
|
|
@ -215,7 +215,6 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
console.log(this.$route.query.founder) |
|
|
|
|
if (this.$route.query.founder && this.$route.query.founder != 'undefined'){ |
|
|
|
|
this.queryData.founder = +this.$route.query.founder |
|
|
|
|
}else{ |
|
|
|
@ -245,6 +244,13 @@ export default { |
|
|
|
|
}, |
|
|
|
|
handleCurrentChange(val) { // 切换页码 |
|
|
|
|
this.page = val; |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: 'projectList', |
|
|
|
|
query: { |
|
|
|
|
...this.$route.query, |
|
|
|
|
page: val |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.getData(); |
|
|
|
|
}, |
|
|
|
|
add() { // 新增项目 |
|
|
|
|