agilebuilder-ui 1.1.2-tmp6 → 1.1.2-tmp8

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": "agilebuilder-ui",
3
- "version": "1.1.2-tmp6",
3
+ "version": "1.1.2-tmp8",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -304,7 +304,7 @@ const customFormatter = {
304
304
  null,
305
305
  parentFormData
306
306
  ).then((openPageParams) => {
307
- console.log('doClickHyperLink----openPageParams----', openPageParams)
307
+ console.log('doClickHyperLink----openPageParams2222----', openPageParams)
308
308
  if (openPageParams) {
309
309
  // 点击列表组件中某元素弹出的页面
310
310
  if (jumpPageSetting && typeof jumpPageSetting === 'string' && jumpPageSetting !== '') {
@@ -320,7 +320,7 @@ const customFormatter = {
320
320
  // 列点击时列属性名
321
321
  openPageParams._columnProp = column.prop
322
322
  // 通知父页面弹出页面
323
- $emit(this, 'open-page', openPageParams)
323
+ this.$emit('open-page', openPageParams)
324
324
  }
325
325
  })
326
326
  },
@@ -904,6 +904,7 @@ export default {
904
904
  eventBus.$off(this.componentId + '-scanDone')
905
905
  },
906
906
  methods: {
907
+ ...customFormatter,
907
908
  /**
908
909
  * @author: 梁旭
909
910
  * @description: 获取提示标题
@@ -1937,6 +1938,7 @@ export default {
1937
1938
  doClickwithJumpPage(eventName) {
1938
1939
  let configureObj = this.colConfigure
1939
1940
  let linkPage = configureObj.props.linkPage
1941
+ console.log('doClickwithJumpPage-----linkPage=', linkPage, 'eventName=', eventName)
1940
1942
  if (eventName && (eventName === 'click' || eventName === 'prefixClick' || eventName === 'suffixClick' ) && (linkPage && linkPage.jumpPageUrl)) {
1941
1943
  // 表示有跳转页面配置
1942
1944
  const jumpJson = JSON.parse(JSON.stringify(linkPage))
@@ -1956,7 +1958,7 @@ export default {
1956
1958
  jumpJson.displayText = jumpJson.dynamicTags.join('-#-#')
1957
1959
  }
1958
1960
  }
1959
- customFormatter.jumpPageLink(this.column, this.row, this.listCode, this.rowIndex, jumpJson)
1961
+ this.jumpPageLink(this.column, this.row, this.listCode, this.rowIndex, jumpJson)
1960
1962
  } else {
1961
1963
  // 表示没有跳转页面配置
1962
1964
  this.callCustomEvent(eventName)
@@ -1033,6 +1033,7 @@ export default {
1033
1033
  this.requiredClass = required? 'm-requried' : ''
1034
1034
  },
1035
1035
  openPageEvent(openPageParams) {
1036
+ console.log('normalColumnContent----openPageEvent----', openPageParams)
1036
1037
  this.$emit('open-page', openPageParams)
1037
1038
  }
1038
1039
  },
@@ -352,6 +352,7 @@ export default {
352
352
  this.$emit('refresh-list')
353
353
  },
354
354
  openPageEvent(openPageParams) {
355
+ console.log('normalColumn----openPageEvent----', openPageParams)
355
356
  this.$emit('open-page', openPageParams)
356
357
  }
357
358
  },