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
cac2cff5
authored
2018-03-24 17:17:44 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
138e39a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
10 deletions
application/views/work/尽调管理.php
application/views/work/等待放款.php
application/views/work/尽调管理.php
View file @
cac2cff
...
...
@@ -62,7 +62,7 @@
return
;
}
subMenu
+=
'<li><a href="javascript:;" onclick="rollback('
+
data
+
','
+
$
(
this
).
val
()
+
','
+
full
.
status
+
')">退至 '
+
$
(
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">\
...
...
application/views/work/等待放款.php
View file @
cac2cff
...
...
@@ -49,21 +49,21 @@
},
{
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
var
subMenu
=
''
;
$
(
'[name=status]'
).
find
(
'option'
).
each
(
function
()
{
if
(
!
$
(
this
).
val
())
{
return
;
}
subMenu
+=
'<li><a href="javascript:;" onclick="rollback('
+
data
+
','
+
$
(
this
).
val
()
+
','
+
full
.
status
+
')">退至 '
+
$
(
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="creatIframe(\'/index.php/work/move\', \'移交资料\')">移交资料</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/index.php/work/move
/'
+
data
+
'
\', \'移交资料\')">移交资料</a></li>\
<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 class="menu">'
+
data
+
'\
</ul>\
</li>\
<li><a href="javascript:;" onclick="cancel('
+
data
+
')">客户取消</a></li>\
...
...
@@ -100,6 +100,44 @@
});
}
function
rollback
(
id
,
curr
,
dest
)
{
layer
.
prompt
({
title
:
'输入驳回理由'
,
formType
:
0
},
function
(
pass
,
index
)
{
layer
.
close
(
index
);
var
data
=
{
"destOrderStatus"
:
dest
,
"opinion"
:
pass
,
"orderStatus"
:
curr
}
var
targetUrl
=
'flow/unConfirmRollbackStatus/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
data
:
JSON
.
stringify
(
data
),
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'操作失败'
);
}
else
{
layer
.
alert
(
'操作成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"操作失败"
)
}
})
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
...
...
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