Commit 8c3b9c1f by zujiaozhang

'问卷和crm修改问卷改为线上地址'

parent f350e008
...@@ -136,7 +136,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -136,7 +136,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = discomfort.adminId==''? '':'/crm' var crm = discomfort.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -277,7 +277,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -277,7 +277,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = discomfort.adminId==''? '':'/crm' var crm = discomfort.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -302,7 +302,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -302,7 +302,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
var crm = discomfort.adminId==''? '':'/crm' var crm = discomfort.adminId==''? '':'/crm'
console.log(discomfort.checks) console.log(discomfort.checks)
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -381,7 +381,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -381,7 +381,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
submitQuestionAnswer: function(data){ submitQuestionAnswer: function(data){
var crm = discomfort.adminId==''? '':'/crm' var crm = discomfort.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/completeQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/completeQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -320,7 +320,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -320,7 +320,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = discomfortGeneralPage.adminId==''? '':'/crm' var crm = discomfortGeneralPage.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -351,7 +351,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -351,7 +351,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = discomfortGeneralPage.adminId==''? '':'/crm' var crm = discomfortGeneralPage.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -436,7 +436,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -436,7 +436,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getNextQuestion:function(data,url){ getNextQuestion:function(data,url){
var crm = discomfortGeneralPage.adminId==''? '':'/crm' var crm = discomfortGeneralPage.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -509,7 +509,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -509,7 +509,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
submitQuestionAnswer: function(data){ submitQuestionAnswer: function(data){
var crm = discomfortGeneralPage.adminId==''? '':'/crm' var crm = discomfortGeneralPage.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/completeQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/completeQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -122,7 +122,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -122,7 +122,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = examination.adminId==''? '':'/crm' var crm = examination.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -204,7 +204,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -204,7 +204,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = examination.adminId==''? '':'/crm' var crm = examination.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -233,7 +233,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -233,7 +233,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
var crm = examination.adminId==''? '':'/crm' var crm = examination.adminId==''? '':'/crm'
console.log(data) console.log(data)
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -166,7 +166,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -166,7 +166,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
}, },
getWechatTicket: function() { getWechatTicket: function() {
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket', url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
...@@ -251,7 +251,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -251,7 +251,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
//上传图片 //上传图片
upLoadImg: function(serverId, localId) { upLoadImg: function(serverId, localId) {
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile', url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST', type: 'POST',
async: false, async: false,
data: { data: {
...@@ -286,7 +286,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -286,7 +286,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = furtherConsultation.adminId==''? '':'/crm' var crm = furtherConsultation.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -337,7 +337,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -337,7 +337,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = furtherConsultation.adminId==''? '':'/crm' var crm = furtherConsultation.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -361,7 +361,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -361,7 +361,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getNextQuestion:function(data){ getNextQuestion:function(data){
var crm = furtherConsultation.adminId==''? '':'/crm' var crm = furtherConsultation.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -176,7 +176,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -176,7 +176,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
}, },
getWechatTicket: function() { getWechatTicket: function() {
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket', url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
...@@ -260,7 +260,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -260,7 +260,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
//上传图片 //上传图片
upLoadImg: function(serverId, localId) { upLoadImg: function(serverId, localId) {
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile', url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST', type: 'POST',
async: false, async: false,
data: { data: {
...@@ -293,7 +293,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -293,7 +293,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = geneDetection.adminId==''? '':'/crm' var crm = geneDetection.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -349,7 +349,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -349,7 +349,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = geneDetection.adminId==''? '':'/crm' var crm = geneDetection.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -399,7 +399,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -399,7 +399,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getNextQuestion:function(data,url){ getNextQuestion:function(data,url){
var crm = geneDetection.adminId==''? '':'/crm' var crm = geneDetection.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -92,7 +92,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -92,7 +92,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
}, },
getWechatTicket: function() { getWechatTicket: function() {
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket', url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
...@@ -172,7 +172,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -172,7 +172,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
//上传图片 //上传图片
upLoadImg: function(serverId, localId) { upLoadImg: function(serverId, localId) {
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile', url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST', type: 'POST',
async: false, async: false,
data: { data: {
...@@ -205,7 +205,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -205,7 +205,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = generalPage.adminId==''? '':'/crm' var crm = generalPage.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -241,7 +241,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -241,7 +241,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = generalPage.adminId==''? '':'/crm' var crm = generalPage.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -290,7 +290,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -290,7 +290,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getNextQuestion:function(data,url){ getNextQuestion:function(data,url){
var crm = generalPage.adminId==''? '':'/crm' var crm = generalPage.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -17,7 +17,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { ...@@ -17,7 +17,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
localStorage.wxLungToken = ''; localStorage.wxLungToken = '';
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token', url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST', type: 'POST',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -41,7 +41,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { ...@@ -41,7 +41,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
getMyquestionnaire: function(){ getMyquestionnaire: function(){
var crm = index.adminId==''? '':'/crm' var crm = index.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+ crm +'/followUpUser', url: 'https://gateway.medtap.cn/operation/followUp'+ crm +'/followUpUser',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -19,7 +19,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -19,7 +19,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
// 获取问卷列表 // 获取问卷列表
getQuestionnaireList:function(){ getQuestionnaireList:function(){
medtap.submitAjax({ medtap.submitAjax({
url: "https://testdevgw.medtap.cn/operation/followUp/followUpList", url: "https://gateway.medtap.cn/operation/followUp/followUpList",
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -111,7 +111,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -111,7 +111,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = otherTreatment.adminId==''? '':'/crm' var crm = otherTreatment.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -148,7 +148,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -148,7 +148,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = otherTreatment.adminId==''? '':'/crm' var crm = otherTreatment.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -172,7 +172,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -172,7 +172,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getNextQuestion:function(data){ getNextQuestion:function(data){
var crm = otherTreatment.adminId==''? '':'/crm' var crm = otherTreatment.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -19,7 +19,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -19,7 +19,7 @@ define(['zepto','medtap'],function($,medtap){
}, },
getQueDetails:function(){ getQueDetails:function(){
medtap.submitAjax({ medtap.submitAjax({
url: "https://testdevgw.medtap.cn/operation/followUp/followUpDetail", url: "https://gateway.medtap.cn/operation/followUp/followUpDetail",
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -1188,7 +1188,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -1188,7 +1188,7 @@ define(['zepto','medtap'],function($,medtap){
}, },
getWechatTicket: function() { getWechatTicket: function() {
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket', url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
......
...@@ -28,7 +28,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -28,7 +28,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = questionnaireWeight.adminId==''? '':'/crm' var crm = questionnaireWeight.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -52,7 +52,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -52,7 +52,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getNextQuestion:function(){ getNextQuestion:function(){
var crm = questionnaireWeight.adminId==''? '':'/crm' var crm = questionnaireWeight.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -11,7 +11,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -11,7 +11,7 @@ define(['zepto','medtap'],function($,medtap){
checkUser:function(){ checkUser:function(){
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url:'https://testdevgw.medtap.cn/wechat/user/getWechatUser', url:'https://gateway.medtap.cn/wechat/user/getWechatUser',
type:'GET', type:'GET',
async: false, async: false,
data:{ data:{
...@@ -33,7 +33,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -33,7 +33,7 @@ define(['zepto','medtap'],function($,medtap){
localStorage.wxLungToken = ''; localStorage.wxLungToken = '';
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token', url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST', type: 'POST',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -197,7 +197,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -197,7 +197,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
initCityl: function() { initCityl: function() {
medtap.loading(1); medtap.loading(1);
$.ajax({ $.ajax({
url: "https://testdevgw.medtap.cn/common/listAreaV0", url: "https://gateway.medtap.cn/common/listAreaV0",
data: {}, data: {},
type: 'get', type: 'get',
async: true, async: true,
...@@ -372,7 +372,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -372,7 +372,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getQuestionAnswer: function(){ getQuestionAnswer: function(){
var crm = targetedTherapy.adminId==''? '':'/crm' var crm = targetedTherapy.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/getAnswer', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/getAnswer',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -424,7 +424,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -424,7 +424,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getPreQuestion:function(){ getPreQuestion:function(){
var crm = targetedTherapy.adminId==''? '':'/crm' var crm = targetedTherapy.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/previousQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/previousQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -449,7 +449,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -449,7 +449,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
getNextQuestion:function(data,url){ getNextQuestion:function(data,url){
var crm = targetedTherapy.adminId==''? '':'/crm' var crm = targetedTherapy.adminId==''? '':'/crm'
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion', url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment