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
c9234f3e
authored
2018-03-30 00:01:01 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
7c6ae82f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletions
application/views/work/审批/意见.php
application/views/work/审批/意见.php
View file @
c9234f3
...
...
@@ -37,7 +37,7 @@
</span>
</div>
<div
class=
"form-group col-sm-12"
>
<textarea
class=
"textarea"
placeholder=
""
name=
"d
ueD
iligencePurpose"
></textarea>
<textarea
class=
"textarea"
placeholder=
""
name=
"diligencePurpose"
></textarea>
</div>
</div>
</div>
...
...
@@ -64,6 +64,34 @@
icon: 3
}, function(){
var data = $('#form').serializeJson();
//发起尽调
if(data.dueDiligence){
$.ajax({
type: 'post',
url: apiBaseUrl + 'flow/firstDueDiligence',
cache: false,
data: JSON.stringify(data),
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('操作成功');
}
if(!data.code){
setTimeout(function () {
loadIframe('
<?=
site_url
(
'/work/check/12/'
.
$id
);
?>
', '审核意见');
}, 500)
}
},
error: function () {
layer.alert("操作失败")
}
})
}else{
data.status = 1;
$.ajax({
type: 'post',
...
...
@@ -90,6 +118,7 @@
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