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

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

上级 c8fdaec6
...@@ -306,6 +306,22 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue { ...@@ -306,6 +306,22 @@ export default class IBIZBOOKCustomView_layoutBase extends Vue {
}; };
/**
* 快速搜索栏数据对象
*
* @memberof IBIZBOOKCustomView_layoutBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZBOOKCustomView_layoutBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -296,6 +296,22 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue { ...@@ -296,6 +296,22 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
* @memberof IBIZBOOKGridLoadCustomViewBase * @memberof IBIZBOOKGridLoadCustomViewBase
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 快速搜索栏数据对象
*
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZBOOKGridLoadCustomViewBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -426,6 +426,22 @@ export default class IBIZBOOKInterFuncKanBanView_layoutBase extends Vue { ...@@ -426,6 +426,22 @@ export default class IBIZBOOKInterFuncKanBanView_layoutBase extends Vue {
}; };
/**
* 快速搜索栏数据对象
*
* @memberof IBIZBOOKInterFuncKanBanView_layoutBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZBOOKInterFuncKanBanView_layoutBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -406,6 +406,22 @@ export default class IBIZBOOKTestCLDataViewBase extends Vue { ...@@ -406,6 +406,22 @@ export default class IBIZBOOKTestCLDataViewBase extends Vue {
}; };
/**
* 快速搜索栏数据对象
*
* @memberof IBIZBOOKTestCLDataViewBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZBOOKTestCLDataViewBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -293,6 +293,22 @@ export default class IBIZBOOKUsr1110030546CustomViewBase extends Vue { ...@@ -293,6 +293,22 @@ export default class IBIZBOOKUsr1110030546CustomViewBase extends Vue {
* @memberof IBIZBOOKUsr1110030546CustomViewBase * @memberof IBIZBOOKUsr1110030546CustomViewBase
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 快速搜索栏数据对象
*
* @memberof IBIZBOOKUsr1110030546CustomViewBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZBOOKUsr1110030546CustomViewBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -366,6 +366,22 @@ export default class IBIZBOOKUsr4ListView_layoutBase extends Vue { ...@@ -366,6 +366,22 @@ export default class IBIZBOOKUsr4ListView_layoutBase extends Vue {
}; };
/**
* 快速搜索栏数据对象
*
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZBOOKUsr4ListView_layoutBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -394,6 +394,22 @@ export default class IBIZCustomCustomGridViewBase extends Vue { ...@@ -394,6 +394,22 @@ export default class IBIZCustomCustomGridViewBase extends Vue {
}; };
/**
* 快速搜索栏数据对象
*
* @memberof IBIZCustomCustomGridViewBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZCustomCustomGridViewBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -463,6 +463,22 @@ export default class IBIZOrderUsr2GridViewBase extends Vue { ...@@ -463,6 +463,22 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
}; };
/**
* 快速搜索栏数据对象
*
* @memberof IBIZOrderUsr2GridViewBase
*/
public quickFormData:any;
/**
* 快速搜索栏值变化
*
* @memberof IBIZOrderUsr2GridViewBase
*/
public quickFormValueChange($event:any){
this.quickFormData = $event;
this.onSearch($event);
}
/** /**
* 视图布局顶级成员名称 * 视图布局顶级成员名称
......
...@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -711,7 +711,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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -747,7 +747,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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -600,7 +600,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -600,7 +600,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -730,7 +730,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -730,7 +730,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -835,7 +835,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -835,7 +835,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (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);
...@@ -843,7 +843,7 @@ export default class ListExpBase extends Vue implements ControlInterface { ...@@ -843,7 +843,7 @@ export default class ListExpBase 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.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (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){
......
...@@ -11,51 +11,51 @@ ...@@ -11,51 +11,51 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "出版社",
"codeName" : "lendouttime", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "press",
"name" : "lendouttime", "name" : "press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "借出日期",
"codeName" : "ibizbookname", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "lendouttime",
"name" : "ibizbookname", "name" : "lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "作者",
"codeName" : "returntime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "author",
"name" : "returntime", "name" : "author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "归还日期",
"codeName" : "press", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "returntime",
"name" : "press", "name" : "returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -19,21 +19,21 @@ ...@@ -19,21 +19,21 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"name" : "subtext", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"name" : "author", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -34,51 +34,51 @@ ...@@ -34,51 +34,51 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "出版社",
"codeName" : "lendouttime", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "press",
"name" : "lendouttime", "name" : "press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "借出日期",
"codeName" : "ibizbookname", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "lendouttime",
"name" : "ibizbookname", "name" : "lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "作者",
"codeName" : "returntime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "author",
"name" : "returntime", "name" : "author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"name" : "author", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "归还日期",
"codeName" : "press", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "returntime",
"name" : "press", "name" : "returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -75,21 +75,21 @@ ...@@ -75,21 +75,21 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"name" : "subtext", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"name" : "author", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册