| | |
| | | }); |
| | | }, |
| | | hasError(data) { |
| | | let status = true; |
| | | if (!data.EventLst || data.EventLst.length == 0) { |
| | | return false; |
| | | } |
| | | |
| | | data.EventLst.forEach((item) => { |
| | | if ( |
| | | item.Event.indexOf("瞭望") > -1 || |
| | | item.Event.indexOf("人数变化") > -1 |
| | | ) { |
| | | status = false; |
| | | false; |
| | | } |
| | | }); |
| | | |
| | | if (!status) { |
| | | return false; |
| | | } |
| | | |
| | | const t = data.EventLst.some((x) => x.state == 0); |
| | | return t && data.IsOperate == "1"; |
| | | }, |
| | |
| | | .config { |
| | | display: flex; |
| | | flex-wrap: no-wrap; |
| | | cursor: pointer; |
| | | border-bottom: 1px solid #d7dce8; |
| | | .title { |
| | | padding: 10px 20px; |
| | |
| | | .more { |
| | | margin-top: 7px; |
| | | padding: 0px 6px; |
| | | |
| | | cursor: pointer; |
| | | margin-right: 10px; |
| | | width: 46px; |
| | | height: 25px; |
| | |
| | | .multCheck { |
| | | margin-top: 7px; |
| | | width: 44px; |
| | | cursor: pointer; |
| | | height: 23px; |
| | | line-height: 23px; |
| | | padding: 0px 12px; |
| | |
| | | span { |
| | | color: #ee4e6e; |
| | | } |
| | | // &:hover { |
| | | // color: #7695ec; |
| | | // border-color: #7695ec; |
| | | // } |
| | | // &.checked { |
| | | // color: #409eff; |
| | | // border-color: #409eff; |
| | | // } |
| | | } |
| | | } |
| | | .el-menu.el-menu--horizontal { |