修复综合看板

This commit is contained in:
2026-04-22 18:44:14 +08:00
parent 50527f68e0
commit 602928dc0b
9 changed files with 168 additions and 89 deletions

View File

@@ -209,7 +209,20 @@ export default {
}
},
methods: {
// 关闭细节窗口
tryOpenDetail (trackId) {
if (!trackId) return;
const found = this.scheduleList.find(item => item.scheduleId === trackId || item.projectId === trackId);
if (found) {
this.getScheduleDetail(found);
} else {
this.$nextTick(() => {
const found = this.scheduleList.find(item => item.scheduleId === trackId || item.projectId === trackId);
if (found) {
this.getScheduleDetail(found);
}
});
}
},
closeDetailShow (done) {
this.getList();
done()
@@ -245,14 +258,13 @@ export default {
},
getList () {
this.loading = true
console.log(this.queryParams, this.searchTime)
/* 日期搜索条件 */
if (this.searchTime && this.searchTime.length) {
this.queryParams.startTime = this.getDateStr(this.searchTime[0])
this.queryParams.endTime = this.getDateStr(this.searchTime[1])
}
this.queryParams.projectId = this.$route.query.projectId?this.$route.query.projectId:null
this.queryParams.trackId = this.$route.query.trackId?this.$route.query.trackId:null
listProjectSchedule(this.queryParams).then(res => {
this.scheduleList = res.rows
this.total = res.total