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
c39ecd75
Commit
c39ecd75
authored
Apr 25, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告已结单、待撤销、已撤销
parent
bcff0c74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
Finance.php
application/index/controller/Finance.php
+19
-3
route.php
application/route.php
+2
-2
No files found.
application/index/controller/Finance.php
View file @
c39ecd75
...
...
@@ -36,26 +36,42 @@ class Finance extends Basic
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
$fields
=
'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee,a.order_no'
;
$fields
=
'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee,a.order_no
,content
'
;
$where
[
'a.father_id'
]
=
0
;
$where
[
'c.is_del'
]
=
0
;
$where
[
'e.audit_level'
]
=
0
;
$where
[
'a.status'
]
=
10
;
$check_status
=
[
1
,
2
,
3
];
$check_status
=
[
1
,
2
,
3
,
4
];
if
(
in_array
(
$this
->
params
[
'check_status'
],
$check_status
))
{
switch
(
$this
->
params
[
'check_status'
])
{
case
1
:
//成交报告列表-专员审核
$where
[
'e.audit_level'
]
=
[
'NOT IN'
,
'0,2,3'
];
break
;
case
2
:
//成交报告列表-经理审核
$where
[
'e.audit_level'
]
=
[
'NOT IN'
,
'0,1,3'
];
break
;
case
3
:
//成交报告列表-总监审核
$where
[
'e.audit_level'
]
=
[
'NOT IN'
,
'0,1,2'
];
break
;
case
4
:
//成交报告列表-已结单
$where
[
'e.audit_level'
]
=
3
;
$where
[
'a.status'
]
=
11
;
break
;
case
5
:
//成交报告列表-待撤销
$where
[
'a.status'
]
=
20
;
break
;
case
6
:
//成交报告列表-已撤销
$where
[
'a.status'
]
=
21
;
break
;
default
:
$where
[
'e.audit_level'
]
=
[
'NOT IN'
,
'1
2
3'
];
$where
[
'e.audit_level'
]
=
[
'NOT IN'
,
'1
,2,
3'
];
}
}
else
{
$where
[
'e.audit_level'
]
=
[
'NULL'
];
...
...
application/route.php
View file @
c39ecd75
...
...
@@ -190,8 +190,8 @@ Route::group('index', [
'reportListMajordomo/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
2
]],
//财务 成交报告-未结单-总监审核
'reportListCashier/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
3
]],
//财务 成交报告-未结单-出纳审核
'reportListStatement/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
4
]],
//财务 成交报告-已结单
'reportListBackout/:status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'status'
=>
20
]],
//财务 成交报告-待撤销
'reportListUndone/:status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'status'
=>
21
]],
//财务 成交报告-已撤销
'reportListBackout/:status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'status'
=>
5
]],
//财务 成交报告-待撤销
'reportListUndone/:status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'status'
=>
6
]],
//财务 成交报告-已撤销
'refundList'
=>
[
'index/Finance/refundList'
,
[
'method'
=>
'get|post'
]
],
//财务 退款
'accountList'
=>
[
'index/Finance/accountList'
,
[
'method'
=>
'get|post'
]
],
//财务 账户列表
'checkReportAttache/:check_status'
=>
[
'index/Finance/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
0
]],
//审核成交报告-专员审核
...
...
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