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
81f619d7
Commit
81f619d7
authored
Oct 21, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用报销审核
parent
feaddc27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
Cost.php
application/index/controller/Cost.php
+7
-1
route.php
application/route.php
+3
-0
No files found.
application/index/controller/Cost.php
View file @
81f619d7
...
@@ -197,6 +197,8 @@ class Cost extends Basic
...
@@ -197,6 +197,8 @@ class Cost extends Basic
case
5
:
case
5
:
$where
[
'a.site_id'
]
=
$this
->
siteId
;
$where
[
'a.site_id'
]
=
$this
->
siteId
;
$where
[
'a.status'
]
=
1
;
break
;
//行政审核
$where
[
'a.status'
]
=
1
;
break
;
//行政审核
case
6
:
$where
[
'a.status'
]
=
6
;
break
;
//未通过审核
}
}
}
}
...
@@ -372,6 +374,10 @@ class Cost extends Basic
...
@@ -372,6 +374,10 @@ class Cost extends Basic
$params
[
'status'
]
=
4
;
break
;
$params
[
'status'
]
=
4
;
break
;
case
5
:
case
5
:
$params
[
'status'
]
=
5
;
break
;
$params
[
'status'
]
=
5
;
break
;
case
6
:
$params
[
'status'
]
=
6
;
break
;
case
7
:
$params
[
'status'
]
=
0
;
break
;
default
:
default
:
return
$this
->
response
(
$code
,
'请求链接参数错误'
);
return
$this
->
response
(
$code
,
'请求链接参数错误'
);
}
}
...
@@ -380,7 +386,7 @@ class Cost extends Basic
...
@@ -380,7 +386,7 @@ class Cost extends Basic
if
(
isset
(
$params
[
'id_array'
]))
{
if
(
isset
(
$params
[
'id_array'
]))
{
//行政审核 财务一审 财务二审 可以批量审核
//行政审核 财务一审 财务二审 可以批量审核
if
(
!
in_array
(
$params
[
'check_status'
],
[
2
,
3
,
5
]))
{
if
(
!
in_array
(
$params
[
'check_status'
],
[
2
,
3
,
5
,
6
]))
{
return
$this
->
response
(
$code
,
'不能批量审核'
);
return
$this
->
response
(
$code
,
'不能批量审核'
);
}
}
...
...
application/route.php
View file @
81f619d7
...
@@ -553,6 +553,7 @@ Route::group('index', [
...
@@ -553,6 +553,7 @@ Route::group('index', [
'getCostListFour/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
3
]],
//费用报销审核二审
'getCostListFour/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
3
]],
//费用报销审核二审
'getCostListFive/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
4
]],
//费用报销审核三审
'getCostListFive/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
4
]],
//费用报销审核三审
'getCostListSix/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
5
]],
//费用报销审核行政审核
'getCostListSix/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
5
]],
//费用报销审核行政审核
'getCostListSeven/:check_status'
=>
[
'index/Cost/getCostList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
6
]],
//费用报销审核-未通过
'delCost'
=>
[
'index/Cost/delCost'
,
[
'method'
=>
'POST'
]],
//费用报销-删除
'delCost'
=>
[
'index/Cost/delCost'
,
[
'method'
=>
'POST'
]],
//费用报销-删除
'delCostList'
=>
[
'index/Cost/delCostList'
,
[
'method'
=>
'GET'
]],
//费用报销-删除列表
'delCostList'
=>
[
'index/Cost/delCostList'
,
[
'method'
=>
'GET'
]],
//费用报销-删除列表
'checkCostTwo/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
1
]],
//费用报销审核总监
'checkCostTwo/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
1
]],
//费用报销审核总监
...
@@ -560,6 +561,8 @@ Route::group('index', [
...
@@ -560,6 +561,8 @@ Route::group('index', [
'checkCostFour/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
3
]],
//费用报销审核二审
'checkCostFour/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
3
]],
//费用报销审核二审
'checkCostFive/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
4
]],
//费用报销审核三审
'checkCostFive/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
4
]],
//费用报销审核三审
'checkCostSix/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
5
]],
//费用报销行政审核
'checkCostSix/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
5
]],
//费用报销行政审核
'checkCostSeven/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
6
]],
//费用报销-未通过
'checkCostEight/:check_status'
=>
[
'index/Cost/checkCost'
,
[
'method'
=>
'POST'
],
[
'check_status'
=>
7
]],
//费用报销-未通过
'getDetailCost'
=>
[
'index/Cost/getDetailCost'
,
[
'method'
=>
'GET'
]],
//费用报销详情
'getDetailCost'
=>
[
'index/Cost/getDetailCost'
,
[
'method'
=>
'GET'
]],
//费用报销详情
'delStoreFeeImage'
=>
[
'index/StoreFee/delStoreFeeImage'
,
[
'method'
=>
'POST'
]],
//删除图片
'delStoreFeeImage'
=>
[
'index/StoreFee/delStoreFeeImage'
,
[
'method'
=>
'POST'
]],
//删除图片
'getCostDetailList'
=>
[
'index/CostDetail/getCostDetailList'
,
[
'method'
=>
'POST|GET'
]],
'getCostDetailList'
=>
[
'index/CostDetail/getCostDetailList'
,
[
'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