|
|
@@ -407,7 +407,7 @@ export default {
|
|
|
/**
|
|
|
* 处理按钮事件
|
|
|
*/
|
|
|
- handleAction(command, position, selection, data, index, button) {
|
|
|
+ handleAction(command, position, selection, data, index, button) {
|
|
|
switch (command) {
|
|
|
case 'search': // 查询
|
|
|
ActionUtils.setFirstPagination(this.pagination)
|
|
|
@@ -421,8 +421,8 @@ export default {
|
|
|
this.dialogFormVisible = true
|
|
|
this.pkValue = ''
|
|
|
break
|
|
|
- case 'edit': // 添加
|
|
|
- this.dialogFormVisible = true
|
|
|
+ case 'edit': // 编辑
|
|
|
+ this.editDialogVisible = true
|
|
|
this.pkValue = data.id
|
|
|
break
|
|
|
default:
|