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

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

上级 bb3deef6
<template>
<app-index-view-layout-left :navModel="navModel" :collapseChange="collapseChange" :class="{ [themeClasses]: true, 'index': true }" :style="themeStyle">
<template #siderTop>
<img v-show="collapseChange" v-if="isEnableAppSwitch" src="../../../assets/img/logo2.png" height="16" @click="contextMenuDragVisiable=!contextMenuDragVisiable" />
<span v-show="!collapseChange">{{$t(model.srfCaption)}}</span>
</template>
<template #siderContent>
<view_appmenu
<app-index-view-layout-top :class="{ [themeClasses]: true, 'index': true }" :style="themeStyle">
<template #headerLeft>
<img class="app-icon" src="../../../assets/img/logo.png" />
<span class="app-caption">{{$t(model.srfCaption)}}</span>
</template>
<template #headerRight>
<view_appmenu
:viewState="viewState"
:viewparams="viewparams"
:context="context"
......@@ -23,28 +23,15 @@
ref='appmenu'
@closeview="closeView($event)">
</view_appmenu>
<context-menu-drag v-if="isEnableAppSwitch" :contextMenuDragVisiable="contextMenuDragVisiable"></context-menu-drag>
</template>
<template #headerLeft>
<i v-show="!collapseChange" class="ivu-icon el-icon-s-fold" @click="handleClick"></i>
<i v-show="collapseChange" class="ivu-icon el-icon-s-unfold" @click="handleClick"></i>
<app-breadcrumb :navModel="navModel" indexViewTag="index"></app-breadcrumb>
</template>
<template #headerRight>
<app-user></app-user>
<app-message-popover></app-message-popover>
<app-help></app-help>
<app-lang></app-lang>
</template>
<template #tabPageExp>
<tab-page-exp v-if="Object.is(navModel,'tab')"></tab-page-exp>
</template>
<template #navPos>
<app-keep-alive :routerList="getRouterList">
<router-view :key="getRouterViewKey"></router-view>
</app-keep-alive>
</template>
</app-index-view-layout-left>
<app-user></app-user>
<app-message-popover></app-message-popover>
<app-help></app-help>
<app-lang></app-lang>
</template>
<template #navPos>
<router-view></router-view>
</template>
</app-index-view-layout-top>
</template>
// 基于 @VIEW/应用首页视图/VIEW-BASE.vue.ftl 生成
......@@ -626,7 +613,7 @@ export default class IndexBase extends Vue {
* @type {string}
* @memberof IndexBase
*/
public mode: string ='vertical';
public mode: string ='horizontal';
/**
* 导航模式(route:面包屑模式、tab:分页导航模式)
......
......@@ -42,7 +42,6 @@
}
.el-menu--vertical {
display: flex;
.el-menu-item, .el-submenu__title {
height: 57px;
color: var(--app-color-gray-100) !important;
......
<template>
<el-menu
class="app-menu"
:default-openeds="defaultOpeneds"
:mode="mode"
:menu-trigger="trigger"
:collapse="isCollapse"
......
......@@ -712,7 +712,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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase 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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -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: '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 };
......@@ -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: '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 } ;
......
......@@ -16,7 +16,7 @@
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json",
"mOSFilePath" : "pssysapps/Web/psappindexviews/index",
"mainMenuAlign" : "CENTER",
"mainMenuAlign" : "TOP",
"name" : "index",
"getPSAppModule" : {
"modelref" : true,
......
......@@ -18047,7 +18047,7 @@
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json",
"mOSFilePath" : "pssysapps/Web/psappindexviews/index",
"mainMenuAlign" : "CENTER",
"mainMenuAlign" : "TOP",
"name" : "index",
"getPSAppModule" : {
"modelref" : true,
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册