diff --git a/pc4mobx/organization/components/resource/ResourceCard.js b/pc4mobx/organization/components/resource/ResourceCard.js
index 493f622..ebdf177 100644
--- a/pc4mobx/organization/components/resource/ResourceCard.js
+++ b/pc4mobx/organization/components/resource/ResourceCard.js
@@ -263,7 +263,6 @@ export default class ResourceCard extends React.Component {
-
{
data.buttons.slice(0,3).map((item,index) => {
return (
diff --git a/pc4mobx/organization/components/resource/resource.js b/pc4mobx/organization/components/resource/resource.js
index f844268..6226e9e 100644
--- a/pc4mobx/organization/components/resource/resource.js
+++ b/pc4mobx/organization/components/resource/resource.js
@@ -50,6 +50,17 @@ const WeaTable = WeaTableNew.WeaTable;
const { ButtonSelect } = WeaDropdown;
const getLabel = WeaLocaleProvider.getLabel;
+const viewDepartment = (id) => {
+ window.open(`/spa/hrm/engine.html#/hrmengine/organization?showTree=false&isView=1&type=department&id=${id}`);
+ }
+
+const viewSubCompany = (id) => {
+window.open(`/spa/hrm/engine.html#/hrmengine/organization?showTree=false&isView=1&type=subcompany&id=${id}`);
+}
+
+window.viewDepartment = viewDepartment;
+window.viewSubCompany = viewSubCompany;
+
@inject('resource')
@inject('datasImport')
@observer
@@ -372,6 +383,7 @@ export default class Resource extends React.Component {
let _this = this;
columns.forEach((c, index) => {
c.className = "wea-table-indent"
+ c.oldWidth = (100 / columns.length).toFixed(2) + '%';
if (c.dataIndex == 'lastname') {
c.render = function (text, record) {
return
{
diff --git a/pc4mobx/organization/style/resume.less b/pc4mobx/organization/style/resume.less
index 419010e..d016b2a 100644
--- a/pc4mobx/organization/style/resume.less
+++ b/pc4mobx/organization/style/resume.less
@@ -37,4 +37,10 @@
left: 44%;
box-shadow: 2px 2px 10px #909090;
background-color: #FFFFFF;
+ }
+
+ .org-personnel-resume {
+ .wea-left-right-layout-right {
+ overflow: scroll !important;
+ }
}
\ No newline at end of file