diff --git a/Application/Admin/Controller/BehaviorLogController.class.php b/Application/Admin/Controller/BehaviorLogController.class.php
index 01a43b416..79fc6c29e 100644
--- a/Application/Admin/Controller/BehaviorLogController.class.php
+++ b/Application/Admin/Controller/BehaviorLogController.class.php
@@ -78,6 +78,7 @@ class BehaviorLogController extends ThinkController
$this->assign('startDate', $startDate);
$this->assign('endDate', $endDate);
$this->assign('data', $data);
+ $this->assign("is_admin",is_administrator());
$this->display('index');
}
diff --git a/Application/Admin/View/BehaviorLog/index.html b/Application/Admin/View/BehaviorLog/index.html
index e97c61afd..39a87c998 100644
--- a/Application/Admin/View/BehaviorLog/index.html
+++ b/Application/Admin/View/BehaviorLog/index.html
@@ -7,24 +7,24 @@
@@ -37,7 +37,7 @@
-
+
@@ -63,14 +63,14 @@
-
+
+
-
导出
+
导出
{$_page|default=''}
-
+
@@ -197,7 +209,7 @@
@@ -418,8 +430,8 @@
dataType:'json',
success:function(response){
str = '' +
- // '' +
- '';
+ // '' +
+ '';
data = response.data;
for (var i in data){
str += ""
@@ -432,29 +444,29 @@
});
$("#promote_level").change();
- var game_server = "{:I('server_name')}";
- $("#sdk_version").change(function(){
- $.ajax({
- url:"{:U('Ajax/getGmeServer')}",
- type:"post",
- data:{sdk_version:$("#sdk_version option:selected").val(), game_name:$("#game_name option:selected").val()},
- dataType:'json',
- success:function(data){
- str = "";
- for (var i in data){
- str += ""
- }
- $("#server_name").empty();
- $("#server_name").append(str);
- $("#server_name").select2();
+ var game_server = "{:I('server_name')}";
+ $("#sdk_version").change(function(){
+ $.ajax({
+ url:"{:U('Ajax/getGmeServer')}",
+ type:"post",
+ data:{sdk_version:$("#sdk_version option:selected").val(), game_name:$("#game_name option:selected").val()},
+ dataType:'json',
+ success:function(data){
+ str = "";
+ for (var i in data){
+ str += ""
}
- })
- });
+ $("#server_name").empty();
+ $("#server_name").append(str);
+ $("#server_name").select2();
+ }
+ })
+ });
- $("#game_name").change(function(){
- $("#sdk_version").change();
- });
- $("#game_name").change();
+ $("#game_name").change(function(){
+ $("#sdk_version").change();
+ });
+ $("#game_name").change();
/**
* 初始化select2单选,默认带搜索功能。