提交 4bbd62d2 编写于 作者: ibizdev's avatar ibizdev

Mosher 发布系统代码 [后台服务,演示应用]

上级 94c1446b
...@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -452,11 +452,11 @@ export default class TreeExpViewtreeexpbarBase extends Vue implements ControlInt ...@@ -452,11 +452,11 @@ export default class TreeExpViewtreeexpbarBase extends Vue implements ControlInt
Object.assign(tempContext,{srfcounter:this.counter}); Object.assign(tempContext,{srfcounter:this.counter});
} }
const navItem: any = { const navItem: any = {
navView: this.navViewName, navView: refview.viewname,
data: args, data: args,
srfnavdata: { srfnavdata: {
context: tempContext, context: tempContext,
viewparams: tempViewParam viewparams: tempViewparam
} }
} }
this.calcToolbarItemState(false); this.calcToolbarItemState(false);
......
...@@ -368,11 +368,11 @@ export default class F1TreeExpViewtreeexpbarBase extends Vue implements ControlI ...@@ -368,11 +368,11 @@ export default class F1TreeExpViewtreeexpbarBase extends Vue implements ControlI
Object.assign(tempContext,{srfcounter:this.counter}); Object.assign(tempContext,{srfcounter:this.counter});
} }
const navItem: any = { const navItem: any = {
navView: this.navViewName, navView: refview.viewname,
data: args, data: args,
srfnavdata: { srfnavdata: {
context: tempContext, context: tempContext,
viewparams: tempViewParam viewparams: tempViewparam
} }
} }
this.calcToolbarItemState(false); this.calcToolbarItemState(false);
......
...@@ -363,11 +363,11 @@ export default class F2TreeExpViewtreeexpbarBase extends Vue implements ControlI ...@@ -363,11 +363,11 @@ export default class F2TreeExpViewtreeexpbarBase extends Vue implements ControlI
Object.assign(tempContext,{srfcounter:this.counter}); Object.assign(tempContext,{srfcounter:this.counter});
} }
const navItem: any = { const navItem: any = {
navView: this.navViewName, navView: refview.viewname,
data: args, data: args,
srfnavdata: { srfnavdata: {
context: tempContext, context: tempContext,
viewparams: tempViewParam viewparams: tempViewparam
} }
} }
this.calcToolbarItemState(false); this.calcToolbarItemState(false);
......
...@@ -361,11 +361,11 @@ export default class F3TreeExpViewtreeexpbarBase extends Vue implements ControlI ...@@ -361,11 +361,11 @@ export default class F3TreeExpViewtreeexpbarBase extends Vue implements ControlI
Object.assign(tempContext,{srfcounter:this.counter}); Object.assign(tempContext,{srfcounter:this.counter});
} }
const navItem: any = { const navItem: any = {
navView: this.navViewName, navView: refview.viewname,
data: args, data: args,
srfnavdata: { srfnavdata: {
context: tempContext, context: tempContext,
viewparams: tempViewParam viewparams: tempViewparam
} }
} }
this.calcToolbarItemState(false); this.calcToolbarItemState(false);
......
...@@ -361,11 +361,11 @@ export default class F4TreeExpViewtreeexpbarBase extends Vue implements ControlI ...@@ -361,11 +361,11 @@ export default class F4TreeExpViewtreeexpbarBase extends Vue implements ControlI
Object.assign(tempContext,{srfcounter:this.counter}); Object.assign(tempContext,{srfcounter:this.counter});
} }
const navItem: any = { const navItem: any = {
navView: this.navViewName, navView: refview.viewname,
data: args, data: args,
srfnavdata: { srfnavdata: {
context: tempContext, context: tempContext,
viewparams: tempViewParam viewparams: tempViewparam
} }
} }
this.calcToolbarItemState(false); this.calcToolbarItemState(false);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册