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
448db32b
Commit
448db32b
authored
Nov 21, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'设为线上'
parent
c4aa50b4
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
42 additions
and
42 deletions
+42
-42
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
+1
-1
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
+2
-2
targetedTherapy.js
wechat_lung_questionnaire/javaScript/targetedTherapy.js
+4
-4
No files found.
wechat_lung_questionnaire/javaScript/discomfort.js
View file @
448db32b
...
...
@@ -134,7 +134,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'
,
...
...
@@ -274,7 +274,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'
,
...
...
@@ -298,7 +298,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'
,
...
...
@@ -377,7 +377,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 @
448db32b
...
...
@@ -319,7 +319,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'
,
...
...
@@ -348,7 +348,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'
,
...
...
@@ -432,7 +432,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'
,
...
...
@@ -507,7 +507,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 @
448db32b
...
...
@@ -120,7 +120,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'
,
...
...
@@ -201,7 +201,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'
,
...
...
@@ -229,7 +229,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
var
crm
=
examination
.
adminId
==
''
?
''
:
'/crm'
console
.
log
(
data
)
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 @
448db32b
...
...
@@ -164,7 +164,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
:
{
...
...
@@ -249,7 +249,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
,
data
:
{
...
...
@@ -284,7 +284,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'
,
...
...
@@ -334,7 +334,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'
,
...
...
@@ -357,7 +357,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 @
448db32b
...
...
@@ -174,7 +174,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
:
{
...
...
@@ -258,7 +258,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
,
data
:
{
...
...
@@ -291,7 +291,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'
,
...
...
@@ -346,7 +346,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'
,
...
...
@@ -395,7 +395,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 @
448db32b
...
...
@@ -91,7 +91,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
:
{
...
...
@@ -171,7 +171,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
,
data
:
{
...
...
@@ -204,7 +204,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'
,
...
...
@@ -239,7 +239,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'
,
...
...
@@ -287,7 +287,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 @
448db32b
...
...
@@ -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'
,
...
...
wechat_lung_questionnaire/javaScript/myQuestionnaireList.js
View file @
448db32b
...
...
@@ -17,7 +17,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'
,
...
...
wechat_lung_questionnaire/javaScript/otherTreatment.js
View file @
448db32b
...
...
@@ -109,7 +109,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'
,
...
...
@@ -145,7 +145,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'
,
...
...
@@ -168,7 +168,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 @
448db32b
...
...
@@ -17,7 +17,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'
,
...
...
@@ -1068,7 +1068,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 @
448db32b
...
...
@@ -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'
,
...
...
@@ -51,7 +51,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 @
448db32b
...
...
@@ -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
:{
...
...
@@ -33,7 +33,7 @@ define(['zepto','medtap'],function($,medtap){
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'
,
...
...
wechat_lung_questionnaire/javaScript/targetedTherapy.js
View file @
448db32b
...
...
@@ -195,7 +195,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
,
...
...
@@ -370,7 +370,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'
,
...
...
@@ -421,7 +421,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'
,
...
...
@@ -445,7 +445,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