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
e054f77b
Commit
e054f77b
authored
Sep 11, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用报销审核行政审核
parent
968f50e0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
ApplyForCost.php
application/api_broker/controller/ApplyForCost.php
+11
-1
Cost.php
application/index/controller/Cost.php
+4
-0
route.php
application/route.php
+1
-0
No files found.
application/api_broker/controller/ApplyForCost.php
View file @
e054f77b
...
...
@@ -102,7 +102,14 @@ class ApplyForCost extends Basic
if
(
!
$is_check
)
{
$where
[
'a.store_id'
]
=
$agent_data
[
'store_id'
];
}
$where
[
'a.status'
]
=
4
;
break
;
//财务三审
$where
[
'a.status'
]
=
4
;
break
;
//财务三审-已出款
case
6
:
$get_check_user
=
'index/getCostListSix/5'
;
$is_check
=
$this
->
checkAuth
(
$get_check_user
);
if
(
!
$is_check
)
{
$where
[
'a.store_id'
]
=
$agent_data
[
'store_id'
];
}
$where
[
'a.status'
]
=
5
;
break
;
//行政审核
default
:
return
$this
->
response
(
101
,
'请求错误'
);
}
...
...
@@ -181,6 +188,9 @@ class ApplyForCost extends Basic
case
4
:
$check_url
=
'index/checkCostFive/4'
;
break
;
case
5
:
$check_url
=
'index/getCostListSix/5'
;
break
;
default
:
return
$this
->
response
(
101
,
'请求错误'
);
}
...
...
application/index/controller/Cost.php
View file @
e054f77b
...
...
@@ -161,6 +161,8 @@ class Cost extends Basic
$where
[
'a.status'
]
=
3
;
break
;
case
4
:
$where
[
'a.status'
]
=
4
;
break
;
case
5
:
$where
[
'a.status'
]
=
5
;
break
;
}
}
...
...
@@ -309,6 +311,8 @@ class Cost extends Basic
case
4
:
$params
[
'img_name'
]
=
json_decode
(
$params
[
'img_name'
],
true
);
$params
[
'status'
]
=
4
;
break
;
case
5
:
$params
[
'status'
]
=
5
;
break
;
default
:
return
$this
->
response
(
$code
,
'请求链接参数错误'
);
}
...
...
application/route.php
View file @
e054f77b
...
...
@@ -542,6 +542,7 @@ Route::group('index', [
'getCostListThree/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
2
]],
//费用报销审核一审
'getCostListFour/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
3
]],
//费用报销审核二审
'getCostListFive/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
4
]],
//费用报销审核三审
'getCostListSix/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
5
]],
//费用报销审核行政审核
'delCost'
=>
[
'index/Cost/delCost'
,
[
'method'
=>
'POST'
]],
//删除费用报销审核
'checkCostTwo/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
1
]],
//费用报销审核总监
'checkCostThree/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
2
]],
//费用报销审核一审
...
...
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