Commit 32c257e2 by fengshuonan

更新文案和角色跳转

parent fedda45c
......@@ -110,7 +110,7 @@ public class DataBaseInfoDao {
PreparedStatement preparedStatement = conn.prepareStatement(MYSQL_DELETE_SQL);
preparedStatement.setString(1, MASTER_DATASOURCE_NAME);
int i = preparedStatement.executeUpdate();
log.info("初始化master的databaseInfo信息!初始化" + i + "条!");
log.info("删除master的databaseInfo信息!删除" + i + "条!");
} catch (Exception ex) {
throw new DataSourceInitException(DataSourceInitException.ExEnum.QUERY_DATASOURCE_INFO_ERROR);
}
......
......@@ -74,15 +74,7 @@ layui.use(['layer', 'form', 'table', 'admin', 'ax'], function () {
* @param data 点击按钮时候的行数据
*/
Role.onEditRole = function (data) {
admin.putTempData('formOk', false);
top.layui.admin.open({
type: 2,
title: '修改角色',
content: Feng.ctxPath + '/role/role_edit?roleId=' + data.roleId,
end: function () {
admin.getTempData('formOk') && table.reload(Role.tableId);
}
});
window.location.href = Feng.ctxPath + "/role/role_edit?roleId="+ data.roleId;
};
/**
......@@ -140,7 +132,7 @@ layui.use(['layer', 'form', 'table', 'admin', 'ax'], function () {
// 添加按钮点击事件
$('#btnAdd').click(function () {
Role.openAddRole();
window.location.href = Feng.ctxPath + "/role/role_add";
});
// 导出excel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment