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
9aa699b4
authored
2020-12-17 11:54:07 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:填报信息
1 parent
c8c3ce7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
14 deletions
staticJs/onlineApply/houseFill.js
staticViews/onlineApply/houseFill.html
staticJs/onlineApply/houseFill.js
View file @
9aa699b
...
...
@@ -3,6 +3,9 @@ var slsqxx;
var
bsmCl
;
// 领证方式
var
lzfs
=
1
;
layui
.
use
(
'element'
,
function
()
{
let
element
=
layui
.
element
;
});
$
(
function
()
{
//设置步骤条信息
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
...
...
@@ -52,7 +55,7 @@ $(function () {
li
+=
'</div>'
li
+=
'<div class="layui-inline">'
li
+=
'<label class="layui-form-label">联系方式</label>'
li
+=
'<input type="tel" name="phone" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">'
li
+=
'<input type="tel" name="phone"
value="'
+
slsqxx
.
sqrList
[
i
].
dhhm
+
'"
maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">'
li
+=
'</div>'
li
+=
'<i class="layui-icon layui-icon-reduce-circle"></i>'
li
+=
'</div>'
...
...
@@ -74,6 +77,23 @@ $(function () {
$
(
'#titleCertificate p'
).
text
(
houseInfo
.
bdcqzh
);
$
(
'#beLocated p'
).
text
(
houseInfo
.
fdzl
);
$
(
'#area p'
).
text
(
houseInfo
.
jzmj
);
// 领证方式
lzfs
=
slsqxx
.
lzfs
;
if
(
lzfs
==
2
)
{
$
(
'.shipping_method'
).
show
();
$
(
'.submitButton'
).
hide
();
}
else
{
$
(
'.shipping_method'
).
hide
();
$
(
'.submitButton'
).
show
();
}
// 邮寄地址
$
(
'#consignee'
).
val
(
slsqxx
.
mailRecordDetail
.
consignee
);
$
(
'#consigneePhone'
).
val
(
slsqxx
.
mailRecordDetail
.
consigneePhone
);
$
(
'#province'
).
attr
(
'data-area'
,
slsqxx
.
mailRecordDetail
.
province
);
$
(
'#city'
).
attr
(
'data-area'
,
slsqxx
.
mailRecordDetail
.
city
);
$
(
'#district'
).
attr
(
'data-area'
,
slsqxx
.
mailRecordDetail
.
district
);
$
(
'#consigneeAddress'
).
val
(
slsqxx
.
mailRecordDetail
.
consigneeAddress
);
})
addTabs
(
'#wssq'
)
// form 表单
...
...
@@ -103,10 +123,14 @@ addTabs('#wssq')
// })
$
(
'.radioInfo'
).
click
(
function
()
{
let
index
=
$
(
this
).
attr
(
"value"
)
if
(
index
==
2
||
index
==
3
)
{
$
(
'.add_form'
).
show
()
}
else
{
$
(
'.add_form'
).
hide
()
if
(
$
(
'#layui-form .layui-form-item'
).
length
>
1
)
{
return
false
}
else
{
if
(
index
==
2
||
index
==
3
)
{
$
(
'.add_form'
).
show
()
}
else
{
$
(
'.add_form'
).
hide
()
}
}
})
// form 添加
...
...
@@ -192,10 +216,18 @@ function LoadClxxDiv() {
clxxContent
+=
'<input type="file" multiple id="fileInput'
+
index
+
'" onchange="handleUpdate(this,'
+
index
+
', '
+
slsqxx
.
slclList
[
index
].
fs
+
')"/>'
;
clxxContent
+=
'<div class="pictureUpload"></div>'
;
clxxContent
+=
'<div class="file_name">'
;
clxxContent
+=
'<img class="update" src="../../staticImages/update.png">'
;
clxxContent
+=
'<p class="updatetext">点击文件上传</p>'
;
if
(
slsqxx
.
slclList
[
index
].
fs
==
item
.
slclmxDetailList
.
length
)
{
clxxContent
+=
'<img class="update" src="../../staticImages/Yes.png">'
;
}
else
{
clxxContent
+=
'<img class="update" src="../../staticImages/update.png">'
;
clxxContent
+=
'<p class="updatetext">点击文件上传</p>'
;
}
clxxContent
+=
'</div>'
;
clxxContent
+=
'<ul class="fileListName" id="fileULName'
+
index
+
'"></ul>'
;
clxxContent
+=
'<ul class="fileListName" id="fileULName'
+
index
+
'">'
$
.
each
(
item
.
slclmxDetailList
,
function
(
childIndex
,
childIitem
){
clxxContent
+=
'<li class="fileName">'
+
'<span title="'
+
childIitem
.
fileName
+
'">'
+
childIitem
.
fileName
+
'</span>'
+
'<img bsmSlclmx="'
+
childIitem
.
bsmSlclmx
+
'" class="operation" src="../../staticImages/chacha.png">'
+
'</li>'
});
clxxContent
+=
'</ul>'
;
clxxContent
+=
'</div>'
;
clxxContent
+=
'<div class="certificate">'
+
slsqxx
.
slclList
[
index
].
clmc
+
'【'
+
slsqxx
.
slclList
[
index
].
wjlxmc
+
'】('
+
slsqxx
.
slclList
[
index
].
fs
+
'份)</div>'
;
clxxContent
+=
'</div>'
;
...
...
staticViews/onlineApply/houseFill.html
View file @
9aa699b
...
...
@@ -115,14 +115,14 @@
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
收件人
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
name=
"consignee"
lay-verify=
"title"
autocomplete=
"off"
placeholder=
"请输入收件人"
<input
type=
"text"
name=
"consignee"
id=
"consignee"
lay-verify=
"title"
autocomplete=
"off"
placeholder=
"请输入收件人"
class=
"layui-input"
>
</div>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
手机号码
</label>
<div
class=
"layui-input-block"
>
<input
type=
"tel"
maxlength=
"11"
name=
"consigneePhone"
lay-verify=
"consigneePhone"
autocomplete=
"off"
<input
type=
"tel"
maxlength=
"11"
id=
"consigneePhone"
name=
"consigneePhone"
lay-verify=
"consigneePhone"
autocomplete=
"off"
placeholder=
"请输入手机号码"
class=
"layui-input"
>
</div>
</div>
...
...
@@ -132,19 +132,19 @@
<div
class=
"layui-input-block ssq"
>
<h2>
省
</h2>
<div
class=
"layui-inline layui-select-default"
style=
"margin-right: 10px;"
>
<select
name=
"province"
class=
"Pselected"
disabled
data-area=
"陕西省"
"
lay-filter=
"province"
>
<select
name=
"province"
class=
"Pselected"
id=
"province"
disabled
data-area=
"陕西省"
"
lay-filter=
"province"
>
<option
value=
""
>
选择省
</option>
</select>
</div>
<h2>
市
</h2>
<div
class=
"layui-inline selected layui-select-default"
>
<select
name=
"city"
class=
"Cselected"
disabled
data-area=
"西安市"
>
<select
name=
"city"
class=
"Cselected"
id=
"city"
disabled
data-area=
"西安市"
>
<option
value=
""
>
选择市
</option>
</select>
</div>
<h2>
区
</h2>
<div
class=
"layui-inline selected layui-select-default"
>
<select
name=
"district"
class=
"Cselected"
data-area=
"雁塔区"
lay-filter=
"selectCity"
>
<select
name=
"district"
class=
"Cselected"
id=
"district"
data-area=
"雁塔区"
lay-filter=
"selectCity"
>
<option
value=
""
>
选择区
</option>
</select>
</div>
...
...
@@ -153,7 +153,7 @@
<div>
<label
class=
"layui-form-label"
>
详细地址
</label>
<div
class=
"layui-input-block"
>
<textarea
name=
"consigneeAddress"
placeholder=
"请输入内容"
class=
"layui-textarea"
></textarea>
<textarea
name=
"consigneeAddress"
id=
"consigneeAddress"
placeholder=
"请输入内容"
class=
"layui-textarea"
></textarea>
</div>
</div>
<div
class=
"next_button"
>
...
...
Please
register
or
sign in
to post a comment