|
@@ -41,7 +41,7 @@ function loginout(){
|
41
|
}
|
41
|
}
|
42
|
|
42
|
|
43
|
function getMenu(){
|
43
|
function getMenu(){
|
44
|
- var openIndex = 0, res = {data:[{"name":"预测管理","parent_id":"0","url":"prediction.html"},{"name":"用户管理","parent_id":"0","url":"management.html"},{"name":"火钻管理","parent_id":"0","url":"pierer.html"}]};
|
|
|
|
|
44
|
+ var openIndex = 0, res = {data:[{"name":"预测管理","parent_id":"0","url":"prediction.html","list":[]},{"name":"用户管理","parent_id":"0","url":"management.html","list":[]},{"name":"火钻管理","parent_id":"0","url":"pierer.html","list":[]}]};
|
45
|
/*ajax({url:"api/?a=public&act=menu",data:{},callBack:function(res){
|
45
|
/*ajax({url:"api/?a=public&act=menu",data:{},callBack:function(res){
|
46
|
if(res.code == 1){*/
|
46
|
if(res.code == 1){*/
|
47
|
$.each(res.data,function(index, items){
|
47
|
$.each(res.data,function(index, items){
|