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

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

上级 df9423dc
......@@ -37,6 +37,7 @@
fetchAction="FetchDefault"
name="grid"
ref='grid'
@打印选中数据="grid_打印选中数据($event)"
@closeview="closeView($event)">
</view_grid>
</app-ctrl-pos>
......@@ -863,6 +864,18 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue {
}
/**
* grid 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKCustomView_layoutBase
*/
public grid_打印选中数据($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
/**
* toolbar 部件 click 事件
*
......
......@@ -24,6 +24,7 @@
fetchAction="FetchDefault"
name="grid"
ref='grid'
@打印选中数据="grid_打印选中数据($event)"
@onselectionchange="grid_onselectionchange($event)"
@closeview="closeView($event)">
</view_grid>
......@@ -869,6 +870,18 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
}
/**
* grid 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public grid_打印选中数据($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
/**
* grid 部件 onselectionchange 事件
*
......@@ -887,7 +900,7 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
*
* @memberof IBIZBOOKGridLoadCustomView
*/
public GRIDSELECTIONCHANGE($event: any, $event1?: any, $event2: any) {
public GRIDSELECTIONCHANGE($event: any, $event1?: any, $event2?: any) {
console.log($event, $event1, $event2);
}
......
......@@ -24,6 +24,7 @@
fetchAction="FetchDefault"
name="meditviewpanel"
ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@closeview="closeView($event)">
</view_meditviewpanel>
</div>
......@@ -622,6 +623,18 @@ export default class IBIZBOOKMEditView9Base extends Vue {
}
/**
* meditviewpanel 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKMEditView9Base
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
/**
* 打开新建数据视图
......
......@@ -23,6 +23,7 @@
fetchAction="FetchDefault"
name="meditviewpanel"
ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@closeview="closeView($event)">
</view_meditviewpanel>
</app-ctrl-pos>
......@@ -836,6 +837,18 @@ export default class IBIZBOOKUsr2MEditView9_layoutBase extends Vue {
}
/**
* meditviewpanel 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9_layoutBase
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
/**
* 打开新建数据视图
......
......@@ -24,6 +24,7 @@
fetchAction="FetchDefault"
name="meditviewpanel"
ref='meditviewpanel'
@打印选中数据="meditviewpanel_打印选中数据($event)"
@closeview="closeView($event)">
</view_meditviewpanel>
</div>
......@@ -622,6 +623,18 @@ export default class IBIZBOOKUsr2MEditView9Base extends Vue {
}
/**
* meditviewpanel 部件 打印选中数据 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2MEditView9Base
*/
public meditviewpanel_打印选中数据($event: any, $event2?: any) {
this.printSelection($event, '', $event2);
}
/**
* 打开新建数据视图
......
......@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -9,13 +9,19 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
}, {
"eventNames" : "onSelectionChange",
"logicTag" : "GRID",
"logicType" : "APPVIEWLOGIC",
......
......@@ -14,11 +14,19 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
} ],
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
......
......@@ -208,6 +208,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -295,6 +296,13 @@
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
......
......@@ -208,7 +208,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "ONSELECTIONCHANGE" ],
"hookEventNames" : [ "打印选中数据", "ONSELECTIONCHANGE" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -297,6 +297,12 @@
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"logicTag" : "grid",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
}, {
"eventNames" : "onSelectionChange",
"logicTag" : "GRID",
"logicType" : "APPVIEWLOGIC",
......
......@@ -55,6 +55,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -142,6 +143,13 @@
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
......
......@@ -55,6 +55,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -142,6 +143,13 @@
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
......
......@@ -55,6 +55,7 @@
"id" : "fetch"
},
"groupMode" : "NONE",
"hookEventNames" : [ "打印选中数据" ],
"logicName" : "主表格",
"getPSAppDataEntity" : {
"modelref" : true,
......@@ -142,6 +143,13 @@
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "打印选中数据",
"logicTag" : "meditviewpanel",
"logicType" : "SCRIPT",
"name" : "printSelection",
"scriptCode" : "console.log(data);"
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册