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
490c3afe
authored
2018-03-27 00:23:59 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
8e3eff26
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
27 deletions
application/views/work/审批/信用报告.php
application/views/work/审批/录入信用报告.php
application/views/work/审批/信用报告.php
View file @
490c3af
This diff is collapsed.
Click to expand it.
application/views/work/审批/录入信用报告.php
View file @
490c3af
<?php
$this
->
load
->
view
(
'common/header'
);
?>
<body>
<div
class=
"cl pd-5 bg-1"
>
<div
class=
"cl pd-5 bg-1"
>
<span
class=
"r"
>
<button
class=
"btn btn-primary radius"
>
保存
</button>
<button
class=
"btn btn-primary radius"
>
预览信用报告
</button>
</span>
</div>
</div>
<?php
$this
->
load
->
view
(
'work/审批/信用报告'
);
?>
<?php
$this
->
load
->
view
(
'work/审批/信用报告'
);
?>
<div
class=
"row cl pb-20 col-sm-12"
>
<div
class=
"col-sm-offset-3 col-sm-2"
>
<button
class=
"btn btn-warning btn-block"
>
退回订单
</button>
</div>
<div
class=
"col-sm-2"
>
<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/7'
);
?>
', '审核意见');"
>
通过
</button>
</div>
<div
class=
"row cl pb-20 col-sm-12"
>
<div
class=
"col-sm-offset-3 col-sm-2"
>
<button
class=
"btn btn-warning btn-block"
>
退回订单
</button>
</div>
<div
class=
"col-sm-2"
>
<button
class=
"btn btn-danger btn-block"
onclick=
"refuse()"
>
拒绝
</button>
</div>
<div
class=
"col-sm-2"
>
<button
class=
"btn btn-primary btn-block"
onclick=
"pass()"
>
通过
</button>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
function refuse() {
layer.open({
type: 2,
title: '电核记录',
shadeClose: true,
area: ['800px', '400px'],
content: '
<?=
site_url
(
'work/telRefuse'
)
?>
'
});
}
function pass() {
var data = $("#form1").serializeJson();
$.ajax({
type: '
post
',
url: apiBaseUrl + '
audit
/
creditReport
',
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('
操作成功
');
}
setTimeout(function () {
loadIframe(url, '
审核意见'
);
},
500
)
},
error
:
function
()
{
layer
.
alert
(
"操作失败"
)
}
})
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
function refuse() {
layer.open({
type: 2,
title: '电核记录',
shadeClose: true,
area: ['800px', '400px'],
content: '
<?=
site_url
(
'work/telRefuse'
)
?>
'
});
}
</script>
}
</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