DS7/DSWeb/Areas/Import/Viewsjs/PortOperate/Index.js

32 lines
668 B
JavaScript

Ext.BLANK_IMAGE_URL = '../../TruckMng/Content/Images/s.gif';
var panelTest = null;
Ext.onReady(function () {
Ext.Ajax.timeout = 300000;
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
panelTest = new window.DsTruck.XXHIndex({
layout: 'border'
});
var view = new Ext.Viewport({
layout: 'border',
renderTo: 'viewport',
border: false,
items: [{
region: 'center',
layout: 'fit',
items: [panelTest]
}]
});
});
function OprationSwap() {
return panelTest.OprationSwap();
}
function beReflashed() {
alert('be called');
}