Commit 448db32b by zujiaozhang

'设为线上'

parent c4aa50b4
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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: {
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
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