| properties | {taskId: {kind: text,label: 编号,pinned: true},status: {kind: phase,contour: /work/contours/tasks,label: 状态},initiative: {kind: relation,collection: /work/initiatives,label: 专项},owner: {kind: relation,collection: /business/people,label: 责任人},priority: {kind: select,label: 优先级,options: [{name: P0,label: P0:现在,color: red},{name: P1,label: P1:接下来,color: orange},{name: P2,label: P2:之后,color: blue}]},size: {kind: select,label: 规模,options: [{name: S,label: S:一两个小时,color: green},{name: M,label: M:半天,color: yellow},{name: L,label: L:一天或更久,color: purple}]},executor: {kind: select,label: 由谁来做,options: [{name: person,label: 人员,color: gray},{name: professional,label: 该方向的专业智能体,color: blue},{name: worker,label: 工作智能体,color: green}]},milestone: {kind: relation,collection: /work/milestones,label: 里程碑},dependsOn: {kind: relation,collection: /work/tasks,multiple: true,label: 依赖于},stream: {kind: text,label: 工作流},profile: {kind: text,label: 启动配置(模型、投入度)},doneWhen: {kind: text,label: 完成条件},evidence: {kind: text,label: 确认依据},holdReason: {kind: text,label: 为何搁置},implements: {kind: relation,collection: /product/requirements,multiple: true,label: 实现需求},value: {kind: text,label: 对用户来说,什么会改变},kind: {kind: select,label: 任务类型,options: [{name: chore,label: 技术性:服务于一项具有收益的任务,color: gray}]},enables: {kind: relation,collection: /work/tasks,multiple: true,label: 服务于任务},stage: {kind: relation,collection: /deal/stages,label: 交易阶段},fulfills: {kind: relation,collection: /deal/obligations,label: 履行一项义务},waitsFor: {kind: relation,collection: /deal/obligations,multiple: true,label: 等待一项义务},waitsForOwner: {kind: relation,collection: /work/owner-tasks,multiple: true,label: 等待所有者},waitsForAnswer: {kind: relation,collection: /knowledge/questions,multiple: true,label: 等待一个答复},waitsForDecision: {kind: relation,collection: /knowledge/decisions,multiple: true,label: 等待一项决定},mitigates: {kind: relation,collection: /deal/risks,multiple: true,label: 降低风险}} |
| views | [{id: tasks--board,name: 按状态,layout: board,fields: {},board: {preview: page-content,cardSize: small,wrap: true},grouping: {by: status,colorBy: status},sorting: [{propertyId: priority,direction: ascending}],properties: [{name: title,visible: true},{name: taskId,visible: true},{name: priority,visible: true},{name: size,visible: true},{name: initiative,visible: true},{name: owner,visible: true}]},{id: tasks--table,name: 全部任务,layout: table,fields: {},sorting: [{propertyId: taskId,direction: ascending}],properties: [{name: title,visible: true,width: 420},{name: taskId,visible: true},{name: status,visible: true},{name: initiative,visible: true},{name: priority,visible: true},{name: size,visible: true},{name: owner,visible: true},{name: dependsOn,visible: true},{name: implements,visible: true},{name: stage,visible: true}]},{id: tasks--waiting,name: 等待中,layout: table,fields: {},filters: [{id: waiting,type: condition,propertyId: status,operator: equals,value: waiting}],properties: [{name: title,visible: true,width: 420},{name: taskId,visible: true},{name: waitsFor,visible: true},{name: waitsForOwner,visible: true},{name: waitsForAnswer,visible: true},{name: waitsForDecision,visible: true},{name: doneWhen,visible: true}]}] |