Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanpeng
wechat_lung
Commits
55c726b5
Commit
55c726b5
authored
Nov 18, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改2019-11-1819:24''
parent
64f23072
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
examination.js
wechat_lung_questionnaire/javaScript/examination.js
+5
-3
No files found.
wechat_lung_questionnaire/javaScript/examination.js
View file @
55c726b5
...
...
@@ -52,9 +52,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
})
// 用户点击了有
$
(
'.has'
).
on
(
'tap'
,
function
(){
examination
.
flag
=
true
console
.
log
(
examination
.
flag
)
examination
.
getQuestionAnswer
()
examination
.
flag
=
true
if
(
examination
.
checks
==
''
){
$
(
'.bloodTest'
).
prop
(
'checked'
,
true
)
examination
.
checks
=
'6'
...
...
@@ -72,7 +71,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
})
// 点击下一题
$
(
'.next'
).
on
(
'tap'
,
function
(){
console
.
log
(
examination
.
flag
)
if
(
examination
.
flag
){
console
.
log
(
examination
.
checks
)
var
dataHas
=
{
"parentId"
:
examination
.
parentId
,
"questionId"
:
examination
.
questionId
,
...
...
@@ -184,7 +185,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
break
;
}
});
}
else
{
}
if
(
res
.
content
.
followAnswer
.
answer
.
status
==
'0'
){
examination
.
flag
=
false
$
(
'.noHas'
).
addClass
(
'active'
).
siblings
(
'.has'
).
removeClass
(
'active'
)
$
(
'.content_select_no'
).
addClass
(
'active'
).
siblings
(
'.content_select'
).
removeClass
(
'active'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment