You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/TruckMng/Viewsjs/WlTruck/Index.js

29 lines
621 B
JavaScript

3 years ago
Ext.BLANK_IMAGE_URL = '../../Truck/Scripts/extjs/resources/images/default/s.gif';
var panelTest = null;
Ext.onReady(function () {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
panelTest = new window.DsTruck.WlTruckIndex({
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();
}