config.js
来自「企业人力资源管理」· JavaScript 代码 · 共 31 行
JS
31 行
//config 页面发生行为共用的方法function config_share(str) { var href = ""; switch (str) {// case "file_first_kind":href="/hr/fileFirstKind.do?method=toUrl&url=success";break; case "file_second_kind":href="/hr/fileSecondKind.do?method=toUrl&url=success";break; case "file_third_kind":href="/hr/fileThirdKind.do?method=toUrl&url=success";break; case "file_major_kind":href="/hr/majorKind.do?method=toUrl&url=success";break; case "file_major":href="/hr/major.do?method=toUrl&url=success";break; case "file_public_char":href="/hr/publicChar.do?method=toUrl&url=success";break; case "question_first_kind":href="/hr/questionFirstKind.do?method=toUrl&url=success";break; case "question_second_kind":href="/hr/questionSecondKind.do?method=toUrl&url=success";break; case "user":href = "/hr/users.do?method=toUrl&url=users";break; case "primary_key":href = "/hr/primaryKey.do?method=toUrl&url=success";break; default:break; } return href;}//config 页面点击事件function config_click(e) { var element = event.srcElement; var href = config_share(element.name);//获取点击对象的链接路径 if (!href) { return; } else { location.href = href; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?