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

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

上级 1dc9338a
// 基于 @VIEW/应用首页视图/VIEW.less.ftl 生成
.index{
position: relative;
}
.index{
position: relative;
}
.index_view{
margin-bottom: 1px;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
color:#303133;
background-color: #fff;
.app-horizontal-layout{
.view-container{
height: calc(100% - 32px);
margin: 12px;
}
}
.index_header{
height:65px;
padding:0 20px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fff;
.page-logo{
display: flex;
align-items: center;
}
.header-left{
i{
color:#b4bcc8;
}
i:hover{
color:#1890ff;
}
> .app-breadcrumb{
> span .el-breadcrumb__item .el-breadcrumb__inner{
a{
color:#606d80 !important;
cursor: pointer !important;
}
a:last-child:hover{
color:#1890ff !important;
}
}
}
.ivu-icon{
font-size: 20px;
padding: 4px;
margin-top: -2px;
cursor: pointer;
}
display: flex;
align-items: center;
justify-content: space-between;
.el-menu.el-menu--horizontal{
border-bottom: none;
.el-submenu{
border-top: none;
}
}
}
> div {
line-height: 49px;
}
}
.index_content{
background-color:#F0F2F5;
height:calc(100vh - 50px);
overflow-x: hidden;
overflow-y: hidden;
}
>.ivu-layout {
>.ivu-layout {
height: calc(100vh - 50px);
}
}
.ivu-layout .ivu-layout-sider .ivu-layout-sider-children .sider-top{
margin-top: -2px;
line-height: 58px;
text-align: center;
font-size: 20px;
cursor: pointer;
}
.sider-top{
padding: 0px;
margin-bottom: 1px;
height:65px;
box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
> .page-logo{
display: flex;
align-items: center;
height: 100%;
justify-content: center;
>.menuicon{
display: block;
text-align: center;
font-weight: 300;
font-size: 28px;
width:64px;
height:100%;
}
}
}
}
#move_axis{
position: absolute;
left: 195px;
width: 5px;
height: 100%;
cursor: w-resize;
background-color: rgba(255,255,255,0);
}
.index_sider{
flex: none!important;
max-width: none !important;
transition: none 0s ease 0s;
}
/*** BRGIN:滚动条样式 ***/
::-webkit-scrollbar {
background: transparent;
width: 4px;
height: 4px;
}
::-webkit-scrollbar-thumb {
border-radius: 0;
box-shadow: none;
border: 0;
background-color: #cecece;
}
::-webkit-scrollbar-track {
border-radius: 0;
box-shadow: none;
border: 0;
}
......@@ -2,7 +2,7 @@
<div class="app-app-menu">
<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: 'IBIZBOOKCalendarView' + (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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1425,7 +1425,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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1495,7 +1495,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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1603,7 +1603,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: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1695,7 +1695,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: 'IBIZBOOKWizardView' + (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: '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 } ;
......
......@@ -13,7 +13,6 @@
"viewType" : "APPPORTALVIEW"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json",
"mainMenuAlign" : "TOP",
"name" : "index",
"getPSControls" : [ {
"codeName" : "MainMenu",
......@@ -4182,14 +4181,245 @@
"modeltype" : "PSAPPMENU"
} ],
"getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "app_apptitle"
} ],
"codeName" : "Layoutpanel",
"controlStyle" : "APPINDEXVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "首页视图",
"name" : "layoutpanel",
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "滚动条容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "标签页导航栏",
"contentHeight" : 56.0,
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "nav_tabs1",
"getPSLayoutPos" : {
"height" : 56,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"spacingBottom" : "INNERSMALL",
"spacingLeft" : "INNERSMALL",
"spacingTop" : "INNERSMALL"
},
"getPSRawItem" : {
"name" : "nav_tabs1",
"predefinedType" : "NAV_TABS"
},
"showCaption" : true
}, {
"caption" : "导航区占位",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "nav_pos1",
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER",
"spacingBottom" : "INNERSMALL",
"spacingLeft" : "INNERSMALL",
"spacingRight" : "INNERSMALL"
},
"getPSRawItem" : {
"name" : "nav_pos1",
"predefinedType" : "NAV_POS"
},
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "面板容器",
"contentWidth" : 200.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_left1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "WEST",
"width" : 200,
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "首页菜单",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "appmenu",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"widthMode" : "FULL"
},
"showCaption" : true
} ],
"width" : 200.0,
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 60.0,
"height" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_header1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"height" : 60,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "NORTH"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 2,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "应用标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "app_apptitle",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "app_apptitle",
"predefinedType" : "APP_APPTITLE",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"hAlignSelf" : "LEFT",
"layout" : "TABLE_24COL",
"spacingLeft" : "INNERMEDIUM",
"vAlignSelf" : "MIDDLE"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 7,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "面包屑导航",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "nav_breadcrumb1",
"getPSLayoutPos" : {
"colMD" : 24,
"hAlignSelf" : "LEFT",
"layout" : "TABLE_24COL",
"vAlignSelf" : "MIDDLE"
},
"getPSRawItem" : {
"name" : "nav_breadcrumb1",
"predefinedType" : "NAV_BREADCRUMB"
},
"showCaption" : true
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "用户信息",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "auth_userinfo1",
"getPSLayoutPos" : {
"colMD" : 24,
"hAlignSelf" : "RIGHT",
"layout" : "TABLE_24COL",
"vAlignSelf" : "MIDDLE"
},
"getPSRawItem" : {
"name" : "auth_userinfo1",
"predefinedType" : "AUTH_USERINFO"
},
"showCaption" : true
} ]
} ]
} ],
"showCaption" : true
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
"useDefaultLayout" : false,
"modelid" : "840461A1-3F97-410A-8F12-405FE6770E9A",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"viewStyle" : "DEFAULT",
"viewType" : "APPINDEXVIEW",
......
......@@ -15199,7 +15199,6 @@
"viewType" : "APPPORTALVIEW"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json",
"mainMenuAlign" : "TOP",
"name" : "index",
"getPSControls" : [ {
"codeName" : "MainMenu",
......@@ -19368,14 +19367,245 @@
"modeltype" : "PSAPPMENU"
} ],
"getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "app_apptitle"
} ],
"codeName" : "Layoutpanel",
"controlStyle" : "APPINDEXVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "首页视图",
"name" : "layoutpanel",
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "滚动条容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "标签页导航栏",
"contentHeight" : 56.0,
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "nav_tabs1",
"getPSLayoutPos" : {
"height" : 56,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"spacingBottom" : "INNERSMALL",
"spacingLeft" : "INNERSMALL",
"spacingTop" : "INNERSMALL"
},
"getPSRawItem" : {
"name" : "nav_tabs1",
"predefinedType" : "NAV_TABS"
},
"showCaption" : true
}, {
"caption" : "导航区占位",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "nav_pos1",
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER",
"spacingBottom" : "INNERSMALL",
"spacingLeft" : "INNERSMALL",
"spacingRight" : "INNERSMALL"
},
"getPSRawItem" : {
"name" : "nav_pos1",
"predefinedType" : "NAV_POS"
},
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "面板容器",
"contentWidth" : 200.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_left1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "WEST",
"width" : 200,
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "首页菜单",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "appmenu",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"widthMode" : "FULL"
},
"showCaption" : true
} ],
"width" : 200.0,
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 60.0,
"height" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_header1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"height" : 60,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "NORTH"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 2,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "应用标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "app_apptitle",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "app_apptitle",
"predefinedType" : "APP_APPTITLE",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"hAlignSelf" : "LEFT",
"layout" : "TABLE_24COL",
"spacingLeft" : "INNERMEDIUM",
"vAlignSelf" : "MIDDLE"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 7,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "面包屑导航",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "nav_breadcrumb1",
"getPSLayoutPos" : {
"colMD" : 24,
"hAlignSelf" : "LEFT",
"layout" : "TABLE_24COL",
"vAlignSelf" : "MIDDLE"
},
"getPSRawItem" : {
"name" : "nav_breadcrumb1",
"predefinedType" : "NAV_BREADCRUMB"
},
"showCaption" : true
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "用户信息",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "auth_userinfo1",
"getPSLayoutPos" : {
"colMD" : 24,
"hAlignSelf" : "RIGHT",
"layout" : "TABLE_24COL",
"vAlignSelf" : "MIDDLE"
},
"getPSRawItem" : {
"name" : "auth_userinfo1",
"predefinedType" : "AUTH_USERINFO"
},
"showCaption" : true
} ]
} ]
} ],
"showCaption" : true
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
"useDefaultLayout" : false,
"modelid" : "840461A1-3F97-410A-8F12-405FE6770E9A",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"viewStyle" : "DEFAULT",
"viewType" : "APPINDEXVIEW",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册