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

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

上级 ac59cb0c
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
size='large' size='large'
:prefix='defaultIcon' :prefix='defaultIcon'
v-model="curValue" v-model="curValue"
:type="defaultType"
:disabled="disabled" :disabled="disabled"
:readonly="readonly" :readonly="readonly"
:placeholder="model.caption"> :placeholder="model.caption">
...@@ -51,6 +52,14 @@ export default class AppLoginInput extends Vue { ...@@ -51,6 +52,14 @@ export default class AppLoginInput extends Vue {
*/ */
@Prop() public defaultIcon?: string; @Prop() public defaultIcon?: string;
/**
* 默认类型
*
* @type {string}
* @memberof AppLoginInput
*/
@Prop() public defaultType?: string;
/** /**
* 容器样式 * 容器样式
* *
......
...@@ -17,11 +17,11 @@ export default class GridViewLoadUILogicBase { ...@@ -17,11 +17,11 @@ export default class GridViewLoadUILogicBase {
protected logicNodes: any = { protected logicNodes: any = {
'Begin': new BeginNode(), 'Begin': new BeginNode({ codeName: 'Begin', name: '开始', logicNodeType: 'BEGIN', logicLinks: [ { name: '连接名称', dstLogicNode: 'BINDPARAM1', } ] }),
'BINDPARAM1': new LogicNodeBase(), 'BINDPARAM1': new LogicNodeBase({ codeName: 'BINDPARAM1', name: '绑定当前搜索表单', logicNodeType: 'BINDPARAM', dstParam: 'searchForm', srcParam: 'view', srcFieldName: 'searchForm', logicLinks: [ { name: '连接名称', dstLogicNode: 'VIEWCTRLINVOKE1', } ] }),
'VIEWCTRLINVOKE1': new LogicNodeBase(), 'VIEWCTRLINVOKE1': new LogicNodeBase({ codeName: 'VIEWCTRLINVOKE1', name: '视图部件调用', logicNodeType: 'VIEWCTRLINVOKE', dstParam: 'viewParam', srcParam: 'searchForm', logicLinks: [ { name: '连接名称', dstLogicNode: 'VIEWCTRLINVOKE2', } ] }),
'END1': new EndNode(), 'END1': new EndNode({ codeName: 'END1', name: '结束', logicNodeType: 'END', }),
'VIEWCTRLINVOKE2': new LogicNodeBase(), 'VIEWCTRLINVOKE2': new LogicNodeBase({ codeName: 'VIEWCTRLINVOKE2', name: '视图部件调用', logicNodeType: 'VIEWCTRLINVOKE', dstParam: 'viewParam', srcParam: 'grid', logicLinks: [ { name: '连接名称', dstLogicNode: 'END1', } ] }),
} }
/** /**
......
...@@ -17,9 +17,9 @@ export default class OpenYuQueUILogicBase { ...@@ -17,9 +17,9 @@ export default class OpenYuQueUILogicBase {
protected logicNodes: any = { protected logicNodes: any = {
'Begin': new BeginNode(), 'Begin': new BeginNode({ codeName: 'Begin', name: '开始', logicNodeType: 'BEGIN', logicLinks: [ { name: '连接名称', dstLogicNode: 'DEUIACTION1', } ] }),
'END1': new EndNode(), 'END1': new EndNode({ codeName: 'END1', name: '结束', logicNodeType: 'END', }),
'DEUIACTION1': new LogicNodeBase(), 'DEUIACTION1': new LogicNodeBase({ codeName: 'DEUIACTION1', name: '界面行为', logicNodeType: 'DEUIACTION', dstParam: 'Default', logicLinks: [ { name: '连接名称', dstLogicNode: 'END1', } ] }),
} }
/** /**
......
...@@ -1800,7 +1800,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1800,7 +1800,7 @@ export default class MainBase 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: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1897,7 +1897,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1897,7 +1897,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2005,7 +2005,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2005,7 +2005,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKOptionView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -82,7 +82,10 @@ ...@@ -82,7 +82,10 @@
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "page_container", "name" : "page_container",
"getPSLayout" : { "getPSLayout" : {
"layout" : "FLEX" "align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
...@@ -94,7 +97,9 @@ ...@@ -94,7 +97,9 @@
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "容器", "caption" : "容器",
"contentHeight" : 700.0,
"contentWidth" : 600.0, "contentWidth" : 600.0,
"height" : 700.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container1", "name" : "container1",
...@@ -105,38 +110,30 @@ ...@@ -105,38 +110,30 @@
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"hAlignSelf" : "CENTER", "hAlignSelf" : "CENTER",
"height" : 700,
"heightMode" : "PX",
"layout" : "FLEX", "layout" : "FLEX",
"width" : 600, "width" : 600,
"widthMode" : "PX" "widthMode" : "PX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "用户名", "caption" : "用户名",
"contentHeight" : 50.0,
"contentWidth" : 200.0,
"height" : 50.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "userid", "name" : "userid",
"getPSEditor" : { "getPSEditor" : {
"editorHeight" : 50.0,
"editorType" : "TEXTBOX", "editorType" : "TEXTBOX",
"editorWidth" : 200.0,
"name" : "userid", "name" : "userid",
"predefinedType" : "AUTH_USERID" "predefinedType" : "AUTH_USERID"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"height" : 50, "layout" : "FLEX"
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 200,
"widthMode" : "PX"
}, },
"getPSSysCss" : { "getPSSysCss" : {
"cssName" : "greenToolBar" "cssName" : "greenToolBar"
}, },
"viewFieldName" : "username", "viewFieldName" : "username",
"width" : 200.0,
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
......
...@@ -169,7 +169,10 @@ ...@@ -169,7 +169,10 @@
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "page_container", "name" : "page_container",
"getPSLayout" : { "getPSLayout" : {
"layout" : "FLEX" "align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
...@@ -181,7 +184,9 @@ ...@@ -181,7 +184,9 @@
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "容器", "caption" : "容器",
"contentHeight" : 700.0,
"contentWidth" : 600.0, "contentWidth" : 600.0,
"height" : 700.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container1", "name" : "container1",
...@@ -192,38 +197,30 @@ ...@@ -192,38 +197,30 @@
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"hAlignSelf" : "CENTER", "hAlignSelf" : "CENTER",
"height" : 700,
"heightMode" : "PX",
"layout" : "FLEX", "layout" : "FLEX",
"width" : 600, "width" : 600,
"widthMode" : "PX" "widthMode" : "PX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "用户名", "caption" : "用户名",
"contentHeight" : 50.0,
"contentWidth" : 200.0,
"height" : 50.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "userid", "name" : "userid",
"getPSEditor" : { "getPSEditor" : {
"editorHeight" : 50.0,
"editorType" : "TEXTBOX", "editorType" : "TEXTBOX",
"editorWidth" : 200.0,
"name" : "userid", "name" : "userid",
"predefinedType" : "AUTH_USERID" "predefinedType" : "AUTH_USERID"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"height" : 50, "layout" : "FLEX"
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 200,
"widthMode" : "PX"
}, },
"getPSSysCss" : { "getPSSysCss" : {
"cssName" : "greenToolBar" "cssName" : "greenToolBar"
}, },
"viewFieldName" : "username", "viewFieldName" : "username",
"width" : 200.0,
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册