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

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

上级 b330a9e4
......@@ -712,7 +712,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: 'IBIZBOOKCustomView_layout' + (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 };
......@@ -748,7 +748,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: 'IBIZBOOKCustomView_layout' + (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 } ;
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base 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: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base 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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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);
......@@ -916,7 +916,7 @@ export default class Usr4Base 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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,6 +70,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -11,26 +11,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -50,6 +30,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
......@@ -60,6 +50,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -19,21 +19,21 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -34,26 +34,6 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -73,6 +53,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
......@@ -83,6 +73,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -75,21 +75,21 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -200,10 +200,13 @@
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonHeight" : 40.0,
"buttonStyle" : "PRIMARY",
"buttonWidth" : 175.0,
"caption" : "登陆",
"contentHeight" : 40.0,
"contentWidth" : 175.0,
"height" : 40.0,
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
......@@ -214,6 +217,8 @@
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 40,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 175,
"widthMode" : "PX"
......@@ -241,10 +246,13 @@
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonHeight" : 40.0,
"buttonStyle" : "DEFAULT",
"buttonWidth" : 175.0,
"caption" : "重置",
"contentHeight" : 40.0,
"contentWidth" : 175.0,
"height" : 40.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
......@@ -255,6 +263,8 @@
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 40,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 175,
"widthMode" : "PX"
......@@ -318,8 +328,11 @@
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonHeight" : 40.0,
"buttonStyle" : "DEFAULT",
"caption" : "登出",
"contentHeight" : 40.0,
"height" : 40.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_logout1",
......@@ -329,6 +342,8 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 40,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingTop" : "OUTERMEDIUM"
},
......
......@@ -299,10 +299,13 @@
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonHeight" : 40.0,
"buttonStyle" : "PRIMARY",
"buttonWidth" : 175.0,
"caption" : "登陆",
"contentHeight" : 40.0,
"contentWidth" : 175.0,
"height" : 40.0,
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
......@@ -313,6 +316,8 @@
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 40,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 175,
"widthMode" : "PX"
......@@ -340,10 +345,13 @@
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonHeight" : 40.0,
"buttonStyle" : "DEFAULT",
"buttonWidth" : 175.0,
"caption" : "重置",
"contentHeight" : 40.0,
"contentWidth" : 175.0,
"height" : 40.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
......@@ -354,6 +362,8 @@
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 40,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 175,
"widthMode" : "PX"
......@@ -417,8 +427,11 @@
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonHeight" : 40.0,
"buttonStyle" : "DEFAULT",
"caption" : "登出",
"contentHeight" : 40.0,
"height" : 40.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_logout1",
......@@ -428,6 +441,8 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 40,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingTop" : "OUTERMEDIUM"
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册