h5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
1.6 KiB

const state = {
realTasks: [], // 真实任务
// scaleTasks: [], // 刻度模式任务
// conTasks: [], // 任务模式任务
currUpTimeNode: new Date().getTime(), // 当前查询的时间基准点
currDownTimeNode: new Date().getTime(), // 当前查询的时间基准点
timeLineType: 1, // 时间轴模式 1 刻度模式 2 任务模式
downNextPage: 1, // 下一页查询的页数
upNextPage: 1, // 向上查页数
scrollTop: 0,
scrollToTaskId: '', // 时间轴自动滚动的位置
isShrink: false, // true: 收起, false:展开
tip: {
taskId: '', // 当前正在修改状态的任务的id
show: false,
status: 0, // 所点击任务的当前状态码
text: '',
left: 0, // 鼠标点击位置距离左边的距离
top: 0, // 鼠标点击位置距离上边的距离
},
timeNode: new Date().getTime(), // 时间基准点
timeUnit: 4, // 时间颗粒度
topEnd: false, // 时间轴向上查任务到顶了
bottomEnd: false, // 时间轴向下查任务到底了
permanents: [], // 永久日常任务
dailyTasks: [], // 日常任务
tasks: [], // 所有的定期任务
showSkeleton: false, // 定期任务骨架屏
showGlobalSkeleton: false, // 日常任务骨架屏
newProjectInfo: {},
showScrollTo: false, // 是否可以设置时间轴自动滚动的位置
allTasks: [], // 所有任务
hasPermanent: false, // 永久的日常任务是否加载过
currRoleRealTasks: [], // 当前角色真实任务
currRoleShowTasks: [], // 当前角色展示任务
businessCode: '' ,// 当前打开的项目的所属服务
targetTaskId: '', // 任务id
};
export default state;