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: { methods: {
/** 查询待办事项列表 */ /** 查询待办事项列表 */
getList() { getList() {
listProgressOfTheTask({ projectSn: this.projectSn, isNoStart: true }).then(res => { if (this.activeTab == 0) {
console.log('查询待办事项列表: ', res); listProgressOfTheTask({ projectSn: this.projectSn, isNoStart: true }).then(res => {
this.todoList = res.result; console.log('查询待办事项列表: ', res);
}) this.todoList = res.result;
})
} else {
}
}, },
/** tab点击事件 */ /** tab点击事件 */
handleTabClick(index) { handleTabClick(index) {
if (this.activeTab == index) return if (this.activeTab == index) return
this.activeTab = index; this.activeTab = index;
this.getList()
}, },
}, },
} }