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
c0eec6a7
authored
2018-03-31 15:12:54 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
3f9ca795
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
2 deletions
application/views/work/客户确认/客户确认.php
application/views/work/资料/资料移交.php
application/views/work/客户确认/客户确认.php
View file @
c0eec6a
...
...
@@ -94,9 +94,40 @@
title: '客户已同意',
icon: 3
}, function(){
layer
.
msg
(
'确认'
);
var targetUrl = 'flow/confirm2NextStatus';
var data = {
"opinion": "",
"orderStatus": "
<?=
$applyOrderVO
->
status
?>
"
}
$.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("
操作失败"
)
}
})
});
}
</script>
</body>
</html>
...
...
application/views/work/资料/资料移交.php
View file @
c0eec6a
...
...
@@ -146,7 +146,37 @@
title: '资料转移',
icon: 3
}, function(){
layer
.
msg
(
'确认'
);
var targetUrl = 'flow/confirm2NextStatus';
var data = {
"opinion": "",
"orderStatus": "
<?=
$applyOrderVO
->
status
?>
"
}
$.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("
操作失败"
)
}
})
});
}
</script>
...
...
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