feat(aihr): complete uni-app role workflows
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>银城员工端</title>
|
||||
<script>
|
||||
(function () {
|
||||
var path = window.location.pathname.replace(/\/+$/, '');
|
||||
var routes = {
|
||||
'/h5/user': '/pages/user/today/index',
|
||||
'/h5/employee': '/pages/user/today/index',
|
||||
'/h5/user/practice': '/pages/user/practice/index',
|
||||
'/h5/user/training': '/pages/user/practice/index',
|
||||
'/h5/user/sop': '/pages/user/sop/index',
|
||||
'/h5/user/cases': '/pages/user/cases/index',
|
||||
'/h5/user/profile': '/pages/user/profile/index',
|
||||
'/h5/candidate': '/pages/candidate/index/index',
|
||||
'/h5/supervisor': '/pages/supervisor/index/index',
|
||||
'/h5/admin': '/pages/supervisor/index/index'
|
||||
};
|
||||
var route = routes[path];
|
||||
if (route && (!window.location.hash || window.location.hash === '#/')) {
|
||||
window.location.replace('/h5/#' + route + window.location.search);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user