Commit 448db32b by zujiaozhang

'设为线上'

parent c4aa50b4
...@@ -134,7 +134,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -134,7 +134,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',
...@@ -274,7 +274,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -274,7 +274,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',
...@@ -298,7 +298,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -298,7 +298,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',
...@@ -377,7 +377,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -377,7 +377,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',
......
...@@ -319,7 +319,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -319,7 +319,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',
...@@ -348,7 +348,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -348,7 +348,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',
...@@ -432,7 +432,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -432,7 +432,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',
...@@ -507,7 +507,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -507,7 +507,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',
......
...@@ -120,7 +120,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -120,7 +120,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',
...@@ -201,7 +201,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -201,7 +201,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',
...@@ -229,7 +229,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -229,7 +229,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',
......
...@@ -164,7 +164,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -164,7 +164,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: {
...@@ -249,7 +249,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -249,7 +249,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: {
...@@ -284,7 +284,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -284,7 +284,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',
...@@ -334,7 +334,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -334,7 +334,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',
...@@ -357,7 +357,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -357,7 +357,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',
......
...@@ -174,7 +174,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -174,7 +174,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: {
...@@ -258,7 +258,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -258,7 +258,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: {
...@@ -291,7 +291,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -291,7 +291,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',
...@@ -346,7 +346,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -346,7 +346,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',
...@@ -395,7 +395,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -395,7 +395,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',
......
...@@ -91,7 +91,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -91,7 +91,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: {
...@@ -171,7 +171,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -171,7 +171,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: {
...@@ -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) { 
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',
...@@ -239,7 +239,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -239,7 +239,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',
...@@ -287,7 +287,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -287,7 +287,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',
......
...@@ -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) { 
// 获取问卷列表 // 获取问卷列表
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',
......
...@@ -109,7 +109,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -109,7 +109,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',
...@@ -145,7 +145,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -145,7 +145,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',
...@@ -168,7 +168,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -168,7 +168,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',
......
...@@ -17,7 +17,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -17,7 +17,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',
...@@ -1068,7 +1068,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -1068,7 +1068,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',
...@@ -51,7 +51,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -51,7 +51,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',
......
...@@ -195,7 +195,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -195,7 +195,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,
...@@ -370,7 +370,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -370,7 +370,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',
...@@ -421,7 +421,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -421,7 +421,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',
...@@ -445,7 +445,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -445,7 +445,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