Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fa96c8cc
authored
2018-03-26 22:55:40 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
3c15f1b2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
14 deletions
application/controllers/Work.php
application/views/work/初审.php
application/controllers/Work.php
View file @
fa96c8c
...
...
@@ -164,44 +164,62 @@ class Work extends CI_Controller
$this
->
load
->
view
(
'work/资料/资料补录结果'
);
}
public
function
check
(
$state
=
null
)
public
function
check
(
$state
=
null
,
$id
=
null
)
{
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'order/detail/'
.
$id
;
$result
=
file_get_contents
(
$url
);
$json
=
json_decode
(
$result
);
$ret
=
$json
->
data
;
if
(
!
$ret
->
clientUnitOutputVO
)
{
$ret
->
clientUnitOutputVO
=
array
();
}
if
(
!
$ret
->
clientContactOutputVOS
)
{
$ret
->
clientContactOutputVOS
=
array
();
}
$data
=
array
(
'clientInfoOutputVO'
=>
$ret
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$ret
->
clientUnitOutputVO
,
'clientContactOutputVOS'
=>
$ret
->
clientContactOutputVOS
,
'applyOrderVO'
=>
$ret
->
applyOrderVO
);
switch
(
$state
)
{
case
1
:
$this
->
load
->
view
(
'work/审批/资料清单'
);
$this
->
load
->
view
(
'work/审批/资料清单'
,
$data
);
break
;
case
2
:
$this
->
load
->
view
(
'work/审批/基本信息'
);
$this
->
load
->
view
(
'work/审批/基本信息'
,
$data
);
break
;
case
3
:
$this
->
load
->
view
(
'work/审批/人脉圈'
);
$this
->
load
->
view
(
'work/审批/人脉圈'
,
$data
);
break
;
case
4
:
$this
->
load
->
view
(
'work/审批/风险识别'
);
$this
->
load
->
view
(
'work/审批/风险识别'
,
$data
);
break
;
case
5
:
$this
->
load
->
view
(
'work/审批/交易记录'
);
$this
->
load
->
view
(
'work/审批/交易记录'
,
$data
);
break
;
case
6
:
$this
->
load
->
view
(
'work/审批/录入信用报告'
);
$this
->
load
->
view
(
'work/审批/录入信用报告'
,
$data
);
break
;
case
7
:
$this
->
load
->
view
(
'work/审批/网查筛选'
);
$this
->
load
->
view
(
'work/审批/网查筛选'
,
$data
);
break
;
case
8
:
$this
->
load
->
view
(
'work/审批/电核'
);
$this
->
load
->
view
(
'work/审批/电核'
,
$data
);
break
;
case
9
:
$this
->
load
->
view
(
'work/审批/意见'
);
$this
->
load
->
view
(
'work/审批/意见'
,
$data
);
break
;
case
12
:
$this
->
load
->
view
(
'work/审批/意见结果'
);
$this
->
load
->
view
(
'work/审批/意见结果'
,
$data
);
break
;
case
10
:
$this
->
load
->
view
(
'work/审批/复审'
);
$this
->
load
->
view
(
'work/审批/复审'
,
$data
);
break
;
case
11
:
$this
->
load
->
view
(
'work/审批/终审'
);
$this
->
load
->
view
(
'work/审批/终审'
,
$data
);
break
;
}
}
...
...
application/views/work/初审.php
View file @
fa96c8c
...
...
@@ -51,7 +51,7 @@
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/index.php/work/check/1?tab=0\', \'审批订单\')">马上审批</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/index.php/work/check/1
/'
+
data
+
'
?tab=0\', \'审批订单\')">马上审批</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
<ul class="menu">\
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment