|
@@ -35,14 +35,13 @@ router.get('/node/type/task/:projectId', (req, res) => {
|
|
|
parent: null,
|
|
parent: null,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
}],
|
|
}],
|
|
|
}).data,
|
|
}).data,
|
|
|
));
|
|
));
|
|
@@ -67,14 +66,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: null,
|
|
parent: null,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
deep: 2,
|
|
deep: 2,
|
|
@@ -85,14 +83,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: 1,
|
|
parent: 1,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
deep: 2,
|
|
deep: 2,
|
|
@@ -103,14 +100,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: 1,
|
|
parent: 1,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
deep: 3,
|
|
deep: 3,
|
|
@@ -121,14 +117,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: 3,
|
|
parent: 3,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
deep: 3,
|
|
deep: 3,
|
|
@@ -139,14 +134,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: 3,
|
|
parent: 3,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
deep: 4,
|
|
deep: 4,
|
|
@@ -157,14 +151,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: 5,
|
|
parent: 5,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
deep: 4,
|
|
deep: 4,
|
|
@@ -175,14 +168,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: 5,
|
|
parent: 5,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
deep: 4,
|
|
deep: 4,
|
|
@@ -193,14 +185,13 @@ router.get('/:projectId', (req, res) => {
|
|
|
parent: 5,
|
|
parent: 5,
|
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
'priority|1': ['紧急', '一般', '宽松'],
|
|
|
processorId: 101,
|
|
processorId: 101,
|
|
|
|
|
+ processorName: 'Jinyao',
|
|
|
projectId: 101,
|
|
projectId: 101,
|
|
|
startTime: Random.datetime(),
|
|
startTime: Random.datetime(),
|
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
'state|1': ['已创建', '进行中', '已完成'],
|
|
|
timeToTake: 10,
|
|
timeToTake: 10,
|
|
|
title: Random.cname(),
|
|
title: Random.cname(),
|
|
|
'type|1': ['需求', '任务'],
|
|
'type|1': ['需求', '任务'],
|
|
|
- userId: 101,
|
|
|
|
|
- username: Random.cname(),
|
|
|
|
|
},
|
|
},
|
|
|
]),
|
|
]),
|
|
|
));
|
|
));
|