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
7d5fc342
authored
2018-03-24 16:58:52 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
ce6a18a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
16 deletions
application/controllers/Work.php
application/views/work/尽调管理.php
application/controllers/Work.php
View file @
7d5fc34
...
...
@@ -215,9 +215,26 @@ class Work extends CI_Controller
$this
->
load
->
view
(
'work/审批/拒绝'
);
}
public
function
verify
(
$
state
=
null
)
public
function
verify
(
$
id
=
null
)
{
$this
->
load
->
view
(
'work/客户确认/客户确认'
);
$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
);
$this
->
load
->
view
(
'work/客户确认/客户确认'
,
$data
);
}
public
function
move
()
...
...
application/views/work/尽调管理.php
View file @
7d5fc34
...
...
@@ -49,30 +49,35 @@
},
{
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
/*<li><a href="#">退至【资料补录】阶段</a></li>
<li><a href="#">退至【审批-初审】阶段</a></li>
<li><a href="#">退至【审批-复审】阶段</a></li>
<li><a href="#">退至【审批-终审】阶段</a></li>
<li><a href="#">退至【尽调】阶段</a></li>
<li><a href="#">退至【客户确认】阶段</a></li>
<li><a href="#">退至【等待放款-移交】阶段</a></li>*/
var
subMenu
=
''
;
$
(
'[name=status]'
).
find
(
'option'
).
each
(
function
()
{
subMenu
+=
'<li><a href="#">退至 '
+
$
(
this
).
text
()
+
'阶段</a></li>'
;
})
return
'<span class="dropDown dropDown_hover">\
<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="layer_show(\'资料补录\', \'/index.php/work/record/'
+
data
+
'\')">马上尽调</a></li>\
<li><a href="javascript:;" onclick="rollback('
+
data
+
')">驳回</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
<ul class="menu">'
+
subMenu
+
'\
</ul>\
</li>\
<li><a href="javascript:;" onclick="cancel('
+
data
+
')">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
/**
* // <li>
// <a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>
// <ul class="menu">
// <li><a href="#">退至【资料补录】阶段</a></li>
// <li><a href="#">退至【审批-初审】阶段</a></li>
// <li><a href="#">退至【审批-复审】阶段</a></li>
// <li><a href="#">退至【审批-终审】阶段</a></li>
// <li><a href="#">退至【尽调】阶段</a></li>
// <li><a href="#">退至【客户确认】阶段</a></li>
// <li><a href="#">退至【等待放款-移交】阶段</a></li>
// </ul>
// </li>
*/
}
},
{
data
:
"orderNo"
},
//订单编号
...
...
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