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
2a0667d6
Commit
2a0667d6
authored
Nov 21, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'增加admin修改设置'
parent
4926664c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
112 additions
and
80 deletions
+112
-80
questionnaireDetails.css
wechat_lung_questionnaire/css/questionnaireDetails.css
+1
-1
discomfort.js
wechat_lung_questionnaire/javaScript/discomfort.js
+0
-0
discomfortGeneralPage.js
...at_lung_questionnaire/javaScript/discomfortGeneralPage.js
+0
-0
examination.js
wechat_lung_questionnaire/javaScript/examination.js
+18
-13
furtherConsultation.js
wechat_lung_questionnaire/javaScript/furtherConsultation.js
+10
-7
geneDetection.js
wechat_lung_questionnaire/javaScript/geneDetection.js
+17
-12
generalPage.js
wechat_lung_questionnaire/javaScript/generalPage.js
+23
-18
index.js
wechat_lung_questionnaire/javaScript/index.js
+6
-3
otherTreatment.js
wechat_lung_questionnaire/javaScript/otherTreatment.js
+12
-9
questionnaireDetails.js
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
+2
-3
questionnaireWeight.js
wechat_lung_questionnaire/javaScript/questionnaireWeight.js
+7
-3
rukou.js
wechat_lung_questionnaire/javaScript/rukou.js
+3
-1
submitSuccessfully.js
wechat_lung_questionnaire/javaScript/submitSuccessfully.js
+0
-0
targetedTherapy.js
wechat_lung_questionnaire/javaScript/targetedTherapy.js
+10
-7
discomfortGeneralPage.html
wechat_lung_questionnaire/pages/discomfortGeneralPage.html
+1
-1
geneDetection.html
wechat_lung_questionnaire/pages/geneDetection.html
+1
-1
generalPage.html
wechat_lung_questionnaire/pages/generalPage.html
+1
-1
No files found.
wechat_lung_questionnaire/css/questionnaireDetails.css
View file @
2a0667d6
...
...
@@ -49,7 +49,7 @@ body {
display
:
none
;
}
.que_content_body
{
padding-top
:
.0
2
rem
;
padding-top
:
.0
3
rem
;
}
.que_content_title
{
height
:
.36rem
;
...
...
wechat_lung_questionnaire/javaScript/discomfort.js
View file @
2a0667d6
This diff is collapsed.
Click to expand it.
wechat_lung_questionnaire/javaScript/discomfortGeneralPage.js
View file @
2a0667d6
This diff is collapsed.
Click to expand it.
wechat_lung_questionnaire/javaScript/examination.js
View file @
2a0667d6
...
...
@@ -9,6 +9,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
questionId
:
medtap
.
getRequest
(
'questionId'
),
// 获取parentId
parentId
:
medtap
.
getRequest
(
'parentId'
)
||
''
,
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
// 选择有或者无
flag
:
true
,
// 检查选择数据
...
...
@@ -116,8 +118,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取问题答案
getQuestionAnswer
:
function
(){
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/getAnswer"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -196,8 +199,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 上一题
getPreQuestion
:
function
(){
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/previousQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -213,18 +217,19 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
questionId
=
res
.
content
.
previousQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
previousQuestion
.
questionNo
||
''
if
(
questionId
==
'4'
){
medtap
.
pushWindow
(
'otherTreatment.html?followUpId='
+
examination
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
medtap
.
pushWindow
(
'otherTreatment.html?followUpId='
+
examination
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
);
}
else
{
medtap
.
pushWindow
(
'targetedTherapy.html?followUpId='
+
examination
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
medtap
.
pushWindow
(
'targetedTherapy.html?followUpId='
+
examination
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
);
}
}
})
},
// 提交答案获取下一题id
getNextQuestion
:
function
(
data
){
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
console
.
log
(
data
)
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/nextQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -238,28 +243,28 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
questionNo
=
res
.
content
.
nextQuestion
.
questionNo
||
''
switch
(
questionId
){
case
6
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
case
7
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
case
8
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
case
9
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
case
10
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
case
11
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
case
12
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
case
13
:
medtap
.
pushWindow
(
'geneDetection.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'geneDetection.html?followUpId='
+
examination
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&adminId='
+
examination
.
adminId
)
break
;
}
}
...
...
wechat_lung_questionnaire/javaScript/furtherConsultation.js
View file @
2a0667d6
...
...
@@ -4,6 +4,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
wechatId
:
medtap
.
getRequest
(
'wechatId'
),
// 获取问卷id
followUpId
:
medtap
.
getRequest
(
'followUpId'
)
||
''
,
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
// 获取本题序号
questionNo
:
medtap
.
getRequest
(
'questionNo'
)
||
''
,
// 获取本题id
...
...
@@ -280,8 +282,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取问题答案
getQuestionAnswer
:
function
(){
var
crm
=
furtherConsultation
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/getAnswer"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -329,8 +332,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 上一题
getPreQuestion
:
function
(){
var
crm
=
furtherConsultation
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/previousQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -345,14 +349,15 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
previousQuestion
.
parentId
||
''
var
questionId
=
res
.
content
.
previousQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
previousQuestion
.
questionNo
||
''
medtap
.
pushWindow
(
'questionnaireWeight.html?followUpId='
+
furtherConsultation
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
medtap
.
pushWindow
(
'questionnaireWeight.html?followUpId='
+
furtherConsultation
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
furtherConsultation
.
adminId
);
}
})
},
// 下一题
getNextQuestion
:
function
(
data
){
var
crm
=
furtherConsultation
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/nextQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -364,10 +369,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
nextQuestion
.
parentId
||
''
var
questionId
=
res
.
content
.
nextQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
nextQuestion
.
questionNo
||
''
setTimeout
(
function
(){
medtap
.
pushWindow
(
'targetedTherapy.html?followUpId='
+
furtherConsultation
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
},
400
)
+
'&parentId='
+
parentId
+
'&adminId='
+
furtherConsultation
.
adminId
);
}
})
}
...
...
wechat_lung_questionnaire/javaScript/geneDetection.js
View file @
2a0667d6
...
...
@@ -6,6 +6,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
questionNo
:
medtap
.
getRequest
(
'questionNo'
)
||
''
,
// 获取本题id
questionId
:
medtap
.
getRequest
(
'questionId'
)
||
''
,
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
// 获取parentId
parentId
:
medtap
.
getRequest
(
'parentId'
)
||
''
,
// EGFR检测数据
...
...
@@ -287,8 +289,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取答案
getQuestionAnswer
:
function
(){
var
crm
=
geneDetection
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/getAnswer"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -341,8 +344,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 上一题
getPreQuestion
:
function
(){
var
crm
=
geneDetection
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/previousQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -359,28 +363,28 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
questionNo
=
res
.
content
.
previousQuestion
.
questionNo
||
''
switch
(
questionId
){
case
5
:
medtap
.
pushWindow
(
'examination.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'examination.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
case
6
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
case
7
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
case
8
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
case
9
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
case
10
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
case
11
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
case
12
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
geneDetection
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
geneDetection
.
adminId
)
break
;
}
...
...
@@ -389,8 +393,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 提交答案获取下一题id
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
geneDetection
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/nextQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -401,7 +406,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
nextQuestion
.
parentId
||
''
var
nextquestionNo
=
res
.
content
.
nextQuestion
.
questionNo
||
''
var
nextquestionId
=
res
.
content
.
nextQuestion
.
questionId
||
''
medtap
.
pushWindow
(
'discomfort.html'
+
'?followUpId='
+
geneDetection
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'discomfort.html'
+
'?followUpId='
+
geneDetection
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
geneDetection
.
adminId
)
}
})
}
...
...
wechat_lung_questionnaire/javaScript/generalPage.js
View file @
2a0667d6
...
...
@@ -3,6 +3,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
wechatId
:
medtap
.
getRequest
(
'wechatId'
),
// 问卷id
followUpId
:
medtap
.
getRequest
(
'followUpId'
),
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
// 获取checks数据判断下面跳转的页面
checks
:
medtap
.
getRequest
(
'checks'
),
// 获取checks数据判断下面跳转的页面
...
...
@@ -200,8 +202,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取问题答案
getQuestionAnswer
:
function
(){
var
crm
=
generalPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/getAnswer"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -234,8 +237,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 上一题
getPreQuestion
:
function
(){
var
crm
=
generalPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/previousQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -252,28 +256,28 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
questionNo
=
res
.
content
.
previousQuestion
.
questionNo
||
''
switch
(
questionId
){
case
5
:
medtap
.
pushWindow
(
'examination.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'examination.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
6
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
7
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
8
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
9
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
10
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
11
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
12
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&backChecks='
+
questionId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
}
}
...
...
@@ -281,8 +285,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 提交答案获取下一题id
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
generalPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/nextQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -295,25 +300,25 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
nextquestionId
=
res
.
content
.
nextQuestion
.
questionId
||
''
switch
(
nextquestionId
){
case
7
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
8
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
9
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
10
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
11
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
12
:
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'generalPage.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
case
13
:
medtap
.
pushWindow
(
'geneDetection.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
)
medtap
.
pushWindow
(
'geneDetection.html?followUpId='
+
generalPage
.
followUpId
+
'&questionNo='
+
nextquestionNo
+
'&questionId='
+
nextquestionId
+
'&parentId='
+
parentId
+
'&adminId='
+
generalPage
.
adminId
)
break
;
}
}
...
...
wechat_lung_questionnaire/javaScript/index.js
View file @
2a0667d6
...
...
@@ -3,10 +3,12 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
wechatId
:
medtap
.
getRequest
(
'wechatId'
),
// 问卷id
followUpId
:
medtap
.
getRequest
(
'followUpId'
),
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
init
:
function
(){
// 点击开始填写
$
(
'.fill_write'
).
on
(
'tap'
,
function
(){
medtap
.
pushWindow
(
'pages/questionnaireWeight.html?followUpId='
+
index
.
followUpId
)
medtap
.
pushWindow
(
'pages/questionnaireWeight.html?followUpId='
+
index
.
followUpId
+
'&adminId='
+
index
.
adminId
)
})
index
.
getMyquestionnaire
();
},
...
...
@@ -37,8 +39,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取问卷
getMyquestionnaire
:
function
(){
var
crm
=
index
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/followUpUser"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/followUpUser'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -47,7 +50,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
success
:
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
content
.
followUpUser
.
status
==
'1'
){
if
(
res
.
content
.
followUpUser
.
status
==
'1'
&&
index
.
adminId
==
''
){
medtap
.
pushWindow
(
'pages/questionnaireDetails.html?followUpId='
+
index
.
followUpId
)
}
index
.
followUpId
=
res
.
content
.
followUpUser
.
id
...
...
wechat_lung_questionnaire/javaScript/otherTreatment.js
View file @
2a0667d6
...
...
@@ -8,6 +8,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
questionId
:
medtap
.
getRequest
(
'questionId'
)
||
''
,
// 获取parentId
parentId
:
medtap
.
getRequest
(
'parentId'
)
||
''
,
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
//
treatmentTypePicker
:
''
,
// 选择有或者无
...
...
@@ -96,8 +98,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 点击药物类型的判断
$
(
'.content_body_treatmentType'
).
click
(
function
(){
otherTreatment
.
treatmentTypePicker
.
show
(
function
(
Items
)
{
console
.
log
(
Items
[
0
].
text
);
console
.
log
(
Items
[
0
].
value
);
//
console.log(Items[0].text);
//
console.log(Items[0].value);
$
(
'.input_item_treatmentType'
).
val
(
Items
[
0
].
text
)
})
})
...
...
@@ -105,8 +107,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取答案
getQuestionAnswer
:
function
(){
var
crm
=
otherTreatment
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/getAnswer"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -140,8 +143,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 上一题
getPreQuestion
:
function
(){
var
crm
=
otherTreatment
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/previousQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -156,16 +160,15 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
previousQuestion
.
parentId
||
''
var
questionId
=
res
.
content
.
previousQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
previousQuestion
.
questionNo
||
''
setTimeout
(
function
(){
medtap
.
pushWindow
(
'targetedTherapy.html?followUpId='
+
otherTreatment
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
},
400
)
medtap
.
pushWindow
(
'targetedTherapy.html?followUpId='
+
otherTreatment
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
otherTreatment
.
adminId
);
}
})
},
// 下一题
getNextQuestion
:
function
(
data
){
var
crm
=
otherTreatment
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/nextQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -177,7 +180,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
nextQuestion
.
parentId
||
''
var
questionId
=
res
.
content
.
nextQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
nextQuestion
.
questionNo
||
''
medtap
.
pushWindow
(
'examination.html?followUpId='
+
otherTreatment
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
medtap
.
pushWindow
(
'examination.html?followUpId='
+
otherTreatment
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
otherTreatment
.
adminId
);
}
})
}
...
...
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
View file @
2a0667d6
...
...
@@ -405,11 +405,10 @@ define(['zepto','medtap'],function($,medtap){
questionnaireDetails
.
checkList
=
questionnaireDetails
.
queDetailsList
[
key
].
checks
.
split
(
","
)
if
(
questionnaireDetails
.
queDetailsList
[
key
].
status
==
'0'
){
var
html14
=
'<div class="que_title">不适症状</div>'
+
'<div class="que_content">'
+
var
html14
=
'<div class="que_content">'
+
'<p class="que_content_title">近一个月没有不适症状</p>'
+
'</div>'
$
(
'.question_six'
).
append
(
html14
)
}
break
;
...
...
wechat_lung_questionnaire/javaScript/questionnaireWeight.js
View file @
2a0667d6
...
...
@@ -4,6 +4,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
followUpId
:
medtap
.
getRequest
(
'followUpId'
),
// 获取parentId
parentId
:
medtap
.
getRequest
(
'parentId'
)
||
''
,
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
height
:
''
,
weight
:
''
,
init
:
function
(){
...
...
@@ -24,8 +26,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取问题答案
getQuestionAnswer
:
function
(){
var
crm
=
questionnaireWeight
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/getAnswer"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -46,8 +49,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 下一题
getNextQuestion
:
function
(){
var
crm
=
questionnaireWeight
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/nextQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -64,7 +68,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
nextQuestion
.
parentId
||
''
var
questionId
=
res
.
content
.
nextQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
nextQuestion
.
questionNo
||
''
medtap
.
pushWindow
(
'furtherConsultation.html?followUpId='
+
questionnaireWeight
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
medtap
.
pushWindow
(
'furtherConsultation.html?followUpId='
+
questionnaireWeight
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
questionnaireWeight
.
adminId
);
}
})
}
...
...
wechat_lung_questionnaire/javaScript/rukou.js
View file @
2a0667d6
...
...
@@ -3,6 +3,8 @@ define(['zepto','medtap'],function($,medtap){
wechatId
:
medtap
.
getRequest
(
'wechatId'
),
// 问卷id
followUpId
:
medtap
.
getRequest
(
'followUpId'
),
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
init
:
function
(){
rukou
.
getToken
()
},
...
...
@@ -20,7 +22,7 @@ define(['zepto','medtap'],function($,medtap){
var
info
=
res
.
content
.
wechatUser
;
if
(
info
.
hasOwnProperty
(
'userId'
)){
//medtap.pushWindow('index.html?wechatId=' + rukou.wechatId)
window
.
location
.
replace
(
'index.html?wechatId='
+
rukou
.
wechatId
+
'&followUpId='
+
rukou
.
followUpId
)
window
.
location
.
replace
(
'index.html?wechatId='
+
rukou
.
wechatId
+
'&followUpId='
+
rukou
.
followUpId
+
'&adminId='
+
rukou
.
adminId
)
}
else
{
window
.
location
.
replace
(
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
rukou
.
wechatId
)
}
...
...
wechat_lung_questionnaire/javaScript/submitSuccessfully.js
View file @
2a0667d6
wechat_lung_questionnaire/javaScript/targetedTherapy.js
View file @
2a0667d6
...
...
@@ -8,6 +8,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
questionId
:
medtap
.
getRequest
(
'questionId'
),
// 获取parentId
parentId
:
medtap
.
getRequest
(
'parentId'
)
||
''
,
// 修改人员id
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
// 奥西替尼药物类型
drugTypesPicker
:
''
,
// 报销的picker
...
...
@@ -357,8 +359,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取问题答案
getQuestionAnswer
:
function
(){
var
crm
=
targetedTherapy
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/getAnswer"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -403,8 +406,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 上一题
getPreQuestion
:
function
(){
var
crm
=
targetedTherapy
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/previousQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -419,17 +423,16 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
previousQuestion
.
parentId
||
''
var
questionId
=
res
.
content
.
previousQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
previousQuestion
.
questionNo
||
''
medtap
.
pushWindow
(
'furtherConsultation.html?followUpId='
+
targetedTherapy
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
+
'&parentId='
+
parentId
+
'&adminId='
+
targetedTherapy
.
adminId
);
}
})
},
// 下一题
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
targetedTherapy
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
"https://testdevgw.medtap.cn/operation/followUp/nextQuestion"
,
url
:
'https://testdevgw.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -441,7 +444,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
parentId
=
res
.
content
.
nextQuestion
.
parentId
||
''
var
questionId
=
res
.
content
.
nextQuestion
.
questionId
||
''
var
questionNo
=
res
.
content
.
nextQuestion
.
questionNo
||
''
medtap
.
pushWindow
(
url
+
'?followUpId='
+
targetedTherapy
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
);
medtap
.
pushWindow
(
url
+
'?followUpId='
+
targetedTherapy
.
followUpId
+
'&questionId='
+
questionId
+
'&questionNo='
+
questionNo
+
'&parentId='
+
parentId
+
'&adminId='
+
targetedTherapy
.
adminId
);
}
})
}
...
...
wechat_lung_questionnaire/pages/discomfortGeneralPage.html
View file @
2a0667d6
...
...
@@ -73,7 +73,7 @@
<div
class=
"doctorExplanation"
>
<p
class=
"content_body_height"
>
处理方案
</p>
<div
>
<textarea
name=
""
id=
"content_body_fill"
cols=
"30"
rows=
"
3
"
placeholder=
"请输入"
maxlength=
"300"
></textarea>
<textarea
name=
""
id=
"content_body_fill"
cols=
"30"
rows=
"
5
"
placeholder=
"请输入"
maxlength=
"300"
></textarea>
</div>
</div>
</div>
...
...
wechat_lung_questionnaire/pages/geneDetection.html
View file @
2a0667d6
...
...
@@ -92,7 +92,7 @@
</div>
<p
class=
"content_body_height"
>
医生对检测结果的说明
</p>
<div
>
<textarea
name=
""
id=
"content_body_fill"
cols=
"30"
rows=
"
3
"
placeholder=
"请输入"
maxlength=
"300"
></textarea>
<textarea
name=
""
id=
"content_body_fill"
cols=
"30"
rows=
"
5
"
placeholder=
"请输入"
maxlength=
"300"
></textarea>
</div>
</div>
<div
class=
"content_select_no"
>
...
...
wechat_lung_questionnaire/pages/generalPage.html
View file @
2a0667d6
...
...
@@ -73,7 +73,7 @@
<div
class=
"doctorExplanation"
>
<p
class=
"content_body_height"
>
医生对检查结果的说明
</p>
<div
>
<textarea
name=
""
id=
"content_body_fill"
cols=
"30"
rows=
"
3
"
placeholder=
"请输入"
maxlength=
"300"
></textarea>
<textarea
name=
""
id=
"content_body_fill"
cols=
"30"
rows=
"
5
"
placeholder=
"请输入"
maxlength=
"300"
></textarea>
</div>
</div>
</div>
...
...
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