+
{{item.Name}}
{{item.FireTeamName}}
-
已到场
-
0">
-
+
已到场
+
0">
+
diff --git a/src/app/ui/plan-assistance/plan-assistance.component.scss b/src/app/ui/plan-assistance/plan-assistance.component.scss
index c1ea7e3..a13bb04 100644
--- a/src/app/ui/plan-assistance/plan-assistance.component.scss
+++ b/src/app/ui/plan-assistance/plan-assistance.component.scss
@@ -69,6 +69,12 @@
text-overflow:ellipsis;
white-space: nowrap;
}
+ .countdown{
+ flex: 40%;
+ line-height: 50px;
+ font-weight: 550;
+ text-align: center;
+ }
}
}
@@ -76,6 +82,14 @@
.selectIcon {
background-color: rgba(13, 139, 241, 0.7);
}
+//小于五分钟 css
+.smallFive {
+ color: rgb(245, 166, 19);
+}
+//大于十分钟 css
+.bigTen {
+ color: #fff;
+}
//右侧工作区
.center {
diff --git a/src/app/ui/plan-assistance/plan-assistance.component.ts b/src/app/ui/plan-assistance/plan-assistance.component.ts
index e31df47..799c99b 100644
--- a/src/app/ui/plan-assistance/plan-assistance.component.ts
+++ b/src/app/ui/plan-assistance/plan-assistance.component.ts
@@ -6864,15 +6864,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '水罐消防车',
- FireTeamName: '八塘消防救援站', // 所属消防队
- ReachTime: 3, // 到场剩余时间
- WaterYield: '12t', // 载水量
- Foam: '0t', // 载泡沫
- PeopleNum: 6, // 载人数
- Tonnage: '14t', // 吨位
- Assignment: '冷却', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '八塘消防救援站', //所属消防队
+ ReachTime: 240, //到场剩余时间
+ WaterYield: '12t',//载水量
+ Foam: '0t', //载泡沫
+ PeopleNum: 6, //载人数
+ Tonnage: '14t', //吨位
+ Assignment: '冷却', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -6914,15 +6914,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '水罐泡沫消防车',
- FireTeamName: '八塘消防救援站', // 所属消防队
- ReachTime: 3, // 到场剩余时间
- WaterYield: '6t', // 载水量
- Foam: '2t', // 载泡沫
- PeopleNum: 6, // 载人数
- Tonnage: '8t', // 吨位
- Assignment: '冷却', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '八塘消防救援站', //所属消防队
+ ReachTime: 240, //到场剩余时间
+ WaterYield: '6t',//载水量
+ Foam: '2t', //载泡沫
+ PeopleNum: 6, //载人数
+ Tonnage: '8t', //吨位
+ Assignment: '冷却', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -6964,15 +6964,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '水罐泡沫消防车',
- FireTeamName: '八塘消防救援站', // 所属消防队
- ReachTime: 3, // 到场剩余时间
- WaterYield: '3t', // 载水量
- Foam: '1t', // 载泡沫
- PeopleNum: 8, // 载人数
- Tonnage: '5t', // 吨位
- Assignment: '堵截', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '八塘消防救援站', //所属消防队
+ ReachTime: 240, //到场剩余时间
+ WaterYield: '3t',//载水量
+ Foam: '1t', //载泡沫
+ PeopleNum: 8, //载人数
+ Tonnage: '5t', //吨位
+ Assignment: '堵截', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -7014,15 +7014,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '举高喷射消防车',
- FireTeamName: '八塘消防救援站', // 所属消防队
- ReachTime: 4, // 到场剩余时间
- WaterYield: '16t', // 载水量
- Foam: '2t', // 载泡沫
- PeopleNum: 4, // 载人数
- Tonnage: '18t', // 吨位
- Assignment: '灭火', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '八塘消防救援站', //所属消防队
+ ReachTime: 300, //到场剩余时间
+ WaterYield: '16t',//载水量
+ Foam: '2t', //载泡沫
+ PeopleNum: 4, //载人数
+ Tonnage: '18t', //吨位
+ Assignment: '灭火', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -7064,15 +7064,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '水罐泡沫消防车',
- FireTeamName: '龚州消防救援站', // 所属消防队
- ReachTime: 11, // 到场剩余时间
- WaterYield: '6t', // 载水量
- Foam: '2t', // 载泡沫
- PeopleNum: 6, // 载人数
- Tonnage: '8t', // 吨位
- Assignment: '供液', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '龚州消防救援站', //所属消防队
+ ReachTime: 660, //到场剩余时间
+ WaterYield: '6t',//载水量
+ Foam: '2t', //载泡沫
+ PeopleNum: 6, //载人数
+ Tonnage: '8t', //吨位
+ Assignment: '供液', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -7114,15 +7114,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '水罐泡沫消防车',
- FireTeamName: '龚州消防救援站', // 所属消防队
- ReachTime: 15, // 到场剩余时间
- WaterYield: '5t', // 载水量
- Foam: '1t', // 载泡沫
- PeopleNum: 6, // 载人数
- Tonnage: '7t', // 吨位
- Assignment: '供液', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '龚州消防救援站', //所属消防队
+ ReachTime: 720, //到场剩余时间
+ WaterYield: '5t',//载水量
+ Foam: '1t', //载泡沫
+ PeopleNum: 6, //载人数
+ Tonnage: '7t', //吨位
+ Assignment: '供液', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -7164,15 +7164,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '水罐泡沫消防车',
- FireTeamName: '龚州消防救援站', // 所属消防队
- ReachTime: 15, // 到场剩余时间
- WaterYield: '3t', // 载水量
- Foam: '1t', // 载泡沫
- PeopleNum: 6, // 载人数
- Tonnage: '5t', // 吨位
- Assignment: '供液', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '龚州消防救援站', //所属消防队
+ ReachTime: 960, //到场剩余时间
+ WaterYield: '3t',//载水量
+ Foam: '1t', //载泡沫
+ PeopleNum: 6, //载人数
+ Tonnage: '5t', //吨位
+ Assignment: '供液', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -7214,15 +7214,15 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
y: 1237
},
Name: '举高喷射消防车',
- FireTeamName: '龚州消防救援站', // 所属消防队
- ReachTime: 15, // 到场剩余时间
- WaterYield: '18t', // 载水量
- Foam: '2t', // 载泡沫
- PeopleNum: 4, // 载人数
- Tonnage: '20t', // 吨位
- Assignment: '灭火', // 执行任务
- LinkCar: '', // 连接车辆
- WaterOccupy: '', // 水源占用
+ FireTeamName: '龚州消防救援站', //所属消防队
+ ReachTime: 960, //到场剩余时间
+ WaterYield: '18t',//载水量
+ Foam: '2t', //载泡沫
+ PeopleNum: 4, //载人数
+ Tonnage: '20t', //吨位
+ Assignment: '灭火', //执行任务
+ LinkCar: '', //连接车辆
+ WaterOccupy: '', //水源占用
PropertyInfos: [
{
Enabled: true,
@@ -7268,21 +7268,21 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
}
- // 选择 车辆
- selectCar(e) {
- console.log(e);
- this.canvasData.selectCar = e;
- this.bottomIsShow = true;
+ //倒计时结束
+ handleEvent (e,item) {
+ e.left==0? item.ReachTime=0 : null
}
- // 倒计时结束
- handleEvent(e, item) {
- console.log(e, item);
+ //选择 车辆
+ selectCar (e) {
+ console.log(e)
+ this.canvasData.selectCar = e
+ this.bottomIsShow = true
}
- // 关闭 底部车辆信息
- closeBottom() {
- this.bottomIsShow = false;
+ //关闭 底部车辆信息
+ closeBottom () {
+ this.bottomIsShow = false
}
// 打开 右侧楼层
diff --git a/src/app/ui/plan/collection-tools.component.scss b/src/app/ui/plan/collection-tools.component.scss
index 8af5ded..435f3b1 100644
--- a/src/app/ui/plan/collection-tools.component.scss
+++ b/src/app/ui/plan/collection-tools.component.scss
@@ -148,7 +148,7 @@
flex-direction: column;
margin-left: 0px;
transition: margin-left 0.5s;
- min-width: 235px;
+ // min-width: 235px;
border: 1px solid #30bbec;
width: 235px;
left: 0;
diff --git a/src/app/ui/ui.module.ts b/src/app/ui/ui.module.ts
index 0533da8..dc4212a 100644
--- a/src/app/ui/ui.module.ts
+++ b/src/app/ui/ui.module.ts
@@ -62,7 +62,7 @@ import { DangerousComponent, GisComponent } from './dangerous/dangerous.componen
import { SimilarPlansComponent } from './similar-plans/similar-plans.component';
import { RealCasesComponent } from './real-cases/real-cases.component';
import { PlanAssistanceComponent } from './plan-assistance/plan-assistance.component';
-
+import { CountdownModule } from 'ngx-countdown';
@NgModule({
declarations: [SafeHtmlPipe,GisComponent,UiComponent,PersonaldataComponent, ChangepasswordComponent,IsnoPipe,ConfirmpswDirective,TimePipe, CollectionToolsComponent,WorkingAreaComponent,CreateBuilding,EditBuilding,leftFunctionalDomainComponent,editPlaneFigureComponent,ViewDetails,saveOneDialog,saveTwoDialog,addDisposalNodeComponent,editDisposalNodeComponent, DisposalNodeComponent, DangerousComponent, SimilarPlansComponent, RealCasesComponent, PlanAssistanceComponent,planComponent],
@@ -112,7 +112,7 @@ import { PlanAssistanceComponent } from './plan-assistance/plan-assistance.compo
MatTreeModule,
PortalModule,
ScrollingModule,
-
+ CountdownModule,
ReactiveFormsModule,
FormsModule,
FileUploadModule