Commit 8c3b9c1f by zujiaozhang

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

parent f350e008
......@@ -136,7 +136,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',
......@@ -277,7 +277,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',
......@@ -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://testdevgw.medtap.cn/operation/followUp'+crm+'/nextQuestion',
url: 'https://gateway.medtap.cn/operation/followUp'+crm+'/nextQuestion',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -381,7 +381,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',
......
......@@ -320,7 +320,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',
......@@ -351,7 +351,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',
......@@ -436,7 +436,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',
......@@ -509,7 +509,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',
......
......@@ -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',
......@@ -204,7 +204,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',
......@@ -233,7 +233,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',
......
......@@ -166,7 +166,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: {
......@@ -251,7 +251,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: {
......@@ -286,7 +286,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',
......@@ -337,7 +337,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',
......@@ -361,7 +361,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',
......
......@@ -176,7 +176,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: {
......@@ -260,7 +260,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: {
......@@ -293,7 +293,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',
......@@ -349,7 +349,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',
......@@ -399,7 +399,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',
......
......@@ -92,7 +92,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: {
......@@ -172,7 +172,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: {
......@@ -205,7 +205,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',
......@@ -241,7 +241,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',
......@@ -290,7 +290,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',
......
......@@ -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',
......
......@@ -19,7 +19,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',
......
......@@ -111,7 +111,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',
......@@ -148,7 +148,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',
......@@ -172,7 +172,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',
......
......@@ -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',
......@@ -1188,7 +1188,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: {
......
......@@ -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',
......
......@@ -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',
......
......@@ -197,7 +197,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,
......@@ -372,7 +372,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',
......@@ -424,7 +424,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',
......@@ -449,7 +449,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',
......
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