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

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

上级 eb4afee3
......@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
},
},
formpage:{
......
......@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
},
},
formpage:{
......
......@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
},
},
formpage:{
......
......@@ -2951,6 +2951,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'UsrAppFunc1102681676',
resourcetag: '',
},
{
id: 'BA7040CC-22A5-4D05-8763-496B7D05DC0D',
name: 'menuitem130',
text: '布局面板组件测试',
type: 'MENUITEM',
counterid: '',
tooltip: '布局面板组件测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc101',
resourcetag: '',
},
],
},
......
......@@ -1651,6 +1651,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'),
},
{
path: 'appindexview/:appindexview?',
meta: {
caption: 'app.views.appindexview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'appindexview', parameterName: 'appindexview' },
],
requireAuth: true,
},
component: () => import('@pages/ungroup/app-index-view/app-index-view.vue'),
},
{
path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: {
......
......@@ -783,6 +783,7 @@ export const viewstate: any = {
'504c018faa34b2d0fce7c4c56569e02e',
'7ce3aaf69c0b882631428087b7db6464',
'38b0b453d423e0772822db6be4f02505',
'2D42F3B7-3267-4276-9120-10F2D81E35AF',
],
},
{
......
......@@ -922,6 +922,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1102681676':
this.clickUsrAppFunc1102681676(item);
return;
case 'AppFunc101':
this.clickAppFunc101(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -3409,6 +3412,28 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path);
})
}
/**
* 布局面板组件测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc101(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'appindexview', parameterName: 'appindexview' },
];
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);
})
}
/**
* 数据加载
......
......@@ -3115,6 +3115,25 @@ export default class MainMenuModel {
appfunctag: 'UsrAppFunc1102681676',
resourcetag: '',
authtag:'Web-MainMenu-menuitem126',
},
{
id: 'BA7040CC-22A5-4D05-8763-496B7D05DC0D',
name: 'menuitem130',
text: '布局面板组件测试',
type: 'MENUITEM',
counterid: '',
tooltip: '布局面板组件测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc101',
resourcetag: '',
authtag:'Web-MainMenu-menuitem130',
},
],
},
......@@ -4418,6 +4437,17 @@ export default class MainMenuModel {
{ pathName: 'testcustomlayoutpanelgridexpview', parameterName: 'testcustomlayoutpanelgridexpview' },
],
},
{
appfunctag: 'AppFunc101',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'appindexview',
deResParameters: [],
routepath: '/index/:index?/appindexview/:appindexview?',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
],
},
];
/**
......
......@@ -621,7 +621,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: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase 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: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -626,7 +626,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: 'IBIZOrderAreaChartView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -662,7 +662,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: 'IBIZOrderAreaChartView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册