Commit bcb370b5 by chenwq

refactor(teamWork): 重构团队任务列表布局并修复日期搜索组件问题

调整团队任务列表页面的整体布局结构,优化粘性定位表现
移除顶部背景div的显示条件,修复部分场景的布局异常
修复日期搜索组件的API数据处理逻辑,修正可选链访问路径
1 parent d880a15e
......@@ -165,7 +165,7 @@ export default {
}
if (!weekColumnsPromise) {
weekColumnsPromise = api.getWeekSelectData().then((result) => {
const cols = result.data?.map((item, index) => ({
const cols = result?.map((item, index) => ({
label: `${dayjs(item.startDate).format('YYYY/MM/DD')}-${dayjs(item.endDate).format('YYYY/MM/DD')}`,
startDate: dayjs(item.startDate).format('YYYY/MM/DD'),
endDate: dayjs(item.endDate).format('YYYY/MM/DD'),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!