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
2b4e213d
authored
2020-12-24 11:53:19 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:填报信息页面
1 parent
7956505d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
46 deletions
staticJs/onlineApply/bdcqlCheck.js
staticJs/onlineApply/houseFill.js
staticViews/onlineApply/bdcqlCheck.html
staticJs/onlineApply/bdcqlCheck.js
View file @
2b4e213
...
...
@@ -5,37 +5,19 @@ layui.use('element', function () {
$
(
function
()
{
addTabs
(
'#wssq'
);
setFristStepPageFLow
(
GetQueryString
(
'ywid'
),
GetQueryString
(
'businessno'
));
// 业务
layui
.
use
([
'form'
],
function
()
{
var
form
=
layui
.
form
//自定义验证规则
form
.
verify
({
title
:
function
(
value
)
{
if
(
value
.
length
==
0
)
{
return
'权利人不能为空'
;
}
else
if
(
value
.
length
<
2
)
{
return
'权利人至少得2个字符啊'
;
}
}
});
//监听提交
form
.
on
(
'submit(check)'
,
function
(
data
)
{
bdcqlVerify
(
data
.
field
);
// layer.alert(JSON.stringify(data.field), {
// title: '最终的提交信息'
// })
return
false
;
});
})
// 结果弹框
$
(
'.reset'
).
click
(
function
()
{
// seizureResult()
})
SetCheckContent
();
fetchDataReview
();
})
// 初始化渲染数据
function
fetchDataReview
(){
console
.
log
(
getCookie
(
'myCookie'
))
let
userInfo
=
getCookie
(
'myCookie'
);
$
(
'#sqrxm'
).
text
(
userInfo
.
username
);
if
(
userInfo
.
zjzl
==
'1'
)
{
$
(
'#zjzl'
).
text
(
'身份证'
);
}
$
(
'#zjhm'
).
text
(
userInfo
.
zjhm
);
}
//设置查询条件内容
function
SetCheckContent
()
{
layui
.
use
([
'form'
,
'upload'
,
'layer'
],
function
()
{
...
...
staticJs/onlineApply/houseFill.js
View file @
2b4e213
...
...
@@ -38,28 +38,32 @@ $(function () {
loadSqrDetail
()
//读取邮寄信息
loadMailDetail
();
// 读取权利人
authorityPerson
();
applicationMethod
();
});
// 区分单方申请和双方申请
function
applicationMethod
()
{
// 在这里页面显示进行处理
if
(
slsqxx
.
sqrlb
==
'1'
&&
slsqxx
.
sqfs
==
'2'
)
{
$
(
'.obtaining_license'
).
hide
();
if
(
slsqxx
.
sqrlb
==
'1'
)
{
$
(
'.obtaining_license'
).
show
();
$
(
'#obligeeInformation'
).
text
(
'权利人信息'
);
$
(
'.nextSubmitButton'
).
append
(
'<div class="next_button">'
+
'<button type="button" lay-submit="" lay-filter="submit1" class="layui-btn layui-btn-normal">'
+
'<a onclick="skipClick()">下一步</a>'
+
'</button>'
+
'</div>'
)
}
else
{
$
(
'.obtaining_license'
).
hide
();
$
(
'#obligeeInformation'
).
text
(
'义务人信息'
);
$
(
'.nextSubmitButton'
).
empty
();
$
(
'.nextSubmitButton'
).
append
(
'<div class="next_button">'
+
'<button type="button" lay-submit="" lay-filter="submit1" class="layui-btn layui-btn-normal">'
+
'<a onclick="skipClick()">下一步</a></button></div>'
)
}
//
if
(
slsqxx
.
sqfs
==
'1'
)
{
if
(
slsqxx
.
sqfs
==
'1'
&&
slsqxx
.
sqrlb
==
'1'
)
{
$
(
'.folkObligee'
).
show
();
}
// 动态设置样式
for
(
var
i
=
0
;
i
<
$
(
'.conImageUpdate'
).
length
;
i
++
)
{
$
(
'.conImageUpdate'
).
eq
(
i
).
find
(
'.imageUpdateTitle'
).
css
(
'height'
,
$
(
'.conImageUpdate'
).
eq
(
i
).
height
()
-
60
);
}
}
);
}
//读取受理信息
function
loadAcceptDetail
()
{
...
...
@@ -140,7 +144,7 @@ function loadSqrDetail() {
function
loadMailDetail
()
{
// 领证方式
lzfs
=
slsqxx
.
lzfs
;
if
(
lzfs
==
2
)
{
if
(
lzfs
==
'2'
)
{
$
(
'.shipping_method'
).
show
();
$
(
'.submitButton'
).
hide
();
}
else
{
...
...
@@ -158,7 +162,9 @@ function loadMailDetail() {
}
}
$
(
'.radioInfo'
).
click
(
function
()
{
// 权利人添加
function
authorityPerson
()
{
$
(
'.radioInfo'
).
click
(
function
()
{
let
index
=
$
(
this
).
attr
(
"value"
)
if
(
$
(
'#layui-form .layui-form-item'
).
length
>
1
)
{
return
false
...
...
@@ -169,9 +175,9 @@ $('.radioInfo').click(function () {
$
(
'.add_form'
).
hide
()
}
}
})
// form 添加
$
(
'.add_form'
).
click
(
function
()
{
})
// form 添加
$
(
'.add_form'
).
click
(
function
()
{
$
(
'#layui-form'
).
append
(
'<div class="layui-form-item">'
+
'<div class="layui-inline">'
+
...
...
@@ -216,7 +222,8 @@ $('.add_form').click(function () {
$
(
document
).
on
(
"click"
,
".layui-icon-reduce-circle"
,
function
(
e
)
{
$
(
this
).
parent
().
remove
()
})
})
})
}
// 图片上传
// 询问笔录
$
(
'.record'
).
click
(
function
(
event
)
{
...
...
staticViews/onlineApply/bdcqlCheck.html
View file @
2b4e213
...
...
@@ -52,7 +52,7 @@
</div>
</div>
<div
class=
"layui-form-item"
>
<div
style=
"float: left;width: 220px;"
>
<div
style=
"float: left;width: 220px;
margin-right:20px
"
>
<select
id=
"bdcqzType"
lay-verify=
"required"
lay-filter=
"xmFilter"
>
</select>
</div>
...
...
Please
register
or
sign in
to post a comment