From ea6d820408a07f462856b84bf44ccf90599105d1 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 9 Jan 2020 16:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/StatementController.class.php | 3 +++ .../Admin/View/StatementMangement/lists.html | 14 ++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) 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 }); });