Commit 22c11ac6 by zujiaozhang

'修改后改为正式环境'

parent 49a4073a
...@@ -137,7 +137,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -137,7 +137,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',
...@@ -379,7 +379,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -379,7 +379,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',
......
...@@ -343,7 +343,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -343,7 +343,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',
...@@ -374,7 +374,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -374,7 +374,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',
...@@ -459,7 +459,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -459,7 +459,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',
...@@ -532,7 +532,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -532,7 +532,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',
......
...@@ -121,7 +121,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -121,7 +121,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',
...@@ -202,7 +202,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -202,7 +202,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) { 
getNextQuestion:function(data){ getNextQuestion:function(data){
var crm = examination.adminId==''? '':'/crm' var crm = examination.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',
......
...@@ -170,7 +170,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -170,7 +170,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: {
...@@ -250,7 +250,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -250,7 +250,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: {
...@@ -285,7 +285,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -285,7 +285,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',
...@@ -335,7 +335,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -335,7 +335,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',
...@@ -358,7 +358,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -358,7 +358,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',
......
...@@ -183,7 +183,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -183,7 +183,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: {
...@@ -261,7 +261,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -261,7 +261,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: {
...@@ -294,7 +294,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -294,7 +294,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',
...@@ -350,7 +350,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -350,7 +350,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',
...@@ -400,7 +400,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -400,7 +400,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',
......
...@@ -106,7 +106,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -106,7 +106,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: {
...@@ -186,7 +186,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -186,7 +186,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: {
...@@ -219,7 +219,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -219,7 +219,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',
...@@ -255,7 +255,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -255,7 +255,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',
...@@ -304,7 +304,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -304,7 +304,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',
......
...@@ -24,7 +24,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -24,7 +24,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',
...@@ -48,7 +48,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -48,7 +48,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',
......
...@@ -115,7 +115,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -115,7 +115,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',
...@@ -152,7 +152,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -152,7 +152,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',
...@@ -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) { 
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',
...@@ -1386,7 +1386,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -1386,7 +1386,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:{
...@@ -34,7 +34,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -34,7 +34,7 @@ define(['zepto','medtap'],function($,medtap){
localStorage.setItem('wechatId', rukou.wechatId); localStorage.setItem('wechatId', rukou.wechatId);
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',
......
...@@ -218,7 +218,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -218,7 +218,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,
...@@ -393,7 +393,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -393,7 +393,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
}, },
// 获取医保信息 // 获取医保信息
getPatientInfo: function(){ getPatientInfo: function(){
var crm = targetedTherapy.adminId==''? 'https://testdevgw.medtap.cn/user/patientEMR/getPatientInfo':'https://testdevgw.medtap.cn/operation/followUp/crm/getPatientInfo' var crm = targetedTherapy.adminId==''? 'https://gateway.medtap.cn/user/patientEMR/getPatientInfo':'https://gateway.medtap.cn/operation/followUp/crm/getPatientInfo'
console.log(crm) console.log(crm)
medtap.submitAjax({ medtap.submitAjax({
url: crm, url: crm,
...@@ -418,7 +418,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -418,7 +418,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
}, },
// 更新医保信息 // 更新医保信息
updatePatientInfo: function(){ updatePatientInfo: function(){
var crm = targetedTherapy.adminId==''? 'https://testdevgw.medtap.cn/user/patientEMR/updatePatientInfo':'https://testdevgw.medtap.cn/operation/followUp/crm/updatePatientInfo' var crm = targetedTherapy.adminId==''? 'https://gateway.medtap.cn/user/patientEMR/updatePatientInfo':'https://gateway.medtap.cn/operation/followUp/crm/updatePatientInfo'
medtap.submitAjax({ medtap.submitAjax({
url: crm, url: crm,
type: 'post', type: 'post',
...@@ -440,7 +440,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -440,7 +440,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',
...@@ -488,7 +488,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -488,7 +488,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',
...@@ -513,7 +513,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {  ...@@ -513,7 +513,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