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

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

上级 4c8206f7
......@@ -391,7 +391,7 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
static_carousel1:{ name: 'static_carousel1', type: 'VIEWLAYOUT', caption: '轮播图', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container6', panel: this , viewType: 'DEEDITVIEW', predefinedType: 'STATIC_CAROUSEL', contentType: 'IMAGE', contentStyle: '', rawContent: '', htmlContent: '', },
container6:{ name: 'container6', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid3', panel: this , details:['static_carousel1'] , dataRegionType: 'INHERIT' },
field_carousel:{ name: 'field_carousel', type: 'VIEWLAYOUT', caption: '轮播图(动态)', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_singledata2', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_CAROUSEL', dataItemName:'', },
container_singledata2:{ name: 'container_singledata2', type: 'VIEWLAYOUT', caption: '单项数据容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container7', panel: this , details:['field_carousel'] , dataRegionType: 'SINGLEDATA' , dataSourceType: '' },
container_singledata2:{ name: 'container_singledata2', type: 'VIEWLAYOUT', caption: '单项数据容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container7', panel: this , details:['field_carousel'] , dataRegionType: 'SINGLEDATA' , dataSourceType: 'DEACTION' , appDataEntityCodeName: 'ibizcustomer' , appDEMethodCodeName: 'GetDynaCarousel' },
container7:{ name: 'container7', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid3', panel: this , details:['container_singledata2'] , dataRegionType: 'INHERIT' },
container_grid3:{ name: 'container_grid3', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , details:['container6','container7'] , dataRegionType: 'INHERIT' },
static_videoplayer1:{ name: 'static_videoplayer1', type: 'VIEWLAYOUT', caption: '视频播放', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container8', panel: this , viewType: 'DEEDITVIEW', predefinedType: 'STATIC_VIDEOPLAYER', contentType: 'RAW', contentStyle: '', rawContent: '', htmlContent: '', renderMode: '', wrapMode:'', vAlign:'', hAlign:'', },
......
......@@ -106,35 +106,11 @@ export default class IBIZCustomerServiceBase extends EntityService {
return res;
}
/**
* GetDynaCarousel接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerServiceBase
*/
public async GetDynaCarousel(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/ibizcustomers/${context.ibizcustomer}/getdynacarousel`,isloading);
return res;
}
/**
* GetDynaCarouselBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerServiceBase
*/
public async GetDynaCarouselBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/ibizcustomers/getdynacarouselbatch`,tempData,isloading);
}
public async GetDynaCarousel(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
tempData['field_carousel'] = [ { key:'img1', iconClass:'fa fa-bank', type:'icon' }, { key:'img2', imgPath:'assets/img/logo2.png', type:'img' }, { key:'img3', iconClass:'fa fa-steam-square', type:'icon' }, { key:'img4', imgPath:'/assets/img/login_bg.png', type:'img' }, { key:'autoplay', value:'1', }, { key:'timespan', value:'2000', } ]
return {"status":200,"data":tempData};
}
public async GetDynaImg(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
tempData['field_image'] = 'assets/img/logo2.png'
......
......@@ -671,7 +671,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: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -707,7 +707,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: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -175,6 +175,10 @@
"id" : "IBIZCustomerDTO"
},
"type" : "DTO"
},
"getPSSysPFPlugin" : {
"pluginType" : "DEMETHOD",
"pluginCode" : "getDynaCarousel"
}
}, {
"actionMode" : "READ",
......
......@@ -20,5 +20,9 @@
"id" : "IBIZCustomerDTO"
},
"type" : "DTO"
},
"getPSSysPFPlugin" : {
"pluginType" : "DEMETHOD",
"pluginCode" : "getDynaCarousel"
}
}
\ No newline at end of file
......@@ -151,6 +151,10 @@
},
"type" : "DTO"
},
"getPSSysPFPlugin" : {
"pluginType" : "DEMETHOD",
"pluginCode" : "getDynaCarousel"
},
"requestField" : "IBIZCUSTOMERID",
"requestMethod" : "GET",
"requestParamType" : "FIELD",
......@@ -641,6 +645,10 @@
},
"type" : "DTO"
},
"getPSSysPFPlugin" : {
"pluginType" : "DEMETHOD",
"pluginCode" : "getDynaCarousel"
},
"requestField" : "IBIZCUSTOMERID",
"requestMethod" : "GET",
"requestParamType" : "FIELD",
......
......@@ -360,9 +360,18 @@
"getPSPanelItems" : [ {
"caption" : "单项数据容器",
"dataRegionType" : "SINGLEDATA",
"dataSourceType" : "DEACTION",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_singledata2",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDynaCarousel"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
......
......@@ -3901,6 +3901,12 @@
"pluginType" : "DEMETHOD",
"refMode" : "DEMETHOD",
"refTag" : "DEACTION"
}, {
"name" : "模拟获取动态轮播图数据",
"pluginCode" : "getDynaCarousel",
"pluginType" : "DEMETHOD",
"refMode" : "DEMETHOD",
"refTag" : "DEACTION"
}, {
"name" : "编辑器数量",
"pluginCode" : "PFPlugin10",
......
......@@ -47,6 +47,12 @@
"pluginType" : "DEMETHOD",
"refMode" : "DEMETHOD",
"refTag" : "DEACTION"
}, {
"name" : "模拟获取动态轮播图数据",
"pluginCode" : "getDynaCarousel",
"pluginType" : "DEMETHOD",
"refMode" : "DEMETHOD",
"refTag" : "DEACTION"
}, {
"name" : "编辑器数量",
"pluginCode" : "PFPlugin10",
......
......@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-150-10">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-157-10">
<createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-150-4" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-157-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册