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
ceb70ed3
authored
2020-12-09 16:26:27 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改网上申请信息效验逻辑
1 parent
0d845de9
Pipeline
#4
for
ceb70ed3
failed
in 0 seconds
Changes
5
Pipelines
1
Builds
0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
30 deletions
staticCss/bljy.css
staticJs/common.js
staticJs/esf-xxjy.js
staticJs/wssq.js
staticViews/esf-xxjy.html
staticCss/bljy.css
View file @
ceb70ed
...
...
@@ -13,7 +13,7 @@
margin
:
15px
0
;
}
.layui-form-item
.layui-inline
{
width
:
48
%
;
width
:
30
%
;
}
.submitbutton
{
text-align
:
center
;
...
...
staticJs/common.js
View file @
ceb70ed
...
...
@@ -13,7 +13,7 @@ function SetServicesPath() {
//设置全局參數
var
portal
=
{
'api_url'
:
"http://192.168.2.
59
:8000"
,
//属性名用引号括起来,属性间由逗号隔开
'api_url'
:
"http://192.168.2.
108
:8000"
,
//属性名用引号括起来,属性间由逗号隔开
'name'
:
'myName'
};
...
...
staticJs/esf-xxjy.js
View file @
ceb70ed
var
sqrlb
;
$
(
function
()
{
layui
.
use
(
'element'
,
function
()
{
let
element
=
layui
.
element
;
...
...
@@ -31,7 +32,7 @@ $(function () {
successResult
()
// seizureResult()
})
SetCheckContent
();
})
function
successResult
()
{
layui
.
use
(
'layer'
,
function
()
{
...
...
@@ -77,19 +78,21 @@ function seizureResult() {
})
}
// 获取受理流程信息
function
_acceptanceProcess
(
ywid
,
lclb
=
1
)
{
function
_acceptanceProcess
(
ywid
)
{
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/get
Apply
Flow"
,
//路径
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/get
Business
Flow"
,
//路径
dataType
:
"json"
,
data
:
{
"ywid"
:
ywid
,
"lclb"
:
lclb
"ywid"
:
ywid
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
sqrlb
=
result
.
data
.
sqrlb
;
console
.
log
(
result
.
data
)
$
(
'.name_title h2'
).
text
(
result
.
data
.
shortName
)
$
(
'.name_title p'
).
text
(
result
.
data
.
businessName
)
...
...
@@ -102,7 +105,7 @@ function _acceptanceProcess(ywid, lclb = 1) {
laytpl
(
getTpl
).
render
(
data
,
function
(
html
)
{
view
.
innerHTML
=
html
;
});
layui
.
use
([
'element'
],
function
()
{
var
element
=
layui
.
element
;
//初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果
...
...
@@ -126,4 +129,29 @@ function GetRequest() {
}
var
data
=
{
//数据
'progressList'
:
[],
};
\ No newline at end of file
};
//设置查验内容
function
SetCheckContent
()
{
layui
.
use
([
'form'
,
'upload'
,
'layer'
],
function
()
{
var
bdcqzType
=
$
(
'#bdcqzType'
);
var
form
=
layui
.
form
;
if
(
sqrlb
==
"1"
)
{
$
(
"#sqrlx"
).
text
(
"权利人名称:"
);
// bdcqzType.append(new Option("不动产权证书号", "bdcqzh"));// 下拉菜单里添加元素
// bdcqzType.append(new Option("不动产权证明号", "bdcqzh"));// 下拉菜单里添加元素
bdcqzType
.
append
(
new
Option
(
"合同号"
,
"hth"
));
// 下拉菜单里添加元素
// bdcqzType.append(new Option("房产证号", "hth"));// 下拉菜单里添加元素
// bdcqzType.append(new Option("土地证号", "hth"));// 下拉菜单里添加元素
}
else
{
$
(
"#sqrlx"
).
text
(
"义务人名称:"
);
bdcqzType
.
append
(
new
Option
(
"不动产权证书号"
,
"bdcqzh"
));
// 下拉菜单里添加元素
// bdcqzType.append(new Option("不动产权证明号", "bdcqzh"));// 下拉菜单里添加元素
bdcqzType
.
append
(
new
Option
(
"合同号"
,
"hth"
));
// 下拉菜单里添加元素
// bdcqzType.append(new Option("房产证号", "hth"));// 下拉菜单里添加元素
// bdcqzType.append(new Option("土地证号", "hth"));// 下拉菜单里添加元素
}
layui
.
form
.
render
(
"select"
);
});
}
\ No newline at end of file
...
...
staticJs/wssq.js
View file @
ceb70ed
...
...
@@ -97,14 +97,13 @@ function _businessList(districtId) {
}
// 获取受理流程信息
function
_acceptanceProcess
(
ywid
,
lclb
=
1
)
{
function
_acceptanceProcess
(
ywid
)
{
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/get
Apply
Flow"
,
//路径
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/get
Business
Flow"
,
//路径
dataType
:
"json"
,
data
:
{
"ywid"
:
ywid
,
"lclb"
:
lclb
"ywid"
:
ywid
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
...
...
staticViews/esf-xxjy.html
View file @
ceb70ed
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<style>
</style>
...
...
@@ -38,33 +39,33 @@
<form
class=
"layui-form"
action=
""
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
权利人
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
name=
"title"
required
lay-verify=
"title"
placeholder=
"请输权利人"
class=
"layui-input"
>
</div>
<label
id=
"sqrlx"
>
权利人
</label>
<label
id=
"sqrxm"
>
张*某
</label>
</div>
<div
class=
"layui-inline"
>
<label>
证件种类:
</label>
<label
id=
"zjzl"
>
身份证
</label>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
身份证
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
name=
"idcard"
required
lay-verify=
"identity"
placeholder=
"请输身份证"
class=
"layui-input"
>
</div>
<label>
证件号码:
</label>
<label
id=
"zjhm"
>
610100********3411
</label>
</div>
</div>
<div
class=
"layui-form-item record_con"
>
<label
class=
"layui-form-label"
>
合同备案号
</label>
<div
class=
"layui-form-item record_con"
style=
"width: 220px;float: left;"
>
<div
class=
"layui-input-block record"
>
<input
type=
"text"
name=
"record"
required
lay-verify=
"record"
placeholder=
"请输合同备案号"
class=
"layui-input"
>
<select
id=
"bdcqzType"
lay-verify=
"required"
lay-filter=
"xmFilter"
>
</select>
</div>
<div
class=
"layui-input-block record"
>
<input
type=
"text"
name=
"record"
required
lay-verify=
"record"
class=
"layui-input"
>
</div>
</div>
<div
class=
"layui-form-item submitbutton_con"
>
<div
class=
"layui-input-block submitbutton"
>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary reset"
>
重 置
</button>
<button
type=
"submit"
class=
"layui-btn layui-btn-normal submit"
lay-submit=
""
lay-filter=
"demo1"
>
查
<button
type=
"submit"
class=
"layui-btn layui-btn-normal submit"
lay-submit=
""
lay-filter=
"demo1"
>
查
询
</button>
</div>
</div>
...
...
@@ -111,4 +112,5 @@
{{
#
}
}}
{{
#
});
}}
</script>
</html>
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment