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

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

上级 33e66edc
......@@ -131,6 +131,12 @@ import AppRawItemVideo from './components/layout-element/media/app-rawitem-video
import AppPresetQrCode from './components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.vue';
import AppPresetSwitch from './components/layout-element/interactive/app-preset-switch/app-preset-switch.vue';
import AppPresetTextInput from './components/layout-element/interactive/app-preset-text-input/app-preset-text-input.vue';
import AppIndexDefaultMenu from './components/layout-element/index/app-index-default-menu/app-index-default-menu.vue';
import AppIndexLogout from './components/layout-element/index/app-index-logout/app-index-logout.vue';
import AppIndexNavTabs from './components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.vue';
import AppIndexOrgSelect from './components/layout-element/index/app-index-org-select/app-index-org-select.vue';
import AppIndexUserInfo from './components/layout-element/index/app-index-user-info/app-index-user-info.vue';
import AppCtrlPos from './components/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue';
// 全局挂载UI实体服务注册中心
window['uiServiceRegister'] = uiServiceRegister;
// 全局挂载实体权限服务注册中心
......@@ -273,8 +279,14 @@ export const AppComponents = {
v.component('app-rawitem-image', AppRawItemImage);
v.component('app-rawitem-carousel', AppRawItemCarousel);
v.component('app-rawitem-video', AppRawItemVideo);
v.component('app-preset-qr-code',AppPresetQrCode);
v.component('app-preset-qrcode',AppPresetQrCode);
v.component('app-preset-switch',AppPresetSwitch);
v.component('app-preset-text-input',AppPresetTextInput);
v.component('app-index-default-menu', AppIndexDefaultMenu);
v.component('app-index-logout', AppIndexLogout);
v.component('app-index-nav-tabs', AppIndexNavTabs);
v.component('app-index-org-select', AppIndexOrgSelect);
v.component('app-index-user-info', AppIndexUserInfo);
v.component('app-ctrl-pos', AppCtrlPos);
},
};
\ No newline at end of file
<template>
<div class="app-nav-pos">
<div :class="curClassName" :style="curStyle">
<template v-if="dynaNavMode === 'ROUTEVIEW'">
<template v-if="enableCache">
<app-keep-alive :routerList="routerList">
......@@ -51,6 +51,14 @@ export default class AppNavPos extends Vue {
*/
@Prop() public navData: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppNavPos
*/
public currentLayoutModel: any;
/**
* 获取动态导航模式(DYNAMICCOMP:动态组件 ROUTEVIEW:路由出口)
*
......@@ -98,6 +106,40 @@ export default class AppNavPos extends Vue {
return _this.$route.fullPath;
}
/**
* 当前容器类名
*
* @memberof AppNavPos
*/
get curClassName() {
return {
'app-nav-pos': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppNavPos
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppNavPos
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
/**
* 执行视图事件
*
......@@ -110,3 +152,6 @@ export default class AppNavPos extends Vue {
}
</script>
<style lang='less'>
@import './app-nav-pos.less';
</style>
\ No newline at end of file
<template>
<TabPane :label="currentModelDetail.caption" :name="currentModelDetail.name" tab="tabpanel1" :class="curClassName">
<TabPane :label="currentLayoutModel.caption" :name="currentLayoutModel.name" tab="tabpanel1" :class="curClassName" :style="curStyle">
<template v-if="containerModel.length > 0">
<template v-for="name of containerModel">
<slot :name="name"></slot>
......@@ -12,12 +12,12 @@
import { Component, Prop, Vue } from 'vue-property-decorator';
@Component({})
export default class AppTabPanel extends Vue {
export default class AppTabPage extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppTabPanel
* @memberof AppTabPage
*/
@Prop() public name!: string;
......@@ -25,28 +25,29 @@ export default class AppTabPanel extends Vue {
* 布局模型详情
*
* @type {string}
* @memberof AppTabPanel
* @memberof AppTabPage
*/
@Prop() public layoutModelDetails: any;
/**
* 插槽对象
* 当前布局模型
*
* @memberof AppTabPanel
* @type {*}
* @memberof AppTabPage
*/
public containerModel: any[] = [];
public currentLayoutModel: any;
/**
* 当前模型
* 插槽对象
*
* @memberof AppTabPanel
* @memberof AppTabPage
*/
public currentModelDetail: any;
public containerModel: any[] = [];
/**
* 组件初始化
*
* @memberof SimpleFlexContainer
* @memberof AppTabPage
*/
public created() {
this.init();
......@@ -55,25 +56,44 @@ export default class AppTabPanel extends Vue {
/**
* 初始化子项
*
* @memberof SimpleFlexContainer
* @memberof AppTabPage
*/
public init() {
this.currentModelDetail = this.layoutModelDetails[this.name];
if (this.currentModelDetail && this.currentModelDetail.details && this.currentModelDetail.details.length > 0) {
this.currentModelDetail.details.forEach((key: string) => {
this.currentLayoutModel = this.layoutModelDetails[this.name];
if (this.currentLayoutModel && this.currentLayoutModel.details && this.currentLayoutModel.details.length > 0) {
this.currentLayoutModel.details.forEach((key: string) => {
this.containerModel.push(key);
})
}
}
/**
* 当前容器样式类
*/
* 当前容器样式类
*
* @memberof AppTabPage
*/
get curClassName() {
return `app-tab-page ${this.name}`;
return {
'app-tab-page': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppTabPage
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
}
</script>
<style lang='less'>
@import './app-tab-page.less';
</style>
\ No newline at end of file
......@@ -24,11 +24,19 @@ export default class AppTabPanel extends Vue {
/**
* 布局模型详情
*
* @type {string}
* @type {*}
* @memberof AppTabPanel
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppTabPanel
*/
public currentLayoutModel: any;
/**
* 插槽对象
*
......@@ -46,7 +54,7 @@ export default class AppTabPanel extends Vue {
/**
* 组件初始化
*
* @memberof SimpleFlexContainer
* @memberof AppTabPanel
*/
public created() {
this.initTabPage();
......@@ -55,12 +63,12 @@ export default class AppTabPanel extends Vue {
/**
* 初始化分页
*
* @memberof SimpleFlexContainer
* @memberof AppTabPanel
*/
public initTabPage() {
const curLayoutModel = this.layoutModelDetails[this.name];
if (curLayoutModel && curLayoutModel.details && curLayoutModel.details.length > 0) {
curLayoutModel.details.forEach((key: string) => {
this.currentLayoutModel = this.layoutModelDetails[this.name];
if (this.currentLayoutModel && this.currentLayoutModel.details && this.currentLayoutModel.details.length > 0) {
this.currentLayoutModel.details.forEach((key: string) => {
this.containerModel.push(key);
})
}
......@@ -71,19 +79,38 @@ export default class AppTabPanel extends Vue {
/**
* 处理分页点击
*
* @memberof SimpleFlexContainer
* @memberof AppTabPanel
*/
public handleClick(tab: any) {
this.layoutModelDetails[this.name].clickPage(tab);
}
/**
* 当前容器样式类
*/
* 当前容器类名
*
* @memberof AppTabPanel
*/
get curClassName() {
return `app-tab-panel ${this.name}`;
return {
'app-tab-panel': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppTabPanel
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
}
</script>
<style lang='less'>
@import './app-tab-panel.less';
</style>
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
<slot></slot>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppCtrlPos extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppCtrlPos
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppCtrlPos
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppCtrlPos
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppCtrlPos
*/
get curClassName() {
return {
'app-ctrl-pos': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppCtrlPos
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppCtrlPos
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-ctrl-pos.less';
</style>
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
默认菜单
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppIndexDefaultMenu extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppIndexDefaultMenu
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppIndexDefaultMenu
*/
get curClassName() {
return {
'app-index-default-menu': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexDefaultMenu
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexDefaultMenu
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-index-default-menu.less';
</style>
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
登出
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppIndexLogout extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppIndexLogout
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexLogout
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexLogout
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppIndexLogout
*/
get curClassName() {
return {
'app-index-logout': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexLogout
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexLogout
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-index-logout.less';
</style>
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
<tab-page-exp></tab-page-exp>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppIndexNavTabs extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppIndexNavTabs
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexNavTabs
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexNavTabs
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppIndexNavTabs
*/
get curClassName() {
return {
'app-index-nav-tabs': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexNavTabs
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexNavTabs
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-index-nav-tabs.less';
</style>
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
<app-orgsector></app-orgsector>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppIndexOrgSelect extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppIndexOrgSelect
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexOrgSelect
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexOrgSelect
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppIndexOrgSelect
*/
get curClassName() {
return {
'app-index-org-select': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexOrgSelect
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexOrgSelect
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-index-org-select.less';
</style>
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
<app-user></app-user>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppIndexUserInfo extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppIndexUserInfo
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexUserInfo
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexUserInfo
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppIndexUserInfo
*/
get curClassName() {
return {
'app-index-user-info': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexUserInfo
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexUserInfo
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-index-user-info.less';
</style>
\ No newline at end of file
......@@ -46,7 +46,7 @@ export default class AppPresetQrCode extends Vue {
* @memberof AppPresetQrCode
*/
get className(): string {
return `app-preset-qr-code ${this.name}`;
return `app-preset-qrcode ${this.name}`;
}
/**
......
......@@ -15,7 +15,9 @@
<template #container_2>
<app-simpleflex-container name="container_2" :layoutModelDetails="layoutModelDetails">
<template #toolbar>
<span>部件占位toolbar</span>
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<span>部件占位toolbar</span>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
......@@ -24,7 +26,8 @@
<template #container3>
<app-standard-container name="container3" :layoutModelDetails="layoutModelDetails">
<template #form>
<view_form
<app-ctrl-pos name="form" :layoutModelDetails="layoutModelDetails">
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
......@@ -46,6 +49,7 @@
@remove="form_remove($event)"
@closeview="closeView($event)">
</view_form>
</app-ctrl-pos>
</template>
</app-standard-container>
</template>
......
......@@ -22,7 +22,8 @@
<template #container_scroll_left1>
<app-scroll-container name="container_scroll_left1" :layoutModelDetails="layoutModelDetails">
<template #gridexpbar>
<view_gridexpbar
<app-ctrl-pos name="gridexpbar" :layoutModelDetails="layoutModelDetails">
<view_gridexpbar
:viewState="viewState"
:viewparams="viewparams"
:context="context"
......@@ -37,6 +38,7 @@
@activated="gridexpbar_activated($event)"
@closeview="closeView($event)">
</view_gridexpbar>
</app-ctrl-pos>
</template>
</app-scroll-container>
</template>
......
......@@ -15,15 +15,19 @@
<template #container2>
<app-simpleflex-container name="container2" :layoutModelDetails="layoutModelDetails">
<template #quicksearchbar>
<span>部件占位quicksearchbar</span>
<app-ctrl-pos name="quicksearchbar" :layoutModelDetails="layoutModelDetails">
<span>部件占位quicksearchbar</span>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
<template #container_2>
<app-simpleflex-container name="container_2" :layoutModelDetails="layoutModelDetails">
<template #toolbar>
<div class='toolbar-container'>
<app-ctrl-pos name="toolbar" :layoutModelDetails="layoutModelDetails">
<div class='toolbar-container'>
</div>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
......@@ -36,7 +40,8 @@
<template #search>
<app-tab-page name="search" :layoutModelDetails="layoutModelDetails">
<template #searchform>
<view_searchform
<app-ctrl-pos name="searchform" :layoutModelDetails="layoutModelDetails">
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
......@@ -52,13 +57,15 @@
@save="searchform_save($event)"
@closeview="closeView($event)">
</view_searchform>
</app-ctrl-pos>
</template>
</app-tab-page>
</template>
<template #content>
<app-tab-page name="content" :layoutModelDetails="layoutModelDetails">
<template #grid>
<view_grid
<app-ctrl-pos name="grid" :layoutModelDetails="layoutModelDetails">
<view_grid
:viewState="viewState"
:viewparams="viewparams"
:context="context"
......@@ -85,6 +92,7 @@
@beforeload="grid_beforeload($event)"
@closeview="closeView($event)">
</view_grid>
</app-ctrl-pos>
</template>
</app-tab-page>
</template>
......
......@@ -6,7 +6,7 @@
<template #container_scroll_main1>
<app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
<template #nav_tabs2>
<tab-page-exp></tab-page-exp>
<app-index-nav-tabs name="nav_tabs2" :layoutModelDetails="layoutModelDetails"></app-index-nav-tabs>
</template>
<template #nav_pos1>
<app-nav-pos name="nav_pos1" :layoutModelDetails="layoutModelDetails" :navData="layoutModelDetails['nav_pos1'].navData"></app-nav-pos>
......@@ -16,7 +16,8 @@
<template #container_scroll_left1>
<app-scroll-container name="container_scroll_left1" :layoutModelDetails="layoutModelDetails">
<template #appmenu>
<view_appmenu
<app-ctrl-pos name="appmenu" :layoutModelDetails="layoutModelDetails">
<view_appmenu
:viewState="viewState"
:viewparams="viewparams"
:context="context"
......@@ -33,6 +34,7 @@
ref='appmenu'
@closeview="closeView($event)">
</view_appmenu>
</app-ctrl-pos>
</template>
</app-scroll-container>
</template>
......@@ -53,28 +55,10 @@
<app-standard-container name="container4" :layoutModelDetails="layoutModelDetails">
<template #container5>
<app-standard-container name="container5" :layoutModelDetails="layoutModelDetails">
<template #static_text1>
<app-preset-text
name="static_text1"
predefinedType="STATIC_TEXT"
renderMode="TEXT"
contentType="RAW"
value="文本内容"
contentStyle=""/>
</template>
</app-standard-container>
</template>
<template #container6>
<app-standard-container name="container6" :layoutModelDetails="layoutModelDetails">
<template #static_text2>
<app-preset-text
name="static_text2"
predefinedType="STATIC_TEXT"
renderMode="TEXT"
contentType="RAW"
value="文本内容"
contentStyle=""/>
</template>
</app-standard-container>
</template>
</app-standard-container>
......@@ -84,7 +68,9 @@
<template #container3>
<app-simpleflex-container name="container3" :layoutModelDetails="layoutModelDetails">
<template #auth_userinfo1>
<span>部件占位auth_userinfo1</span>
<app-ctrl-pos name="auth_userinfo1" :layoutModelDetails="layoutModelDetails">
<span>部件占位auth_userinfo1</span>
</app-ctrl-pos>
</template>
</app-simpleflex-container>
</template>
......@@ -281,9 +267,7 @@ export default class IndexBase extends Vue {
container_scroll_left1:null,
app_apptitle:null,
container1:null,
static_text1:null,
container5:null,
static_text2:null,
container6:null,
container4:null,
container2:null,
......@@ -308,10 +292,8 @@ export default class IndexBase extends Vue {
container_scroll_left1:new PanelContainerModel({ name: 'container_scroll_left1', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'BORDER', layoutPos:'WEST', layoutHeight:0, heightMode:'', layoutWidth:20, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['appmenu']}),
app_apptitle:new PanelFieldModel({ name: 'app_apptitle', caption: '应用标题', isShowCaption: false, sysCss: '', itemType: 'FIELD', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
container1:new PanelContainerModel({ name: 'container1', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:3, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['app_apptitle']}),
static_text1:new PanelRawitemModel({ name: 'static_text1', caption: '文本', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, predefinedType: 'STATIC_TEXT', panel: this , viewType: 'APPINDEXVIEW' }),
container5:new PanelContainerModel({ name: 'container5', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['static_text1']}),
static_text2:new PanelRawitemModel({ name: 'static_text2', caption: '文本', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, predefinedType: 'STATIC_TEXT', panel: this , viewType: 'APPINDEXVIEW' }),
container6:new PanelContainerModel({ name: 'container6', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['static_text2']}),
container5:new PanelContainerModel({ name: 'container5', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[]}),
container6:new PanelContainerModel({ name: 'container6', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[]}),
container4:new PanelContainerModel({ name: 'container4', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'space-between',dir:'row',vAlign:'center'}, panel: this , details:['container5','container6']}),
container2:new PanelContainerModel({ name: 'container2', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container4']}),
auth_userinfo1:new PanelCtrlPosModel({ name: 'auth_userinfo1', caption: '用户信息', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this }),
......
......@@ -663,7 +663,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 };
......@@ -699,7 +699,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: '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 } ;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册