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

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

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