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
f989db77
authored
2018-03-24 11:27:07 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
bb67dd4c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
108 additions
and
3 deletions
application/views/work/初审.php
application/views/work/复审.php
application/views/work/终审.php
application/views/work/初审.php
View file @
f989db7
...
...
@@ -102,7 +102,7 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></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>'
;
...
...
@@ -168,6 +168,41 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
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
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/复审.php
View file @
f989db7
...
...
@@ -103,7 +103,7 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></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>'
;
...
...
@@ -170,6 +170,41 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
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
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/终审.php
View file @
f989db7
...
...
@@ -103,7 +103,7 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></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>'
;
...
...
@@ -170,6 +170,41 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
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
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
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