Browse Source

[修改]预案模板去除四级预案

上海一张图
chenjingyu 4 years ago
parent
commit
2b1d6f66a2
  1. 4
      src/app/ui/plan-template/addKeyname.html
  2. 4
      src/app/ui/plan-template/plan-template.component.html
  3. 6
      src/app/ui/plan-template/plan-template.component.scss
  4. 7
      src/app/ui/plan-template/plan-template.component.ts
  5. 4
      src/app/ui/plan-template/upPlan.html

4
src/app/ui/plan-template/addKeyname.html

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-05-20 16:11:57
* @LastEditors: sueRimn
* @LastEditTime: 2021-05-29 10:30:48
* @LastEditTime: 2021-06-15 09:56:11
-->
<div class="box">
<div class="top">
@ -23,7 +23,7 @@
<mat-form-field>
<mat-select placeholder='请选择预案级别' name="level" [(ngModel)]="level" required>
<mat-option value=3>Ⅲ级</mat-option>
<mat-option value=4>Ⅳ级</mat-option>
<!-- <mat-option value=4>Ⅳ级</mat-option> -->
<mat-option value=5>Ⅴ级</mat-option>
</mat-select>
</mat-form-field>

4
src/app/ui/plan-template/plan-template.component.html

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-05-19 15:50:20
* @LastEditors: sueRimn
* @LastEditTime: 2021-06-10 14:52:05
* @LastEditTime: 2021-06-15 10:20:06
-->
<div class="box">
<div class="boxleft">
@ -53,7 +53,7 @@
<span>{{item.groupName}}</span>
</div>
<div class="caozuotwo">
<div class="addinfo" (click)='addAttribute(item.groupName)'>
<div *ngIf="item.groupName!='预案附件'&&item.groupName!='交通水源'&&item.groupName!='重点图示'" class="addinfo" (click)='addAttribute(item.groupName)'>
<img src="../../../assets/images/update.png" style="height: 15px;margin-top: 4px;">
<span style="margin-left: 2px;">编辑</span>
</div>

6
src/app/ui/plan-template/plan-template.component.scss

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-05-19 15:50:20
* @LastEditors: sueRimn
* @LastEditTime: 2021-06-10 14:53:43
* @LastEditTime: 2021-06-15 10:44:55
*/
.box{
height: 97%;
@ -308,8 +308,10 @@
.attackRight{
width: 30%;
.rightButton{
float: right;
margin-top: 20px;
margin-left: 40%;
margin-right: 8%;
//margin-left: 40%;
}
}
}

7
src/app/ui/plan-template/plan-template.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-05-31 10:40:01
* @LastEditors: sueRimn
* @LastEditTime: 2021-06-09 16:45:09
* @LastEditTime: 2021-06-15 10:33:44
*/
import { Component, Inject, OnInit,ViewEncapsulation } from '@angular/core';
@ -193,7 +193,7 @@ export class PlanTemplateComponent implements OnInit {
}) */
const dialogRef = this.dialog.open(addGroup, {//调用open方法打开对话框并且携带参数过去
width: '240px',
height:'590px',
height:'620px',
disableClose:true,
data:this.group==null?null:this.group.length==0?null:this.group
});
@ -640,7 +640,8 @@ export class addGroup{
{groupName:'单位概况',completed:false},{groupName:'灾情设定',completed:false},{groupName:'力量调集',completed:false},
{groupName:'组织指挥',completed:false},{groupName:'作战行动',completed:false},{groupName:'社会联动',completed:false},
{groupName:'勤务保障',completed:false},{groupName:'特别警示',completed:false},{groupName:'辅助决策',completed:false},
{groupName:'交通水源',completed:false},{groupName:'重点图示',completed:false},{groupName:'预案附件',completed:false}
{groupName:'交通水源',completed:false},{groupName:'重点图示',completed:false},{groupName:'特别警示',completed:false},
{groupName:'预案附件',completed:false}
]
groupName=[]
ngOnInit(): void{

4
src/app/ui/plan-template/upPlan.html

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-05-21 10:43:28
* @LastEditors: sueRimn
* @LastEditTime: 2021-05-29 10:52:11
* @LastEditTime: 2021-06-15 10:47:09
-->
<!--
* @Descripttion:
@ -31,7 +31,7 @@
<mat-form-field>
<mat-select placeholder='请选择预案级别' name="unittype" [(ngModel)]="level" required>
<mat-option value="3">Ⅲ级</mat-option>
<mat-option value="4">Ⅳ级</mat-option>
<!-- <mat-option value="4">Ⅳ级</mat-option> -->
<mat-option value="5">Ⅴ级</mat-option>
</mat-select>
</mat-form-field>

Loading…
Cancel
Save