| | |
| | | }); |
| | | }, |
| | | 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"; |
| | | }, |
| | |
| | | @click="dotJump(item.offset)" |
| | | ></div> |
| | | <div |
| | | v-if="checkType === 2" |
| | | v-if="checkType === 2 || checkType === 3" |
| | | class="self-dot" |
| | | :class=" |
| | | curVideo.IsOperate == '11' && |
| | |
| | | item.text.indexOf("仰卧") > -1 |
| | | ) { |
| | | this.checkType = 2; |
| | | } else if ( |
| | | item.text.indexOf("瞭望") > -1 || |
| | | item.text.indexOf("人数变化") > -1 |
| | | ) { |
| | | this.checkType = 3; |
| | | } else { |
| | | this.checkType = 1; |
| | | } |