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

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

上级 9b62557b
......@@ -45,6 +45,8 @@ function getLocaleResourceBase(){
picture: commonLogic.appcommonhandle("图片",null),
city: commonLogic.appcommonhandle("城市",null),
diskimg: commonLogic.appcommonhandle("磁盘图片",null),
starttime: commonLogic.appcommonhandle("开始时间",null),
endtime: commonLogic.appcommonhandle("结束时间",null),
},
views: {
usr2editview: {
......@@ -184,6 +186,10 @@ function getLocaleResourceBase(){
formitem5: commonLogic.appcommonhandle("信息展示",null),
formitem6: commonLogic.appcommonhandle("图片路径",null),
formitem18: commonLogic.appcommonhandle("更新时间",null),
starttime: commonLogic.appcommonhandle("开始时间",null),
endtime: commonLogic.appcommonhandle("结束时间",null),
formitem10: commonLogic.appcommonhandle("时间范围选择",null),
formitem14: commonLogic.appcommonhandle("年月日范围选择",null),
ibizsample0001id: commonLogic.appcommonhandle("IBIZSAMPLE0001标识",null),
},
uiactions: {
......
......@@ -45,6 +45,8 @@ function getLocaleResourceBase(){
picture: commonLogic.appcommonhandle("图片",null),
city: commonLogic.appcommonhandle("城市",null),
diskimg: commonLogic.appcommonhandle("磁盘图片",null),
starttime: commonLogic.appcommonhandle("开始时间",null),
endtime: commonLogic.appcommonhandle("结束时间",null),
},
views: {
usr2editview: {
......@@ -184,6 +186,10 @@ function getLocaleResourceBase(){
formitem5: commonLogic.appcommonhandle("信息展示",null),
formitem6: commonLogic.appcommonhandle("图片路径",null),
formitem18: commonLogic.appcommonhandle("更新时间",null),
starttime: commonLogic.appcommonhandle("开始时间",null),
endtime: commonLogic.appcommonhandle("结束时间",null),
formitem10: commonLogic.appcommonhandle("时间范围选择",null),
formitem14: commonLogic.appcommonhandle("年月日范围选择",null),
ibizsample0001id: commonLogic.appcommonhandle("IBIZSAMPLE0001标识",null),
},
uiactions: {
......
......@@ -45,6 +45,8 @@ function getLocaleResourceBase(){
picture: commonLogic.appcommonhandle("图片",null),
city: commonLogic.appcommonhandle("城市",null),
diskimg: commonLogic.appcommonhandle("磁盘图片",null),
starttime: commonLogic.appcommonhandle("开始时间",null),
endtime: commonLogic.appcommonhandle("结束时间",null),
},
views: {
usr2editview: {
......@@ -184,6 +186,10 @@ function getLocaleResourceBase(){
formitem5: commonLogic.appcommonhandle("信息展示",null),
formitem6: commonLogic.appcommonhandle("图片路径",null),
formitem18: commonLogic.appcommonhandle("更新时间",null),
starttime: commonLogic.appcommonhandle("开始时间",null),
endtime: commonLogic.appcommonhandle("结束时间",null),
formitem10: commonLogic.appcommonhandle("时间范围选择",null),
formitem14: commonLogic.appcommonhandle("年月日范围选择",null),
ibizsample0001id: commonLogic.appcommonhandle("IBIZSAMPLE0001标识",null),
},
uiactions: {
......
<template>
<div class="app-login-view app-login-view">
<img class="login-bg" src="/assets/img/background.png" />
<div class="login-container">
<div class="login-title">{{appTitle}}</div>
<i-form ref='loginForm' class="login-form" :rules="rules" :model="formData">
<form-item prop="loginname">
<i-input
size="large"
prefix="ios-contact"
v-model.trim="formData.loginname"
:placeholder="$t('components.login.placeholder1')"
@keyup.enter.native="handleSubmit"
>
</i-input>
</form-item>
<form-item prop="password">
<i-input
size="large"
prefix="ios-key"
v-model.trim="formData.password"
type="password"
:placeholder="$t('components.login.placeholder2')"
@keyup.enter.native="handleSubmit"
>
</i-input>
</form-item>
<form-item class="app-login-view__buttons">
<i-button @click="handleSubmit" type="primary" class="login_btn"
>{{ $t("components.login.name") }}
</i-button>
<i-button @click="goReset" class="login_reset"
>{{ $t("components.login.reset") }}
</i-button>
</form-item>
<form-item class="app-login-view__icons">
<div style="text-align: center">
<span class="form_tipinfo">{{ $t("components.login.other") }}</span>
</div>
<div style="text-align: center">
<div class="icon" @click="tencentHandleClick('tencent')">
<img src="/assets/img/QQ.svg" draggable="false" />
</div>
<div class="icon" @click="wechatHandleClick('wechat')">
<img src="/assets/img/weixin.svg" draggable="false" />
</div>
</div>
</form-item>
</i-form>
<p class="login-tip">
{{ this.loginTip }}
</p>
<div class="app-login-view__footer">
<div class="copyright">
<a href="https://www.ibizlab.cn/" target="_blank"
>{{ appTitle }} is based on ibizlab .</a
>
<div class="app-view-layout app-view-layout__apploginview app-login-view" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<div v-show="!isLayoutLoadding" :style="{height: '100%', width: '100%'}">
<app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #container1>
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #app_apptitle>
<app-preset-title name="app_apptitle" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #auth_orgpick>
<app-login-org name="auth_orgpick" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_orgpick" @valueChange="($event) => handleValueChange($event)" />
</template>
<template #auth_userid>
<app-login-input class="app-login-user" name="auth_userid" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_userid" defaultIcon="ios-contact" @valueChange="($event) => handleValueChange($event)" />
</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="($event) => handleValueChange($event)" />
</template>
<template #auth_loginmsg>
<app-login-message name="auth_loginmsg" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_loginmsg" />
</template>
<template #container_grid1>
<app-simpleflex-container name="container_grid1" :layoutModelDetails="layoutModelDetails">
<template #container4>
<app-standard-container name="container4" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #auth_loginbutton1>
<app-login-button class="app-login-button" name="auth_loginbutton1" :layoutModelDetails="layoutModelDetails" @itemClick="(name) => handleButtonClick(name)"/>
</template>
</app-standard-container>
</template>
<template #container5>
<app-standard-container name="container5" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #auth_resetinput1>
<app-login-button class="app-reset-button" name="auth_resetinput1" :layoutModelDetails="layoutModelDetails" @itemClick="(name) => handleButtonClick(name)"/>
</template>
</app-standard-container>
</template>
</app-simpleflex-container>
</template>
<template #auth_captcha1>
<app-login-captcha name="auth_captcha1" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_captcha1" @valueChange="($event) => handleValueChange($event)" />
</template>
<template #auth_verificationcode>
<app-login-note-verify name="auth_verificationcode" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_verificationcode" @valueChange="($event) => handleValueChange($event)" />
</template>
<template #container3>
<app-standard-container name="container3" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #static_text1>
<app-preset-text name="static_text1" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #auth_sso1>
<app-login-third name="auth_sso1" :layoutModelDetails="layoutModelDetails" :value="layoutData.auth_sso1" />
</template>
</app-standard-container>
</template>
</app-standard-container>
</template>
</app-standard-container>
</div>
</div>
</div>
</div>
</template>
// 基于 @VIEW/应用登录视图/VIEW-BASE.vue.ftl 生成
<script lang='tsx'>
......@@ -73,6 +70,7 @@ import NavDataService from '@/service/app/navdata-service';
import { Subject,Subscription } from 'rxjs';
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
import { Environment } from '@/environments/environment';
......@@ -267,6 +265,309 @@ export default class AppLoginViewBase extends Vue {
*/
public viewState: Subject<ViewState> = new Subject();
/**
* 视图布局顶级成员名称
*
* @public
* @memberof AppLoginViewBase
*/
public rootLayoutDetailNames: string[] = [ 'page_container' ];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof AppLoginViewBase
*/
public layoutItems:any = {
app_apptitle:{ name: 'app_apptitle', type: 'VIEWLAYOUT', 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:'CENTER', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'APP_APPTITLE', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
auth_orgpick:{ name: 'auth_orgpick', type: 'VIEWLAYOUT', 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 , required: false, fieldState: '0', predefinedType: 'AUTH_ORGPICK', dataItemName:'', },
auth_userid:{ name: 'auth_userid', type: 'VIEWLAYOUT', 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 , required: false, fieldState: '0', predefinedType: 'AUTH_USERID', dataItemName:'', },
auth_password:{ name: 'auth_password', type: 'VIEWLAYOUT', caption: '密码', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'AUTH_PASSWORD', dataItemName:'', },
auth_loginmsg:{ name: 'auth_loginmsg', type: 'VIEWLAYOUT', 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 , required: false, fieldState: '0', predefinedType: 'AUTH_LOGINMSG', renderMode: '', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
auth_loginbutton1:{ name: 'auth_loginbutton1', type: 'VIEWLAYOUT', caption: '登陆', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: '', noprivdisplaymode: 2, dataaccaction: '', visabled: true, disabled: false }, predefinedType: 'APP_LOGIN', renderMode: '', },
container4:{ name: 'container4', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['auth_loginbutton1'] , dataRegionType: 'INHERIT' },
auth_resetinput1:{ name: 'auth_resetinput1', type: 'VIEWLAYOUT', caption: '重置', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container5', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: '', noprivdisplaymode: 2, dataaccaction: '', visabled: true, disabled: false }, predefinedType: 'DATA_CANCELCHANGES', renderMode: '', },
container5:{ name: 'container5', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['auth_resetinput1'] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , details:['container4','container5'] , dataRegionType: 'INHERIT' },
auth_captcha1:{ name: 'auth_captcha1', type: 'VIEWLAYOUT', 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', type: 'VIEWLAYOUT', 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 , required: false, fieldState: '0', predefinedType: 'AUTH_VERIFICATIONCODE', dataItemName:'', },
static_text1:{ name: 'static_text1', type: 'VIEWLAYOUT', caption: '文本', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'FULL', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container3', panel: this , viewType: 'APPLOGINVIEW', predefinedType: 'STATIC_TEXT', contentType: 'RAW', contentStyle: '', rawContent: '其他登录方式', htmlContent: '', renderMode: 'TEXT', wrapMode:'', vAlign:'', hAlign:'', },
auth_sso1:{ name: 'auth_sso1', type: 'VIEWLAYOUT', caption: '第三方登陆', isShowCaption: true, sysCss: '', itemType: 'USERCONTROL', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container3', panel: this },
container3:{ name: 'container3', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , details:['static_text1','auth_sso1'] , dataRegionType: 'INHERIT' },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'FULL', layoutWidth:450, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'CENTER', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['app_apptitle','auth_orgpick','auth_userid','auth_password','auth_loginmsg','container_grid1','auth_captcha1','auth_verificationcode','container3'] , dataRegionType: 'INHERIT' },
page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '图片背景容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', sysImage:{ iconcls: '', imagePath:'@/assets/img/login-background.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:'',vAlign:''}, panel: this , details:['container1'] , dataRegionType: 'INHERIT' }
}
/**
* 布局面板是否加载
*
* @public
* @memberof AppLoginViewBase
*/
public isLayoutLoadding: boolean = true;
/**
* 布局面板数据
*
* @public
* @memberof AppLoginViewBase
*/
public layoutData:any = {};
/**
* 布局面板模型对象
*
* @public
* @memberof AppLoginViewBase
*/
public layoutModelDetails:any = {};
/**
* 初始化布局
*
* @public
* @memberof AppLoginViewBase
*/
public async initLayout() {
if (this.rootLayoutDetailNames.length > 0) {
for (let i = 0; i < this.rootLayoutDetailNames.length; i++) {
const name = this.rootLayoutDetailNames[i];
const rootItem = this.layoutItems[name];
if (!rootItem) {
return;
}
await this.initLayoutItem(rootItem);
}
}
return true;
}
/**
* 初始化布局项
*
* @public
* @memberof AppLoginViewBase
*/
public async initLayoutItem(layoutModelItem: any, index?: number) {
const { name } = layoutModelItem;
const layoutModelDetail = Util.getLayoutItemInstance(layoutModelItem);
if (!(index || index === 0)) {
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, name, layoutModelDetail);
this.$set(this.layoutData, name, layoutModelDetail.getData());
} else {
layoutModelDetail.setIndex(index);
await layoutModelDetail.load(this.context, this.viewparams);
this.$set(this.layoutModelDetails, `${name}_${index}`, layoutModelDetail);
this.$set(this.layoutData, `${name}_${index}`, layoutModelDetail.getData());
}
if (layoutModelDetail && layoutModelDetail.details) {
if (layoutModelDetail.dataRegionType === 'MULTIDATA') {
const multiData = layoutModelDetail.getData();
if (multiData && multiData.length > 0) {
for (let i = 0; i < multiData.length; i++) {
for (let j = 0; j < layoutModelDetail.details.length; j++) {
const key = layoutModelDetail.details[j];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], i);
}
}
}
}
} else {
for (let i = 0; i < layoutModelDetail.details.length; i++) {
const key = layoutModelDetail.details[i];
if (this.layoutItems[key]) {
await this.initLayoutItem(this.layoutItems[key], index);
}
}
}
}
}
/**
* 计算面板按钮权限状态
*
* @public
* @memberof AppLoginViewBase
*/
public async computeButtonAuthState() {
for (const key in this.layoutModelDetails) {
const layoutModel = this.layoutModelDetails[key];
if (layoutModel.itemType == 'BUTTON') {
await layoutModel.computeActionAuthState();
}
}
}
/**
* 处理值改变
*
* @public
* @params args 改变数据
* @params index 多数据容器下标
* @memberof AppLoginViewBase
*/
public handleValueChange(args: { name: string, value: any }, index?: number) {
const { name, value } = args;
let fullName = (index || index === 0) ? `${name}_${index}` : name;
if (!fullName || !this.layoutData.hasOwnProperty(fullName)) {
return;
}
this.layoutData[fullName] = value;
this.layoutModelDetails[fullName].setData(value);
this.panelLogic(name, index);
this.computeButtonAuthState();
}
/**
* 面板逻辑
*
* @public
* @params name 改变项名称
* @params index 多数据容器下标
* @memberof AppLoginViewBase
*/
public panelLogic(name: string, index?: number): void {
}
/**
* 处理按钮点击
*
* @public
* @params name 按钮项名称
* @params index 多数据容器下标
* @memberof AppLoginViewBase
*/
public handleButtonClick(name: string, index?: number) {
let datas: any[] = [];
let fullName = (index || index === 0) ? `${name}_${index}` : name;
const data: any = this.layoutModelDetails[fullName].getData();
if (data) {
if (data instanceof Array) {
datas = [...data];
} else {
datas = [data];
}
}
const xData: any = this.layoutModelDetails[fullName].getDataArea();
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'auth_loginbutton1')) {
_this.panel_Usr1215816866_auth_loginbutton1_click(datas, contextJO, paramJO, undefined, xData, this, undefined);
}
if (Object.is(name, 'auth_resetinput1')) {
_this.panel_Usr1215816866_auth_resetinput1_click(datas, contextJO, paramJO, undefined, xData, this, undefined);
}
}
/**
* 登陆
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public panel_Usr1215816866_auth_loginbutton1_click(args: any[], contextJO?:any, params?: any, $event?: any, xData?: any, actionContext?:any, srfParentDeName?:string) {
if (actionContext.viewType === 'APPLOGINVIEW') {
const layoutData = args.length > 0 ? args[0] : {};
const layoutModelDetails: any = actionContext.layoutModelDetails || {};
let userNameKey: string = Object.keys(layoutModelDetails).find((key: string) => Object.is(layoutModelDetails[key].predefinedType, 'AUTH_USERID')) || '';
let passwordKey: string = Object.keys(layoutModelDetails).find((key: string) => Object.is(layoutModelDetails[key].predefinedType, 'AUTH_PASSWORD')) || '';
let messageKey: string = Object.keys(layoutModelDetails).find((key: string) => Object.is(layoutModelDetails[key].predefinedType, 'AUTH_LOGINMSG')) || '';
if (!userNameKey || !passwordKey) {
if (messageKey) {
actionContext.handleValueChange({ name: messageKey, value: '用户名或密码未配置!' });
} else {
actionContext.$message({ message: '用户名或密码未配置!',type: 'warning'});
}
return;
}
const loginname: any = layoutData[userNameKey];
const password: any = layoutData[passwordKey];
if (!loginname || !password) {
if (messageKey) {
actionContext.handleValueChange({ name: messageKey, value: '请输入用户名与密码' });
} else {
actionContext.$message({ message: '请输入用户名与密码',type: 'warning'});
}
return;
}
// 清除cookie
let leftTime = new Date();
leftTime.setTime(leftTime.getSeconds() - 1000);
document.cookie = "ibzuaa-token=;expires=" + leftTime.toUTCString();
const data = { loginname, password };
const post: Promise<any> = actionContext.$http.post('/v7/login', data, true);
post.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
if (data && data.token) {
localStorage.setItem('token', data.token);
Util.setCookie('ibzuaa-token',data.token,0);
}
if(data && data.user){
localStorage.setItem('user', JSON.stringify(data.user));
}
// 设置cookie,保存账号密码7天
Util.setCookie("loginname",loginname, 7);
// 跳转首页
const url: any = actionContext.$route.query.redirect ? actionContext.$route.query.redirect : '*';
actionContext.$router.push({path: url});
}
}).catch((error: any) => {
// 登录提示
const data = error.data;
if (data) {
if (messageKey) {
actionContext.handleValueChange({ name: messageKey, value: data.message || this.$t('components.login.loginfailed') });
}
}
});
} else {
actionContext.$router.push({ path: "/login", query: { redirect: window.location.hash.replace("#", '') } });
}
}
/**
* 重置
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public panel_Usr1215816866_auth_resetinput1_click(args: any[], contextJO?:any, params?: any, $event?: any, xData?: any, actionContext?:any, srfParentDeName?:string) {
if (actionContext.viewType === 'APPLOGINVIEW') {
const length = Object.keys(actionContext.layoutData).length;
for (let i = length - 1; i >= 0; i--) {
const name = Object.keys(actionContext.layoutData)[i];
if (actionContext.layoutData.hasOwnProperty(name) && !Object.is(actionContext.layoutModelDetails[name].itemType, 'CONTAINER')) {
actionContext.handleValueChange({ name, value: null });
}
}
actionContext.$nextTick(() => {
actionContext.$forceUpdate();
})
} else {
const parentRef: any = actionContext.$parent;
if (parentRef.closeView && (parentRef.closeView instanceof Function)) {
parentRef.closeView(args);
} else if (actionContext.closeView && (actionContext.closeView instanceof Function)) {
actionContext.closeView(args);
}
}
}
/**
......@@ -617,10 +918,13 @@ export default class AppLoginViewBase extends Vue {
*/
public afterMounted(){
const _this: any = this;
_this.engineInit();
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
})
}
......
// 基于 @VIEW/应用登录视图/VIEW.scss.ftl 生成
.app-login-view{
position: relative;
}
.app-login-view {
display: flex;
flex-direction: column;
min-height: 100%;
background: #108cee;
position: relative;
.login-bg {
width: 100vw;
height: 100vh;
}
.login-container {
width: 450px;
height: 430px;
position: absolute;
z-index: 1;
background: #fff;
top: calc((100% - 430px) / 2);
left: calc((100% - 450px) / 2);
border-radius: 10px;
.login-title {
text-align: center;
padding: 30px 0 20px 0;
font-weight: 600;
line-height: 30px;
font-size: 20px;
color: #666;
}
.login-form {
width: 380px;
margin: 0 auto;
.ivu-form-item {
margin-bottom: 36px;
.ivu-input-group {
height: 44px;
font-size: 30px;
.ivu-input {
height: 44px;
font-size: 18px;
}
.ivu-input-icon {
height: 44px;
line-height: 44px;
}
}
}
}
}
.app-login-view__buttons .ivu-form-item-content {
display: flex;
justify-content: space-between;
align-items: center;
.ivu-btn {
width: 175px;
height: 40px;
font-size: 18px;
}
}
.app-login-view__icons {
.icon {
display: inline-block;
cursor: pointer;
margin-left: 10px;
img {
display: inline-block;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
padding-top: 1px;
border-radius: 4px;
margin-bottom: -20px;
margin-top: 10px;
}
}
}
.app-login-view__footer {
display: block;
padding: 0 16px;
padding: 48px 0 24px;
text-align: center;
a {
color: #fff;
text-decoration: none;
}
}
}
<template>
<i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style="">
<input style="display:none;"/>
<row>
<i-col span="20" class="form-content">
......@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public formValidateStatus(): boolean {
const form: any = this.$refs.searchform;
const form: any = this.$refs.quicksearchform;
let validatestate: boolean = true;
form.validate((valid: boolean) => {
validatestate = valid ? true : false;
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1187,7 +1187,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2082,7 +2082,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2091,7 +2091,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -297,6 +297,34 @@ dataType="LONGTEXT" unitName="" :precision="0"
</row>
</app-form-group>
</i-col>
<i-col v-show="detailsModel.starttime.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='starttime' :itemRules="this.rules().starttime" class='' :caption="$t('entities.ibizsample0001.main5_form.details.starttime')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.starttime.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" :value="data.starttime" :disabled="detailsModel.starttime.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { data.starttime = val1 }"></date-picker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.endtime.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='endtime' :itemRules="this.rules().endtime" class='' :caption="$t('entities.ibizsample0001.main5_form.details.endtime')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.endtime.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" :value="data.endtime" :disabled="detailsModel.endtime.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { data.endtime = val1 }"></date-picker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem10.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem10' :itemRules="this.rules().formitem10" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem10')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem10.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" :value="data.formitem10" :disabled="detailsModel.formitem10.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { data.formitem10 = val1 }"></date-picker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem14.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem14' :itemRules="this.rules().formitem14" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem14')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem14.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" :value="data.formitem14" :disabled="detailsModel.formitem14.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { data.formitem14 = val1 }"></date-picker>
</app-form-item>
</i-col>
......@@ -771,6 +799,10 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem5: null,
formitem6: null,
formitem18: null,
starttime: null,
endtime: null,
formitem10: null,
formitem14: null,
ibizsample0001id: null,
ibizsample0001:null,
};
......@@ -899,6 +931,22 @@ export default class Main5Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem6.required, type: 'string', message: '图片路径 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem6.required, type: 'string', message: '图片路径 值不能为空', trigger: 'blur' },
],
starttime: [
{ required: this.detailsModel.starttime.required, type: 'string', message: '开始时间 值不能为空', trigger: 'change' },
{ required: this.detailsModel.starttime.required, type: 'string', message: '开始时间 值不能为空', trigger: 'blur' },
],
endtime: [
{ required: this.detailsModel.endtime.required, type: 'string', message: '结束时间 值不能为空', trigger: 'change' },
{ required: this.detailsModel.endtime.required, type: 'string', message: '结束时间 值不能为空', trigger: 'blur' },
],
formitem10: [
{ required: this.detailsModel.formitem10.required, type: 'string', message: '时间范围选择 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem10.required, type: 'string', message: '时间范围选择 值不能为空', trigger: 'blur' },
],
formitem14: [
{ required: this.detailsModel.formitem14.required, type: 'string', message: '年月日范围选择 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem14.required, type: 'string', message: '年月日范围选择 值不能为空', trigger: 'blur' },
],
}
}
......@@ -1079,6 +1127,14 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem6: new FormItemModel({ caption: '图片路径', detailType: 'FORMITEM', name: 'formitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem18: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'formitem18', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
starttime: new FormItemModel({ caption: '开始时间', detailType: 'FORMITEM', name: 'starttime', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
endtime: new FormItemModel({ caption: '结束时间', detailType: 'FORMITEM', name: 'endtime', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem10: new FormItemModel({ caption: '时间范围选择', detailType: 'FORMITEM', name: 'formitem10', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem14: new FormItemModel({ caption: '年月日范围选择', detailType: 'FORMITEM', name: 'formitem14', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizsample0001id: new FormItemModel({ caption: 'IBIZSAMPLE0001标识', detailType: 'FORMITEM', name: 'ibizsample0001id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1432,6 +1488,54 @@ export default class Main5Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem18', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 starttime 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.starttime')
onStarttimeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'starttime', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 endtime 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.endtime')
onEndtimeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'endtime', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem10 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem10')
onFormitem10Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem10', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem14 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem14')
onFormitem14Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem14', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizsample0001id 值
*
......@@ -1531,6 +1635,10 @@ export default class Main5Base extends Vue implements ControlInterface {
......
......@@ -159,6 +159,24 @@ export default class Main5Model {
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'starttime',
prop: 'starttime',
dataType: 'DATETIME',
},
{
name: 'endtime',
prop: 'endtime',
dataType: 'DATETIME',
},
{
name: 'formitem10',
dataType:'FORMITEM',
},
{
name: 'formitem14',
dataType:'FORMITEM',
},
{
name: 'ibizsample0001id',
prop: 'ibizsample0001id',
......
......@@ -4136,6 +4136,142 @@
"stdDataType" : 25,
"stringLength" : 100,
"valueFormat" : "%1$s"
}, {
"getAllPSDEFDTColumns" : [ {
"columnName" : "STARTTIME",
"dBType" : "MYSQL5",
"name" : "STARTTIME",
"queryCodeExp" : "t1.`STARTTIME`",
"standardColumnName" : "`STARTTIME`"
} ],
"getAllPSDEFUIModes" : [ {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefuimodes/Default",
"name" : "[STARTTIME][开始时间]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "DATEPICKER",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefformitems/Default",
"name" : "[STARTTIME][开始时间]",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefformitems/Default",
"uIMode" : "DEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefuimodes/Default",
"type" : "DEFAULT"
}, {
"codeName" : "MobileDefault",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefuimodes/MobileDefault",
"name" : "[STARTTIME][开始时间]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBDATE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefformitems/MobileDefault",
"name" : "[STARTTIME][开始时间]移动端默认",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefformitems/MobileDefault",
"uIMode" : "MOBILEDEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",
"mobileMode" : true
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefuimodes/MobileDefault",
"type" : "MOBILEDEFAULT",
"mobileMode" : true
} ],
"getAllPSDEFValueRules" : [ {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefvaluerules/Default",
"name" : "默认规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefvaluerules/Default",
"ruleInfo" : "默认规则",
"checkDefault" : true,
"defaultMode" : true,
"enableBackend" : true,
"enableFront" : true
} ],
"codeName" : "StartTime",
"dEFType" : 1,
"dataType" : "DATETIME",
"importOrder" : 1000,
"logicName" : "开始时间",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME",
"name" : "STARTTIME",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME",
"serviceCodeName" : "StartTime",
"stdDataType" : 5,
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
}, {
"getAllPSDEFDTColumns" : [ {
"columnName" : "ENDTIME",
"dBType" : "MYSQL5",
"name" : "ENDTIME",
"queryCodeExp" : "t1.`ENDTIME`",
"standardColumnName" : "`ENDTIME`"
} ],
"getAllPSDEFUIModes" : [ {
"codeName" : "MobileDefault",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefuimodes/MobileDefault",
"name" : "[ENDTIME][结束时间]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBDATE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefformitems/MobileDefault",
"name" : "[ENDTIME][结束时间]移动端默认",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefformitems/MobileDefault",
"uIMode" : "MOBILEDEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",
"mobileMode" : true
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefuimodes/MobileDefault",
"type" : "MOBILEDEFAULT",
"mobileMode" : true
}, {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefuimodes/Default",
"name" : "[ENDTIME][结束时间]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "DATEPICKER",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefformitems/Default",
"name" : "[ENDTIME][结束时间]",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefformitems/Default",
"uIMode" : "DEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefuimodes/Default",
"type" : "DEFAULT"
} ],
"getAllPSDEFValueRules" : [ {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefvaluerules/Default",
"name" : "默认规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefvaluerules/Default",
"ruleInfo" : "默认规则",
"checkDefault" : true,
"defaultMode" : true,
"enableBackend" : true,
"enableFront" : true
} ],
"codeName" : "EndTime",
"dEFType" : 1,
"dataType" : "DATETIME",
"importOrder" : 1000,
"logicName" : "结束时间",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME",
"name" : "ENDTIME",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME",
"serviceCodeName" : "EndTime",
"stdDataType" : 5,
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
} ],
"getAllPSDEMethodDTOs" : [ {
"name" : "IBIZSample0001DTO",
......@@ -4490,6 +4626,17 @@
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE"
}, {
"logicName" : "结束时间",
"name" : "EndTime",
"getPSDEField" : {
"name" : "ENDTIME",
"codeName" : "EndTime"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdemethoddtos/IBIZSample0001DTO/psdemethoddtofields/EndTime",
"sourceType" : "DEFIELD",
"stdDataType" : 5,
"type" : "SIMPLE"
}, {
"logicName" : "大整型",
"name" : "Field",
......@@ -4609,6 +4756,17 @@
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE"
}, {
"logicName" : "开始时间",
"name" : "StartTime",
"getPSDEField" : {
"name" : "STARTTIME",
"codeName" : "StartTime"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdemethoddtos/IBIZSample0001DTO/psdemethoddtofields/StartTime",
"sourceType" : "DEFIELD",
"stdDataType" : 5,
"type" : "SIMPLE"
}, {
"logicName" : "更新时间",
"name" : "UpdateDate",
......
......@@ -26,6 +26,9 @@
}, {
"expression" : "t1.`DISKIMG`",
"name" : "DISKIMG"
}, {
"expression" : "t1.`ENDTIME`",
"name" : "ENDTIME"
}, {
"expression" : "t1.`FIELD`",
"name" : "FIELD"
......@@ -122,6 +125,9 @@
}, {
"expression" : "t1.`PICTURE`",
"name" : "PICTURE"
}, {
"expression" : "t1.`STARTTIME`",
"name" : "STARTTIME"
}, {
"expression" : "t1.`UPDATEDATE`",
"name" : "UPDATEDATE"
......@@ -129,7 +135,7 @@
"expression" : "t1.`UPDATEMAN`",
"name" : "UPDATEMAN"
} ],
"queryCode" : "SELECT\nt1.`ADDRESS`,\nt1.`CITY`,\nt1.`COLOR`,\nt1.`CREATEDATE`,\nt1.`CREATEMAN`,\nt1.`DISKIMG`,\nt1.`FIELD`,\nt1.`FIELD01`,\nt1.`FIELD02`,\nt1.`FIELD05`,\nt1.`FIELD06`,\nt1.`FIELD07`,\nt1.`FIELD08`,\nt1.`FIELD09`,\nt1.`FIELD10`,\nt1.`FIELD11`,\nt1.`FIELD12`,\nt1.`FIELD13`,\nt1.`FIELD14`,\nt1.`FIELD15`,\nt1.`FIELD16`,\nt1.`FIELD17`,\nt1.`FIELD18`,\nt1.`FIELD19`,\nt1.`FIELD2`,\nt1.`FIELD20`,\nt1.`FIELD21`,\nt1.`FIELD22`,\nt1.`FIELD24`,\nt1.`FIELD27`,\nt1.`IBIZSAMPLE0001ID`,\nt1.`IBIZSAMPLE0001NAME`,\nt1.`IBIZSAMPLE0002ID`,\nt1.`IBIZSAMPLE0002NAME`,\nt1.`IP`,\nt1.`LATITUDE`,\nt1.`LONGITUDE`,\nt1.`PICTURE`,\nt1.`UPDATEDATE`,\nt1.`UPDATEMAN`\nFROM `T_IBIZSAMPLE0001` t1 \n",
"queryCode" : "SELECT\nt1.`ADDRESS`,\nt1.`CITY`,\nt1.`COLOR`,\nt1.`CREATEDATE`,\nt1.`CREATEMAN`,\nt1.`DISKIMG`,\nt1.`ENDTIME`,\nt1.`FIELD`,\nt1.`FIELD01`,\nt1.`FIELD02`,\nt1.`FIELD05`,\nt1.`FIELD06`,\nt1.`FIELD07`,\nt1.`FIELD08`,\nt1.`FIELD09`,\nt1.`FIELD10`,\nt1.`FIELD11`,\nt1.`FIELD12`,\nt1.`FIELD13`,\nt1.`FIELD14`,\nt1.`FIELD15`,\nt1.`FIELD16`,\nt1.`FIELD17`,\nt1.`FIELD18`,\nt1.`FIELD19`,\nt1.`FIELD2`,\nt1.`FIELD20`,\nt1.`FIELD21`,\nt1.`FIELD22`,\nt1.`FIELD24`,\nt1.`FIELD27`,\nt1.`IBIZSAMPLE0001ID`,\nt1.`IBIZSAMPLE0001NAME`,\nt1.`IBIZSAMPLE0002ID`,\nt1.`IBIZSAMPLE0002NAME`,\nt1.`IP`,\nt1.`LATITUDE`,\nt1.`LONGITUDE`,\nt1.`PICTURE`,\nt1.`STARTTIME`,\nt1.`UPDATEDATE`,\nt1.`UPDATEMAN`\nFROM `T_IBIZSAMPLE0001` t1 \n",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdedataqueries/DEFAULT/psdedqcodes/MYSQL5",
"id" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0001/PSDEDATAQUERIES/Default/PSDEDQCODES/MYSQL5.json"
}
\ No newline at end of file
......@@ -12,18 +12,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/returntime",
"name" : "returntime",
"rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
......@@ -71,6 +59,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/returntime",
"name" : "returntime",
"rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -31,18 +31,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......@@ -55,6 +43,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -2509,6 +2509,86 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/Diskimg",
"stdDataType" : 25,
"stringLength" : 100
}, {
"getAllPSAppDEFUIModes" : [ {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psappdefuimodes/Default",
"name" : "[STARTTIME][开始时间]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "DATEPICKER",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefformitems/Default",
"name" : "[STARTTIME][开始时间]",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/StartTime/psdefformitems/Default",
"uIMode" : "DEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/StartTime/psappdefuimodes/Default",
"type" : "DEFAULT"
}, {
"codeName" : "MobileDefault",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psappdefuimodes/MobileDefault",
"name" : "[STARTTIME][开始时间]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBDATE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/STARTTIME/psdefformitems/MobileDefault",
"name" : "[STARTTIME][开始时间]移动端默认",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/StartTime/psdefformitems/MobileDefault",
"uIMode" : "MOBILEDEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",
"mobileMode" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/StartTime/psappdefuimodes/MobileDefault",
"type" : "MOBILEDEFAULT",
"mobileMode" : true
} ],
"codeName" : "StartTime",
"logicName" : "开始时间",
"name" : "STARTTIME",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/StartTime",
"stdDataType" : 5,
"valueFormat" : "YYYY-MM-DD HH:mm:ss"
}, {
"getAllPSAppDEFUIModes" : [ {
"codeName" : "MobileDefault",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psappdefuimodes/MobileDefault",
"name" : "[ENDTIME][结束时间]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBDATE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefformitems/MobileDefault",
"name" : "[ENDTIME][结束时间]移动端默认",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/EndTime/psdefformitems/MobileDefault",
"uIMode" : "MOBILEDEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",
"mobileMode" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/EndTime/psappdefuimodes/MobileDefault",
"type" : "MOBILEDEFAULT",
"mobileMode" : true
}, {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psappdefuimodes/Default",
"name" : "[ENDTIME][结束时间]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "DATEPICKER",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0001/psdefields/ENDTIME/psdefformitems/Default",
"name" : "[ENDTIME][结束时间]",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/EndTime/psdefformitems/Default",
"uIMode" : "DEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/EndTime/psappdefuimodes/Default",
"type" : "DEFAULT"
} ],
"codeName" : "EndTime",
"logicName" : "结束时间",
"name" : "ENDTIME",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdefields/EndTime",
"stdDataType" : 5,
"valueFormat" : "YYYY-MM-DD HH:mm:ss"
} ],
"getAllPSAppDEMethodDTOs" : [ {
"codeName" : "IBIZSample0001DTO",
......@@ -2905,6 +2985,19 @@
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"type" : "SIMPLE"
}, {
"codeName" : "EndTime",
"logicName" : "结束时间",
"name" : "EndTime",
"orderValue" : 1000,
"getPSAppDEField" : {
"name" : "ENDTIME",
"codeName" : "EndTime"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdemethoddtos/IBIZSample0001DTO/psappdemethoddtofields/EndTime",
"sourceType" : "DEFIELD",
"stdDataType" : 5,
"type" : "SIMPLE"
}, {
"codeName" : "Field",
"logicName" : "大整型",
......@@ -3036,6 +3129,19 @@
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"type" : "SIMPLE"
}, {
"codeName" : "StartTime",
"logicName" : "开始时间",
"name" : "StartTime",
"orderValue" : 1000,
"getPSAppDEField" : {
"name" : "STARTTIME",
"codeName" : "StartTime"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZSample0001/psappdemethoddtos/IBIZSample0001DTO/psappdemethoddtofields/StartTime",
"sourceType" : "DEFIELD",
"stdDataType" : 5,
"type" : "SIMPLE"
}, {
"codeName" : "UpdateDate",
"logicName" : "更新时间",
......
......@@ -221,6 +221,26 @@
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "starttime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "STARTTIME",
"codeName" : "StartTime"
}
}, {
"id" : "endtime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "ENDTIME",
"codeName" : "EndTime"
}
}, {
"id" : "formitem10",
"dataType" : 25
}, {
"id" : "formitem14",
"dataType" : 25
}, {
"id" : "ibizsample0001id",
"hidden" : true,
......@@ -1233,6 +1253,140 @@
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"caption" : "开始时间",
"codeName" : "starttime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/starttime",
"name" : "starttime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "STARTTIME",
"codeName" : "StartTime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "starttime"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/starttime",
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "结束时间",
"codeName" : "endtime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/endtime",
"name" : "endtime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ENDTIME",
"codeName" : "EndTime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "endtime"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/endtime",
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "时间范围选择",
"codeName" : "formitem10",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem10",
"name" : "formitem10",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss",
"endField" : "endtime",
"startField" : "starttime"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "formitem10"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "年月日范围选择",
"codeName" : "formitem14",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem14",
"name" : "formitem14",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "formitem14"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem14",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
......
......@@ -42,18 +42,6 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/returntime",
"name" : "returntime",
"rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
......@@ -101,6 +89,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/returntime",
"name" : "returntime",
"rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -99,18 +99,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......@@ -123,6 +111,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -350,6 +350,26 @@
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "starttime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "STARTTIME",
"codeName" : "StartTime"
}
}, {
"id" : "endtime",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "ENDTIME",
"codeName" : "EndTime"
}
}, {
"id" : "formitem10",
"dataType" : 25
}, {
"id" : "formitem14",
"dataType" : 25
}, {
"id" : "ibizsample0001id",
"hidden" : true,
......@@ -1362,6 +1382,140 @@
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"caption" : "开始时间",
"codeName" : "starttime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/starttime",
"name" : "starttime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "STARTTIME",
"codeName" : "StartTime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "starttime"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/starttime",
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "结束时间",
"codeName" : "endtime",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/endtime",
"name" : "endtime",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ENDTIME",
"codeName" : "EndTime"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "endtime"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/endtime",
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "时间范围选择",
"codeName" : "formitem10",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem10",
"name" : "formitem10",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss",
"endField" : "endtime",
"startField" : "starttime"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "formitem10"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "年月日范围选择",
"codeName" : "formitem14",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem14",
"name" : "formitem14",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "formitem14"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem14",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
......
......@@ -5836,6 +5836,11 @@
"useDefaultLayout" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappindexviews/index",
"getTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.WEB.APPPORTALVIEW2",
"mOSFilePath" : "pslanguageres/Auto2143",
"rTMOSFilePath" : "pslanguageres/Auto2143"
},
"viewStyle" : "DEFAULT",
"viewType" : "APPINDEXVIEW",
"blankMode" : false,
......
......@@ -10,16 +10,390 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
},
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPLOGINVIEW",
"getAllPSPanelFields" : [ {
"id" : "app_apptitle"
}, {
"id" : "auth_orgpick"
}, {
"id" : "auth_userid"
}, {
"id" : "auth_password"
}, {
"id" : "auth_loginmsg"
}, {
"id" : "auth_verificationcode"
} ],
"codeName" : "Usr1215816866",
"controlType" : "VIEWLAYOUTPANEL",
"mOSFilePath" : "pssysviewlayoutpanels/Layoutpanel",
"layoutMode" : "FLEX",
"logicName" : "AppLoginView",
"mOSFilePath" : "pssysviewlayoutpanels/Usr1215816866",
"memo" : "应用登录视图",
"name" : "layoutpanel",
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_auth_loginbutton1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_auth_resetinput1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "layoutpanel_auth_loginbutton1",
"getPSUIAction" : {
"modelref" : true,
"id" : "panel_Usr1215816866_auth_loginbutton1_click"
},
"xDataControlName" : "layoutpanel"
}, {
"name" : "layoutpanel_auth_resetinput1",
"getPSUIAction" : {
"modelref" : true,
"id" : "panel_Usr1215816866_auth_resetinput1_click"
},
"xDataControlName" : "layoutpanel"
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"rTMOSFilePath" : "pssysapps/Web/psapputilviews/AppLoginView/psappviewctrls/layoutpanel",
"layoutBodyOnly" : true,
"getRootPSPanelItems" : [ {
"caption" : "图片背景容器",
"contentHeight" : 100.0,
"contentWidth" : 100.0,
"height" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 100,
"heightMode" : "PERCENTAGE",
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PERCENTAGE"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"contentWidth" : 450.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"heightMode" : "FULL",
"layout" : "FLEX",
"width" : 450,
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "应用标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "app_apptitle",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "app_apptitle",
"predefinedType" : "APP_APPTITLE",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"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",
"name" : "auth_userid",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "auth_userid",
"predefinedType" : "AUTH_USERID"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "密码",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_password",
"getPSEditor" : {
"editorType" : "PASSWORD",
"name" : "auth_password",
"predefinedType" : "AUTH_PASSWORD"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "登陆校验信息",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_loginmsg",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "auth_loginmsg",
"predefinedType" : "AUTH_LOGINMSG",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container4",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "登陆",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
},
"getPSLayoutPos" : {
"colMD" : 24,
"heightMode" : "FULL",
"layout" : "TABLE_24COL"
},
"getPSUIAction" : {
"caption" : "登陆",
"codeName" : "panel_Usr1215816866_auth_loginbutton1_click",
"fullCodeName" : "panel_Usr1215816866_auth_loginbutton1_click",
"name" : "登陆",
"predefinedType" : "APP_LOGIN",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/panel_Usr1215816866_auth_loginbutton1_click",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1215816866_auth_loginbutton1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"showCaption" : true
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container5",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "重置",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
},
"getPSLayoutPos" : {
"colMD" : 24,
"heightMode" : "FULL",
"layout" : "TABLE_24COL"
},
"getPSUIAction" : {
"caption" : "重置",
"codeName" : "panel_Usr1215816866_auth_resetinput1_click",
"fullCodeName" : "panel_Usr1215816866_auth_resetinput1_click",
"name" : "重置",
"predefinedType" : "DATA_CANCELCHANGES",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/panel_Usr1215816866_auth_resetinput1_click",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1215816866_auth_resetinput1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "重置",
"showCaption" : true
} ]
} ]
}, {
"caption" : "人机识别",
"itemStyle" : "DEFAULT",
"itemType" : "USERCONTROL",
"name" : "auth_captcha1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"predefinedType" : "AUTH_CAPTCHA",
"showCaption" : true
}, {
"caption" : "短信验证码",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_verificationcode",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "auth_verificationcode",
"predefinedType" : "AUTH_VERIFICATIONCODE"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text1",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX",
"widthMode" : "FULL"
},
"getPSRawItem" : {
"caption" : "其他登录方式",
"contentType" : "RAW",
"name" : "static_text1",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "其他登录方式",
"showCaption" : true
}, {
"caption" : "第三方登陆",
"itemStyle" : "DEFAULT",
"itemType" : "USERCONTROL",
"name" : "auth_sso1",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"predefinedType" : "AUTH_SSO",
"showCaption" : true
} ]
} ],
"width" : 450.0
} ],
"getPSSysImage" : {
"imagePath" : "@/assets/img/login-background.png"
},
"width" : 100.0
} ],
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : true
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "32AC3FD9-40B3-4848-9AAE-A65D5BA86145",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"rTMOSFilePath" : "pssysapps/Web/psapputilviews/AppLoginView",
"title" : "应用登录视图",
......
......@@ -1714,6 +1714,28 @@
"uIActionMode" : "FRONT",
"uIActionTag" : "panel_Usr1102678360_button_openview_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "登陆",
"codeName" : "panel_Usr1215816866_auth_loginbutton1_click",
"fullCodeName" : "panel_Usr1215816866_auth_loginbutton1_click",
"name" : "登陆",
"predefinedType" : "APP_LOGIN",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/panel_Usr1215816866_auth_loginbutton1_click",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1215816866_auth_loginbutton1_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "重置",
"codeName" : "panel_Usr1215816866_auth_resetinput1_click",
"fullCodeName" : "panel_Usr1215816866_auth_resetinput1_click",
"name" : "重置",
"predefinedType" : "DATA_CANCELCHANGES",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/panel_Usr1215816866_auth_resetinput1_click",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1215816866_auth_resetinput1_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "实体界面行为组1",
"codeName" : "实体界面行为组1",
......@@ -24061,6 +24083,11 @@
"useDefaultLayout" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappindexviews/index",
"getTitlePSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.WEB.APPPORTALVIEW2",
"mOSFilePath" : "pslanguageres/Auto2143",
"rTMOSFilePath" : "pslanguageres/Auto2143"
},
"viewStyle" : "DEFAULT",
"viewType" : "APPINDEXVIEW",
"blankMode" : false,
......@@ -456,16 +456,390 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
},
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPLOGINVIEW",
"getAllPSPanelFields" : [ {
"id" : "app_apptitle"
}, {
"id" : "auth_orgpick"
}, {
"id" : "auth_userid"
}, {
"id" : "auth_password"
}, {
"id" : "auth_loginmsg"
}, {
"id" : "auth_verificationcode"
} ],
"codeName" : "Usr1215816866",
"controlType" : "VIEWLAYOUTPANEL",
"mOSFilePath" : "pssysviewlayoutpanels/Layoutpanel",
"layoutMode" : "FLEX",
"logicName" : "AppLoginView",
"mOSFilePath" : "pssysviewlayoutpanels/Usr1215816866",
"memo" : "应用登录视图",
"name" : "layoutpanel",
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_auth_loginbutton1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "layoutpanel_auth_resetinput1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "layoutpanel_auth_loginbutton1",
"getPSUIAction" : {
"modelref" : true,
"id" : "panel_Usr1215816866_auth_loginbutton1_click"
},
"xDataControlName" : "layoutpanel"
}, {
"name" : "layoutpanel_auth_resetinput1",
"getPSUIAction" : {
"modelref" : true,
"id" : "panel_Usr1215816866_auth_resetinput1_click"
},
"xDataControlName" : "layoutpanel"
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"rTMOSFilePath" : "pssysapps/Web/psapputilviews/AppLoginView/psappviewctrls/layoutpanel",
"layoutBodyOnly" : true,
"getRootPSPanelItems" : [ {
"caption" : "图片背景容器",
"contentHeight" : 100.0,
"contentWidth" : 100.0,
"height" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 100,
"heightMode" : "PERCENTAGE",
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PERCENTAGE"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"contentWidth" : 450.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"heightMode" : "FULL",
"layout" : "FLEX",
"width" : 450,
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "应用标题",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "app_apptitle",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "app_apptitle",
"predefinedType" : "APP_APPTITLE",
"renderMode" : "HEADING1",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"hAlignSelf" : "CENTER",
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"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",
"name" : "auth_userid",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "auth_userid",
"predefinedType" : "AUTH_USERID"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "密码",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_password",
"getPSEditor" : {
"editorType" : "PASSWORD",
"name" : "auth_password",
"predefinedType" : "AUTH_PASSWORD"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "登陆校验信息",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_loginmsg",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "auth_loginmsg",
"predefinedType" : "AUTH_LOGINMSG",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_grid1",
"getPSLayout" : {
"layout" : "SIMPLEFLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container4",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "登陆",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_loginbutton1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_loginbutton1"
},
"getPSLayoutPos" : {
"colMD" : 24,
"heightMode" : "FULL",
"layout" : "TABLE_24COL"
},
"getPSUIAction" : {
"caption" : "登陆",
"codeName" : "panel_Usr1215816866_auth_loginbutton1_click",
"fullCodeName" : "panel_Usr1215816866_auth_loginbutton1_click",
"name" : "登陆",
"predefinedType" : "APP_LOGIN",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/panel_Usr1215816866_auth_loginbutton1_click",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1215816866_auth_loginbutton1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "登陆",
"showCaption" : true
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container5",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"grow" : 6,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "重置",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "auth_resetinput1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "layoutpanel_auth_resetinput1"
},
"getPSLayoutPos" : {
"colMD" : 24,
"heightMode" : "FULL",
"layout" : "TABLE_24COL"
},
"getPSUIAction" : {
"caption" : "重置",
"codeName" : "panel_Usr1215816866_auth_resetinput1_click",
"fullCodeName" : "panel_Usr1215816866_auth_resetinput1_click",
"name" : "重置",
"predefinedType" : "DATA_CANCELCHANGES",
"rTMOSFilePath" : "pssysapps/Web/pssysappdeuiactions/panel_Usr1215816866_auth_resetinput1_click",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Usr1215816866_auth_resetinput1_click",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "重置",
"showCaption" : true
} ]
} ]
}, {
"caption" : "人机识别",
"itemStyle" : "DEFAULT",
"itemType" : "USERCONTROL",
"name" : "auth_captcha1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"predefinedType" : "AUTH_CAPTCHA",
"showCaption" : true
}, {
"caption" : "短信验证码",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "auth_verificationcode",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "auth_verificationcode",
"predefinedType" : "AUTH_VERIFICATIONCODE"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text1",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX",
"widthMode" : "FULL"
},
"getPSRawItem" : {
"caption" : "其他登录方式",
"contentType" : "RAW",
"name" : "static_text1",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "其他登录方式",
"showCaption" : true
}, {
"caption" : "第三方登陆",
"itemStyle" : "DEFAULT",
"itemType" : "USERCONTROL",
"name" : "auth_sso1",
"getPSLayoutPos" : {
"grow" : -1,
"heightMode" : "FULL",
"layout" : "FLEX"
},
"predefinedType" : "AUTH_SSO",
"showCaption" : true
} ]
} ],
"width" : 450.0
} ],
"getPSSysImage" : {
"imagePath" : "@/assets/img/login-background.png"
},
"width" : 100.0
} ],
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : true
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "32AC3FD9-40B3-4848-9AAE-A65D5BA86145",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"rTMOSFilePath" : "pssysapps/Web/psapputilviews/AppLoginView",
"title" : "应用登录视图",
......
......@@ -13306,6 +13306,34 @@
"enableModify" : true,
"keyField" : false,
"majorField" : false
}, {
"codeName" : "StartTime",
"codeName2" : "StartTime",
"logicName" : "开始时间",
"mOSFilePath" : "pssysserviceapis/DemoAPI/psdeserviceapis/IBIZSample0001/psdeserviceapifields/StartTime",
"name" : "STARTTIME",
"orderValue" : 1000,
"rTMOSFilePath" : "pssysserviceapis/DemoAPI/psdeserviceapis/IBIZSample0001/psdeserviceapifields/StartTime",
"stdDataType" : 5,
"allowEmpty" : true,
"enableCreate" : true,
"enableModify" : true,
"keyField" : false,
"majorField" : false
}, {
"codeName" : "EndTime",
"codeName2" : "EndTime",
"logicName" : "结束时间",
"mOSFilePath" : "pssysserviceapis/DemoAPI/psdeserviceapis/IBIZSample0001/psdeserviceapifields/EndTime",
"name" : "ENDTIME",
"orderValue" : 1000,
"rTMOSFilePath" : "pssysserviceapis/DemoAPI/psdeserviceapis/IBIZSample0001/psdeserviceapifields/EndTime",
"stdDataType" : 5,
"allowEmpty" : true,
"enableCreate" : true,
"enableModify" : true,
"keyField" : false,
"majorField" : false
} ],
"getPSDEServiceAPIMethods" : [ {
"dataAccessAction" : "CREATE",
......
......@@ -528,7 +528,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-45-19">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-49-19">
<createTable tableName="T_IBIZSAMPLE0001">
<column name="FIELD01" remarks="" type="VARCHAR(100)">
</column>
......@@ -615,6 +615,10 @@
</column>
<column name="DISKIMG" remarks="" type="VARCHAR(100)">
</column>
<column name="STARTTIME" remarks="" type="DATETIME">
</column>
<column name="ENDTIME" remarks="" type="DATETIME">
</column>
</createTable>
</changeSet>
......@@ -1473,7 +1477,7 @@
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-45-48">
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-49-48">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
......
......@@ -67,7 +67,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-45-13" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-49-13" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
......
......@@ -4284,6 +4284,32 @@
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"STARTTIME" ,
"codename":"StartTime",
"field_logic_name":"开始时间",
"entity_name":"IBIZSAMPLE0001",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"ENDTIME" ,
"codename":"EndTime",
"field_logic_name":"结束时间",
"entity_name":"IBIZSAMPLE0001",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"key_field":0,
"show_order":1000,
"major_field":0
}
],
"subEntitys":[
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册