bi-element-ui 0.1.50 → 0.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/.browserslistrc +3 -3
  2. package/.eslintrc.js +287 -287
  3. package/.prettierrc +7 -7
  4. package/README.md +148 -148
  5. package/cypress.json +3 -3
  6. package/lib/bi-element-ui.common.js +24625 -24756
  7. package/lib/bi-element-ui.css +1 -1
  8. package/lib/bi-element-ui.umd.js +24625 -24756
  9. package/lib/bi-element-ui.umd.min.js +279 -2
  10. package/lib/static/img/swiperBg.png +0 -0
  11. package/package.json +57 -57
  12. package/src/App.vue +42 -42
  13. package/src/components/BiDatePicker/datePickerOption.js +229 -229
  14. package/src/components/BiDatePicker/index.vue +74 -74
  15. package/src/components/BiTable/columu.vue +104 -104
  16. package/src/components/BiTable/forced.js +76 -76
  17. package/src/components/BiTable/index.js +6 -6
  18. package/src/components/BiTable/render.vue +13 -13
  19. package/src/components/BiTable/table.vue +202 -202
  20. package/src/components/BiTableColumn/Group.vue +277 -277
  21. package/src/components/BiTableColumn/api.js +16 -16
  22. package/src/components/BiTableColumn/index.vue +614 -614
  23. package/src/components/BiTooltipIcon/index.vue +71 -71
  24. package/src/components/EditBtn.vue +15 -15
  25. package/src/components/FreeButton/index.vue +69 -69
  26. package/src/components/Pagination/index.vue +104 -104
  27. package/src/components/Pagination/scrollTo.js +69 -69
  28. package/src/main.js +18 -18
  29. package/src/router/index.js +39 -39
  30. package/src/store/index.js +11 -11
  31. package/src/table.js +463 -463
  32. package/src/views/Date.vue +132 -132
  33. package/src/views/Home.vue +330 -330
  34. package/src/views/Scene.vue +140 -140
  35. package/src/views/Table.vue +220 -220
  36. package/src/views/showData.vue +455 -455
  37. package/tests/e2e/.eslintrc.js +10 -10
  38. package/tests/e2e/plugins/index.js +25 -25
  39. package/tests/e2e/specs/test.js +8 -8
  40. package/tests/e2e/support/commands.js +25 -25
  41. package/tests/e2e/support/index.js +20 -20
  42. package/tests/unit/example.spec.js +13 -13
  43. package//345/211/215/347/253/257ui/346/240/267/345/274/217/350/247/204/350/214/203.md +101 -0
  44. package/dist/css/about.2c825c53.css +0 -1
  45. package/dist/css/chunk-vendors.8140bef9.css +0 -1
  46. package/dist/css/index.16a68369.css +0 -1
  47. package/dist/favicon.ico +0 -0
  48. package/dist/fonts/element-icons.535877f5.woff +0 -0
  49. package/dist/fonts/element-icons.732389de.ttf +0 -0
  50. package/dist/index.html +0 -1
  51. package/dist/js/about.78bcdce4.js +0 -2
  52. package/dist/js/chunk-vendors.dcba7b0e.js +0 -318
  53. package/dist/js/index.62a7fbd4.js +0 -2
  54. package/dist/static/img/swiperBg.png +0 -0
package/src/table.js CHANGED
@@ -1,463 +1,463 @@
1
- import EditBtn from './components/EditBtn'
2
-
3
- export default {
4
- data() {
5
- return {
6
- defaultColumnList: [
7
- {
8
- content: '分组1',
9
- status: false,
10
- children: [
11
- {
12
- name: 'date',
13
- content: '日期',
14
- status: false
15
- }
16
- ]
17
- },
18
- {
19
- content: '分组2',
20
- status: false,
21
- children: [
22
- { content: '姓名', name: 'name', status: false },
23
- { content: '省份', name: 'province', status: false },
24
- { content: '市区', name: 'city', status: false }
25
- ]
26
- },
27
- {
28
- content: '分组3',
29
- status: false,
30
- children: [
31
- { content: '地址', name: 'address', status: false },
32
- { content: '地址2', name: 'address2', status: false },
33
- { content: '邮编', name: 'zip', status: false },
34
- { content: 'v-model', name: 'other', status: false }
35
- ]
36
- }
37
- ],
38
- renderColumn: [
39
- { label: '日期', prop: 'date' },
40
- {
41
- label: '姓名',
42
- prop: 'name'
43
- },
44
- { label: '省份', prop: 'province', slotScope: true },
45
- { label: '市区', prop: 'city', slotScope: true },
46
- { label: '地址', prop: 'address' },
47
- { label: '邮编', prop: 'zip' }
48
- ],
49
-
50
- slotColumn: [
51
- { label: '日期', prop: 'date' },
52
- { label: '姓名', prop: 'name' },
53
- { label: '省份', prop: 'province' },
54
- { label: '市区', prop: 'city' },
55
- { label: '地址', prop: 'address' },
56
- { label: '邮编', prop: 'zip', slotScope: true }
57
- ],
58
-
59
- componentColumn: [
60
- { label: '日期', prop: 'date' },
61
- { label: '姓名', prop: 'name' },
62
- { label: '省份', prop: 'province' },
63
- { label: '市区', prop: 'city' },
64
- { label: '地址', prop: 'address' },
65
- { label: '邮编', prop: 'zip' },
66
- {
67
- label: '组件',
68
- prop: 'cmp',
69
- component: EditBtn,
70
- listeners: {
71
- 'row-edit'(row) {
72
- console.log('row-edit', row)
73
- }
74
- }
75
- }
76
- ],
77
-
78
- typesColumn: [
79
- { label: '序号', prop: 'index', type: 'index' },
80
- { label: '选择', prop: 'selection', type: 'selection' },
81
- { label: '日期', prop: 'date' },
82
- { label: '省份', prop: 'province' },
83
- { label: '姓名', prop: 'name' },
84
- { label: '市区', prop: 'city' },
85
- { label: '地址', prop: 'address' },
86
- {
87
- label: '更多',
88
- prop: 'expand',
89
- type: 'expand',
90
- render: (h, scope) => {
91
- const { row } = scope
92
- return (
93
- <div>
94
- <p>姓名:{row.name}</p>
95
- <p>日期:{row.date}</p>
96
- <p>
97
- 地址:{row.province} {row.address} {row.address}
98
- </p>
99
- <p>邮编:{row.zip}</p>
100
- </div>
101
- )
102
- }
103
- },
104
- { label: '邮编', prop: 'zip' }
105
- ],
106
-
107
- complexColumn: [
108
- {
109
- label: '更多',
110
- prop: 'expand',
111
- type: 'expand',
112
- render: (h, scope) => {
113
- return <span>--{scope.row.name}--</span>
114
- }
115
- },
116
- { label: '选择', prop: 'selection', type: 'selection' },
117
- { label: '日期', prop: 'date' },
118
- { label: '姓名', prop: 'name' },
119
- {
120
- label: '省份',
121
- prop: 'province',
122
- formatter(row, col) {
123
- return '中国 -' + row[col.property]
124
- }
125
- },
126
- { label: '市区', prop: 'city' },
127
- { label: '地址', prop: 'address' },
128
- { label: '邮编', prop: 'zip' },
129
- {
130
- label: '操作',
131
- prop: 'cation',
132
- align: 'center',
133
- width: 200,
134
- render: (h, scope) => {
135
- return (
136
- <div>
137
- <el-button
138
- icon="el-icon-edit-outline"
139
- type="primary"
140
- size="small"
141
- onClick={() => {
142
- this.openDialog(scope)
143
- }}
144
- >
145
- 编辑
146
- </el-button>
147
- <el-button
148
- icon="el-icon-delete"
149
- type="danger"
150
- size="small"
151
- onClick={() => {
152
- alert('del')
153
- }}
154
- >
155
- 删除
156
- </el-button>
157
- </div>
158
- )
159
- }
160
- }
161
- ],
162
-
163
- fullscreenColumn: [
164
- { label: '日期', prop: 'date', sortable: true, fixed: true },
165
- { label: '姓名', prop: 'name' },
166
- { label: '省份', prop: 'province' },
167
- { label: '市区', prop: 'city' },
168
- { label: '地址', prop: 'address', width: 300 },
169
- { label: '地址2', prop: 'address', width: 300 },
170
- { label: '地址3', prop: 'address', width: 300 },
171
- { label: '邮编', prop: 'zip' },
172
- { label: '操作', prop: 'cmp', component: EditBtn, fixed: 'right' }
173
- ],
174
-
175
- data: [
176
- {
177
- id: 1,
178
- date: '2016-05-03',
179
- name: '王小虎',
180
- province: '上海',
181
- city: '普陀区',
182
- address: '上海市普陀区金沙江路 1518 弄',
183
- address2: '上海市普陀区金沙江路 1518 弄',
184
- zip: 200333
185
- },
186
- {
187
- id: 2,
188
- date: '2016-05-02',
189
- name: '赵四',
190
- province: '东北',
191
- city: '普陀区',
192
- address: '上海市普陀区金沙江路 1518 弄',
193
- address2: '上海市普陀区金沙江路 1518 弄',
194
- zip: 200333,
195
- children: [
196
- {
197
- id: 11,
198
- date: '2000-05-02',
199
- name: '我是嵌套',
200
- province: '南极',
201
- city: '普陀区',
202
- address: '上海市普陀区金沙江路 1518 弄',
203
- address2: '上海市普陀区金沙江路 1518 弄',
204
- zip: 200333
205
- },
206
- {
207
- id: 12,
208
- date: '1999-05-02',
209
- name: '我是嵌套000',
210
- province: '美国',
211
- city: '普陀区',
212
- address: '上海市普陀区金沙江路 1518 弄',
213
- address2: '上海市普陀区金沙江路 1518 弄',
214
- zip: 200333
215
- }
216
- ]
217
- },
218
- {
219
- id: 3,
220
- date: '2016-05-04',
221
- name: '张三疯',
222
- province: '武当山',
223
- city: '普陀区',
224
- address: '上海市普陀区金沙江路 1518 弄',
225
- address2: '上海市普陀区金沙江路 1518 弄',
226
- zip: 200333
227
- },
228
- {
229
- id: 4,
230
- date: '2016-05-044',
231
- name: '李连杰',
232
- province: '新加坡',
233
- city: '普陀区',
234
- address: '上海市普陀区金沙江路 1516 T',
235
- zip: 200333
236
- },
237
- {
238
- id: 5,
239
- date: '2016-05-044',
240
- name: '李连杰',
241
- province: '新加坡',
242
- city: '普陀区',
243
- address: '上海市普陀区金沙江路 1516 T',
244
- zip: 200333
245
- },
246
- {
247
- id: 5,
248
- date: '2016-05-044',
249
- name: '李连杰',
250
- province: '新加坡',
251
- city: '普陀区',
252
- address: '上海市普陀区金沙江路 1516 T',
253
- zip: 200333
254
- },
255
- {
256
- id: 5,
257
- date: '2016-05-044',
258
- name: '李连杰',
259
- province: '新加坡',
260
- city: '普陀区',
261
- address: '上海市普陀区金沙江路 1516 T',
262
- zip: 200333
263
- },
264
- {
265
- id: 5,
266
- date: '2016-05-044',
267
- name: '李连杰',
268
- province: '新加坡',
269
- city: '普陀区',
270
- address: '上海市普陀区金沙江路 1516 T',
271
- zip: 200333
272
- },
273
- {
274
- id: 5,
275
- date: '2016-05-044',
276
- name: '李连杰',
277
- province: '新加坡',
278
- city: '普陀区',
279
- address: '上海市普陀区金沙江路 1516 T',
280
- zip: 200333
281
- },
282
- {
283
- id: 5,
284
- date: '2016-05-044',
285
- name: '李连杰',
286
- province: '新加坡',
287
- city: '普陀区',
288
- address: '上海市普陀区金沙江路 1516 T',
289
- zip: 200333
290
- },
291
- {
292
- id: 5,
293
- date: '2016-05-044',
294
- name: '李连杰',
295
- province: '新加坡',
296
- city: '普陀区',
297
- address: '上海市普陀区金沙江路 1516 T',
298
- zip: 200333
299
- },
300
- {
301
- id: 5,
302
- date: '2016-05-044',
303
- name: '李连杰',
304
- province: '新加坡',
305
- city: '普陀区',
306
- address: '上海市普陀区金沙江路 1516 T',
307
- zip: 200333
308
- },
309
- {
310
- id: 5,
311
- date: '2016-05-044',
312
- name: '李连杰',
313
- province: '新加坡',
314
- city: '普陀区',
315
- address: '上海市普陀区金沙江路 1516 T',
316
- zip: 200333
317
- },
318
- {
319
- id: 5,
320
- date: '2016-05-044',
321
- name: '李连杰',
322
- province: '新加坡',
323
- city: '普陀区',
324
- address: '上海市普陀区金沙江路 1516 T',
325
- zip: 200333
326
- },
327
- {
328
- id: 5,
329
- date: '2016-05-044',
330
- name: '李连杰',
331
- province: '新加坡',
332
- city: '普陀区',
333
- address: '上海市普陀区金沙江路 1516 T',
334
- zip: 200333
335
- },
336
- {
337
- id: 5,
338
- date: '2016-05-044',
339
- name: '李连杰',
340
- province: '新加坡',
341
- city: '普陀区',
342
- address: '上海市普陀区金沙江路 1516 T',
343
- zip: 200333
344
- },
345
- {
346
- id: 5,
347
- date: '2016-05-044',
348
- name: '李连杰',
349
- province: '新加坡',
350
- city: '普陀区',
351
- address: '上海市普陀区金沙江路 1516 T',
352
- zip: 200333
353
- },
354
- {
355
- id: 5,
356
- date: '2016-05-044',
357
- name: '李连杰',
358
- province: '新加坡',
359
- city: '普陀区',
360
- address: '上海市普陀区金沙江路 1516 T',
361
- zip: 200333
362
- },
363
- {
364
- id: 5,
365
- date: '2016-05-044',
366
- name: '李连杰',
367
- province: '新加坡',
368
- city: '普陀区',
369
- address: '上海市普陀区金沙江路 1516 T',
370
- zip: 200333
371
- },
372
- {
373
- id: 5,
374
- date: '2016-05-044',
375
- name: '李连杰',
376
- province: '新加坡',
377
- city: '普陀区',
378
- address: '上海市普陀区金沙江路 1516 T',
379
- zip: 200333
380
- },
381
- {
382
- id: 5,
383
- date: '2016-05-044',
384
- name: '李连杰',
385
- province: '新加坡',
386
- city: '普陀区',
387
- address: '上海市普陀区金沙江路 1516 T',
388
- zip: 200333
389
- },
390
- {
391
- id: 5,
392
- date: '2016-05-044',
393
- name: '李连杰',
394
- province: '新加坡',
395
- city: '普陀区',
396
- address: '上海市普陀区金沙江路 1516 T',
397
- zip: 200333
398
- },
399
- {
400
- id: 5,
401
- date: '2016-05-044',
402
- name: '李连杰',
403
- province: '新加坡',
404
- city: '普陀区',
405
- address: '上海市普陀区金沙江路 1516 T',
406
- zip: 200333
407
- },
408
- {
409
- id: 5,
410
- date: '2016-05-044',
411
- name: '李连杰',
412
- province: '新加坡',
413
- city: '普陀区',
414
- address: '上海市普陀区金沙江路 1516 T',
415
- zip: 200333
416
- }
417
- ],
418
- minData: [
419
- {
420
- id: 1,
421
- date: '2016-05-03',
422
- name: '王小虎',
423
- province: '上海',
424
- city: '普陀区',
425
- address: '上海市普陀区金沙江路 1518 弄',
426
- address2: '上海市普陀区金沙江路 1518 弄',
427
- zip: 200333
428
- },
429
- {
430
- id: 2,
431
- date: '2016-05-03',
432
- name: '王小虎',
433
- province: '上海',
434
- city: '普陀区',
435
- address: '上海市普陀区金沙江路 1518 弄',
436
- address2: '上海市普陀区金沙江路 1518 弄',
437
- zip: 200333
438
- }
439
- ],
440
- renderHeader: [
441
- {
442
- label: '姓名',
443
- prop: 'name',
444
- render: (h, scope) => {
445
- return (
446
- <el-popover trigger="hover" content="这是一段内容,这是一段内容">
447
- <el-tag slot="reference">{scope.row.name}</el-tag>
448
- </el-popover>
449
- )
450
- }
451
- },
452
- {
453
- label: '省份',
454
- prop: 'province',
455
- slotScope: true
456
- },
457
- { label: '市区', prop: 'city', slotScope: true },
458
- { label: '地址', prop: 'address' },
459
- { label: '邮编', prop: 'zip' }
460
- ]
461
- }
462
- }
463
- }
1
+ import EditBtn from './components/EditBtn'
2
+
3
+ export default {
4
+ data() {
5
+ return {
6
+ defaultColumnList: [
7
+ {
8
+ content: '分组1',
9
+ status: false,
10
+ children: [
11
+ {
12
+ name: 'date',
13
+ content: '日期',
14
+ status: false
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ content: '分组2',
20
+ status: false,
21
+ children: [
22
+ { content: '姓名', name: 'name', status: false },
23
+ { content: '省份', name: 'province', status: false },
24
+ { content: '市区', name: 'city', status: false }
25
+ ]
26
+ },
27
+ {
28
+ content: '分组3',
29
+ status: false,
30
+ children: [
31
+ { content: '地址', name: 'address', status: false },
32
+ { content: '地址2', name: 'address2', status: false },
33
+ { content: '邮编', name: 'zip', status: false },
34
+ { content: 'v-model', name: 'other', status: false }
35
+ ]
36
+ }
37
+ ],
38
+ renderColumn: [
39
+ { label: '日期', prop: 'date' },
40
+ {
41
+ label: '姓名',
42
+ prop: 'name'
43
+ },
44
+ { label: '省份', prop: 'province', slotScope: true },
45
+ { label: '市区', prop: 'city', slotScope: true },
46
+ { label: '地址', prop: 'address' },
47
+ { label: '邮编', prop: 'zip' }
48
+ ],
49
+
50
+ slotColumn: [
51
+ { label: '日期', prop: 'date' },
52
+ { label: '姓名', prop: 'name' },
53
+ { label: '省份', prop: 'province' },
54
+ { label: '市区', prop: 'city' },
55
+ { label: '地址', prop: 'address' },
56
+ { label: '邮编', prop: 'zip', slotScope: true }
57
+ ],
58
+
59
+ componentColumn: [
60
+ { label: '日期', prop: 'date' },
61
+ { label: '姓名', prop: 'name' },
62
+ { label: '省份', prop: 'province' },
63
+ { label: '市区', prop: 'city' },
64
+ { label: '地址', prop: 'address' },
65
+ { label: '邮编', prop: 'zip' },
66
+ {
67
+ label: '组件',
68
+ prop: 'cmp',
69
+ component: EditBtn,
70
+ listeners: {
71
+ 'row-edit'(row) {
72
+ console.log('row-edit', row)
73
+ }
74
+ }
75
+ }
76
+ ],
77
+
78
+ typesColumn: [
79
+ { label: '序号', prop: 'index', type: 'index' },
80
+ { label: '选择', prop: 'selection', type: 'selection' },
81
+ { label: '日期', prop: 'date' },
82
+ { label: '省份', prop: 'province' },
83
+ { label: '姓名', prop: 'name' },
84
+ { label: '市区', prop: 'city' },
85
+ { label: '地址', prop: 'address' },
86
+ {
87
+ label: '更多',
88
+ prop: 'expand',
89
+ type: 'expand',
90
+ render: (h, scope) => {
91
+ const { row } = scope
92
+ return (
93
+ <div>
94
+ <p>姓名:{row.name}</p>
95
+ <p>日期:{row.date}</p>
96
+ <p>
97
+ 地址:{row.province} {row.address} {row.address}
98
+ </p>
99
+ <p>邮编:{row.zip}</p>
100
+ </div>
101
+ )
102
+ }
103
+ },
104
+ { label: '邮编', prop: 'zip' }
105
+ ],
106
+
107
+ complexColumn: [
108
+ {
109
+ label: '更多',
110
+ prop: 'expand',
111
+ type: 'expand',
112
+ render: (h, scope) => {
113
+ return <span>--{scope.row.name}--</span>
114
+ }
115
+ },
116
+ { label: '选择', prop: 'selection', type: 'selection' },
117
+ { label: '日期', prop: 'date' },
118
+ { label: '姓名', prop: 'name' },
119
+ {
120
+ label: '省份',
121
+ prop: 'province',
122
+ formatter(row, col) {
123
+ return '中国 -' + row[col.property]
124
+ }
125
+ },
126
+ { label: '市区', prop: 'city' },
127
+ { label: '地址', prop: 'address' },
128
+ { label: '邮编', prop: 'zip' },
129
+ {
130
+ label: '操作',
131
+ prop: 'cation',
132
+ align: 'center',
133
+ width: 200,
134
+ render: (h, scope) => {
135
+ return (
136
+ <div>
137
+ <el-button
138
+ icon="el-icon-edit-outline"
139
+ type="primary"
140
+ size="small"
141
+ onClick={() => {
142
+ this.openDialog(scope)
143
+ }}
144
+ >
145
+ 编辑
146
+ </el-button>
147
+ <el-button
148
+ icon="el-icon-delete"
149
+ type="danger"
150
+ size="small"
151
+ onClick={() => {
152
+ alert('del')
153
+ }}
154
+ >
155
+ 删除
156
+ </el-button>
157
+ </div>
158
+ )
159
+ }
160
+ }
161
+ ],
162
+
163
+ fullscreenColumn: [
164
+ { label: '日期', prop: 'date', sortable: true, fixed: true },
165
+ { label: '姓名', prop: 'name' },
166
+ { label: '省份', prop: 'province' },
167
+ { label: '市区', prop: 'city' },
168
+ { label: '地址', prop: 'address', width: 300 },
169
+ { label: '地址2', prop: 'address', width: 300 },
170
+ { label: '地址3', prop: 'address', width: 300 },
171
+ { label: '邮编', prop: 'zip' },
172
+ { label: '操作', prop: 'cmp', component: EditBtn, fixed: 'right' }
173
+ ],
174
+
175
+ data: [
176
+ {
177
+ id: 1,
178
+ date: '2016-05-03',
179
+ name: '王小虎',
180
+ province: '上海',
181
+ city: '普陀区',
182
+ address: '上海市普陀区金沙江路 1518 弄',
183
+ address2: '上海市普陀区金沙江路 1518 弄',
184
+ zip: 200333
185
+ },
186
+ {
187
+ id: 2,
188
+ date: '2016-05-02',
189
+ name: '赵四',
190
+ province: '东北',
191
+ city: '普陀区',
192
+ address: '上海市普陀区金沙江路 1518 弄',
193
+ address2: '上海市普陀区金沙江路 1518 弄',
194
+ zip: 200333,
195
+ children: [
196
+ {
197
+ id: 11,
198
+ date: '2000-05-02',
199
+ name: '我是嵌套',
200
+ province: '南极',
201
+ city: '普陀区',
202
+ address: '上海市普陀区金沙江路 1518 弄',
203
+ address2: '上海市普陀区金沙江路 1518 弄',
204
+ zip: 200333
205
+ },
206
+ {
207
+ id: 12,
208
+ date: '1999-05-02',
209
+ name: '我是嵌套000',
210
+ province: '美国',
211
+ city: '普陀区',
212
+ address: '上海市普陀区金沙江路 1518 弄',
213
+ address2: '上海市普陀区金沙江路 1518 弄',
214
+ zip: 200333
215
+ }
216
+ ]
217
+ },
218
+ {
219
+ id: 3,
220
+ date: '2016-05-04',
221
+ name: '张三疯',
222
+ province: '武当山',
223
+ city: '普陀区',
224
+ address: '上海市普陀区金沙江路 1518 弄',
225
+ address2: '上海市普陀区金沙江路 1518 弄',
226
+ zip: 200333
227
+ },
228
+ {
229
+ id: 4,
230
+ date: '2016-05-044',
231
+ name: '李连杰',
232
+ province: '新加坡',
233
+ city: '普陀区',
234
+ address: '上海市普陀区金沙江路 1516 T',
235
+ zip: 200333
236
+ },
237
+ {
238
+ id: 5,
239
+ date: '2016-05-044',
240
+ name: '李连杰',
241
+ province: '新加坡',
242
+ city: '普陀区',
243
+ address: '上海市普陀区金沙江路 1516 T',
244
+ zip: 200333
245
+ },
246
+ {
247
+ id: 5,
248
+ date: '2016-05-044',
249
+ name: '李连杰',
250
+ province: '新加坡',
251
+ city: '普陀区',
252
+ address: '上海市普陀区金沙江路 1516 T',
253
+ zip: 200333
254
+ },
255
+ {
256
+ id: 5,
257
+ date: '2016-05-044',
258
+ name: '李连杰',
259
+ province: '新加坡',
260
+ city: '普陀区',
261
+ address: '上海市普陀区金沙江路 1516 T',
262
+ zip: 200333
263
+ },
264
+ {
265
+ id: 5,
266
+ date: '2016-05-044',
267
+ name: '李连杰',
268
+ province: '新加坡',
269
+ city: '普陀区',
270
+ address: '上海市普陀区金沙江路 1516 T',
271
+ zip: 200333
272
+ },
273
+ {
274
+ id: 5,
275
+ date: '2016-05-044',
276
+ name: '李连杰',
277
+ province: '新加坡',
278
+ city: '普陀区',
279
+ address: '上海市普陀区金沙江路 1516 T',
280
+ zip: 200333
281
+ },
282
+ {
283
+ id: 5,
284
+ date: '2016-05-044',
285
+ name: '李连杰',
286
+ province: '新加坡',
287
+ city: '普陀区',
288
+ address: '上海市普陀区金沙江路 1516 T',
289
+ zip: 200333
290
+ },
291
+ {
292
+ id: 5,
293
+ date: '2016-05-044',
294
+ name: '李连杰',
295
+ province: '新加坡',
296
+ city: '普陀区',
297
+ address: '上海市普陀区金沙江路 1516 T',
298
+ zip: 200333
299
+ },
300
+ {
301
+ id: 5,
302
+ date: '2016-05-044',
303
+ name: '李连杰',
304
+ province: '新加坡',
305
+ city: '普陀区',
306
+ address: '上海市普陀区金沙江路 1516 T',
307
+ zip: 200333
308
+ },
309
+ {
310
+ id: 5,
311
+ date: '2016-05-044',
312
+ name: '李连杰',
313
+ province: '新加坡',
314
+ city: '普陀区',
315
+ address: '上海市普陀区金沙江路 1516 T',
316
+ zip: 200333
317
+ },
318
+ {
319
+ id: 5,
320
+ date: '2016-05-044',
321
+ name: '李连杰',
322
+ province: '新加坡',
323
+ city: '普陀区',
324
+ address: '上海市普陀区金沙江路 1516 T',
325
+ zip: 200333
326
+ },
327
+ {
328
+ id: 5,
329
+ date: '2016-05-044',
330
+ name: '李连杰',
331
+ province: '新加坡',
332
+ city: '普陀区',
333
+ address: '上海市普陀区金沙江路 1516 T',
334
+ zip: 200333
335
+ },
336
+ {
337
+ id: 5,
338
+ date: '2016-05-044',
339
+ name: '李连杰',
340
+ province: '新加坡',
341
+ city: '普陀区',
342
+ address: '上海市普陀区金沙江路 1516 T',
343
+ zip: 200333
344
+ },
345
+ {
346
+ id: 5,
347
+ date: '2016-05-044',
348
+ name: '李连杰',
349
+ province: '新加坡',
350
+ city: '普陀区',
351
+ address: '上海市普陀区金沙江路 1516 T',
352
+ zip: 200333
353
+ },
354
+ {
355
+ id: 5,
356
+ date: '2016-05-044',
357
+ name: '李连杰',
358
+ province: '新加坡',
359
+ city: '普陀区',
360
+ address: '上海市普陀区金沙江路 1516 T',
361
+ zip: 200333
362
+ },
363
+ {
364
+ id: 5,
365
+ date: '2016-05-044',
366
+ name: '李连杰',
367
+ province: '新加坡',
368
+ city: '普陀区',
369
+ address: '上海市普陀区金沙江路 1516 T',
370
+ zip: 200333
371
+ },
372
+ {
373
+ id: 5,
374
+ date: '2016-05-044',
375
+ name: '李连杰',
376
+ province: '新加坡',
377
+ city: '普陀区',
378
+ address: '上海市普陀区金沙江路 1516 T',
379
+ zip: 200333
380
+ },
381
+ {
382
+ id: 5,
383
+ date: '2016-05-044',
384
+ name: '李连杰',
385
+ province: '新加坡',
386
+ city: '普陀区',
387
+ address: '上海市普陀区金沙江路 1516 T',
388
+ zip: 200333
389
+ },
390
+ {
391
+ id: 5,
392
+ date: '2016-05-044',
393
+ name: '李连杰',
394
+ province: '新加坡',
395
+ city: '普陀区',
396
+ address: '上海市普陀区金沙江路 1516 T',
397
+ zip: 200333
398
+ },
399
+ {
400
+ id: 5,
401
+ date: '2016-05-044',
402
+ name: '李连杰',
403
+ province: '新加坡',
404
+ city: '普陀区',
405
+ address: '上海市普陀区金沙江路 1516 T',
406
+ zip: 200333
407
+ },
408
+ {
409
+ id: 5,
410
+ date: '2016-05-044',
411
+ name: '李连杰',
412
+ province: '新加坡',
413
+ city: '普陀区',
414
+ address: '上海市普陀区金沙江路 1516 T',
415
+ zip: 200333
416
+ }
417
+ ],
418
+ minData: [
419
+ {
420
+ id: 1,
421
+ date: '2016-05-03',
422
+ name: '王小虎',
423
+ province: '上海',
424
+ city: '普陀区',
425
+ address: '上海市普陀区金沙江路 1518 弄',
426
+ address2: '上海市普陀区金沙江路 1518 弄',
427
+ zip: 200333
428
+ },
429
+ {
430
+ id: 2,
431
+ date: '2016-05-03',
432
+ name: '王小虎',
433
+ province: '上海',
434
+ city: '普陀区',
435
+ address: '上海市普陀区金沙江路 1518 弄',
436
+ address2: '上海市普陀区金沙江路 1518 弄',
437
+ zip: 200333
438
+ }
439
+ ],
440
+ renderHeader: [
441
+ {
442
+ label: '姓名',
443
+ prop: 'name',
444
+ render: (h, scope) => {
445
+ return (
446
+ <el-popover trigger="hover" content="这是一段内容,这是一段内容">
447
+ <el-tag slot="reference">{scope.row.name}</el-tag>
448
+ </el-popover>
449
+ )
450
+ }
451
+ },
452
+ {
453
+ label: '省份',
454
+ prop: 'province',
455
+ slotScope: true
456
+ },
457
+ { label: '市区', prop: 'city', slotScope: true },
458
+ { label: '地址', prop: 'address' },
459
+ { label: '邮编', prop: 'zip' }
460
+ ]
461
+ }
462
+ }
463
+ }