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
1bdf8dd2
Commit
1bdf8dd2
authored
Jun 21, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
url
parent
23c1c9f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
12 deletions
+44
-12
OfficeBargain.php
application/index/controller/OfficeBargain.php
+36
-0
OfficePayLog.php
application/index/controller/OfficePayLog.php
+0
-5
route.php
application/route.php
+8
-7
No files found.
application/index/controller/OfficeBargain.php
View file @
1bdf8dd2
...
@@ -1311,4 +1311,39 @@ class OfficeBargain extends Basic
...
@@ -1311,4 +1311,39 @@ class OfficeBargain extends Basic
return
$this
->
response
(
$code
,
$msg
);
return
$this
->
response
(
$code
,
$msg
);
}
}
/**
* 成交报告审核
*
* @return \think\Response
*/
public
function
checkReport
()
{
$data
[
'code'
]
=
200
;
$data
[
'msg'
]
=
""
;
$data
[
'data'
]
=
[];
if
(
empty
(
$this
->
params
[
'id'
])
||
empty
(
$this
->
params
[
'source'
])
||
empty
(
$this
->
params
[
'status'
]))
{
$data
[
'code'
]
=
101
;
$data
[
'msg'
]
=
'Id is null'
;
}
else
{
$params
[
'audit_id'
]
=
$this
->
userId
;
$params
[
'audit_name'
]
=
$this
->
userName
;
$params
[
'audit_id'
]
=
$this
->
userId
;
$params
[
'audit_level'
]
=
$this
->
params
[
'check_status'
];
$params
[
'remark'
]
=
$this
->
params
[
'remark'
];
try
{
$status
=
$this
->
m_bargain
->
addCheckBargain
(
$this
->
params
[
'id'
],
$params
,
$this
->
params
[
'source'
],
$this
->
params
[
'status'
]);
}
catch
(
\Exception
$e
)
{
return
$this
->
response
(
101
,
'内部错误,审核失败!请联系运营。'
);
}
if
(
empty
(
$status
))
{
$data
[
'code'
]
=
101
;
$data
[
'msg'
]
=
'审核失败'
;
}
}
return
$this
->
response
(
$data
[
'code'
],
$data
[
'msg'
],
$data
[
'data'
]);
}
}
}
\ No newline at end of file
application/index/controller/OfficePayLog.php
View file @
1bdf8dd2
...
@@ -1788,11 +1788,6 @@ class OfficePayLog extends Basic
...
@@ -1788,11 +1788,6 @@ class OfficePayLog extends Basic
*/
*/
public
function
refundList
()
public
function
refundList
()
{
{
//显示视图
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'refundList'
);
}
$data
[
'code'
]
=
200
;
$data
[
'code'
]
=
200
;
$data
[
'msg'
]
=
""
;
$data
[
'msg'
]
=
""
;
$data
[
'data'
]
=
[];
$data
[
'data'
]
=
[];
...
...
application/route.php
View file @
1bdf8dd2
...
@@ -1064,13 +1064,14 @@ Route::group('office_index', [
...
@@ -1064,13 +1064,14 @@ Route::group('office_index', [
'refundDetail'
=>
[
'index/officePayLog/refundDetail'
,
[
'method'
=>
'GET'
]],
//退款详情
'refundDetail'
=>
[
'index/officePayLog/refundDetail'
,
[
'method'
=>
'GET'
]],
//退款详情
'checkRefund'
=>
[
'index/officePayLog/checkRefund'
,
[
'method'
=>
'GET'
]],
//退款审核
'checkRefund'
=>
[
'index/officePayLog/checkRefund'
,
[
'method'
=>
'GET'
]],
//退款审核
'delRefund'
=>
[
'index/officePayLog/delRefund'
,
[
'method'
=>
'GET'
]],
//删除退款
'delRefund'
=>
[
'index/officePayLog/delRefund'
,
[
'method'
=>
'GET'
]],
//删除退款
'reportListUndone/:check_status'
=>
[
'index/officePayLog/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
6
]],
//财务 成交报告-已撤销
'refundList'
=>
[
'index/officePayLog/refundList'
,
[
'method'
=>
'get'
]],
//退款列表-专员审核
'backOutThree/:check_status'
=>
[
'index/officePayLog/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
8
]],
//财务 成交报告-待撤销-第三级数据
'reportListUndone/:check_status'
=>
[
'index/OfficeBargain/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
6
]],
//财务 成交报告-已撤销
'backOutTwo/:check_status'
=>
[
'index/officePayLog/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
7
]],
//财务 成交报告-待撤销-第二级数据
'backOutThree/:check_status'
=>
[
'index/OfficeBargain/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
8
]],
//财务 成交报告-待撤销-第三级数据
'backOutOne/:check_status'
=>
[
'index/officePayLog/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
5
]],
//财务 成交报告-待撤销-第一级数据
'backOutTwo/:check_status'
=>
[
'index/OfficeBargain/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
7
]],
//财务 成交报告-待撤销-第二级数据
'checkBackOutOne/:check_status'
=>
[
'index/officePayLog/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
1
]],
//审核撤销成交报告-第一级审核
'backOutOne/:check_status'
=>
[
'index/OfficeBargain/reportList'
,
[
'method'
=>
'get'
],
[
'check_status'
=>
5
]],
//财务 成交报告-待撤销-第一级数据
'checkBackOutTwo/:check_status'
=>
[
'index/officePayLog/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
2
]],
//审核撤销成交报告-第二级审核
'checkBackOutOne/:check_status'
=>
[
'index/OfficeBargain/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
1
]],
//审核撤销成交报告-第一级审核
'checkBackOutThree/:check_status'
=>
[
'index/officePayLog/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
3
]],
//审核撤销成交报告-第三级审核
'checkBackOutTwo/:check_status'
=>
[
'index/OfficeBargain/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
2
]],
//审核撤销成交报告-第二级审核
'checkBackOutThree/:check_status'
=>
[
'index/OfficeBargain/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
3
]],
//审核撤销成交报告-第三级审核
'collectingBill'
=>
[
'index/officePayLog/collectingBill'
,
[
'method'
=>
'get|post'
]],
//收款
'collectingBill'
=>
[
'index/officePayLog/collectingBill'
,
[
'method'
=>
'get|post'
]],
//收款
'getBeForNum'
=>
[
'index/officePayLog/getBeForNum'
,
[
'method'
=>
'get'
]],
//获取上次提交收款的门牌号等
'getBeForNum'
=>
[
'index/officePayLog/getBeForNum'
,
[
'method'
=>
'get'
]],
//获取上次提交收款的门牌号等
...
...
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