...
|
...
|
@@ -80,7 +80,7 @@ function sendExpressCode() { |
|
|
});
|
|
|
}
|
|
|
|
|
|
function cancelApply(id) {
|
|
|
function cancelApply(id, url) {
|
|
|
var template = Handlebars.compile(cancelApplyDialog);
|
|
|
var html = template({messageIcon: 'icon-warn', messageTitle: '取消申请', messageSummary: '您确定要请取消申请吗?'});
|
|
|
var options = {
|
...
|
...
|
@@ -93,7 +93,7 @@ function cancelApply(id) { |
|
|
cb: function() {
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: '/home/returns/cancelChange',
|
|
|
url: url,
|
|
|
data: {
|
|
|
id: id
|
|
|
}
|
...
|
...
|
@@ -143,7 +143,7 @@ $('#submit-btn').click(function() { |
|
|
sendExpressCode();
|
|
|
});
|
|
|
|
|
|
$('.cancel-return').on('click', 'a', function() {
|
|
|
active = cancelApply($(this).data('id'));
|
|
|
$('.cancel-return').on('click', '.cancel-trigger', function() {
|
|
|
active = cancelApply($(this).data('id'), $(this).data('url'));
|
|
|
active.show();
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|