resolver-egretimp-plus 0.0.142 → 0.0.144

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": "resolver-egretimp-plus",
3
- "version": "0.0.142",
3
+ "version": "0.0.144",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -146,6 +146,10 @@ export default {
146
146
  }, {})
147
147
  if (config.showOverflowTooltip == '1' || config['show-overflow-tooltip'] == '1') {
148
148
  props['show-overflow-tooltip'] = true
149
+ props.showOverflowTooltip = true
150
+ } else {
151
+ props['show-overflow-tooltip'] = false
152
+ props.showOverflowTooltip = false
149
153
  }
150
154
  if (!props.prop) {
151
155
  props.prop = config.metaCode
@@ -169,6 +173,7 @@ export default {
169
173
  config['show-overflow-tooltip'] != '0'
170
174
  ) {
171
175
  props['show-overflow-tooltip'] = true
176
+ props.showOverflowTooltip = true
172
177
  }
173
178
  if (config.type === 'selection') {
174
179
  const orginSelectable = props.selectable
@@ -468,12 +473,16 @@ export default {
468
473
  { columnConfg.headerRender ? columnConfg.headerRender(h, { props, config: columnConfg, lang, rootValue, selects })
469
474
  : (lang.value.indexOf('zh') > -1 ? columnConfg.metaNameZh : columnConfg.metaNameEn)
470
475
  }
476
+ {
477
+ columnConfg.hintFlag == '1' ? (
478
+ <ElTooltip effect="dark" content={lang.value.indexOf('zh') > -1 ? columnConfg.hintContentZh : columnConfg.hintContentEn} placement="top">
479
+ <elIcon style="fontSize: 16px; verticalAlign: middle; margin-left: 3px;"><QuestionFilled /></elIcon>
480
+ </ElTooltip>
481
+ ) : null
482
+ }
471
483
  </span>
472
484
  ),
473
- // default: ({row, $index}) => {
474
- // return getValue($index)?.[columnConfg.metaCode]
475
- // }
476
- default: ({row, $index}) => {
485
+ default: ({row, column, $index}) => {
477
486
  if (row.totalFlag) {
478
487
  return totalCodeRenders.value[columnConfg.metaCode] ? totalCodeRenders.value[columnConfg.metaCode]({
479
488
  val: row[columnConfg.metaCode],
@@ -484,7 +493,7 @@ export default {
484
493
  const config = multiPmPageMetaList.value?.[$index]?.[configIdx]
485
494
  return (
486
495
  tableColumnNotRender(config) ? null :
487
- <Renderer key={`${config.columnId}-${config.rowIndex}`} class="error-tip-block" modelValue={getValue($index)} rowScope={{row, $index}} onUpdate:modelValue={(val) => { onUpdateModelValue(val, $index) }} config={config}></Renderer>
496
+ <Renderer key={`${config.columnId}-${config.rowIndex}`} class="error-tip-block" rowScope={{row, $index}} modelValue={getValue($index)} onUpdate:modelValue={(val) => { onUpdateModelValue(val, $index) }} config={config}></Renderer>
488
497
  )
489
498
  }
490
499
  }}