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
4f4a3d0e
authored
2020-12-15 17:32:52 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:办事指南
1 parent
79bac349
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
3 deletions
staticJs/bszn.js
staticJs/businessGuideDeatil.js
staticViews/bszn.html
staticJs/bszn.js
View file @
4f4a3d0
...
...
@@ -64,6 +64,7 @@ $(document).on("click", ".area_list li", function (e) {
// 办事指南在线办理
$
(
document
).
on
(
"click"
,
".onlineProcessing"
,
function
()
{
console
.
log
(
$
(
this
).
attr
(
'data-id'
))
_listBusinessIdsByBsznId
(
$
(
this
).
attr
(
'data-id'
))
})
layui
.
use
([
'form'
,
'common'
],
function
()
{
...
...
@@ -118,7 +119,6 @@ function _getGuideBusinessInWssq(id) {
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
data
.
list
=
result
.
data
layui
.
use
(
'laytpl'
,
function
()
{
laytpl
=
layui
.
laytpl
;
var
getTpl
=
document
.
getElementById
(
'businessGuide'
).
innerHTML
...
...
@@ -172,7 +172,7 @@ function _getGuideBusinessInReserve(id) {
}
// GET /portal/MhGuide/listBusinessIdsByBsznId 通过办事指南ID获取对应的业务ID列表
function
_
getGuideBusinessInReserve
(
id
)
{
function
_
listBusinessIdsByBsznId
(
id
)
{
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/MhGuide/listBusinessIdsByBsznId?bsznId="
+
id
,
//路径
...
...
@@ -180,10 +180,38 @@ function _getGuideBusinessInReserve(id) {
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
if
(
result
.
data
.
length
==
1
)
{
_getFQFBusinessFlow
(
result
.
data
[
0
])
}
else
{
window
.
open
(
'./wssq.html'
,
"_self"
)
}
}
}
});
}
// /portal/ApplyBusinessService/getFQFBusinessFlow获取发起方业务流程信息
function
_getFQFBusinessFlow
(
id
)
{
$
.
ajax
({
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/getFQFBusinessFlow"
,
//路径
dataType
:
"json"
,
data
:
{
'ywid'
:
id
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
console
.
log
(
result
.
data
)
// getInitiateFLow($(this).attr("ywid"),$(this).attr("businessNo"));
getInitiateFLow
(
id
,
result
.
data
.
businessNo
);
}
}
});
}
var
data
=
{
//数据
"list"
:
[],
"onlineList"
:
[]
...
...
staticJs/businessGuideDeatil.js
View file @
4f4a3d0
...
...
@@ -13,7 +13,7 @@ function _initData() {
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/MhGuide/getBsznDetailById"
,
//路径
data
:
{
"
i
d"
:
GetQueryString
(
'id'
),
"
bsznI
d"
:
GetQueryString
(
'id'
),
},
dataType
:
"json"
,
//数据,这里使用的是Json格式进行传输
...
...
staticViews/bszn.html
View file @
4f4a3d0
...
...
@@ -73,6 +73,7 @@
<script
type=
"text/javascript"
src=
"../staticJs/down.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/common.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/city-picker.js"
></script>
<script
type=
"text/javascript"
src=
"../../staticJs/onlineApply/workFlow.js"
></script>
<script
type=
"text/javascript"
src=
"../staticJs/bszn.js"
></script>
<!-- 网上申请 -->
<script
id=
"businessGuide"
type=
"text/html"
>
...
...
Please
register
or
sign in
to post a comment