📄 compmain.mxml
字号:
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" width="710" height="480" layout="absolute">
<mx:Script>
<![CDATA[
import mx.events.CloseEvent;
import mx.charts.series.items.ColumnSeriesItem;
import mx.charts.chartClasses.Series;
import mx.rpc.http.HTTPService;
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.managers.PopUpManager;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import com.justabc.Constants;
private var processor:CompProcessor;
//===============================================================================
//1-1
//===============================================================================
[Bindable]
private var flows:Object ;
[Bindable]
private var products:Object;
[Bindable]
private var stores:Object;
private var commonRequest:HTTPService;
private function doNavBtn11():void{
processor = CompProcessor(PopUpManager.createPopUp( this, CompProcessor , true));
processor.y = this.y + this.height/2 - processor.height/2;
processor.x = this.x + this.width/2 - processor.width/2;
commonRequest = new HTTPService();
commonRequest.useProxy=false;
commonRequest.url=Constants.DOMAIN_ROOT + '/sale_flow_list.jsp'+'?token='+ new Date().time;
commonRequest.addEventListener(FaultEvent.FAULT,doNavBtn11Fault);
commonRequest.addEventListener(ResultEvent.RESULT,doNavBtn11Result);
commonRequest.send({token:new Date().milliseconds});
}
private function doStat11Search(pid:Number,sid:Number):void{
processor = CompProcessor(PopUpManager.createPopUp( this, CompProcessor , true));
processor.y = this.y + this.height/2 - processor.height/2;
processor.x = this.x + this.width/2 - processor.width/2;
commonRequest = new HTTPService();
commonRequest.useProxy=false;
commonRequest.url=Constants.DOMAIN_ROOT + '/sale_flow_list.jsp'+'?token='+ new Date().time;
commonRequest.addEventListener(FaultEvent.FAULT,doNavBtn11Fault);
commonRequest.addEventListener(ResultEvent.RESULT,doStat11SearchResult);
commonRequest.send({token:new Date().milliseconds,productCode:pid==0?null:pid,storeCode:sid==0?null:sid});
}
private function doNavBtn11Fault(event:FaultEvent):void{
PopUpManager.removePopUp(processor);
Alert.show("鏈嶅姟鍣ㄩ敊璇
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -