imatrix-ui 2.9.33-dw → 2.9.34-dw

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.33-dw",
3
+ "version": "2.9.34-dw",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -40,7 +40,8 @@ import dynamicSourceSelectService from './dynamic-source-select-service'
40
40
  import events from './events'
41
41
  import {
42
42
  setEntityFieldValue,
43
- getPropNameWhenJoinTable
43
+ getPropNameWhenJoinTable,
44
+ getEntityFieldValue
44
45
  } from '../../../src/utils/util'
45
46
  export default {
46
47
  name: 'DynamicSourceSelect',
@@ -104,6 +105,12 @@ export default {
104
105
  if (this.entity) {
105
106
  markValue = JSON.stringify(this.entity)
106
107
  }
108
+ let lastValues = []
109
+ if (this.baseProps.multiple !== undefined && this.baseProps.multiple === true) {
110
+ if (this.value !== undefined && this.value !== null && this.value && Array.isArray(this.value)) {
111
+ lastValues = JSON.parse(JSON.stringify(this.value))
112
+ }
113
+ }
107
114
  return {
108
115
  /**
109
116
  * 用于回显动态数据源选择的默认值,因为初始进入编辑状态时,没有获取映射关系,
@@ -121,7 +128,8 @@ export default {
121
128
  additionalParameterStr: this.options.additionalParameter, // 附加参数json字符串
122
129
  isLoaded: false,
123
130
  watchAttr: null, // 监控的entity属性名,多个属性名逗号分隔。即当该属性修改时,需要走后台重新获得当前下拉选的选项集合
124
- backendUrl: null // 后台访问路径
131
+ backendUrl: null, // 后台访问路径
132
+ lastValues // 最后一次的value值,用于判断是否是增加元素
125
133
  }
126
134
  },
127
135
  watch: {
@@ -367,40 +375,162 @@ export default {
367
375
  },
368
376
  setValues(newValue) {
369
377
  if (this.valueSetOptions && this.valueSetOptions.length > 0) {
370
- this.valueSetOptions.forEach(columnInfo => {
371
- const sourceColumnName = columnInfo.columnName
378
+ if (this.baseProps.multiple !== undefined && this.baseProps.multiple === true) {
379
+ // 多选时
380
+ this.setColumnValueWhenMulti(newValue)
381
+ } else {
382
+ // 单选时
383
+ this.valueSetOptions.forEach(columnInfo => {
384
+ const sourceColumnName = columnInfo.columnName
385
+ let value
386
+ if (this.optionItems && sourceColumnName) {
387
+ value = this.getTargetColumnValue(newValue, sourceColumnName)
388
+ }
389
+ this.setColumnValue(sourceColumnName, value, columnInfo)
390
+ })
391
+ }
392
+ }
393
+ },
394
+ // 设置字段的值
395
+ setColumnValue(sourceColumnName, value, columnInfo) {
396
+ let targetColumnName = null
397
+ const targetColumnInfo = columnInfo.valueColumn
398
+ if (targetColumnInfo) {
399
+ targetColumnName = targetColumnInfo.name
400
+ if (this.isSql === true) {
401
+ targetColumnName = targetColumnInfo.dbColumnName
402
+ targetColumnName = getPropNameWhenJoinTable(
403
+ targetColumnName,
404
+ this.isJoinTable,
405
+ this.tableName
406
+ )
407
+ }
408
+ }
409
+ if (
410
+ this.entity &&
411
+ targetColumnName &&
412
+ targetColumnName !== null &&
413
+ targetColumnName !== ''
414
+ ) {
415
+ setEntityFieldValue(this.entity, targetColumnName, value)
416
+ }
417
+ this.$emit('set-value', {
418
+ value: value,
419
+ sourceColumnName: sourceColumnName,
420
+ targetColumnName: targetColumnName,
421
+ options: this.optionItems,
422
+ valueAttribute: this.valueAttribute
423
+ })
424
+ },
425
+ // 多选下拉框时处理增加tag、减少tag时,映射字段赋值问题
426
+ setColumnValueWhenMulti(newValue) {
427
+ // 是否添加tag
428
+ let isAddTag = false
429
+ let removeTag
430
+ this.valueSetOptions.forEach(columnInfo => {
431
+ const sourceColumnName = columnInfo.columnName
432
+ if (sourceColumnName === this.valueAttribute) {
433
+ // 是当前下拉选组件对应的字段时,才需要走该方法
434
+ // 字段的值
372
435
  let value
373
436
  if (this.optionItems && sourceColumnName) {
374
437
  value = this.getTargetColumnValue(newValue, sourceColumnName)
375
438
  }
376
- let targetColumnName = null
377
- const targetColumnInfo = columnInfo.valueColumn
378
- if (targetColumnInfo) {
379
- targetColumnName = targetColumnInfo.name
380
- if (this.isSql === true) {
381
- targetColumnName = targetColumnInfo.dbColumnName
382
- targetColumnName = getPropNameWhenJoinTable(
383
- targetColumnName,
384
- this.isJoinTable,
385
- this.tableName
386
- )
439
+ this.setColumnValue(sourceColumnName, value, columnInfo)
440
+ if (this.lastValues.length < newValue.length) {
441
+ // 表示是增加tag
442
+ isAddTag = true
443
+ } else if (this.lastValues.length > newValue.length) {
444
+ // 表示减少tag
445
+ isAddTag = false
446
+ const totalArr = [...this.lastValues, ...newValue]
447
+ const totalSet = new Set(totalArr)
448
+ const arr = Array.from(totalSet)
449
+ const removeTagArr = [...arr.filter(item => !this.lastValues.includes(item)), ...arr.filter(item => !newValue.includes(item))]
450
+ if (removeTagArr && removeTagArr.length > 0) {
451
+ removeTag = removeTagArr[0]
387
452
  }
388
453
  }
389
- if (
390
- this.entity &&
454
+ this.lastValues = JSON.parse(JSON.stringify(newValue))
455
+ // 跳出forEach循环
456
+ return
457
+ }
458
+ })
459
+ if (isAddTag) {
460
+ // 表示是增加tag
461
+ const isRemove = false
462
+ const lastSelectTag = newValue[newValue.length - 1]
463
+ const items = this.optionItems.filter(
464
+ item => item[this.valueAttribute] === lastSelectTag
465
+ )
466
+ if (items && items.length > 0) {
467
+ this.setTagValue(null, isRemove, items[0])
468
+ }
469
+ } else {
470
+ // 表示是减少tag
471
+ const isRemove = true
472
+ this.setTagValue(removeTag, isRemove)
473
+ }
474
+ },
475
+ // 根据tag参数设置映射字段的值
476
+ setTagValue(tag, isRemove, selectItem) {
477
+ if (this.valueSetOptions && this.valueSetOptions.length > 0) {
478
+ this.valueSetOptions.forEach(columnInfo => {
479
+ const sourceColumnName = columnInfo.columnName
480
+ if (sourceColumnName !== this.valueAttribute) {
481
+ let targetColumnName = null
482
+ const targetColumnInfo = columnInfo.valueColumn
483
+ if (targetColumnInfo) {
484
+ targetColumnName = targetColumnInfo.name
485
+ if (this.isSql === true) {
486
+ targetColumnName = targetColumnInfo.dbColumnName
487
+ targetColumnName = getPropNameWhenJoinTable(
488
+ targetColumnName,
489
+ this.isJoinTable,
490
+ this.tableName
491
+ )
492
+ }
493
+ }
494
+ let value
495
+ if (targetColumnName) {
496
+ const originalValue = getEntityFieldValue(this.entity, targetColumnName)
497
+ if (isRemove) {
498
+ // 移除tag
499
+ const index = this.value.indexOf(tag)
500
+ if (originalValue !== undefined && originalValue !== null && originalValue !== '') {
501
+ const originalVals = originalValue.split(',')
502
+ originalVals.splice(index, 1)
503
+ value = originalVals.join(',')
504
+ }
505
+ } else {
506
+ // 添加tag
507
+ let addValue
508
+ if (selectItem) {
509
+ addValue = selectItem[sourceColumnName]
510
+ }
511
+ if (originalValue !== undefined && originalValue !== null && originalValue !== '') {
512
+ value = originalValue + ',' + addValue
513
+ } else {
514
+ value = addValue
515
+ }
516
+ }
517
+ }
518
+ if (
519
+ this.entity &&
391
520
  targetColumnName &&
392
521
  targetColumnName !== null &&
393
522
  targetColumnName !== ''
394
- ) {
395
- setEntityFieldValue(this.entity, targetColumnName, value)
523
+ ) {
524
+ setEntityFieldValue(this.entity, targetColumnName, value)
525
+ }
526
+ this.$emit('set-value', {
527
+ value: value,
528
+ sourceColumnName: sourceColumnName,
529
+ targetColumnName: targetColumnName,
530
+ options: this.optionItems,
531
+ valueAttribute: this.valueAttribute
532
+ })
396
533
  }
397
- this.$emit('set-value', {
398
- value: value,
399
- sourceColumnName: sourceColumnName,
400
- targetColumnName: targetColumnName,
401
- options: this.optionItems,
402
- valueAttribute: this.valueAttribute
403
- })
404
534
  })
405
535
  }
406
536
  },
@@ -502,7 +502,7 @@ export default {
502
502
  setEntityFieldValue(this.models, model, finallyOrgResult)
503
503
  // Vue.set(this.models, model, finallyOrgResult)
504
504
  }
505
- console.log('this.value', this.models)
505
+ // console.log('this.value', this.models)
506
506
  // 调用setValue事件
507
507
  this.$emit('setValue', model, finallyOrgResult)
508
508
  if (finallyOrgResult === undefined || finallyOrgResult === null || finallyOrgResult === '') {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Message
3
- } from 'element-ui'
3
+ } from '@gcommon/gcommon-ui'
4
4
  import Vue from 'vue'
5
5
  import {
6
6
  getI18n
@@ -64,17 +64,17 @@ function exportResultData(dataParam, excelName, listCode, exportOptions, functio
64
64
  })
65
65
  } else {
66
66
  // const dataIds = []
67
- if (dataParam && dataParam.hasOwnProperty('data')) {
68
- // 导出选中行
69
- console.log('data', dataParam.data)
70
- // dataParam.data.forEach(item => {
71
- // if (item.id) {
72
- // dataIds.push(item.id)
73
- // } else if (item.ID) {
74
- // dataIds.push(item.ID)
75
- // }
76
- // })
77
- }
67
+ // if (dataParam && dataParam.hasOwnProperty('data')) {
68
+ // 导出选中行
69
+ // console.log('data', dataParam.data)
70
+ // dataParam.data.forEach(item => {
71
+ // if (item.id) {
72
+ // dataIds.push(item.id)
73
+ // } else if (item.ID) {
74
+ // dataIds.push(item.ID)
75
+ // }
76
+ // })
77
+ // }
78
78
  // 导出台账数据,有查询条件则导出查询条件对应的数据,没有查询条件则导出所有记录
79
79
  exportListData(excelName, listCode, dataParam.data, functionCode, uuid, isAsync, pageCode, isPermission).then((result) => {
80
80
  resolve(result)
@@ -156,7 +156,7 @@ export default {
156
156
  paste_data_images: true, // 图片是否可粘贴'
157
157
  urlconverter_callback: (url, node, onSave, name) => {
158
158
  if (node === 'img' && url.startsWith('blob:')) {
159
- console.log('urlconverter_callback ....')
159
+ // console.log('urlconverter_callback ....')
160
160
  tinymce.activeEditor && tinymce.activeEditor.uploadImages()
161
161
  return url
162
162
  }
@@ -165,10 +165,10 @@ export default {
165
165
  images_upload_handler: (blobInfo, success, failure, progress) => {
166
166
  let file
167
167
  if (blobInfo.blob() instanceof File) {
168
- console.log('images_upload_handler .File')
168
+ // console.log('images_upload_handler .File')
169
169
  file = blobInfo.blob()
170
170
  } else {
171
- console.log('images_upload_handler .base64')
171
+ // console.log('images_upload_handler .base64')
172
172
  file = _that.base64ToFile(blobInfo.base64(), 'a.png')
173
173
  }
174
174
  const params = new FormData()
@@ -179,7 +179,7 @@ export default {
179
179
  }
180
180
  }
181
181
  _that.$http.post('/common/fs-upload/rich-editor-image', params, config).then(res => {
182
- console.log(res)
182
+ // console.log(res)
183
183
  success(res.url)
184
184
  }).catch(() => {
185
185
  failure('上传出错,服务器开小差了呢')
@@ -232,7 +232,7 @@ export default {
232
232
  },
233
233
  methods: {
234
234
  showImage($event) {
235
- console.log(this.$refs.previewImg)
235
+ // console.log(this.$refs.previewImg)
236
236
  this.srcList = [$event.target.currentSrc]
237
237
  this.$refs.previewImg.showViewer = true
238
238
  },
@@ -251,7 +251,7 @@ export default {
251
251
  this.ImageComponent = Vue.extend({
252
252
  methods: {
253
253
  showImage($event) {
254
- console.log($event)
254
+ // console.log($event)
255
255
  that.showImage($event)
256
256
  }
257
257
  },
@@ -86,7 +86,7 @@ export default {
86
86
  this.ImageComponent = Vue.extend({
87
87
  methods: {
88
88
  showImage($event) {
89
- console.log($event)
89
+ // console.log($event)
90
90
  that.showImage($event)
91
91
  }
92
92
  },
@@ -33,7 +33,7 @@ export default {
33
33
  this.openScan()
34
34
  },
35
35
  beforeDestroy() {
36
- console.log('销毁定时器')
36
+ // console.log('销毁定时器')
37
37
  this.codeReader.reset()
38
38
  },
39
39
  methods: {
@@ -42,7 +42,7 @@ export default {
42
42
  that.codeReader.listVideoInputDevices().then((videoInputDevices) => {
43
43
  that.tipShow = true
44
44
  that.tipMsg = this.$t('messageVideo.callingRearCamera')
45
- console.log('videoInputDevices', videoInputDevices)
45
+ // console.log('videoInputDevices', videoInputDevices)
46
46
  // 默认获取第一个摄像头设备id
47
47
  let firstDeviceId = videoInputDevices[0].deviceId
48
48
  // 获取第一个摄像头设备的名称
@@ -69,7 +69,7 @@ export default {
69
69
  that.codeReader.listVideoInputDevices().then((videoInputDevices) => {
70
70
  that.tipShow = true
71
71
  that.tipMsg = this.$t('messageVideo.callingRearCamera')
72
- console.log('videoInputDevices', videoInputDevices)
72
+ // console.log('videoInputDevices', videoInputDevices)
73
73
  // 默认获取第一个摄像头设备id
74
74
  let firstDeviceId = videoInputDevices[0].deviceId
75
75
  // 获取第一个摄像头设备的名称
@@ -97,7 +97,7 @@ export default {
97
97
  // let nowContent = null
98
98
  that.textContent = null
99
99
  if (result) {
100
- console.log(result)
100
+ // console.log(result)
101
101
  that.textContent = result.text
102
102
  if (that.textContent) {
103
103
  that.tipShow = false
@@ -291,9 +291,9 @@ export default {
291
291
  }
292
292
  }
293
293
  }
294
- console.log('config拖动字段', vm.columns)
295
- console.log('config拖动字段oldIndex', oldIndex)
296
- console.log('config拖动字段newIndex', newIndex)
294
+ // console.log('config拖动字段', vm.columns)
295
+ // console.log('config拖动字段oldIndex', oldIndex)
296
+ // console.log('config拖动字段newIndex', newIndex)
297
297
  vm.hasLoaded = false
298
298
  setTimeout(function() {
299
299
  vm.hasLoaded = true
@@ -201,12 +201,12 @@ const customFormatter = {
201
201
  const result = initialization(JSON.parse(jumpPageJson), row, isSql, additionalParamerter, contextParameter, tableName, parentFormData)
202
202
  // console.log('getHyperLinkSetting--resut=', result)
203
203
  if (result && result.label && result.label !== '') {
204
- console.log('label存在')
204
+ // console.log('label存在')
205
205
  } else {
206
206
  result.label = this.objectPropValueTwo(row, column)
207
207
  }
208
208
  if (result && result.title && result.title !== '') {
209
- console.log('title存在')
209
+ // console.log('title存在')
210
210
  } else {
211
211
  result.title = result.label
212
212
  }
@@ -230,11 +230,11 @@ const customFormatter = {
230
230
  let canClick = true
231
231
  const gridParams = store.get(listCode)
232
232
  const jumpPageSetting = JSON.parse(jumpPageJson)
233
- console.log('gupre-grid---clickHyperLink--jumpPageSetting=', jumpPageSetting)
233
+ // console.log('gupre-grid---clickHyperLink--jumpPageSetting=', jumpPageSetting)
234
234
  if (jumpPageSetting.beforeClick) {
235
235
  const funName = jumpPageSetting.beforeClick
236
- console.log('gupre-grid---clickHyperLink--jumpPageSetting.beforeClick=', funName)
237
- console.log('gupre-grid---clickHyperLink--gridParams.options[eventCallBack]=', gridParams.options['eventCallBack'])
236
+ // console.log('gupre-grid---clickHyperLink--jumpPageSetting.beforeClick=', funName)
237
+ // console.log('gupre-grid---clickHyperLink--gridParams.options[eventCallBack]=', gridParams.options['eventCallBack'])
238
238
  if (gridParams.options && gridParams.options['eventCallBack'] &&
239
239
  gridParams.options['eventCallBack'][funName] && typeof (gridParams.options['eventCallBack'][funName]) === 'function') {
240
240
  const param = {
@@ -261,9 +261,9 @@ const customFormatter = {
261
261
  if (gridParams.options.extraParam && gridParams.options.extraParam.entityMap) {
262
262
  parentFormData = gridParams.options.extraParam.entityMap
263
263
  }
264
- console.log('ridParams.options.extraParam.entityMap', gridParams.options.extraParam)
264
+ // console.log('ridParams.options.extraParam.entityMap', gridParams.options.extraParam)
265
265
  jumpToPage(jumpPageSetting, gridParams.system, row.id ? row.id : row.ID, row, gridParams.additionalParamMap, null, null, parentFormData).then((openPageParams) => {
266
- console.log('clickHyperLink--openPageParams===', openPageParams)
266
+ // console.log('clickHyperLink--openPageParams===', openPageParams)
267
267
  if (openPageParams) {
268
268
  // 点击列表组件中某元素弹出的页面
269
269
  openPageParams._position = 'list'
@@ -1233,7 +1233,7 @@ export default {
1233
1233
  this.$emit('refresMainTableFields', map)
1234
1234
  },
1235
1235
  deleteSuccess(deleteFile) {
1236
- console.log('deleteSuccess', deleteFile, this.fileInfo)
1236
+ // console.log('deleteSuccess', deleteFile, this.fileInfo)
1237
1237
  },
1238
1238
  // 时间格式判断是否是字符串类型,如果是字符串类型使用格式化的数据,如果是时间格式的显示时间搓
1239
1239
  isValueFormat() {
@@ -36,7 +36,7 @@ export default {
36
36
 
37
37
  },
38
38
  created() {
39
- console.log('12345', this.buttomArr)
39
+ // console.log('12345', this.buttomArr)
40
40
  },
41
41
  methods: {
42
42
  // 操作按钮的点击事件
@@ -557,8 +557,8 @@ export default {
557
557
  },
558
558
  refresPortData(port, value) {
559
559
  const gridParams = store.get(this.listCode)
560
- console.log('gridParams', gridParams)
561
- console.log('this.index', this.index)
560
+ // console.log('gridParams', gridParams)
561
+ // console.log('this.index', this.index)
562
562
  if (gridParams && gridParams.lineEdit && gridParams.lineEdit.editingCell) {
563
563
  this.$emit('refresPortData', port, value, gridParams.lineEdit.editingCell.row)
564
564
  } else {
@@ -567,8 +567,8 @@ export default {
567
567
  },
568
568
  refresPortsData(map) {
569
569
  const gridParams = store.get(this.listCode)
570
- console.log('gridParams', gridParams)
571
- console.log('this.index', this.index)
570
+ // console.log('gridParams', gridParams)
571
+ // console.log('this.index', this.index)
572
572
  if (gridParams && gridParams.lineEdit && gridParams.lineEdit.editingCell) {
573
573
  this.$emit('refresPortsData', map, gridParams.lineEdit.editingCell.row)
574
574
  } else {
@@ -702,7 +702,7 @@ export default {
702
702
  return iconName
703
703
  },
704
704
  createFormSubTableRow() {
705
- console.log('触发了行新建')
705
+ // console.log('触发了行新建')
706
706
  this.createRow(this.listCode)
707
707
  },
708
708
  handleCommand(comman) {
@@ -153,7 +153,7 @@ export default {
153
153
  if (this.initSearchProps === undefined || this.initSearchProps === null) {
154
154
  this.initSearchProps = []
155
155
  }
156
- console.log('searchForm=', searchColumns)
156
+ // console.log('searchForm=', searchColumns)
157
157
  searchColumns.forEach(column => {
158
158
  // propMap[column.prop] = column
159
159
  if (this.initSearchProps.indexOf(column.prop) < 0) {
@@ -225,7 +225,7 @@ export default {
225
225
  }
226
226
  },
227
227
  created() {
228
- console.log('加载查询页面', this.searchType)
228
+ // console.log('加载查询页面', this.searchType)
229
229
  this.listSearchConditions()
230
230
  if (this.normalQuery) {
231
231
  this.searchType = 'normal'
@@ -10,7 +10,7 @@ import {
10
10
  } from './utils'
11
11
  const superGridService = {
12
12
  initialize() {
13
- const a = new Date().getTime()
13
+ // const a = new Date().getTime()
14
14
  return new Promise((resolve, reject) => {
15
15
  const gridParams = store.get(this.code)
16
16
  if (this.options.isAdministerListView) {
@@ -41,7 +41,7 @@ const superGridService = {
41
41
  let additionalParams
42
42
  const additionalParamMap = sessionStorage.getItem('additionalParamMap')
43
43
  if (additionalParamMap) {
44
- console.log('进入判断', additionalParamMap)
44
+ // console.log('进入判断', additionalParamMap)
45
45
  if (additionalParamMap && typeof (additionalParamMap) === 'object') {
46
46
  additionalParams = JSON.stringify(additionalParamMap)
47
47
  } else if (additionalParamMap && additionalParamMap !== '') {
@@ -72,7 +72,7 @@ const superGridService = {
72
72
  this.isLoading = true
73
73
  // 初始化组件时先获取元信息再获取数据,以后翻页、排序、查询不再去获取元数据了
74
74
  this.$http.post(url, param).then(data => {
75
- const p1 = new Date().getTime()
75
+ // const p1 = new Date().getTime()
76
76
  // 判断是否查询组件渲染完之后查询
77
77
  this.isLoadCompleteQuery(data.columns)
78
78
  // 行编辑设置所有字段的默认值null时使用,优化行编辑性能
@@ -112,7 +112,7 @@ const superGridService = {
112
112
  packageEnumAndBeanColumnValueSets(data.columns, this.code).then(() => {
113
113
  return this.getDynamicColumnByBean(additionalParams, data.dynamicColumnInfo, data.columns, gridParams)
114
114
  }).then((dynamicColumns) => {
115
- const b = new Date().getTime()
115
+ // const b = new Date().getTime()
116
116
  let showColumns = []
117
117
  if (typeof (this.options.showColumns) !== 'undefined') {
118
118
  showColumns = this.options.showColumns.split(',')
@@ -210,9 +210,9 @@ const superGridService = {
210
210
  }
211
211
  }
212
212
  this.createBackgroundColorMap()
213
- const p2 = new Date().getTime()
214
- console.log('拿到共享数据并存储p2-p1=', p2 - p1)
215
- console.log('拿到共享数据并存储p2-b=', p2 - b)
213
+ // const p2 = new Date().getTime()
214
+ // console.log('拿到共享数据并存储p2-p1=', p2 - p1)
215
+ // console.log('拿到共享数据并存储p2-b=', p2 - b)
216
216
  resolve()
217
217
  }).catch(error => {
218
218
  reject(error)
@@ -221,8 +221,8 @@ const superGridService = {
221
221
  reject(error)
222
222
  })
223
223
  }
224
- const a1 = new Date().getTime()
225
- console.log('初始化所耗时间', a1 - a)
224
+ // const a1 = new Date().getTime()
225
+ // console.log('初始化所耗时间', a1 - a)
226
226
  })
227
227
  },
228
228
  isLoadCompleteQuery(columns) {
@@ -420,7 +420,7 @@ const superGridService = {
420
420
  columns: splitArr
421
421
  }
422
422
  vm.$http.post(Vue.prototype.baseAPI + '/component/super-grids/drag-columns', params).then(data => {
423
- console.log('移动成功')
423
+ // console.log('移动成功')
424
424
  })
425
425
  // const oldIndex = evt.oldIndex
426
426
  // const newIndex = evt.newIndex