Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
399761d590365b1e4980831eef52173320513a4b
1 parent
4ed23be4
app fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
public/js/3party/question-list.page.js
public/js/3party/question-list.page.js
View file @
399761d
...
...
@@ -79,10 +79,18 @@ $('#qs-list').on('click', 'li', function() {
getQuestionStatus
({
uid
:
qs
.
uid
,
id
:
data
.
id
},
function
(
resData
)
{
if
(
resData
.
code
===
200
)
{
let
href
;
if
(
qs
&&
qs
.
uid
)
{
window
.
location
.
href
=
DETAIL_URI
+
'/'
+
data
.
id
+
'?uid='
+
qs
.
uid
;
href
=
DETAIL_URI
+
'/'
+
data
.
id
+
'?uid='
+
qs
.
uid
;
}
else
{
href
=
DETAIL_URI
+
'/'
+
data
.
id
;
}
if
(
yoho
&&
yoho
.
isApp
)
{
yoho
.
goH5
(
href
);
}
else
{
window
.
location
.
href
=
DETAIL_URI
+
'/'
+
data
.
id
;
window
.
location
.
href
=
href
;
}
}
else
if
(
resData
.
code
===
206
)
{
if
(
yoho
&&
yoho
.
isApp
)
{
...
...
@@ -96,7 +104,11 @@ $('#qs-list').on('click', 'li', function() {
tipDialog
.
show
(
'调查问卷已成功提交,<br>感谢您的帮助!'
);
}
}
else
if
(
resData
.
message
)
{
window
.
location
.
href
=
DETAIL_URI
+
'/0'
;
if
(
yoho
&&
yoho
.
isApp
)
{
yoho
.
goH5
(
DETAIL_URI
+
'/0'
);
}
else
{
window
.
location
.
href
=
DETAIL_URI
+
'/0'
;
}
}
});
});
...
...
Please
register
or
login
to post a comment