Commit f45cc300 authored by hujun's avatar hujun

方法移动

parent ad15e217
......@@ -4958,380 +4958,4 @@ class Finance extends Basic
}
return $type_name;
}
/**
* 收款开业审核
*
* @return \think\Response|\think\response\View
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* User HuJun
* Date 19-5-16 下午3:51
*/
public function payCheckList() {
if (!$this->request->isAjax() && $this->params['excel'] == 0) {
return view("finance/pay_check_list");
}
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
if ($this->params['excel'] == 0) {
$pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize'];
} else {
$pageSize = 40000;
}
$status_string = '全部';
//0财务一审
switch ($this->params['check_status']) {
case 1 :
//财务一审
$where['a.status'] = 2;
$status_string = '财务一审';
break;
case 2 :
//财务二审
$where['a.status'] = 3;
$status_string = '财务二审';
break;
case 3 :
//未审核
$where['a.status'] = 0;
$status_string = '未审核';break;
case 4 :
//总监
$where['a.status'] = 1;
$status_string = '总监通过';
break;
}
if ($this->params['create_start_time']) {
$where['a.create_time'] = ['>', $this->params['create_start_time']];
}
if ($this->params['create_end_time']) {
$where['a.create_time'] = ['>', $this->params['create_end_time']];
}
//提交时间区间
if ($this->params['create_start_time'] && $this->params['create_end_time']) {
$where['a.create_time'] = ['between', [$this->params['create_start_time'], $this->params['create_end_time']]];
}
if ($this->params['pass_start_time']) {
$where['b.create_time'] = ['>', $this->params['pass_start_time']];
$where['b.status'] = 1;
}
if ($this->params['pass_end_time']) {
$where['b.create_time'] = ['>', $this->params['pass_end_time']];
$where['b.status'] = 1;
}
//总监通过时间区间
if ($this->params['pass_start_time'] && $this->params['pass_end_time']) {
$where['b.create_time'] = ['between', [$this->params['pass_start_time'], $this->params['pass_end_time']]];
$where['b.status'] = 1;
}
if ($this->params['check_start_time']) {
$where['b.create_time'] = ['>', $this->params['check_start_time']];
$where['b.status'] = 3;
}
if ($this->params['check_end_time']) {
$where['b.create_time'] = ['>', $this->params['check_end_time']];
$where['b.status'] = 3;
}
//财务审核时间区间
if ($this->params['check_start_time'] && $this->params['check_end_time']) {
$where['b.create_time'] = ['between', [$this->params['check_start_time'], $this->params['check_end_time']]];
$where['b.status'] = 3;
}
//收款id
if (isset($this->params['pay_log_id'])) {
$where['a.pay_log_id'] = $this->params['pay_log_id'];
}
//成交报告id
if (isset($this->params['bargain_id'])) {
$where['a.bargain_id'] = $this->params['bargain_id'];
}
//带看订单ID
if (isset($this->params['order_id'])) {
$where['a.order_id'] = $this->params['order_id'];
}
//商铺ID
if (isset($this->params['house_id'])) {
$where['a.house_id'] = $this->params['house_id'];
}
//商铺地址
if (isset($this->params['house_address'])) {
$where['a.house_address'] = $this->params['house_address'];
}
//提交人id
if (isset($this->params['agent_id'])) {
$where['a.agent_id'] = $this->params['agent_id'];
}
//提交人id门店
if (isset($this->params['store_id'])) {
$where['c.store_id'] = $this->params['store_id'];
}
//提交人id部门
if (isset($this->params['district_id'])) {
$where['c.district_id'] = $this->params['district_id'];
}
$where['a.is_del'] = 0;
$fields = 'a.id,a.create_time,a.agent_id,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.status,a.house_address,b.create_time as disc_time,max(b.id) as two_id';
$m_pay_open = new OPayLogOpen();
$m_pay_open_log = new OPayLogOpenLog();
$redis_service = new RedisCacheService();
$m_pay_log = new OPayLogModel();
$list = $m_pay_open->getListCheck($pageNo, $pageSize, 'a.id desc', $fields, $where);
if ($this->params['excel'] == 0) {
foreach ($list as $k=>$v) {
$log_where['open_id'] = $v['id'];
$log_where['is_del'] = 0;
$log_where['status'] = 1;
$list[$k]['disc_time'] = $m_pay_open_log->getFieldOneValue('create_time', $log_where);
if ($v['status'] == 3) {
$pay_log_data = $m_pay_log->selectPayLogByOrderNo('create_time', ['id'=>$v['pay_log_id']]);
$list[$k]['check_time'] = isset($pay_log_data[0]['create_time']) ? $pay_log_data[0]['create_time'] : '';
} else {
$list[$k]['check_time'] = '';
}
$agent_name = $redis_service->getRedisCache(2, $v['agent_id']);
$list[$k]['agent_name'] = $agent_name['name'];
unset($list[$k]['two_id']);
}
$data['list'] = $list;
$data['total'] = $m_pay_open->getListCheckTotal($where);
return $this->response(200, '', $data);
}
$excel_data = [];
foreach ($list as $k=>$v) {
$log_where['open_id'] = $v['id'];
$log_where['is_del'] = 0;
$log_where['status'] = 1;
$disc_time = $m_pay_open_log->getFieldOneValue('create_time', $log_where);
if ($v['status'] == 3) {
$pay_log_data = $m_pay_log->selectPayLogByOrderNo('create_time', ['id'=>$v['pay_log_id']]);
$check_time = isset($pay_log_data[0]['create_time']) ? $pay_log_data[0]['create_time'] : '';
} else {
$check_time = '';
}
$agent_name = $redis_service->getRedisCache(2, $v['agent_id']);
$list[$k]['agent_name'] = $agent_name['name'];
$excel_data[$k] = [
'id' => $v['id'],
'create_time' => $v['create_time'],
'agent_name' => $agent_name,
'pay_log_id' => $v['pay_log_id'],
'bargain_id' => $v['bargain_id'],
'order_id' => $v['order_id'],
'house_id' => $v['house_id'],
'house_address' => $v['house_address'],
'status_string' => $status_string,
'disc_time' => $disc_time,
'check_time' => $check_time
];
}
$export = new ExportExcelUntil();
$title = [ '申请ID', '提交时间', '提交人', '收款ID', '成交报告ID', '带看订单ID', '成交商铺ID', '成交商铺地址', '状态', '总监通过时间', '开业确定时间'];
$file_name = '收款开业审核-'.$status_string;
$export->exportTable($file_name, $excel_data, 11, '开业审核-'.$status_string, $title);
}
/**
* 删除收款开业审核
*
* @return \think\Response
* User HuJun
* Date 19-5-16 下午4:42
*/
public function delPayCheck()
{
$msg = '删除失败';
$code = 101;
if (empty($this->params['open_id'])) {
return $this->response($code, '参数错误');
}
$m_pay_open = new OPayLogOpen();
$where['is_del'] = 0;
$where['id'] = $this->params['open_id'];
$id = $m_pay_open->getFieldOneValue('id', $where);
if (empty($id)) {
return $this->response(101, '没有该数据');
}
$num = $m_pay_open->editData(['is_del'=>1], $id);
if ($num) {
$code = 200;
$msg = '删除成功';
}
return $this->response($code, $msg);
}
/**
* 开业审核详情
*
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* User HuJun
* Date 19-5-17 上午10:34
*/
public function getPayCheckDetail()
{
$code = 101;
if (empty($this->params['open_id'])) {
return $this->response($code, '参数错误');
}
$m_pay_open = new OPayLogOpen();
$m_pay_open_log = new OPayLogOpenLog();
$m_pay_log = new OPayLogModel();
$m_house = new GHouses();
$redis_service = new RedisCacheService();
$m_o_img = new OImg();
$field = 'id,agent_id,pay_log_id,order_id,bargain_id,intro,house_id,status';
$pay_open_data = $m_pay_open->getFind($field, $this->params['open_id']);
if ($pay_open_data['agent_id']) {
$agent_data = $redis_service->getRedisCache(2, $pay_open_data['agent_id']);
$pay_open_data['agent_name'] = $agent_data['name'];
$pay_open_data['store_name'] = $agent_data['store_name'];
} else {
$pay_open_data['agent_name'] = '';
$pay_open_data['store_name'] = '';
}
if ($pay_open_data['pay_log_id']) {
$pay_log_data = $m_pay_log->selectPayLogByOrderNo('income_time,create_time', ['id'=>$pay_open_data['pay_log_id']]);
$pay_open_data['income_time'] = isset($pay_log_data[0]['income_time']) ? $pay_log_data[0]['income_time'] : '';
$pay_open_data['create_time'] = isset($pay_log_data[0]['create_time']) ? $pay_log_data[0]['create_time'] : '';
} else {
$pay_open_data['income_time'] = '';
$pay_open_data['create_time'] = '';
}
if ($pay_open_data['house_id']) {
$house_data = $m_house->getHouseDetail('internal_title,province,city,disc', ['id'=>$pay_open_data['house_id']]);
$pay_open_data['house_address'] = $house_data['province'].$house_data['city'].$house_data['disc'].$house_data['internal_title'];
} else {
$pay_open_data['house_address'] = '';
}
$pay_open_data['check_log'] = $m_pay_open_log->getAllList('operation_name,create_time', $this->params['push_id']);
$pay_open_data['open_images'] = $m_o_img->getImgList(['img_id'=>$this->params['open_id'],'img_type'=>5]);
return $this->response(200, '', $pay_open_data);
}
/**
* 开盘申请
*
* @return \think\Response
* @throws Exception
* User HuJun
* Date 19-5-17 上午11:27
*/
public function openPayLog()
{
$params = $this->params;
/* $params = array(
"pay_log_id" => 1,
"report_id" => 1,
"bargain_id" => 1,
"order_id" => 1,
"agent_id" => 1,
"house_id" => 1,
"intro" => "123123",
"house_address" => "123123",
"remark" => "123123",
"open_img" => "123123",
);*/
$checkResult = $this->validate($params, "api_broker/PayLogOpenValidate.applyForOpen");
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
$service_ = new PayLogOpenService();
$pay_log_id = $params["pay_log_id"];
$report_id = $params["report_id"];
$bargain_id = $params["bargain_id"];
$agent_id = $params["agent_id"];
$house_id = $params["house_id"];
$house_address = $params["house_address"];
$intro = $params["intro"];
try {
$open_img = json_decode($params["open_img"], true);
} catch (Exception $exception) {
return $this->response("101", "申请开盘图片解析错误:" . $exception);
}
$return_id = $service_->addApplyForOpen($pay_log_id, $report_id, $bargain_id, $agent_id, $house_id, $intro,
$house_address, $open_img);
if ($return_id > 0) {
return $this->response("200", "success", ["id" => $return_id]);
} else {
return $this->response("101", "save error");
}
}
/**
* 审核开业
* @return \think\Response
*/
public function openPayLogCheck()
{
$params = $this->params;
/* $params = array(
"open_id" => 1,
"status" => 1, //1总监审核 2财务一审 3财务二审
"remark" => 1,
"operation_id" => 1,
"operation_name" => "222",
);*/
$checkResult = $this->validate($params, "api_broker/PayLogOpenValidate.openCheck");
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
$service_ = new PayLogOpenService();
$open_id = $params["open_id"];
$status = $params["status"];
$remark = $params["remark"];
$operation_id = $params["operation_id"];
$operation_name = $params["operation_name"];
$return_id = $service_->addOpenCheck($open_id, $status, $remark, $operation_id, $operation_name);
if ($return_id > 0) {
return $this->response("200", "审核成功", ["id" => $return_id]);
} else {
return $this->response("101", "审核失败");
}
}
}
<?php
/**
* Created by PhpStorm.
* User: HuJun
* Date: 2019/5/17
* Time: 15:27
*/
namespace app\index\controller;
use app\api_broker\service\PayLogOpenService;
use app\api_broker\service\RedisCacheService;
use app\index\extend\Basic;
use app\index\untils\ExportExcelUntil;
use app\model\GHouses;
use app\model\OImg;
use app\model\OPayLogModel;
use app\model\OPayLogOpen;
use app\model\OPayLogOpenLog;
use think\Request;
class PayLogOpen extends Basic
{
private $m_pay_open;
private $m_pay_open_log;
public function __construct(?Request $request = null)
{
parent::__construct($request);
$this->m_pay_open = new OPayLogOpen();
$this->m_pay_open_log = new OPayLogOpenLog();
}
/**
* 收款开业审核
*
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* User HuJun
* Date 19-5-16 下午3:51
*/
public function payCheckList() {
if (!$this->request->isAjax() && $this->params['excel'] == 0) {
return view("finance/pay_check_list");
}
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
if ($this->params['excel'] == 0) {
$pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize'];
} else {
$pageSize = 40000;
}
$status_string = '全部';
//0财务一审
switch ($this->params['check_status']) {
case 1 :
//财务一审
$where['a.status'] = 2;
$status_string = '财务一审';
break;
case 2 :
//财务二审
$where['a.status'] = 3;
$status_string = '财务二审';
break;
case 3 :
//未审核
$where['a.status'] = 0;
$status_string = '未审核';break;
case 4 :
//总监
$where['a.status'] = 1;
$status_string = '总监通过';
break;
}
if ($this->params['create_start_time']) {
$where['a.create_time'] = ['>', $this->params['create_start_time']];
}
if ($this->params['create_end_time']) {
$where['a.create_time'] = ['>', $this->params['create_end_time']];
}
//提交时间区间
if ($this->params['create_start_time'] && $this->params['create_end_time']) {
$where['a.create_time'] = ['between', [$this->params['create_start_time'], $this->params['create_end_time']]];
}
if ($this->params['pass_start_time']) {
$where['b.create_time'] = ['>', $this->params['pass_start_time']];
$where['b.status'] = 1;
}
if ($this->params['pass_end_time']) {
$where['b.create_time'] = ['>', $this->params['pass_end_time']];
$where['b.status'] = 1;
}
//总监通过时间区间
if ($this->params['pass_start_time'] && $this->params['pass_end_time']) {
$where['b.create_time'] = ['between', [$this->params['pass_start_time'], $this->params['pass_end_time']]];
$where['b.status'] = 1;
}
if ($this->params['check_start_time']) {
$where['b.create_time'] = ['>', $this->params['check_start_time']];
$where['b.status'] = 3;
}
if ($this->params['check_end_time']) {
$where['b.create_time'] = ['>', $this->params['check_end_time']];
$where['b.status'] = 3;
}
//财务审核时间区间
if ($this->params['check_start_time'] && $this->params['check_end_time']) {
$where['b.create_time'] = ['between', [$this->params['check_start_time'], $this->params['check_end_time']]];
$where['b.status'] = 3;
}
//收款id
if (isset($this->params['pay_log_id'])) {
$where['a.pay_log_id'] = $this->params['pay_log_id'];
}
//成交报告id
if (isset($this->params['bargain_id'])) {
$where['a.bargain_id'] = $this->params['bargain_id'];
}
//带看订单ID
if (isset($this->params['order_id'])) {
$where['a.order_id'] = $this->params['order_id'];
}
//商铺ID
if (isset($this->params['house_id'])) {
$where['a.house_id'] = $this->params['house_id'];
}
//商铺地址
if (isset($this->params['house_address'])) {
$where['a.house_address'] = $this->params['house_address'];
}
//提交人id
if (isset($this->params['agent_id'])) {
$where['a.agent_id'] = $this->params['agent_id'];
}
//提交人id门店
if (isset($this->params['store_id'])) {
$where['c.store_id'] = $this->params['store_id'];
}
//提交人id部门
if (isset($this->params['district_id'])) {
$where['c.district_id'] = $this->params['district_id'];
}
$where['a.is_del'] = 0;
$fields = 'a.id,a.create_time,a.agent_id,a.pay_log_id,a.bargain_id,a.order_id,a.house_id,a.status,a.house_address,b.create_time as disc_time,max(b.id) as two_id';
$redis_service = new RedisCacheService();
$m_pay_log = new OPayLogModel();
$list = $this->m_pay_open->getListCheck($pageNo, $pageSize, 'a.id desc', $fields, $where);
if ($this->params['excel'] == 0) {
foreach ($list as $k=>$v) {
$log_where['open_id'] = $v['id'];
$log_where['is_del'] = 0;
$log_where['status'] = 1;
$list[$k]['disc_time'] = $this->m_pay_open_log->getFieldOneValue('create_time', $log_where);
if ($v['status'] == 3) {
$pay_log_data = $m_pay_log->selectPayLogByOrderNo('create_time', ['id'=>$v['pay_log_id']]);
$list[$k]['check_time'] = isset($pay_log_data[0]['create_time']) ? $pay_log_data[0]['create_time'] : '';
} else {
$list[$k]['check_time'] = '';
}
$agent_name = $redis_service->getRedisCache(2, $v['agent_id']);
$list[$k]['agent_name'] = $agent_name['name'];
unset($list[$k]['two_id']);
}
$data['list'] = $list;
$data['total'] = $this->m_pay_open->getListCheckTotal($where);
return $this->response(200, '', $data);
}
$excel_data = [];
foreach ($list as $k=>$v) {
$log_where['open_id'] = $v['id'];
$log_where['is_del'] = 0;
$log_where['status'] = 1;
$disc_time = $this->m_pay_open_log->getFieldOneValue('create_time', $log_where);
if ($v['status'] == 3) {
$pay_log_data = $m_pay_log->selectPayLogByOrderNo('create_time', ['id'=>$v['pay_log_id']]);
$check_time = isset($pay_log_data[0]['create_time']) ? $pay_log_data[0]['create_time'] : '';
} else {
$check_time = '';
}
$agent_name = $redis_service->getRedisCache(2, $v['agent_id']);
$list[$k]['agent_name'] = $agent_name['name'];
$excel_data[$k] = [
'id' => $v['id'],
'create_time' => $v['create_time'],
'agent_name' => $agent_name,
'pay_log_id' => $v['pay_log_id'],
'bargain_id' => $v['bargain_id'],
'order_id' => $v['order_id'],
'house_id' => $v['house_id'],
'house_address' => $v['house_address'],
'status_string' => $status_string,
'disc_time' => $disc_time,
'check_time' => $check_time
];
}
$export = new ExportExcelUntil();
$title = [ '申请ID', '提交时间', '提交人', '收款ID', '成交报告ID', '带看订单ID', '成交商铺ID', '成交商铺地址', '状态', '总监通过时间', '开业确定时间'];
$file_name = '收款开业审核-'.$status_string;
$export->exportTable($file_name, $excel_data, 11, '开业审核-'.$status_string, $title);
return true;
}
/**
* 删除收款开业审核
*
* @return \think\Response
* User HuJun
* Date 19-5-16 下午4:42
*/
public function delPayCheck()
{
$msg = '删除失败';
$code = 101;
if (empty($this->params['open_id'])) {
return $this->response($code, '参数错误');
}
$m_pay_open = new OPayLogOpen();
$where['is_del'] = 0;
$where['id'] = $this->params['open_id'];
$id = $m_pay_open->getFieldOneValue('id', $where);
if (empty($id)) {
return $this->response(101, '没有该数据');
}
$num = $m_pay_open->editData(['is_del'=>1], $id);
if ($num) {
$code = 200;
$msg = '删除成功';
}
return $this->response($code, $msg);
}
/**
* 开业审核详情
*
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* User HuJun
* Date 19-5-17 上午10:34
*/
public function getPayCheckDetail()
{
$code = 101;
if (empty($this->params['open_id'])) {
return $this->response($code, '参数错误');
}
$m_pay_log = new OPayLogModel();
$m_house = new GHouses();
$redis_service = new RedisCacheService();
$m_o_img = new OImg();
$field = 'id,agent_id,pay_log_id,order_id,bargain_id,intro,house_id,status';
$pay_open_data = $this->m_pay_open->getFind($field, $this->params['open_id']);
if ($pay_open_data['agent_id']) {
$agent_data = $redis_service->getRedisCache(2, $pay_open_data['agent_id']);
$pay_open_data['agent_name'] = $agent_data['name'];
$pay_open_data['store_name'] = $agent_data['store_name'];
} else {
$pay_open_data['agent_name'] = '';
$pay_open_data['store_name'] = '';
}
if ($pay_open_data['pay_log_id']) {
$pay_log_data = $m_pay_log->selectPayLogByOrderNo('income_time,create_time', ['id'=>$pay_open_data['pay_log_id']]);
$pay_open_data['income_time'] = isset($pay_log_data[0]['income_time']) ? $pay_log_data[0]['income_time'] : '';
$pay_open_data['create_time'] = isset($pay_log_data[0]['create_time']) ? $pay_log_data[0]['create_time'] : '';
} else {
$pay_open_data['income_time'] = '';
$pay_open_data['create_time'] = '';
}
if ($pay_open_data['house_id']) {
$house_data = $m_house->getHouseDetail('internal_title,province,city,disc', ['id'=>$pay_open_data['house_id']]);
$pay_open_data['house_address'] = $house_data['province'].$house_data['city'].$house_data['disc'].$house_data['internal_title'];
} else {
$pay_open_data['house_address'] = '';
}
$pay_open_data['check_log'] = $this->m_pay_open_log->getAllList('operation_name,create_time', $this->params['push_id']);
$pay_open_data['open_images'] = $m_o_img->getImgList(['img_id'=>$this->params['open_id'],'img_type'=>5]);
return $this->response(200, '', $pay_open_data);
}
/**
* 开盘申请
*
* @return \think\Response
* @throws \think\Exception
* User HuJun
* Date 19-5-17 上午11:27
*/
public function openPayLog()
{
$params = $this->params;
/* $params = array(
"pay_log_id" => 1,
"report_id" => 1,
"bargain_id" => 1,
"order_id" => 1,
"agent_id" => 1,
"house_id" => 1,
"intro" => "123123",
"house_address" => "123123",
"remark" => "123123",
"open_img" => "123123",
);*/
$checkResult = $this->validate($params, "api_broker/PayLogOpenValidate.applyForOpen");
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
$service_ = new PayLogOpenService();
$pay_log_id = $params["pay_log_id"];
$report_id = $params["report_id"];
$bargain_id = $params["bargain_id"];
$agent_id = $params["agent_id"];
$house_id = $params["house_id"];
$house_address = $params["house_address"];
$intro = $params["intro"];
try {
$open_img = json_decode($params["open_img"], true);
} catch (\Exception $exception) {
return $this->response("101", "申请开盘图片解析错误:" . $exception);
}
$return_id = $service_->addApplyForOpen($pay_log_id, $report_id, $bargain_id, $agent_id, $house_id, $intro,
$house_address, $open_img);
if ($return_id > 0) {
return $this->response("200", "success", ["id" => $return_id]);
} else {
return $this->response("101", "save error");
}
}
/**
* 审核开业
* @return \think\Response
*/
public function openPayLogCheck()
{
$params = $this->params;
/* $params = array(
"open_id" => 1,
"status" => 1, //1总监审核 2财务一审 3财务二审
"remark" => 1,
"operation_id" => 1,
"operation_name" => "222",
);*/
$checkResult = $this->validate($params, "api_broker/PayLogOpenValidate.openCheck");
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
$service_ = new PayLogOpenService();
$open_id = $params["open_id"];
$status = $params["status"];
$remark = $params["remark"];
$operation_id = $params["operation_id"];
$operation_name = $params["operation_name"];
$return_id = $service_->addOpenCheck($open_id, $status, $remark, $operation_id, $operation_name);
if ($return_id > 0) {
return $this->response("200", "审核成功", ["id" => $return_id]);
} else {
return $this->response("101", "审核失败");
}
}
}
\ No newline at end of file
......@@ -291,16 +291,16 @@ Route::group('index', [
'refundDetail' => ['index/Finance/refundDetail', ['method' => 'GET']],//退款详情
'delRefund' => ['index/Finance/delRefund', ['method' => 'POST']],//删除退款
'recoveryBargain' => ['index/Finance/recoveryBargain', ['method' => 'POST']],//撤销列表-恢复成交报告
'payCheckList' => ['index/Finance/payCheckList', ['method' => 'GET']],//收款开业审核-视图
'payCheckListOne/:check_status' => ['index/Finance/payCheckList', ['method' => 'GET'], ['check_status' => 1]],//收款开业审核-财务一审
'payCheckListTwo/:check_status' => ['index/Finance/payCheckList', ['method' => 'GET'], ['check_status' => 2]],//收款开业审核-财务二审
'payCheckListNo/:check_status' => ['index/Finance/payCheckList', ['method' => 'GET'], ['check_status' => 3]],//收款开业审核-未审核
'payCheckListAll' => ['index/Finance/payCheckList', ['method' => 'GET']],//收款开业审核-全部
'payCheckListDisc/:check_status' => ['index/Finance/payCheckList', ['method' => 'GET'], ['check_status' => 4]],//收款开业审核-总监
'delPayCheck' => ['index/Finance/delPayCheck', ['method' => 'POST']],//删除收款开业审核
'getPayCheckDetail' => ['index/Finance/getPayCheckDetail', ['method' => 'GET']],//开业审核详情
'openPayLog' => ['index/Finance/openPayLog', ['method' => 'POST']],//开业审核详情
'openPayLogCheck' => ['index/Finance/openPayLogCheck', ['method' => 'POST']],//审核开业
'payCheckList' => ['index/PayLogOpen/payCheckList', ['method' => 'GET']],//收款开业审核-视图
'payCheckListOne/:check_status' => ['index/PayLogOpen/payCheckList', ['method' => 'GET'], ['check_status' => 1]],//收款开业审核-财务一审
'payCheckListTwo/:check_status' => ['index/PayLogOpen/payCheckList', ['method' => 'GET'], ['check_status' => 2]],//收款开业审核-财务二审
'payCheckListNo/:check_status' => ['index/PayLogOpen/payCheckList', ['method' => 'GET'], ['check_status' => 3]],//收款开业审核-未审核
'payCheckListAll' => ['index/PayLogOpen/payCheckList', ['method' => 'GET']],//收款开业审核-全部
'payCheckListDisc/:check_status' => ['index/PayLogOpen/payCheckList', ['method' => 'GET'], ['check_status' => 4]],//收款开业审核-总监
'delPayCheck' => ['index/PayLogOpen/delPayCheck', ['method' => 'POST']],//删除收款开业审核
'getPayCheckDetail' => ['index/PayLogOpen/getPayCheckDetail', ['method' => 'GET']],//开业审核详情
'openPayLog' => ['index/PayLogOpen/openPayLog', ['method' => 'POST']],//开业审核详情
'openPayLogCheck' => ['index/PayLogOpen/openPayLogCheck', ['method' => 'POST']],//审核开业
'performanceInfo' => ['index/PerformanceInfo/performanceInfo', ['method' => 'post|get']],//业绩明细
'getPerformanceInfoExcel' => ['index/PerformanceInfo/getPerformanceInfoExcel', ['method' => 'post|get']],//业绩明细
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment