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="type">基础设施</span>
</div>
<div>
<a-button type="primary" v-if="item.approveStatus == '通过' && whoShow1.itShowXiHaiAn"
@click.stop="openVideo(val)">
视频预览
</a-button>
<div class="channelName" style="color:#ff7875" v-if="whoShow1.itShowXiHaiAn && item.ended">该流程已终止
</div>
</div>
<a-button type="primary" v-if="item.approveStatus == '通过' && whoShow1.itShowXiHaiAn"
@click.stop="openVideo(val)">
视频预览
</a-button>
<span class="channelName" style="color:#ff7875" v-if="whoShow1.itShowXiHaiAn && !item.ended" >该流程已终止</span>
</div>
<div class="ability-bottom">
<div class="dec2">位置{{ val.nodeName }}</div>
<div class="result" v-if="item.approveStatus == '通过'">
申请结果
<span>列表地址</span><span style="cursor: pointer;" @click="openView(backUrl +
'resource/getApplyCameraList/' +
item.instanceId)">{{
申请结果{{
'列表地址:' +
backUrl +
'resource/getApplyCameraList/' +
item.instanceId }}</span>
<span>视频流地址</span>
<span style="cursor: pointer" @click="openView(backUrl +
'resource/hls/getHls/?key=' +
val.channelId)">{{
item.instanceId +
';' +
'视频流地址:' +
backUrl +
'resource/hls/getHls/?key=' +
val.channelId}}</span>
val.channelId
}}
</div>
</div>
</div>
@ -458,10 +453,6 @@ const handleUser = () => {
})
}
const openView = (url) => {
window.open(url, '_blank')
}
</script>
<style lang="less" scoped>
.title {
@ -540,7 +531,7 @@ const openView = (url) => {
margin-left: 0.1rem;
.ability {
height: 1.6rem;
height: 1.3rem;
display: flex;
border-bottom: 1px #eee solid;
padding: 0.1rem 0;
@ -742,7 +733,6 @@ const openView = (url) => {
font-weight: bold;
opacity: 0.4;
transform: rotate(-25deg);
width: 470px;
width: 470px
}
</style>

File diff suppressed because it is too large Load Diff

View File

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