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
fe675026
authored
2018-03-31 12:41:16 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
8896c696
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
64 deletions
application/views/work/审批/终审意见.php
application/views/work/审批/终审意见.php
View file @
fe67502
<?php
$this
->
load
->
view
(
'common/header'
);
?>
<body>
<div
class=
"cl pd-5 bg-1"
>
<div
class=
"cl pd-5 bg-1"
>
<span
class=
"l"
>
<?php
if
(
$applyOrderVO
->
status
==
4
)
:
?>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/6/'
.
$id
)
?>
', '录入信用报告');"
>
录入信用报告
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/7/'
.
$id
)
?>
', '网查筛查');"
>
网查筛查
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/8/'
.
$id
)
?>
', '电核');"
>
电核
</button>
<?php
endif
;
?>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/9/'
.
$id
)
?>
', '受理意见');"
>
受理意见
</button>
<?php
if
(
$applyOrderVO
->
status
==
4
)
:
?>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/6/'
.
$id
)
?>
', '录入信用报告');"
>
录入信用报告
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/7/'
.
$id
)
?>
', '网查筛查');"
>
网查筛查
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/8/'
.
$id
)
?>
', '电核');"
>
电核
</button>
<?php
endif
;
?>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?=
site_url
(
'work/check/9/'
.
$id
)
?>
', '受理意见');"
>
受理意见
</button>
</span>
</div>
</div>
<form
action=
""
id=
"form"
>
<form
action=
""
id=
"form"
>
<div
class=
"panel panel-default mb-20"
>
...
...
@@ -21,14 +25,16 @@
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-1"
>
<label>
拟批
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$getFirstCheck
?
$getFirstCheck
->
mockMoney
:
''
?>
"
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$getFirstCheck
?
$getFirstCheck
->
mockMoney
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
</div>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-12 col-md-12"
>
<label>
拟批备注
</label>
<textarea
class=
"textarea"
disabled
>
<?=
$getFirstCheck
?
$getFirstCheck
->
description
:
''
?>
</textarea>
<textarea
class=
"textarea"
disabled
>
<?=
$getFirstCheck
?
$getFirstCheck
->
description
:
''
?>
</textarea>
</div>
</div>
</div>
...
...
@@ -40,14 +46,16 @@
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-1"
>
<label>
拟批
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$getSecondCheck
?
$getSecondCheck
->
mockMoney
:
''
?>
"
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$getSecondCheck
?
$getSecondCheck
->
mockMoney
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
</div>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-12 col-md-12"
>
<label>
拟批备注
</label>
<textarea
class=
"textarea"
disabled
>
<?=
$getSecondCheck
?
$getSecondCheck
->
mockMoney
:
''
?>
</textarea>
<textarea
class=
"textarea"
disabled
>
<?=
$getSecondCheck
?
$getSecondCheck
->
mockMoney
:
''
?>
</textarea>
</div>
</div>
</div>
...
...
@@ -70,21 +78,21 @@
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-1"
>
<label>
核批金额
</label>
<input
type=
"text"
class=
"form-control input-text
"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"agreeMoney
"
value=
""
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
<div
class=
"form-group col-sm-3 col-md-1"
>
<label>
借款期限
</label>
<input
type=
"text"
class=
"form-control input-text
"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"deadLine
"
value=
""
>
<span
class=
"glyphicon form-control-feedback"
>
期
</span>
</div>
<div
class=
"form-group col-sm-3 col-md-1"
>
<label>
借款利率
</label>
<input
type=
"text"
class=
"form-control input-text
"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"annualInterestRate
"
value=
""
>
</div>
<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=
"repayMonth
"
value=
""
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
</div>
...
...
@@ -92,9 +100,11 @@
<div
class=
"form-group col-sm-3 col-md-1"
>
<label>
贷款产品
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
>
<option
value=
"1"
>
XXXX
</option>
<option
value=
"2"
>
XXXX
</option>
<select
class=
"select"
size=
"1"
name=
"productId"
>
<option
value=
""
>
贷款产品
</option>
<?php
foreach
(
$this
->
session
->
products
as
$k
=>
$v
)
:
?>
<option
value=
"
<?=
$v
->
id
?>
"
>
<?=
$v
->
productName
?>
</option>
<?php
endforeach
;
?>
</select>
</span>
</div>
...
...
@@ -107,64 +117,36 @@
</div>
</div>
</div>
<input
type=
"hidden"
name=
"orderId"
value=
"
<?=
$id
?>
"
>
</form>
<input
type=
"hidden"
name=
"orderId"
value=
"
<?=
$id
?>
"
>
</form>
<div
class=
"row cl pb-20 col-sm-12"
>
<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"
onclick=
"history.back()"
>
退回订单
</button>
</div>
<div
class=
"col-sm-2"
>
<button
class=
"btn btn-primary btn-block"
onclick=
"next()"
>
通过
</button>
</div>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
function next
() {
<script>
function next
() {
layer.confirm('确认通过', {
btn: ['确认',
'取消'],
btn: ['确认',
'取消'],
title: '通过',
icon: 3
}, function()
{
}, function ()
{
var data = $('#form').serializeJson();
//发起尽调
if(data.dueDiligence && data.dueDiligence == '1'){
$.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.success){
setTimeout(function () {
loadIframe('
<?=
site_url
(
'/work/check/12/'
.
$id
);
?>
', '审核意见');
}, 500)
}
},
error: function () {
layer.alert("操作失败")
}
})
}else{
data.status = 1;
var orderStatus = "
<?=
$applyOrderVO
->
status
?>
";
var url = 'flow/saveFirstCheck';
if
(orderStatus == 4) {
if
(orderStatus == 4) {
url = url;
} else if
(orderStatus == 5) {
} else if
(orderStatus == 5) {
url = 'flow/saveSecoundCheck';
} else if
(orderStatus == 6) {
} else if
(orderStatus == 6) {
url = 'flow/saveLastCheck';
}
$.ajax({
...
...
@@ -182,9 +164,9 @@
} else {
layer.alert('操作成功');
}
if(!data.code)
{
if (!data.code)
{
setTimeout(function () {
loadIframe('
<?=
site_url
(
'/work/check/12/'
.
$id
);
?>
', '
审核意见'
);
loadIframe('
<?=
site_url
(
'/work/check/12/'
.
$id
);
?>
', '
审核意见'
);
},
500
)
}
},
...
...
@@ -192,9 +174,8 @@
layer
.
alert
(
"操作失败"
)
}
})
}
});
}
</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