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

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

上级 98e09547
......@@ -4,23 +4,27 @@
<app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #container1>
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #auth_orgpick>
<app-login-org name="auth_orgpick" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_orgpick" @valueChange="handleValueChange" />
</template>
<template #userid>
<app-login-input class="app-login-user" name="userid" :layoutModelDetails="layoutModelDetails" :value="layoutData.userid" defaultIcon="ios-contact" @valueChange="handleValueChange" />
</template>
<template #auth_password>
<app-login-input class="app-login-password" name="auth_password" defaultType="password" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_password" defaultIcon="ios-key" @valueChange="handleValueChange" />
</template>
<template #auth_orgpick>
<app-login-org name="auth_orgpick" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_orgpick" @valueChange="handleValueChange" />
</template>
<template #container2>
<app-standard-container name="container2" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #auth_loginbutton1>
<app-login-button class="app-login-button" name="auth_loginbutton1" :layoutModelDetails="layoutModelDetails" defaultStyle='primary' @itemClick="handleButtonClick" />
</template>
<template #auth_resetinput1>
<app-login-button class="app-reset-button" name="auth_resetinput1" :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" />
</template>
<template #auth_logout1>
<app-login-button class="app-logout-button" name="auth_logout1" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" />
</app-standard-container>
</template>
<template #auth_loginmsg>
<app-login-message name="auth_loginmsg" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_loginmsg" />
</template>
<template #auth_captcha1>
<app-login-captcha name="auth_captcha1" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_captcha1" @valueChange="handleValueChange" />
......@@ -28,12 +32,12 @@
<template #auth_verificationcode>
<app-login-note-verify name="auth_verificationcode" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_verificationcode" @valueChange="handleValueChange" />
</template>
<template #auth_loginmsg>
<app-login-message name="auth_loginmsg" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_loginmsg" />
</template>
<template #auth_sso1>
<app-login-third name="auth_sso1" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_sso1" />
</template>
<template #auth_logout1>
<app-login-button class="app-logout-button" name="auth_logout1" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" />
</template>
</app-standard-container>
</template>
</app-standard-container>
......@@ -240,18 +244,19 @@ export default class AppLoginViewBase extends Vue {
* @memberof AppLoginViewBase
*/
public layoutItems:any = {
auth_orgpick:{ name: 'auth_orgpick', caption: '组织', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'AUTH_ORGPICK', },
userid:{ name: 'userid', caption: '用户名', isShowCaption: false, sysCss: 'greenToolBar', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'AUTH_USERID', },
auth_password:{ name: 'auth_password', caption: '密码', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'AUTH_PASSWORD', },
auth_orgpick:{ name: 'auth_orgpick', caption: '组织', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'AUTH_ORGPICK', },
auth_loginbutton1:{ name: 'auth_loginbutton1', caption: '登陆', isShowCaption: true, sysCss: 'deepskyblueToolBar', itemType: 'BUTTON', itemStyle: 'PRIMARY', sysImage:{ iconcls: 'fa fa-refresh', imagePath:'', rawContent: '' }, visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:50, heightMode:'PX', layoutWidth:200, widthMode:'PX', spacingBottom:'OUTERLARGE', spacingLeft:'OUTERLARGE', spacingRight:'OUTERLARGE', spacingTop:'OUTERLARGE', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'PRIMARY', iconAlign: '', predefinedType: 'APP_LOGIN', renderMode: '', },
auth_resetinput1:{ name: 'auth_resetinput1', caption: '重置', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', iconAlign: '', predefinedType: 'DATA_CANCELCHANGES', renderMode: '', },
auth_logout1:{ name: 'auth_logout1', caption: '登出', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', iconAlign: '', predefinedType: 'APP_LOGOUT', renderMode: '', },
auth_loginbutton1:{ name: 'auth_loginbutton1', caption: '登陆', isShowCaption: true, sysCss: 'deepskyblueToolBar', itemType: 'BUTTON', itemStyle: 'PRIMARY', sysImage:{ iconcls: 'fa fa-refresh', imagePath:'', rawContent: '' }, visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , buttonStyle: 'PRIMARY', iconAlign: '', predefinedType: 'APP_LOGIN', renderMode: '', },
auth_resetinput1:{ name: 'auth_resetinput1', caption: '重置', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , buttonStyle: 'DEFAULT', iconAlign: '', predefinedType: 'DATA_CANCELCHANGES', renderMode: '', },
container2:{ name: 'container2', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'OUTERLARGE', spacingLeft:'', spacingRight:'', spacingTop:'OUTERLARGE', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'center',dir:'row',vAlign:'center'}, parentName: 'container1', panel: this , details:['auth_loginbutton1','auth_resetinput1'] , dataRegionType: 'INHERIT' },
auth_loginmsg:{ name: 'auth_loginmsg', caption: '登陆校验信息', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'AUTH_LOGINMSG', },
auth_captcha1:{ name: 'auth_captcha1', caption: '人机识别', isShowCaption: true, sysCss: '', itemType: 'USERCONTROL', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this },
auth_verificationcode:{ name: 'auth_verificationcode', caption: '短信验证码', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'AUTH_VERIFICATIONCODE', },
auth_loginmsg:{ name: 'auth_loginmsg', caption: '登陆校验信息', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , fieldState: '0', predefinedType: 'AUTH_LOGINMSG', },
auth_sso1:{ name: 'auth_sso1', caption: '第三方登陆', isShowCaption: true, sysCss: '', itemType: 'USERCONTROL', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this },
container1:{ name: 'container1', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:700, heightMode:'PX', layoutWidth:600, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, parentName: 'page_container', panel: this , details:['userid','auth_password','auth_orgpick','auth_loginbutton1','auth_resetinput1','auth_logout1','auth_captcha1','auth_verificationcode','auth_loginmsg','auth_sso1'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', caption: '图片背景容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', sysImage:{ iconcls: '', imagePath:'/assets/img/login_bg.png', rawContent: '' }, visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:100, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'center',dir:'row',vAlign:'center'}, panel: this , details:['container1'] , dataRegionType: 'INHERIT' }
auth_logout1:{ name: 'auth_logout1', caption: '登出', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', iconAlign: '', predefinedType: 'APP_LOGOUT', renderMode: '', },
container1:{ name: 'container1', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:600, heightMode:'PX', layoutWidth:600, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'column',vAlign:''}, parentName: 'page_container', panel: this , details:['auth_orgpick','userid','auth_password','container2','auth_loginmsg','auth_captcha1','auth_verificationcode','auth_sso1','auth_logout1'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', caption: '图片背景容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', sysImage:{ iconcls: '', imagePath:'/assets/img/login_bg.png', rawContent: '' }, visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:100, heightMode:'PERCENTAGE', layoutWidth:100, widthMode:'PERCENTAGE', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'row',vAlign:''}, panel: this , details:['container1'] , dataRegionType: 'INHERIT' }
};
/**
......
......@@ -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,135 +177,103 @@
"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
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"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",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 50,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingBottom" : "OUTERLARGE",
"spacingLeft" : "OUTERLARGE",
"spacingRight" : "OUTERLARGE",
"spacingTop" : "OUTERLARGE",
"width" : 200,
"widthMode" : "PX"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
"spacingTop" : "OUTERLARGE"
},
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"getPSUIAction" : {
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "PRIMARY",
"caption" : "登陆",
"codeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"fullCodeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"name" : "登陆",
"predefinedType" : "APP_LOGIN",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_loginbutton1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"width" : 200.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "重置",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
},
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"getPSUIAction" : {
"caption" : "登陆",
"codeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"fullCodeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"name" : "登陆",
"predefinedType" : "APP_LOGIN",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_loginbutton1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "重置",
"codeName" : "panel_Usr1102196415_auth_resetinput1_click",
"fullCodeName" : "panel_Usr1102196415_auth_resetinput1_click",
"name" : "重置",
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_resetinput1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "重置",
"showCaption" : true
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"caption" : "重置",
"codeName" : "panel_Usr1102196415_auth_resetinput1_click",
"fullCodeName" : "panel_Usr1102196415_auth_resetinput1_click",
"name" : "重置",
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_resetinput1_click",
"uIActionType" : "DEUIACTION"
},
"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,135 +264,103 @@
"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
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"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",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 50,
"heightMode" : "PX",
"layout" : "FLEX",
"spacingBottom" : "OUTERLARGE",
"spacingLeft" : "OUTERLARGE",
"spacingRight" : "OUTERLARGE",
"spacingTop" : "OUTERLARGE",
"width" : 200,
"widthMode" : "PX"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
"spacingTop" : "OUTERLARGE"
},
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"getPSUIAction" : {
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "PRIMARY",
"caption" : "登陆",
"codeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"fullCodeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"name" : "登陆",
"predefinedType" : "APP_LOGIN",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_loginbutton1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"width" : 200.0,
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "重置",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"itemStyle" : "PRIMARY",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSSysCss" : {
"cssName" : "deepskyblueToolBar"
},
"getPSSysImage" : {
"glyph" : "xf021@FontAwesome",
"cssClass" : "fa fa-refresh"
},
"getPSUIAction" : {
"caption" : "登陆",
"codeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"fullCodeName" : "panel_Usr1102196415_auth_loginbutton1_click",
"name" : "登陆",
"predefinedType" : "APP_LOGIN",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_loginbutton1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"showCaption" : true
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "重置",
"codeName" : "panel_Usr1102196415_auth_resetinput1_click",
"fullCodeName" : "panel_Usr1102196415_auth_resetinput1_click",
"name" : "重置",
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_resetinput1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "重置",
"showCaption" : true
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSUIAction" : {
"caption" : "重置",
"codeName" : "panel_Usr1102196415_auth_resetinput1_click",
"fullCodeName" : "panel_Usr1102196415_auth_resetinput1_click",
"name" : "重置",
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1102196415_auth_resetinput1_click",
"uIActionType" : "DEUIACTION"
},
"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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册