组织全路径
This commit is contained in:
parent
87d395d197
commit
7fbd34475e
|
|
@ -50,6 +50,17 @@ const WeaTable = WeaTableNew.WeaTable;
|
||||||
const { ButtonSelect } = WeaDropdown;
|
const { ButtonSelect } = WeaDropdown;
|
||||||
const getLabel = WeaLocaleProvider.getLabel;
|
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('resource')
|
||||||
@inject('datasImport')
|
@inject('datasImport')
|
||||||
@observer
|
@observer
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue