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

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

上级 35e19681
......@@ -619,7 +619,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -655,7 +655,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -692,7 +692,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: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -728,7 +728,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -2072,4 +2072,5 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
<style lang='less'>
@import './guide-return-form-form.less';
</style>de-return-form-form.less';
</style>
\ No newline at end of file
......@@ -14,20 +14,20 @@ export default class ListpanelModel {
*/
public getDataItems(): any[] {
return [
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'price',
prop: 'price',
dataType: 'FLOAT',
name: 'icon',
prop: 'icon',
dataType: 'LONGTEXT',
},
{
name: 'ibizbookname',
......@@ -35,10 +35,9 @@ export default class ListpanelModel {
dataType: 'TEXT',
},
{
name: 'type',
prop: 'type',
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
codelist:{tag:'BookType',codelistType:'STATIC'},
},
{
name: 'ibizbookid',
......@@ -46,19 +45,20 @@ export default class ListpanelModel {
dataType: 'GUID',
},
{
name: 'author',
prop: 'author',
name: 'press',
prop: 'press',
dataType: 'TEXT',
},
{
name: 'icon',
prop: 'icon',
dataType: 'LONGTEXT',
name: 'price',
prop: 'price',
dataType: 'FLOAT',
},
{
name: 'press',
prop: 'press',
name: 'type',
prop: 'type',
dataType: 'TEXT',
codelist:{tag:'BookType',codelistType:'STATIC'},
},
{
name: 'srfkey',
......
......@@ -345,7 +345,7 @@ export default class ListpanelBase extends Vue implements ControlInterface {
field_text_dynamic5:{ name: 'field_text_dynamic5', type: 'ITEMLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: 'book-type', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:40, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'OUTERSMALL', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'type', wrapMode:'', vAlign:'', hAlign:'CENTER', },
field_text_dynamic3:{ name: 'field_text_dynamic3', type: 'ITEMLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: 'book-press', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:150, widthMode:'PX', spacingBottom:'', spacingLeft:'OUTERSMALL', spacingRight:'OUTERSMALL', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'press', wrapMode:'', vAlign:'', hAlign:'CENTER', },
field_text_dynamic6:{ name: 'field_text_dynamic6', type: 'ITEMLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: 'book-price', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:50, widthMode:'PX', spacingBottom:'', spacingLeft:'OUTERSMALL', spacingRight:'OUTERSMALL', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'price', wrapMode:'', vAlign:'', hAlign:'CENTER', },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'ITEMLAYOUT', caption: '无处理按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INFO', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:30, heightMode:'PX', layoutWidth:100, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'OUTERSMALL', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container6', panel: this , xDataControlName: 'list', buttonStyle: 'INFO', borderStyle: '', iconAlign: '', renderMode: '', },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'ITEMLAYOUT', caption: '无处理按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INFO', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:100, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'OUTERSMALL', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container6', panel: this , xDataControlName: 'list', buttonStyle: 'INFO', borderStyle: '', iconAlign: '', renderMode: '', },
container6:{ name: 'container6', type: 'ITEMLAYOUT', 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:'row',vAlign:''}, parentName: 'container1', panel: this , details:['field_text_dynamic5','field_text_dynamic3','field_text_dynamic6','button_calluilogic1'] , dataRegionType: 'INHERIT' },
container1:{ name: 'container1', type: 'ITEMLAYOUT', 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:'column',vAlign:''}, panel: this , details:['container4','container2','container7','container8','container6'] , dataRegionType: 'INHERIT' }
}
......
......@@ -69,11 +69,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -716,7 +716,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -795,7 +795,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -904,7 +904,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -912,7 +912,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -417,21 +417,16 @@
"showCaption" : false
}, {
"actionType" : "NONE",
"buttonHeight" : 30.0,
"buttonStyle" : "INFO",
"buttonWidth" : 100.0,
"caption" : "无处理按钮",
"contentHeight" : 30.0,
"contentWidth" : 100.0,
"height" : 30.0,
"itemStyle" : "INFO",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 30,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingRight" : "OUTERSMALL",
"width" : 100,
......@@ -467,6 +462,13 @@
"id" : "DataImport"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "author",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
......@@ -474,18 +476,11 @@
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "subtext",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 7,
"name" : "price",
"dataType" : 21,
"name" : "icon",
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"dataType" : 25,
......@@ -496,14 +491,10 @@
}
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"name" : "subtext",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
......@@ -514,24 +505,28 @@
}
}, {
"dataType" : 25,
"name" : "author",
"name" : "press",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 21,
"name" : "icon",
"dataType" : 7,
"name" : "price",
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
"name" : "PRICE",
"codeName" : "Price"
}
}, {
"dataType" : 25,
"name" : "press",
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"dataType" : 25,
......
......@@ -398,21 +398,16 @@
"showCaption" : false
}, {
"actionType" : "NONE",
"buttonHeight" : 30.0,
"buttonStyle" : "INFO",
"buttonWidth" : 100.0,
"caption" : "无处理按钮",
"contentHeight" : 30.0,
"contentWidth" : 100.0,
"height" : 30.0,
"itemStyle" : "INFO",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 30,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingRight" : "OUTERSMALL",
"width" : 100,
......
......@@ -537,21 +537,16 @@
"showCaption" : false
}, {
"actionType" : "NONE",
"buttonHeight" : 30.0,
"buttonStyle" : "INFO",
"buttonWidth" : 100.0,
"caption" : "无处理按钮",
"contentHeight" : 30.0,
"contentWidth" : 100.0,
"height" : 30.0,
"itemStyle" : "INFO",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 30,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingRight" : "OUTERSMALL",
"width" : 100,
......@@ -661,6 +656,13 @@
"id" : "DataImport"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "author",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
......@@ -668,18 +670,11 @@
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "subtext",
"getPSAppDEField" : {
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 7,
"name" : "price",
"dataType" : 21,
"name" : "icon",
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"dataType" : 25,
......@@ -690,14 +685,10 @@
}
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"name" : "subtext",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 25,
......@@ -708,24 +699,28 @@
}
}, {
"dataType" : 25,
"name" : "author",
"name" : "press",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 21,
"name" : "icon",
"dataType" : 7,
"name" : "price",
"getPSAppDEField" : {
"name" : "ICON",
"codeName" : "Icon"
"name" : "PRICE",
"codeName" : "Price"
}
}, {
"dataType" : 25,
"name" : "press",
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"dataType" : 25,
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-760-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-762-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册