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

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

上级 3eb190cc
......@@ -46,7 +46,7 @@ export default class AppFieldImageDynamic extends Vue {
*
* @memberof AppFieldImageDynamic
*/
@Watch('value')
@Watch('value',{immediate: true})
onValueChange(newVal: any, oldVal: any) {
this.handleDynaImg();
}
......
<template>
<div :class="curClassName" :style="curStyle">
<el-carousel class="carsouel-container" height="150px" indicator-position="outside" :autoplay="false"
:interval="swipeConfig.interval">
<el-carousel class="carsouel-container" height="150px" indicator-position="outside" :autoplay="swipeConfig.isAuto"
:interval="swipeConfig.timeSpan">
<el-carousel-item v-for="item in swipeData" :key="item.key">
<div class="carousel-img-item">
<img class="app-carouse-img" v-if="item.type === 'img'" :src="item.value" @error="imgError" />
......
.ibizbookcustom-view {
display: block;
.ibizbookcustom-view{
position: relative;
}
......@@ -803,7 +803,8 @@ export default class IBIZBOOKFormLoadCustomViewBase extends Vue {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
this.appUIService.executeUILogic('CustomViewFormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
window.uiServiceRegister.getService('IBIZBOOK').then((service: any) => {
service.executeUILogic('CustomViewFormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
......@@ -813,6 +814,7 @@ export default class IBIZBOOKFormLoadCustomViewBase extends Vue {
}
});
})
})
}
......
......@@ -845,7 +845,8 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
this.appUIService.executeUILogic('CustomViewGridLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
window.uiServiceRegister.getService('IBIZBOOK').then((service: any) => {
service.executeUILogic('CustomViewGridLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
......@@ -855,6 +856,7 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
}
});
})
})
}
/**
......
......@@ -803,7 +803,8 @@ export default class IBIZBOOKTestLogicCustomViewBase extends Vue {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
this.appUIService.executeUILogic('FormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
window.uiServiceRegister.getService('IBIZBOOK').then((service: any) => {
service.executeUILogic('FormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
......@@ -813,6 +814,7 @@ export default class IBIZBOOKTestLogicCustomViewBase extends Vue {
}
});
})
})
}
......@@ -849,7 +851,8 @@ export default class IBIZBOOKTestLogicCustomViewBase extends Vue {
* @memberof IBIZBOOKTestLogicCustomViewBase
*/
public afterDestroyed(){
this.appUIService.executeUILogic('FormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
window.uiServiceRegister.getService('IBIZBOOK').then((service: any) => {
service.executeUILogic('FormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
......@@ -885,6 +888,7 @@ export default class IBIZBOOKTestLogicCustomViewBase extends Vue {
}
this.viewState.complete();
});
});
}
}
......
......@@ -837,7 +837,8 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
this.appUIService.executeUILogic('CustomViewFormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZCustom').then((result: any) => {
window.uiServiceRegister.getService('IBIZCustom').then((service: any) => {
service.executeUILogic('CustomViewFormLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZCustom').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
......@@ -847,6 +848,7 @@ export default class IBIZCustomCustomEditViewBase extends Vue {
}
});
})
})
}
/**
......
......@@ -931,7 +931,8 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
this.appUIService.executeUILogic('CustomViewGridLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZCustom').then((result: any) => {
window.uiServiceRegister.getService('IBIZCustom').then((service: any) => {
service.executeUILogic('CustomViewGridLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZCustom').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
......@@ -941,6 +942,7 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
}
});
})
})
}
/**
......
.ibizorder-calendar-exp-view {
.ibizorder-calendar-exp-view{
position: relative;
}
.ibizorder-calendar-exp-view{
display: block;
}
......@@ -3,11 +3,9 @@ import { Component } from 'vue-property-decorator';
import IBIZOrderCalendarExpViewBase from './ibizorder-calendar-exp-view-base.vue';
import view_calendarexpbar from '@widgets/ibizorder/calendar-exp-viewcalendarexpbar-calendarexpbar/calendar-exp-viewcalendarexpbar-calendarexpbar.vue';
import view_searchbar from '@widgets/ibizorder/-searchbar/-searchbar.vue';
@Component({
components: {
view_calendarexpbar,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
.ibizorder-data-view-exp-view {
.ibizorder-data-view-exp-view{
position: relative;
}
.ibizorder-data-view-exp-view{
display: block;
}
......@@ -3,11 +3,9 @@ import { Component } from 'vue-property-decorator';
import IBIZOrderDataViewExpViewBase from './ibizorder-data-view-exp-view-base.vue';
import view_dataviewexpbar from '@widgets/ibizorder/data-view-exp-viewdataviewexpbar-dataviewexpbar/data-view-exp-viewdataviewexpbar-dataviewexpbar.vue';
import view_searchbar from '@widgets/ibizorder/-searchbar/-searchbar.vue';
@Component({
components: {
view_dataviewexpbar,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
.ibizorder-grid-exp-view {
.ibizorder-grid-exp-view{
position: relative;
}
.ibizorder-grid-exp-view{
display: block;
}
......@@ -3,11 +3,9 @@ import { Component } from 'vue-property-decorator';
import IBIZOrderGridExpViewBase from './ibizorder-grid-exp-view-base.vue';
import view_gridexpbar from '@widgets/ibizorder/grid-exp-viewgridexpbar-gridexpbar/grid-exp-viewgridexpbar-gridexpbar.vue';
import view_searchbar from '@widgets/ibizorder/-searchbar/-searchbar.vue';
@Component({
components: {
view_gridexpbar,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
.ibizorder-list-exp-view {
.ibizorder-list-exp-view{
position: relative;
}
.ibizorder-list-exp-view{
display: block;
}
......@@ -3,11 +3,9 @@ import { Component } from 'vue-property-decorator';
import IBIZOrderListExpViewBase from './ibizorder-list-exp-view-base.vue';
import view_listexpbar from '@widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar.vue';
import view_searchbar from '@widgets/ibizorder/-searchbar/-searchbar.vue';
@Component({
components: {
view_listexpbar,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
.ibizorder-tree-exp-view {
display: block;
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizorder-tree-exp-view{
position: relative;
height: 100%;
}
......@@ -3,11 +3,9 @@ import { Component } from 'vue-property-decorator';
import IBIZOrderTreeExpViewBase from './ibizorder-tree-exp-view-base.vue';
import view_treeexpbar from '@widgets/ibizorder/tree-exp-viewtreeexpbar-treeexpbar/tree-exp-viewtreeexpbar-treeexpbar.vue';
import view_searchbar from '@widgets/ibizorder/-searchbar/-searchbar.vue';
@Component({
components: {
view_treeexpbar,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
.ibizsample0021-grid-view {
display: block;
.ibizsample0021-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
.ibizsample0021-wfdyna-action-view {
display: block;
.ibizsample0021-wfdyna-action-view{
position: relative;
}
.ibizuniproduct-sgrid-view {
display: block;
.ibizuniproduct-sgrid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
......@@ -4,12 +4,10 @@ import IBIZUNIProductSGridViewBase from './ibizuniproduct-sgrid-view-base.vue';
import view_searchform from '@widgets/ibizuniproduct/default-searchform/default-searchform.vue';
import view_grid from '@widgets/ibizuniproduct/main-grid/main-grid.vue';
import view_searchbar from '@widgets/ibizuniproduct/-searchbar/-searchbar.vue';
@Component({
components: {
view_searchform,
view_grid,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
......@@ -187,10 +187,10 @@ export const PageComponents = {
Vue.component('ibizsoftware-suit-grid-view9', () => import('@pages/sample/ibizsoftware-suit-grid-view9/ibizsoftware-suit-grid-view9.vue'));
Vue.component('ibizbookusr10-grid-view', () => import('@pages/sample/ibizbookusr10-grid-view/ibizbookusr10-grid-view.vue'));
Vue.component('ibizbookoption-view', () => import('@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'));
Vue.component('ibizuniproduct-edit-view', () => import('@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'));
Vue.component('ibizuniproduct-redirect-view', () => import('@pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.vue'));
Vue.component('ibizstorage-edit-view', () => import('@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'));
Vue.component('ibizsoftware-suit-edit-view', () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'));
Vue.component('ibizuniproduct-edit-view', () => import('@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'));
Vue.component('ibizuniproduct-index-pickup-view', () => import('@pages/sample/ibizuniproduct-index-pickup-view/ibizuniproduct-index-pickup-view.vue'));
Vue.component('ibizhardware-edit-view', () => import('@pages/sample/ibizhardware-edit-view/ibizhardware-edit-view.vue'));
Vue.component('ibizsample0021-wfdyna-edit-view', () => import('@pages/sample/ibizsample0021-wfdyna-edit-view/ibizsample0021-wfdyna-edit-view.vue'));
......
......@@ -2860,46 +2860,46 @@ const router = new Router({
component: () => import('@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/editview/:editview?',
path: 'ibizstorages/:ibizstorage?/editview/:editview?',
meta: {
caption: 'entities.ibizuniproduct.views.editview.caption',
caption: 'entities.ibizstorage.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
{ pathName: 'ibizstorages', parameterName: 'ibizstorage' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'),
component: () => import('@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'),
},
{
path: 'ibizstorages/:ibizstorage?/editview/:editview?',
path: 'ibizsoftwaresuits/:ibizsoftwaresuit?/editview/:editview?',
meta: {
caption: 'entities.ibizstorage.views.editview.caption',
caption: 'entities.ibizsoftwaresuit.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizstorages', parameterName: 'ibizstorage' },
{ pathName: 'ibizsoftwaresuits', parameterName: 'ibizsoftwaresuit' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'),
component: () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'),
},
{
path: 'ibizsoftwaresuits/:ibizsoftwaresuit?/editview/:editview?',
path: 'ibizuniproducts/:ibizuniproduct?/editview/:editview?',
meta: {
caption: 'entities.ibizsoftwaresuit.views.editview.caption',
caption: 'entities.ibizuniproduct.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsoftwaresuits', parameterName: 'ibizsoftwaresuit' },
{ pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'),
component: () => import('@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'),
},
{
path: 'ibizuniproducts/:ibizuniproduct?/indexpickupview/:indexpickupview?',
......
......@@ -10,10 +10,10 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'79abf62d7cac6f35c896f412b124956f',
'a919926d6265ab194b54cd5b8f658eec',
'88ca61cdf39cd0f97cf3863e9a6974b3',
'0f3e6e5a5ba4b40182153ee4f93f3f7e',
'2358ff370509a1b833cb5023f0ec54fb',
'ae320ac92ef292866895940a2f61be48',
],
......
......@@ -234,36 +234,46 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
public appUIService:UIService = new UIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof PanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof PanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof PanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof PanelBase
*/
public rootLayoutDetailNames: string[] = [ ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof PanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -329,13 +339,19 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof PanelBase
*/
public layoutItems:any = {
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -453,20 +469,6 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof PanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -488,6 +490,7 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
}
}
/**
* 面板逻辑
*
......@@ -502,27 +505,6 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
}
}
/**
* 处理按钮点击
*
* @public
* @memberof PanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -268,36 +268,50 @@ export default class Auto1Base extends Vue implements ControlInterface {
public appUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof Item1layoutpanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ 'container1' ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof Item1layoutpanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
field1:{ name: 'field1', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'title', wrapMode:'', vAlign:'', hAlign:'', },
field2:{ name: 'field2', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'start', wrapMode:'', vAlign:'', hAlign:'', },
field3:{ name: 'field3', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'end', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['field1','field2','field3'] , dataRegionType: 'INHERIT' }
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof Item1layoutpanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof Item1layoutpanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof Item1layoutpanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -363,17 +377,19 @@ export default class Auto1Base extends Vue implements ControlInterface {
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof Item1layoutpanelBase
*/
public layoutItems:any = {
field1:{ name: 'field1', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'title', wrapMode:'', vAlign:'', hAlign:'', },
field2:{ name: 'field2', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'start', wrapMode:'', vAlign:'', hAlign:'', },
field3:{ name: 'field3', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'end', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['field1','field2','field3'] , dataRegionType: 'INHERIT' }
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -491,20 +507,6 @@ export default class Auto1Base extends Vue implements ControlInterface {
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof Item1layoutpanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -526,6 +528,7 @@ export default class Auto1Base extends Vue implements ControlInterface {
}
}
/**
* 面板逻辑
*
......@@ -540,27 +543,6 @@ export default class Auto1Base extends Vue implements ControlInterface {
}
}
/**
* 处理按钮点击
*
* @public
* @memberof Item1layoutpanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -691,7 +691,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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -727,7 +727,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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -268,36 +268,50 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
public appUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof ItemlayoutpanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ 'container1' ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
srfmajortext:{ name: 'srfmajortext', type: 'ITEMLAYOUT', caption: '', isShowCaption: false, sysCss: 'kanban-title', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'srfmajortext', wrapMode:'', vAlign:'', hAlign:'', },
author:{ name: 'author', type: 'ITEMLAYOUT', caption: '', isShowCaption: false, sysCss: 'kanban-author', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', },
srfdescription:{ name: 'srfdescription', type: 'ITEMLAYOUT', caption: '', isShowCaption: false, sysCss: 'kanban-description', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'srfdescription', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: 'kanban-panel', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:400, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['srfmajortext','author','srfdescription'] , dataRegionType: 'INHERIT' }
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof ItemlayoutpanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -363,17 +377,19 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutItems:any = {
srfmajortext:{ name: 'srfmajortext', type: 'ITEMLAYOUT', caption: '', isShowCaption: false, sysCss: 'kanban-title', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'srfmajortext', wrapMode:'', vAlign:'', hAlign:'', },
author:{ name: 'author', type: 'ITEMLAYOUT', caption: '', isShowCaption: false, sysCss: 'kanban-author', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', },
srfdescription:{ name: 'srfdescription', type: 'ITEMLAYOUT', caption: '', isShowCaption: false, sysCss: 'kanban-description', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'srfdescription', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: 'kanban-panel', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:400, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['srfmajortext','author','srfdescription'] , dataRegionType: 'INHERIT' }
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -491,20 +507,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -526,6 +528,7 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
}
}
/**
* 面板逻辑
*
......@@ -540,27 +543,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
}
}
/**
* 处理按钮点击
*
* @public
* @memberof ItemlayoutpanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -268,36 +268,50 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
public appUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof List_itempanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ 'container1' ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof List_itempanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
bookname:{ name: 'bookname', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'IBIZBOOKNAME', wrapMode:'', vAlign:'', hAlign:'', },
author:{ name: 'author', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'AUTHOR', wrapMode:'', vAlign:'', hAlign:'', },
press:{ name: 'press', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'PRESS', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['bookname','author','press'] , dataRegionType: 'INHERIT' }
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof List_itempanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof List_itempanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof List_itempanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -363,17 +377,19 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof List_itempanelBase
*/
public layoutItems:any = {
bookname:{ name: 'bookname', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'IBIZBOOKNAME', wrapMode:'', vAlign:'', hAlign:'', },
author:{ name: 'author', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'AUTHOR', wrapMode:'', vAlign:'', hAlign:'', },
press:{ name: 'press', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'PRESS', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['bookname','author','press'] , dataRegionType: 'INHERIT' }
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -491,20 +507,6 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof List_itempanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -526,6 +528,7 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
}
}
/**
* 面板逻辑
*
......@@ -540,27 +543,6 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
}
}
/**
* 处理按钮点击
*
* @public
* @memberof List_itempanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -259,36 +259,47 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
public appUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof ItemlayoutpanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ 'container1' ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[] , dataRegionType: 'INHERIT' }
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof ItemlayoutpanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -354,14 +365,19 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutItems:any = {
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[] , dataRegionType: 'INHERIT' }
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -479,20 +495,6 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -514,6 +516,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
}
}
/**
* 面板逻辑
*
......@@ -528,27 +531,6 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
}
}
/**
* 处理按钮点击
*
* @public
* @memberof ItemlayoutpanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -259,36 +259,47 @@ export default class UsrBase extends Vue implements ControlInterface {
public appUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof List_itempanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ 'container1' ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof List_itempanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[] , dataRegionType: 'INHERIT' }
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof List_itempanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof List_itempanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof List_itempanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -354,14 +365,19 @@ export default class UsrBase extends Vue implements ControlInterface {
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof List_itempanelBase
*/
public layoutItems:any = {
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[] , dataRegionType: 'INHERIT' }
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -479,20 +495,6 @@ export default class UsrBase extends Vue implements ControlInterface {
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof List_itempanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -514,6 +516,7 @@ export default class UsrBase extends Vue implements ControlInterface {
}
}
/**
* 面板逻辑
*
......@@ -528,27 +531,6 @@ export default class UsrBase extends Vue implements ControlInterface {
}
}
/**
* 处理按钮点击
*
* @public
* @memberof List_itempanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode
* @memberof Usr2DataViewMode
*/
public getDataItems(): any[] {
return [
......@@ -39,6 +39,17 @@ export default class Usr2Model {
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -268,36 +268,50 @@ export default class Usr4Base extends Vue implements ControlInterface {
public appUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof ItemlayoutpanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ 'container1' ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
author:{ name: 'author', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', },
press:{ name: 'press', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'press', wrapMode:'', vAlign:'', hAlign:'', },
bookname:{ name: 'bookname', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'IBIZBOOKNAME', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['author','press','bookname'] , dataRegionType: 'INHERIT' }
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof ItemlayoutpanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -363,17 +377,19 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutItems:any = {
author:{ name: 'author', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'author', wrapMode:'', vAlign:'', hAlign:'', },
press:{ name: 'press', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'press', wrapMode:'', vAlign:'', hAlign:'', },
bookname:{ name: 'bookname', type: 'ITEMLAYOUT', 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:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: '', renderMode: '', dataItemName:'IBIZBOOKNAME', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['author','press','bookname'] , dataRegionType: 'INHERIT' }
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -491,20 +507,6 @@ export default class Usr4Base extends Vue implements ControlInterface {
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -526,6 +528,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}
/**
* 面板逻辑
*
......@@ -540,27 +543,6 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}
/**
* 处理按钮点击
*
* @public
* @memberof ItemlayoutpanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -259,36 +259,47 @@ export default class Usr5Base extends Vue implements ControlInterface {
public appUIService:IBIZBOOKUIService = new IBIZBOOKUIService();
/**
* 视图布局是否加载
* 视图布局顶级成员名称
*
* @public
* @memberof ItemlayoutpanelBase
*/
public isLayoutLoadding: boolean = false;
public rootLayoutDetailNames: string[] = [ 'container1' ];
/**
* 视图布局数据
* 视图布局面板项模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutData:any = {};
public layoutItems:any = {
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[] , dataRegionType: 'INHERIT' }
}
/**
* 视图布局面板模型对象
* 布局面板是否加载
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
public isLayoutLoadding: boolean = false;
/**
* 视图布局顶级成员名称
* 布局面板数据
*
* @public
* @memberof ItemlayoutpanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
......@@ -354,14 +365,19 @@ export default class Usr5Base extends Vue implements ControlInterface {
}
/**
* 视图布局面板项模型对象
* 计算面板按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public layoutItems:any = {
container1:{ name: 'container1', type: 'ITEMLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:[] , dataRegionType: 'INHERIT' }
};
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 监听数据对象
......@@ -479,20 +495,6 @@ export default class Usr5Base extends Vue implements ControlInterface {
this.panelEditItemChange(name, value);
}
/**
* 计算按钮权限状态
*
* @public
* @memberof ItemlayoutpanelBase
*/
public computeButtonAuthState() {
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.itemType == 'BUTTON') {
layoutModel.computeActionAuthState();
}
})
}
/**
* 面板编辑项值变化后续操作
*
......@@ -514,6 +516,7 @@ export default class Usr5Base extends Vue implements ControlInterface {
}
}
/**
* 面板逻辑
*
......@@ -528,27 +531,6 @@ export default class Usr5Base extends Vue implements ControlInterface {
}
}
/**
* 处理按钮点击
*
* @public
* @memberof ItemlayoutpanelBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [];
const data: any = this.layoutModelDetails[name].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[name].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
}
......
......@@ -578,7 +578,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -694,7 +694,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -789,7 +789,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -797,7 +797,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -18,171 +18,18 @@
"getPSDEViewCodeName" : "CustomView",
"getPSDEViewId" : "621af848e45cfa22f4e35363132223de",
"getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "view_pagecaption"
} ],
"codeName" : "Layoutpanel",
"controlStyle" : "APPDECUSTOMVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "自定义视图",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "滚动条容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"colMD" : 24,
"heightMode" : "FULL",
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_main1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "搜索表单",
"contentHeight" : 50.0,
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "searchform",
"getPSLayoutPos" : {
"height" : 50,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"showCaption" : true
}, {
"caption" : "表格",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "grid",
"getPSLayoutPos" : {
"heightMode" : "FULL",
"layout" : "BORDER",
"layoutPos" : "CENTER",
"widthMode" : "FULL"
},
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 50.0,
"height" : 50.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_header1",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"height" : 50,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "NORTH"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 3,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "LEFT",
"layout" : "SIMPLEFLEX",
"vAlignSelf" : "MIDDLE"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 9,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "工具栏",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "RIGHT",
"layout" : "SIMPLEFLEX",
"vAlignSelf" : "MIDDLE"
},
"showCaption" : true
} ]
} ]
} ],
"showCaption" : true
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : false,
"modelid" : "01998BC8-AF5A-46BD-BA0A-4E87605B3F52",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
"useDefaultLayout" : true
},
"title" : "实体自定义视图",
"getTitlePSLanguageRes" : {
......
......@@ -11,149 +11,6 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup46"
},
"getPSDEViewCodeName" : "CalendarExpView",
"getPSDEViewId" : "69faae56dc0c6221045cfdc5ce889654",
"getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "view_pagecaption"
} ],
"codeName" : "Usr1104905184",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "FLEX",
"logicName" : "CalendarExpViewDECALENDAREXPVIEW",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"dir" : "column",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "页面标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "view_pagecaption",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "view_pagecaption",
"predefinedType" : "VIEW_PAGECAPTION",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"heightMode" : "FULL",
"layout" : "TABLE_24COL",
"widthMode" : "FULL"
},
"hidden" : false,
"showCaption" : false
} ]
}, {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 5,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "CALENDAREXPBAR",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "calendarexpbar",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container8",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 7,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "导航区占位",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "nav_pos1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"getPSRawItem" : {
"name" : "nav_pos1",
"predefinedType" : "NAV_POS"
},
"showCaption" : true
} ]
} ]
} ]
} ],
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "6AC7B24A-B989-42FA-AA65-CA6050C4668F",
"modeltype" : "PSSYSVIEWLAYOUTPANEL",
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "CalendarExpView",
......@@ -216,6 +73,10 @@
"editMode" : true
}
} ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup46"
},
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"realTitle" : "订单编辑视图",
......@@ -471,34 +332,30 @@
"showTitleBar" : true,
"modelid" : "6e838643ecb37eab99428cd3fc5ce15a_calendarexpbar",
"modeltype" : "PSEXPBAR"
}, {
"controlType" : "SEARCHBAR",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSSEARCHBARS/.json",
} ],
"getPSDEViewCodeName" : "CalendarExpView",
"getPSDEViewId" : "69faae56dc0c6221045cfdc5ce889654",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDECALENDAREXPVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSControlParam" : {
"id" : "searchbar"
},
"quickGroupCount" : -1,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : false,
"enableQuickSearch" : true,
"mobileSearchBar" : false,
"name" : "searchbar"
} ]
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"sideBarLayout" : "LEFT",
"title" : "实体日历导航视图",
"viewStyle" : "DEFAULT",
"viewType" : "DECALENDAREXPVIEW",
"enableDP" : true,
"enableFilter" : true,
"enableFilter" : false,
"enableQuickSearch" : true,
"enableSearch" : true,
"showCaptionBar" : false,
"showDataInfoBar" : true,
"modelid" : "6e838643ecb37eab99428cd3fc5ce15a",
......
......@@ -1257,120 +1257,17 @@
"getPSDEViewId" : "81b76317f977af3f9d0b72190fa9b9df",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGRIDVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "工作流视图",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "搜索表单",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "searchform",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "工具栏",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "toolbar",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
},
"showCaption" : true
} ]
} ]
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "表格",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "grid",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"showCaption" : true
} ]
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : false,
"modelid" : "99ECC80D-6051-4F6E-B4B4-B018B25CD299",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
"useDefaultLayout" : true
},
"title" : "订单表格视图",
"getTitlePSLanguageRes" : {
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-665-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-669-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-557-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-577-14">
<createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)">
</column>
......@@ -1160,7 +1160,7 @@
<!--输出实体[IBIZSAMPLE0021]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-55-39">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-65-39">
<createTable tableName="T_IBIZSAMPLE0021">
<column name="IBIZSAMPLE0021ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0021_IBIZSAMPLE00"/>
......@@ -1306,7 +1306,7 @@
<!--输出实体[IBIZUNIPRODUCT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizuniproduct-28-45">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizuniproduct-32-45">
<createTable tableName="T_IBIZUNIPRODUCT">
<column name="UNITPRICE" remarks="" type="FLOAT">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册