Skip to content

Commit

Permalink
feat: add data
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 11, 2020
1 parent 73ea6ef commit 02df99f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 12 deletions.
12 changes: 8 additions & 4 deletions src/app/maturity/maturity.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<component-markdown-radar-chart
[(ngModel)]="tasks"
(ngModelChange)="updateModel($event)">
</component-markdown-radar-chart>
<div class="maturity">
<h3 class="center">第三部分 持续交付</h3>
<component-markdown-radar-chart
[(ngModel)]="tasks"
(ngModelChange)="updateModel($event)">
</component-markdown-radar-chart>

</div>
3 changes: 3 additions & 0 deletions src/app/maturity/maturity.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.center {
margin: 0.5em;
}
28 changes: 20 additions & 8 deletions src/app/maturity/maturity.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,26 @@ import {MarkdownTaskItemService} from '../shared/components/markdown-radar-chart
})
export class MaturityComponent implements OnInit {
private textValue = `
- [ ] 配置管理:3
- [ ] 持续与持续集成:3
- [ ] 测试管理:3
- [ ] 部署与发布管理:4
- [ ] 环境管理:4
- [ ] 数据管理:4
- [ ] 数据变更管理:3
- [ ] 度量与反馈:3
- [ ] 配置管理: 3
- [ ] 版本控制
- [ ] 变更管理
- [ ] 持续与持续集成: 3
- [ ] 构建实践
- [ ] 持续集成
- [ ] 测试管理: 3
- [ ] 测试分层策略
- [ ] 代码质量管理
- [ ] 自动化测试
- [ ] 部署与发布管理: 3
- [ ] 部署与发布管理
- [ ] 部署流水线
- [ ] 环境管理: 3
- [ ] 数据管理: 3
- [ ] 测试数据管理
- [ ] 数据变更管理
- [ ] 度量与反馈: 3
- [ ] 度量指标
- [ ] 度量驱动改进
`;
private tasks: any;
Expand Down
4 changes: 4 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ body {
.loading {
margin: 5em auto;
}

.center {
text-align: center;
}

0 comments on commit 02df99f

Please sign in to comment.