From b11cbb37b54200cc72a9bf176530bce114c1c375 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Fri, 3 Aug 2018 10:06:04 +0800 Subject: [PATCH] 登录 --- index/index.html | 10 +++++----- topages/topagesTmp.js | 6 ++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/index/index.html b/index/index.html index 29736cd..1874893 100644 --- a/index/index.html +++ b/index/index.html @@ -26,11 +26,11 @@ diff --git a/topages/topagesTmp.js b/topages/topagesTmp.js index b300fa2..ec4d09f 100644 --- a/topages/topagesTmp.js +++ b/topages/topagesTmp.js @@ -1,6 +1,12 @@ /** * Created by mac on 18/7/24. */ + +if(fn.getRoleId == 3){ + $('#nav-bar-container').append('
  • 工时查询
  • 工时统计
  • 员工管理
  • ') +}else{ + $('#nav-bar-container').append('
  • 工时查询
  • 工时统计
  • ') +} function Router(){ this.routes = {}; this.curUrl = ''; -- libgit2 0.21.4