super-pages 0.0.16-up → 0.0.17-up
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
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
const that = this
|
|
120
120
|
// 关闭弹框事件回调使用
|
|
121
121
|
eventBus.$on(this.pageCode + '_close-dialog-get-entity', () => {
|
|
122
|
-
|
|
122
|
+
eventBus.$emit(that.pageCode + '_close-super-dialog')
|
|
123
123
|
})
|
|
124
124
|
},
|
|
125
125
|
mounted() {
|
|
@@ -471,7 +471,7 @@ export default {
|
|
|
471
471
|
})
|
|
472
472
|
// 关闭弹框事件回调使用
|
|
473
473
|
eventBus.$on(this.pageCode + '_close-dialog-get-entity', () => {
|
|
474
|
-
|
|
474
|
+
eventBus.$emit(that.pageCode + '_close-super-dialog')
|
|
475
475
|
})
|
|
476
476
|
},
|
|
477
477
|
beforeUnmount() {
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
const that = this
|
|
90
90
|
eventBus.$on(this.pageCode + '_close-super-dialog', (entity) => {
|
|
91
91
|
// 用于表单页面返回entity信息
|
|
92
|
-
|
|
92
|
+
that.$emit('close', { entity: entity, pageCode: this.pageCode })
|
|
93
93
|
})
|
|
94
94
|
},
|
|
95
95
|
unmounted() {
|
|
@@ -188,11 +188,11 @@ export default {
|
|
|
188
188
|
sourceTableName,
|
|
189
189
|
targetRowIndex
|
|
190
190
|
)
|
|
191
|
-
|
|
191
|
+
this.$emit('update-value', sourceModel, sourceTableName, targetRowIndex)
|
|
192
192
|
},
|
|
193
193
|
// 关闭弹框时,触发表单页面的'close-dialog-get-entity'事件
|
|
194
194
|
closeDialogGetEntity() {
|
|
195
|
-
|
|
195
|
+
eventBus.$emit(this.pageCode + '_close-dialog-get-entity')
|
|
196
196
|
},
|
|
197
197
|
},
|
|
198
198
|
emits: ['open', 'opend', 'closed', 'close', 'update-value'],
|