Files
EasySoft-ZenTaoPMS/module/company/js/dynamic.js
2021-03-24 18:06:47 +08:00

31 lines
688 B
JavaScript

function changeUser(account)
{
if(account == '')
{
link = createLink('company', 'dynamic', 'type=all');
}
else
{
link = createLink('company', 'dynamic', 'type=account&param=' + account);
}
location.href = link;
}
function changeProduct(product)
{
link = createLink('company', 'dynamic', 'type=product&param=' + product);
location.href = link;
}
function changeProject(project)
{
link = createLink('company', 'dynamic', 'type=project&param=' + project);
location.href = link;
}
function changeExecution(execution)
{
link = createLink('company', 'dynamic', 'type=execution&param=' + execution);
location.href = link;
}