|
@@ -2,9 +2,7 @@ package com.jtgh.yjpt.model.gq
|
|
|
{
|
|
|
import com.jtgh.yjpt.common.BusinessContext;
|
|
|
import com.jtgh.yjpt.common.IModule;
|
|
|
- import com.jtgh.yjpt.common.component.ui.CheckBox;
|
|
|
import com.jtgh.yjpt.common.component.ui.Pager;
|
|
|
- import com.jtgh.yjpt.common.component.ui.TitleWindow;
|
|
|
import com.jtgh.yjpt.common.util.Utils;
|
|
|
import com.jtgh.yjpt.model.BaseModel;
|
|
|
import com.jtgh.yjpt.model.SystemModel;
|
|
@@ -15,16 +13,15 @@ package com.jtgh.yjpt.model.gq
|
|
|
import com.jtgh.yjpt.vo.common.SinglePageRequestVo;
|
|
|
import com.jtgh.yjpt.vo.gkgq.GqVo;
|
|
|
import com.jtgh.yjpt.vo.gkgq.MtVo;
|
|
|
-
|
|
|
+
|
|
|
import flash.events.Event;
|
|
|
import flash.events.MouseEvent;
|
|
|
-
|
|
|
+
|
|
|
import mx.binding.utils.BindingUtils;
|
|
|
import mx.collections.ArrayCollection;
|
|
|
import mx.controls.Alert;
|
|
|
import mx.events.CloseEvent;
|
|
|
import mx.events.FlexEvent;
|
|
|
- import mx.managers.PopUpManager;
|
|
|
import mx.rpc.events.ResultEvent;
|
|
|
|
|
|
[Bindable]
|
|
@@ -84,15 +81,13 @@ package com.jtgh.yjpt.model.gq
|
|
|
{
|
|
|
getView();
|
|
|
flag="add";
|
|
|
+ gq=new GqVo();
|
|
|
mtList=new ArrayCollection;
|
|
|
editView.functionId = Utils.getFunctionId(e.target);
|
|
|
Utils.popupWindow(resourceManager.getString("gq","gq.title.add"),editView,SystemModel.getInstance().getMainLayout(),null,1000,500);
|
|
|
}
|
|
|
public function doSave(e:Event):void
|
|
|
{
|
|
|
- if("add"==flag){
|
|
|
- gq=new GqVo();
|
|
|
- }
|
|
|
gq.id=editView.gq_id;
|
|
|
// gq.szd=editView.ssgk.selectedItem as CodeVo;
|
|
|
gq.szd=editView.ssgk.selectedVO as CodeVo;
|