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

lxm1993 发布系统代码 [TrainSys,网页端]

上级 67ad5d1a
......@@ -871,6 +871,12 @@ export class DataBaseService<T extends IEntityBase> implements IEntityLocalDataS
queryParamKeys: string[] = this.quickSearchFields,
): Promise<HttpResponse> {
let list = [];
// 处理srfpkey
let srfpkey = null;
if (filter.data && filter.data.srfpkey) {
srfpkey = filter.data.srfpkey;
delete filter.data.srfpkey
}
// 走查询条件
if (cond) {
if (this.isLocalStore) {
......@@ -882,7 +888,7 @@ export class DataBaseService<T extends IEntityBase> implements IEntityLocalDataS
list = list.filter(obj => cond.test(obj, filter));
}
} else {
list = await this.selectLocal(filter.context);
list = await this.selectLocal(filter.context, srfpkey ? { srfpkey } : {});
if (list?.length > 0) {
// 识别query查询
const condition = filter.data;
......
import { IPSAppDataEntity, IPSAppDEField, IPSAppDEMethodDTO, IPSAppDEMethodDTOField } from "@ibiz/dynamic-model-api";
import { IContext, IEntityLocalDataService, IParams } from "../../../interface";
import { Util } from "../../../utils";
import { DataEntityService } from "../data-entity-service";
import { DataServiceHelp } from "../data-service-help";
......@@ -57,16 +58,7 @@ export class MethodDto {
* @memberof MethodDto
*/
get enableCache(): boolean {
const appDEMethodDTOFields = this.appDEMethodDTO.getPSAppDEMethodDTOFields();
if (this.appDataEntity.storageMode === 4 && appDEMethodDTOFields) {
const result = appDEMethodDTOFields.find((field: IPSAppDEMethodDTOField) => {
return field.type === 'DTO' || field.type === 'DTOS';
})
if (result) {
return true;
}
}
return false;
return this.appDataEntity.storageMode === 4 ? true : false;
}
/**
......@@ -121,7 +113,12 @@ export class MethodDto {
const targetService = await DataServiceHelp.getInstance().getService(refPSAppDataEntity);
if (targetService) {
const targetMethodDto = targetService.methodDtoMap.get(refPSAppDEMethodDTO.codeName);
await targetMethodDto.setCacheDataArray(context, source[field.codeName.toLowerCase()]);
const sourceData = Util.deepCopy(source[field.codeName.toLowerCase()]);
delete source[field.codeName.toLowerCase()];
const pData = {
srfpkey: source[(this.appDataEntity.getKeyPSAppDEField() as IPSAppDEField).codeName.toLowerCase()]
}
await targetMethodDto.setCacheDataArray(context, sourceData, pData);
}
}
}
......@@ -135,7 +132,9 @@ export class MethodDto {
const targetService = await DataServiceHelp.getInstance().getService(refPSAppDataEntity);
if (targetService) {
const targetMethodDto = targetService.methodDtoMap.get(refPSAppDEMethodDTO.codeName);
await targetMethodDto.setCacheData(context, source[field.codeName.toLowerCase()]);
const sourceData = Util.deepCopy(source[field.codeName.toLowerCase()]);
delete source[field.codeName.toLowerCase()];
await targetMethodDto.setCacheData(context, sourceData);
}
}
}
......@@ -209,7 +208,10 @@ export class MethodDto {
const targetService = await DataServiceHelp.getInstance().getService(refPSAppDataEntity);
if (targetService) {
const targetMethodDto = targetService.methodDtoMap.get(refPSAppDEMethodDTO.codeName);
_data[field.codeName.toLowerCase()] = await targetMethodDto.getCacheDataArray(context);
const selectData = {
srfpkey: source[(this.appDataEntity.getKeyPSAppDEField() as IPSAppDEField).codeName.toLowerCase()]
}
_data[field.codeName.toLowerCase()] = await targetMethodDto.getCacheDataArray(context, selectData);
}
}
}
......@@ -321,9 +323,9 @@ export class MethodDto {
* @returns {any[]}
* @memberof MethodDto
*/
public async getCacheDataArray(context: IContext) {
public async getCacheDataArray(context: IContext, selectData: IParams = {}) {
const targetService: IEntityLocalDataService<any> = await this.getService(context);
const result = await targetService.getLocals(context);
const result = await targetService.getLocals(context, selectData);
if (result && result.length > 0) {
return await this.ToDtoArray(context, result);
} else {
......@@ -340,9 +342,7 @@ export class MethodDto {
* @memberof MethodDto
*/
public async setCacheData(context: IContext, data: any) {
const targetService: IEntityLocalDataService<any> = await this.getService(context);
const _data: any = await this.set(context, data);
await targetService.addLocal(context, _data);
await this.set(context, data);
}
/**
......@@ -353,12 +353,12 @@ export class MethodDto {
* @returns {any[]}
* @memberof MethodDto
*/
public async setCacheDataArray(context: IContext, data: any[]) {
public async setCacheDataArray(context: IContext, data: any[], pData: IParams = {}) {
if (data && data.length > 0) {
const targetService: IEntityLocalDataService<any> = await this.getService(context);
for (let i = 0; i < data.length; i++) {
const _data = await this.set(context, data[i]);
await targetService.addLocal(context, _data);
const targetData = data[i];
Object.assign(targetData, pData);
await this.set(context, targetData);
}
}
}
......
.ivu-dropdown-item{
height: 42px;
padding: 4px 16px !important;
p {
height: 100%;
display: flex;
align-items: center;
.el-input {
width: 62px;
}
.item-text {
margin: 0 8px;
}
}
}
.dropdown-item-custom:hover {
color: inherit !important;
background: inherit !important;
cursor: initial;
}
......@@ -18,6 +18,15 @@
{{caption}}{{$t('components.appexportexcel.currentpage')}}
</p>
</dropdown-item>
<dropdown-item class="dropdown-item-custom">
<p>
<el-input v-model.trim="startPage" @click.native.stop size="small" maxlength="4"></el-input>
<span class="item-text">-</span>
<el-input v-model.trim="endPage" @click.native.stop size="small" maxlength="4"></el-input>
<span class="item-text">{{$t('components.appexportexcel.page')}}</span>
<el-button @click="exportExcel($event, 'custom')" size="small">{{caption}}</el-button>
</p>
</dropdown-item>
</dropdown-menu>
</dropdown>
</template>
......@@ -79,18 +88,18 @@ export default class AppExportExcel extends Vue {
/**
* 起始页
*
* @type {(string | null)}
* @type {string}
* @memberof AppExportExcel
*/
public startPage: string | null = null;
public startPage: string = '1';
/**
* 结束页
*
* @type {(string | null)}
* @type {string}
* @memberof AppExportExcel
*/
public endPage: string | null = null;
public endPage: string = '9999';
/**
* 是否显示下拉菜单
......@@ -140,8 +149,8 @@ export default class AppExportExcel extends Vue {
this.$warning((this.$t('components.appexportexcel.desc1') as string),'exportExcel');
return;
}
this.startPage = null;
this.endPage = null;
this.startPage = '1';
this.endPage = '9999';
Object.assign(exportparms, { startPage: startPage, endPage: endPage });
this.visible = false;
}
......
......@@ -211,6 +211,14 @@ export default class AppFormItem extends Vue {
*/
public iconInfo: any = {};
/**
* 表单项实例
*
* @type {*}
* @memberof AppFormItem
*/
public itemRef: any = null;
/**
* 是否显示表单项Label提示
*
......@@ -347,6 +355,7 @@ export default class AppFormItem extends Vue {
* @memberof AppFormItem
*/
public mounted() {
this.itemRef = this.$refs[this.name];
if (this.itemRules) {
try {
const _rules: any[] = this.itemRules;
......@@ -358,6 +367,10 @@ export default class AppFormItem extends Vue {
this.itemClassName = `${this.controlInstance?.getPSAppDataEntity?.()?.codeName?.toLowerCase()}-${this.controlInstance?.codeName?.toLowerCase()}-item-${this.name}`;
}
public destroyed() {
this.itemRef = null;
}
/**
* 计算是否显示表单项Label提示
......
......@@ -47,13 +47,18 @@ export default class TextboxEditor extends EditorBase {
case 'TEXTAREA':
this.customProps.isDebounce = this.isDebounce;
this.customProps.type = 'textarea';
this.customProps.textareaId = Util.createUUID();
if (this.parentItem.contentHeight) {
this.customProps.textareaStyle = `height: ${this.parentItem.contentHeight}px`
}
break;
case 'TEXTAREA_10':
this.customProps.isDebounce = this.isDebounce;
this.customProps.type = 'textarea';
this.customProps.textareaId = Util.createUUID();
// todo lxm getEditorCssStyle
// this.customProps.textareaStyle = this.editorInstance?.getEditorCssStyle || "";
if (this.parentItem.contentHeight) {
this.customProps.textareaStyle = `height: ${this.parentItem.contentHeight}px`
}
this.customProps.rows = 10;
break;
case 'NUMBER':
......
......@@ -210,7 +210,7 @@
background-color: var(--button-background-color-bright);
a {
color: #FFFFFF;
color: var(--view-font-color);
}
}
......
......@@ -59,6 +59,7 @@ function getLocaleResourceBase(){
max: 'At Most',
row: 'Lines',
currentpage: 'Current Page',
page: 'Page',
desc:'Please enter the start page',
desc1:'Please enter a valid start page',
},
......
......@@ -59,6 +59,7 @@ function getLocaleResourceBase(){
max: '最大',
row: '行',
currentpage: '当前页',
page: '页',
desc:'请输入起始页',
desc1:'请输入有效的起始页',
},
......
......@@ -3,7 +3,7 @@ services:
trainsys-app-web:
image: dstimage
ports:
- "50100:80"
- "80:80"
networks:
- agent_network
environment:
......
......@@ -55,15 +55,6 @@
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/
mkdir -p /var/lib/jenkins/appcache/A3064A91-F42D-4D7F-BC1C-4173A4F5772C
if [ -e app_Web/.dynamic ]
then
cd app_Web
else
cd app_Web/app
fi
sed -i "s#dstimage#registry.cn-shanghai.aliyuncs.com/ibizsys/ibizcloud-standardsys-app-webapp:2022.07.29.003#g" swarm.yaml
docker -H $para1 stack deploy --compose-file=swarm.yaml ebsx --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -2,7 +2,7 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<!--输出实体[BOOK]数据结构 -->
<changeSet author="root" id="tab-book-72-1">
<changeSet author="root" id="tab-book-82-1">
<createTable tableName="T_BOOK">
<column name="BOOKNAME" remarks="" type="VARCHAR(200)">
</column>
......@@ -49,7 +49,7 @@
</changeSet>
<!--输出实体[BOOKTYPE]数据结构 -->
<changeSet author="root" id="tab-booktype-11-2">
<changeSet author="root" id="tab-booktype-13-2">
<createTable tableName="T_BOOKTYPE">
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
......@@ -96,25 +96,6 @@
</createTable>
</changeSet>
<!--输出实体[RAWMATERIAL]数据结构 -->
<changeSet author="root" id="tab-rawmaterial-12-4">
<createTable tableName="T_RAWMATERIAL">
<column name="RAWMATERIALID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_RAWMATERIAL"/>
</column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="RAWMATERIALNAME" remarks="" type="VARCHAR(200)">
</column>
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
</createTable>
</changeSet>
<!--输出实体[REGINFO]数据结构 -->
<changeSet author="root" id="tab-reginfo-34-5">
<createTable tableName="T_REGINFO">
......
......@@ -2560,6 +2560,24 @@
"name" : "书实体地图视图",
"realModelSubType" : "DEMAPVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr2EditView2",
"logicName" : "书实体编辑视图(左右关系)(2)",
"name" : "书实体编辑视图(左右关系)(2)",
"realModelSubType" : "DEEDITVIEW2",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "EditView3",
"logicName" : "书实体编辑视图(分页关系)",
"name" : "书实体编辑视图(分页关系)",
"realModelSubType" : "DEEDITVIEW3",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "BookEditViewEditorTest",
"logicName" : "书实体编辑视图(测试编辑器)",
"name" : "书实体编辑视图(测试编辑器)",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "PickupGridView",
"logicName" : "书实体选择表格视图(部件视图)",
......@@ -2578,6 +2596,13 @@
"name" : "书实体编辑视图(左右关系)",
"realModelSubType" : "DEEDITVIEW2",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "editorTest",
"logicName" : "编辑器测试",
"modelTag2" : "0",
"name" : "编辑器测试",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "Main",
"logicName" : "主编辑表单",
......
......@@ -174,14 +174,6 @@
},
"builtinAction" : true
} ],
"getAllPSDEDBConfigs" : [ {
"dBType" : "MYSQL5",
"name" : "MYSQL5",
"objNameCase" : "DEFAULT",
"standardTableName" : "`T_RAWMATERIAL`",
"tableName" : "T_RAWMATERIAL",
"valid" : true
} ],
"getAllPSDEDBTables" : [ {
"getAllPSDEFields" : [ {
"name" : "RAWMATERIALID",
......
{
"codeName" : "EditorTest",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "编辑器测试",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "bookname",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "field",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
}
}, {
"id" : "field4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
}
}, {
"id" : "field2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
}
}, {
"id" : "field3",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
}
}, {
"id" : "createman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
}
}, {
"id" : "createdate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"id" : "updateman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"id" : "updatedate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "bookid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "编辑器测试",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "标签",
"codeName" : "bookname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "bookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "bookname",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "文本框",
"codeName" : "field",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "下拉列表框",
"codeName" : "field4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "field4",
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"caption" : "地址选择器",
"codeName" : "field2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
},
"getPSEditor" : {
"editorParams" : {
"PICKUPVIEW" : "TRUE"
},
"editorType" : "ADDRESSPICKUP",
"name" : "field2",
"enableAC" : false,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "选项框列表",
"codeName" : "field3",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field3",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
},
"getPSEditor" : {
"editorType" : "CHECKBOXLIST",
"name" : "field3"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"caption" : "其它",
"codeName" : "formpage2",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage2",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "操作信息",
"codeName" : "group2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group2",
"getPSDEFormDetails" : [ {
"caption" : "建立人",
"codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "建立时间",
"codeName" : "createdate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createdate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createdate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "更新人",
"codeName" : "updateman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updateman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "更新时间",
"codeName" : "updatedate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updatedate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"noTabHeader" : false,
"modelid" : "228C9548-3E8F-4CBC-9E21-07EBCC596865",
"modeltype" : "PSDEFORM_EDITFORM"
}
\ No newline at end of file
......@@ -78,6 +78,20 @@
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "rawmaterialname1",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
}
}, {
"id" : "rawmaterialname2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
}
}, {
"id" : "rawmaterialname",
"dataType" : 25,
......@@ -137,7 +151,7 @@
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "原材料名称",
"codeName" : "rawmaterialname",
"codeName" : "rawmaterialname1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
......@@ -145,7 +159,7 @@
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "rawmaterialname",
"name" : "rawmaterialname1",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
......@@ -154,7 +168,7 @@
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "rawmaterialname"
"name" : "rawmaterialname1"
},
"getPSLayoutPos" : {
"colMD" : 24,
......@@ -162,6 +176,51 @@
},
"allowEmpty" : true,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "原材料基本信息",
"codeName" : "grouppanel1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel1",
"getPSDEFormDetails" : [ {
"caption" : "原材料名称",
"codeName" : "rawmaterialname2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "rawmaterialname2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "rawmaterialname2"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
......@@ -173,6 +232,33 @@
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"caption" : "原材料名称",
"codeName" : "rawmaterialname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "rawmaterialname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "rawmaterialname"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
......
......@@ -1064,6 +1064,20 @@
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "rawmaterialname1",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
}
}, {
"id" : "rawmaterialname2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
}
}, {
"id" : "rawmaterialname",
"dataType" : 25,
......@@ -1123,7 +1137,7 @@
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "原材料名称",
"codeName" : "rawmaterialname",
"codeName" : "rawmaterialname1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
......@@ -1131,7 +1145,7 @@
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "rawmaterialname",
"name" : "rawmaterialname1",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
......@@ -1140,7 +1154,7 @@
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "rawmaterialname"
"name" : "rawmaterialname1"
},
"getPSLayoutPos" : {
"colMD" : 24,
......@@ -1148,6 +1162,51 @@
},
"allowEmpty" : true,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "原材料基本信息",
"codeName" : "grouppanel1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel1",
"getPSDEFormDetails" : [ {
"caption" : "原材料名称",
"codeName" : "rawmaterialname2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "rawmaterialname2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "rawmaterialname2"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
......@@ -1159,6 +1218,33 @@
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"caption" : "原材料名称",
"codeName" : "rawmaterialname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "rawmaterialname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "RAWMATERIALNAME",
"codeName" : "RawMaterialName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "rawmaterialname"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
......
{
"accUserMode" : 2,
"caption" : "书",
"codeName" : "bookBookEditViewEditorTest",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json",
"name" : "bookBookEditViewEditorTest",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "EditView",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "form",
"name" : "FORM",
"paramType" : "CTRL"
}, {
"name" : "P2K",
"paramType" : "VALUE",
"value" : 0
} ]
} ],
"getPSControls" : [ {
"codeName" : "BookEditViewEditorTesttoolbar",
"controlType" : "TOOLBAR",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"modelid" : "0dc1364a283ad493746a7e08e3eff144_toolbar",
"modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "EditorTest",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/EditorTest.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "编辑器测试",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "编辑表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "FORM"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "bookname",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "field",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
}
}, {
"id" : "field4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
}
}, {
"id" : "field2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
}
}, {
"id" : "field3",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
}
}, {
"id" : "createman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
}
}, {
"id" : "createdate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"id" : "updateman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"id" : "updatedate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "bookid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "编辑器测试",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "标签",
"codeName" : "bookname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "bookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "bookname",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "文本框",
"codeName" : "field",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "下拉列表框",
"codeName" : "field4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
},
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "field4",
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
}, {
"caption" : "地址选择器",
"codeName" : "field2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
},
"getPSEditor" : {
"editorParams" : {
"PICKUPVIEW" : "TRUE"
},
"editorType" : "ADDRESSPICKUP",
"name" : "field2",
"enableAC" : false,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "选项框列表",
"codeName" : "field3",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field3",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
},
"getPSEditor" : {
"editorType" : "CHECKBOXLIST",
"name" : "field3"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"caption" : "其它",
"codeName" : "formpage2",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage2",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "操作信息",
"codeName" : "group2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group2",
"getPSDEFormDetails" : [ {
"caption" : "建立人",
"codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "建立时间",
"codeName" : "createdate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createdate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createdate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "更新人",
"codeName" : "updateman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updateman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "更新时间",
"codeName" : "updatedate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updatedate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"noTabHeader" : false,
"name" : "form",
"modelid" : "228C9548-3E8F-4CBC-9E21-07EBCC596865",
"modeltype" : "PSDEFORM_EDITFORM"
} ],
"getPSDEViewCodeName" : "BookEditViewEditorTest",
"getPSDEViewId" : "AAF788DC-2924-4D14-BB14-A442B90506BE",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEEDITVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "书实体编辑视图(测试编辑器)",
"viewStyle" : "DEFAULT",
"viewType" : "DEEDITVIEW",
"xDataControlName" : "form",
"enableDP" : true,
"showDataInfoBar" : true,
"modelid" : "0dc1364a283ad493746a7e08e3eff144",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
......@@ -1981,18 +1981,58 @@
"getPSDEViewCodeName" : "EditView",
"getPSDEViewId" : "03f8c691d733fb230a0506557124022c",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEEDITVIEW",
"getAllPSPanelFields" : [ {
"id" : "field_textbox"
} ],
"codeName" : "Usr0802733332",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "Test20220802",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
"useDefaultLayout" : false,
"modelid" : "66FABC08-00E4-4D67-AB37-717AC2E4DE14",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"title" : "书编辑视图",
"viewStyle" : "DEFAULT",
......
{
"accUserMode" : 2,
"caption" : "书",
"codeName" : "bookEditView3",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView3.json",
"name" : "bookEditView3",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "EditView3",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "form",
"name" : "FORM",
"paramType" : "CTRL"
}, {
"name" : "P2K",
"paramType" : "VALUE",
"value" : 0
}, {
"ctrlName" : "drtab",
"name" : "DRTAB",
"paramType" : "CTRL"
} ]
} ],
"getPSControls" : [ {
"codeName" : "Default",
"controlType" : "DRTAB",
"editItemCaption" : "书",
"hookEventNames" : [ "SELECTIONCHANGE" ],
"name" : "drtab",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "drtab"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE",
"logicTag" : "drtab",
"logicType" : "APPVIEWENGINE",
"name" : "engine_drtab",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "DRTAB"
},
"modelid" : "fa1370490e24654b68f76899ff0a5688",
"modeltype" : "PSDEDRTAB"
}, {
"codeName" : "EditView3toolbar",
"controlType" : "TOOLBAR",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"modelid" : "282deb6da00e2a34ff69a9fc58ebf271_toolbar",
"modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "Main",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/Main.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "主编辑表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "编辑表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "FORM"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "bookname",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "type",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"id" : "field",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
}
}, {
"id" : "field2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
}
}, {
"id" : "field3",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
}
}, {
"id" : "field4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
}
}, {
"id" : "field5",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD5",
"codeName" : "Field5"
}
}, {
"id" : "field6",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD6",
"codeName" : "Field6"
}
}, {
"id" : "field7",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD7",
"codeName" : "Field7"
}
}, {
"id" : "field8",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD8",
"codeName" : "Field8"
}
}, {
"id" : "date",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "DATE",
"codeName" : "Date"
}
}, {
"id" : "field9",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD9",
"codeName" : "Field9"
}
}, {
"id" : "field10",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "FIELD10",
"codeName" : "Field10"
}
}, {
"id" : "createman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
}
}, {
"id" : "createdate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"id" : "updateman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"id" : "updatedate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "bookid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "书基本信息",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "书名称",
"codeName" : "bookname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "bookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "bookname"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "类型",
"codeName" : "type",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "type",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "表单成员[type][表单项空输入]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (30)",
"value" : "30"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "表单成员[type][表单项启用]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (20)",
"value" : "20"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "type"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : false,
"showCaption" : true
}, {
"codeName" : "tabpanel1",
"detailStyle" : "DEFAULT",
"detailType" : "TABPANEL",
"name" : "tabpanel1",
"getPSDEFormTabPages" : [ {
"caption" : "分页面板1",
"codeName" : "tabpage1",
"detailStyle" : "DEFAULT",
"detailType" : "TABPAGE",
"name" : "tabpage1",
"getPSDEFormDetails" : [ {
"caption" : "属性",
"codeName" : "field",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "表单成员[field][表单项启用]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (4444)",
"value" : "4444"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性2",
"codeName" : "field2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "表单成员[field2][表单项空输入]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (5555)",
"value" : "5555"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field2"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"caption" : "分页面板2",
"codeName" : "tabpage2",
"detailStyle" : "DEFAULT",
"detailType" : "TABPAGE",
"name" : "tabpage2",
"getPSDEFormDetails" : [ {
"caption" : "属性3",
"codeName" : "field3",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field3",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "field3"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性4",
"codeName" : "field4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "field4"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
}
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "三列均分",
"codeName" : "grouppanel1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "栅格嵌套flex",
"codeName" : "grouppanel2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel2",
"getPSDEFormDetails" : [ {
"caption" : "属性5",
"codeName" : "field5",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field5",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD5",
"codeName" : "Field5"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "表单成员[field5][面板显示]逻辑",
"getPSDEFDLogics" : [ {
"groupOP" : "OR",
"logicType" : "GROUP",
"name" : "OR",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (333)",
"value" : "333"
}, {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (222)",
"value" : "222"
} ],
"notMode" : false
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field5"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性6",
"codeName" : "field6",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field6",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD6",
"codeName" : "Field6"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field6"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"align" : "flex-start",
"dir" : "row-reverse",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "栅格嵌套栅格",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "属性7",
"codeName" : "field7",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field7",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD7",
"codeName" : "Field7"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field7"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colLGOffset" : 8,
"colMD" : 8,
"colMDOffset" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性8",
"codeName" : "field8",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field8",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD8",
"codeName" : "Field8"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field8"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colLGOffset" : 4,
"colMD" : 8,
"colMDOffset" : 4,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "日期",
"codeName" : "date",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "date",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DATE",
"codeName" : "Date"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "date"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-DD",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "栅格自动",
"codeName" : "grouppanel4",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel4",
"getPSDEFormDetails" : [ {
"caption" : "属性9",
"codeName" : "field9",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field9",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD9",
"codeName" : "Field9"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field9"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "日期",
"codeName" : "field10",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field10",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD10",
"codeName" : "Field10"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "field10"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"caption" : "其它",
"codeName" : "formpage2",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage2",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "操作信息",
"codeName" : "group2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group2",
"getPSDEFormDetails" : [ {
"caption" : "建立人",
"codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "建立时间",
"codeName" : "createdate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createdate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createdate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "更新人",
"codeName" : "updateman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updateman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "更新时间",
"codeName" : "updatedate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updatedate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"noTabHeader" : false,
"name" : "form",
"modelid" : "30e57e03ffaa6be25a9d764accc12b56",
"modeltype" : "PSDEFORM_EDITFORM"
} ],
"getPSDEViewCodeName" : "EditView3",
"getPSDEViewId" : "A0A4EB2A-E87E-463B-828D-50081396A0D6",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEEDITVIEW3",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "书编辑视图",
"viewStyle" : "DEFAULT",
"viewType" : "DEEDITVIEW3",
"xDataControlName" : "form",
"enableDP" : true,
"showDataInfoBar" : true,
"modelid" : "282deb6da00e2a34ff69a9fc58ebf271",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
{
"accUserMode" : 2,
"caption" : "书",
"codeName" : "bookUsr2EditView2",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr2EditView2.json",
"name" : "bookUsr2EditView2",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "EditView2",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "drbar",
"name" : "DRBAR",
"paramType" : "CTRL"
}, {
"ctrlName" : "form",
"name" : "FORM",
"paramType" : "CTRL"
}, {
"name" : "P2K",
"paramType" : "VALUE",
"value" : 0
} ]
} ],
"getPSControls" : [ {
"codeName" : "Usr2EditView2toolbar",
"controlType" : "TOOLBAR",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"modelid" : "c8843530aabbebc1ffa4fa1eec352435_toolbar",
"modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "Main",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/Main.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "主编辑表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "编辑表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "FORM"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "bookname",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"id" : "type",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"id" : "field",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
}
}, {
"id" : "field2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
}
}, {
"id" : "field3",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
}
}, {
"id" : "field4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
}
}, {
"id" : "field5",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD5",
"codeName" : "Field5"
}
}, {
"id" : "field6",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD6",
"codeName" : "Field6"
}
}, {
"id" : "field7",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD7",
"codeName" : "Field7"
}
}, {
"id" : "field8",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD8",
"codeName" : "Field8"
}
}, {
"id" : "date",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "DATE",
"codeName" : "Date"
}
}, {
"id" : "field9",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD9",
"codeName" : "Field9"
}
}, {
"id" : "field10",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "FIELD10",
"codeName" : "Field10"
}
}, {
"id" : "createman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
}
}, {
"id" : "createdate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"id" : "updateman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"id" : "updatedate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "bookid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "书基本信息",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "书名称",
"codeName" : "bookname",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "bookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "bookname"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "类型",
"codeName" : "type",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "type",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "表单成员[type][表单项空输入]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (30)",
"value" : "30"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "表单成员[type][表单项启用]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (20)",
"value" : "20"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "type"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : false,
"showCaption" : true
}, {
"codeName" : "tabpanel1",
"detailStyle" : "DEFAULT",
"detailType" : "TABPANEL",
"name" : "tabpanel1",
"getPSDEFormTabPages" : [ {
"caption" : "分页面板1",
"codeName" : "tabpage1",
"detailStyle" : "DEFAULT",
"detailType" : "TABPAGE",
"name" : "tabpage1",
"getPSDEFormDetails" : [ {
"caption" : "属性",
"codeName" : "field",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "表单成员[field][表单项启用]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (4444)",
"value" : "4444"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性2",
"codeName" : "field2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "表单成员[field2][表单项空输入]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (5555)",
"value" : "5555"
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field2"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"caption" : "分页面板2",
"codeName" : "tabpage2",
"detailStyle" : "DEFAULT",
"detailType" : "TABPAGE",
"name" : "tabpage2",
"getPSDEFormDetails" : [ {
"caption" : "属性3",
"codeName" : "field3",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field3",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD3",
"codeName" : "Field3"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "field3"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性4",
"codeName" : "field4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "field4"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"align" : "center",
"dir" : "row",
"layout" : "FLEX"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
}
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "三列均分",
"codeName" : "grouppanel1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "栅格嵌套flex",
"codeName" : "grouppanel2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel2",
"getPSDEFormDetails" : [ {
"caption" : "属性5",
"codeName" : "field5",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field5",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD5",
"codeName" : "Field5"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "表单成员[field5][面板显示]逻辑",
"getPSDEFDLogics" : [ {
"groupOP" : "OR",
"logicType" : "GROUP",
"name" : "OR",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (333)",
"value" : "333"
}, {
"condOP" : "EQ",
"dEFDName" : "bookname",
"logicType" : "SINGLE",
"name" : "bookname 等于(=) (222)",
"value" : "222"
} ],
"notMode" : false
} ],
"relatedDetailNames" : [ "bookname" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field5"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性6",
"codeName" : "field6",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field6",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD6",
"codeName" : "Field6"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field6"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"align" : "flex-start",
"dir" : "row-reverse",
"layout" : "FLEX",
"vAlign" : "center"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "栅格嵌套栅格",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "属性7",
"codeName" : "field7",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field7",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD7",
"codeName" : "Field7"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field7"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colLGOffset" : 8,
"colMD" : 8,
"colMDOffset" : 8,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "属性8",
"codeName" : "field8",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field8",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD8",
"codeName" : "Field8"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field8"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colLGOffset" : 4,
"colMD" : 8,
"colMDOffset" : 4,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "日期",
"codeName" : "date",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "date",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DATE",
"codeName" : "Date"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "date"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-DD",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "栅格自动",
"codeName" : "grouppanel4",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel4",
"getPSDEFormDetails" : [ {
"caption" : "属性9",
"codeName" : "field9",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field9",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD9",
"codeName" : "Field9"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field9"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "日期",
"codeName" : "field10",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"itemWidth" : 230.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "field10",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD10",
"codeName" : "Field10"
},
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD"
},
"editorType" : "DATEPICKEREX_NOTIME",
"editorWidth" : 100.0,
"name" : "field10"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"caption" : "其它",
"codeName" : "formpage2",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage2",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "操作信息",
"codeName" : "group2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group2",
"getPSDEFormDetails" : [ {
"caption" : "建立人",
"codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "建立时间",
"codeName" : "createdate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createdate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createdate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "更新人",
"codeName" : "updateman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updateman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "更新时间",
"codeName" : "updatedate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updatedate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"noTabHeader" : false,
"name" : "form",
"modelid" : "30e57e03ffaa6be25a9d764accc12b56",
"modeltype" : "PSDEFORM_EDITFORM"
}, {
"codeName" : "Default",
"controlType" : "DRBAR",
"editItemCaption" : "书",
"hookEventNames" : [ "LOAD", "SELECTIONCHANGE" ],
"name" : "drbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "drbar"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SELECTIONCHANGE",
"logicTag" : "drbar",
"logicType" : "APPVIEWENGINE",
"name" : "engine_drbar",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "DRBAR"
},
"showTitle" : true,
"modelid" : "fa1370490e24654b68f76899ff0a5688",
"modeltype" : "PSDEDRBAR"
} ],
"getPSDEViewCodeName" : "Usr2EditView2",
"getPSDEViewId" : "995225E8-8E57-422C-98F1-BFCC8EF6FB0B",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEEDITVIEW2",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "书编辑视图",
"viewStyle" : "DEFAULT",
"viewType" : "DEEDITVIEW2",
"xDataControlName" : "form",
"enableDP" : true,
"showDataInfoBar" : true,
"modelid" : "c8843530aabbebc1ffa4fa1eec352435",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
......@@ -664,6 +664,18 @@
"controlType" : "APPMENU"
} ],
"getAllPSAppViews" : [ {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookBookEditViewEditorTest.json",
"viewType" : "DEEDITVIEW",
"resource" : "Book",
"view" : "BookEditViewEditorTest"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView3.json",
"viewType" : "DEEDITVIEW3",
"resource" : "Book",
"view" : "EditView3"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/RawMaterialEditView.json",
"viewType" : "DEEDITVIEW",
......@@ -734,6 +746,12 @@
"viewType" : "DEGRIDVIEW",
"resource" : "RawMaterial",
"view" : "GridView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr2EditView2.json",
"viewType" : "DEEDITVIEW2",
"resource" : "Book",
"view" : "Usr2EditView2"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeEditView.json",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册