|
@@ -288,6 +288,7 @@ export default {
|
|
|
tableType = this.field.field_options.mode || 'inner'
|
|
tableType = this.field.field_options.mode || 'inner'
|
|
|
/* 由于内容遍历卡顿问题,需再建个中间对象进行渲染.*/
|
|
/* 由于内容遍历卡顿问题,需再建个中间对象进行渲染.*/
|
|
|
return {
|
|
return {
|
|
|
|
|
+ editFromType: 'add', //列表编辑弹出框类型
|
|
|
npmDialogFormVisible: false, // 弹窗
|
|
npmDialogFormVisible: false, // 弹窗
|
|
|
defId: '', // 编辑dialog需要使用
|
|
defId: '', // 编辑dialog需要使用
|
|
|
currentPage:1,
|
|
currentPage:1,
|
|
@@ -616,6 +617,7 @@ export default {
|
|
|
this.actionPosition = button.position || 'toolbar'
|
|
this.actionPosition = button.position || 'toolbar'
|
|
|
// 前置事件
|
|
// 前置事件
|
|
|
this.beforeScript(button, index, (result) => {
|
|
this.beforeScript(button, index, (result) => {
|
|
|
|
|
+ this.editFromType = button.key
|
|
|
if (!result) {
|
|
if (!result) {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|