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

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

上级 456bab31
......@@ -145,7 +145,7 @@
},
"ibizordersf6gridview": {
"title": "订单表格视图",
"caption": "订单",
"caption": "后台界面行为",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZOrderSF6GridView",
......
......@@ -176,6 +176,9 @@
"VMGroup24":[
{"tag":"ViewMsg23","position":"TOP","type":"ERROR"}
],
"VMGroup98":[
{"tag":"ViewMsg97","position":"TOP","type":"ERROR"}
],
"VMGroup62":[
{"tag":"ViewMsg61","position":"TOP","type":"ERROR"}
],
......
......@@ -329,9 +329,10 @@ function getAppLocale(){
menuitem155: commonLogic.appcommonhandle("Interface Behavior",null),
menuitem181: commonLogic.appcommonhandle("Front End Interface Behavior",null),
menuitem182: commonLogic.appcommonhandle("Background Interface Behavior",null),
menuitem19: commonLogic.appcommonhandle("Temporary Mode",null),
menuitem2: commonLogic.appcommonhandle("More",null),
menuitem19: commonLogic.appcommonhandle("Temporary Mode",null),
menuitem46: commonLogic.appcommonhandle("Data Import And Export",null),
menuitem67: commonLogic.appcommonhandle("Index Entity",null),
menuitem184: commonLogic.appcommonhandle("Main State",null),
menuitem70: commonLogic.appcommonhandle("Grid Main State",null),
menuitem148: commonLogic.appcommonhandle("List Main State",null),
......
......@@ -329,9 +329,10 @@ function getAppLocale(){
menuitem155: commonLogic.appcommonhandle("界面行为",null),
menuitem181: commonLogic.appcommonhandle("前台界面行为",null),
menuitem182: commonLogic.appcommonhandle("后台界面行为",null),
menuitem19: commonLogic.appcommonhandle("临时模式",null),
menuitem2: commonLogic.appcommonhandle("更多",null),
menuitem19: commonLogic.appcommonhandle("临时模式",null),
menuitem46: commonLogic.appcommonhandle("数据导出导入",null),
menuitem67: commonLogic.appcommonhandle("索引实体",null),
menuitem184: commonLogic.appcommonhandle("主状态",null),
menuitem70: commonLogic.appcommonhandle("表格主状态",null),
menuitem148: commonLogic.appcommonhandle("列表主状态",null),
......
......@@ -147,7 +147,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("图书日历视图(自定义插件)",null),
},
interfunckanbanview: {
caption: commonLogic.appcommonhandle("Built In Features",null),
caption: commonLogic.appcommonhandle("Entity Kanban View",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
},
usr8gridview: {
......@@ -207,7 +207,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("表格代码表分组",null),
},
dataview: {
caption: commonLogic.appcommonhandle("Built In Features",null),
caption: commonLogic.appcommonhandle("Entity Data View",null),
title: commonLogic.appcommonhandle("实体数据视图(内置功能)",null),
},
interfunceditview: {
......@@ -219,7 +219,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("图书数据视图(代码表分组)",null),
},
usr2treeview: {
caption: commonLogic.appcommonhandle("实体树视图",null),
caption: commonLogic.appcommonhandle("Tree View",null),
title: commonLogic.appcommonhandle("实体树视图",null),
},
updatedefaultgridview: {
......@@ -251,7 +251,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("实体选项操作视图",null),
},
calendarview: {
caption: commonLogic.appcommonhandle("Built In Features",null),
caption: commonLogic.appcommonhandle("Entity Calendar View",null),
title: commonLogic.appcommonhandle("实体日历视图(内置功能)",null),
},
editview4: {
......
......@@ -44,7 +44,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("实体分页导航视图",null),
},
sf6gridview: {
caption: commonLogic.appcommonhandle("订单",null),
caption: commonLogic.appcommonhandle("后台界面行为",null),
title: commonLogic.appcommonhandle("订单表格视图",null),
},
f9editview: {
......@@ -56,11 +56,11 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("订单数据选择视图",null),
},
treegridexview: {
caption: commonLogic.appcommonhandle("Tree Grid",null),
caption: commonLogic.appcommonhandle("Entity Tree Grid View",null),
title: commonLogic.appcommonhandle("实体树表格视图(增强)",null),
},
dataviewexpview: {
caption: commonLogic.appcommonhandle("Card Navigation",null),
caption: commonLogic.appcommonhandle("Entity Card Navigation View",null),
title: commonLogic.appcommonhandle("实体卡片视图导航视图",null),
},
wfstartview: {
......@@ -104,7 +104,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("订单编辑视图",null),
},
usr2chartview: {
caption: commonLogic.appcommonhandle("实体图表视图(k线图)",null),
caption: commonLogic.appcommonhandle("Entity Chart View",null),
title: commonLogic.appcommonhandle("实体图表视图(k线图)",null),
},
seditview: {
......@@ -112,7 +112,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("订单编辑视图",null),
},
gridexpview: {
caption: commonLogic.appcommonhandle("Grid Navigation",null),
caption: commonLogic.appcommonhandle("Entity Grid Navigation View",null),
title: commonLogic.appcommonhandle("实体表格导航视图",null),
},
treeexpview: {
......@@ -156,7 +156,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("订单编辑视图",null),
},
listexpview: {
caption: commonLogic.appcommonhandle("List Navigation",null),
caption: commonLogic.appcommonhandle("Entity List Navigation View",null),
title: commonLogic.appcommonhandle("实体列表导航视图",null),
},
usr2calendarexpview: {
......@@ -1032,8 +1032,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("New",null),
},
tbitem1_buiaction1: {
caption: commonLogic.appcommonhandle("后台界面行为(保存)",null),
tip: commonLogic.appcommonhandle("后台界面行为(保存)",null),
caption: commonLogic.appcommonhandle("单数据主键保存",null),
tip: commonLogic.appcommonhandle("单数据主键保存",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
......@@ -1364,8 +1364,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("New",null),
},
tbitem1_fuiaction1: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
caption: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
tip: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
......
......@@ -44,7 +44,7 @@ function getLocaleResourceBase(){
title: commonLogic.appcommonhandle("实体分页导航视图",null),
},
sf6gridview: {
caption: commonLogic.appcommonhandle("订单",null),
caption: commonLogic.appcommonhandle("后台界面行为",null),
title: commonLogic.appcommonhandle("订单表格视图",null),
},
f9editview: {
......@@ -1032,8 +1032,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem1_buiaction1: {
caption: commonLogic.appcommonhandle("后台界面行为(保存)",null),
tip: commonLogic.appcommonhandle("后台界面行为(保存)",null),
caption: commonLogic.appcommonhandle("单数据主键保存",null),
tip: commonLogic.appcommonhandle("单数据主键保存",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
......@@ -1364,8 +1364,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem1_fuiaction1: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
caption: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
tip: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
......
......@@ -95,10 +95,11 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg42', () => import('@/message/view-msg42/view-msg42-message'));
this.allMessageService.set('ViewMsg39', () => import('@/message/view-msg39/view-msg39-message'));
this.allMessageService.set('ViewMsg44', () => import('@/message/view-msg44/view-msg44-message'));
this.allMessageService.set('ViewMsg13', () => import('@/message/view-msg13/view-msg13-message'));
this.allMessageService.set('ViewMsg45', () => import('@/message/view-msg45/view-msg45-message'));
this.allMessageService.set('ViewMsg56', () => import('@/message/view-msg56/view-msg56-message'));
this.allMessageService.set('ViewMsg60', () => import('@/message/view-msg60/view-msg60-message'));
this.allMessageService.set('ViewMsg13', () => import('@/message/view-msg13/view-msg13-message'));
this.allMessageService.set('ViewMsg56', () => import('@/message/view-msg56/view-msg56-message'));
this.allMessageService.set('ViewMsg97', () => import('@/message/view-msg97/view-msg97-message'));
this.allMessageService.set('ViewMsg50', () => import('@/message/view-msg50/view-msg50-message'));
this.allMessageService.set('ViewMsg69', () => import('@/message/view-msg69/view-msg69-message'));
this.allMessageService.set('ViewMsg55', () => import('@/message/view-msg55/view-msg55-message'));
......
import ViewMessageService from '../view-message-service';
/**
* 临时模式视图消息视图消息服务对象基类
*
* @export
* @class ViewMsg97MessageServiceBase
*/
export default class ViewMsg97MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg97MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg97MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg97MessageServiceBase
*/
public initBasicParam(){
this.id = "AA9580A8-3F82-4C55-9586-FD03E9EA1D76";
this.name = "临时模式视图消息";
this.codename = "ViewMsg97";
this.title = "";
this.content = "此示例展示临时模式。适用于带有主从业务关系数据的整体提交的场景。";
this.closeMode = 0;
this.position = "TOP";
this.type = "error";
this.isEnableRemove = false;
this.order = 1;
this.dynamicMode = "STATIC";
this.hasMessageTemp = false;
this.messageType = "TEXT";
}
/**
* 转化消息模板标题和内容
*
* @target {*} target 返回目标数据
* @param {*} context 应用上下文
* @param {*} viewparam 视图参数
* @param {*} item 源数据
*
* @memberof ViewMsg97MessageServiceBase
*/
public translateMessageTemp(target:any,context:any,viewparam:any,item?:any){
if(this.hasMessageTemp && Object.is(this.messageType,"HTML")){
Object.assign(target,{title:``});
Object.assign(target,{content:``});
}
if(this.hasMessageTemp && Object.is(this.messageType,"TEXT")){
Object.assign(target,{title:""});
Object.assign(target,{content:""});
}
}
}
\ No newline at end of file
import ViewMsg97MessageServiceBase from './view-msg97-message-base';
/**
* 临时模式视图消息视图消息服务对象
*
* @export
* @class ViewMsg97MessageService
*/
export default class ViewMsg97MessageService extends ViewMsg97MessageServiceBase {
/**
* Creates an instance of ViewMsg97MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg97MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -2637,8 +2637,28 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
],
},
],
},
{
id: 'a2860d47e7a0dca33a9cf7d9b14cd24b',
name: 'menuitem2',
text: '更多',
type: 'MENUITEM',
counterid: '',
tooltip: '更多',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-yelp',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
items: [
{
id: 'C9EAF840-180C-43A5-A04A-DE242675A08A',
name: 'menuitem19',
text: '临时模式',
......@@ -2655,34 +2675,32 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc95',
resourcetag: '',
},
],
},
{
id: 'a2860d47e7a0dca33a9cf7d9b14cd24b',
name: 'menuitem2',
text: '更多',
id: 'd103a4f24a5599c600de34075b91601b',
name: 'menuitem46',
text: '数据导出导入',
type: 'MENUITEM',
counterid: '',
tooltip: '更多',
tooltip: '数据导出导入',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-yelp',
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
appfunctag: 'AppFunc88',
resourcetag: '',
items: [
},
{
id: 'd103a4f24a5599c600de34075b91601b',
name: 'menuitem46',
text: '数据导出导入',
id: 'b7dafb52e8520041e7cf7f2410d19285',
name: 'menuitem67',
text: '索引实体',
type: 'MENUITEM',
counterid: '',
tooltip: '数据导出导入',
tooltip: '索引实体',
expanded: false,
separator: false,
hidden: false,
......@@ -2691,7 +2709,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc88',
appfunctag: 'Auto296',
resourcetag: '',
},
{
......
......@@ -153,7 +153,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
},
"ibizordersf6gridview": {
"title": "订单表格视图",
"caption": "订单",
"caption": "后台界面行为",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZOrderSF6GridView",
......@@ -2207,6 +2207,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup24":[
{"tag":"ViewMsg23","position":"TOP","type":"ERROR"}
],
"VMGroup98":[
{"tag":"ViewMsg97","position":"TOP","type":"ERROR"}
],
"VMGroup62":[
{"tag":"ViewMsg61","position":"TOP","type":"ERROR"}
],
......
......@@ -336,7 +336,7 @@ export default class IBIZOrderSF5GridViewBase extends Vue {
public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem1_fuiaction1: { name: 'tbitem1_fuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'FUIAction1', target: 'NONE' } },
tbitem1_fuiaction1: { name: 'tbitem1_fuiaction1', actiontarget: 'NONE', caption: '前台界面行为(编辑)', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'FUIAction1', target: 'NONE' } },
tbitem16: { name: 'tbitem16', caption: '其它', disabled: false, type: 'ITEMS', visabled: true, dataaccaction: '', uiaction: { } },
tbitem21: { name: 'tbitem21', actiontarget: 'NONE', caption: '导出数据模型', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportModel', target: '' } },
......
......@@ -336,7 +336,7 @@ export default class IBIZOrderSF6GridViewBase extends Vue {
public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem1_buiaction1: { name: 'tbitem1_buiaction1', actiontarget: 'NONE', caption: '后台界面行为(保存)', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'BUIAction1', target: 'SINGLEKEY' } },
tbitem1_buiaction1: { name: 'tbitem1_buiaction1', actiontarget: 'NONE', caption: '单数据主键保存', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'BUIAction1', target: 'SINGLEKEY' } },
tbitem16: { name: 'tbitem16', caption: '其它', disabled: false, type: 'ITEMS', visabled: true, dataaccaction: '', uiaction: { } },
tbitem21: { name: 'tbitem21', actiontarget: 'NONE', caption: '导出数据模型', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportModel', target: '' } },
......
......@@ -6,10 +6,10 @@
<span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div>
<div class='view-top-messages'>
</div>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup98' viewname='ibiztaskteamgridview9'></app-alert-group> </div>
<div class='content-container'>
<div class='view-body-messages'>
</div>
<app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup98' viewname='ibiztaskteamgridview9'></app-alert-group> </div>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
......@@ -143,7 +143,7 @@
</div>
</div>
<div class='view-bottom-messages'>
</div>
<app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup98' viewname='ibiztaskteamgridview9'></app-alert-group> </div>
</card>
</div>
</template>
......
......@@ -184,7 +184,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
}
/**
* 后台界面行为(保存)
* 单数据主键保存
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
......@@ -432,7 +432,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
}
/**
* 编辑
* 前台界面行为(编辑)
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
......
......@@ -2784,8 +2784,29 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem182',
},
],
},
],
},
{
id: 'a2860d47e7a0dca33a9cf7d9b14cd24b',
name: 'menuitem2',
text: '更多',
type: 'MENUITEM',
counterid: '',
tooltip: '更多',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-yelp',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
authtag:'Web-MainMenu-menuitem2',
items: [
{
id: 'C9EAF840-180C-43A5-A04A-DE242675A08A',
name: 'menuitem19',
text: '临时模式',
......@@ -2803,35 +2824,33 @@ export default class MainMenuModel {
appfunctag: 'AppFunc95',
resourcetag: '',
authtag:'Web-MainMenu-menuitem19',
},
],
},
{
id: 'a2860d47e7a0dca33a9cf7d9b14cd24b',
name: 'menuitem2',
text: '更多',
id: 'd103a4f24a5599c600de34075b91601b',
name: 'menuitem46',
text: '数据导出导入',
type: 'MENUITEM',
counterid: '',
tooltip: '更多',
tooltip: '数据导出导入',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-yelp',
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
appfunctag: 'AppFunc88',
resourcetag: '',
authtag:'Web-MainMenu-menuitem2',
items: [
authtag:'Web-MainMenu-menuitem46',
},
{
id: 'd103a4f24a5599c600de34075b91601b',
name: 'menuitem46',
text: '数据导出导入',
id: 'b7dafb52e8520041e7cf7f2410d19285',
name: 'menuitem67',
text: '索引实体',
type: 'MENUITEM',
counterid: '',
tooltip: '数据导出导入',
tooltip: '索引实体',
expanded: false,
separator: false,
hidden: false,
......@@ -2840,9 +2859,9 @@ export default class MainMenuModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc88',
appfunctag: 'Auto296',
resourcetag: '',
authtag:'Web-MainMenu-menuitem46',
authtag:'Web-MainMenu-menuitem67',
},
{
id: '9F6C2882-A28B-44C5-B45B-519E9E945927',
......
......@@ -240,7 +240,7 @@ export default class IBIZOrderPortalComponentsOperationBase extends Vue implemen
*/
public actionBarModelData:any[] =[
{ viewlogicname:"dashboard_sysportlet3_u236cbdc_click",
actionName:"编辑",
actionName:"前台界面行为(编辑)",
icon:"",
visabled:true,disabled:false
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册