|
|
@ -9,7 +9,7 @@ var sysName="唛盟智能开发";//系统名称,用于展示 |
|
|
export default { |
|
|
export default { |
|
|
//登录相关
|
|
|
//登录相关
|
|
|
getOauth2LoginContext:function(){ |
|
|
getOauth2LoginContext:function(){ |
|
|
return "lcode" |
|
|
|
|
|
|
|
|
return "oauth2client" |
|
|
}, |
|
|
}, |
|
|
//短信相关
|
|
|
//短信相关
|
|
|
getSmsContext: function() { |
|
|
getSmsContext: function() { |
|
|
@ -17,7 +17,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 图片内容服务api路径
|
|
|
// 图片内容服务api路径
|
|
|
getArcContext: function() { |
|
|
getArcContext: function() { |
|
|
return 'lcode' |
|
|
|
|
|
|
|
|
return 'arc' |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 图片内容服务api路径
|
|
|
// 图片内容服务api路径
|
|
|
@ -39,7 +39,7 @@ export default { |
|
|
//项目管理
|
|
|
//项目管理
|
|
|
getXmContext: function(){ |
|
|
getXmContext: function(){ |
|
|
return 'xm' |
|
|
return 'xm' |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
//即时通讯
|
|
|
//即时通讯
|
|
|
getImContext:function(){ |
|
|
getImContext:function(){ |
|
|
return 'im' |
|
|
return 'im' |
|
|
@ -64,11 +64,11 @@ export default { |
|
|
return 'mallm' |
|
|
return 'mallm' |
|
|
}, |
|
|
}, |
|
|
// 图片内容首页路径
|
|
|
// 图片内容首页路径
|
|
|
getArcIndexPath: function() { |
|
|
|
|
|
|
|
|
getArcIndexPath: function() { |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext()+"/index.html" |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext()+"/index.html" |
|
|
var uri=this.replaceUrl(uri) |
|
|
var uri=this.replaceUrl(uri) |
|
|
return this.getBaseDomainUrl()+uri; |
|
|
return this.getBaseDomainUrl()+uri; |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
// 图片展示或下载路径
|
|
|
// 图片展示或下载路径
|
|
|
getArcFileUploadBasePath: function() { |
|
|
getArcFileUploadBasePath: function() { |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext() |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext() |
|
|
@ -76,7 +76,7 @@ export default { |
|
|
return this.getBaseDomainUrl()+uri; |
|
|
return this.getBaseDomainUrl()+uri; |
|
|
}, |
|
|
}, |
|
|
//excel上传路径
|
|
|
//excel上传路径
|
|
|
getExcelUploadBasePath:function(){ |
|
|
|
|
|
|
|
|
getExcelUploadBasePath:function(){ |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext() |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext() |
|
|
var uri=this.replaceUrl(uri) |
|
|
var uri=this.replaceUrl(uri) |
|
|
return this.getBaseDomainUrl()+uri; |
|
|
return this.getBaseDomainUrl()+uri; |
|
|
@ -85,7 +85,7 @@ export default { |
|
|
getArcImagePath: function() { |
|
|
getArcImagePath: function() { |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext() |
|
|
var uri=this.getApiBase()+"/"+this.getArcContext() |
|
|
var uri=this.replaceUrl(uri) |
|
|
var uri=this.replaceUrl(uri) |
|
|
return this.getBaseDomainUrl()+uri; |
|
|
|
|
|
|
|
|
return this.getBaseDomainUrl()+uri; |
|
|
}, |
|
|
}, |
|
|
// 系统管理首页路径
|
|
|
// 系统管理首页路径
|
|
|
getSysIndexPath: function() { |
|
|
getSysIndexPath: function() { |
|
|
@ -96,7 +96,7 @@ export default { |
|
|
return '/mallm/mallm/index.html' |
|
|
return '/mallm/mallm/index.html' |
|
|
}, |
|
|
}, |
|
|
getWorkFlowEditorUrl: function() { |
|
|
getWorkFlowEditorUrl: function() { |
|
|
return this.getWorkflowContext()+'/'+ process.env.VERSION + '/editor/editor/indexIframe.html' |
|
|
|
|
|
|
|
|
return this.getWorkflowContext()+'/'+ process.env.VERSION + '/editor/editor/indexIframe.html' |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getApiBase:function(){ |
|
|
getApiBase:function(){ |
|
|
@ -130,7 +130,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
/** |
|
|
/** |
|
|
* 本系统支持的动态组件编号列表 |
|
|
* 本系统支持的动态组件编号列表 |
|
|
* @returns |
|
|
|
|
|
|
|
|
* @returns |
|
|
*/ |
|
|
*/ |
|
|
getSupportComponents:function(){ |
|
|
getSupportComponents:function(){ |
|
|
return ['myFocus'] |
|
|
return ['myFocus'] |
|
|
|