优化页面显示

master
chenzhi 5 years ago
parent dddd640f9f
commit ea6d820408

@ -11,6 +11,9 @@ class StatementController extends ThinkController
{
$this->display();
}
public function editCpStatement(){
dd($_REQUEST['id']);
}
//获取推广公司基础信息
public function getCpCompanyInfo()
{

@ -130,7 +130,8 @@
<td>{$data.statement_money}</td>
<td>{$data.is_confirm}</td>
<td><a class="confirm " href="{:U('Member/del?id='.$data['id'])}">撤销</a>
<a class="confirm statement_edit" ext_field="{$data.ext_field}">编辑</a></td>
<a class="confirm statement_edit" data-id="{$data.id}" data-type="{$data.statement_type}">编辑</a></td>
</tr>
</volist>
</notemtpy>
@ -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
});
});

Loading…
Cancel
Save