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
d05f93fb
authored
2018-04-01 14:08:28 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
2 parents
20612be2
bc1a381a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
69 additions
and
29 deletions
application/controllers/User.php
application/controllers/Work.php
application/views/common/footer.php
application/views/user/index.php
application/views/work/index.php
application/views/work/审批/信用报告.php
application/views/work/审批/终审意见.php
application/views/work/资料/资料补录.php
application/views/work/资料补录.php
application/controllers/User.php
View file @
d05f93f
...
...
@@ -19,7 +19,8 @@ class User extends CI_Controller {
'clientInfoOutputVO'
=>
$data
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$data
->
clientUnitOutputVO
,
'clientContactOutputVOS'
=>
$data
->
clientContactOutputVOS
,
'applyOrderVO'
=>
$data
->
applyOrderVO
'applyOrderVO'
=>
$data
->
applyOrderVO
,
'id'
=>
$data
->
applyOrderVo
->
id
);
switch
(
$state
)
{
case
'1'
:
...
...
application/controllers/Work.php
View file @
d05f93f
...
...
@@ -146,7 +146,7 @@ class Work extends CI_Controller
$recordUrl
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'order/orderOperatorRecord/'
.
$id
;
$result2
=
file_get_contents
(
$recordUrl
);
$json2
=
json_decode
(
$result2
);
$ret2
=
$json2
->
data
;
$ret2
=
isset
(
$json2
->
data
)
?
$json2
:
array
()
;
$data
=
array
(
'clientInfoOutputVO'
=>
$ret
->
clientInfoOutputVO
,
...
...
application/views/common/footer.php
View file @
d05f93f
...
...
@@ -42,8 +42,10 @@
return
null
;
//返回参数值
}
function
getNowFormatDate
()
{
var
date
=
new
Date
();
function
getNowFormatDate
(
date
)
{
if
(
!
date
){
date
=
new
Date
();
}
var
seperator1
=
"-"
;
var
year
=
date
.
getFullYear
();
var
month
=
date
.
getMonth
()
+
1
;
...
...
@@ -141,6 +143,7 @@
url
:
apiBaseUrl
+
url
,
cache
:
false
,
data
:
JSON
.
stringify
(
data
),
// data:data,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
){
...
...
application/views/user/index.php
View file @
d05f93f
...
...
@@ -13,7 +13,7 @@
<table
class=
"table table-border table-bordered table-bg"
id=
"table"
>
<thead
class=
"text-c"
>
<tr>
<!-- <th width="68px">操作</th>--
>
<th
width=
"68px"
>
操作
</th
>
<th>
客户编号
</th>
<th>
姓名
</th>
<th>
身份证
</th>
...
...
@@ -60,10 +60,9 @@
}
},
columns: [
/*
{
{
data: "id", render: function (data, type, full) {
var url = "< ?=site_url('/user/info')?>";
var url = "
<?=
site_url
(
'/user/info'
)
?>
";
url += '/' + data;
return '<span class="
dropDown
dropDown_hover
">\
<button class="
btn
radius
size
-
M
">请选择 <i class="
Hui
-
iconfont
"></i></button>\
...
...
@@ -71,7 +70,7 @@
<li><a href="
javascript
:;
" onclick="
creatIframe
(
\
''
+
url
+
'\', \'查看详细\')">查看详细</a></li>\
</ul></span>'
;
}
},
*/
},
{
data
:
"id"
},
//客户编号
{
data
:
"userName"
},
//姓名
{
data
:
"idCard"
},
//身份证
...
...
application/views/work/index.php
View file @
d05f93f
...
...
@@ -59,14 +59,22 @@
{
data
:
"userName"
},
//申请人
{
data
:
"idCard"
},
//身份证
{
data
:
"phoneNumber"
},
//手机号
{
data
:
"createTime"
},
//进件时间
{
data
:
function
(
data
)
{
if
(
!
data
.
createTime
)
return
''
;
return
getNowFormatDate
(
new
Date
(
parseInt
(
data
.
createTime
)));
}},
//进件时间
{
name
:
"departmentId"
,
data
:
"departmentName"
},
//网点
{
name
:
"productId"
,
data
:
"productName"
},
//产品名称
{
data
:
"applyMoney"
},
//申请金额
{
data
:
"agreeMoney"
},
//审批金额
{
name
:
"createUser"
,
data
:
"createUserName"
},
//客户经理
{
name
:
"status"
,
data
:
"statusDesc"
},
//流程节点
{
data
:
"modifyTime"
},
//流转时间
{
data
:
function
(
data
)
{
if
(
!
data
.
modifyTime
)
return
''
;
return
getNowFormatDate
(
new
Date
(
parseInt
(
data
.
modifyTime
)));
}},
//流转时间
{
name
:
"modifyUser"
,
data
:
"modifyUserName"
},
//处理人
]
});
...
...
application/views/work/审批/信用报告.php
View file @
d05f93f
This diff is collapsed.
Click to expand it.
application/views/work/审批/终审意见.php
View file @
d05f93f
...
...
@@ -23,7 +23,7 @@
<div
class=
"panel-header"
>
初审意见
</div>
<div
class=
"panel-body cl"
>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-
1
"
>
<div
class=
"form-group col-sm-3 col-md-
2
"
>
<label>
拟批
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$getFirstCheck
?
$getFirstCheck
->
mockMoney
:
''
?>
"
disabled
>
...
...
@@ -44,7 +44,7 @@
<div
class=
"panel-header"
>
复审意见
</div>
<div
class=
"panel-body cl"
>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-
1
"
>
<div
class=
"form-group col-sm-3 col-md-
2
"
>
<label>
拟批
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$getSecondCheck
?
$getSecondCheck
->
mockMoney
:
''
?>
"
disabled
>
...
...
@@ -55,7 +55,7 @@
<div
class=
"form-group col-sm-12 col-md-12"
>
<label>
拟批备注
</label>
<textarea
class=
"textarea"
disabled
>
<?=
$getSecondCheck
?
$getSecondCheck
->
mockMoney
:
''
?>
</textarea>
disabled
>
<?=
$getSecondCheck
?
$getSecondCheck
->
description
:
''
?>
</textarea>
</div>
</div>
</div>
...
...
@@ -89,6 +89,7 @@
<div
class=
"form-group col-sm-3 col-md-1"
>
<label>
借款利率
</label>
<input
type=
"text"
class=
"form-control input-text"
name=
"annualInterestRate"
value=
""
>
<span
class=
"glyphicon form-control-feedback"
>
%
</span>
</div>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
每月还款金额
</label>
...
...
@@ -103,7 +104,7 @@
<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>
<option
<?=
$applyOrderVO
->
productId
==
$v
->
id
?
'selected'
:
''
?>
value=
"
<?=
$v
->
id
?>
"
>
<?=
$v
->
productName
?>
</option>
<?php
endforeach
;
?>
</select>
</span>
...
...
@@ -149,6 +150,7 @@
} else if (orderStatus == 6) {
url = 'flow/saveLastCheck';
}
data.annualInterestRate = parseFloat(data.annualInterestRate) /100;
$.ajax({
type: 'post',
url: apiBaseUrl + url,
...
...
application/views/work/资料/资料补录.php
View file @
d05f93f
...
...
@@ -273,17 +273,17 @@
value=
"
<?=
$clientUnitOutputVO
?
$clientUnitOutputVO
->
unitPhone
:
''
?>
"
>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<
!--<
div class="form-group col-sm-3 col-md-2">
<label>职称类型</label>
<span class="form-control select-box">
<select class="select" size="1" name="clientUnitInputVO.jobType">
<?php
foreach
(
$this
->
session
->
jobTypeEnum
as
$k
=>
$v
)
:
?>
<option
<?
=
$clientUnitOutputVO
&&
$clientUnitOutputVO
->
jobType
==
$k
?
'selected'
:
''
?>
value=
"
<?
=
$k
?>
"
>
<?=
$v
?>
</option>
<?php
endforeach
;
?>
<?php
/*foreach ($this->session->jobTypeEnum as $k => $v): */
?>
<option
<?
/*= $clientUnitOutputVO && $clientUnitOutputVO->jobType == $k ? 'selected' : '' */
?>
value="
<?
/*= $k */
?>
">
<?
/*= $v */
?>
</option>
<?php
/*endforeach; */
?>
</select>
</span>
</div>
</div>
-->
</div>
...
...
@@ -532,7 +532,7 @@
}
reader
.
readAsDataURL
(
file
[
0
]);
}
else
{
alert
(
file
[
0
].
name
+
" is not a valid image file."
);
alert
(
file
[
0
].
name
+
" is not a valid image file."
);
;
dvPreview
.
html
(
""
);
return
false
;
}
...
...
@@ -546,7 +546,8 @@
var
data
=
$
(
"form"
).
serializeJson
();
data
=
json
(
data
);
data
.
clientContactInputVOS
=
Object
.
values
(
data
.
clientContactInputVOS
);
var
dwellDetail
=
$
(
'[name=clientInfoInputVO\\.dwellState]:checked'
).
parent
().
find
(
'input[type=text]'
).
val
();
data
.
clientInfoInputVO
.
dwellDetail
=
dwellDetail
;
ajax
(
'client/collection'
,
'post'
,
data
,
'操作成功'
,
function
()
{
window
.
parent
.
reload
();
layer_close
();
...
...
application/views/work/资料补录.php
View file @
d05f93f
...
...
@@ -72,13 +72,39 @@
</script>
<script>
function
cancel
(
id
)
{
layer
.
confirm
(
'取消之后, 将立即进入【已取消】列表'
,
{
btn
:
[
'确认'
,
'取消'
],
title
:
'客户取消'
,
icon
:
2
},
function
()
{
layer
.
msg
(
'取消'
);
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
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
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
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