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

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

上级 99d693c1
...@@ -366,16 +366,11 @@ function getAppLocale(){ ...@@ -366,16 +366,11 @@ function getAppLocale(){
menuitem24: commonLogic.appcommonhandle("表单嵌入卡片视图",null), menuitem24: commonLogic.appcommonhandle("表单嵌入卡片视图",null),
menuitem25: commonLogic.appcommonhandle("关系界面刷新主表单",null), menuitem25: commonLogic.appcommonhandle("关系界面刷新主表单",null),
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null), menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null), menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null), menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null), menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null),
menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null), menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null),
menuitem159: commonLogic.appcommonhandle("卡片视图(布局面板)",null),
menuitem185: commonLogic.appcommonhandle("测试布局面板(树视图)",null),
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
menuitem190: commonLogic.appcommonhandle("视图",null), menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null), menuitem191: commonLogic.appcommonhandle("单数据视图",null),
...@@ -388,16 +383,16 @@ function getAppLocale(){ ...@@ -388,16 +383,16 @@ function getAppLocale(){
menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null), menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null), menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem200: commonLogic.appcommonhandle("多数据视图",null), menuitem200: commonLogic.appcommonhandle("多数据视图",null),
menuitem201: commonLogic.appcommonhandle("实体表格视图",null), menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null), menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem203: commonLogic.appcommonhandle("实体甘特视图",null), menuitem203: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem204: commonLogic.appcommonhandle("实体列表视图",null), menuitem204: commonLogic.appcommonhandle("实体列表视图",null),
menuitem205: commonLogic.appcommonhandle("实体日历视图",null), menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem206: commonLogic.appcommonhandle("实体看板视图",null), menuitem206: commonLogic.appcommonhandle("实体看板视图",null),
menuitem207: commonLogic.appcommonhandle("实体树表格视图",null), menuitem207: commonLogic.appcommonhandle("实体树表格视图",null),
menuitem208: commonLogic.appcommonhandle("实体树视图",null), menuitem185: commonLogic.appcommonhandle("测试布局面板(树视图)",null),
menuitem209: commonLogic.appcommonhandle("实体数据视图",null), menuitem159: commonLogic.appcommonhandle("卡片视图(布局面板)",null),
menuitem210: commonLogic.appcommonhandle("实体图表视图",null), menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem211: commonLogic.appcommonhandle("导航视图",null), menuitem211: commonLogic.appcommonhandle("导航视图",null),
menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null), menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null), menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null),
......
...@@ -366,16 +366,11 @@ function getAppLocale(){ ...@@ -366,16 +366,11 @@ function getAppLocale(){
menuitem24: commonLogic.appcommonhandle("表单嵌入卡片视图",null), menuitem24: commonLogic.appcommonhandle("表单嵌入卡片视图",null),
menuitem25: commonLogic.appcommonhandle("关系界面刷新主表单",null), menuitem25: commonLogic.appcommonhandle("关系界面刷新主表单",null),
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null), menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null), menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null), menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null), menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null),
menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null), menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null),
menuitem159: commonLogic.appcommonhandle("卡片视图(布局面板)",null),
menuitem185: commonLogic.appcommonhandle("测试布局面板(树视图)",null),
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
menuitem190: commonLogic.appcommonhandle("视图",null), menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null), menuitem191: commonLogic.appcommonhandle("单数据视图",null),
...@@ -388,16 +383,16 @@ function getAppLocale(){ ...@@ -388,16 +383,16 @@ function getAppLocale(){
menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null), menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null), menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem200: commonLogic.appcommonhandle("多数据视图",null), menuitem200: commonLogic.appcommonhandle("多数据视图",null),
menuitem201: commonLogic.appcommonhandle("实体表格视图",null), menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null), menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem203: commonLogic.appcommonhandle("实体甘特视图",null), menuitem203: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem204: commonLogic.appcommonhandle("实体列表视图",null), menuitem204: commonLogic.appcommonhandle("实体列表视图",null),
menuitem205: commonLogic.appcommonhandle("实体日历视图",null), menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem206: commonLogic.appcommonhandle("实体看板视图",null), menuitem206: commonLogic.appcommonhandle("实体看板视图",null),
menuitem207: commonLogic.appcommonhandle("实体树表格视图",null), menuitem207: commonLogic.appcommonhandle("实体树表格视图",null),
menuitem208: commonLogic.appcommonhandle("实体树视图",null), menuitem185: commonLogic.appcommonhandle("测试布局面板(树视图)",null),
menuitem209: commonLogic.appcommonhandle("实体数据视图",null), menuitem159: commonLogic.appcommonhandle("卡片视图(布局面板)",null),
menuitem210: commonLogic.appcommonhandle("实体图表视图",null), menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem211: commonLogic.appcommonhandle("导航视图",null), menuitem211: commonLogic.appcommonhandle("导航视图",null),
menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null), menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null), menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null),
......
...@@ -366,16 +366,11 @@ function getAppLocale(){ ...@@ -366,16 +366,11 @@ function getAppLocale(){
menuitem24: commonLogic.appcommonhandle("表单嵌入卡片视图",null), menuitem24: commonLogic.appcommonhandle("表单嵌入卡片视图",null),
menuitem25: commonLogic.appcommonhandle("关系界面刷新主表单",null), menuitem25: commonLogic.appcommonhandle("关系界面刷新主表单",null),
menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null), menuitem66: commonLogic.appcommonhandle("视图布局面板测试",null),
menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null), menuitem125: commonLogic.appcommonhandle("测试表单自定义布局多媒体",null),
menuitem126: commonLogic.appcommonhandle("自定义导航",null), menuitem126: commonLogic.appcommonhandle("自定义导航",null),
menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null), menuitem130: commonLogic.appcommonhandle("布局面板组件测试",null),
menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null), menuitem131: commonLogic.appcommonhandle("编辑视图(左右关系)",null),
menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null), menuitem142: commonLogic.appcommonhandle("列表视图(自定义面板)",null),
menuitem159: commonLogic.appcommonhandle("卡片视图(布局面板)",null),
menuitem185: commonLogic.appcommonhandle("测试布局面板(树视图)",null),
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
menuitem190: commonLogic.appcommonhandle("视图",null), menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null), menuitem191: commonLogic.appcommonhandle("单数据视图",null),
...@@ -388,16 +383,16 @@ function getAppLocale(){ ...@@ -388,16 +383,16 @@ function getAppLocale(){
menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null), menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null), menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem200: commonLogic.appcommonhandle("多数据视图",null), menuitem200: commonLogic.appcommonhandle("多数据视图",null),
menuitem201: commonLogic.appcommonhandle("实体表格视图",null), menuitem122: commonLogic.appcommonhandle("表格视图面板",null),
menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null), menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem203: commonLogic.appcommonhandle("实体甘特视图",null), menuitem203: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem204: commonLogic.appcommonhandle("实体列表视图",null), menuitem204: commonLogic.appcommonhandle("实体列表视图",null),
menuitem205: commonLogic.appcommonhandle("实体日历视图",null), menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem206: commonLogic.appcommonhandle("实体看板视图",null), menuitem206: commonLogic.appcommonhandle("实体看板视图",null),
menuitem207: commonLogic.appcommonhandle("实体树表格视图",null), menuitem207: commonLogic.appcommonhandle("实体树表格视图",null),
menuitem208: commonLogic.appcommonhandle("实体树视图",null), menuitem185: commonLogic.appcommonhandle("测试布局面板(树视图)",null),
menuitem209: commonLogic.appcommonhandle("实体数据视图",null), menuitem159: commonLogic.appcommonhandle("卡片视图(布局面板)",null),
menuitem210: commonLogic.appcommonhandle("实体图表视图",null), menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem211: commonLogic.appcommonhandle("导航视图",null), menuitem211: commonLogic.appcommonhandle("导航视图",null),
menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null), menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null), menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null),
......
...@@ -33,6 +33,22 @@ export class PanelContainerModel extends PanelDetailModel { ...@@ -33,6 +33,22 @@ export class PanelContainerModel extends PanelDetailModel {
*/ */
public sysImage: any = {}; public sysImage: any = {};
/**
* 应用实体codeName
*
* @type {(string | undefined)}
* @memberof PanelContainerModel
*/
public appDataEntityCodeName:string | undefined = undefined;
/**
* 应用实体方法CodeName
*
* @type {(string | undefined)}
* @memberof PanelContainerModel
*/
public appDEMethodCodeName:string | undefined = undefined;
/** /**
* Creates an instance of PanelContainerModel. * Creates an instance of PanelContainerModel.
* @param {*} [opts={}] * @param {*} [opts={}]
...@@ -43,6 +59,8 @@ export class PanelContainerModel extends PanelDetailModel { ...@@ -43,6 +59,8 @@ export class PanelContainerModel extends PanelDetailModel {
this.details = opts.details; this.details = opts.details;
this.titleBarCloseMode = opts.titleBarCloseMode; this.titleBarCloseMode = opts.titleBarCloseMode;
this.sysImage = opts.sysImage; this.sysImage = opts.sysImage;
this.appDataEntityCodeName = opts.appDataEntityCodeName;
this.appDEMethodCodeName = opts.appDEMethodCodeName;
} }
/** /**
......
.ibizbookoption-view-layout{ .ibizbookoption-view-layout {
position: relative; display: block;
}
.app-modal{
.view-container {
.view-card {
.ivu-card-body {
.content-container{
height: calc(100% - 64px);
.ivu-badge{
.ivu-badge-count{
top: -5px;
}
}
}
}
}
}
} }
<template> <template>
<div class="view-container dewizardview ibizbookwizard-view-layout"> <div class="app-view-layout ibizbookwizard-view-layout" style="height: '100%'; width: '100%'; overflow: 'auto';">
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizbookwizardview_layout"></app-studioaction> <app-standard-container name="page_container" :layoutModelDetails="layoutModelDetails">
<card class='view-card view-no-caption view-no-toolbar' :dis-hover='true' :padding='0' :bordered='false'> <template #container_scroll1>
<app-scroll-container name="container_scroll1" :layoutModelDetails="layoutModelDetails">
<template #container_scroll_main1>
<div class='view-top-messages'> <app-scroll-container name="container_scroll_main1" :layoutModelDetails="layoutModelDetails">
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup52' viewname='ibizbookwizardview_layout'></app-alert-group> </div> <template #nav_pos1>
<div class="content-container"> <app-nav-pos name="nav_pos1" :layoutModelDetails="layoutModelDetails" :navData="layoutModelDetails['nav_pos1'].navData"></app-nav-pos>
</template>
</app-scroll-container>
</template>
<template #container_scroll_header1>
<app-scroll-container name="container_scroll_header1" :layoutModelDetails="layoutModelDetails">
<template #wizardpanel>
<app-ctrl-pos name="wizardpanel" :layoutModelDetails="layoutModelDetails">
<view_wizardpanel <view_wizardpanel
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -19,10 +26,15 @@ ...@@ -19,10 +26,15 @@
ref='wizardpanel' ref='wizardpanel'
@finish="wizardpanel_finish($event)" @finish="wizardpanel_finish($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_wizardpanel> </view_wizardpanel>
</app-ctrl-pos>
</template>
</app-scroll-container>
</template>
</app-scroll-container>
</template>
</app-standard-container>
</div> </div>
</card>
</div>
</template> </template>
<script lang='tsx'> <script lang='tsx'>
...@@ -36,6 +48,7 @@ import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service'; ...@@ -36,6 +48,7 @@ import IBIZBOOKAuthService from '@/authservice/ibizbook/ibizbook-auth-service';
import WizardViewEngine from '@engine/view/wizard-view-engine'; import WizardViewEngine from '@engine/view/wizard-view-engine';
import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service'; import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
@Component({ @Component({
...@@ -221,6 +234,131 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue { ...@@ -221,6 +234,131 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue {
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
/**
* 视图布局数据
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public layoutData:any = {
nav_pos1:null,
container_scroll_main1:null,
wizardpanel:null,
container_scroll_header1:null,
container_scroll1:null,
page_container:null
};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public layoutModelDetails:any = {
nav_pos1:new PanelRawitemModel({ name: 'nav_pos1', caption: '导航区占位', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this , viewType: 'DEWIZARDVIEW', predefinedType: 'NAV_POS', contentType: '', contentStyle: '', rawContent: '', htmlContent: '', }),
container_scroll_main1:new PanelContainerModel({ name: 'container_scroll_main1', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['nav_pos1'] , dataRegionType: 'INHERIT' }),
wizardpanel:new PanelCtrlPosModel({ name: 'wizardpanel', caption: '向导面板', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_header1', panel: this }),
container_scroll_header1:new PanelContainerModel({ name: 'container_scroll_header1', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'NORTH', layoutHeight:80, heightMode:'PX', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['wizardpanel'] , dataRegionType: 'INHERIT' }),
container_scroll1:new PanelContainerModel({ name: 'container_scroll1', caption: '滚动条容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container_scroll_main1','container_scroll_header1'] , dataRegionType: 'INHERIT' }),
page_container:new PanelContainerModel({ name: 'page_container', 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:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_scroll1'] , dataRegionType: 'INHERIT' })
};
/**
* 初始化布局
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
this.rootLayoutDetailNames.forEach(async (name: string) => {
const rootLayoutModelDetail = this.layoutModelDetails[name];
if (!rootLayoutModelDetail) {
return;
}
await this.initLayoutItem(rootLayoutModelDetail);
})
}
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public async initLayoutItem(layoutModelDetail: any, index: number = 0) {
const { name } = layoutModelDetail;
if (!index) {
await layoutModelDetail.load();
this.layoutData[name] = layoutModelDetail.getData();
} else {
const clonelayoutModelDetail = Util.deepCopy(layoutModelDetail);
clonelayoutModelDetail.setIndex(index);
await clonelayoutModelDetail.load();
this.layoutModelDetails.$set(`${name}_${index}`, clonelayoutModelDetail);
this.layoutData.$set(`${name}_${index}`, clonelayoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
multiData.forEach(async (data: any, index: number) => {
for (const key of layoutModelDetail.details) {
if (this.layoutModelDetails[key]) {
await this.initLayoutItem(this.layoutModelDetails[key], index);
}
}
})
}
} else {
for (const key of layoutModelDetail.details) {
if (this.layoutModelDetails[key]) {
await this.initLayoutItem(this.layoutModelDetails[key]);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public handleValueChange($event: { name: string, value: any }) {
if (!$event || !$event.name || Object.is($event.name, '') || !this.layoutData.hasOwnProperty($event.name)) {
return;
}
this.layoutData[$event.name] = $event.value;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const _this: any = this;
}
/** /**
* 视图引擎 * 视图引擎
......
.ibizbookwizard-view-layout{ .ibizbookwizard-view-layout {
position: relative; display: block;
}
.ibizbookwizard-view-layout{
> .view-card > .ivu-card-body > .content-container > .app-wizard {
overflow: auto;
}
} }
...@@ -420,10 +420,10 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue { ...@@ -420,10 +420,10 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
static_videoplayer1:new PanelRawitemModel({ name: 'static_videoplayer1', 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: 'container8', panel: this , viewType: 'DEEDITVIEW', predefinedType: 'STATIC_VIDEOPLAYER', contentType: 'RAW', contentStyle: '', rawContent: '', htmlContent: '', renderMode: '', }), static_videoplayer1:new PanelRawitemModel({ name: 'static_videoplayer1', 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: 'container8', panel: this , viewType: 'DEEDITVIEW', predefinedType: 'STATIC_VIDEOPLAYER', contentType: 'RAW', contentStyle: '', rawContent: '', htmlContent: '', renderMode: '', }),
container8:new PanelContainerModel({ name: 'container8', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:600, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , details:['static_videoplayer1'] , dataRegionType: 'INHERIT' }), container8:new PanelContainerModel({ name: 'container8', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:600, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'LEFT', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , details:['static_videoplayer1'] , dataRegionType: 'INHERIT' }),
container2:new PanelContainerModel({ name: 'container2', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container_grid2','container_grid3','container8'] , dataRegionType: 'INHERIT' }), container2:new PanelContainerModel({ name: 'container2', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container_grid2','container_grid3','container8'] , dataRegionType: 'INHERIT' }),
container_singledata1:new PanelContainerModel({ name: 'container_singledata1', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:[] , dataRegionType: 'SINGLEDATA' , dataSourceType: 'DEACTION' }), container_singledata1:new PanelContainerModel({ name: 'container_singledata1', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:[] , dataRegionType: 'SINGLEDATA' , dataSourceType: 'DEACTION' , appDataEntityCodeName: 'ibizcustomer' , appDEMethodCodeName: 'Get' }),
static_text1:new PanelRawitemModel({ name: 'static_text1', 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: 'container9', panel: this , viewType: 'DEEDITVIEW', predefinedType: 'STATIC_TEXT', contentType: 'RAW', contentStyle: '', rawContent: '文本内容', htmlContent: '', renderMode: 'TEXT', }), static_text1:new PanelRawitemModel({ name: 'static_text1', 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: 'container9', panel: this , viewType: 'DEEDITVIEW', predefinedType: 'STATIC_TEXT', contentType: 'RAW', contentStyle: '', rawContent: '文本内容', htmlContent: '', renderMode: 'TEXT', }),
container9:new PanelContainerModel({ name: 'container9', 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:'',vAlign:''}, parentName: 'container_multidata1', panel: this , details:['static_text1'] , dataRegionType: 'INHERIT' }), container9:new PanelContainerModel({ name: 'container9', 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:'',vAlign:''}, parentName: 'container_multidata1', panel: this , details:['static_text1'] , dataRegionType: 'INHERIT' }),
container_multidata1:new PanelContainerModel({ name: 'container_multidata1', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container9'] , dataRegionType: 'MULTIDATA' , dataSourceType: 'DEDATASET' }), container_multidata1:new PanelContainerModel({ name: 'container_multidata1', 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:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container9'] , dataRegionType: 'MULTIDATA' , dataSourceType: 'DEDATASET' , appDataEntityCodeName: 'ibizcustomer' , appDEMethodCodeName: 'FetchDefault' }),
page_container:new PanelContainerModel({ name: 'page_container', 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:['container_grid1','container3','container2','container_singledata1','container_multidata1'] , dataRegionType: 'INHERIT' }) page_container:new PanelContainerModel({ name: 'page_container', 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:['container_grid1','container3','container2','container_singledata1','container_multidata1'] , dataRegionType: 'INHERIT' })
}; };
......
...@@ -104,15 +104,10 @@ export const PageComponents = { ...@@ -104,15 +104,10 @@ export const PageComponents = {
Vue.component('ibizbookdata-view-exp-view', () => import('@pages/sample/ibizbookdata-view-exp-view/ibizbookdata-view-exp-view.vue')); Vue.component('ibizbookdata-view-exp-view', () => import('@pages/sample/ibizbookdata-view-exp-view/ibizbookdata-view-exp-view.vue'));
Vue.component('ibizbookusr4-edit-view', () => import('@pages/sample/ibizbookusr4-edit-view/ibizbookusr4-edit-view.vue')); Vue.component('ibizbookusr4-edit-view', () => import('@pages/sample/ibizbookusr4-edit-view/ibizbookusr4-edit-view.vue'));
Vue.component('ibizorder-detail-usr3-edit-view', () => import('@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue')); Vue.component('ibizorder-detail-usr3-edit-view', () => import('@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'));
Vue.component('ibizorder-usr2-grid-view', () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'));
Vue.component('ibizcustomer-media-test-edit-view', () => import('@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view.vue')); Vue.component('ibizcustomer-media-test-edit-view', () => import('@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view.vue'));
Vue.component('ibizorder-test-custom-layout-panel-grid-exp-view', () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue')); Vue.component('ibizorder-test-custom-layout-panel-grid-exp-view', () => import('@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'));
Vue.component('ibizorder-test-cledit-view2', () => import('@pages/sample/ibizorder-test-cledit-view2/ibizorder-test-cledit-view2.vue')); Vue.component('ibizorder-test-cledit-view2', () => import('@pages/sample/ibizorder-test-cledit-view2/ibizorder-test-cledit-view2.vue'));
Vue.component('ibizbooktest-cllist-view', () => import('@pages/sample/ibizbooktest-cllist-view/ibizbooktest-cllist-view.vue')); Vue.component('ibizbooktest-cllist-view', () => import('@pages/sample/ibizbooktest-cllist-view/ibizbooktest-cllist-view.vue'));
Vue.component('ibizbooktest-cldata-view', () => import('@pages/sample/ibizbooktest-cldata-view/ibizbooktest-cldata-view.vue'));
Vue.component('ibizbooktest-cltree-view', () => import('@pages/sample/ibizbooktest-cltree-view/ibizbooktest-cltree-view.vue'));
Vue.component('ibizbooktest-clcalendar-view', () => import('@pages/sample/ibizbooktest-clcalendar-view/ibizbooktest-clcalendar-view.vue'));
Vue.component('ibizorder-test-clchart-view', () => import('@pages/sample/ibizorder-test-clchart-view/ibizorder-test-clchart-view.vue'));
Vue.component('ibizorder-test-cltree-exp-view', () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue')); Vue.component('ibizorder-test-cltree-exp-view', () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue'));
Vue.component('ibizbookwizard-view-layout', () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue')); Vue.component('ibizbookwizard-view-layout', () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'));
Vue.component('ibizbookinter-func-edit-view-layout', () => import('@pages/sample/ibizbookinter-func-edit-view-layout/ibizbookinter-func-edit-view-layout.vue')); Vue.component('ibizbookinter-func-edit-view-layout', () => import('@pages/sample/ibizbookinter-func-edit-view-layout/ibizbookinter-func-edit-view-layout.vue'));
...@@ -122,6 +117,11 @@ export const PageComponents = { ...@@ -122,6 +117,11 @@ export const PageComponents = {
Vue.component('ibizsample0003-stab-exp-view-layout', () => import('@pages/sample/ibizsample0003-stab-exp-view-layout/ibizsample0003-stab-exp-view-layout.vue')); Vue.component('ibizsample0003-stab-exp-view-layout', () => import('@pages/sample/ibizsample0003-stab-exp-view-layout/ibizsample0003-stab-exp-view-layout.vue'));
Vue.component('ibizbookdashboard-view-layout', () => import('@pages/sample/ibizbookdashboard-view-layout/ibizbookdashboard-view-layout.vue')); Vue.component('ibizbookdashboard-view-layout', () => import('@pages/sample/ibizbookdashboard-view-layout/ibizbookdashboard-view-layout.vue'));
Vue.component('ibizbookusr6-grid-view-layout', () => import('@pages/sample/ibizbookusr6-grid-view-layout/ibizbookusr6-grid-view-layout.vue')); Vue.component('ibizbookusr6-grid-view-layout', () => import('@pages/sample/ibizbookusr6-grid-view-layout/ibizbookusr6-grid-view-layout.vue'));
Vue.component('ibizorder-usr2-grid-view', () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'));
Vue.component('ibizbooktest-clcalendar-view', () => import('@pages/sample/ibizbooktest-clcalendar-view/ibizbooktest-clcalendar-view.vue'));
Vue.component('ibizbooktest-cltree-view', () => import('@pages/sample/ibizbooktest-cltree-view/ibizbooktest-cltree-view.vue'));
Vue.component('ibizbooktest-cldata-view', () => import('@pages/sample/ibizbooktest-cldata-view/ibizbooktest-cldata-view.vue'));
Vue.component('ibizorder-test-clchart-view', () => import('@pages/sample/ibizorder-test-clchart-view/ibizorder-test-clchart-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-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('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -1609,20 +1609,6 @@ const router = new Router({ ...@@ -1609,20 +1609,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'), component: () => import('@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'),
}, },
{
path: 'ibizorders/:ibizorder?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizorder.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'),
},
{ {
path: 'ibizcustomers/:ibizcustomer?/mediatesteditview/:mediatesteditview?', path: 'ibizcustomers/:ibizcustomer?/mediatesteditview/:mediatesteditview?',
meta: { meta: {
...@@ -1692,62 +1678,6 @@ const router = new Router({ ...@@ -1692,62 +1678,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbooktest-cllist-view/ibizbooktest-cllist-view.vue'), component: () => import('@pages/sample/ibizbooktest-cllist-view/ibizbooktest-cllist-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/testcldataview/:testcldataview?',
meta: {
caption: 'entities.ibizbook.views.testcldataview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testcldataview', parameterName: 'testcldataview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktest-cldata-view/ibizbooktest-cldata-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/testcltreeview/:testcltreeview?',
meta: {
caption: 'entities.ibizbook.views.testcltreeview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testcltreeview', parameterName: 'testcltreeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktest-cltree-view/ibizbooktest-cltree-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/testclcalendarview/:testclcalendarview?',
meta: {
caption: 'entities.ibizbook.views.testclcalendarview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testclcalendarview', parameterName: 'testclcalendarview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktest-clcalendar-view/ibizbooktest-clcalendar-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/testclchartview/:testclchartview?',
meta: {
caption: 'entities.ibizorder.views.testclchartview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'testclchartview', parameterName: 'testclchartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-test-clchart-view/ibizorder-test-clchart-view.vue'),
},
{ {
path: 'ibizorders/:ibizorder?/testcltreeexpview/:testcltreeexpview?', path: 'ibizorders/:ibizorder?/testcltreeexpview/:testcltreeexpview?',
meta: { meta: {
...@@ -1874,6 +1804,76 @@ const router = new Router({ ...@@ -1874,6 +1804,76 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr6-grid-view-layout/ibizbookusr6-grid-view-layout.vue'), component: () => import('@pages/sample/ibizbookusr6-grid-view-layout/ibizbookusr6-grid-view-layout.vue'),
}, },
{
path: 'ibizorders/:ibizorder?/usr2gridview/:usr2gridview?',
meta: {
caption: 'entities.ibizorder.views.usr2gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr2gridview', parameterName: 'usr2gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/testclcalendarview/:testclcalendarview?',
meta: {
caption: 'entities.ibizbook.views.testclcalendarview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testclcalendarview', parameterName: 'testclcalendarview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktest-clcalendar-view/ibizbooktest-clcalendar-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/testcltreeview/:testcltreeview?',
meta: {
caption: 'entities.ibizbook.views.testcltreeview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testcltreeview', parameterName: 'testcltreeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktest-cltree-view/ibizbooktest-cltree-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/testcldataview/:testcldataview?',
meta: {
caption: 'entities.ibizbook.views.testcldataview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'testcldataview', parameterName: 'testcldataview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktest-cldata-view/ibizbooktest-cldata-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/testclchartview/:testclchartview?',
meta: {
caption: 'entities.ibizorder.views.testclchartview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'testclchartview', parameterName: 'testclchartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-test-clchart-view/ibizorder-test-clchart-view.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
......
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
@itemClick="handleButtonClick"> @itemClick="handleButtonClick">
</app-preset-button> </app-preset-button>
</template> </template>
<template #button_openview1> <template #button_openview>
<app-preset-button <app-preset-button
name="button_openview1" name="button_openview"
:layoutModelDetails="layoutModelDetails" :layoutModelDetails="layoutModelDetails"
caption="应用视图" caption="应用视图"
tooltip="" tooltip=""
...@@ -314,7 +314,7 @@ export default class AppIndexViewBase extends Vue { ...@@ -314,7 +314,7 @@ export default class AppIndexViewBase extends Vue {
field_textbox:null, field_textbox:null,
field_qrcode:null, field_qrcode:null,
button_link1:null, button_link1:null,
button_openview1:null, button_openview:null,
button_calluilogic1:null, button_calluilogic1:null,
button_calluilogic2:null, button_calluilogic2:null,
button_calluilogic3:null, button_calluilogic3:null,
...@@ -342,7 +342,7 @@ export default class AppIndexViewBase extends Vue { ...@@ -342,7 +342,7 @@ export default class AppIndexViewBase extends Vue {
field_textbox:new PanelFieldModel({ name: 'field_textbox', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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 , fieldState: '0', }), field_textbox:new PanelFieldModel({ name: 'field_textbox', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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 , fieldState: '0', }),
field_qrcode:new PanelFieldModel({ name: 'field_qrcode', caption: '二维码', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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 , fieldState: '0', }), field_qrcode:new PanelFieldModel({ name: 'field_qrcode', caption: '二维码', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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 , fieldState: '0', }),
button_link1:new PanelButtonModel({ name: 'button_link1', 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', iconAlign: '', renderMode: 'LINK', }), button_link1:new PanelButtonModel({ name: 'button_link1', 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', iconAlign: '', renderMode: 'LINK', }),
button_openview1:new PanelButtonModel({ name: 'button_openview1', 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', iconAlign: '', renderMode: '', }), button_openview:new PanelButtonModel({ name: 'button_openview', 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', iconAlign: '', renderMode: '', }),
button_calluilogic1:new PanelButtonModel({ name: 'button_calluilogic1', 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', iconAlign: '', renderMode: '', }), button_calluilogic1:new PanelButtonModel({ name: 'button_calluilogic1', 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', iconAlign: '', renderMode: '', }),
button_calluilogic2:new PanelButtonModel({ name: 'button_calluilogic2', caption: '界面行为按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INFO', 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: 'INFO', iconAlign: '', renderMode: '', }), button_calluilogic2:new PanelButtonModel({ name: 'button_calluilogic2', caption: '界面行为按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INFO', 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: 'INFO', iconAlign: '', renderMode: '', }),
button_calluilogic3:new PanelButtonModel({ name: 'button_calluilogic3', caption: '实体视图按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'PRIMARY', 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: 'PRIMARY', iconAlign: '', renderMode: '', }), button_calluilogic3:new PanelButtonModel({ name: 'button_calluilogic3', caption: '实体视图按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'PRIMARY', 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: 'PRIMARY', iconAlign: '', renderMode: '', }),
...@@ -351,7 +351,7 @@ export default class AppIndexViewBase extends Vue { ...@@ -351,7 +351,7 @@ export default class AppIndexViewBase extends Vue {
button_calluilogic8:new PanelButtonModel({ name: 'button_calluilogic8', caption: '删除数据按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'PRIMARY', 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: 'PRIMARY', iconAlign: '', predefinedType: 'DATA_REMOVEOBJECT', renderMode: '', }), button_calluilogic8:new PanelButtonModel({ name: 'button_calluilogic8', caption: '删除数据按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'PRIMARY', 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: 'PRIMARY', iconAlign: '', predefinedType: 'DATA_REMOVEOBJECT', renderMode: '', }),
button_calluilogic9:new PanelButtonModel({ name: 'button_calluilogic9', caption: '同步数据按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INVERSE', 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: 'INVERSE', iconAlign: '', predefinedType: 'DATA_SYNCHRONIZE', renderMode: '', }), button_calluilogic9:new PanelButtonModel({ name: 'button_calluilogic9', caption: '同步数据按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INVERSE', 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: 'INVERSE', iconAlign: '', predefinedType: 'DATA_SYNCHRONIZE', renderMode: '', }),
button_calluilogic10:new PanelButtonModel({ name: 'button_calluilogic10', 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', iconAlign: '', renderMode: '', }), button_calluilogic10:new PanelButtonModel({ name: 'button_calluilogic10', 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', iconAlign: '', renderMode: '', }),
container1:new PanelContainerModel({ name: 'container1', 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_switch','field_textbox','field_qrcode','button_link1','button_openview1','button_calluilogic1','button_calluilogic2','button_calluilogic3','button_calluilogic5','button_calluilogic6','button_calluilogic8','button_calluilogic9','button_calluilogic10'] , dataRegionType: 'INHERIT' }) container1:new PanelContainerModel({ name: 'container1', 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_switch','field_textbox','field_qrcode','button_link1','button_openview','button_calluilogic1','button_calluilogic2','button_calluilogic3','button_calluilogic5','button_calluilogic6','button_calluilogic8','button_calluilogic9','button_calluilogic10'] , dataRegionType: 'INHERIT' })
}; };
/** /**
...@@ -441,8 +441,8 @@ export default class AppIndexViewBase extends Vue { ...@@ -441,8 +441,8 @@ export default class AppIndexViewBase extends Vue {
if (Object.is(name, 'button_link1')) { if (Object.is(name, 'button_link1')) {
_this.panel_Usr1102678360_button_link1_click(datas, contextJO, paramJO, $event, xData, this, undefined); _this.panel_Usr1102678360_button_link1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
} }
if (Object.is(name, 'button_openview1')) { if (Object.is(name, 'button_openview')) {
_this.panel_Usr1102678360_button_openview1_click(datas, contextJO, paramJO, $event, xData, this, undefined); _this.panel_Usr1102678360_button_openview_click(datas, contextJO, paramJO, $event, xData, this, undefined);
} }
if (Object.is(name, 'button_calluilogic2')) { if (Object.is(name, 'button_calluilogic2')) {
const curUIService: IBIZBOOKUIService = new IBIZBOOKUIService(); const curUIService: IBIZBOOKUIService = new IBIZBOOKUIService();
...@@ -521,7 +521,7 @@ export default class AppIndexViewBase extends Vue { ...@@ -521,7 +521,7 @@ export default class AppIndexViewBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称 * @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>} * @returns {Promise<any>}
*/ */
public async panel_Usr1102678360_button_openview1_click(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public async panel_Usr1102678360_button_openview_click(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let data: any = {}; let data: any = {};
let parentContext:any = {}; let parentContext:any = {};
......
...@@ -846,16 +846,11 @@ export const viewstate: any = { ...@@ -846,16 +846,11 @@ export const viewstate: any = {
'bb3b65cf9ba40413db60adce27a94db7', 'bb3b65cf9ba40413db60adce27a94db7',
'f0e584392d060bfef6ad4cec29f73d0d', 'f0e584392d060bfef6ad4cec29f73d0d',
'd1e103c50de1fa941638bec77683936c', 'd1e103c50de1fa941638bec77683936c',
'504c018faa34b2d0fce7c4c56569e02e',
'7ce3aaf69c0b882631428087b7db6464', '7ce3aaf69c0b882631428087b7db6464',
'38b0b453d423e0772822db6be4f02505', '38b0b453d423e0772822db6be4f02505',
'2D42F3B7-3267-4276-9120-10F2D81E35AF', '2D42F3B7-3267-4276-9120-10F2D81E35AF',
'D6D7779F-95C9-48C0-B2E1-ED4C20E5E157', 'D6D7779F-95C9-48C0-B2E1-ED4C20E5E157',
'79C13556-8423-4886-ADB3-6FF73C1E97F1', '79C13556-8423-4886-ADB3-6FF73C1E97F1',
'085AFCE3-1192-4CF2-993A-7A4EB1D55A06',
'121A691B-48F2-40B0-AF2A-4399BD5092F7',
'763A9DA0-DC92-49C9-85B7-647A36C019C9',
'BD432FCA-7527-48B5-B553-AE51D75438A3',
'5515A024-BD26-40B2-A13E-932A0DF3E40A', '5515A024-BD26-40B2-A13E-932A0DF3E40A',
'ca90f2d89734ba48161642abc9d2cbbd', 'ca90f2d89734ba48161642abc9d2cbbd',
'6c9e2f980d5916949d3b16944f887a4b', '6c9e2f980d5916949d3b16944f887a4b',
...@@ -865,6 +860,11 @@ export const viewstate: any = { ...@@ -865,6 +860,11 @@ export const viewstate: any = {
'4a0d51e3bca39ffa8dc989e13a1a613f', '4a0d51e3bca39ffa8dc989e13a1a613f',
'fd181f2767ed6c82915d092a2ff51e01', 'fd181f2767ed6c82915d092a2ff51e01',
'0b688f3a0ebe91bb9415994dbb285f03', '0b688f3a0ebe91bb9415994dbb285f03',
'504c018faa34b2d0fce7c4c56569e02e',
'763A9DA0-DC92-49C9-85B7-647A36C019C9',
'121A691B-48F2-40B0-AF2A-4399BD5092F7',
'085AFCE3-1192-4CF2-993A-7A4EB1D55A06',
'BD432FCA-7527-48B5-B553-AE51D75438A3',
], ],
}, },
{ {
......
...@@ -1300,7 +1300,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1300,7 +1300,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1335,7 +1335,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1335,7 +1335,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1396,7 +1396,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1396,7 +1396,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1504,7 +1504,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1504,7 +1504,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1578,7 +1578,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1578,7 +1578,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -104,6 +104,21 @@ export default class MainModel { ...@@ -104,6 +104,21 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-112-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-134-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册