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

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

上级 00f5f7dd
......@@ -248,6 +248,15 @@ export default class IBIZBOOKDashboardView_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKDashboardView_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -261,7 +270,7 @@ export default class IBIZBOOKDashboardView_layoutBase extends Vue {
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
......@@ -345,6 +354,68 @@ export default class IBIZBOOKDashboardView_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKDashboardView_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -352,10 +423,10 @@ export default class IBIZBOOKDashboardView_layoutBase extends Vue {
* @memberof IBIZBOOKDashboardView_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -325,6 +325,15 @@ export default class IBIZBOOKInterFuncEditView_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKInterFuncEditView_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -342,7 +351,7 @@ export default class IBIZBOOKInterFuncEditView_layoutBase extends Vue {
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'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -430,6 +439,68 @@ export default class IBIZBOOKInterFuncEditView_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKInterFuncEditView_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -437,10 +508,10 @@ export default class IBIZBOOKInterFuncEditView_layoutBase extends Vue {
* @memberof IBIZBOOKInterFuncEditView_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -305,6 +305,15 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKOptionView_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -324,7 +333,7 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
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:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['form','container_grid1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -414,6 +423,68 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKOptionView_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -421,10 +492,10 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @memberof IBIZBOOKOptionView_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'button_openview2')) {
_this.panel_Usr1104773172_button_openview2_click(datas, contextJO, paramJO, $event, xData, this, undefined);
......
......@@ -270,6 +270,15 @@ export default class IBIZBOOKTestCLCalendarViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKTestCLCalendarViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -285,7 +294,7 @@ export default class IBIZBOOKTestCLCalendarViewBase extends Vue {
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:['container2','container_grid1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -371,6 +380,68 @@ export default class IBIZBOOKTestCLCalendarViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKTestCLCalendarViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -378,10 +449,10 @@ export default class IBIZBOOKTestCLCalendarViewBase extends Vue {
* @memberof IBIZBOOKTestCLCalendarViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -405,6 +405,15 @@ export default class IBIZBOOKTestCLDataViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKTestCLDataViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -425,7 +434,7 @@ export default class IBIZBOOKTestCLDataViewBase extends Vue {
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','container4'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -516,6 +525,68 @@ export default class IBIZBOOKTestCLDataViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKTestCLDataViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -523,10 +594,10 @@ export default class IBIZBOOKTestCLDataViewBase extends Vue {
* @memberof IBIZBOOKTestCLDataViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -405,6 +405,15 @@ export default class IBIZBOOKTestCLListViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKTestCLListViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -425,7 +434,7 @@ export default class IBIZBOOKTestCLListViewBase extends Vue {
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','container5'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -516,6 +525,68 @@ export default class IBIZBOOKTestCLListViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKTestCLListViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -523,10 +594,10 @@ export default class IBIZBOOKTestCLListViewBase extends Vue {
* @memberof IBIZBOOKTestCLListViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -271,6 +271,15 @@ export default class IBIZBOOKTestCLTreeViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKTestCLTreeViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -286,7 +295,7 @@ export default class IBIZBOOKTestCLTreeViewBase extends Vue {
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:['container2','container_grid1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -372,6 +381,68 @@ export default class IBIZBOOKTestCLTreeViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKTestCLTreeViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -379,10 +450,10 @@ export default class IBIZBOOKTestCLTreeViewBase extends Vue {
* @memberof IBIZBOOKTestCLTreeViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
.ibizbookusr2-medit-view9{
position: relative;
}
.ibizbookusr2-medit-view9{
display: block;
.ibizbookusr2-medit-view9 {
display: block;
}
......@@ -3,9 +3,11 @@ import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr2MEditView9Base from './ibizbookusr2-medit-view9-base.vue';
import view_meditviewpanel from '@widgets/ibizbook/main-multieditviewpanel/main-multieditviewpanel.vue';
import view_searchbar from '@widgets/ibizbook/-searchbar/-searchbar.vue';
@Component({
components: {
view_meditviewpanel,
view_searchbar,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
......
......@@ -258,6 +258,15 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -273,7 +282,7 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue {
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
......@@ -359,6 +368,68 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZBOOKWizardView_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -366,10 +437,10 @@ export default class IBIZBOOKWizardView_layoutBase extends Vue {
* @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 datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -375,6 +375,15 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZCustomerMediaTestEditViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -409,7 +418,7 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
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' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -514,6 +523,68 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZCustomerMediaTestEditViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -521,10 +592,10 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
* @memberof IBIZCustomerMediaTestEditViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
.ibizorder-gantt-view{
position: relative;
}
.ibizorder-gantt-view {
> .view-card > .ivu-card-body > .content-container > .gantt {
overflow: auto;
}
}
.ibizorder-gantt-view {
display: block;
}
......@@ -260,6 +260,15 @@ export default class IBIZOrderSEditView2_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderSEditView2_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -269,7 +278,7 @@ export default class IBIZOrderSEditView2_layoutBase extends Vue {
public layoutModelDetails:any = {
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -349,6 +358,68 @@ export default class IBIZOrderSEditView2_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderSEditView2_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -356,10 +427,10 @@ export default class IBIZOrderSEditView2_layoutBase extends Vue {
* @memberof IBIZOrderSEditView2_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -260,6 +260,15 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -269,7 +278,7 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
public layoutModelDetails:any = {
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -349,6 +358,68 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -356,10 +427,10 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
* @memberof IBIZOrderSEditView3_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -261,6 +261,15 @@ export default class IBIZOrderSEditView4_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderSEditView4_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -270,7 +279,7 @@ export default class IBIZOrderSEditView4_layoutBase extends Vue {
public layoutModelDetails:any = {
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -350,6 +359,68 @@ export default class IBIZOrderSEditView4_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderSEditView4_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -357,10 +428,10 @@ export default class IBIZOrderSEditView4_layoutBase extends Vue {
* @memberof IBIZOrderSEditView4_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -299,6 +299,15 @@ export default class IBIZOrderTestCLChartViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderTestCLChartViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -319,7 +328,7 @@ export default class IBIZOrderTestCLChartViewBase extends Vue {
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','container_5'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -410,6 +419,68 @@ export default class IBIZOrderTestCLChartViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderTestCLChartViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -417,10 +488,10 @@ export default class IBIZOrderTestCLChartViewBase extends Vue {
* @memberof IBIZOrderTestCLChartViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -384,6 +384,15 @@ export default class IBIZOrderTestCLEditView2Base extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderTestCLEditView2Base
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -407,7 +416,7 @@ export default class IBIZOrderTestCLEditView2Base extends Vue {
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:['page_container2'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -501,6 +510,68 @@ export default class IBIZOrderTestCLEditView2Base extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderTestCLEditView2Base
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -508,10 +579,10 @@ export default class IBIZOrderTestCLEditView2Base extends Vue {
* @memberof IBIZOrderTestCLEditView2Base
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -266,6 +266,15 @@ export default class IBIZOrderTestCLTreeExpViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderTestCLTreeExpViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -283,7 +292,7 @@ export default class IBIZOrderTestCLTreeExpViewBase extends Vue {
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:['container2','container_grid1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -371,6 +380,68 @@ export default class IBIZOrderTestCLTreeExpViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderTestCLTreeExpViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -378,10 +449,10 @@ export default class IBIZOrderTestCLTreeExpViewBase extends Vue {
* @memberof IBIZOrderTestCLTreeExpViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -268,6 +268,15 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -285,7 +294,7 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
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:['container2','container_scroll1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -373,6 +382,68 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -380,10 +451,10 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -341,6 +341,15 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZOrderUsr2GridViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -360,7 +369,7 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
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','container4'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -450,6 +459,68 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderUsr2GridViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -457,10 +528,10 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
* @memberof IBIZOrderUsr2GridViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -270,6 +270,15 @@ export default class IBIZSample0003STabExpView_layoutBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IBIZSample0003STabExpView_layoutBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -289,7 +298,7 @@ export default class IBIZSample0003STabExpView_layoutBase extends Vue {
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_grid1','container_scroll1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -379,6 +388,68 @@ export default class IBIZSample0003STabExpView_layoutBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZSample0003STabExpView_layoutBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -386,10 +457,10 @@ export default class IBIZSample0003STabExpView_layoutBase extends Vue {
* @memberof IBIZSample0003STabExpView_layoutBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
}
......
......@@ -283,6 +283,15 @@ export default class IndexBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof IndexBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -311,7 +320,7 @@ export default class IndexBase extends Vue {
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:''}, panel: this , details:['container_scroll_main1','container_scroll_left1','container_scroll_header1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -410,6 +419,68 @@ export default class IndexBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IndexBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -417,10 +488,10 @@ export default class IndexBase extends Vue {
* @memberof IndexBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'auth_logout1')) {
_this.panel_Usr1101864241_auth_logout1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
......
......@@ -324,6 +324,15 @@ export default class AppIndexViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof AppIndexViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -353,7 +362,7 @@ export default class AppIndexViewBase extends Vue {
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','open_yuque'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -453,6 +462,68 @@ export default class AppIndexViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof AppIndexViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -460,10 +531,10 @@ export default class AppIndexViewBase extends Vue {
* @memberof AppIndexViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'button_link1')) {
_this.panel_Usr1102678360_button_link1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
......
......@@ -241,6 +241,15 @@ export default class AppLoginViewBase extends Vue {
*/
public layoutData:any = {};
/**
* 视图布局部件
*
* @public
* @memberof AppLoginViewBase
*/
public layoutCtrls: any[] = [
];
/**
* 视图布局面板模型对象
*
......@@ -262,7 +271,7 @@ export default class AppLoginViewBase extends Vue {
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:100, heightMode:'PERCENTAGE', layoutWidth:100, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'center',dir:'row',vAlign:'center'}, panel: this , details:['container1'] , dataRegionType: 'INHERIT' })
};
/**
/**
* 视图布局面板项模型对象
*
* @public
......@@ -354,6 +363,68 @@ export default class AppLoginViewBase extends Vue {
this.layoutData[$event.name] = $event.value;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof AppLoginViewBase
*/
public getButtonXData(name: string): any {
let xData = null;
let xDataControl: any = null;
let curLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((layoutModel: any) => {
if (layoutModel.name == name) {
curLayoutModel = layoutModel;
}
})
// 获取数据容器
if (curLayoutModel) {
const getDataArea = (cLayoutModel: any): any => {
let dataArea = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
if (parentLayoutModel.dataRegionType == 'SINGLEDATA' || parentLayoutModel.dataRegionType == 'MULTIDATA') {
dataArea = parentLayoutModel;
}
}
})
if (!dataArea && parentLayoutModel) {
dataArea = getDataArea(parentLayoutModel);
}
return dataArea;
}
xData = getDataArea(curLayoutModel);
// 获取激活部件
if (!xData && this.layoutCtrls.length > 0) {
const getActionCtrl = (cLayoutModel: any) => {
let actionCtrl = null;
let parentLayoutModel = null;
Object.values(this.layoutModelDetails).forEach((pLayoutModel: any) => {
if (pLayoutModel.name == cLayoutModel.name) {
parentLayoutModel = pLayoutModel;
actionCtrl= parentLayoutModel.details.find((ctrlName: string) => {
return this.layoutCtrls.indexOf(ctrlName) !== -1;
})
}
})
if (!actionCtrl && parentLayoutModel) {
actionCtrl = getActionCtrl(parentLayoutModel);
}
return actionCtrl;
}
xData = getActionCtrl(curLayoutModel);
}
}
// 获取当前视图
if (!xData) {
xData = this;
}
return xData;
}
/**
* 处理按钮点击
*
......@@ -361,10 +432,10 @@ export default class AppLoginViewBase extends Vue {
* @memberof AppLoginViewBase
*/
public handleButtonClick(name: string, $event?: any) {
let datas: any[] = [this.layoutData];
let xData: any = null;
let paramJO: any = {};
let contextJO: any = {};
const datas: any[] = [this.layoutData];
const xData: any = this.getButtonXData(name);
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'auth_loginbutton1')) {
_this.panel_Usr1102196415_auth_loginbutton1_click(datas, contextJO, paramJO, $event, xData, this, undefined);
......
/**
* 部件模型
*
* @export
* @class Model
*/
export default class Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof SearchbarMode
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZBOOKService from '@/service/ibizbook/ibizbook-service';
import Model from './-searchbar-model';
import UtilService from '@/utilservice/util-service';
/**
* 部件服务对象
*
* @export
* @class Service
*/
export default class Service extends ControlService {
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof Service
*/
public appEntityService: IBIZBOOKService = new IBIZBOOKService();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof Service
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of Service.
*
* @param {*} [opts={}]
* @memberof Service
*/
constructor(opts: any = {}) {
super(opts);
this.model = new Model();
}
/**
* 工具服务对象
*
* @protected
* @type {UtilService}
* @memberof Service
*/
protected utilService: UtilService = new UtilService();
/**
* 加载数据模型
*
* @param {string} serviceName
* @param {*} context
* @param {*} viewparams
* @memberof Service
*/
public loadModel(serviceName: string, context: any, viewparams: any) {
return new Promise((resolve: any, reject: any) => {
this.utilService.getService(serviceName).then((service: any) => {
service.loadModelData(JSON.stringify(context), viewparams).then((response: any) => {
resolve(response);
}).catch((response: any) => {
reject(response);
});
}).catch((response: any) => {
reject(response);
});
});
}
/**
* 保存模型
*
* @param {string} serviceName
* @param {*} context
* @param {*} viewparams
* @returns
* @memberof Service
*/
public saveModel(serviceName: string, context: any, viewparams: any) {
return new Promise((resolve: any, reject: any) => {
this.utilService.getService(serviceName).then((service: any) => {
service.saveModelData(JSON.stringify(context), '', viewparams).then((response: any) => {
resolve(response);
}).catch((response: any) => {
reject(response);
});
}).catch((response: any) => {
reject(response);
});
});
}
}
\ No newline at end of file
.search-bar-footer {
height: 32px;
margin-bottom: 6px;
.search-bar-action {
float: right;
display: flex;
align-items: center;
> * {
margin-left: 5px;
.save-action {
text-align: right;
margin-top: 10px;
> * {
margin-left: 5px;
}
}
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Base from './-searchbar-base.vue';
@Component({
components: {
}
})
export default class extends Base {
}
</script>
\ No newline at end of file
......@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1800,7 +1800,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1897,7 +1897,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -2005,7 +2005,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -11,51 +11,51 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
{
"controlType" : "SEARCHBAR",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHBARS/.json",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"quickGroupCount" : -1,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : false,
"enableQuickSearch" : true,
"mobileSearchBar" : false
}
\ No newline at end of file
......@@ -29,21 +29,21 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -34,51 +34,51 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -85,21 +85,21 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -300,18 +300,86 @@
"getPSDEViewCodeName" : "GanttView",
"getPSDEViewId" : "c3ddd155476e8daf26399772541b4789",
"getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "view_pagecaption"
} ],
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGANTTVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "甘特视图",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.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" : 12,
"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,
"layout" : "SIMPLEFLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ]
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
"useDefaultLayout" : false,
"modelid" : "3CF2CD83-FDEC-40C2-9FE7-AC4494127B7D",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"title" : "实体甘特视图",
"viewStyle" : "DEFAULT",
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-134-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-140-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-129-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-142-14">
<createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)">
</column>
......@@ -986,7 +986,7 @@
<!--输出实体[IBIZSAMPLE0014]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0014-1-32">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0014-2-32">
<createTable tableName="T_IBIZSAMPLE0014">
<column name="IBIZSAMPLE0014NAME" remarks="" type="VARCHAR(200)">
</column>
......@@ -1010,7 +1010,7 @@
<!--输出实体[IBIZSAMPLE0015]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0015-1-33">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0015-2-33">
<createTable tableName="T_IBIZSAMPLE0015">
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
......@@ -1034,7 +1034,7 @@
<!--输出实体[IBIZSAMPLE0016]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0016-1-34">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0016-3-34">
<createTable tableName="T_IBIZSAMPLE0016">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-129-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-142-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
......@@ -145,19 +145,19 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0014]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0014-1-26" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0014-2-26" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0014">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0014ID], t1.[IBIZSAMPLE0014NAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0014] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0015]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0015-1-27" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0015-2-27" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0015">
<![CDATA[ SELECT t1.[CONTENT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0015ID], t1.[IBIZSAMPLE0015NAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0015] t1 ]]>
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0016]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0016-1-28" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0016-3-28" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0016">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZSAMPLE0014ID], t21.[IBIZSAMPLE0014NAME], t1.[IBIZSAMPLE0015ID], t11.[IBIZSAMPLE0015NAME], t1.[IBIZSAMPLE0016ID], t1.[IBIZSAMPLE0016NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0016] t1 LEFT JOIN T_IBIZSAMPLE0015 t11 ON t1.IBIZSAMPLE0015ID = t11.IBIZSAMPLE0015ID LEFT JOIN T_IBIZSAMPLE0014 t21 ON t1.IBIZSAMPLE0014ID = t21.IBIZSAMPLE0014ID ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册