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

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

上级 b8b411e9
...@@ -691,7 +691,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -691,7 +691,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -727,7 +727,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -727,7 +727,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ 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: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -20,14 +20,9 @@ export default class ListpanelModel { ...@@ -20,14 +20,9 @@ export default class ListpanelModel {
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
name: 'price', name: 'ibizbookid',
prop: 'price', prop: 'ibizbookid',
dataType: 'FLOAT', dataType: 'GUID',
},
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
}, },
{ {
name: 'type', name: 'type',
...@@ -40,6 +35,21 @@ export default class ListpanelModel { ...@@ -40,6 +35,21 @@ export default class ListpanelModel {
prop: 'ibizbookname', prop: 'ibizbookname',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
name: 'price',
prop: 'price',
dataType: 'FLOAT',
},
{ {
name: 'booknumber', name: 'booknumber',
prop: 'booknumber', prop: 'booknumber',
...@@ -50,16 +60,6 @@ export default class ListpanelModel { ...@@ -50,16 +60,6 @@ export default class ListpanelModel {
prop: 'icon', prop: 'icon',
dataType: 'LONGTEXT', dataType: 'LONGTEXT',
}, },
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
},
{ {
name: 'srfkey', name: 'srfkey',
prop: 'ibizbookid', prop: 'ibizbookid',
......
...@@ -33,18 +33,6 @@ export default class ListpanelModel { ...@@ -33,18 +33,6 @@ export default class ListpanelModel {
{ {
name: 'field_text_dynamic4', name: 'field_text_dynamic4',
prop: 'subtext' prop: 'subtext'
},
{
name: 'field_text_dynamic5',
prop: 'type'
},
{
name: 'field_text_dynamic3',
prop: 'press'
},
{
name: 'field_text_dynamic6',
prop: 'price'
} }
] ]
} }
......
...@@ -715,7 +715,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -715,7 +715,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}, isReset: boolean = false): void { public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -794,7 +794,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -794,7 +794,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -903,7 +903,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -903,7 +903,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -911,7 +911,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -911,7 +911,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-724-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-726-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册