|
@@ -37,8 +37,8 @@
|
|
<div>
|
|
<div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="mine-body container" style="text-align: center;">
|
|
|
|
- <el-tabs value="myProject" @tab-click="handleTabClick" v-loading="loading">
|
|
|
|
|
|
+ <div class="mine-body container" style="text-align: center;" v-loading="loading">
|
|
|
|
+ <el-tabs value="myProject" @tab-click="handleTabClick">
|
|
<el-tab-pane name="myProject" v-if="currTab == 'project'">
|
|
<el-tab-pane name="myProject" v-if="currTab == 'project'">
|
|
<span v-if="projectAndTaskArr == null || projectAndTaskArr.length == 0"> 暂无项目 </span>
|
|
<span v-if="projectAndTaskArr == null || projectAndTaskArr.length == 0"> 暂无项目 </span>
|
|
<el-row v-if="projectAndTaskArr != null && projectAndTaskArr.length != 0" type="flex" align="middle"
|
|
<el-row v-if="projectAndTaskArr != null && projectAndTaskArr.length != 0" type="flex" align="middle"
|
|
@@ -111,7 +111,6 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
loading: false,
|
|
loading: false,
|
|
- loading: false,
|
|
|
|
isLogin: false,
|
|
isLogin: false,
|
|
searchType: 'project',
|
|
searchType: 'project',
|
|
searchVal: '',
|
|
searchVal: '',
|
|
@@ -156,6 +155,7 @@
|
|
this.hideLoading();
|
|
this.hideLoading();
|
|
},
|
|
},
|
|
getHotProject() {
|
|
getHotProject() {
|
|
|
|
+ this.showLoading();
|
|
let params = {
|
|
let params = {
|
|
"keyword": this.searchVal,//搜索关键字
|
|
"keyword": this.searchVal,//搜索关键字
|
|
"activePage": this.activePage,//指定页面
|
|
"activePage": this.activePage,//指定页面
|
|
@@ -166,8 +166,10 @@
|
|
this.projectAndTaskArr = res.data.content;
|
|
this.projectAndTaskArr = res.data.content;
|
|
this.totalElements = res.data.totalElements;
|
|
this.totalElements = res.data.totalElements;
|
|
})
|
|
})
|
|
|
|
+ this.hideLoading();
|
|
},
|
|
},
|
|
getHotTask() {
|
|
getHotTask() {
|
|
|
|
+ this.showLoading();
|
|
let params = {
|
|
let params = {
|
|
"keyword": this.searchVal,//搜索关键字
|
|
"keyword": this.searchVal,//搜索关键字
|
|
"activePage": this.activePage,//指定页面
|
|
"activePage": this.activePage,//指定页面
|
|
@@ -177,6 +179,7 @@
|
|
this.projectAndTaskArr = res.data.content;
|
|
this.projectAndTaskArr = res.data.content;
|
|
this.totalElements = res.data.totalElements;
|
|
this.totalElements = res.data.totalElements;
|
|
})
|
|
})
|
|
|
|
+ this.hideLoading();
|
|
},
|
|
},
|
|
|
|
|
|
gotoHome() {
|
|
gotoHome() {
|