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
effa0c50
Commit
effa0c50
authored
May 17, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开业审核
parent
b6a59484
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
15 deletions
+17
-15
Finance.php
application/index/controller/Finance.php
+11
-9
route.php
application/route.php
+3
-3
openCheckList.js
public/resource/js/openCheckList.js
+3
-3
No files found.
application/index/controller/Finance.php
View file @
effa0c50
...
...
@@ -4987,24 +4987,22 @@ class Finance extends Basic
switch
(
$this
->
params
[
'check_status'
])
{
case
1
:
//财务一审
$where
[
'a.status'
]
=
2
;
$where
[
'b.status'
]
=
2
;
$status_string
=
'
总监审核
'
;
$status_string
=
'
财务一审
'
;
break
;
case
2
:
//财务二审
$where
[
'a.status'
]
=
3
;
$where
[
'b.status'
]
=
3
;
$status_string
=
'财务二审'
;
break
;
case
3
:
//未审核
$where
[
'a.status'
]
=
0
;
$where
[
]
=
[
'EXP'
,
'b.status is null'
]
;
$status_string
=
'未审核'
;
break
;
case
4
:
//总监
$where
[
'a.status'
]
=
1
;
$where
[
'b.status'
]
=
1
;
$status_string
=
'总监通过'
;
break
;
}
...
...
@@ -5126,10 +5124,14 @@ class Finance extends Basic
$excel_data
=
[];
foreach
(
$list
as
$k
=>
$v
)
{
$log_where
[
'open_id'
]
=
$v
[
'id'
];
$log_where
[
'is_del'
]
=
0
;
$log_where
[
'status'
]
=
1
;
$disc_time
=
$m_pay_open_log
->
getFieldOneValue
(
'create_time'
,
$log_where
);
if
(
$v
[
'status'
]
==
3
)
{
$log_where
[
'open_id'
]
=
$v
[
'id'
];
$log_where
[
'is_del'
]
=
0
;
$check_time
=
$m_pay_open_log
->
getFieldOneValue
(
'create_time'
,
$log_where
);
$pay_log_data
=
$m_pay_log
->
selectPayLogByOrderNo
(
'create_time'
,
[
'id'
=>
$v
[
'pay_log_id'
]]);
$check_time
=
isset
(
$pay_log_data
[
0
][
'create_time'
])
?
$pay_log_data
[
0
][
'create_time'
]
:
''
;
}
else
{
$check_time
=
''
;
}
...
...
@@ -5146,7 +5148,7 @@ class Finance extends Basic
'house_id'
=>
$v
[
'house_id'
],
'house_address'
=>
$v
[
'house_address'
],
'status_string'
=>
$status_string
,
'disc_time'
=>
$
v
[
'disc_time'
]
,
'disc_time'
=>
$
disc_time
,
'check_time'
=>
$check_time
];
}
...
...
application/route.php
View file @
effa0c50
...
...
@@ -292,9 +292,9 @@ Route::group('index', [
'delRefund'
=>
[
'index/Finance/delRefund'
,
[
'method'
=>
'POST'
]],
//删除退款
'recoveryBargain'
=>
[
'index/Finance/recoveryBargain'
,
[
'method'
=>
'POST'
]],
//撤销列表-恢复成交报告
'payCheckList'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
]],
//收款开业审核-视图
'payCheckListOne/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
0
]],
//收款开业审核-财务一审
'payCheckListTwo/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
1
]],
//收款开业审核-财务二审
'payCheckListNo/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
2
]],
//收款开业审核-未审核
'payCheckListOne/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
1
]],
//收款开业审核-财务一审
'payCheckListTwo/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
2
]],
//收款开业审核-财务二审
'payCheckListNo/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
3
]],
//收款开业审核-未审核
'payCheckListAll'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
]],
//收款开业审核-全部
'payCheckListDisc/:check_status'
=>
[
'index/Finance/payCheckList'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
4
]],
//收款开业审核-总监
'delPayCheck'
=>
[
'index/Finance/delPayCheck'
,
[
'method'
=>
'POST'
]],
//删除收款开业审核
...
...
public/resource/js/openCheckList.js
View file @
effa0c50
...
...
@@ -21,19 +21,19 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
$
(
'.choose_btn1'
).
hide
();
};
//判断权限 财务一级
if
(
check_auth
(
'/index/payCheckListOne/
0
'
)){
if
(
check_auth
(
'/index/payCheckListOne/
1
'
)){
$
(
'.choose_btn2'
).
show
();
}
else
{
$
(
'.choose_btn2'
).
hide
();
};
//判断权限 财务二级
if
(
check_auth
(
'index/payCheckListTwo/
1
'
)){
if
(
check_auth
(
'index/payCheckListTwo/
2
'
)){
$
(
'.choose_btn3'
).
show
();
}
else
{
$
(
'.choose_btn3'
).
hide
();
};
//判断权限 未审核
if
(
check_auth
(
'index/payCheckListNo/
2
'
)){
if
(
check_auth
(
'index/payCheckListNo/
3
'
)){
$
(
'.choose_btn4'
).
show
();
}
else
{
$
(
'.choose_btn4'
).
hide
();
...
...
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