|
|
@@ -251,7 +251,7 @@ export default { |
|
|
|
projPageList: [], // 分页项目数据 |
|
|
|
isEmpty: false, |
|
|
|
createUserId:'', |
|
|
|
isProjectManager:0, |
|
|
|
isProjectManager: false, |
|
|
|
newProjData: { |
|
|
|
projectData: { |
|
|
|
projID: "", |
|
|
@@ -305,6 +305,7 @@ export default { |
|
|
|
isShowProjSetting: false, |
|
|
|
|
|
|
|
isEditProjFolder: false, |
|
|
|
fetchTickIns: null, |
|
|
|
}; |
|
|
|
}, |
|
|
|
mounted: function () { |
|
|
@@ -312,10 +313,14 @@ export default { |
|
|
|
//this.setDateTime(); |
|
|
|
//setInterval(this.setDateTime, 1000); |
|
|
|
this.listProjects(); |
|
|
|
setInterval(this.listProjects, 1000 * 60); |
|
|
|
// setInterval(this.listProjects, 1000 * 60); |
|
|
|
}, |
|
|
|
beforeDestroy() { |
|
|
|
sessionStorage.dotIndex = this.ind; |
|
|
|
if(this.fetchTickIns) { |
|
|
|
clearTimeout(this.fetchTickIns); |
|
|
|
this.fetchTickIns = null; |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
/** |
|
|
@@ -418,6 +423,7 @@ export default { |
|
|
|
const projectListRes = await prjService.queryProjectsByUserId(this.$store.state.accountId); |
|
|
|
this.projList=projectListRes.Data; |
|
|
|
this.projectsWithPage(); |
|
|
|
this.fetchTickIns = setTimeout(() => this.listProjects(), 1000 * 60); |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 设置分页项目数据 |
|
|
|