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

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

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