imatrix-ui 2.9.15-dw → 2.9.15-dw-tmp2

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": "imatrix-ui",
3
- "version": "2.9.15-dw",
3
+ "version": "2.9.15-dw-tmp2",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -1824,8 +1824,10 @@ export default {
1824
1824
  })
1825
1825
  },
1826
1826
  doSearch(searchForm) {
1827
+ console.log('doSearch----searchForm111=', searchForm)
1827
1828
  // 修改当前页为第1页
1828
1829
  this.currentPage = 1
1830
+ console.log('doSearch----searchForm=', searchForm)
1829
1831
  // 将toolbar 参数和查询表单参数合并
1830
1832
  if (searchForm) {
1831
1833
  if (searchForm.length > 0) {
@@ -1847,6 +1849,7 @@ export default {
1847
1849
  }
1848
1850
  }
1849
1851
  }
1852
+ console.log('doSearch----searchForm2=', searchForm)
1850
1853
  this.search(searchForm, true)
1851
1854
  },
1852
1855
  doSearchDialog(searchForm) {
@@ -1857,6 +1860,7 @@ export default {
1857
1860
  },
1858
1861
  // cs123
1859
1862
  search(searchForm, isSearch, parentRowIds) {
1863
+ console.log('doSearch----searchForm3=', searchForm)
1860
1864
  // 重新查询列表数据时,抛出refresh事件,供父组件捕获做自己的业务处理
1861
1865
  this.$emit('refresh')
1862
1866
  const vm = this
@@ -1912,6 +1916,7 @@ export default {
1912
1916
  }
1913
1917
  resolve(gridData)
1914
1918
  } else {
1919
+ console.log('doSearch----searchForm4=', searchForm)
1915
1920
  vm.fetchData(vm.getSearchParam(), isSearch, parentRowIds)
1916
1921
  .then(data => {
1917
1922
  console.log('打印1====', gridParams)
@@ -1985,6 +1990,7 @@ export default {
1985
1990
  }
1986
1991
  },
1987
1992
  getSearchParam() {
1993
+ console.log('doSearch--getSearchParam-----')
1988
1994
  const searchParam = {
1989
1995
  code: this.code
1990
1996
  }
@@ -2087,12 +2093,14 @@ export default {
2087
2093
  }
2088
2094
  },
2089
2095
  handleCurrentChange(val) {
2096
+ console.log('handleCurrentChange======val=', val)
2090
2097
  if (!this.options || !this.options.isPageShow) {
2091
2098
  // 翻页操作会导致筛选项发生变化,所以需要清空已有的
2092
2099
  this.changePage()
2093
2100
  }
2094
2101
  },
2095
2102
  changePage() {
2103
+ console.log('changePage======', this.currentChange)
2096
2104
  // 翻页操作会导致筛选项发生变化,所以需要清空已有的
2097
2105
  this.$refs.superGrid.clearFilter()
2098
2106
  // TODO: 把当前页数、每页条数、查询条件、排序信息传回后台
@@ -2109,6 +2117,7 @@ export default {
2109
2117
  }
2110
2118
  },
2111
2119
  handleSortChange({ column, prop, order }) {
2120
+ console.log('handleSortChange=======')
2112
2121
  if (!this.options || !this.options.isPageShow) {
2113
2122
  let columnSetting = null
2114
2123
  const items = this.visibleColumns.filter(item => {