diff --git a/Application/Admin/Controller/StatementController.class.php b/Application/Admin/Controller/StatementController.class.php index 0dfa30d70..5f30b96b2 100644 --- a/Application/Admin/Controller/StatementController.class.php +++ b/Application/Admin/Controller/StatementController.class.php @@ -11,6 +11,9 @@ class StatementController extends ThinkController { $this->display(); } + public function editCpStatement(){ + dd($_REQUEST['id']); + } //获取推广公司基础信息 public function getCpCompanyInfo() { diff --git a/Application/Admin/View/StatementMangement/lists.html b/Application/Admin/View/StatementMangement/lists.html index 41331fdfb..6bea277d6 100644 --- a/Application/Admin/View/StatementMangement/lists.html +++ b/Application/Admin/View/StatementMangement/lists.html @@ -130,7 +130,8 @@ {$data.statement_money} {$data.is_confirm} 撤销 - 编辑 + 编辑 + @@ -216,15 +217,20 @@ $(".statement_edit").click(function () { - var id = $(this).attr('ext_field'); + var edit = $(this).data(); + if(edit.type == 0){ + var url = "/admin.php?s=/Statement/editCpStatement/id/"+edit.id; + }else{ + var url = "/admin.php?s=/StatementMangement/editDownstreamOrder/id/"+edit.id; + } layer.open({ type: 2, - title: "【游戏角色】列表", + title: "海南万盟天下科技有限公司", shadeClose: true, shade: 0.8, area: ['70%', '80%'], - content: '/admin.php?s=/StatementMangement/editDownstreamOrder/ext_field/'+id + content: url }); });