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
0a386f87
authored
2020-12-11 17:10:18 +0800
by
焦小希
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
解决冲突
2 parents
62e57b1c
11a78ef1
Pipeline
#18
for
0a386f87
failed
in 0 seconds
Changes
20
Pipelines
1
Builds
0
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
541 additions
and
345 deletions
index.html
staticCss/bszn.css
staticCss/common.css
staticCss/wdyw.css
staticCss/wdyy.css
staticJs/businessGuideDeatil.js
staticJs/flfgxq.js
staticJs/ggxq.js
staticJs/onlineApply/bdcqlCheck.js
staticJs/onlineApply/houseFill.js
staticJs/onlineApply/workFlow.js
staticJs/wdyw.js
staticJs/wdyy.js
staticJs/xwxq.js
staticJs/xyzc.js
staticJs/xyzcxq.js
staticViews/bszn.html
staticViews/businessGuideDeatil.html
staticViews/wdyw.html
staticViews/wdyy.html
index.html
View file @
0a386f8
...
...
@@ -21,25 +21,25 @@
</div>
<ul
class=
"banner_title"
>
<li>
<a
href=
""
title=
"查询档案"
>
<a
class=
"cardItem"
href=
""
title=
"查询档案"
>
<img
src=
"./staticImages/dacx.png"
alt=
"查询档案"
>
查询档案
</a>
</li>
<li>
<a
href=
""
title=
"进度查询"
>
<a
class=
"cardItem"
href=
""
title=
"进度查询"
>
<img
src=
"./staticImages/jdcx.png"
alt=
"进度查询"
>
进度查询
</a>
</li>
<li>
<a
href=
"/staticViews/yyxz.html"
title=
"在线预约"
>
<a
class=
"cardItem"
href=
"/staticViews/yyxz.html"
title=
"在线预约"
>
<img
src=
"./staticImages/zxyy.png"
alt=
"在线预约"
>
在线预约
</a>
</li>
<li>
<a
title=
"证书核验"
>
<a
class=
"cardItem"
title=
"证书核验"
>
<img
src=
"./staticImages/zshy.png"
alt=
"证书核验"
>
证书核验
</a>
...
...
staticCss/bszn.css
View file @
0a386f8
...
...
@@ -99,7 +99,8 @@
line-height
:
60px
;
}
.busTabs
li
{
font-size
:
20px
!important
;
width
:
170px
;
font-size
:
16px
;
font-weight
:
400
!important
;
color
:
#6D7278
!important
;
}
...
...
@@ -132,3 +133,8 @@
width
:
80%
;
left
:
10%
;
}
.navtab1
.layui-tab-title
{
border
:
none
!important
;
margin-left
:
-10px
;
margin-bottom
:
30px
;
}
\ No newline at end of file
...
...
staticCss/common.css
View file @
0a386f8
...
...
@@ -316,6 +316,7 @@ div.footer .system_service ul li a:hover {
background-color
:
rgba
(
144
,
147
,
153
,
.5
);
}
<<<<<<<
HEAD
/* 登陆样式 by jxx */
.PersonLogin
{
cursor
:
pointer
;
...
...
@@ -382,3 +383,16 @@ div.footer .system_service ul li a:hover {
font-size
:
14px
;
border-radius
:
4px
;
}
=======
/* card样式 */
.cardItem
{
background
:
#FFFFFF
;
border
:
1px
solid
#E5E8ED
;
box-shadow
:
0
3px
6px
0
rgba
(
10
,
14
,
40
,
0.08
);
-moz-box-shadow
:
0
3px
6px
0
rgba
(
10
,
14
,
40
,
0.08
);
/*firefox*/
-webkit-box-shadow
:
0
3px
6px
0
rgba
(
10
,
14
,
40
,
0.08
);
/*webkit*/
border-radius
:
6px
;
}
/* 0091FF */
>>>>>>>
11a78ef128cb77845e54d1142a289ffa8b437d14
...
...
staticCss/wdyw.css
View file @
0a386f8
...
...
@@ -88,101 +88,105 @@
float
:
right
;
margin-top
:
20px
;
}
/* ----------------预约列表-------------------- */
.appointment_list
{
margin-top
:
20px
;
/* ---------------------------------- */
.business_titleList
{
width
:
1220px
;
margin
:
20px
auto
;
font-size
:
0
;
margin-left
:
-10px
;
margin-right
:
-10px
;
}
.appointment_list
li
{
width
:
33.333%
;
.business_titleList
li
{
width
:
25%
;
font-size
:
14px
;
display
:
inline-block
;
text-align
:
center
;
padding
:
0
10px
;
box-sizing
:
border-box
;
float
:
left
;
}
.appointment_list
li
.item_content
{
border
:
1px
solid
#CBCBCB
;
border-radius
:
4px
;
border
:
1px
solid
#CBCBCB
;
font-size
:
16px
;
height
:
368px
;
.business_titleList
li
a
{
display
:
block
;
height
:
80px
;
border
:
1px
solid
#eee
;
border-radius
:
5px
;
text-align
:
center
;
cursor
:
pointer
;
}
.item_title
{
height
:
48px
;
line-height
:
48px
;
color
:
#FFFFFF
;
padding
:
0
20px
;
box-sizing
:
border-box
;
.business_titleList
li
p
:nth-child
(
1
)
{
font-size
:
18px
;
margin-top
:
15px
;
}
.item_title
h3
{
display
:
inline-block
;
float
:
left
;
.itemTitleActive
{
border-color
:
#0091FF
!important
;
}
/* ---------------预约列表------------------- */
.contentBox
{
width
:
1200px
;
margin
:
0
auto
;
}
.item_title
p
{
.appintmentList
li
{
border-bottom
:
1px
solid
#eee
;
padding-bottom
:
20px
;
padding-top
:
20px
;
cursor
:
pointer
;
}
.appintmentList
li
.state
{
width
:
60px
;
height
:
60px
;
border-radius
:
50%
;
display
:
inline-block
;
float
:
right
;
color
:
#FFFFFF
;
font-size
:
12px
;
text-align
:
center
;
line-height
:
60px
;
margin-right
:
20px
;
}
.success
{
background-color
:
#44D7B6
;
.appintmentList
li
div
{
display
:
inline-block
;
position
:
relative
;
top
:
12px
;
margin-right
:
50px
;
}
.overdue
{
background-color
:
#F26363
;
.business_name
h5
{
font-size
:
16px
;
font-weight
:
600
;
}
.cancel
{
background-color
:
#F26363
;
opacity
:
0.5
;
.handle
{
color
:
#0091FF
;
float
:
right
;
margin-top
:
26px
;
cursor
:
pointer
;
}
.item_info
{
padding
:
30px
;
height
:
180px
;
.handle
:hover
{
color
:
#0091FF
;
}
.item_info
li
{
width
:
100%
;
line-height
:
38px
;
box-sizing
:
border-box
;
#page
{
text-align
:
center
;
margin-top
:
25px
;
}
.item_info
li
span
{
display
:
inline-block
;
width
:
108px
;
text-align
:
right
;
color
:
#9B9B9B
;
white-space
:
nowrap
;
/*------------正在填写------------- */
.tobeSubmit
{
background-color
:
rgba
(
129
,
211
,
248
,
1
);
}
.item_info
li
p
{
display
:
inline-block
;
color
:
#303030
;
/*------------资料审核------------- */
.dataReview
{
background-color
:
#5FB878
;
}
.item_info
li
a
{
display
:
inline-block
;
color
:
#0091FF
;
margin-left
:
20px
;
/*------------缴费------------- */
.pay
{
background-color
:
#01AAED
;
}
.cancel_reservation
{
display
:
block
;
width
:
100px
;
height
:
40px
;
background
:
#FFFFFF
;
border-radius
:
3px
;
border
:
1px
solid
#E6E6E6
;
font-size
:
16px
;
color
:
#9B9B9B
;
line-height
:
40px
;
text-align
:
center
;
margin
:
0
auto
;
/*------------退回------------- */
.return
{
background-color
:
#FFB800
;
}
.business_titleList
{
width
:
1200px
;
margin
:
15px
auto
;
font-size
:
0
;
/*------------驳回------------- */
.reject
{
background-color
:
#FF5722
;
}
.business_titleList
li
{
width
:
25%
;
font-size
:
14px
;
display
:
inline-block
;
text-align
:
center
;
/*------------办理成功------------- */
.success
{
background-color
:
#009688
;
}
.business_
titleList
li
p
:nth-child
(
1
)
{
font-size
:
18
px
;
.business_
name
{
width
:
330
px
;
}
\ No newline at end of file
...
...
staticCss/wdyy.css
View file @
0a386f8
...
...
@@ -94,6 +94,7 @@
font-size
:
0
;
margin-left
:
-10px
;
margin-right
:
-10px
;
overflow
:
hidden
;
}
.appointment_list
li
{
width
:
33.333%
;
...
...
@@ -120,9 +121,14 @@
display
:
inline-block
;
float
:
left
;
}
.item_title
p
{
.item_title
a
{
display
:
inline-block
;
float
:
right
;
color
:
#FFFFFF
;
cursor
:
pointer
;
}
.item_title
a
:hover
{
color
:
#FFFFFF
;
}
.success
{
background-color
:
#44D7B6
;
...
...
@@ -172,3 +178,7 @@
text-align
:
center
;
margin
:
0
auto
;
}
#page
{
text-align
:
center
;
margin
:
30px
0
;
}
\ No newline at end of file
...
...
staticJs/businessGuideDeatil.js
0 → 100644
View file @
0a386f8
$
(
function
()
{
_initData
()
})
layui
.
use
(
'element'
,
function
()
{
var
element
=
layui
.
element
;
//导航的hover效果、二级菜单等功能,需要依赖element模块
});
// 新闻详情数据
function
_initData
()
{
var
newsDetail
=
$
(
"#newsDetail"
);
newsDetail
.
empty
();
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/MhNotice/getMHDetailById"
,
//路径
data
:
{
"id"
:
GetQueryString
(
'id'
),
},
dataType
:
"json"
,
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
$
(
'.newsTitle'
).
html
(
result
.
data
.
title
)
$
(
'.releaseTime'
).
html
(
result
.
data
.
addtime
)
newsDetail
.
append
(
result
.
data
.
content
)
}
}
});
}
function
GetQueryString
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
if
(
r
!=
null
)
return
decodeURIComponent
(
r
[
2
]);
return
null
;
}
\ No newline at end of file
staticJs/flfgxq.js
View file @
0a386f8
...
...
@@ -14,7 +14,7 @@ function newsDetail() {
newsDetail
.
empty
();
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhNews/getDetailById"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhNews/getDetailById"
,
//路径
data
:
{
"id"
:
GetQueryString
(
'id'
),
},
...
...
staticJs/ggxq.js
View file @
0a386f8
...
...
@@ -14,7 +14,7 @@ function newsDetail() {
newsDetail
.
empty
();
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhNotice/getMHDetailById"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhNotice/getMHDetailById"
,
//路径
data
:{
"id"
:
GetQueryString
(
'id'
),
},
...
...
staticJs/onlineApply/bdcqlCheck.js
View file @
0a386f8
...
...
@@ -163,20 +163,20 @@ function addCreatSLSQ(jsondata) {
"bdcqzh"
:
jsondata
.
bdcqzh
,
"bsmQl"
:
jsondata
.
bsm_ql
,
"ywid"
:
business
.
ywid
,
"business
n
o"
:
business
.
businessno
,
"business
N
o"
:
business
.
businessno
,
"userid"
:
"0026609ddc6d2afabaa3c9b0ea3b0ec3"
};
$
.
ajax
({
type
:
"post"
,
//提交方式
headers
:{
'Content-Type'
:
'application/json;charset=utf8'
},
url
:
portal
.
api_url
+
"/portal/
FillInformation/allInformation
"
,
//路径
url
:
portal
.
api_url
+
"/portal/
ApplyBusinessService/createFlowBusiness
"
,
//路径
dataType
:
"json"
,
async
:
false
,
data
:
JSON
.
stringify
(
data
),
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
)
{
skipNextPage
();
skipNextPage
(
result
.
data
.
bsmSlsq
,
business
.
businessno
);
}
else
{
alert
(
result
.
message
);
...
...
staticJs/onlineApply/houseFill.js
View file @
0a386f8
...
...
@@ -2,7 +2,7 @@ layui.use('element', function () {
let
element
=
layui
.
element
;
//导航的hover效果、二级菜单等功能,需要依赖element模块
});
addTabs
(
'#wssq'
)
setAcceptFlow
(
GetQueryString
(
'
ywid'
),
GetQueryString
(
'lclb
'
));
setAcceptFlow
(
GetQueryString
(
'
bsm_slsq'
),
GetQueryString
(
'businessno
'
));
// form 表单
layui
.
use
(
'form'
,
function
()
{
var
form
=
layui
.
form
;
...
...
@@ -127,5 +127,5 @@ layui.use(['form', 'common'], function () {
//下一步事件
function
skipClick
(){
skipNextPage
();
skipNextPage
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
)
);
}
...
...
staticJs/onlineApply/workFlow.js
View file @
0a386f8
var
business
;
//获取
创建的流程业务
function
get
CreateFlow
(
ywid
,
businessno
)
{
//获取
业务配置信息
function
get
BusinessConfig
(
ywid
,
businessno
)
{
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/getBusinessFlow"
,
//路径
...
...
@@ -21,13 +21,14 @@ function getCreateFlow(ywid, businessno) {
//获取正在办理的流程业务
function
getAcceptFlow
(
bsm_slsq
,
businessno
)
{
$
.
ajax
({
type
:
"post"
,
//提交方式
type
:
"get"
,
//提交方式
//contentType: 'application/json',
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/getApplyFlow"
,
//路径
dataType
:
"json"
,
async
:
false
,
data
:
{
"bsm
_s
lsq"
:
bsm_slsq
,
"business
no"
:
businessno
"bsm
S
lsq"
:
bsm_slsq
,
"business
No"
:
businessno
,
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
...
...
@@ -46,15 +47,21 @@ function setArticleSteps() {
switch
(
item
.
stepState
)
{
case
0
:
ArticleContent
.
append
(
'<li class="item_proress"><p></p><h5>'
+
item
.
stepname
+
'</h5></li>'
);
if
((
index
+
1
)
<
business
.
stepList
.
length
)
{
ArticleContent
.
append
(
'<li class="layui-progress"><div class="layui-progress-bar" lay-percent="0%"></div></li>'
);
}
break
;
case
1
:
ArticleContent
.
append
(
'<li class="item_proress"><p class="activeing"></p><h5 class="activeingtext">'
+
item
.
stepname
+
'</h5></li>'
);
if
((
index
+
1
)
<
business
.
stepList
.
length
)
{
ArticleContent
.
append
(
'<li class="layui-progress"><div class="layui-progress-bar" lay-percent="50%"></div></li>'
);
}
break
;
case
2
:
ArticleContent
.
append
(
'<li class="item_proress"><p class="active"></p><h5>'
+
item
.
stepname
+
'</h5></li>'
);
if
((
index
+
1
)
<
business
.
stepList
.
length
)
{
ArticleContent
.
append
(
'<li class="layui-progress"><div class="layui-progress-bar" lay-percent="100%"></div></li>'
);
}
break
;
}
});
...
...
@@ -62,7 +69,7 @@ function setArticleSteps() {
//获取业务发起流程方法
function
getInitiateFLow
(
ywid
,
businessno
)
{
get
CreateFlow
(
ywid
,
businessno
);
get
BusinessConfig
(
ywid
,
businessno
);
window
.
open
(
portal
.
rootPath
+
business
.
stepList
[
0
].
pageurl
+
"?ywid="
+
ywid
+
"&businessno="
+
businessno
,
"_self"
)
}
...
...
@@ -72,17 +79,17 @@ function getWorkBoxFLow(bsm_slsq, businessno) {
var
pageurl
;
$
.
each
(
business
.
stepList
,
function
(
index
,
item
)
{
if
(
item
.
stepState
==
1
)
{
page
=
item
.
pageurl
;
page
url
=
item
.
pageurl
;
return
;
}
});
window
.
open
(
portal
.
rootPath
+
pageurl
+
"?
ywid="
+
ywid
,
"_self"
)
window
.
open
(
portal
.
rootPath
+
pageurl
+
"?
bsm_slsq="
+
bsm_slsq
+
"&businessno="
+
businessno
,
"_self"
)
}
//设置首环节页面相关内容
function
setFristStepPageFLow
(
ywid
)
{
get
CreateFlow
(
ywid
);
get
BusinessConfig
(
ywid
);
setArticleSteps
();
}
...
...
@@ -93,8 +100,7 @@ function setAcceptFlow(bsmSlsq, businessNo) {
}
//跳转下一个环节页面
function
skipNextPage
()
{
//更新当前流程所处环节
function
skipNextPage
(
bsm_slsq
,
businessno
)
{
var
nextStepIndex
;
$
.
each
(
business
.
stepList
,
function
(
index
,
item
)
{
if
(
item
.
stepState
==
1
)
{
...
...
@@ -102,6 +108,27 @@ function skipNextPage() {
return
;
}
});
window
.
location
.
href
=
portal
.
rootPath
+
business
.
stepList
[
nextStepIndex
].
pageurl
+
"?ywid="
+
business
.
ywid
+
"&businessno="
+
business
.
businessno
;
var
datajson
=
{
"bsmSlsq"
:
bsm_slsq
,
"businessNo"
:
businessno
,
"stepNo"
:
business
.
stepList
[
nextStepIndex
].
stepno
};
//更新当前流程所处环节
$
.
ajax
({
type
:
"post"
,
//提交方式
contentType
:
'application/json'
,
url
:
portal
.
api_url
+
"/portal/FillInformation/updateStepNo"
,
//路径
dataType
:
"json"
,
async
:
false
,
data
:
JSON
.
stringify
(
datajson
),
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
)
{
window
.
location
.
href
=
portal
.
rootPath
+
business
.
stepList
[
nextStepIndex
].
pageurl
+
"?bsm_slsq="
+
bsm_slsq
+
"&businessno="
+
businessno
;
}
}
});
}
...
...
staticJs/wdyw.js
View file @
0a386f8
...
...
@@ -7,25 +7,218 @@ layui.use('element', function () {
});
});
$
(
function
()
{
_applyBusinessRecord
()
_applyBusinessAJZTCount
()
$
(
'.business_titleList li a'
).
click
(
function
()
{
$
(
'.business_titleList li a'
).
removeClass
(
'itemTitleActive'
)
$
(
this
).
addClass
(
'itemTitleActive'
)
let
dataId
=
(
$
(
this
).
attr
(
'data-id'
))
if
(
dataId
==
'1'
)
{
_applyBusinessRecord
()
dataRendering
(
dataList
.
list
)
}
else
if
(
dataId
==
'2'
)
{
_applyBusinessWiat
()
dataRendering
(
dataList
.
list
)
}
else
if
(
dataId
==
'3'
)
{
_applyBusinessIn
()
dataRendering
(
dataList
.
list
)
}
else
if
(
dataId
==
'6'
)
{
_applyBusinessEnd
()
dataRendering
(
dataList
.
list
)
}
})
$
(
document
).
on
(
"click"
,
".appintmentList li"
,
function
(
e
)
{
let
businessNo
=
$
(
this
).
attr
(
'data-businessNo'
);
let
slsqBsm
=
$
(
this
).
attr
(
'data-slsqBsm'
);
getWorkBoxFLow
(
slsqBsm
,
businessNo
)
})
})
//网上申请业务待提交
function
_applyBusinessWiat
()
{
function
_applyBusinessWiat
(
currentPage
=
1
)
{
var
li
;
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/WorkBoxService/applyBusinessW
ia
t"
,
//路径
url
:
portal
.
api_url
+
"/portal/WorkBoxService/applyBusinessW
ai
t"
,
//路径
dataType
:
"json"
,
data
:
{
userId
:
'0026609ddc6d2afabaa3c9b0ea3b0ec3'
"userId"
:
'0026609ddc6d2afabaa3c9b0ea3b0ec3'
,
"currentPage"
:
currentPage
,
"pageSize"
:
10
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
$
(
'.appintmentList'
).
empty
();
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
console
.
log
(
result
.
data
)
dataList
.
list
=
result
.
data
.
records
dataRendering
()
}
paged
(
result
.
data
.
total
);
}
});
}
//网上申请业务正在办理
function
_applyBusinessIn
(
currentPage
=
1
)
{
var
li
;
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/WorkBoxService/applyBusinessIn"
,
//路径
dataType
:
"json"
,
data
:
{
"userId"
:
'0026609ddc6d2afabaa3c9b0ea3b0ec3'
,
"currentPage"
:
currentPage
,
"pageSize"
:
10
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
$
(
'.appintmentList'
).
empty
();
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
dataList
.
list
=
result
.
data
.
records
dataRendering
()
}
paged
(
result
.
data
.
total
);
}
});
}
//网上申请业务已办结
function
_applyBusinessEnd
(
currentPage
=
1
)
{
var
li
;
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/WorkBoxService/applyBusinessEnd"
,
//路径
dataType
:
"json"
,
data
:
{
"userId"
:
'0026609ddc6d2afabaa3c9b0ea3b0ec3'
,
"currentPage"
:
currentPage
,
"pageSize"
:
10
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
$
(
'.appintmentList'
).
empty
();
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
dataList
.
list
=
result
.
data
.
records
dataRendering
()
}
paged
(
result
.
data
.
total
);
}
});
}
//网上申请业务记录
function
_applyBusinessRecord
(
currentPage
=
1
)
{
var
li
;
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/WorkBoxService/applyBusinessRecord"
,
//路径
dataType
:
"json"
,
data
:
{
"userId"
:
'0026609ddc6d2afabaa3c9b0ea3b0ec3'
,
"currentPage"
:
currentPage
,
"pageSize"
:
10
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
$
(
'.appintmentList'
).
empty
();
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
dataList
.
list
=
result
.
data
.
records
dataRendering
()
}
paged
(
result
.
data
.
total
,
result
.
data
.
current
);
}
});
}
// 网上申请业务案件状态数量统计
function
_applyBusinessAJZTCount
()
{
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/WorkBoxService/applyBusinessAJZTCount?userId="
+
dataList
.
userid
,
//路径
dataType
:
"json"
,
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
$
(
'.applyBusinessRecord span'
).
text
(
result
.
data
.
allBusinessCount
)
$
(
'.to_be_submitted span'
).
text
(
result
.
data
.
businessWaitCount
)
$
(
'.applyBusinessIn span'
).
text
(
result
.
data
.
businessInProcessCount
)
$
(
'.applyBusinessEnd span'
).
text
(
result
.
data
.
businessEndCount
)
}
});
}
// 分页
function
paged
(
pageCount
,
curr
)
{
layui
.
use
(
'laypage'
,
function
()
{
let
laypage
=
layui
.
laypage
;
//执行一个laypage实例
laypage
.
render
({
elem
:
'page'
//注意,这里的 test1 是 ID,不用加 # 号
,
count
:
pageCount
//数据总数,从服务端得到
,
curr
:
curr
,
prev
:
'<'
,
next
:
'>'
,
theme
:
'#0091FF'
,
jump
:
function
(
obj
,
first
)
{
if
(
!
first
)
{
console
.
log
(
obj
.
curr
)
_applyBusinessRecord
(
obj
.
curr
);
}
}
});
})
}
// 列表数据渲染
function
dataRendering
()
{
for
(
var
i
=
0
;
i
<
dataList
.
list
.
length
;
i
++
)
{
li
=
'<li data-slsqBsm="'
+
dataList
.
list
[
i
].
slsqBsm
+
'" data-businessNo="'
+
dataList
.
list
[
i
].
businessNo
+
'">'
;
if
(
dataList
.
list
[
i
].
ajzt
==
'1'
)
{
li
+=
'<span class="state tobeSubmit">正在填写</span>'
}
else
if
(
dataList
.
list
[
i
].
ajzt
==
'2'
)
{
li
+=
'<span class="state dataReview">资料审核</span>'
}
else
if
(
dataList
.
list
[
i
].
ajzt
==
'3'
)
{
li
+=
'<span class="state pay">缴费</span>'
}
else
if
(
dataList
.
list
[
i
].
ajzt
==
'4'
)
{
li
+=
'<span class="state return">退回</span>'
}
else
if
(
dataList
.
list
[
i
].
ajzt
==
'5'
)
{
li
+=
'<span class="state reject">驳回</span>'
}
else
{
li
+=
'<span class="state success">办理成功</span>'
}
li
+=
' <div class="business_name">'
li
+=
'<h5>'
+
dataList
.
list
[
i
].
djywjc
+
'</h5>'
li
+=
'<p>权力类型:'
+
dataList
.
list
[
i
].
qllxmc
+
'</p>'
li
+=
'</div>'
li
+=
'<div>'
li
+=
'<p>权利人</p>'
li
+=
'<p>'
+
dataList
.
list
[
i
].
qlrmc
+
'</p>'
li
+=
'</div>'
li
+=
'<div>'
li
+=
'<p>义务人</p>'
li
+=
'<p>'
+
dataList
.
list
[
i
].
ywrmc
+
'</p>'
li
+=
'</div>'
li
+=
'<div>'
li
+=
'<p>办理流水</p>'
li
+=
'<p>'
+
dataList
.
list
[
i
].
wwsqbh
+
'</p>'
li
+=
'</div>'
li
+=
'<div>'
li
+=
'<p>办理时间</p>'
li
+=
'<p>'
+
dataList
.
list
[
i
].
sqrq
+
'</p>'
li
+=
'</div>'
if
(
dataList
.
list
[
i
].
ajzt
==
'1'
)
{
li
+=
'<a class="handle">继续办理</a>'
}
else
if
(
dataList
.
list
[
i
].
ajzt
==
'3'
)
{
li
+=
'<a class="handle">缴费</a>'
}
$
(
'.appintmentList'
).
append
(
li
)
}
}
var
dataList
=
{
"list"
:
[],
"userid"
:
'0026609ddc6d2afabaa3c9b0ea3b0ec3'
};
\ No newline at end of file
...
...
staticJs/wdyy.js
View file @
0a386f8
...
...
@@ -6,3 +6,89 @@ layui.use('element', function () {
layer
.
msg
(
elem
.
text
());
});
});
$
(
function
()
{
_initData
()
})
// 获取列表信息
function
_initData
(
currentPage
=
1
)
{
var
appointment_list
=
$
(
".appointment_list"
);
appointment_list
.
empty
();
var
li
;
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/WorkBoxService/bookingBusinessReord"
,
//路径
dataType
:
"json"
,
data
:
{
"userId"
:
dataList
.
userid
,
"currentPage"
:
currentPage
,
"pageSize"
:
10
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
let
records
=
result
.
data
.
records
for
(
var
i
=
0
;
i
<
records
.
length
;
i
++
)
{
li
=
'<li>'
li
+=
'<div class="item_content">'
if
(
records
[
i
].
state
==
'1'
)
{
li
+=
'<div class="item_title success">'
li
+=
'<h3>赴约</h3>'
li
+=
'<a>查看<i class="layui-icon layui-icon-right"></i></a>'
li
+=
'</div>'
}
else
if
(
records
[
i
].
state
==
'2'
)
{
li
+=
'<div class="item_title overdue">'
li
+=
'<h3>逾期</h3>'
li
+=
'<a>查看<i class="layui-icon layui-icon-right"></i></a>'
li
+=
'</div>'
}
else
if
(
records
[
i
].
state
==
'4'
)
{
li
+=
'<div class="item_title cancel">'
li
+=
'<h3>取消</h3>'
li
+=
'<a>查看<i class="layui-icon layui-icon-right"></i></a>'
li
+=
'</div>'
}
li
+=
'<ul class="item_info">'
li
+=
'<li><span>预约人:</span><p>'
+
records
[
i
].
name
+
'</p></li>'
li
+=
'<li><span>办事大厅:</span><p>'
+
records
[
i
].
organizationName
+
'</p></li>'
li
+=
'<li><span>办理业务类型:</span><p>'
+
records
[
i
].
businessName
+
'</p><a href="">办事指南</a></li>'
li
+=
'<li><span>预约日期:</span><p>'
+
records
[
i
].
reserveTime
+
'</p></li>'
li
+=
'<li><span>预约流水号:</span><p>'
+
records
[
i
].
reservationNumber
+
'</p></li>'
li
+=
'</ul>'
if
(
records
[
i
].
state
==
'1'
)
{
li
+=
'<a class="cancel_reservation">取消预约</a>'
}
li
+=
'</div>'
li
+=
'</li>'
appointment_list
.
append
(
li
);
}
}
paged
(
result
.
data
.
total
,
result
.
data
.
current
);
}
});
}
// 分页
function
paged
(
pageCount
,
curr
)
{
layui
.
use
(
'laypage'
,
function
()
{
let
laypage
=
layui
.
laypage
;
//执行一个laypage实例
laypage
.
render
({
elem
:
'page'
//注意,这里的 test1 是 ID,不用加 # 号
,
count
:
pageCount
//数据总数,从服务端得到
,
curr
:
curr
,
prev
:
'<'
,
next
:
'>'
,
theme
:
'#0091FF'
,
jump
:
function
(
obj
,
first
)
{
if
(
!
first
)
{
console
.
log
(
obj
.
curr
)
_initData
(
obj
.
curr
);
}
}
});
})
}
var
dataList
=
{
"userid"
:
'0026609ddc6d2afabaa3c9b0ea3b0ec3'
};
\ No newline at end of file
...
...
staticJs/xwxq.js
View file @
0a386f8
...
...
@@ -19,7 +19,7 @@ function LawsData() {
var
li
;
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhNews/getDetailById"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhNews/getDetailById"
,
//路径
data
:{
"id"
:
GetQueryString
(
'id'
),
},
...
...
@@ -42,7 +42,7 @@ function HotArticle() {
var
li
=
''
;
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhNews/getNewsHotArticleList"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhNews/getNewsHotArticleList"
,
//路径
dataType
:
"json"
,
async
:
false
,
//数据,这里使用的是Json格式进行传输
...
...
@@ -67,7 +67,7 @@ function PolicyHotArticle() {
var
li
=
''
;
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhPolicy/getPolicyHotArticleList"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhPolicy/getPolicyHotArticleList"
,
//路径
dataType
:
"json"
,
async
:
false
,
//数据,这里使用的是Json格式进行传输
...
...
staticJs/xyzc.js
View file @
0a386f8
...
...
@@ -48,7 +48,7 @@ function getPolicyHotArticleList() {
var
li
=
''
;
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhPolicy/getPolicyHotArticleList"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhPolicy/getPolicyHotArticleList"
,
//路径
dataType
:
"json"
,
async
:
false
,
//数据,这里使用的是Json格式进行传输
...
...
@@ -73,7 +73,7 @@ function HotArticle() {
var
li
=
''
;
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhNews/getNewsHotArticleList"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhNews/getNewsHotArticleList"
,
//路径
dataType
:
"json"
,
async
:
false
,
//数据,这里使用的是Json格式进行传输
...
...
staticJs/xyzcxq.js
View file @
0a386f8
...
...
@@ -14,7 +14,7 @@ function newsDetail() {
newsDetail
.
empty
();
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/
hlwj
/MhNews/getDetailById"
,
//路径
url
:
portal
.
api_url
+
"/
portal
/MhNews/getDetailById"
,
//路径
data
:
{
"id"
:
GetQueryString
(
'id'
),
},
...
...
staticViews/bszn.html
View file @
0a386f8
...
...
@@ -316,7 +316,7 @@
</div>
<div
class=
"layui-tab-item"
>
<div
class=
"layui-tab layui-tab-brief"
lay-filter=
"navtab1"
>
<div
class=
"layui-tab layui-tab-brief
navtab1
"
lay-filter=
"navtab1"
>
<ul
class=
"layui-tab-title"
>
<li
class=
"layui-this"
lay-id=
"0"
>
全部
</li>
<li
lay-id=
"1"
>
土地1
</li>
...
...
staticViews/businessGuideDeatil.html
0 → 100644
View file @
0a386f8
<!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>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
办事指南详情
</title>
<script
type=
"text/javascript"
src=
"../staticJs/head.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../staticCss/ggxq.css"
>
</head>
<body>
<div
class=
"navigation_crumbs"
>
<div
class=
"contentBox"
>
<span
class=
"layui-breadcrumb"
>
<a
href=
"../index.html"
>
首页
</a>
<a
href=
"./bszn.html"
>
办事指南
</a>
<a><cite>
办事指南详情
</cite></a>
</span>
</div>
</div>
<div
class=
"mainbody"
>
<div
class=
"title newsTitle"
></div>
<div
class=
"release"
>
<div
class=
"source"
></div>
<div>
发布日期:
<p
class=
"releaseTime"
></p></div>
</div>
<div
class=
"DividingLine"
></div>
<div
class=
"notice_content"
id=
"newsDetail"
>
</div>
</div>
</body>
<script
type=
"text/javascript"
src=
"../staticJs/common.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/down.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/businessGuideDeatil.js"
></script>
</html>
\ No newline at end of file
staticViews/wdyw.html
View file @
0a386f8
<!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>
...
...
@@ -9,6 +10,7 @@
<script
type=
"text/javascript"
src=
"../staticJs/head.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../staticCss/wdyw.css"
>
</head>
<body>
<div
class=
"main"
>
<div
class=
"navigation_crumbs"
>
...
...
@@ -38,150 +40,53 @@
</div>
</div>
<ul
class=
"business_titleList"
>
<li>
<li
class=
"applyBusinessRecord"
>
<a
data-id=
'1'
class=
"itemTitleActive"
>
<p>
<span>
5
</span>
<b>
件
</b>
</p>
<p>
办理合计
</p>
</a>
</li>
<li>
<li
class=
"to_be_submitted"
>
<a
data-id=
'2'
>
<p>
<span>
1
</span>
<b>
件
</b>
</p>
<p>
待提交
</p>
</a>
</li>
<li>
<li
class=
"applyBusinessIn"
>
<a
data-id=
'3'
>
<p>
<span>
5
</span>
<b>
件
</b>
</p>
<p>
办理中
</p>
</a>
</li>
<li>
<li
class=
"applyBusinessEnd"
>
<a
data-id=
'6'
>
<p>
<span>
5
</span>
<b>
件
</b>
</p>
<p>
已办结
</p>
</a>
</li>
</ul>
<!-- -------------预约列表--------------- -->
<div
class=
"contentBox"
>
<ul
class=
"appointment_list"
>
<li>
<div
class=
"item_content"
>
<div
class=
"item_title success"
>
<h3>
正常
</h3>
<p>
查看
<i
class=
"layui-icon layui-icon-right"
></i>
</p>
</div>
<ul
class=
"item_info"
>
<li>
<span>
预约人:
</span>
<p>
任超
</p>
</li>
<li>
<span>
办事大厅:
</span>
<p>
米香园办事大厅
</p>
</li>
<li>
<span>
办理业务类型:
</span>
<p>
二手房交易
</p>
<a
href=
""
>
办事指南
</a>
</li>
<li>
<span>
预约日期:
</span>
<p>
2020-12-56 上午 16:13
</p>
</li>
<li>
<span>
预约流水号:
</span>
<p>
897987987987
</p>
</li>
</ul>
<a
class=
"cancel_reservation"
>
取消预约
</a>
</div>
</li>
<li>
<div
class=
"item_content"
>
<div
class=
"item_title overdue"
>
<h3>
正常
</h3>
<p>
查看
<i
class=
"layui-icon layui-icon-right"
></i>
</p>
</div>
<ul
class=
"item_info"
>
<li>
<span>
预约人:
</span>
<p>
任超
</p>
</li>
<li>
<span>
办事大厅:
</span>
<p>
米香园办事大厅
</p>
</li>
<li>
<span>
办理业务类型:
</span>
<p>
二手房交易
</p>
<a
href=
""
>
办事指南
</a>
</li>
<li>
<span>
预约日期:
</span>
<p>
2020-12-56 上午 16:13
</p>
</li>
<li>
<span>
预约流水号:
</span>
<p>
897987987987
</p>
</li>
</ul>
<a
class=
"cancel_reservation"
>
取消预约
</a>
</div>
</li>
<li>
<div
class=
"item_content"
>
<div
class=
"item_title cancel"
>
<h3>
正常
</h3>
<p>
查看
<i
class=
"layui-icon layui-icon-right"
></i>
</p>
</div>
<ul
class=
"item_info"
>
<li>
<span>
预约人:
</span>
<p>
任超
</p>
</li>
<li>
<span>
办事大厅:
</span>
<p>
米香园办事大厅
</p>
</li>
<li>
<span>
办理业务类型:
</span>
<p>
二手房交易
</p>
<a
href=
""
>
办事指南
</a>
</li>
<li>
<span>
预约日期:
</span>
<p>
2020-12-56 上午 16:13
</p>
</li>
<li>
<span>
预约流水号:
</span>
<p>
897987987987
</p>
</li>
</ul>
<a
class=
"cancel_reservation"
>
取消预约
</a>
</div>
</li>
</ul>
<ul
class=
"appintmentList"
></ul>
<div
id=
"page"
></div>
</div>
</div>
</div>
</body>
</html>
<script
type=
"text/javascript"
src=
"../staticJs/common.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/down.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/onlineApply/workFlow.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/wdyw.js"
></script>
\ No newline at end of file
...
...
staticViews/wdyy.html
View file @
0a386f8
...
...
@@ -42,113 +42,8 @@
</div>
<!-- -------------预约列表--------------- -->
<div
class=
"contentBox"
>
<ul
class=
"appointment_list"
>
<li>
<div
class=
"item_content"
>
<div
class=
"item_title success"
>
<h3>
正常
</h3>
<p>
查看
<i
class=
"layui-icon layui-icon-right"
></i>
</p>
</div>
<ul
class=
"item_info"
>
<li>
<span>
预约人:
</span>
<p>
任超
</p>
</li>
<li>
<span>
办事大厅:
</span>
<p>
米香园办事大厅
</p>
</li>
<li>
<span>
办理业务类型:
</span>
<p>
二手房交易
</p>
<a
href=
""
>
办事指南
</a>
</li>
<li>
<span>
预约日期:
</span>
<p>
2020-12-56 上午 16:13
</p>
</li>
<li>
<span>
预约流水号:
</span>
<p>
897987987987
</p>
</li>
</ul>
<a
class=
"cancel_reservation"
>
取消预约
</a>
</div>
</li>
<li>
<div
class=
"item_content"
>
<div
class=
"item_title overdue"
>
<h3>
正常
</h3>
<p>
查看
<i
class=
"layui-icon layui-icon-right"
></i>
</p>
</div>
<ul
class=
"item_info"
>
<li>
<span>
预约人:
</span>
<p>
任超
</p>
</li>
<li>
<span>
办事大厅:
</span>
<p>
米香园办事大厅
</p>
</li>
<li>
<span>
办理业务类型:
</span>
<p>
二手房交易
</p>
<a
href=
""
>
办事指南
</a>
</li>
<li>
<span>
预约日期:
</span>
<p>
2020-12-56 上午 16:13
</p>
</li>
<li>
<span>
预约流水号:
</span>
<p>
897987987987
</p>
</li>
</ul>
<a
class=
"cancel_reservation"
>
取消预约
</a>
</div>
</li>
<li>
<div
class=
"item_content"
>
<div
class=
"item_title cancel"
>
<h3>
正常
</h3>
<p>
查看
<i
class=
"layui-icon layui-icon-right"
></i>
</p>
</div>
<ul
class=
"item_info"
>
<li>
<span>
预约人:
</span>
<p>
任超
</p>
</li>
<li>
<span>
办事大厅:
</span>
<p>
米香园办事大厅
</p>
</li>
<li>
<span>
办理业务类型:
</span>
<p>
二手房交易
</p>
<a
href=
""
>
办事指南
</a>
</li>
<li>
<span>
预约日期:
</span>
<p>
2020-12-56 上午 16:13
</p>
</li>
<li>
<span>
预约流水号:
</span>
<p>
897987987987
</p>
</li>
</ul>
<a
class=
"cancel_reservation"
>
取消预约
</a>
</div>
</li>
</ul>
<ul
class=
"appointment_list"
></ul>
<div
id=
"page"
></div>
</div>
</div>
</div>
...
...
@@ -157,19 +52,4 @@
</html>
<script
type=
"text/javascript"
src=
"../staticJs/common.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/down.js"
></script>
<script
type=
"text/javascript"
src=
"../staticLib/wdyy/index.json"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/wdyy.js"
></script>
\ No newline at end of file
<script
type=
"text/html"
id=
"zizeng"
>
{{
d
.
LAY_TABLE_INDEX
+
1
}}
</script>
<script
type=
"text/html"
id=
"barDemo"
>
<
a
class
=
"layui-btn layui-btn-xs"
lay
-
event
=
"edit"
>
编辑
<
/a
>
<
a
class
=
"layui-btn layui-btn-danger layui-btn-xs"
lay
-
event
=
"del"
>
删除
<
/a
>
</script>
<script
type=
"text/html"
id=
"state"
>
{{
#
if
(
d
.
state
==
'1'
){
}}
是
{{
#
}
else
{}}
否
{{
#
}
}}
</script>
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment