Commit b2acf8c5 authored by wangqinghua's avatar wangqinghua

单位

parent 8c185dd3
......@@ -347,6 +347,20 @@ export class AlarmModalComponent implements OnInit {
this.message.error("请输入发送信息");
return false;
}
if(this.isEvent == '1'){
if(!this.validateForm.event.title ){
this.message.error("请输入事件标题");
return false;
}
if(!this.validateForm.event.eventTypeId ){
this.message.error("请选择事件分类");
return false;
}
if(this.operatorList.length == 0 ){
this.message.error("请选择事件负责人");
return false;
}
}
let number = true;
this.sendInfoList.map(e=>{
......
......@@ -36,11 +36,6 @@ import {ThresholdComponent} from '../../../modal/threshold/threshold.component';
:host ::ng-deep .tabs-smart .ant-tabs-nav-scroll div.ant-tabs-tab:nth-child(3){
margin-right: 180px !important;
}
:host ::ng-deep .ant-tooltip-inner{
background-color: #fff;
border: 1px solid #ddd;
color: red;
}
`
]
})
......@@ -76,7 +71,7 @@ export class BasicDetailComponent implements OnInit, AfterViewInit {
//监控点
isBasicEdit;
itemTypeValue = "";
itemTypeValue;
interfaceList: any[];
itemTypeList: any[];
......@@ -839,6 +834,7 @@ export class BasicDetailComponent implements OnInit, AfterViewInit {
if (null!=res.data){
this.itemTypeList.unshift(data);
}
this.itemTypeValue = '';
}
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment