agilebuilder-ui 1.1.2-tmp5 → 1.1.2-tmp7
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/lib/super-ui.css +1 -1
- package/lib/super-ui.js +11 -7
- package/lib/super-ui.umd.cjs +2 -2
- package/package.json +1 -1
- package/packages/super-grid/src/custom-formatter.js +2 -2
- package/packages/super-grid/src/dynamic-input.vue +1 -0
- package/packages/super-grid/src/normal-column-content.vue +5 -0
- package/packages/super-grid/src/normal-column.vue +1 -0
package/package.json
CHANGED
|
@@ -304,7 +304,7 @@ const customFormatter = {
|
|
|
304
304
|
null,
|
|
305
305
|
parentFormData
|
|
306
306
|
).then((openPageParams) => {
|
|
307
|
-
console.log('doClickHyperLink----
|
|
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
|
-
|
|
323
|
+
this.$emit('open-page', openPageParams)
|
|
324
324
|
}
|
|
325
325
|
})
|
|
326
326
|
},
|
|
@@ -1937,6 +1937,7 @@ export default {
|
|
|
1937
1937
|
doClickwithJumpPage(eventName) {
|
|
1938
1938
|
let configureObj = this.colConfigure
|
|
1939
1939
|
let linkPage = configureObj.props.linkPage
|
|
1940
|
+
console.log('doClickwithJumpPage-----linkPage=', linkPage, 'eventName=', eventName)
|
|
1940
1941
|
if (eventName && (eventName === 'click' || eventName === 'prefixClick' || eventName === 'suffixClick' ) && (linkPage && linkPage.jumpPageUrl)) {
|
|
1941
1942
|
// 表示有跳转页面配置
|
|
1942
1943
|
const jumpJson = JSON.parse(JSON.stringify(linkPage))
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
@refresPortsData="refresPortsData"
|
|
31
31
|
@change-disabled="changeDisabled"
|
|
32
32
|
@change-required="changeRequired"
|
|
33
|
+
@open-page="openPageEvent"
|
|
33
34
|
/>
|
|
34
35
|
<span v-else>
|
|
35
36
|
<span v-if="column.operations" class="grid-operation-buttons">
|
|
@@ -1030,6 +1031,10 @@ export default {
|
|
|
1030
1031
|
},
|
|
1031
1032
|
changeRequired(required) {
|
|
1032
1033
|
this.requiredClass = required? 'm-requried' : ''
|
|
1034
|
+
},
|
|
1035
|
+
openPageEvent(openPageParams) {
|
|
1036
|
+
console.log('normalColumnContent----openPageEvent----', openPageParams)
|
|
1037
|
+
this.$emit('open-page', openPageParams)
|
|
1033
1038
|
}
|
|
1034
1039
|
},
|
|
1035
1040
|
emits: ['refresData', 'refresPortData', 'refresPortsData', 'refresMainTableFields', 'prohibitToEdit']
|