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

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

上级 98e09547
......@@ -46,11 +46,11 @@
<span class="quick-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -61,18 +61,18 @@
<span class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip>
</div>
</span>
......@@ -354,7 +354,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -374,7 +374,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -400,7 +400,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -575,9 +575,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr4ListView_layout
* @memberof IBIZBOOKListView
*/
public usr4listview_layoutlist_quicktoolbarModels: any = {
public listviewlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
};
......@@ -587,9 +587,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr4ListView_layout
* @memberof IBIZBOOKListView
*/
public usr4listview_layoutlist_batchtoolbarModels: any = {
public listviewlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -812,7 +812,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public load(opt: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -928,7 +928,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -1023,7 +1023,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (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);
......@@ -1031,7 +1031,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -291,7 +291,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase
* @memberof IBIZOrderSF1GridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -413,6 +413,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -945,7 +959,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -1040,7 +1054,7 @@ export default class MainBase 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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1146,7 +1160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2063,7 +2077,7 @@ export default class MainBase 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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.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);
......@@ -2071,7 +2085,7 @@ export default class MainBase 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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......@@ -2138,7 +2152,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -104,6 +104,21 @@ export default class MainModel {
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -590,7 +590,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: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -345,6 +345,13 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
......@@ -875,7 +882,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -970,7 +977,7 @@ export default class MainBase 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: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1076,7 +1083,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -1969,7 +1976,7 @@ export default class MainBase 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: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.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);
......@@ -1977,7 +1984,7 @@ export default class MainBase 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: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizsample0021){
......@@ -2044,7 +2051,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -6,16 +6,16 @@
"name" : "AppLoginView",
"getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "auth_orgpick"
}, {
"id" : "userid",
"viewFieldName" : "username"
}, {
"id" : "auth_password"
}, {
"id" : "auth_orgpick"
"id" : "auth_loginmsg"
}, {
"id" : "auth_verificationcode"
}, {
"id" : "auth_loginmsg"
} ],
"codeName" : "Usr1102196415",
"controlType" : "VIEWLAYOUTPANEL",
......@@ -82,10 +82,8 @@
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
......@@ -97,9 +95,9 @@
},
"getPSPanelItems" : [ {
"caption" : "容器",
"contentHeight" : 700.0,
"contentHeight" : 600.0,
"contentWidth" : 600.0,
"height" : 700.0,
"height" : 600.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
......@@ -110,7 +108,7 @@
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 700,
"height" : 600,
"heightMode" : "PX",
"layout" : "FLEX",
"vAlignSelf" : "MIDDLE",
......@@ -118,6 +116,31 @@
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "组织",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_orgpick",
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorType" : "PICKER",
"name" : "auth_orgpick",
"predefinedType" : "AUTH_ORGPICK",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "用户名",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
......@@ -154,39 +177,26 @@
"hidden" : false,
"showCaption" : false
}, {
"caption" : "组织",
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_orgpick",
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorType" : "PICKER",
"name" : "auth_orgpick",
"predefinedType" : "AUTH_ORGPICK",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"spacingBottom" : "OUTERLARGE",
"spacingTop" : "OUTERLARGE"
},
"hidden" : false,
"showCaption" : false
}, {
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonHeight" : 50.0,
"buttonStyle" : "PRIMARY",
"buttonWidth" : 200.0,
"caption" : "登陆",
"contentHeight" : 50.0,
"contentWidth" : 200.0,
"height" : 50.0,
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
......@@ -196,15 +206,7 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 50,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingBottom" : "OUTERLARGE",
"spacingLeft" : "OUTERLARGE",
"spacingRight" : "OUTERLARGE",
"spacingTop" : "OUTERLARGE",
"width" : 200,
"widthMode" : "PX"
"layout" : "FLEX"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
......@@ -225,7 +227,6 @@
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"width" : 200.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
......@@ -255,34 +256,24 @@
},
"tooltip" : "重置",
"showCaption" : true
} ]
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "登出",
"caption" : "登陆校验信息",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_logout1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_logout1"
"itemType" : "FIELD",
"name" : "auth_loginmsg",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "auth_loginmsg",
"predefinedType" : "AUTH_LOGINMSG",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"caption" : "登出",
"codeName" : "panel_Usr1102196415_auth_logout1_click",
"fullCodeName" : "panel_Usr1102196415_auth_logout1_click",
"name" : "登出",
"predefinedType" : "APP_LOGOUT",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_logout1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登出",
"showCaption" : true
"hidden" : false,
"showCaption" : false
}, {
"caption" : "人机识别",
"itemStyle" : "DEFAULT",
......@@ -311,32 +302,43 @@
"hidden" : false,
"showCaption" : false
}, {
"caption" : "登陆校验信息",
"caption" : "第三方登陆",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_loginmsg",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "auth_loginmsg",
"predefinedType" : "AUTH_LOGINMSG",
"enableLinkView" : false
},
"itemType" : "USERCONTROL",
"name" : "auth_sso1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
"predefinedType" : "AUTH_SSO",
"showCaption" : true
}, {
"caption" : "第三方登陆",
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "登出",
"itemStyle" : "DEFAULT",
"itemType" : "USERCONTROL",
"name" : "auth_sso1",
"itemType" : "BUTTON",
"name" : "auth_logout1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_logout1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"predefinedType" : "AUTH_SSO",
"getPSUIAction" : {
"caption" : "登出",
"codeName" : "panel_Usr1102196415_auth_logout1_click",
"fullCodeName" : "panel_Usr1102196415_auth_logout1_click",
"name" : "登出",
"predefinedType" : "APP_LOGOUT",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_logout1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登出",
"showCaption" : true
} ],
"width" : 600.0
......
......@@ -93,16 +93,16 @@
"name" : "AppLoginView",
"getPSViewLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "auth_orgpick"
}, {
"id" : "userid",
"viewFieldName" : "username"
}, {
"id" : "auth_password"
}, {
"id" : "auth_orgpick"
"id" : "auth_loginmsg"
}, {
"id" : "auth_verificationcode"
}, {
"id" : "auth_loginmsg"
} ],
"codeName" : "Usr1102196415",
"controlType" : "VIEWLAYOUTPANEL",
......@@ -169,10 +169,8 @@
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
......@@ -184,9 +182,9 @@
},
"getPSPanelItems" : [ {
"caption" : "容器",
"contentHeight" : 700.0,
"contentHeight" : 600.0,
"contentWidth" : 600.0,
"height" : 700.0,
"height" : 600.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
......@@ -197,7 +195,7 @@
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"height" : 700,
"height" : 600,
"heightMode" : "PX",
"layout" : "FLEX",
"vAlignSelf" : "MIDDLE",
......@@ -205,6 +203,31 @@
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "组织",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_orgpick",
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorType" : "PICKER",
"name" : "auth_orgpick",
"predefinedType" : "AUTH_ORGPICK",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "用户名",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
......@@ -241,39 +264,26 @@
"hidden" : false,
"showCaption" : false
}, {
"caption" : "组织",
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_orgpick",
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorType" : "PICKER",
"name" : "auth_orgpick",
"predefinedType" : "AUTH_ORGPICK",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"spacingBottom" : "OUTERLARGE",
"spacingTop" : "OUTERLARGE"
},
"hidden" : false,
"showCaption" : false
}, {
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonHeight" : 50.0,
"buttonStyle" : "PRIMARY",
"buttonWidth" : 200.0,
"caption" : "登陆",
"contentHeight" : 50.0,
"contentWidth" : 200.0,
"height" : 50.0,
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
......@@ -283,15 +293,7 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 50,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingBottom" : "OUTERLARGE",
"spacingLeft" : "OUTERLARGE",
"spacingRight" : "OUTERLARGE",
"spacingTop" : "OUTERLARGE",
"width" : 200,
"widthMode" : "PX"
"layout" : "FLEX"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
......@@ -312,7 +314,6 @@
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"width" : 200.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
......@@ -342,34 +343,24 @@
},
"tooltip" : "重置",
"showCaption" : true
} ]
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "登出",
"caption" : "登陆校验信息",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_logout1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_logout1"
"itemType" : "FIELD",
"name" : "auth_loginmsg",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "auth_loginmsg",
"predefinedType" : "AUTH_LOGINMSG",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"caption" : "登出",
"codeName" : "panel_Usr1102196415_auth_logout1_click",
"fullCodeName" : "panel_Usr1102196415_auth_logout1_click",
"name" : "登出",
"predefinedType" : "APP_LOGOUT",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_logout1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登出",
"showCaption" : true
"hidden" : false,
"showCaption" : false
}, {
"caption" : "人机识别",
"itemStyle" : "DEFAULT",
......@@ -398,32 +389,43 @@
"hidden" : false,
"showCaption" : false
}, {
"caption" : "登陆校验信息",
"caption" : "第三方登陆",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_loginmsg",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "auth_loginmsg",
"predefinedType" : "AUTH_LOGINMSG",
"enableLinkView" : false
},
"itemType" : "USERCONTROL",
"name" : "auth_sso1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
"predefinedType" : "AUTH_SSO",
"showCaption" : true
}, {
"caption" : "第三方登陆",
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "登出",
"itemStyle" : "DEFAULT",
"itemType" : "USERCONTROL",
"name" : "auth_sso1",
"itemType" : "BUTTON",
"name" : "auth_logout1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_logout1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"predefinedType" : "AUTH_SSO",
"getPSUIAction" : {
"caption" : "登出",
"codeName" : "panel_Usr1102196415_auth_logout1_click",
"fullCodeName" : "panel_Usr1102196415_auth_logout1_click",
"name" : "登出",
"predefinedType" : "APP_LOGOUT",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_logout1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登出",
"showCaption" : true
} ],
"width" : 600.0
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册