日期:2014-05-16 浏览次数:20533 次
Ext.onReady(function() {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
var itemArray = [];
var userForm_userBO = new Ext.form.FormPanel({
id : 'userForm',
name : 'userForm-userBO',
frame : true,
style : 'margin-left:1px;margin-top:1px;',
title : '用户管理',
labelAlign : 'right',
labelWidth : 80,
layout : 'tableform',
url : '/qeweb/login/coarsegrainedSubmitAC.action',
method : 'post',
layoutConfig : {
columns : 3
},
style : 'margin-left:3px;margin-top:10px;',
items : [ {
colspan : 1,
rowspan : 1,
anchor : '98%',
fieldLabel : '用户名称',
allowBlank : true,
blankText : '必填项',
viewlabel : '用户名称',
id : 'userForm-userBO-userName',
name : 'userForm-userBO-userName',
xtype : 'textfield',
vtype : 'bopRange',
disabled : false,
readOnly : false,
hidden : false
}, {
colspan : 1,
rowspan : 1,
anchor : '98%',
fieldLabel : '用户编码',
allowBlank : true,
blankText : '必填项',
viewlabel : '用户编码',
id : 'userForm-userBO-userCode',
name : 'userForm-userBO-userCode',
xtype : 'textfield',
vtype : 'bopRange',
disabled : false,
readOnly : false,
hidden : false
}, {
colspan : 1,
rowspan : 1,
anchor : '98%',
fieldLabel : '用户拼音',
allowBlank : true,
blankText : '必填项',
viewlabel : '用户拼音',
id : 'userForm-userBO-userPyCode',
name : 'userForm-userBO-userPyCode',
xtype : 'textfield',
vtype : 'bopRange',
disabled : false,
readOnly : false,
hidden : false
}, {
colspan : 1,
rowspan : 1,
anchor : '98%',
fieldLabel : '英文名',
allowBlank : true,
blankText : '必填项',
viewlabel : '英文名',
id : 'userForm-userBO-userNameEn',
name : 'userForm-userBO-userNameEn',
xtype : 'textfield',
vtype : 'bopRange',
disabled : false,
readOnly : false,
hidden : false
}, {