Merge branch 'dev-xiaomi' into shenzhen-dev

This commit is contained in:
Luck-Xiaomi 2022-09-16 09:36:17 +08:00
commit 731e32bba2

View File

@ -49,15 +49,20 @@ export default {
methods: {
/** 查询待办事项列表 */
getList() {
listProgressOfTheTask({ projectSn: this.projectSn, isNoStart: true }).then(res => {
console.log('查询待办事项列表: ', res);
this.todoList = res.result;
})
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()
},
},
}