From b5bc0d6eb2d2e55ea830a1b286252b9754cbf8e9 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期三, 21 八月 2024 11:21:04 +0800 Subject: [PATCH] 更新主从表添加、修改、删除时对从表的对应操作 --- WIDESEAWCS_Client/config/buttons.js | 59 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 45 insertions(+), 14 deletions(-) diff --git a/WIDESEAWCS_Client/config/buttons.js b/WIDESEAWCS_Client/config/buttons.js index 5e68919..b3b49a7 100644 --- a/WIDESEAWCS_Client/config/buttons.js +++ b/WIDESEAWCS_Client/config/buttons.js @@ -20,7 +20,8 @@ onClick: function () { this.add(); } -}, { +}, +{ name: "缂� 杈�", icon: 'el-icon-edit', value: 'Update', @@ -30,7 +31,44 @@ onClick: function () { this.edit(); } -}, { +}, +{ + name: "浠诲姟瀹屾垚", + icon: '', + class: '', + value: 'TaskCompleted', + type: 'primary', + onClick: function () { + } +}, +{ + name: "浠诲姟鍙栨秷", + icon: '', + class: '', + value: 'TaskCancel', + type: 'danger', + onClick: function () { + } +}, +{ + name: "鍥炴粴鍒颁笂涓�姝�", + icon: '', + class: '', + value: 'Previous', + type: 'danger', + onClick: function () { + } +}, +{ + name: "璺宠浆鍒颁笅涓�姝�", + icon: '', + class: '', + value: 'Next', + type: 'warning', + onClick: function () { + } +}, +{ name: "鍒� 闄�", icon: 'el-icon-delete', class: '', @@ -39,7 +77,8 @@ onClick: function () { this.del(); } -}, { +}, +{ name: "瀹� 鏍�", icon: 'el-icon-check', class: '', @@ -60,8 +99,8 @@ onClick: function () { this.import(); } -} - , { +}, +{ name: "瀵� 鍑�", icon: 'el-icon-bottom', type: 'success', @@ -71,15 +110,7 @@ this.export(); } } - // , { - // name: "鏁版嵁缁撴瀯", - // icon: 'ios-cog', - // class: '', - // value: '', - // onClick: function () { - // this.openViewColumns(); - // } - // } + ] export default buttons \ No newline at end of file -- Gitblit v1.9.3