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
25dd2cb6
authored
2018-03-29 22:40:21 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
27bd04c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
1 deletions
application/views/work/审批/电核.php
application/views/work/审批/电核.php
View file @
25dd2cb
...
...
@@ -17,7 +17,9 @@
</div>
<div
class=
"tabCon"
>
<form
action=
""
id=
"form1"
>
<?php
$this
->
load
->
view
(
'/work/审批/电核结果'
);
?>
</form>
</div>
<div
class=
"tabCon pb-20"
>
<div
class=
"cl pd-5 bg-1"
>
...
...
@@ -68,7 +70,7 @@
<button
class=
"btn btn-danger btn-block"
onclick=
"refuse()"
>
拒绝
</button>
</div>
<div
class=
"col-sm-2"
>
<button
class=
"btn btn-primary btn-block"
onclick=
"
loadIframe('
<?=
site_url
(
'/work/check/9'
);
?>
', '审核意见');
"
>
通过
</button>
<button
class=
"btn btn-primary btn-block"
onclick=
"
pass()
"
>
通过
</button>
</div>
</div>
...
...
@@ -104,6 +106,38 @@
content: '
<?=
site_url
(
'work/telRefuse'
)
?>
'
});
}
function pass() {
var data = $("#form1").serializeJson();
var url = '
<?=
site_url
(
'/work/check/9/'
.
$id
);
?>
';
$.ajax({
type: '
post
',
url: apiBaseUrl + '
audit
/
phoneReport
',
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(url, '
审核意见'
);
},
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