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
0762b84a
authored
2018-03-31 09:45:56 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
2 parents
4d515e6c
56ff18eb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
24 deletions
application/controllers/Work.php
application/views/work/尽调报告/index.php
application/views/work/尽调报告/法人.php
application/controllers/Work.php
View file @
0762b84
...
...
@@ -191,6 +191,12 @@ class Work extends CI_Controller
if
(
$ret2
)
{
$credit
=
$ret2
;
}
$url3
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'dueDiligence/'
.
$id
;
$result3
=
file_get_contents
(
$url3
);
$json3
=
json_decode
(
$result3
);
$dueDiligence
=
$json3
->
data
;
$data
=
array
(
'clientInfoOutputVO'
=>
$ret
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$ret
->
clientUnitOutputVO
,
...
...
@@ -199,6 +205,8 @@ class Work extends CI_Controller
'credit'
=>
$credit
,
'id'
=>
$id
);
// array_merge($data, $dueDiligence);
}
switch
(
$state
)
{
...
...
@@ -377,9 +385,10 @@ class Work extends CI_Controller
'clientInfoOutputVO'
=>
$ret
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$ret
->
clientUnitOutputVO
,
'clientContactOutputVOS'
=>
$ret
->
clientContactOutputVOS
,
'applyOrderVO'
=>
$ret
->
applyOrderVO
'applyOrderVO'
=>
$ret
->
applyOrderVO
,
'id'
=>
$id
);
$this
->
load
->
view
(
'/work/尽调报告/index'
,
compact
(
'id'
)
);
$this
->
load
->
view
(
'/work/尽调报告/index'
,
$data
);
}
}
...
...
application/views/work/尽调报告/index.php
View file @
0762b84
...
...
@@ -7,15 +7,18 @@
<span>
资料清单
</span>
</div>
<form
action=
""
id=
"form1"
>
<input
type=
"hidden"
name=
"orderId"
value=
"
<?=
$id
?>
"
>
<div
class=
"tabCon"
>
<?php
if
(
$clientUnit
In
putVO
->
jobType
==
1
){
//打工类
if
(
$clientUnit
Out
putVO
->
jobType
==
1
){
//打工类
$this
->
load
->
view
(
'work/尽调报告/打工'
);
}
else
{
// 经营类
$this
->
load
->
view
(
'work/尽调报告/法人'
);
}
?>
</div>
</form>
<div
class=
"tabCon"
>
<?php
$this
->
load
->
view
(
'work/图片上传'
);
?>
...
...
@@ -23,6 +26,15 @@
</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-primary btn-block"
onclick=
"submit()"
>
提交尽调
</button>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
...
...
@@ -37,6 +49,47 @@
$
(
"#tab"
).
Huitab
({
index
:
index
});
uploadList
();
function
submit
()
{
layer
.
confirm
(
'确认要提交尽调?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
()
{
var
targetUrl
=
'dueDiligence'
;
var
dueDiligenceBasicInformationVO
=
$
(
"#form1"
).
serializeJson
();
var
data
=
{
dueDiligenceBasicInformationVO
:
dueDiligenceBasicInformationVO
};
$
.
ajax
({
type
:
'post'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
data
:
JSON
.
stringify
(
data
),
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>
</body>
</html>
...
...
application/views/work/尽调报告/法人.php
View file @
0762b84
<div
class=
"panel panel-default mb-20"
>
<div
class=
"panel-header"
>
借款人
信息
</div>
<div
class=
"panel-header"
>
基本
信息
</div>
<div
class=
"panel-body"
>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
姓名
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
"张三
"
>
<input
type=
"text"
class=
"form-control input-text"
name=
"userName"
value=
"
"
>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
身份证
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
"333333333333333331
"
>
<input
type=
"text"
class=
"form-control input-text"
name=
"idNumber
"
>
</div>
</div>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-6 col-md-4"
>
<label>
现居住
地址
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<label>
房产
地址
</label>
<input
type=
"text"
class=
"form-control input-text"
name=
"houseAddress"
value=
""
>
</div>
<div
class=
"form-group col-sm-
2
col-md-1"
>
<div
class=
"form-group col-sm-
3
col-md-1"
>
<label>
&
nbsp
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
>
<option>
是否真实
</option>
<select
class=
"select"
name=
"houseAddressHasReal"
size=
"1"
>
<option
value=
""
>
是否真实
</option>
<option
value=
"1"
>
真实
</option>
<option
value=
"
2
"
>
不真实
</option>
<option
value=
"
0
"
>
不真实
</option>
</select>
</span>
</div>
...
...
@@ -32,13 +32,13 @@
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-6 col-md-4"
>
<label>
现住地址
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"nowAddress"
value=
""
>
</div>
<div
class=
"form-group col-sm-2 col-md-1"
>
<label>
&
nbsp
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
>
<option>
是否真实
</option>
<select
class=
"select"
size=
"1"
name=
"nowAddressHasReal"
>
<option
value=
""
>
是否真实
</option>
<option
value=
"1"
>
真实
</option>
<option
value=
"2"
>
不真实
</option>
</select>
...
...
@@ -51,18 +51,18 @@
<label>
家人是否知晓
</label>
<div
class=
"info"
>
<div
class=
"live-info"
>
<input
type=
"radio"
name=
""
checked
>
<input
type=
"radio"
name=
"
folkHasKnow"
value=
"1
"
checked
>
<span>
知晓且支持
</span>
</div>
<div
class=
"live-info"
>
<input
type=
"radio"
name=
""
>
<input
type=
"radio"
name=
"
folkHasKnow"
value=
"0
"
>
<span>
不知晓
</span>
</div>
<div
class=
"live-info"
>
<input
type=
"radio"
name=
""
>
<input
type=
"radio"
name=
"
folkHasKnow"
value=
"1
"
>
<span>
知晓不支持
</span>
</div>
<input
type=
"text"
class=
"form-control input-text"
value=
""
placeholder=
"备注"
>
<input
type=
"text"
name=
"folkHasKnowRemark"
class=
"form-control input-text"
value=
""
placeholder=
"备注"
>
</div>
</div>
</div>
...
...
@@ -70,29 +70,29 @@
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
联系方式
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"userPhone"
value=
""
>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
单位联系方式
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"unitPhone"
value=
""
>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
配偶联系方式
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"matePhone"
value=
""
>
</div>
</div>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-6 col-md-4"
>
<label>
公司名称
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"companyName"
value=
""
>
</div>
</div>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-6 col-md-4"
>
<label>
公司地址
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
name=
"companyAddress"
value=
""
>
</div>
</div>
</div>
...
...
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