bi-element-ui 1.1.1 → 1.1.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bi-element-ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "private": false,
5
5
  "description": "基于element-ui编写的ui组件库",
6
6
  "main": "lib/bi-element-ui.common.js",
@@ -21,6 +21,30 @@
21
21
  @handleTableColumn="setTableColumn"
22
22
  />
23
23
 
24
+ <bi-table
25
+ :loading="tableLoading"
26
+ :headerPopperType="$options.name"
27
+ border
28
+ stripe
29
+ :data="data"
30
+ pagination
31
+ :sticky-top="0"
32
+ :column="basicColumn"
33
+ :total="100"
34
+ show-summary
35
+ :auto-scroll="false"
36
+ :page.sync="listQuery.page"
37
+ :limit.sync="listQuery.limit"
38
+ >
39
+ <template v-slot:province="{ row }">
40
+ {{ row.province }}
41
+ </template>
42
+ <template v-slot:city_header>
43
+ <span>市区</span>
44
+ </template>
45
+
46
+ </bi-table>
47
+
24
48
  <bi-table
25
49
  :loading="tableLoading"
26
50
  border
@@ -291,7 +315,12 @@ export default {
291
315
  label: '姓名',
292
316
  prop: 'name',
293
317
  renderHeader: (h) => {
294
- return <span>姓名(12)</span>
318
+ return (
319
+ <div>
320
+ <el-input />
321
+ 1234
322
+ </div>
323
+ )
295
324
  }
296
325
  },
297
326
  { label: '省份2', prop: 'province', slotScope: true },
@@ -341,6 +370,9 @@ export default {
341
370
  dialogVisible: false
342
371
  }
343
372
  },
373
+ mounted() {
374
+ console.log(this.$options.name)
375
+ },
344
376
  methods: {
345
377
  selectionChange(rows) {
346
378
  console.log('selected', rows)