1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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> 
 |  
  |