Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8c636589
authored
2020-12-22 20:03:49 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改房屋信息填写
1 parent
840abffc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
50 deletions
staticJs/onlineApply/houseFill.js
staticViews/onlineApply/houseFill.html
staticJs/onlineApply/houseFill.js
View file @
8c63658
...
...
@@ -10,7 +10,9 @@ $(function () {
addTabs
(
'#wssq'
);
//设置步骤条信息
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
//获取申请记录详细
slsqxx
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
//加载材料信息
LoadClxxDiv
();
//config的设置是全局的
layui
.
config
({
...
...
@@ -18,16 +20,38 @@ $(function () {
}).
extend
({
//设定模块别名
common
:
'cityCommon'
});
// layui.use(['form', 'common'], function () {
// var common = layui.common,
// form = layui.form;
// //三级地址联动
// common.showCity('province', 'city', 'district');
// //区域选择
// form.on('select(selectCity)', function (data) {
// return false;
// });
// });
//读取受理信息
loadAcceptDetail
()
//获取房屋信息
loadHouseDetail
();
//读取申请人信息
loadSqrDetail
()
//读取邮寄信息
loadMailDetail
();
});
//读取受理信息
function
loadAcceptDetail
(){
$
(
'#wwsqbh p'
).
text
(
slsqxx
.
wwsqbh
);
$
(
'#sqrq p'
).
text
(
slsqxx
.
sqrq
);
//$('#sqrmc p').text(slsqxx.sqrmc);
$
(
'#qllxmc p'
).
text
(
slsqxx
.
qllxmc
);
$
(
'#djlxmc p'
).
text
(
slsqxx
.
djlxmc
);
$
(
'#sldjqx p'
).
text
(
slsqxx
.
sldjqx
);
$
(
'#shortname p'
).
text
(
slsqxx
.
shortname
);
//$('#bdcqzh p').text(slsqxx.bdcqzh);
}
//读取房屋明细
function
loadHouseDetail
()
{
let
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
$
(
'#unitNumber p'
).
text
(
houseInfo
.
bdcdyh
);
$
(
'#titleCertificate p'
).
text
(
houseInfo
.
bdcqzh
);
$
(
'#beLocated p'
).
text
(
houseInfo
.
fdzl
);
$
(
'#area p'
).
text
(
houseInfo
.
jzmj
);
}
// 读取申请人信息
function
loadSqrDetail
()
{
// 买方信息
if
(
slsqxx
.
sqrList
&&
slsqxx
.
sqrList
.
length
>
0
)
{
$
(
'#userName'
).
text
(
slsqxx
.
sqrList
[
0
].
sqrmc
);
...
...
@@ -79,13 +103,10 @@ $(function () {
$
(
'#documentType p'
).
text
(
'身份证'
);
}
}
// 获取房屋信息
let
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
$
(
'#unitNumber p'
).
text
(
houseInfo
.
bdcdyh
);
$
(
'#titleCertificate p'
).
text
(
houseInfo
.
bdcqzh
);
$
(
'#beLocated p'
).
text
(
houseInfo
.
fdzl
);
$
(
'#area p'
).
text
(
houseInfo
.
jzmj
);
}
//读取邮寄信息
function
loadMailDetail
()
{
// 领证方式
lzfs
=
slsqxx
.
lzfs
;
if
(
lzfs
==
2
)
{
...
...
@@ -104,10 +125,7 @@ $(function () {
$
(
'#district'
).
attr
(
'data-area'
,
slsqxx
.
mailRecordDetail
.
district
);
$
(
'#consigneeAddress'
).
val
(
slsqxx
.
mailRecordDetail
.
consigneeAddress
);
}
});
}
...
...
@@ -301,13 +319,13 @@ function AddCLxxClick() {
$
(
this
).
prev
().
attr
(
"src"
,
objUrl
);
//将图片路径存入src中,显示出图片
$
(
this
).
parent
().
attr
(
"id"
,
bsm_slclmx
);
}
}
}
});
});
//删除事件
$
(
".ddd"
).
click
(
function
()
{
let
imgObj
=
$
(
this
).
parent
().
siblings
(
".pic"
);
let
file
=
$
(
this
).
parent
().
siblings
(
"input[type='file']"
);
let
file
=
$
(
this
).
parent
().
siblings
(
"input[type='file']"
);
let
slclmxObj
=
$
(
this
).
parent
().
parent
();
$
.
ajax
({
type
:
"post"
,
//提交方式
...
...
@@ -320,8 +338,8 @@ function AddCLxxClick() {
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
)
{
imgObj
.
attr
(
"src"
,
""
);
file
.
after
(
file
.
clone
().
val
(
""
));
file
.
remove
();
file
.
after
(
file
.
clone
().
val
(
""
));
file
.
remove
();
slclmxObj
.
attr
(
"id"
,
""
);
}
else
{
alert
(
'删除失败!'
);
...
...
staticViews/onlineApply/houseFill.html
View file @
8c63658
...
...
@@ -34,54 +34,49 @@
</div>
<!-- 受理情况 -->
<div
class=
"acceptance_information"
>
<h3>
受理情况
</h3>
<ul
class=
"acceptance"
>
<li
id=
"11"
>
<span>
登记业务名称:
</span>
<p>
二手房买卖
</p>
</li>
<li
id=
"titleCertificate"
>
<span>
原不动产权证号:
</span>
<p>
70205004005GB10030
</p>
</li>
<li
id=
"22"
>
<h3>
受理信息
</h3>
<ul
class=
"acceptance"
>
<li
id=
"wwsqbh"
>
<span>
申请编号:
</span>
<p>
FW202000015
</p>
</li>
<li
id=
"
22
"
>
<li
id=
"
sqrq
"
>
<span>
申请日期:
</span>
<p>
2020年12月18号 14:30:28
</p>
</li>
<li
id=
"
33
"
>
<li
id=
"
sqrmc
"
>
<span>
申请人:
</span>
<p>
张三
</p>
</li>
<li
id=
"
44
"
>
<li
id=
"
qllxmc
"
>
<span>
权利类型:
</span>
<p>
国有建设用地使用权/房屋所有权
</p>
</li>
<li
id=
"
55
"
>
<li
id=
"
djlxmc
"
>
<span>
登记类型:
</span>
<p>
转移登记
</p>
</li>
<li
id=
"
55
"
>
<li
id=
"
sldjqx
"
>
<span>
登记情形:
</span>
<p>
二手房
</p>
</li>
<li
id=
"shortname"
>
<span>
登记业务名称:
</span>
<p>
二手房买卖
</p>
</li>
<li
id=
"bdcqzh"
>
<span>
原不动产权证号:
</span>
<p>
70205004005GB10030
</p>
</li>
</ul>
</div>
<!-- 房屋信息 -->
<div
class=
"acceptance_information"
>
<h3>
房屋信息
</h3>
<ul>
<li
id=
"11"
>
<span>
所属区域:
</span>
<p>
城六区
</p>
</li>
<ul>
<li
id=
"unitNumber"
>
<span>
不动产单元号:
</span>
<p>
450101 450002 GB 00740W00000000
</p>
...
...
@@ -93,10 +88,13 @@
</p>
</li>
<li
id=
"area"
>
<span>
面积:
</span>
<span>
宗地
面积:
</span>
<p>
526
</p>
</li>
<li>
<span>
权利性质:
</span>
<p>
出让
</p>
</li>
<li>
<span>
土地用途:
</span>
<p>
城镇住宅用地
</p>
...
...
@@ -145,7 +143,7 @@
</div>
<!-- 受理情况 -->
<div
class=
"acceptance_information"
>
<h3>
网签合同
情况
</h3>
<h3>
网签合同
信息
</h3>
<ul
class=
"acceptance"
>
<li
id=
"recordNo"
>
<span>
合同备案号:
</span>
...
...
Please
register
or
sign in
to post a comment