rabin hace 2 años
padre
commit
c5fc72642e
Se han modificado 1 ficheros con 16 adiciones y 0 borrados
  1. 16 0
      assets/lib/manage/main.js

+ 16 - 0
assets/lib/manage/main.js

@@ -721,6 +721,22 @@ function topMenu(e)
 	})
 }
 
+//头部菜单
+function topCMenu(e)
+{
+	var p = e.parent().parent().parent().find('span');
+	p.html(e.html());
+
+	//更新当前的精细权限
+	var url = config.host + 'company.set?json=1';
+	var id = e.attr('data-id');
+
+	$.post(url, {company_id:id}, function(t)
+	{
+		location.reload();
+	})
+}
+
 //链接跳转
 function go(key, value)
 {