Compare commits

..

No commits in common. "587c728a74bfc380990e6bab1dc7f62168e037cf" and "f20aac7430275e399a8d1699d2fa10a7bdee4271" have entirely different histories.

3 changed files with 821 additions and 740 deletions

View File

@ -159,32 +159,27 @@
<span class="channelName">{{ val.channelName }}</span> <span class="channelName">{{ val.channelName }}</span>
<span class="type">基础设施</span> <span class="type">基础设施</span>
</div> </div>
<div> <a-button type="primary" v-if="item.approveStatus == '通过' && whoShow1.itShowXiHaiAn"
<a-button type="primary" v-if="item.approveStatus == '通过' && whoShow1.itShowXiHaiAn" @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>
<div class="channelName" style="color:#ff7875" v-if="whoShow1.itShowXiHaiAn && item.ended">该流程已终止
</div>
</div>
</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 }}</span> item.instanceId +
<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}}</span> val.channelId
}}
</div> </div>
</div> </div>
</div> </div>
@ -458,10 +453,6 @@ const handleUser = () => {
}) })
} }
const openView = (url) => {
window.open(url, '_blank')
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.title { .title {
@ -540,7 +531,7 @@ const openView = (url) => {
margin-left: 0.1rem; margin-left: 0.1rem;
.ability { .ability {
height: 1.6rem; height: 1.3rem;
display: flex; display: flex;
border-bottom: 1px #eee solid; border-bottom: 1px #eee solid;
padding: 0.1rem 0; padding: 0.1rem 0;
@ -742,7 +733,6 @@ const openView = (url) => {
font-weight: bold; font-weight: bold;
opacity: 0.4; opacity: 0.4;
transform: rotate(-25deg); transform: rotate(-25deg);
width: 470px; width: 470px
} }
</style> </style>

File diff suppressed because it is too large Load Diff

View File

@ -650,19 +650,17 @@ const ceshiFunction = () => {
} }
// delOne delList handleDelete // delOne delList handleDelete
const handleDelete = (item, index) => { const handleDelete = (item, index) => {
console.log('item, index------------>', item, index);
console.log('item------------>', item); console.log('item------------>', item);
let delArr = []; let delArr = [];
// //
if (index) { if (item) {
delArr = [item.id] delArr = [item.id]
} else { } else {
// //
if (checkedListAbility.value.length == 0) { if (checkedListAbility.value.length == 0) {
return message.warning('请先选择需要操作的数据!') return message.warning('请先选择需要操作的数据!')
} else { } else {
delArr = checkedListAbility.value delArr = checkedListAbility.value.map(v=>v.id)
} }
} }
sgcDel({ sgcDel({