Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
0c583f6c
Commit
0c583f6c
authored
May 18, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告三级审核修改
parent
976383f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
26 deletions
+23
-26
Finance.php
application/index/controller/Finance.php
+20
-22
route.php
application/route.php
+3
-4
No files found.
application/index/controller/Finance.php
View file @
0c583f6c
...
...
@@ -13,7 +13,6 @@ use app\api_broker\service\OrderLogService;
use
app\index\extend\Basic
;
use
app\model\AAgents
;
use
app\model\OBargainModel
;
use
app\model\OFinancialAudit
;
use
app\model\OPayLogModel
;
use
app\model\ORefundModel
;
...
...
@@ -64,24 +63,6 @@ class Finance extends Basic
$order
=
'e.id desc'
;
switch
(
$this
->
params
[
'check_status'
])
{
case
1
:
//成交报告列表-经理审核
$where
[
'e.audit_level'
]
=
0
;
break
;
case
2
:
//成交报告列表-总监审核
$where
[
'e.audit_level'
]
=
1
;
break
;
case
3
:
//成交报告列表-出纳审核
$where
[
'e.audit_level'
]
=
2
;
break
;
case
4
:
//成交报告列表-已结单
$where
[
'e.audit_level'
]
=
3
;
$where
[
'a.status'
]
=
11
;
if
(
!
empty
(
$this
->
params
[
'create_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
$where
[
'e.create_time'
]
=
[
'> time'
,
$this
->
params
[
'create_time'
]
.
' 00:00:00'
];
}
...
...
@@ -102,17 +83,34 @@ class Finance extends Basic
$where
[
'b.user_phone'
]
=
[
'like'
,
'%'
.
$this
->
params
[
'user_phone'
]
.
'%'
];
}
if
(
!
empty
(
$this
->
params
[
'internal_title'
]))
{
$where
[
'd.internal_title'
]
=
[
'like'
,
'%'
.
$this
->
params
[
'internal_title'
]
.
'%'
];
}
switch
(
$this
->
params
[
'check_status'
])
{
case
2
:
//成交报告列表-第二级审核
$where
[
'e.audit_level'
]
=
0
;
break
;
case
5
:
case
3
:
//成交报告列表-第三级审核
$where
[
'e.audit_level'
]
=
1
;
break
;
case
4
:
//成交报告列表-已结单
$where
[
'a.account_statement'
]
=
1
;
$where
[
'a.status'
]
=
11
;
break
;
/* case 5 :
//成交报告列表-待撤销
$where['a.status'] = 20;
break;
case 6 :
//成交报告列表-已撤销
$where['a.status'] = 21;
break
;
break;
*/
default
:
//成交报告列表-
专员
审核
//成交报告列表-
第一级
审核
$where
[
'e.audit_level'
]
=
NULL
;
$order
=
'a.id DESC'
;
}
...
...
application/route.php
View file @
0c583f6c
...
...
@@ -188,10 +188,9 @@ Route::group('index', [
'select_by_phone'
=>
[
'index/remark/select_by_phone'
,
[
'method'
=>
'get|post'
]
],
//后台客户详情--客方搜索
'getSetting'
=>
[
'index/Setting/getSetting'
,
[
'method'
=>
'get|post'
]
],
//新增和修改全局参数设置
'getMenu'
=>
[
'index/Auth/getMenu'
,
[
'method'
=>
'get|post'
]
],
//新增和修改全局参数设置
'reportListAttache/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
0
]],
//财务 成交报告-未结单-专员审核
'reportListManager/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
1
]],
//财务 成交报告-未结单-经理审核
'reportListMajordomo/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
2
]],
//财务 成交报告-未结单-总监审核
'reportListCashier/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
3
]],
//财务 成交报告-未结单-出纳审核
'reportListOne/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
1
]],
//财务 成交报告-未结单-第一级审核
'reportListTwo/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
2
]],
//财务 成交报告-未结单-第二级审核
'reportListThree/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
3
]],
//财务 成交报告-未结单-第三级审核
'reportListStatement/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
4
]],
//财务 成交报告-已结单
'reportListBackout/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
5
]],
//财务 成交报告-待撤销
'reportListUndone/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
6
]],
//财务 成交报告-已撤销
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment