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
ad6182fb
Commit
ad6182fb
authored
Dec 05, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改了医保类型和医保所在地单独请求,切换到正式环境'
parent
9d5299df
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
56 additions
and
48 deletions
+56
-48
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
+5
-5
myQuestionnaireList.js
wechat_lung_questionnaire/javaScript/myQuestionnaireList.js
+9
-2
otherTreatment.js
wechat_lung_questionnaire/javaScript/otherTreatment.js
+3
-3
questionnaireDetails.js
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
+2
-2
questionnaireWeight.js
wechat_lung_questionnaire/javaScript/questionnaireWeight.js
+2
-2
rukou.js
wechat_lung_questionnaire/javaScript/rukou.js
+3
-2
targetedTherapy.js
wechat_lung_questionnaire/javaScript/targetedTherapy.js
+6
-6
No files found.
wechat_lung_questionnaire/javaScript/discomfort.js
View file @
ad6182fb
...
...
@@ -138,7 +138,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -278,7 +278,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getPreQuestion
:
function
(){
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -303,7 +303,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
console
.
log
(
discomfort
.
checks
)
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -380,7 +380,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
submitQuestionAnswer
:
function
(
data
){
var
crm
=
discomfort
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/discomfortGeneralPage.js
View file @
ad6182fb
...
...
@@ -343,7 +343,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getQuestionAnswer
:
function
(){
var
crm
=
discomfortGeneralPage
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/completeQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/examination.js
View file @
ad6182fb
...
...
@@ -122,7 +122,7 @@ 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'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -203,7 +203,7 @@ 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'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -230,7 +230,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
){
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/furtherConsultation.js
View file @
ad6182fb
...
...
@@ -170,7 +170,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/common/uploadWechatFile'
,
url
:
'https://
gateway
.medtap.cn/common/uploadWechatFile'
,
type
:
'POST'
,
async
:
false
,
contentType
:
"application/json"
,
...
...
@@ -285,7 +285,7 @@ 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'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/geneDetection.js
View file @
ad6182fb
...
...
@@ -187,7 +187,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
gateway
.medtap.cn/wechat/lung/fetchWechatTicket'
,
type
:
'GET'
,
async
:
false
,
data
:
{
...
...
@@ -265,7 +265,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
//上传图片
upLoadImg
:
function
(
serverId
,
localId
)
{
$
.
ajax
({
url
:
'https://
testdevgw
.medtap.cn/common/uploadWechatFile'
,
url
:
'https://
gateway
.medtap.cn/common/uploadWechatFile'
,
type
:
'POST'
,
async
:
false
,
contentType
:
"application/json"
,
...
...
@@ -298,7 +298,7 @@ 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'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -354,7 +354,7 @@ 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'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -404,7 +404,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
geneDetection
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/generalPage.js
View file @
ad6182fb
...
...
@@ -106,7 +106,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/common/uploadWechatFile'
,
url
:
'https://
gateway
.medtap.cn/common/uploadWechatFile'
,
type
:
'POST'
,
async
:
false
,
contentType
:
"application/json"
,
...
...
@@ -219,7 +219,7 @@ 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'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/index.js
View file @
ad6182fb
...
...
@@ -17,7 +17,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
localStorage
.
wxLungToken
=
''
;
medtap
.
loading
(
1
);
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/user/auth/token'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/followUpUser'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/followUpUser'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -50,9 +50,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
"adminId"
:
index
.
adminId
},
success
:
function
(
res
)
{
//
if(res.content.followUpUser.status=='1' && index.adminId==''){
//
medtap.pushWindow('pages/questionnaireDetails.html?followUpId='+index.followUpId)
//
}
if
(
res
.
content
.
followUpUser
.
status
==
'1'
&&
index
.
adminId
==
''
){
medtap
.
pushWindow
(
'pages/questionnaireDetails.html?followUpId='
+
index
.
followUpId
)
}
index
.
followUpId
=
res
.
content
.
followUpUser
.
id
var
mm
=
res
.
content
.
followUpUser
.
answerTime
$
(
'.mouth_title span'
).
text
(
mm
.
split
(
"-"
)[
1
])
...
...
wechat_lung_questionnaire/javaScript/myQuestionnaireList.js
View file @
ad6182fb
...
...
@@ -4,6 +4,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
// 问卷id
followUpId
:
''
,
wechatId
:
localStorage
.
getItem
(
'wechatId'
),
init
:
function
(){
$
(
".tabbox li"
).
click
(
function
()
{
...
...
@@ -19,7 +20,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 获取问卷列表
getQuestionnaireList
:
function
(){
medtap
.
submitAjax
({
url
:
"https://
testdevgw
.medtap.cn/operation/followUp/followUpList"
,
url
:
"https://
gateway
.medtap.cn/operation/followUp/followUpList"
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -27,6 +28,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
"adminId"
:
myQuestionnaireList
.
adminId
},
success
:
function
(
res
)
{
console
.
log
(
res
)
var
html
=
''
var
QuestionnaireList
=
res
.
content
.
followUpList
for
(
var
i
=
0
;
i
<
QuestionnaireList
.
length
;
i
++
)
{
...
...
@@ -48,7 +50,12 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 点击进入详情
$
(
'.my_questionnaire_box'
).
on
(
'tap'
,
'.my_questionnaire_list'
,
function
(){
myQuestionnaireList
.
followUpId
=
$
(
this
).
attr
(
'data-id'
)
medtap
.
pushWindow
(
'../pages/questionnaireDetails.html?followUpId='
+
myQuestionnaireList
.
followUpId
+
'&adminId='
+
myQuestionnaireList
.
adminId
)
if
(
$
(
this
).
attr
(
'data-status'
)
==
'0'
){
medtap
.
pushWindow
(
'../rukou.html?followUpId='
+
myQuestionnaireList
.
followUpId
+
'&adminId='
+
myQuestionnaireList
.
adminId
+
'&wechatId='
+
myQuestionnaireList
.
wechatId
)
}
else
{
medtap
.
pushWindow
(
'../pages/questionnaireDetails.html?followUpId='
+
myQuestionnaireList
.
followUpId
+
'&adminId='
+
myQuestionnaireList
.
adminId
)
}
})
}
})
...
...
wechat_lung_questionnaire/javaScript/otherTreatment.js
View file @
ad6182fb
...
...
@@ -117,7 +117,7 @@ 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'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -154,7 +154,7 @@ 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'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -178,7 +178,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
){
var
crm
=
otherTreatment
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
View file @
ad6182fb
...
...
@@ -19,7 +19,7 @@ define(['zepto','medtap'],function($,medtap){
},
getQueDetails
:
function
(){
medtap
.
submitAjax
({
url
:
"https://
testdevgw
.medtap.cn/operation/followUp/followUpDetail"
,
url
:
"https://
gateway
.medtap.cn/operation/followUp/followUpDetail"
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -1382,7 +1382,7 @@ define(['zepto','medtap'],function($,medtap){
},
getWechatTicket
:
function
()
{
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/wechat/lung/fetchWechatTicket'
,
url
:
'https://
gateway
.medtap.cn/wechat/lung/fetchWechatTicket'
,
type
:
'GET'
,
async
:
false
,
data
:
{
...
...
wechat_lung_questionnaire/javaScript/questionnaireWeight.js
View file @
ad6182fb
...
...
@@ -28,7 +28,7 @@ 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'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.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://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/rukou.js
View file @
ad6182fb
...
...
@@ -11,7 +11,7 @@ define(['zepto','medtap'],function($,medtap){
checkUser
:
function
(){
medtap
.
loading
(
1
);
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/wechat/user/getWechatUser'
,
url
:
'https://
gateway
.medtap.cn/wechat/user/getWechatUser'
,
type
:
'GET'
,
async
:
false
,
data
:{
...
...
@@ -31,9 +31,10 @@ define(['zepto','medtap'],function($,medtap){
},
getToken
:
function
(){
localStorage
.
wxLungToken
=
''
;
localStorage
.
setItem
(
'wechatId'
,
rukou
.
wechatId
);
medtap
.
loading
(
1
);
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/user/auth/token'
,
url
:
'https://
gateway
.medtap.cn/user/auth/token'
,
type
:
'POST'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
wechat_lung_questionnaire/javaScript/targetedTherapy.js
View file @
ad6182fb
...
...
@@ -218,7 +218,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
initCityl
:
function
()
{
medtap
.
loading
(
1
);
$
.
ajax
({
url
:
"https://
testdevgw
.medtap.cn/common/listAreaV0"
,
url
:
"https://
gateway
.medtap.cn/common/listAreaV0"
,
data
:
{},
type
:
'get'
,
async
:
true
,
...
...
@@ -394,7 +394,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 获取医保信息
getPatientInfo
:
function
(){
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/user/patientEMR/getPatientInfo'
,
url
:
'https://
gateway
.medtap.cn/user/patientEMR/getPatientInfo'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -415,7 +415,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 更新医保信息
updatePatientInfo
:
function
(){
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/user/patientEMR/updatePatientInfo'
,
url
:
'https://
gateway
.medtap.cn/user/patientEMR/updatePatientInfo'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -433,7 +433,7 @@ 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'
+
crm
+
'/getAnswer'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/getAnswer'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -481,7 +481,7 @@ 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'
+
crm
+
'/previousQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/previousQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
@@ -506,7 +506,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getNextQuestion
:
function
(
data
,
url
){
var
crm
=
targetedTherapy
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://
testdevgw
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
url
:
'https://
gateway
.medtap.cn/operation/followUp'
+
crm
+
'/nextQuestion'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
...
...
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