bi-element-ui 1.1.0 → 1.1.1

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.0",
3
+ "version": "1.1.1",
4
4
  "private": false,
5
5
  "description": "基于element-ui编写的ui组件库",
6
6
  "main": "lib/bi-element-ui.common.js",
@@ -252,7 +252,6 @@ export default {
252
252
  }
253
253
  },
254
254
  mounted() {
255
- // console.log(this.tableColumn)
256
255
  const params = {
257
256
  type: this.listType
258
257
  }
@@ -260,22 +259,15 @@ export default {
260
259
  this.getList(params)
261
260
  this.returnColumn()
262
261
  },
263
- // created() {
264
- // this.list = this.colList
265
- // },
266
262
  beforeDestroy() {
267
263
  this.visible = false
268
264
  },
269
265
  methods: {
270
266
  // 获取列表
271
267
  defaultColumnInit() {
272
- // console.log('defaultColumnInit')
273
268
  const localData = this.getLocalStorage()
274
269
  const { left, center, right } = localData || this.defaultColumn
275
270
 
276
- // this.leftColumnList = []
277
- // this.columnList = []
278
- // this.rightColumnList = []
279
271
  left.map((prop) => {
280
272
  this.checkList.push(prop)
281
273
  const column = this.tableColumnList.find((item) => item.prop === prop)
@@ -291,11 +283,8 @@ export default {
291
283
  const column = this.tableColumnList.find((item) => item.prop === prop)
292
284
  column && this.rightColumnList.push(column)
293
285
  })
294
- // console.log(this.checkList)
295
286
  },
296
287
  async getList(params) {
297
- // const res = await getTheadList(params)
298
- // if (res.status_code === 1) {
299
288
  this.colList = [
300
289
  {
301
290
  content: '分组1',
@@ -28,7 +28,6 @@
28
28
  :data="data"
29
29
  pagination
30
30
  :sticky-top="0"
31
- header-popper-type="test2"
32
31
  :column="basicColumn"
33
32
  :total="100"
34
33
  show-summary
@@ -276,6 +275,7 @@ import TableData from '@/table.js'
276
275
  // import BiTableColumn from '@/components/BiTableColumn'
277
276
  import BiTooltipIcon from '@/components/BiTooltipIcon'
278
277
  export default {
278
+ name: 'HomePage',
279
279
  components: {
280
280
  BiTooltipIcon
281
281
  // BiTable
@@ -361,9 +361,6 @@ export default {
361
361
 
362
362
  getSummaries() {
363
363
  return ['合计', '2016-05-03', '王小虎', '上海', '普陀区', '上海市普陀区金沙江路 1518 弄', '上海市普陀区金沙江路 1518 弄', 200333]
364
- },
365
- handleHeaderClick(column, event) {
366
- console.log('🚀 ~ handleHeaderClick ~ column, event:', column, event)
367
364
  }
368
365
  }
369
366
  }
@@ -280,15 +280,11 @@
280
280
  </template>
281
281
 
282
282
  <script>
283
- // import CryptoJS from 'crypto-js/md5'
284
283
  import TableData from '@/table.js'
285
- import BiTableColumn from '@/components/BiTableColumn'
286
284
  import BiTooltipIcon from '@/components/BiTooltipIcon'
287
285
  export default {
288
286
  components: {
289
287
  BiTooltipIcon
290
- // BiTableColumn
291
- // BiTable
292
288
  },
293
289
  mixins: [TableData],
294
290
  data() {