|
@@ -1405,17 +1405,13 @@ export default {
|
|
// 进入页面所执行的函数
|
|
// 进入页面所执行的函数
|
|
mountedEnter() {
|
|
mountedEnter() {
|
|
this.cateId = this.$route.params.cateId;
|
|
this.cateId = this.$route.params.cateId;
|
|
|
|
+ this.page = 1;
|
|
console.log('分类参数', this.cateId);
|
|
console.log('分类参数', this.cateId);
|
|
this.getCateName();
|
|
this.getCateName();
|
|
this.userssHu()
|
|
this.userssHu()
|
|
this.getDepartment();
|
|
this.getDepartment();
|
|
this.getDepartment2();
|
|
this.getDepartment2();
|
|
this.projectListPageComponentKey++;
|
|
this.projectListPageComponentKey++;
|
|
- //localStorage中为string类型,需转化为int类型才会发生渲染
|
|
|
|
- if (localStorage.productPageIndex) {
|
|
|
|
- this.page = parseInt(localStorage.productPageIndex);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
this.getList();
|
|
this.getList();
|
|
this.getUsers();
|
|
this.getUsers();
|
|
},
|
|
},
|
|
@@ -2973,7 +2969,6 @@ export default {
|
|
|
|
|
|
//获取项目列表
|
|
//获取项目列表
|
|
getList() {
|
|
getList() {
|
|
- localStorage.productPageIndex = this.page;
|
|
|
|
this.listLoading = true;
|
|
this.listLoading = true;
|
|
let parameter = {
|
|
let parameter = {
|
|
pageIndex: this.page,
|
|
pageIndex: this.page,
|
|
@@ -3599,21 +3594,6 @@ export default {
|
|
console.log('activated分类参数', cateId);
|
|
console.log('activated分类参数', cateId);
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- // this.cateId = this.$route.params.cateId;
|
|
|
|
- // console.log('分类参数', this.cateId);
|
|
|
|
- // this.getCateName();
|
|
|
|
- // this.userssHu()
|
|
|
|
- // this.getDepartment();
|
|
|
|
- // this.getDepartment2();
|
|
|
|
- // this.projectListPageComponentKey++;
|
|
|
|
- // //localStorage中为string类型,需转化为int类型才会发生渲染
|
|
|
|
- // if (localStorage.productPageIndex) {
|
|
|
|
- // this.page = parseInt(localStorage.productPageIndex);
|
|
|
|
- // }
|
|
|
|
-
|
|
|
|
- // this.getList();
|
|
|
|
- // this.getUsers();
|
|
|
|
-
|
|
|
|
// 进入页面需要执行的函数和方法全写在 mountedEnter 函数里面
|
|
// 进入页面需要执行的函数和方法全写在 mountedEnter 函数里面
|
|
this.mountedEnter()
|
|
this.mountedEnter()
|
|
}
|
|
}
|