处理服务重启或设备重新上线时的订阅,优化通道导入重复的处理
This commit is contained in:
64
web_src/src/components/dialog/importChannelShowErrorData.vue
Normal file
64
web_src/src/components/dialog/importChannelShowErrorData.vue
Normal file
@@ -0,0 +1,64 @@
|
||||
<template>
|
||||
<div id="importChannelShowErrorData" v-loading="isLoging">
|
||||
<el-dialog
|
||||
title="导入通道数据成功,但数据存在重复"
|
||||
width="30rem"
|
||||
top="2rem"
|
||||
:append-to-body="true"
|
||||
:close-on-click-modal="false"
|
||||
:visible.sync="showDialog"
|
||||
:destroy-on-close="true"
|
||||
@close="close()"
|
||||
>
|
||||
<div >
|
||||
重复国标ID:
|
||||
<el-button style="float: right;" type="primary" size="mini" icon="el-icon-document-copy" title="点击拷贝" v-clipboard="gbIds.join(',')" @success="$message({type:'success', message:'成功拷贝到粘贴板'})">复制</el-button>
|
||||
<ul class="errDataBox">
|
||||
<li v-for="id in gbIds" >
|
||||
{{ id }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div >
|
||||
重复App/stream:
|
||||
<el-button style="float: right;" type="primary" size="mini" icon="el-icon-document-copy" title="点击拷贝" v-clipboard="streams.join(',')" @success="$message({type:'success', message:'成功拷贝到粘贴板'})">复制</el-button>
|
||||
<ul class="errDataBox">
|
||||
<li v-for="id in streams" >
|
||||
{{ id }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: "importChannelShowErrorData",
|
||||
computed: {},
|
||||
created() {},
|
||||
props: ['gbIds', 'streams'],
|
||||
data() {
|
||||
return {
|
||||
isLoging: false,
|
||||
showDialog: false,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
openDialog: function () {
|
||||
this.showDialog = true;
|
||||
},
|
||||
close: function () {
|
||||
this.showDialog = false;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
.errDataBox{
|
||||
max-height: 15rem;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user