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
b92f8da5
authored
2018-03-29 21:54:54 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
8c9cf7ff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
6 deletions
application/views/work/审批/意见.php
application/views/work/审批/意见.php
View file @
b92f8da
...
...
@@ -10,36 +10,41 @@
</span>
</div>
<form
action=
""
id=
"form"
>
<div
class=
"panel panel-default mb-20"
>
<div
class=
"panel-header"
>
审核意见
</div>
<div
class=
"panel-body"
>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
拟批
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"mockMoney"
value=
""
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
<div
class=
"form-group col-sm-12"
>
<textarea
class=
"textarea"
placeholder=
""
></textarea>
<textarea
class=
"textarea"
placeholder=
""
name=
"description"
></textarea>
</div>
</div>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
是否发起尽调
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select uploader"
size=
"1"
>
<select
class=
"select uploader"
name=
"dueDiligence"
size=
"1"
>
<option
value=
"1"
>
是
</option>
<option
value=
"
2
"
>
否
</option>
<option
value=
"
0
"
>
否
</option>
</select>
</span>
</div>
<div
class=
"form-group col-sm-12"
>
<textarea
class=
"textarea"
placeholder=
""
></textarea>
<textarea
class=
"textarea"
placeholder=
""
name=
"dueDiligencePurpose"
></textarea>
</div>
</div>
</div>
</div>
</form>
<div
class=
"row cl pb-20 col-sm-12"
>
<div
class=
"col-sm-offset-4 col-sm-2"
>
<button
class=
"btn btn-warning btn-block"
>
退回订单
</button>
...
...
@@ -53,12 +58,37 @@
<script>
function next () {
layer.confirm('
通过之后, 将立即进入【待尽调】【待尽审】列表
', {
layer.confirm('
确认通过
', {
btn: ['确认','取消'],
title: '通过',
icon: 3
}, function(){
var data = $('#form').serializeJson();
$.ajax({
type: 'post',
url: apiBaseUrl + 'flow/saveFirstCheck',
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
(
"操作失败"
)
}
})
});
}
</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