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
49a4073a
Commit
49a4073a
authored
Dec 13, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改后台编辑后出现空白模块bug'
parent
e5cb9cc3
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
69 additions
and
71 deletions
+69
-71
common.css
wechat_lung_questionnaire/css/common.css
+1
-7
questionnaireDetails.css
wechat_lung_questionnaire/css/questionnaireDetails.css
+10
-3
discomfort.js
wechat_lung_questionnaire/javaScript/discomfort.js
+4
-4
discomfortGeneralPage.js
...at_lung_questionnaire/javaScript/discomfortGeneralPage.js
+4
-4
examination.js
wechat_lung_questionnaire/javaScript/examination.js
+3
-3
furtherConsultation.js
wechat_lung_questionnaire/javaScript/furtherConsultation.js
+5
-5
geneDetection.js
wechat_lung_questionnaire/javaScript/geneDetection.js
+5
-5
generalPage.js
wechat_lung_questionnaire/javaScript/generalPage.js
+5
-5
index.js
wechat_lung_questionnaire/javaScript/index.js
+2
-2
myQuestionnaireList.js
wechat_lung_questionnaire/javaScript/myQuestionnaireList.js
+2
-2
otherTreatment.js
wechat_lung_questionnaire/javaScript/otherTreatment.js
+3
-3
questionnaireDetails.js
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
+10
-13
questionnaireWeight.js
wechat_lung_questionnaire/javaScript/questionnaireWeight.js
+2
-2
rukou.js
wechat_lung_questionnaire/javaScript/rukou.js
+2
-2
targetedTherapy.js
wechat_lung_questionnaire/javaScript/targetedTherapy.js
+6
-6
questionnaireDetails.html
wechat_lung_questionnaire/pages/questionnaireDetails.html
+5
-5
No files found.
wechat_lung_questionnaire/css/common.css
View file @
49a4073a
...
...
@@ -29,13 +29,7 @@
color
:
rgba
(
51
,
51
,
51
,
1
);
line-height
:
.28rem
;
}
/* 问卷详情通用样式 */
.question
{
padding
:
0
.32rem
.32rem
;
background-color
:
#fff
;
border-radius
:
.08rem
;
margin-top
:
.2rem
;
}
.que_title
{
/* height: 1.04rem; */
width
:
100%
;
...
...
wechat_lung_questionnaire/css/questionnaireDetails.css
View file @
49a4073a
...
...
@@ -2,6 +2,7 @@ body {
background-color
:
#AEE4C0
;
padding-bottom
:
.2rem
;
}
.queDetails_header
img
{
width
:
100%
;
height
:
1.7rem
;
...
...
@@ -21,7 +22,7 @@ body {
.queDetails_body
{
padding
:
0
.32rem
;
}
.question_one
{
.question_one
_show
{
display
:
flex
;
justify-content
:
space-around
;
align-items
:
center
;
...
...
@@ -57,4 +58,11 @@ body {
}
.que_content_title_jc
{
display
:
none
;
}
\ No newline at end of file
}
/* 问卷详情通用样式 */
.question
{
padding
:
0
.32rem
.32rem
;
background-color
:
#fff
;
border-radius
:
.08rem
;
margin-top
:
.2rem
;
}
wechat_lung_questionnaire/javaScript/discomfort.js
View file @
49a4073a
...
...
@@ -137,7 +137,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -277,7 +277,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -302,7 +302,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
console
.
log
(
discomfort
.
checks
)
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -379,7 +379,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
submitQuestionAnswer
:
function
(
data
){
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/discomfortGeneralPage.js
View file @
49a4073a
...
...
@@ -343,7 +343,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
discomfortGeneralPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -374,7 +374,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
discomfortGeneralPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -459,7 +459,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
discomfortGeneralPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -532,7 +532,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
submitQuestionAnswer
:
function
(
data
){
var
crm
=
discomfortGeneralPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/examination.js
View file @
49a4073a
...
...
@@ -121,7 +121,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -202,7 +202,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -229,7 +229,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
){
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/furtherConsultation.js
View file @
49a4073a
...
...
@@ -170,7 +170,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
type
:
'GET'
,
async
:
false
,
data
:
{
...
...
@@ -250,7 +250,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
//上传图片
upLoadImg
:
function
(
serverId
,
localId
)
{
$
.
ajax
({
url
:
'https://
gateway
.medtap.cn/common/uploadWechatFile'
,
url
:
'https://
testdevgw
.medtap.cn/common/uploadWechatFile'
,
type
:
'POST'
,
async
:
false
,
data
:
{
...
...
@@ -285,7 +285,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
furtherConsultation
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -335,7 +335,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
furtherConsultation
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -358,7 +358,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
){
var
crm
=
furtherConsultation
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/geneDetection.js
View file @
49a4073a
...
...
@@ -183,7 +183,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
type
:
'GET'
,
async
:
false
,
data
:
{
...
...
@@ -261,7 +261,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
//上传图片
upLoadImg
:
function
(
serverId
,
localId
)
{
$
.
ajax
({
url
:
'https://
gateway
.medtap.cn/common/uploadWechatFile'
,
url
:
'https://
testdevgw
.medtap.cn/common/uploadWechatFile'
,
type
:
'POST'
,
async
:
false
,
data
:
{
...
...
@@ -294,7 +294,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
geneDetection
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -350,7 +350,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
geneDetection
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -400,7 +400,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
geneDetection
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/generalPage.js
View file @
49a4073a
...
...
@@ -106,7 +106,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
type
:
'GET'
,
async
:
false
,
data
:
{
...
...
@@ -186,7 +186,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
//上传图片
upLoadImg
:
function
(
serverId
,
localId
)
{
$
.
ajax
({
url
:
'https://
gateway
.medtap.cn/common/uploadWechatFile'
,
url
:
'https://
testdevgw
.medtap.cn/common/uploadWechatFile'
,
type
:
'POST'
,
async
:
false
,
data
:
{
...
...
@@ -219,7 +219,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
generalPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -255,7 +255,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
generalPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -304,7 +304,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
generalPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/index.js
View file @
49a4073a
...
...
@@ -17,7 +17,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
localStorage
.
wxLungToken
=
''
;
medtap
.
loading
(
1
);
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/user/auth/token'
,
url
:
'https://
testdevgw
.medtap.cn/user/auth/token'
,
type
:
'POST'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -41,7 +41,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getMyquestionnaire
:
function
(){
var
crm
=
index
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/followUpUser'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/followUpUser'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/myQuestionnaireList.js
View file @
49a4073a
...
...
@@ -24,7 +24,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
localStorage
.
wxLungToken
=
''
;
medtap
.
loading
(
1
);
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/user/auth/token'
,
url
:
'https://
testdevgw
.medtap.cn/user/auth/token'
,
type
:
'POST'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -48,7 +48,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 获取问卷列表
getQuestionnaireList
:
function
(){
medtap
.
submitAjax
({
url
:
"https://
gateway
.medtap.cn/operation/followUp/followUpList"
,
url
:
"https://
testdevgw
.medtap.cn/operation/followUp/followUpList"
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/otherTreatment.js
View file @
49a4073a
...
...
@@ -115,7 +115,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
otherTreatment
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -152,7 +152,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
otherTreatment
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -176,7 +176,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
){
var
crm
=
otherTreatment
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
View file @
49a4073a
...
...
@@ -19,7 +19,7 @@ define(['zepto','medtap'],function($,medtap){
},
getQueDetails
:
function
(){
medtap
.
submitAjax
({
url
:
"https://
gateway
.medtap.cn/operation/followUp/followUpDetail"
,
url
:
"https://
testdevgw
.medtap.cn/operation/followUp/followUpDetail"
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -41,6 +41,7 @@ define(['zepto','medtap'],function($,medtap){
for
(
var
key
in
questionnaireDetails
.
queDetailsList
){
switch
(
key
){
case
'question1'
:
$
(
'.question_one'
).
addClass
(
'question_one_show'
)
var
height_g
=
questionnaireDetails
.
queDetailsList
[
key
].
height
/
100
;
var
height_t
=
height_g
*
height_g
;
var
weight_g
=
questionnaireDetails
.
queDetailsList
[
key
].
weight
;
...
...
@@ -60,6 +61,7 @@ define(['zepto','medtap'],function($,medtap){
$
(
'.question_one'
).
append
(
html1
)
break
;
case
'question2'
:
$
(
'.question_two'
).
addClass
(
'question'
)
if
(
questionnaireDetails
.
queDetailsList
[
key
].
status
==
'1'
){
var
html
=
'<div class="que_title">复诊情况:<span class="que_content_title">近一个月有进行复诊</span></div>'
+
...
...
@@ -106,6 +108,7 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question3'
:
$
(
'.question_three'
).
addClass
(
'question'
)
if
(
questionnaireDetails
.
queDetailsList
[
key
].
status
==
'1'
){
var
html
=
'<div class="que_title">奥希替尼治疗情况: <span class="que_content_title">正在接受包含奥希替尼的治疗</span></div>'
+
'<div class="que_content que_content_push">'
+
...
...
@@ -144,6 +147,7 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question4'
:
$
(
'.question_three'
).
addClass
(
'question'
)
var
html
=
'<div class="que_content_body que_content_treatmentType">'
+
'<p class="body_title">正在联合其他治疗:</p>'
+
'<p class="body_content">'
+
questionnaireDetails
.
queDetailsList
[
key
].
treatmentTypeVal
+
'</p>'
+
...
...
@@ -162,6 +166,7 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question5'
:
$
(
'.question_four'
).
addClass
(
'question'
)
questionnaireDetails
.
checksList
=
questionnaireDetails
.
queDetailsList
[
key
].
checks
?
questionnaireDetails
.
queDetailsList
[
key
].
checks
.
split
(
","
):[]
if
(
questionnaireDetails
.
queDetailsList
[
key
].
status
==
'0'
){
var
html
=
'<div class="que_title">检验检查情况:<span class="que_content_title">近一个月未做过以下检验检查</span></div>'
+
...
...
@@ -177,7 +182,6 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question6'
:
var
html6
=
'<div class="que_content">'
+
'<p class="que_content_title left_line">血常规、肝功能、肾功能</p>'
+
'<div class="que_content_body question_four_img6">'
+
...
...
@@ -208,7 +212,6 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question7'
:
var
html7
=
'<div class="que_content">'
+
'<p class="que_content_title left_line">胸透/胸部X线</p>'
+
'<div class="que_content_body question_four_img7">'
+
...
...
@@ -239,7 +242,6 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question8'
:
var
html8
=
'<div class="que_content">'
+
'<p class="que_content_title left_line">CT</p>'
+
'<div class="que_content_body question_four_img8">'
+
...
...
@@ -270,7 +272,6 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question9'
:
var
html9
=
'<div class="que_content">'
+
'<p class="que_content_title left_line">MRI</p>'
+
'<div class="que_content_body question_four_img9">'
+
...
...
@@ -301,7 +302,6 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question10'
:
var
html10
=
'<div class="que_content">'
+
'<p class="que_content_title left_line">PET-CT</p>'
+
'<div class="que_content_body question_four_img10">'
+
...
...
@@ -332,8 +332,6 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question11'
:
var
html11
=
'<div class="que_content">'
+
'<p class="que_content_title left_line">骨扫描</p>'
+
'<div class="que_content_body question_four_img11">'
+
...
...
@@ -364,8 +362,6 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question12'
:
var
html12
=
'<div class="que_content">'
+
'<p class="que_content_title left_line">病理</p>'
+
'<div class="que_content_body question_four_img12">'
+
...
...
@@ -396,7 +392,7 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question13'
:
$
(
'.question_five'
).
addClass
(
'question'
)
if
(
questionnaireDetails
.
queDetailsList
[
key
].
status
==
'0'
){
var
html
=
'<div class="que_title que_title_nobor">基因检测情况:<span class="que_content_title">近一个月未做过基因检测</span></div>'
...
...
@@ -440,7 +436,8 @@ define(['zepto','medtap'],function($,medtap){
}
break
;
case
'question14'
:
$
(
'.question_six'
).
removeClass
(
'que_title_isHide'
)
$
(
'.question_six'
).
addClass
(
'question'
)
questionnaireDetails
.
checkList
=
questionnaireDetails
.
queDetailsList
[
key
].
checks
?
questionnaireDetails
.
queDetailsList
[
key
].
checks
.
split
(
","
):[]
if
(
questionnaireDetails
.
queDetailsList
[
key
].
status
==
'0'
){
var
html14
=
'<div class="que_content">'
+
...
...
@@ -1389,7 +1386,7 @@ define(['zepto','medtap'],function($,medtap){
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
type
:
'GET'
,
async
:
false
,
data
:
{
...
...
wechat_lung_questionnaire/javaScript/questionnaireWeight.js
View file @
49a4073a
...
...
@@ -28,7 +28,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
questionnaireWeight
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -52,7 +52,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(){
var
crm
=
questionnaireWeight
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/rukou.js
View file @
49a4073a
...
...
@@ -11,7 +11,7 @@ define(['zepto','medtap'],function($,medtap){
checkUser
:
function
(){
medtap
.
loading
(
1
);
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/wechat/user/getWechatUser'
,
url
:
'https://
testdevgw
.medtap.cn/wechat/user/getWechatUser'
,
type
:
'GET'
,
async
:
false
,
data
:{
...
...
@@ -34,7 +34,7 @@ define(['zepto','medtap'],function($,medtap){
localStorage
.
setItem
(
'wechatId'
,
rukou
.
wechatId
);
medtap
.
loading
(
1
);
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/user/auth/token'
,
url
:
'https://
testdevgw
.medtap.cn/user/auth/token'
,
type
:
'POST'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/targetedTherapy.js
View file @
49a4073a
...
...
@@ -218,7 +218,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
initCityl
:
function
()
{
medtap
.
loading
(
1
);
$
.
ajax
({
url
:
"https://
gateway
.medtap.cn/common/listAreaV0"
,
url
:
"https://
testdevgw
.medtap.cn/common/listAreaV0"
,
data
:
{},
type
:
'get'
,
async
:
true
,
...
...
@@ -393,7 +393,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 获取医保信息
getPatientInfo
:
function
(){
var
crm
=
targetedTherapy
.
adminId
==
''
?
'https://
gateway.medtap.cn/user/patientEMR/getPatientInfo'
:
'https://gateway
.medtap.cn/operation/followUp/crm/getPatientInfo'
var
crm
=
targetedTherapy
.
adminId
==
''
?
'https://
testdevgw.medtap.cn/user/patientEMR/getPatientInfo'
:
'https://testdevgw
.medtap.cn/operation/followUp/crm/getPatientInfo'
console
.
log
(
crm
)
medtap
.
submitAjax
({
url
:
crm
,
...
...
@@ -418,7 +418,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
// 更新医保信息
updatePatientInfo
:
function
(){
var
crm
=
targetedTherapy
.
adminId
==
''
?
'https://
gateway.medtap.cn/user/patientEMR/updatePatientInfo'
:
'https://gateway
.medtap.cn/operation/followUp/crm/updatePatientInfo'
var
crm
=
targetedTherapy
.
adminId
==
''
?
'https://
testdevgw.medtap.cn/user/patientEMR/updatePatientInfo'
:
'https://testdevgw
.medtap.cn/operation/followUp/crm/updatePatientInfo'
medtap
.
submitAjax
({
url
:
crm
,
type
:
'post'
,
...
...
@@ -440,7 +440,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
targetedTherapy
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -488,7 +488,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
targetedTherapy
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -513,7 +513,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
targetedTherapy
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/pages/questionnaireDetails.html
View file @
49a4073a
...
...
@@ -46,11 +46,11 @@
<div
class=
"queDetails_body"
>
<div
class=
"question_one"
>
</div>
<div
class=
"question_two
question
"
>
<div
class=
"question_two"
>
</div>
<div
class=
"question_three
question
"
>
<div
class=
"question_three"
>
</div>
<div
class=
"question_four
question
"
>
<div
class=
"question_four"
>
<div
class=
"que_title que_title_isHide"
>
检验检查情况:
<span
class=
"que_content_title que_content_title_jc"
>
近一个月做过以下检验检查
</span>
</div>
...
...
@@ -62,10 +62,10 @@
<div
class=
"question11"
></div>
<div
class=
"question12"
></div>
</div>
<div
class=
"question_five
question
"
>
<div
class=
"question_five"
>
</div>
<div
class=
"question_six que
stion
"
>
<div
class=
"question_six que
_title_isHide
"
>
<div
class=
"que_title que_title_nobor"
>
不适症状:
<span
class=
"que_content_title que_content_title_discomfort"
>
近一个月没有不适症状
</span>
</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