diff --git a/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/manage/organization/index.jsp b/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/manage/organization/index.jsp index 68542505..8824019e 100644 --- a/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/manage/organization/index.jsp +++ b/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/manage/organization/index.jsp @@ -22,9 +22,9 @@
@@ -73,21 +73,22 @@ $(function() { // 格式化操作按钮 function actionFormatter(value, row, index) { return [ - ' ', - '' + ' ', + '' ].join(''); } -// 操作按钮事件 -window.actionEvents = { - 'click .update': function (e, value, row, index) { - alert('You click update icon, row: ' + JSON.stringify(row)); - console.log(value, row, index); - }, - 'click .delete': function (e, value, row, index) { - alert('You click delete icon, row: ' + JSON.stringify(row)); - console.log(value, row, index); - } -}; +// 新增 +function createAction() { + +} +// 编辑 +function updateAction() { + var rows = $table.bootstrapTable('getSelections'); +} +// 删除 +function deleteAction() { + var rows = $table.bootstrapTable('getSelections'); +}