中建四局-进度管理:优化部分功能

This commit is contained in:
Luck-Xiaomi 2022-09-16 09:32:46 +08:00
parent f0e9146b84
commit 48caef1a3d

View File

@ -49,15 +49,20 @@ export default {
methods: {
/** 查询待办事项列表 */
getList() {
if (this.activeTab == 0) {
listProgressOfTheTask({ projectSn: this.projectSn, isNoStart: true }).then(res => {
console.log('查询待办事项列表: ', res);
this.todoList = res.result;
})
} else {
}
},
/** tab点击事件 */
handleTabClick(index) {
if (this.activeTab == index) return
this.activeTab = index;
this.getList()
},
},
}