- {{ data.name }} |
- {{ data.integrity }} |
- {{ data.organization }} |
- {{ data.level }} |
- {{ data.nature }} |
- {{ data.time }} |
- {{ data.addr }} |
- {{ data.state }} |
-
+ | {{ data.name }} |
+ |
+ {{ data.organization }} |
+ {{ data.level }} |
+ {{ data.nature }} |
+ {{ data.time }} |
+ {{ data.addr }} |
+ {{ data.state }} |
+
查看详情
关闭
diff --git a/src/app/home/basic-info/unit/unit.component.scss b/src/app/home/basic-info/unit/unit.component.scss
index 71a04b5..4e535de 100644
--- a/src/app/home/basic-info/unit/unit.component.scss
+++ b/src/app/home/basic-info/unit/unit.component.scss
@@ -76,7 +76,16 @@
.grey{
color: rgba(0, 13, 33, 0.48)!important;
}
+ .progress{
+ width: 100%;
+ height: 20px;
+ background: #eee;
+ border-radius: 2px;
+ .bg{
+ width: 32%;
+ height: 100%;
+ background: #46B783;
+ }
+ }
}
- .td{
- border-style: 1px solid red;
- }
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/app/home/basic-info/unit/unit.component.ts b/src/app/home/basic-info/unit/unit.component.ts
index b603a6e..3309b62 100644
--- a/src/app/home/basic-info/unit/unit.component.ts
+++ b/src/app/home/basic-info/unit/unit.component.ts
@@ -21,7 +21,7 @@ export class UnitComponent implements OnInit {
{
id: '1',
name: 'John Brown',
- integrity: 32,
+ integrity: 20,
organization: 'New York No. 1 Lake Park',
level:'重点单位',
nature:'会议中心',
diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts
index 32ee8db..3e0f3b5 100644
--- a/src/app/home/home.module.ts
+++ b/src/app/home/home.module.ts
@@ -24,6 +24,7 @@ import { DaOneselfPlanComponent } from './task/da-oneself-plan/da-oneself-plan.c
import { StationTaskExecutionComponent } from './task/station-task-execution/station-task-execution.component';
import { StationTaskApplyComponent } from './task/station-task-apply/station-task-apply.component';
import { StationWeeklyPlanComponent } from './task/station-weekly-plan/station-weekly-plan.component';
+import { NzProgressModule } from 'ng-zorro-antd/progress';
@NgModule({
declarations: [
NavComponent,
@@ -52,7 +53,8 @@ import { StationWeeklyPlanComponent } from './task/station-weekly-plan/station-w
NzDropDownModule,
NzInputModule,
NzTableModule,
- NzIconModule
+ NzIconModule,
+ NzProgressModule
]
})
export class HomeModule { }
diff --git a/src/styles.scss b/src/styles.scss
index c48d6a6..6611369 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -155,6 +155,3 @@ app-root {
.maxHeightTreeSelect {
max-height: 280px;
}
-button{
- background: #2D4CC1;
-}
\ No newline at end of file
|