提交 02394aac 编写于 作者: ibizdev's avatar ibizdev

chitanda 发布系统代码

上级 f52511f8
...@@ -324,10 +324,11 @@ export default class AccountInfoBase extends TabExpViewBase { ...@@ -324,10 +324,11 @@ export default class AccountInfoBase extends TabExpViewBase {
/** /**
* 加载模型 * 加载模型
* *
* @protected
* @memberof AccountInfoBase * @memberof AccountInfoBase
*/ */
public loadModel(){ protected async loadModel(): Promise<any> {
if(this.context.account){ if(this.context.account){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -128,10 +128,11 @@ export default class ContactTabExpViewBase extends TabExpViewBase { ...@@ -128,10 +128,11 @@ export default class ContactTabExpViewBase extends TabExpViewBase {
/** /**
* 加载模型 * 加载模型
* *
* @protected
* @memberof ContactTabExpViewBase * @memberof ContactTabExpViewBase
*/ */
public loadModel(){ protected async loadModel(): Promise<any> {
if(this.context.contact){ if(this.context.contact){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -324,10 +324,11 @@ export default class CampaignInfoBase extends TabExpViewBase { ...@@ -324,10 +324,11 @@ export default class CampaignInfoBase extends TabExpViewBase {
/** /**
* 加载模型 * 加载模型
* *
* @protected
* @memberof CampaignInfoBase * @memberof CampaignInfoBase
*/ */
public loadModel(){ protected async loadModel(): Promise<any> {
if(this.context.campaign){ if(this.context.campaign){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -128,10 +128,11 @@ export default class IBizListInfoBase extends TabExpViewBase { ...@@ -128,10 +128,11 @@ export default class IBizListInfoBase extends TabExpViewBase {
/** /**
* 加载模型 * 加载模型
* *
* @protected
* @memberof IBizListInfoBase * @memberof IBizListInfoBase
*/ */
public loadModel(){ protected async loadModel(): Promise<any> {
if(this.context.ibizlist){ if(this.context.ibizlist){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册