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

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

上级 14f560ab
......@@ -10,6 +10,78 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
return [status, {
name: 'appmenu',
items: [
{
id: '6D010B99-E521-4723-B2CE-6F0BBF9CAA45',
name: 'menuitem1',
text: '菜单1',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单1',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc66',
resourcetag: '',
},
{
id: 'A5823AC8-C818-42F2-B5FB-C8C6B45E0CC5',
name: 'menuitem2',
text: '菜单2',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单2',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'UsrAppFunc1108357066',
resourcetag: '',
},
{
id: 'CBA0A6CE-0592-432F-B7A3-93C8D23FE82B',
name: 'menuitem3',
text: '菜单3',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单3',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto393',
resourcetag: '',
},
{
id: 'E35F291C-5D2B-4851-B302-2B5533A57819',
name: 'menuitem4',
text: '菜单4',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单4',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc31',
resourcetag: '',
},
],
}];
});
......
......@@ -74,6 +74,11 @@
<template #nav_breadcrumb1>
<app-index-nav-breadcrumb name="nav_breadcrumb1" :layoutModelDetails="layoutModelDetails" indexViewTag="app-index-view" />
</template>
<template #appmenu1>
<app-ctrl-pos name="appmenu1" :layoutModelDetails="layoutModelDetails">
<span>部件占位appmenu1</span>
</app-ctrl-pos>
</template>
<template #nav_pos1>
<app-nav-pos name="nav_pos1" :layoutModelDetails="layoutModelDetails" :navData="layoutModelDetails['nav_pos1'].navData"/>
</template>
......@@ -311,8 +316,9 @@ export default class AppIndexViewBase extends Vue {
button_calluilogic10:{ name: 'button_calluilogic10', type: 'VIEWLAYOUT', caption: '自定义按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DANGER', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DANGER', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'NONE', noprivdisplaymode: 2, dataaccaction: '', visabled: true, disabled: false }, renderMode: '', },
open_yuque:{ name: 'open_yuque', type: 'VIEWLAYOUT', caption: '语雀文档', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'SINGLEDATA', noprivdisplaymode: 2, dataaccaction: '', actionDECodeName: 'IBIZOrder', visabled: true, disabled: false }, renderMode: '', },
nav_breadcrumb1:{ name: 'nav_breadcrumb1', type: 'VIEWLAYOUT', caption: '面包屑导航', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , viewType: 'APPINDEXVIEW', predefinedType: 'NAV_BREADCRUMB', contentType: '', contentStyle: '', rawContent: '', htmlContent: '', },
appmenu1:{ name: 'appmenu1', type: 'VIEWLAYOUT', caption: '首页菜单', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this },
nav_pos1:{ name: 'nav_pos1', type: 'VIEWLAYOUT', caption: '导航区占位', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , viewType: 'APPINDEXVIEW', predefinedType: 'NAV_POS', contentType: '', contentStyle: '', rawContent: '', htmlContent: '', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['app_apptitle','view_pagecaption','static_label1','static_text1','field_text_dynamic','field_textbox4','field_switch','field_textbox','field_textbox1','field_textbox2','field_textbox3','field_qrcode','button_link1','button_openview','button_calluilogic1','button_calluilogic2','button_calluilogic3','button_calluilogic5','button_calluilogic6','button_calluilogic8','button_calluilogic9','button_calluilogic10','open_yuque','nav_breadcrumb1','nav_pos1'] , dataRegionType: 'INHERIT' }
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, panel: this , details:['app_apptitle','view_pagecaption','static_label1','static_text1','field_text_dynamic','field_textbox4','field_switch','field_textbox','field_textbox1','field_textbox2','field_textbox3','field_qrcode','button_link1','button_openview','button_calluilogic1','button_calluilogic2','button_calluilogic3','button_calluilogic5','button_calluilogic6','button_calluilogic8','button_calluilogic9','button_calluilogic10','open_yuque','nav_breadcrumb1','appmenu1','nav_pos1'] , dataRegionType: 'INHERIT' }
}
/**
......
// 基于 @VIEW/应用首页视图/PAGEREGISTER.ts.ftl 生成
export const PageComponents = {
install(Vue: any, opt: any) {
Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue'));
Vue.component('app-portal-view', () => import('@pages/ungroup/app-portal-view/app-portal-view.vue'));
Vue.component('ibizbooktest-logic-custom-view', () => import('@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'));
Vue.component('ibizsample0001-sf2-edit-view', () => import('@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'));
Vue.component('ibizbookinter-func-edit-view', () => import('@pages/sample/ibizbookinter-func-edit-view/ibizbookinter-func-edit-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
Vue.component('ibizappctrllist-view', () => import('@pages/sample/ibizappctrllist-view/ibizappctrllist-view.vue'));
Vue.component('ibizappeditorgrid-view', () => import('@pages/sample/ibizappeditorgrid-view/ibizappeditorgrid-view.vue'));
Vue.component('ibizappeditorlist-view', () => import('@pages/sample/ibizappeditorlist-view/ibizappeditorlist-view.vue'));
Vue.component('ibizappextendeditorgrid-view', () => import('@pages/sample/ibizappextendeditorgrid-view/ibizappextendeditorgrid-view.vue'));
Vue.component('ibizappextendeditorlist-view', () => import('@pages/sample/ibizappextendeditorlist-view/ibizappextendeditorlist-view.vue'));
Vue.component('ibizorder-grid-view9', () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'));
Vue.component('ibizbookedit-view4', () => import('@pages/sample/ibizbookedit-view4/ibizbookedit-view4.vue'));
Vue.component('ibizappviewedit-view', () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'));
Vue.component('ibizappctrledit-view', () => import('@pages/sample/ibizappctrledit-view/ibizappctrledit-view.vue'));
Vue.component('ibizappeditoredit-view', () => import('@pages/sample/ibizappeditoredit-view/ibizappeditoredit-view.vue'));
Vue.component('ibizappextendeditoredit-view', () => import('@pages/sample/ibizappextendeditoredit-view/ibizappextendeditoredit-view.vue'));
Vue.component('ibizorder-state10-edit-view2', () => import('@pages/sample/ibizorder-state10-edit-view2/ibizorder-state10-edit-view2.vue'));
Vue.component('ibizorder-state30-edit-view2', () => import('@pages/sample/ibizorder-state30-edit-view2/ibizorder-state30-edit-view2.vue'));
Vue.component('ibizorder-state40-edit-view2', () => import('@pages/sample/ibizorder-state40-edit-view2/ibizorder-state40-edit-view2.vue'));
Vue.component('ibizcustomer-pickup-view', () => import('@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'));
Vue.component('ibizorder-detail-sgrid-view', () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'));
Vue.component('ibizorder-wfstart-view', () => import('@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue'));
Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
Vue.component('ibizorder-pickup-view', () => import('@pages/sample/ibizorder-pickup-view/ibizorder-pickup-view.vue'));
Vue.component('ibizuniproduct-pickup-view', () => import('@pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view.vue'));
Vue.component('ibizorder-pickup-grid-view', () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'));
Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'));
Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue'));
Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue'));
Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'));
Vue.component('app-wfstep-trace-view', () => import('@pages/ungroup/app-wfstep-trace-view/app-wfstep-trace-view.vue'));
......
......@@ -35,6 +35,470 @@ const router = new Router({
},
component: () => import('@pages/ungroup/app-index-view/app-index-view.vue'),
children: [
{
path: 'appportalview/:appportalview?',
meta: {
caption: 'MENUITEM.CAPTION.WORKBENCH',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'appportalview', parameterName: 'appportalview' },
],
requireAuth: true,
},
component: () => import('@pages/ungroup/app-portal-view/app-portal-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/testlogiccustomview/:testlogiccustomview?',
meta: {
caption: 'DE.LNAME.IBIZBOOK',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testlogiccustomview', parameterName: 'testlogiccustomview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'),
},
{
path: 'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf2editview/:sf2editview?',
meta: {
caption: 'MENUITEM.CAPTION.BASICFORMITEM',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'sf2editview', parameterName: 'sf2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'),
},
{
path: 'ibizsample0001s/:ibizsample0001?/sf2editview/:sf2editview?',
meta: {
caption: 'MENUITEM.CAPTION.BASICFORMITEM',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'sf2editview', parameterName: 'sf2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/interfunceditview/:interfunceditview?',
meta: {
caption: 'MENUITEM.CAPTION.ENTITYEDITVIEW',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'interfunceditview', parameterName: 'interfunceditview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookinter-func-edit-view/ibizbookinter-func-edit-view.vue'),
},
{
path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: {
caption: '应用视图',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappviews', parameterName: 'ibizappview' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'),
},
{
path: 'ibizappviews/:ibizappview?/listview/:listview?',
meta: {
caption: '应用视图',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappviews', parameterName: 'ibizappview' },
{ pathName: 'listview', parameterName: 'listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'),
},
{
path: 'ibizappctrls/:ibizappctrl?/gridview/:gridview?',
meta: {
caption: 'DE.LNAME.IBIZAPPCTRL',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappctrls', parameterName: 'ibizappctrl' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'),
},
{
path: 'ibizappctrls/:ibizappctrl?/listview/:listview?',
meta: {
caption: 'DE.LNAME.IBIZAPPCTRL',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappctrls', parameterName: 'ibizappctrl' },
{ pathName: 'listview', parameterName: 'listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappctrllist-view/ibizappctrllist-view.vue'),
},
{
path: 'ibizappeditors/:ibizappeditor?/gridview/:gridview?',
meta: {
caption: 'DE.LNAME.IBIZAPPEDITOR',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappeditors', parameterName: 'ibizappeditor' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappeditorgrid-view/ibizappeditorgrid-view.vue'),
},
{
path: 'ibizappeditors/:ibizappeditor?/listview/:listview?',
meta: {
caption: 'DE.LNAME.IBIZAPPEDITOR',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappeditors', parameterName: 'ibizappeditor' },
{ pathName: 'listview', parameterName: 'listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappeditorlist-view/ibizappeditorlist-view.vue'),
},
{
path: 'ibizappextendeditors/:ibizappextendeditor?/gridview/:gridview?',
meta: {
caption: 'DE.LNAME.IBIZAPPEXTENDEDITOR',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappextendeditors', parameterName: 'ibizappextendeditor' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappextendeditorgrid-view/ibizappextendeditorgrid-view.vue'),
},
{
path: 'ibizappextendeditors/:ibizappextendeditor?/listview/:listview?',
meta: {
caption: 'DE.LNAME.IBIZAPPEXTENDEDITOR',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappextendeditors', parameterName: 'ibizappextendeditor' },
{ pathName: 'listview', parameterName: 'listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappextendeditorlist-view/ibizappextendeditorlist-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/gridview9/:gridview9?',
meta: {
caption: 'DE.LNAME.IBIZORDER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'gridview9', parameterName: 'gridview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'),
},
{
path: 'ibizbooks/:ibizbook?/editview4/:editview4?',
meta: {
caption: 'DE.LNAME.IBIZBOOK',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'editview4', parameterName: 'editview4' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookedit-view4/ibizbookedit-view4.vue'),
},
{
path: 'ibizappviews/:ibizappview?/editview/:editview?',
meta: {
caption: '应用视图',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappviews', parameterName: 'ibizappview' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'),
},
{
path: 'ibizappctrls/:ibizappctrl?/editview/:editview?',
meta: {
caption: 'DE.LNAME.IBIZAPPCTRL',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappctrls', parameterName: 'ibizappctrl' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappctrledit-view/ibizappctrledit-view.vue'),
},
{
path: 'ibizappeditors/:ibizappeditor?/editview/:editview?',
meta: {
caption: 'DE.LNAME.IBIZAPPEDITOR',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappeditors', parameterName: 'ibizappeditor' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappeditoredit-view/ibizappeditoredit-view.vue'),
},
{
path: 'ibizappextendeditors/:ibizappextendeditor?/editview/:editview?',
meta: {
caption: 'DE.LNAME.IBIZAPPEXTENDEDITOR',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizappextendeditors', parameterName: 'ibizappextendeditor' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappextendeditoredit-view/ibizappextendeditoredit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/state10editview2/:state10editview2?',
meta: {
caption: 'DE.LNAME.IBIZORDER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'state10editview2', parameterName: 'state10editview2' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-state10-edit-view2/ibizorder-state10-edit-view2.vue'),
},
{
path: 'ibizorders/:ibizorder?/state30editview2/:state30editview2?',
meta: {
caption: 'DE.LNAME.IBIZORDER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'state30editview2', parameterName: 'state30editview2' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-state30-edit-view2/ibizorder-state30-edit-view2.vue'),
},
{
path: 'ibizorders/:ibizorder?/state40editview2/:state40editview2?',
meta: {
caption: 'DE.LNAME.IBIZORDER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'state40editview2', parameterName: 'state40editview2' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-state40-edit-view2/ibizorder-state40-edit-view2.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickupview/:pickupview?',
meta: {
caption: 'DE.LNAME.IBIZCUSTOMER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?',
meta: {
caption: 'DE.LNAME.IBIZORDERDETAIL',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'),
},
{
path: 'ibizorderdetails/:ibizorderdetail?/sgridview/:sgridview?',
meta: {
caption: 'DE.LNAME.IBIZORDERDETAIL',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'sgridview', parameterName: 'sgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/wfstartview/:wfstartview?',
meta: {
caption: 'DE.LNAME.IBIZORDER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'wfstartview', parameterName: 'wfstartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?',
meta: {
caption: 'DE.LNAME.IBIZCUSTOMER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/editview/:editview?',
meta: {
caption: 'DE.LNAME.IBIZORDERDETAIL',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'),
},
{
path: 'ibizorderdetails/:ibizorderdetail?/editview/:editview?',
meta: {
caption: 'DE.LNAME.IBIZORDERDETAIL',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/pickupview/:pickupview?',
meta: {
caption: 'DE.LNAME.IBIZORDER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-pickup-view/ibizorder-pickup-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/pickupview/:pickupview?',
meta: {
caption: 'DE.LNAME.IBIZUNIPRODUCT',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/pickupgridview/:pickupgridview?',
meta: {
caption: 'DE.LNAME.IBIZORDER',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/pickupgridview/:pickupgridview?',
meta: {
caption: 'DE.LNAME.IBIZUNIPRODUCT',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/redirectview/:redirectview?',
meta: {
......
......@@ -2898,6 +2898,10 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'96bc1e4d0d5d6b66d639f401966b375b',
'E74D4E6C-CFF5-4CBA-8195-FD943B3B910F',
'719cc3351f6eb6a08535ae8e2fecd70d',
'37e96c2a2e91cfbb1c2b076eb854a18e',
],
},
{
......
......@@ -468,6 +468,18 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
navDataService.removeNavData(this.viewtag);
}
switch (item.appfunctag) {
case 'AppFunc66':
this.clickAppFunc66(item);
return;
case 'UsrAppFunc1108357066':
this.clickUsrAppFunc1108357066(item);
return;
case 'Auto393':
this.clickAuto393(item);
return;
case 'AppFunc31':
this.clickAppFunc31(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -475,6 +487,97 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
})
}
/**
* 应用门户视图
*
* @param {*} [item={}]
* @memberof AppIndexView
*/
public clickAppFunc66(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'appportalview', parameterName: 'appportalview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 测试界面逻辑(表单加载)
*
* @param {*} [item={}]
* @memberof AppIndexView
*/
public clickUsrAppFunc1108357066(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testlogiccustomview', parameterName: 'testlogiccustomview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 基础表单项
*
* @param {*} [item={}]
* @memberof AppIndexView
*/
public clickAuto393(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
{ pathName: 'sf2editview', parameterName: 'sf2editview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 图书实体表单(内置功能)
*
* @param {*} [item={}]
* @memberof AppIndexView
*/
public clickAppFunc31(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'interfunceditview', parameterName: 'interfunceditview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 数据加载
......
......@@ -15,6 +15,86 @@ export default class AppIndexViewModel {
* @memberof AppIndexViewModel
*/
public items: any[] = [
{
id: '6D010B99-E521-4723-B2CE-6F0BBF9CAA45',
name: 'menuitem1',
text: '菜单1',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单1',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc66',
resourcetag: '',
authtag:'Web-AppIndexView-menuitem1',
cappslanguageres: '',
},
{
id: 'A5823AC8-C818-42F2-B5FB-C8C6B45E0CC5',
name: 'menuitem2',
text: '菜单2',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单2',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'UsrAppFunc1108357066',
resourcetag: '',
authtag:'Web-AppIndexView-menuitem2',
cappslanguageres: '',
},
{
id: 'CBA0A6CE-0592-432F-B7A3-93C8D23FE82B',
name: 'menuitem3',
text: '菜单3',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单3',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto393',
resourcetag: '',
authtag:'Web-AppIndexView-menuitem3',
cappslanguageres: '',
},
{
id: 'E35F291C-5D2B-4851-B302-2B5533A57819',
name: 'menuitem4',
text: '菜单4',
type: 'MENUITEM',
counterid: '',
tooltip: '菜单4',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc31',
resourcetag: '',
authtag:'Web-AppIndexView-menuitem4',
cappslanguageres: '',
},
];
/**
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
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;
}
const arg: any = { ...opt } ;
......
......@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -868,6 +868,16 @@
"predefinedType" : "NAV_BREADCRUMB"
},
"showCaption" : true
}, {
"caption" : "首页菜单",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "appmenu1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"showCaption" : true
}, {
"caption" : "导航区占位",
"itemStyle" : "DEFAULT",
......@@ -897,6 +907,95 @@
"logicName" : "应用首页视图默认菜单",
"mOSFilePath" : "psappmenus/AppIndexView",
"name" : "appmenu",
"getPSAppMenuItems" : [ {
"accUserMode" : 0,
"caption" : "菜单1",
"itemType" : "MENUITEM",
"name" : "menuitem1",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc66"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "菜单1"
}, {
"accUserMode" : 2,
"caption" : "菜单2",
"itemType" : "MENUITEM",
"name" : "menuitem2",
"getPSAppFunc" : {
"modelref" : true,
"id" : "UsrAppFunc1108357066"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "菜单2"
}, {
"accUserMode" : 2,
"caption" : "菜单3",
"itemType" : "MENUITEM",
"name" : "menuitem3",
"getPSAppFunc" : {
"modelref" : true,
"id" : "Auto393"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "菜单3"
}, {
"accUserMode" : 2,
"caption" : "菜单4",
"itemType" : "MENUITEM",
"name" : "menuitem4",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc31"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "菜单4"
} ],
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "appmenu"
......
......@@ -4,6 +4,47 @@
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPMENUS/AppIndexView.json",
"logicName" : "应用首页视图默认菜单",
"mOSFilePath" : "psappmenus/AppIndexView",
"getPSAppMenuItems" : [ {
"accUserMode" : 0,
"caption" : "菜单1",
"itemType" : "MENUITEM",
"name" : "menuitem1",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc66"
},
"tooltip" : "菜单1"
}, {
"accUserMode" : 2,
"caption" : "菜单2",
"itemType" : "MENUITEM",
"name" : "menuitem2",
"getPSAppFunc" : {
"modelref" : true,
"id" : "UsrAppFunc1108357066"
},
"tooltip" : "菜单2"
}, {
"accUserMode" : 2,
"caption" : "菜单3",
"itemType" : "MENUITEM",
"name" : "menuitem3",
"getPSAppFunc" : {
"modelref" : true,
"id" : "Auto393"
},
"tooltip" : "菜单3"
}, {
"accUserMode" : 2,
"caption" : "菜单4",
"itemType" : "MENUITEM",
"name" : "menuitem4",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc31"
},
"tooltip" : "菜单4"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappmenus/AppIndexView",
"enableCustomize" : false,
"name" : "appindexview",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册