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
95d59206
authored
2020-12-11 15:36:44 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改流程接口对应的内容
1 parent
1363975f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
14 deletions
staticJs/onlineApply/bdcqlCheck.js
staticJs/onlineApply/houseFill.js
staticJs/onlineApply/workFlow.js
staticJs/onlineApply/bdcqlCheck.js
View file @
95d5920
...
...
@@ -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 @
95d5920
...
...
@@ -127,5 +127,5 @@ layui.use(['form', 'common'], function () {
//下一步事件
function
skipClick
(){
skipNextPage
();
skipNextPage
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
)
);
}
...
...
staticJs/onlineApply/workFlow.js
View file @
95d5920
...
...
@@ -20,17 +20,16 @@ function getBusinessConfig(ywid, businessno) {
//获取正在办理的流程业务
function
getAcceptFlow
(
bsm_slsq
,
businessno
)
{
var
data
=
{
"bsmSlsq"
:
bsm_slsq
,
"businessNo"
:
businessno
,
};
$
.
ajax
({
type
:
"get"
,
//提交方式
//contentType: 'application/json',
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/getApplyFlow"
,
//路径
dataType
:
"json"
,
async
:
false
,
data
:
data
,
data
:
{
"bsmSlsq"
:
bsm_slsq
,
"businessNo"
:
businessno
,
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
...
...
@@ -80,11 +79,11 @@ 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
+
"?bsm_slsq="
+
bsm_slsq
+
"&businessno="
+
businessno
,
"_self"
)
window
.
open
(
portal
.
rootPath
+
pageurl
+
"?bsm_slsq="
+
bsm_slsq
+
"&businessno="
+
businessno
,
"_self"
)
}
...
...
@@ -101,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
)
{
...
...
@@ -110,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
;
}
}
});
}
...
...
Please
register
or
sign in
to post a comment