西海岸:流程已终止更改判断条件

This commit is contained in:
guoyue 2022-10-17 14:01:05 +08:00
parent 98d1b070ab
commit e0bde554b9
1 changed files with 19 additions and 10 deletions

View File

@ -163,23 +163,27 @@
@click.stop="openVideo(val)"> @click.stop="openVideo(val)">
视频预览 视频预览
</a-button> </a-button>
<span class="channelName" style="color:#ff7875" v-if="whoShow1.itShowXiHaiAn && !item.ended" >该流程已终止</span> <span class="channelName" style="color:#ff7875"
v-if="whoShow1.itShowXiHaiAn && item.ended">该流程已终止</span>
</div> </div>
<div class="ability-bottom"> <div class="ability-bottom">
<div class="dec2">位置{{ val.nodeName }}</div> <div class="dec2">位置{{ val.nodeName }}</div>
<div class="result" v-if="item.approveStatus == '通过'"> <div class="result" v-if="item.approveStatus == '通过'">
申请结果{{ 申请结果
'列表地址:' + <span>列表地址</span><span style="cursor: pointer;" @click="openView(backUrl +
'resource/getApplyCameraList/' +
item.instanceId)">{{
backUrl + backUrl +
'resource/getApplyCameraList/' + 'resource/getApplyCameraList/' +
item.instanceId + item.instanceId }}</span>
';' + <span>视频流地址</span>
'视频流地址:' + <span style="cursor: pointer" @click="openView(backUrl +
'resource/hls/getHls/?key=' +
val.channelId)">{{
backUrl + backUrl +
'resource/hls/getHls/?key=' + 'resource/hls/getHls/?key=' +
val.channelId val.channelId}}</span>
}}
</div> </div>
</div> </div>
</div> </div>
@ -453,6 +457,10 @@ const handleUser = () => {
}) })
} }
const openView = (url) => {
window.open(url, '_blank')
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.title { .title {
@ -733,6 +741,7 @@ const handleUser = () => {
font-weight: bold; font-weight: bold;
opacity: 0.4; opacity: 0.4;
transform: rotate(-25deg); transform: rotate(-25deg);
width: 470px width: 470px;
} }
</style> </style>