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
| <template>
| <div>
| <el-popover
| placement="bottom-end"
| width="265"
| trigger="click"
| >
| <dnd-list :list1="list1" />
|
| <el-button
| slot="reference"
| style="cursor: pointer;position: absolute;padding:0;top:11px;right: 60px;z-index: 99;"
| >
| <el-tooltip class="item" effect="dark" content="列设置" placement="top">
| <i class="el-icon-s-tools" />
| </el-tooltip>
| </el-button>
| </el-popover>
| </div>
| </template>
|
| <script>
| import DndList from '@/components/DndList'
|
| export default {
| name: 'Index',
| components: { DndList },
| props: {
| list1: {
| type: Array,
| default() {
| return []
| }
| }
| },
| data() {
| return {
| // list1: [
| // { id: 1, name: '预计完工时间' },
| // { id: 2, name: '楼李俊2' },
| // { id: 3, name: '楼李俊3' },
| // { id: 4, name: '楼李俊4' }
| // ]
| }
| },
| methods: {}
| }
| </script>
|
| <style scoped lang="scss">
| </style>
|
|