上游结算单管理日志添加

master
zhengyongxing 5 years ago
parent 6483047fe4
commit 5224eec9f2

@ -140,7 +140,7 @@ class PresidentDepositController extends ThinkController
'pay_confirm_time' => '押金确认时间', 'pay_confirm_time' => '押金确认时间',
]; ];
addOperationLog(['op_type'=>3,'key'=>getNowDate(),'op_name'=>'导出会长押金记录','url'=>U('PresidentDeposit/records'),'menu'=>'推广员-结算管理-奖罚记录管理-导出会长押金记录']); addOperationLog(['op_type'=>3,'key'=>getNowDate(),'op_name'=>'导出会长押金记录','url'=>U('PresidentDeposit/records'),'menu'=>'推广员-结算管理-奖罚记录管理-导出会长押金记录']);
data2csv($records, '会长押金记录', $field); data2csv($records, '会长押金记录', $field);
exit; exit;

@ -319,8 +319,14 @@ class StatementController extends ThinkController
"statement_info"=>json_encode($statement_info,JSON_UNESCAPED_UNICODE) "statement_info"=>json_encode($statement_info,JSON_UNESCAPED_UNICODE)
); );
if($id == 0){ if($id == 0){
// var_dump(1);die();
addOperationLog(['op_type'=>0,'key'=>$company['partner'].getNowDate(),'op_name'=>'新增上游对账单','url'=>U('StatementMangement/lists'),'menu'=>'推广员-结算管理-结算单管理-新增上游对账单']);
$res = M("statement","tab_")->add($adddata); $res = M("statement","tab_")->add($adddata);
}else{ }else{
addOperationLog(['op_type'=>1,'key'=>$company['partner'].getNowDate(),'op_name'=>'编辑上游对账单','url'=>U('StatementMangement/lists'),'menu'=>'推广员-结算管理-结算单管理-编辑上游对账单']);
$res = M("statement","tab_")->where("id = '{$id}'")->save($adddata); $res = M("statement","tab_")->where("id = '{$id}'")->save($adddata);
} }
if($res !== false){ if($res !== false){

@ -169,9 +169,9 @@
</div> </div>
<div class="page"> <div class="page">
<if condition="$is_admin eq true "> <!-- <if condition="$is_admin eq true ">-->
<a class="sch-btn" href="{:U('Export/promote_list',array_merge(['xlsname'=>'推广员管理_推广员列表'.((I('type',1)==2)?'_混服申请':'_推广员列表')],I('get.')))}">导出</a> <!-- <a class="sch-btn" href="{:U('Export/promote_list',array_merge(['xlsname'=>'推广员管理_推广员列表'.((I('type',1)==2)?'_混服申请':'_推广员列表')],I('get.')))}">导出</a>-->
</if> <!-- </if>-->
{$_page|default=''} {$_page|default=''}
</div> </div>
<div class="pro_promot" style="display:none"> <div class="pro_promot" style="display:none">

Loading…
Cancel
Save