Skip to content

Commit

Permalink
合并随行付代码
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangkewei committed Jul 3, 2019
2 parents 6da0a94 + 7afda29 commit 6355624
Show file tree
Hide file tree
Showing 4 changed files with 467 additions and 3 deletions.
29 changes: 29 additions & 0 deletions src/pages/common/publicDataPermissionSet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import React from "react";
import {browserHistory} from "react-router";

// export const permissionSet = [{
// title: '权限设置',
// dataIndex: 'PermissionSet',
// key: 'PermissionSet',
// render: (text, record) => (
// <a
// onClick={
// () => handlePermissionSet(record)
// }
// >
// 设置
// </a>
// )
// }];

export const handlePublicDataPermissionSet = (record) => {
let routeText = location;
browserHistory.push({
pathname: `/publicDataSource/+PermissionSet/${record.id}`,
state: {
dataSign:record.dataSign,
path:routeText.pathname,
text:record.pageTitle
}
})
};
Loading

0 comments on commit 6355624

Please sign in to comment.