code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* 角色授权窗口
*
* @param {}
* roleId
*/
var RoleGrantRightView = function(roleId,roleName) {
var roleGrantView = new Ext.ux.tree.CheckTreePanel({
title : '为角色['+roleName+']授权',
id : 'roleGrantView',
autoScroll : true,
rootVisible : false,
loader : new Ext.app.MenuLoader(... | JavaScript |
var AppUserForm = function(_title,_userId) {
return this.setup(_title,_userId);
};
AppUserForm.prototype.setup = function(_title,userId) {
var _url = __ctxPath + '/system/listDepartment.do';
var depSelector = new TreeSelector('depTreeSelector', _url, '所属部门',
'appUser.depId');
var footToolbar = this.init... | JavaScript |
Ext.ns('ReportTemplateView');
/**
* 报表列表
*/
var ReportTemplateView = function() {
return new Ext.Panel({
id : 'ReportTemplateView',
title : '报表列表',
iconCls : 'menu-report',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'ReportTemplateSearchForm',
... | JavaScript |
Ext.ns('AppUserView');
/**
* 员工列表
*
* @return {}
*/
var AppUserView = function() {
return this.getView();
};
/**
* AppUserView.getView()
*
* @return {}
*/
AppUserView.prototype.getView = function() {
return new Ext.Panel({
id : 'AppUserView',
// region:'center',
title : '员工信息',
ic... | JavaScript |
var ReportTemplateForm = function(reportId) {
this.reportId = reportId;
var fp = this.setup();
var window = new Ext.Window({
id : 'ReportTemplateFormWin',
title : '报表详细信息',
width : 600,
autoHeight : true,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5... | JavaScript |
var DepartmentForm=function(nodeId){
var formPanel=this.initUI(nodeId);
var window = new Ext.Window({
title: '部门信息',
width: 400,
height:250,
layout: 'fit',
plain:true,
bodyStyle:'padding:5px;',
buttonAlign:'center',
items: formPanel,
... | JavaScript |
Ext.ns('AppRoleView');
/**
* 用户角色列表
*/
var AppRoleView = function() {
return new Ext.Panel({
id:'AppRoleView',
title:'角色列表',
iconCls:'menu-role',
autoScroll:true,
items:[
new Ext.FormPanel({
height:35,
frame:true,
id:'AppRoleSearchForm',
layout:'column',
defaults:{xty... | JavaScript |
Ext.ns('FileAttachView');
/**
* ������列表
*/
var FileAttachView = function() {
return new Ext.Panel({
id : 'FileAttachView',
title : '附件列表',
iconCls:'menu-attachment',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'FileAttachSearchForm',
layout : '... | JavaScript |
Ext.ns('DepartmentView');
var DepartmentView=function(){
return this.setup();
};
DepartmentView.prototype.setup=function(){
var selected;
var store=this.initData();
var sm=new Ext.grid.CheckboxSelectionModel();
var cm = new Ext.grid.ColumnModel({
columns:[sm,new Ext.grid.RowNumberer(),{
... | JavaScript |
var AppRoleForm = function(roleId) {
this.roleId = roleId;
var fp = this.setup();
var window = new Ext.Window({
id : 'AppRoleFormWin',
title : '角色详细信息',
width : 370,
height : 220,
modal: true,
minWidth : 300,
minHeight : 200,
layout : 'anchor',
plain : true,
bodyS... | JavaScript |
/*
* 文件附件详细
*/
Ext.ns('FileAttachDetail');
FileAttachDetail.show=function(fileId){
var window = new Ext.Window({
title : '文档详细信息',
width : 480,
height : 280,
modal : true,
minWidth : 300,
minHeight : 200,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
... | JavaScript |
Ext.ns('CompanyView');
var CompanyView=function(){
return this.setup();
};
CompanyView.prototype.setup=function(){
var formPanel = new Ext.form.FormPanel({
id:'CompanyView',
labelAlign: 'top',
frame:true,
closable: true,//这个属性可以控制关闭form
url:__ctxPath+'/system/addCompa... | JavaScript |
Ext.ns('App.login');
/**
* 系统登陆JS,包括登录,检查是否登录,登出
* @type
*/
App.login = {
//登录窗口
/*
createLoginWindow : function(){
var win=new Ext.Window({
title:'test',
height:200,
width:300
});
win.show();
}
*/
createLoginWindow : function() {
App.loginWindow = new LoginWindow({
... | JavaScript |
/**
*新建流程
*/
var NewProcess = function(){
return this.getView();
};
NewProcess.prototype.getView=function(){
var selectedNode;
var proDefView=new ProDefinitionView(false);//不能进行数据的管理
var treePanel = new Ext.tree.TreePanel({
region : 'west',
title : '流程分类',
collapsible : true,
... | JavaScript |
var ChangeTaskView = function(c, b) {
var a = new Ext.FormPanel( {
layout : "form",
bodyStyle : "padding:4px 4px 4px 4px",
url : __ctxPath + "/flow/changeTask.do",
border : false,
items : [ {
xtype : "hidden",
name : "taskId",
value : c
}, {
xtype : "panel",
height : 32,
bord... | JavaScript |
Ext.ns('ProTypeView');
/**
* ������������列表
*/
var ProTypeView = function() {
return new Ext.Panel({
id : 'ProTypeView',
title : 'ProType列表',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'ProTypeSearchForm',
layout : 'column',
defaults : {
... | JavaScript |
Ext.ns("ProDefinitionSetting");
/**
* 流程定义人员设置
*/
var ProDefinitionSetting=function(defId,name){
this.defId=defId;
this.name=name;
var leftPanel=new Ext.Panel({
title:'流程示意图',
width:500,
height:800,
split:true,
region:'west',
margin:'5 5 5 5',
html:'<img src="'+__ctxPath+ ... | JavaScript |
Ext.ns('ProcessRunView');
/**
* 申请列表
*/
var ProcessRunView = function() {
return new Ext.Panel({
id : 'ProcessRunView',
title : '我申请的流程',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'ProcessRunSearchForm',
layout : 'column',
defaults : {
x... | JavaScript |
Ext.ns('MyDoProcessRunView');
/**
* 申请列表
*/
var MyDoProcessRunView = function() {
return new Ext.Panel({
id : 'MyDoProcessRunView',
title : '我参与的流程',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'MyDoProcessRunSearchForm',
layout : 'column',
def... | JavaScript |
/**
* 流程详细页
*/
var ProDefinitionDetail=function(defId,title){
this.defId=defId;
this.title=title;
return this.getView();
};
ProDefinitionDetail.prototype.getView=function(){
var leftPanel=new Ext.Panel({
title:'流程示意图',
width:500,
height:750,
split:true,
region:'west',... | JavaScript |
var ProcessRunForm = function(runId) {
this.runId = runId;
var fp = this.setup();
var window = new Ext.Window( {
id : 'ProcessRunFormWin',
title : 'ProcessRun详细信息',
width : 500,
height : 420,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
buttonAlign : 'cente... | JavaScript |
var ProDefinitionForm = function(defId,typeId) {
this.defId = defId;
this.typeId=typeId;
var fp = this.setup();
var window = new Ext.Window({
id : 'ProDefinitionFormWin',
title : '流程定义详细信息',
width : 500,
height : 420,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5p... | JavaScript |
/**
* 流程启动的表单
*/
var ProcessRunStart=function(defId,name,runId,activityName){
this.defId=defId;
this.name=name;
this.activityName=activityName==null?'开始':activityName;
this.runId=runId;
return this.setup();
};
/**
* 流程表单
*/
ProcessRunStart.prototype.setup=function(){
var formPanel = new Ext.F... | JavaScript |
/**
*
* @param {} piId 流程实例id
* @param {} name 流程名称
* @param {} defId 流程定义id
*/
var ProcessRunDetail=function(runId,defId,piId,name){
this.runId=runId;
this.defId=defId;
this.piId=piId;
this.name=name;
return this.setup();
};
ProcessRunDetail.prototype.setup=function(){
var leftPanel=new Ex... | JavaScript |
Ext.ns("MyTaskView");
var MyTaskView = function() {
var a = new Ext.Panel( {
id : "MyTaskView",
iconCls : "menu-flowWait",
bodyStyle : "padding:2px 2px 2px 2px",
layout : "fit",
title : "待办事项",
autoScroll : true,
items : [ this.setup() ]
});
return a;
};
MyTaskView.prototype.setup = functi... | JavaScript |
/**
* 流程管理页
*/
var FlowManagerView=function(){
return this.getView();
};
FlowManagerView.prototype.getView=function(){
var selectedNode;
var proDefView=new ProDefinitionView(true);
var treePanel = new Ext.tree.TreePanel({
region : 'west',
title : '流程分类',
collapsible : true,... | JavaScript |
ProcessNextForm = Ext
.extend(
Ext.Panel,
{
formPanel : null,
formButtons : [],
constructor : function(c) {
Ext.applyIf(this, c);
var a = false;
Ext.Ajax.request( {
params : {
taskId : this.taskId
},
async : false,
scope : this... | JavaScript |
Ext.ns('ProDefinitionView');
/**
* 流程列表,可管理
* @param isManager 是否可管理
*/
var ProDefinitionView = function(isManager) {
this.isManager=isManager;
};
ProDefinitionView.prototype.setTypeId=function(typeId){
this.typeId=typeId;
ProDefinitionView.typeId=typeId;
}
ProDefinitionView.prototype.getView = fu... | JavaScript |
var ProTypeForm = function(typeId) {
this.typeId = typeId;
var fp = this.setup();
var window = new Ext.Window({
id : 'ProTypeFormWin',
title : '流程分类详细信息',
width : 400,
height : 120,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
buttonAlign ... | JavaScript |
//首页的设置
Ext.ns("App.home");
var tools= [{
id:'refresh',
handler: function(e, target, panel){
}
}, {
id : 'close',
handler : function(e, target, panel) {
panel.ownerCt.remove(panel, true);
}
}];
App.home = {
portal : {
title : '首页',
iconCls:'menu-compa... | JavaScript |
var InStockForm = function(buyId) {
this.buyId = buyId;
var fp = this.setup();
var window = new Ext.Window({
id : 'InStockFormWin',
title : '入库单详细信息',
width : 410,
// height : 325,
autoHight : true,
modal : true,
frame : true,
shadow : false,
// layout : 'anchor',
... | JavaScript |
var CarForm = function(carId) {
this.carId = carId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CarFormWin',
title : '车辆详细信息',
width : 700,
autoHeight : true,
shadow : false,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
buttonAlign : 'cent... | JavaScript |
var CartRepairForm = function(repairId) {
this.repairId = repairId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CartRepairFormWin',
title : '车辆维修详细信息',
width : 430,
autoHeight : true,
modal : true,
shadow:false,
layout : 'anchor',
plain : true,
bodyStyle... | JavaScript |
Ext.ns('OfficeGoodsManageView');
var OfficeGoodsManageView=function(){
var selectedNode;
var officeGoodsView=new OfficeGoodsView();
var treePanel = new Ext.tree.TreePanel({
region : 'west',
id : 'leftOfficeGoodManagePanel',
title : '办公用品类型',
collapsible : true,
split : true... | JavaScript |
var FixedAssetsForm = function(assetsId) {
this.assetsId = assetsId;
var fp = this.setup();
var window = new Ext.Window({
id : 'FixedAssetsFormWin',
title : '[FixedAssets]详细信息',
width : 420,
height : 310,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5... | JavaScript |
var BookTypeForm = function(typeId) {
this.typeId = typeId;
var fp = this.setup();
var window = new Ext.Window( {
id : 'BookTypeFormWin',
title : '图书类别详细信息',
autoHeight : true,
width: 300,
autoHeight:true,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
... | JavaScript |
Ext.ns('GoodsApplyView');
/**
* ������������������列表
*/
var GoodsApplyView = function() {
return new Ext.Panel({
id : 'GoodsApplyView',
title : '办公用品申请列表',
iconCls:'menu-goods-apply',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'GoodsApplySearchForm... | JavaScript |
Ext.ns('InStockView');
/**
* ������������������������������������������������������������列表
*/
var InStockView = function() {
return new Ext.Panel({
id : 'InStockView',
title : '入库用品列表',
iconCls:'menu-instock',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
... | JavaScript |
var BookReturnForm = function(recordId) {
this.recordId = recordId;
var fp = this.setup();
var window = new Ext.Window( {
id : 'BookReturnFormWin',
title : '图书归还详细记录',
width : 500,
//height : 420,
autoHeight : true,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px... | JavaScript |
var DepreTypeForm = function(depreTypeId) {
this.depreTypeId = depreTypeId;
var fp = this.setup();
var window = new Ext.Window({
id : 'DepreTypeFormWin',
title : '折旧类型详细信息',
width : 400,
height : 260,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;'... | JavaScript |
Ext.ns('FixedAssetsView');
/**
* [FixedAssets]列表
*/
var FixedAssetsView = function() {
}
FixedAssetsView.prototype.setTypeId = function(typeId) {
this.typeId = typeId;
FixedAssetsView.typeId = typeId;
}
FixedAssetsView.prototype.getTypeId = function() {
return this.typeId;
}
FixedAssetsView.prot... | JavaScript |
var OfficeGoodsTypeForm = function(typeId) {
this.typeId = typeId;
var fp = this.setup();
var window = new Ext.Window({
id : 'OfficeGoodsTypeFormWin',
title : '办公用品类型详细信息',
width : 300,
height : 120,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',... | JavaScript |
Ext.ns('DepreTypeView');
/**
* [DepreType]列表
*/
var DepreTypeView = function() {
return new Ext.Panel({
id : 'DepreTypeView',
title : '折算类型列表',
iconCls:'menu-depre-type',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'DepreTypeSearchForm',
layout ... | JavaScript |
var AssetsTypeForm = function(assetsTypeId) {
this.assetsTypeId = assetsTypeId;
var fp = this.setup();
var window = new Ext.Window({
id : 'AssetsTypeFormWin',
title : '[AssetsType]详细信息',
width : 500,
height : 420,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : '... | JavaScript |
Ext.ns('CarApplyView');
/**
* [CarApply]列表
*/
var CarApplyView = function() {
return new Ext.Panel({
id : 'CarApplyView',
title : '车辆申请列表',
iconCls:'menu-car_apply',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'CarApplySearchForm',
layout : 'col... | JavaScript |
Ext.ns('CarView');
/**
* [Car]列表
*/
var CarView= function() {
return new Ext.Panel({
id : 'CarView',
title : '车辆列表',
iconCls:'menu-car',
autoScroll : true,
items : [
new Ext.FormPanel({
height : 35,
frame : true,
id : 'CarSearchForm',
layout : 'column',
defaults : {
x... | JavaScript |
var BookBorrowForm = function(recordId) {
this.recordId = recordId;
var fp = this.setup();
var window = new Ext.Window( {
id : 'BookBorrowFormWin',
title : '图书借出详细记录',
width : 500,
//height : 420,
autoHeight : true,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px... | JavaScript |
Ext.ns('FixedAssetsManageView');
var FixedAssetsManageView = function() {
var selectedNode;
var fixedAssetsView = new FixedAssetsView();
var treePanel = new Ext.tree.TreePanel({
region : 'west',
id : 'leftFixedAssetsManagePanel',
title : '资产类型',
collapsible : true,
split : true,
... | JavaScript |
Ext.ns('BookTypeTree');
var BookTypeTree=function(){
return this.setup();
};
BookTypeTree.prototype.setup=function(){
var selected;//右键菜单所点的树结点
//图书类别管理树
var treePanel = new Ext.tree.TreePanel({
id:'typeTree',
title:'图书类别',
region : 'west',
width : 200,
height:480,
autoScroll: true,
co... | JavaScript |
Ext.ns('BookReturnView');
/**
* 图书归还列表
*/
var BookReturnView = function() {
return new Ext.Panel(
{
id : 'BookReturnView',
title : '图书归还列表',
iconCls:'menu-book-return',
autoScroll : true,
items : [
new Ext.FormPanel(
{
height : 35,
frame : true,
... | JavaScript |
Ext.ns('BookSnView');
/**
* TODO: add class/table comments列表
*/
var BookSnView = function() {
return new Ext.Panel(
{
id : 'BookSnView',
title : '图书SN列表',
autoScroll : true,
items : [
new Ext.FormPanel(
{
height : 35,
frame : true,
id : 'Book... | JavaScript |
Ext.ns('BookBorrowView');
/**
* 图书借阅列表
*/
var BookBorrowView = function() {
return new Ext.Panel(
{
id : 'BookBorrowView',
title : '图书借阅列表',
iconCls:'menu-book-borrow',
autoScroll : true,
items : [
new Ext.FormPanel(
{
height : 35,
frame : true,
... | JavaScript |
Ext.ns('DepreRecordView');
/**
* [DepreRecord]列表
*/
var DepreRecordView = function() {
return new Ext.Panel({
id : 'DepreRecordView',
title : '固定资产折旧记录列表',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'DepreRecordSearchForm',
layout : 'column',
... | JavaScript |
var OfficeGoodsForm = function(goodsId) {
this.goodsId = goodsId;
var fp = this.setup();
var window = new Ext.Window({
id : 'OfficeGoodsFormWin',
title : '办公用品详细信息',
width : 540,
autoHeight : true,
modal : true,
shadow : false,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;'... | JavaScript |
var CarApplyForm = function(applyId) {
this.applyId = applyId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CarApplyFormWin',
title : '车辆申请详细信息',
width : 520,
// height : 500,
autoHeight:true,
shadow:false,
modal : true,
layout : 'anchor',
plain : true,
... | JavaScript |
var DepreRecordForm = function(recordId) {
this.recordId = recordId;
var fp = this.setup();
var window = new Ext.Window({
id : 'DepreRecordFormWin',
title : '固定资产折旧记录详细信息',
width : 500,
height : 420,
modal: true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
... | JavaScript |
Ext.ns('BookManageView');
var BookManageView=function(){
var selectedNode;
var bookView=new BookView();
var treePanel = new Ext.tree.TreePanel({
region : 'west',
id : 'leftBookManagePanel',
title : '图书类别',
collapsible : true,
split : true,
width : 200,
height : 80... | JavaScript |
var DepreWin=function(assetsId){
var formPanel=new Ext.form.FormPanel({
id:'workCapacityForm',
layout:'form',
url : __ctxPath + '/admin/depreciateDepreRecord.do',
style:'padding-top:7px;',
frame:true,
items:[{
xtype:'hidden',
name:'ids',
... | JavaScript |
Ext.ns('CartRepairView');
/**
* [CartRepair]列表
*/
var CartRepairView = function() {
return new Ext.Panel({
id : 'CartRepairView',
title : '车辆维修列表',
iconCls:'menu-car_repair',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'CartRepairSearchForm',
la... | JavaScript |
Ext.ns('AssetsTypeView');
/**
* [AssetsType]列表
*/
var AssetsTypeView = function() {
return new Ext.Panel({
id:'AssetsTypeView',
title:'[AssetsType]列表',
autoScroll:true,
items:[
new Ext.FormPanel({
height:35,
frame:true,
id:'AssetsTypeSearchForm',
layout:'column',
defaul... | JavaScript |
Ext.ns('BookTypeView');
/**
* 图书类别列表
*/
var BookTypeView = function() {
return new Ext.Panel(
{
id : 'BookTypeView',
title : '图书类别列表',
iconCls:'menu-book-type',
autoScroll : true,
items : [
new Ext.FormPanel(
{
height : 35,
frame : true,
... | JavaScript |
var BookForm = function(bookId) {
this.bookId = bookId;
var fp = this.setup();
var window = new Ext.Window({
id : 'BookFormWin',
title : '图书详细信息',
width : 500,
autoHeight : true,
shadow:false,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
buttonAlign : 'c... | JavaScript |
var BookSnForm = function(bookSnId) {
this.bookSnId = bookSnId;
var fp = this.setup();
var window = new Ext.Window( {
id : 'BookSnFormWin',
title : '图书Sn详细信息',
width : 500,
height : 420,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
buttonAlign : 'center',
... | JavaScript |
Ext.ns('BookView');
/**
* 图书列表
*/
var BookView = function() {
}
BookView.prototype.setTypeId=function(typeId){
this.typeId=typeId;
BookView.typeId=typeId;
};
BookView.prototype.getTypeId=function(){
return this.typeId;
}
/**
* 显示列表
*
* @return {}
*/
BookView.prototype.getView = functio... | JavaScript |
Ext.ns('OfficeGoodsView');
/**
* ������������列表
*/
var OfficeGoodsView = function() {
}
OfficeGoodsView.prototype.setTypeId = function(typeId) {
this.typeId = typeId;
OfficeGoodsView.typeId = typeId;
};
OfficeGoodsView.prototype.getTypeId = function() {
return this.typeId;
}
OfficeGoodsView.protot... | JavaScript |
var GoodsApplyForm = function(applyId) {
this.applyId = applyId;
var fp = this.setup();
var window = new Ext.Window({
id : 'GoodsApplyFormWin',
title : '申请表详细信息',
width : 395,
autoHeight : true,
modal : true,
shadow:false,
layout : 'anchor',
plain : true,
bodyStyle : '... | JavaScript |
/**
* 个人短信详情
*/
var MessageDetail = function(id){
var win = new Ext.Window({
title : '个人短信详情',
autoHeight :true,
//autoWidth :true,
width : 500,
buttonAlign : 'center',
autoLoad : {url:__ctxPath+'/info/detailInMessage.do?receiveId='+id},
buttons: [{
text : '关闭',
handler : function(){
win.... | JavaScript |
var MessageForm = function() {
var formPanel = this.initUI();
var panel = new Ext.Panel( {
// title : '发送信息',
buttonAlign : 'center',
border:false,
items : formPanel
});
return panel;
}
MessageForm.prototype.initUI = function() {
var formPanel = new Ext.form.FormPanel( {
id : 'mFor... | JavaScript |
/**
* 公告详情
*/
var NoticeDetail = function(id){
var win = new Ext.Window({
title : '公告详情',
autoHeight :true,
//autoWidth :true,
width : 500,
buttonAlign : 'center',
autoLoad : {url:__ctxPath+'/pages/info/noticedetail.jsp?noticeId='+id},
buttons: [{
text : '关闭',
handler : function(){
win.cl... | JavaScript |
var NoticeForm = function(noticeId) {
this.noticeId = noticeId;
var fp = this.setup();
var window = new Ext.Window({
id : 'NoticeFormWin',
title : '公告详细信息',
width : 800,
autoHeight : true,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
butto... | JavaScript |
Ext.ns('MessageView');
var MessageView=function(){
return this.setup();
};
MessageView.prototype.setup=function(){
var topbar=this.initTopToolbar();
var formPanel=new MessageForm();
var receiveStore=MessageView.prototype.initReceiveData();
receiveStore.load({params:{start:0, limit:12}}); ... | JavaScript |
var ContactWin = function() {
var panel = this.initWin();
var window = new Ext.Window({
title : '选择联系人',
width : 440,
height : 500,
items : [panel],
buttonAlign:'center',
buttons : [{
text : '确认',
handler : function() {
var grid = Ext.getCmp('contactGrid');
var rows = gri... | JavaScript |
var MessageWin=function(){
var panel=this.initUI();
var window = new Ext.Window({
id:'win',
title: '信息',
region:'west',
width: 300,
height:200,
x: 5,
y:350,
layout: 'fit',
plain:true,
bodyStyle:'padding:5px;',
buttonAlign:'center',
... | JavaScript |
Ext.ns('NewsTypeTree');
var NewsTypeTree=function(){
return this.setup();
};
NewsTypeTree.prototype.setup=function(){
var selected;//右键菜单所点的树结点
//类别管理树
var treePanel = new Ext.tree.TreePanel({
id:'typeTree',
title:'新闻类别',
region : 'west',
width : 200,
height:480,
autoScroll: true,
... | JavaScript |
Ext.ns('NoticeView');
/**
* 公告列表
*/
var NoticeView = function() {
return new Ext.Panel({
id : 'NoticeView',
title : '公告列表',
iconCls : 'menu-notice',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'NoticeSearchForm',
layout : 'column',
defaults ... | JavaScript |
Ext.ns('NewsTypeView');
var NewsTypeView = function() {
return new Ext.Panel({
id : 'NewsTypeView',
title : '新闻类别',
iconCls:'menu-news_type',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'NewTypeSearchForm',
layout : 'column',
defaults : {
xt... | JavaScript |
/**
* 新闻详情
*/
var NewsDetail = function(id){
var win = new Ext.Window({
title : '新闻详情',
autoHeight :true,
//autoWidth :true,
//height : 500,
width : 500,
buttonAlign : 'center',
autoLoad : {url:__ctxPath+'/pages/info/newsdetail.jsp?newsId='+id},
buttons: [{
text : '关闭',
handler : function()... | JavaScript |
Ext.ns('NewsView');
/**
* 新闻列表
*/
var NewsView = function() {
return this.getView();
}
/**
* 显示列表
*
* @return {}
*/
NewsView.prototype.getView = function() {
var newsTypeTree = new NewsTypeTree();
return new Ext.Panel(
{
id : 'NewsView',
title : '新闻信息',
iconCls : 'menu-news',
... | JavaScript |
var NewsTypeForm=function(){
var formPanel=this.initUI();
var window = new Ext.Window({
title: '添加新闻类型',
width: 260,
height:150,
layout: 'fit',
modal:true,
plain:true,
bodyStyle:'padding:5px;',
buttonAlign:'center',
items: [this.in... | JavaScript |
var ReMessageWin=function(){
var panel=this.initUIWin();
var windowRe = new Ext.Window({
id:'wind',
title:'回复',
width:280,
height:200,
x: 5,
y:400,
items:panel,
buttons : [ {
text : '发送',
handler : function() {
var message = Ext.getCmp('mmFormPanel');
if (message.get... | JavaScript |
var NewsForm = function(newsId) {
this.newsId = newsId;
var fp = this.setup();
var window = new Ext.Window({
id : 'NewsFormWin',
title : 'News详细信息',
width : 500,
height : 494,
modal : true,
minWidth : 300,
minHeight : 200,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
... | JavaScript |
var WorkPlanForm = function(planId) {
this.planId = planId;
var fp = this.setup();
var window = new Ext.Window({
id : 'WorkPlanFormWin',
title : '工作计划详细信息',
width : 560,
height : 580,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
buttonAlig... | JavaScript |
/**
* 日程管理详情
*/
var CalendarPlanDetail = function(id){
var win = new Ext.Window({
title : '日程管理详情',
autoHeight :true,
//autoWidth :true,
width : 500,
buttonAlign : 'center',
autoLoad : {url:__ctxPath+'/pages/task/calendarplandetail.jsp?planId='+id},
buttons: [{
text : '关闭',
handler : function... | JavaScript |
Ext.ns('WorkPlanView');
/**
* 工作计划列表
*/
var WorkPlanView = function() {
return new Ext.Panel({
id : 'WorkPlanView',
title : '工作计划列表',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'WorkPlanSearchForm',
layout : 'column',
defaults : {
xtype :... | JavaScript |
Ext.ns('CalendarPlanView');
/**
* 日程列表
*/
var CalendarPlanView = function() {
return new Ext.Panel({
id : 'CalendarPlanView',
iconCls:'menu-cal-plan-view',
title : '日程列表',
autoScroll : true,
items : [new Ext.FormPanel({
frame : true,
id : 'CalendarPlanSearchForm',
bodyStyle:'padding:5... | JavaScript |
/**
* 我的约会详情
*/
var AppointmentDetail = function(id){
var win = new Ext.Window({
title : '我的约会详情',
autoHeight :true,
//autoWidth :true,
width : 500,
buttonAlign : 'center',
autoLoad : {url:__ctxPath+'/pages/task/appointmentdetail.jsp?appointId='+id},
buttons: [{
text : '关闭',
handler : functio... | JavaScript |
Ext.ns('AppointmentView');
/**
* 约会列表
*/
var AppointmentView = function() {
return new Ext.Panel({
id : 'AppointmentView',
title : '约会列表',
iconCls:'menu-appointment',
autoScroll : true,
items : [new Ext.FormPanel({
id : 'AppointmentSearchForm',
bodyStyle:'padding:2px',
frame:true,
... | JavaScript |
Ext.ns('PlanTypeView');
/**
* 计划类型列表
*/
var PlanTypeView = function() {
return new Ext.Panel({
id : 'PlanTypeView',
title : '计划类型列表',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'PlanTypeSearchForm',
layout : 'column',
defaults : {
xtype :... | JavaScript |
var PlanTypeForm = function(typeId) {
this.typeId = typeId;
var fp = this.setup();
var window = new Ext.Window({
id : 'PlanTypeFormWin',
title : '计划类型详细信息',
width : 400,
height : 120,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
buttonAlig... | JavaScript |
var MyPlanTaskView=function(){
Ext.QuickTips.init();
return my_calendar();
};
function updateStoreincalendar(){
var viewx = prueba.currentView;
if (viewx=='month'){
var mynewmonth= parseInt(prueba.currentdate.format('m'));
var mymonthday=prueba.currentdate.format('m/d/Y');
calendarStore.baseP... | JavaScript |
var AppointmentForm = function(appointId) {
this.appointId = appointId;
var fp = this.setup();
var window = new Ext.Window({
id : 'AppointmentFormWin',
title : '约会详细信息',
width : 500,
height : 420,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
... | JavaScript |
var CalendarPlanForm = function(planId) {
this.planId = planId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CalendarPlanFormWin',
title : '日程详细信息',
width : 560,
height:500,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
button... | JavaScript |
Ext.ns('CalendarPlanView');
/**
* 今日日程
*/
var TodayPlanView = function() {
return new Ext.Panel({
id : 'TodayPlanView',
title : '今日日程',
autoScroll : true,
items : [this.setup()]
});
};
/**
* 建立视图
*/
TodayPlanView.prototype.setup = function() {
return this.grid();
};
/**
* 建立DataGrid
... | JavaScript |
var CalendarPlanFinishForm = function(planId) {
this.planId = planId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CalendarPlanFinishFormWin',
title : '完成任务',
width : 560,
height:480,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:5px;',
... | JavaScript |
Ext.ns("App");
Ext.ns("Ext.app");
Ext.util.Observable.observeClass(Ext.data.Connection);
Ext.data.Connection.on('requestcomplete', function(conn, resp,options ){
if(resp.status!=200){
alert('error:' + resp.statusText + " status:" + resp.status);
}
});
Ext.app.MenuLoader = Ext.extend(Ext.ux.tree.XmlTreeLoa... | JavaScript |
/**
* 系统导入的模块js,主要用于后加载方式,需要使用某些js时,需要在此指定加载哪一些。
*/
Ext.ns("App");
App.importJs = {
AppRoleView : [
__ctxPath + '/js/system/AppRoleView.js',
__ctxPath+'/ext3/ux/CheckTreePanel.js',
__ctxPath+'/js/system/RoleGrantRightView.js',
__ctxPath + '/js/system/AppRoleForm.js'],
PersonalDocumentView : [... | JavaScript |
/**
* 图书选择器
*/
var BookSelector = {
/**
* @param callback
* 回调函数
* @param isSingle
* 是否单选
*/
getView : function(callback, isSingle) {
var treeBook = new Ext.tree.TreePanel({
title : '图书显示',
region : 'west',
width : 180,
height : 300,
split :... | JavaScript |
/**
* 部门选择器
*/
var DepSelector = {
/**
* @param callback 回调函数
* @param isSingle 是否单选
*/
getView : function(callback,isSingle) {
var treeDep = new Ext.tree.TreePanel({
title : '部门信息显示',
region : 'west',
width : 180,
height : 300,
split : true,
collapsible : true,
... | JavaScript |
/**
* 角色选择器
*/
var RoleSelector = {
getView : function(callback,isSingle) {
var gridPanel = this.initGridPanel(isSingle);
var window = new Ext.Window({
title : '角色选择',
width : 630,
height : 380,
layout : 'fit',
border : false,
items : [gridPanel],
modal : true,
buttonAlign :... | JavaScript |
/**
* 车辆选择器
*/
var CarSelector = {
/**
* @param callback
* 回调函数
* @param isSingle
* 是否单选
* @param status
* 状态:1,可用;2,维修中,3,报废
*/
getView : function(callback, isSingle,status) {
// ---------------------------------start grid
// panel-----------------... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.