|
@@ -12,7 +12,7 @@
|
|
import com.jtgh.yjpt.common.util.Constants;
|
|
import com.jtgh.yjpt.common.util.Constants;
|
|
import com.jtgh.yjpt.common.util.Utils;
|
|
import com.jtgh.yjpt.common.util.Utils;
|
|
import com.jtgh.yjpt.vo.common.CodeVo;
|
|
import com.jtgh.yjpt.vo.common.CodeVo;
|
|
-
|
|
|
|
|
|
+ import com.jtgh.yjpt.common.Global;
|
|
import mx.events.CloseEvent;
|
|
import mx.events.CloseEvent;
|
|
import mx.events.FlexEvent;
|
|
import mx.events.FlexEvent;
|
|
import mx.rpc.events.ResultEvent;
|
|
import mx.rpc.events.ResultEvent;
|
|
@@ -21,13 +21,13 @@
|
|
|
|
|
|
protected function init(event:FlexEvent):void
|
|
protected function init(event:FlexEvent):void
|
|
{
|
|
{
|
|
- Utils.callRemote("configController","findById",function(r:ResultEvent):void{
|
|
|
|
|
|
+ Utils.callRemote("codeController","findHelpBySzd",function(r:ResultEvent):void{
|
|
var bc:BusinessContext = r.result as BusinessContext;
|
|
var bc:BusinessContext = r.result as BusinessContext;
|
|
var vo:CodeVo = bc.result as CodeVo;
|
|
var vo:CodeVo = bc.result as CodeVo;
|
|
if(vo!=null){
|
|
if(vo!=null){
|
|
helpStr = vo.bz;
|
|
helpStr = vo.bz;
|
|
}
|
|
}
|
|
- },Constants.GGDM_ID_HELP);
|
|
|
|
|
|
+ },Global.user.szd);
|
|
}
|
|
}
|
|
|
|
|
|
]]>
|
|
]]>
|