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
5dd9c64a
Commit
5dd9c64a
authored
May 16, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除收款开业审核
parent
191d283d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
Finance.php
application/index/controller/Finance.php
+32
-0
route.php
application/route.php
+1
-0
No files found.
application/index/controller/Finance.php
View file @
5dd9c64a
...
...
@@ -5138,4 +5138,36 @@ class Finance extends Basic
$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
OPayOpen
();
$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
);
}
}
application/route.php
View file @
5dd9c64a
...
...
@@ -297,6 +297,7 @@ Route::group('index', [
'payCheckListNo/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
2
]],
//收款开业审核-未审核
'payCheckListAll'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
]],
//收款开业审核-全部
'payCheckListDisc/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
4
]],
//收款开业审核-总监
'delPayCheck'
=>
[
'index/Finance/delPayCheck'
,
[
'method'
=>
'POST'
]],
//删除收款开业审核
'performanceInfo'
=>
[
'index/PerformanceInfo/performanceInfo'
,
[
'method'
=>
'post|get'
]],
//业绩明细
'getPerformanceInfoExcel'
=>
[
'index/PerformanceInfo/getPerformanceInfoExcel'
,
[
'method'
=>
'post|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