| | |
| | | const paramVOS = buttonitem.paramVOS; |
| | | const DefineVO = this.componentVO.treeDefineVO || this.componentVO.tableDefineVO || this.componentVO.treeTableDefineVO || this.componentVO.formDefineVO; |
| | | if (!paramVOS['title']) { |
| | | paramVOS['title'] = buttonitem.name + (DefineVO.title || this.componentVO.description || ''); |
| | | paramVOS['title'] = buttonitem.name + (DefineVO.title || ''); |
| | | } |
| | | |
| | | if (!paramVOS['type']) { |
| | |
| | | |
| | | const that = this; |
| | | //paramVOS.customBtn //弹窗默认有保存按钮,customBtn为true时内容展示自定义按钮 |
| | | paramVOS.form = "editknowledgefolderall" |
| | | doAction(buttonitem, { |
| | | paramVOS: paramVOS, |
| | | dataStore: this.dataStore || [], |
| | | sourceData: this.sourceData || {} |
| | | }, function () { |
| | | }, function (actionType,data) { |
| | | if (that.$parent.handleRefresh) { |
| | | that.$parent.handleRefresh() |
| | | that.$parent.handleRefresh(actionType,data) |
| | | } |
| | | }); |
| | | } |