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

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

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